]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
adjust insetcollapsable and insetcharstyle metrics (bug 1798, bug 1804)
[lyx.git] / src / ChangeLog
1 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView.C (setCursor): change to use a DocIterator.
4         (gotoLabel): use BufferView::setCursor (other part of bug 781).
5         (putSelectionAt): adapt to BufferView::setCursor change.
6
7         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
8         moved here from LyXText and rewritten to use proper cursor
9         methods. Fixes bug 1787, 616 and 835.
10
11         * BufferView_pimpl.C (restorePosition): set the cursor correctly
12         when inside an inset (part of bug 781).
13         (dispatch): adapt to change of BufferView::setCursor.
14         (getStatus, dispatch): handle LFUN_GOTOERROR,
15         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
16
17         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
18         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
19         * text3.C (gotoNextInset, gotoInset): removed.
20
21 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
24
25 2005-02-15  Angus Leeming  <leeming@lyx.org>
26
27         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
28         can be used meaningfully in a comparison.
29
30 2005-02-13  André Pönitz  <poenitz@gmx.net>
31
32         * bufferview_funcs.C (coordOffset): improve cursor drawing
33
34 2005-02-13  André Pönitz  <poenitz@gmx.net>
35
36         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
37         * Cursor.C (dispatch): use fixIfBroken
38         * lyxfunc.C (getStatus): use fixIfBroken
39
40 2005-02-15  Angus Leeming  <leeming@lyx.org>
41
42         * lyx_main.C (error_handler):
43         * lyxfunc.C:
44         * lyxrc.C (setDefaults):
45         s/GetEnv/getEnv/.
46         #include "environment.h".
47
48         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
49
50 2005-02-15  Angus Leeming  <leeming@lyx.org>
51
52         * lyxserver.C (startPipe): squash MSVC warning "local variable
53         'fd' used without having been initialized".
54
55 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
56
57         * BufferView_pimpl.C: revert accidental commit.
58
59 2005-02-14  André Pönitz  <poenitz@gmx.net>
60
61         * dociterator.[Ch]: new member forwardPosNoDescent(),
62         which doesn't enter nested insets.
63         * text2.C (setFont): use forwardPosNoDescent() instead
64         of ForwardPos() (fixes crash on font change).
65
66 2005-02-13  Angus Leeming  <leeming@lyx.org>
67
68         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
69         only if lyxrc.path_prefix is not empty.
70
71 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
72
73         * bufferparams.C (readGraphicsDriver): prevent crash
74
75 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
76
77         * text2.C (setCounter): check for inInset() == 0
78
79 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
82         but use update() to get correct screen display; use convert
83         instead of istringstream. 
84         (getStatus): handle LFUN_GOTO_PARAGRAPH 
85
86         * lyxfunc.C (dispatch, getStatus): do not handle
87         LFUN_GOTO_PARAGRAPH here.
88
89 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * text3.C (dispatch): size() -> depth()
92
93         * text2.C: remove some debug output
94
95         * paragraph.C: ws changes only
96
97         * lyxfunc.C (getStatus): size() -> depth()
98
99         * dociterator.h (clear, push_back, pop_back, internalData,
100         operator[], resize, empty): new functions
101         Make StableDocIterator and operator== be friends. Don't inherit
102         from std::vector use a privat class variable slices_ instead.
103         Modify to fit.
104
105         * dociterator.C: update because of not inheriting from std::vector
106         anymore. Call explictly to slices_ instead. Use depth() instead of
107         size() and top() instead of back()
108
109         * cursor.C: chagne size() -> depth and back() -> top(). Also
110         remove some direct operator[](i) calls in favour of foo[i]
111         (getFont): remove some dead code
112
113         * bufferview_funcs.C (coordOffset): size() -> depth()
114
115         * buffer.C: ws changes only
116
117         * CutAndPaste.C (eraseSelection): back() -> top()
118
119         * BufferView_pimpl.C (selectionRequested): back() -> top()
120
121         * BufferView.C (setCursor): size() -> depth()
122
123 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
124
125         * text3.C (cursorPrevious): return true if depm changed something
126         (cursorNext): ditto
127         (dispatch): rename sl to oldTopSlice, remove moving use the new
128         NoUpdate func attrib instead. Make sure that needsUpdate is set
129         for function that have NoUpdate, but where depm might have changed
130         the buffer anyway.
131
132         * text2.C (cursorLeft): make us return true if depm changed
133         something
134         (cursorRight): ditto
135         (cursorUpParagraph): ditto
136         (curosrDownParagraph): ditto
137         (cursorUp, cursorDown): ditto, make sure to read comments in code
138         (deleteEmptyParagraphMechanism): remove an assert, also return
139         true if just a single char was deleted.
140
141         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
142         cursor that we modify, to avoid modifying an active cursor before
143         we call setCursor. This allows depm to run. Also return true if
144         depm deleted something.
145
146         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
147         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
148         cursorDownParagraph, cursorPrevious and cursorNext, return true if
149         something was changed in the buffer because of them (ie. depm run)
150
151         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
152         debug messages. Make update by default be false. Make sure that
153         the result of update is retained throught several calls down to
154         dispatch.
155
156         * LyXAction.h: add a new func_attrib: NoUpdate
157
158         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
159         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
160         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
161         and LFUN_WORDLEFT
162         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
163
164 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
167         bv_->owner(), bv_->buffer() by direct references to the private
168         members.
169         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
170         (getStatus): isSavedPosition() is in BufferView::Pimpl.
171         (fitCursor): center() is in BufferView::Pimpl.
172         (getStatus, trackChanges, dispatch): no need for a temporary buf
173         variable
174         (fitCursor, workAreaDispatch): use workarea().workheight()
175
176 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
177
178         * CutAndPaste.C (pasteSelectionHelper): fix a crash
179
180 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
181
182         * buffer.C: format up to 241.
183         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
184         break if pasting into ERT
185         * lyxfunc.C (getStatus): suppress mathpanel and
186         LFUN_DIALOG_SHOW_NEW_INSET in ERT
187
188 2005-02-01  Angus Leeming  <leeming@lyx.org>
189
190         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
191
192 2005-02-01  Angus Leeming  <leeming@lyx.org>
193
194         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
195         calling fs::is_directory().
196
197 2005-01-31  Angus Leeming  <leeming@lyx.org>
198
199         * lyx_main.C (priv_exec): specify explicitly the relative location
200         of the top level build directory when run in-place.
201
202 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
205         LyXText containing the cursor, not the top-level one.
206
207         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
208         true.
209         (insertStringAsLines): rename par to pit; use temporary variable
210         par to hold a Paragraph; do not store par.layout() in a variable,
211         since the pointer may die when breaking paragraphs; pass pars to
212         breakParagraph() instead of Buffer::paragraphs().
213
214 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
215
216         * lyxlex_pimpl.h: #include <fstream>.
217
218         * BufferView.[Ch] (getLyXText): add a const version.
219
220         * BufferView_pimpl.C: add debug aids.
221
222         * RowList_fwd.h:
223         * buffer.h:
224         * lyxrow.h:
225         * paragraph_funcs.h: add commentary explaining what the class does.
226
227
228         * coordcache.[Ch]: add lots of commentary.
229         (startUpdating, doneUpdating): debug aids.
230         (arrays, insets, parPos, getParPos): accessors to private data.
231
232         * cursor_slice.[Ch] (text): add a const version.
233         * dociterator.[Ch] (text, innerText): add const versions.
234
235         * lyxtext.h (breakParagraph): change the keep_layout arg to a
236         bool.
237
238         * paragraph.C (getRow, pos2ros): add asserts.
239
240         * paragraph.h: add commentary. Lots of.
241
242         * paragraph.[Ch] (metrucs, draw): removed.
243
244         * cursor.C:
245         * rowpainter.[Ch]: const-correct changes.
246
247         * text.C: various obvious clean-ups. Removal of ancient cruft.
248         Bug fixes, even.
249
250 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * vc-backend.C (find_file): rewrite to use boost.filesystem
253         (scanMaster): ditto
254
255         * main.C (main): set default name check for boost.filesystem to
256         no check
257
258         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
259         (open): ditto
260         (doImport): ditto
261         (actOnUpdatedPrefs): ditto
262
263         * lyx_main.C (init): rewrite to use boost.filesystem
264         (queryUserLyXDir): ditto
265
266         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
267         (getContentsOfAsciiFile): ditto
268
269         * lastfiles.C (readFile): rewrite to use boost.filesystem
270
271         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
272
273         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
274         (loadLyXFile): ditto
275
276         * buffer.C (Buffer): adjust for destroydir
277         (getLogName): rewrite to use boost.filesystem
278         (setFileName): ditto
279         (save): use fs::copy_file (from fs_extras)
280
281         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
282
283         * LaTeX.C (run): rewrite to use boost.filesystem
284         (scanAuxFiles): ditto
285         (handleFoundFile): ditto
286
287 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
288
289         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
290
291         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
292
293 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
294
295         * lyxlayout.[Ch]: change some vars from float to double
296
297         * buffer.C (readFile): make a local var const
298
299         * Several files: use convert<> instead of atoi,strToXXX and friends
300
301 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
302
303         * LaTeXFeatures.[Ch]: Add a static list packages_ that
304         holds the contents of packages.lst. New functions getAvailable
305         and isAvailable to parse and check that list, resp.
306
307         * LyXAction.C:
308         * lfuns.h:
309         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
310
311         * bufferparams.[Ch]: new param output_changes.
312
313         * Buffer.C: increase file format to 240.
314         Use output_changes and isVailable.
315
316         * changes.[Ch]:
317         * paragraph.C:
318         * paragraph_pimpl.C: Use output_changes and isVailable.
319
320 2005-01-23  Angus Leeming  <leeming@lyx.org>
321
322         * output_latex.C: #include "insetbibitem.h", rather than
323         forward declare function bibitemWidest.
324
325 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
326
327         * lyx_main.C (init): make it compile on the Mac.
328
329 2005-01-20  Angus Leeming  <leeming@lyx.org>
330
331         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
332         (setLyXMisc): (char string literal) != (char string literal) is
333         performing a comparison on the addresses. Convert one operand
334         explicitly to string to guarantee expected behaviour.
335         From MSVC warning.
336
337 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
338
339         * buffer.C:
340         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
341
342         * output_plaintext.C: remove unneeded #include gzstream.h.
343
344 2005-01-20  Angus Leeming  <leeming@lyx.org>
345
346         * SpellBase.h: rename some of the elements of the Result enum.
347
348         * aspell_local.h:
349         * ispell.h:
350         * pspell.h:
351         * aspell.C (check):
352         * ispell.C (check):
353         * pspell.C (check): ditto
354
355 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
356
357         * buffer.C: add #include <fstream>.
358
359         * lyx_main.C (init): Compile fix.
360
361         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
362
363 2005-01-20  Angus Leeming  <leeming@lyx.org>
364
365         * mover.h: change commentary to reflect the changed meaning of
366         the $$s placeholder.
367
368 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * output_linuxdoc.C (linuxdocParagraphs): silence warning
371
372         * lyxfind.C (MatchString::operator()): remove bogus semicolon
373
374 2005-01-20  Angus Leeming  <leeming@lyx.org>
375
376         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
377         printing diagnostic data by not dereferecing an iterator past the
378         end.
379
380 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
381
382         * buffer.C (readHeader): use "&&" rather than "and".
383
384         * lyxserver.h (inPipeName, outPipeName): make these const.
385
386 2005-01-19  Angus Leeming  <leeming@lyx.org>
387
388         * lyx_main.C (error_handler, init): protect SIGHUP with
389         #ifdef SIGHUP guards.
390
391 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
394
395 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * text.C (setHeightOfRow): add a margin at the top and bottom of
398         the document (bug 1761)
399
400 2005-01-17  Angus Leeming  <leeming@lyx.org>
401
402         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
403         with "python ". Workaround for a brain-dead Windows.
404
405 2005-01-16  Angus Leeming  <leeming@lyx.org>
406
407         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
408         for MacOSX and Windows to use prependEnvPath.
409         Strip out the hard-coded block to add elements to the PATH for
410         MacOSX and replace it with a call to prependEnvPath using the
411         contents of LyXRC::path_prefix.
412         (queryUserLyXDir): strip out the code to run reconfigure, instead
413         returning a boolean indicating the necessity to do so.
414         (reconfigureUserLyXDir): contains the code to reconfigure the
415         user support directory. Is now called after the various LyXRC data
416         files have been read.
417
418         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
419
420 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * converter.[Ch] (convert): take a new parameter try_default. Use
423         a default converter (imagemagick) if try_default is true.
424
425 2005-01-13  Angus Leeming  <leeming@lyx.org>
426
427         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
428         os::cygwin_path_fix.
429         (write): output LyXRC::cygwin_path_fix as necessary.
430
431 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
432
433         * lyxrc.h:
434         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
435
436 2005-01-12  Angus Leeming  <leeming@lyx.org>
437
438         * lyx_main.C (init): set the PATH variable to include the
439         directory containing the LyX binary when running on Mac or Windows.
440
441 2005-01-12  Angus Leeming  <leeming@lyx.org>
442
443         * lyx_main.C (init): remove cruft that purports to set the locale
444         dir. It doesn't and is not needed anyway.
445
446 2005-01-10  Angus Leeming  <leeming@lyx.org>
447
448         * Makefile.am: remove the lyx_main.C special casing.
449
450         * BufferView_pimpl.C:
451         * bufferlist.C:
452         * exporter.C:
453         * lyx_cb.C:
454         * lyx_main.C:
455         * lyxfunc.C:
456         * messages.C: use support/package.h to provide the paths to the
457         various directories used by LyX.
458
459 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
460
461         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
462         layout if pasting into an empty paragraph)
463
464 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
465
466         * tex-accent.C: add <string>
467
468 2005-01-06  José Matos  <jamatos@lyx.org>
469
470         * ParagraphParameters.C (write): put every parameter in its own line.
471         * paragraph.C (write): reduce number of consecutive empty lines exported.
472         * buffer.C (LYX_FORMAT): increase file format to 239.
473
474 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
475
476         * everywhere: change support/tostr.h -> support/convert.h
477
478         * tabular.C: make all write_attributes templates, tostr -> convert
479
480         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
481         (emptyTag): and -> &&, and fix type for ret from getChar
482         (getFirstWord): fix type for ret from getChar
483         (onlyText): and -> &&
484         (simpleDocBookOnePar): and not -> && !, fix type for ret from
485         getChar
486
487         * toc.C (goTo, action):
488         * text3.C (dispatch):
489         * text.C (currentState):
490         * tex-accent.C (DoAccent):
491         * sgml.C:
492         * lyxrc.C:
493         * lyxfunc.C (menuNew):
494         * lyxfinc.C (replace):
495         * counters.C (laberItem):
496         * bufferview_funcs.C (font2string):
497         * bufferparams.C (writeFile):
498         * buffer.C (readFile):
499         * Spacing.C (set):
500         * MenuBackend.C: tostr -> convert
501
502         * LaTeX.C (runMessage): fix format
503         (scanAuxFiles): tostr -> convert
504
505         * BufferView_pimpl.C (savePosition): fix format
506         (restorePosition): ditto
507         (dispatch): ditto
508
509 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
510
511         * Spacing.[Ch]: New method getValueAsString().
512
513         * Spacing.[Ch]:
514         * bufferparams.C:
515         * ParagraphParameters.C:
516         * lyxlayout.C:
517         * text.C:
518         * text3.C: store/read spacing value as string.
519
520         * rowpainter.C: change float value (spacing_val) to double.
521
522         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
523         broken custom document spacing).
524
525 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
526
527         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
528         namespace, also more use of temp references and const
529
530         * cursor.[Ch] (getStatus): move to lyxfunc.C
531
532         * bufferparams.C: reformat slightly
533
534         * bufferview_funcs.C (font2string): constify arg
535
536         * changes.C:
537         * converter.C:
538         * counters.C:
539         * bufferlist.C:
540         * buffer_funcs.C: (many funcs): constify arg on function
541         definitions, also make more local vars const, also add ASSERTS on
542         pointer args.
543
544         * buffer.C (LYX_FORMAT): put const in correct place
545         (many funcs): constify arg on function definitions, also make
546         more local vars const
547
548         * aspell_local.h: remove "struct" from typdef setup
549
550         * aspell.C (check): make word_ok const
551         (nextMiss): simplify slightly
552         (error): ditto
553
554 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * lyxrc.[Ch]: store all float values as strings.
557         use int (not float) for lyxrc.dpi.
558
559 2005-01-04  Angus Leeming  <leeming@lyx.org>
560
561         * lyx_cb.C (Reconfigure):
562         * lyx_main.C (queryUserLyXDir):
563         to run the <system_lyxdir>/configure correctly on Windows, prefix
564         the path to the script with "sh " when generating the string that
565         is passed to system().
566
567 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
568
569         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
570
571 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * lyxlength.C (asLatexString): get rid of setprecision
574
575 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * text2.C (setLayout): remove unused variable endpit.
578         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
579
580         * paragraph.C (onlyText): remove unused variable style.
581
582         * cursor.C (bruteFind): remove unused variables beg and end.
583
584         * Makefile.am (dist_noinset_DATA): not needed anymore
585
586         * cheaders/*: remove.
587
588 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
589
590         * text3.C: fix LFUN_MATH_MODE.
591
592 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * buffer_funcs.C (countWords): new function. Counts words between
595         two iterators.
596
597         * BufferView_pimpl.C (getStatus, dispatch): handle
598         LFUN_WORDS_COUNT.
599
600         * LyXAction.C (init):
601         * lfuns.h: add LFUN_WORDS_COUNT.
602
603 2004-12-19  Angus Leeming  <leeming@lyx.org>
604
605         * buffer.C (save): s/slashify_path/internal_path/.
606
607 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
608
609         * lyxfind.C (findChange): do not search for end of pars, because
610         the change tracker cannot handle this (fixes bug 1719).
611
612 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
613
614         * paragraph.[Ch] (autoBreakRows): remove
615
616         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
617
618         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
619         avoid using the paragraph one
620
621         * text2.C (LyXText, insertStringAsLines): adjust
622
623 2004-12-16  Angus Leeming  <leeming@lyx.org>
624
625         * bufferlist.C:
626         * lyx_main.C:
627         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
628
629 2004-12-14  Angus Leeming  <leeming@lyx.org>
630
631         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
632
633         * bufferlist.C (emergencyWrite):
634         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
635         GetEnvPath("HOME").
636
637 2004-12-14  Angus Leeming  <leeming@lyx.org>
638
639         * main.C: (main): no longer pass pointers to os::init.
640
641 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
642
643         * undo.C (textUndoOrRedo): simplify logic, fix a crash
644         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
645
646 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
647
648         * lyxfunc.C:
649         * text3.C: remove selection_possible global flag
650
651 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
652
653         * text2.C (getSelectionSpan): remove
654         (changeDepth, changeDepthAllowed): adjust
655
656 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
657
658         * Makefile.am (BOOST_LIBS): use boost variables
659
660 2004-12-03  José Matos  <jamatos@lyx.org>
661
662         * buffer.C: format up to 238.
663
664 2004-12-03  José Matos  <jamatos@lyx.org>
665
666         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
667
668 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
669
670         * cursor.C (goUpDown): remove call to idxUpDown2
671
672 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
673
674         * tabular.[Ch]: use size_t-like types for cell, row and column
675         indices
676
677 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
678
679         * lyxfunc.C (getStatus): do not lose previous information when
680         calling BufferView::getStatus; do not set a default "Command
681         disabled" message at the beginning, but just before returning.
682
683 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
684
685         * cursor.h (getStatus): add better comment from src/cursor.C
686
687 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * text3.C (getStatus): return false when the lfun is not handled
690
691 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * broken_headers.h: remove
694
695         * Makefile.am (lyx_SOURCES): remove broken_headers.h
696
697 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
700         offset_ref accessors
701
702         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
703         top_y_, merge fitcursor with update
704         (updateScrollbar, scrollDocView, fitCursor, center, update): new
705         coord scheme
706         (metrics): introduce
707         (workAreaDispatch): adapt to new coord scheme
708         (redoCurrentBuffer): remove
709
710         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
711
712         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
713         CurStatus enum.
714
715         * coordcache.[Ch]: add paragraph cache and helpers
716
717         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
718         adjust everywhere
719
720         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
721         (targetX, setTargetX): introduce
722
723         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
724         baseline -> ascent, as the rest of lyx
725
726         * lyxtext.h: remove redoParagraphs, updateParPositions,
727         fullRebreak, redoParagraphInternal. move dist to anon namespace in
728         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
729         have ascent/descent (ascent is ascent of first par)
730
731         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
732         step of BufferView
733
734         * paragraph.[Ch]: unify dimension handling with the rest of lyx
735
736         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
737
738         * pariterator.C: fix infinite loop introduced in par->pit renaming
739
740         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
741         in insets and LyXText, draw two off-screen paragraphs using
742         NullPainter, and adapt to new coord scheme
743
744         * text.C:
745         * text2.C:
746         * text3.C: adapt lfun handlers to the new coord scheme, which
747         means: there's only guaranteed coord information for onscreen pars
748         plus one above and one below. This implies that one can do search
749         from y coordinates in the range [-1,workHeight]
750
751 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
752
753         * rename a lot of InsetOld to InsetBase
754
755 2004-11-25  Angus Leeming  <leeming@lyx.org>
756
757         * BufferView_pimpl.C:
758         * lyx_cb.C:
759         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
760
761 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
764         call BufferView::getStatus if LCursor::getStatus did nothing
765         (setStatusMessage, getStatusMessage): removed.
766
767         * FuncStatus.C (message): new methods. Used to provide an error
768         message indicating why a command is disabled.
769         (clear, |=, FuncStatus): update for message.
770
771 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
772
773         * lyxfunc.C (dispatch): always call sendDispatchMessage
774
775 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
776
777         * BufferView.C:
778         * BufferView_pimpl.C:
779         * CutAndPaste.C:
780         * FontIterator.C:
781         * buffer.C:
782         * cursor.C:
783         * cursor_slice.[Ch]:
784         * dociterator.[Ch]:
785         * lyxfind.C:
786         * paragraph_funcs.C:
787         * pariterator.C:
788         * rowpainter.C:
789         * text.C:
790         * text2.C:
791         * text3.C:
792         * undo.C: par->pit renaming
793
794 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
795
796         * tabular.C (cellstruct): use initialization, store a shared_ptr
797         to insettext instead of the insettext directly, adjust to fit.
798         (operator=):  new function
799         (swap): new function
800         (rowstruct): use initialization
801         (columnstruct): use initialization
802         (ltType): use initialization
803
804
805         * lyxlength.h (swap): new function
806
807         * LColor.[Ch] (operator=): use the common semantics
808
809 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * lyxfind.C (findNextChange): update the bufferview after setting
812         the selection.
813
814 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
817         number of InsetOptArgs has already been inserted.
818
819         * output_latex.C (latexOptArgInsets): new method. This outputs all
820         the optarg insets, up to the limit defined in the layout file.
821         (optArgInset): removed
822         (TeXOnePar): call latexOptArgInsets; correctly update texrow
823
824 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * paragraph.C (isLetter): remove special spellchecker-related
827         code; return true also for digits
828         (isWord, isKomma): remove
829
830         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
831         * lyxfind.C (MatchString()): use isLetter instead of isWord
832
833 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
834
835         * pariterator.h (operatir=): comment out un-implemented member
836         function.
837
838         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
839         static cast.
840
841 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
842
843         * lyxfont.h: include LColor.h to satisfy concept checks.
844
845 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
846
847         * pariterator.h: add typdefs for value_type, difference_type,
848         pointer and reference to satisfy concept checks. Also add default
849         constructor for same reason.
850
851         * pariterator.C (operator++): add post-increment operator to
852         satisfy concept checks.
853
854         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
855         checks.
856
857         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
858
859         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
860         checks. Also rename base_type to BaseType to follow naming
861         standard better.
862
863         * FloatList.h: include Floating.h to satisfy concept checks.
864
865 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * lyxfunc.C (getStatus): when the origin of the request is menu or
868         toolbar, and the LyXView does not have focus, do as if there was
869         no buffer (bug 1720)
870
871         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
872         FuncRequest to individual entries of LFUN_SEQUENCE
873
874 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * output_latex.C (TeXOnePar): override runparams.moving_arg
877         according to the needprotect value of the current paragraph (bug
878         1739)
879
880         * paragraph.C (simpleTeXOnePar): no need to override
881         runparams.moving_args here
882
883 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
884
885         * vspace.C: fix off-by-one-error, related to fix #1682
886
887 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
888
889         * lengthcommon.C: a more general fix for bug 1682
890
891 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * text.C (backspace): fix crash
894
895 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
896
897         * format.[Ch] (getFormatFromFile): new method
898         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
899
900 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
903
904 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lyxfunc.C (dispatch): remove the verbose argument
907         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
908         instead
909
910         * kbmap.C (defkey): set the origin of func to KEYBOARD
911
912         * MenuBackend.C (MenuItem):
913         * ToolbarBackend.C (add): set the origin of func to UI
914
915         * funcrequest.[Ch]: add origin member, which indicates which part
916         of LyX requests an action
917
918 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
919
920         * converter.C (move): don't lie in the error message
921         * converter.h (isReachable, move): document
922
923 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
924
925         * buffer.C: remove unused using lyx::support::atoi
926         * paragraph_funcs.C: ditto
927
928 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
929
930         * bufferlist.C (exists): use bind and equal_to instead of
931         compare_memfun
932         (getBuffer): ditto
933         * lyxtextclasslist.C (NumberOfClass): ditto
934
935         * cursor.C (insert): use for_each instead of explicit for loop
936
937         * bufferlist.C (getFileNames): use std::transform and
938         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
939
940         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
941         for loop
942
943         * buffer.C (changeLanguage): use for_each instead of explicit for
944         loop
945         (hasParWithID): implement using getParFromID
946
947         * LaTeXFeatures.C: ws change only
948
949         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
950         to cleanup a bit.
951
952         * BufferView_pimpl.C (trackChanges): use for_each instead of
953         expilicit for loop
954
955 2004-11-04  André Pönitz  <poenitz@gmx.net>
956
957         * undo.h:
958         * undo.C (textUndoOrRedo): fix crash when creating undo information.
959
960         * dociterator.C (asDocIterator): use hard assert again.
961
962 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * lyxlength.C (asLatexString): rewrite so that it does not use
965         snprintf anymore
966
967 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * text3.C (specialChar, dispatch): make sure cursor moves to the
970         right after inserting an inset
971
972 2004-11-02  José Matos  <jamatos@lyx.org>
973
974         * output_docbook.C (docbook):
975         * paragraph.C (getID):
976         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
977         garantee that the output is always legal.
978
979         * tabular.C (docbook):
980         * outputprams.[Ch]: remove mixed contents.
981
982 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
983
984         * text2.C (setCounter): prevent endless loop
985
986 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
987
988         * exporter.C (copyFile): use the mover instead of support::copy()
989         * exporter.C (Export): pass format and latex name to copyFile()
990         * exporter.h (addExternalFile): document
991         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
992
993 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
994
995         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
996
997 2004-10-30  José Matos  <jamatos@lyx.org>
998
999         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1000         text and no inset or font change. This allows to use CDATA
1001         sections just for the whole paragraph.
1002
1003 2004-10-30  José Matos  <jamatos@lyx.org>
1004
1005         * paragraph.C (getFirstWord): remove unused variable.
1006
1007 2004-10-30  José Matos  <jamatos@lyx.org>
1008
1009         * paragraph.C (getFirstWord): the content should always be escaped
1010         there.
1011         (simpleDocBookOnePar):
1012         * output_docbook.C (makeEnvironment): replace reference to CDATA
1013         to style pass_thru.
1014
1015 2004-10-30  José Matos  <jamatos@lyx.org>
1016
1017         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1018
1019 2004-10-30  José Matos  <jamatos@lyx.org>
1020
1021         * output_docbook.C (makeParagraphs):
1022         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1023         standard paragraph has only a given type of content drop the wrapper.
1024
1025 2004-10-29  José Matos  <jamatos@lyx.org>
1026
1027         * output_docbook.C (makeEnvironment):
1028         * sgml.C (openTag):
1029         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1030
1031 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1032
1033         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1034         (cleanID): sanitize any id.
1035
1036 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1037
1038         * buffer.C, lyxlex_pimpl.C:
1039         * lyxlex_pimpl.C (setFile):
1040         s/getExtFromContents/getFormatFromContents/
1041
1042 2004-10-28  José Matos  <jamatos@lyx.org>
1043
1044         * output_docbook.C (makeEnvironment): move id to broadest possible
1045         scope.
1046
1047         * sgml.C (openTag): apply substitution of <> for all attributes.
1048
1049 2004-10-28  José Matos  <jamatos@lyx.org>
1050
1051         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1052         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1053         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1054
1055         * sgml.[Ch]: new version for open and closeTag for paragraph and
1056         for strings. Now they handle the ids of paragraphs.
1057
1058 2004-10-26  Angus Leeming  <leeming@lyx.org>
1059
1060         * Makefile.am: add mover.[Ch].
1061
1062         * converter.C (convert, move): use the new Movers to move external
1063         files to the temp directory.
1064
1065         * lyx_main.C (init): ensure that the global system_movers data
1066         is initialised.
1067
1068         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1069         preferences file.
1070
1071         * mover.[Ch]: new files, defining a Mover as a utility to move an
1072         external file between directories and, if necessary, manipulate this
1073         file using a helper script.
1074
1075 2004-10-25  José Matos  <jamatos@lyx.org>
1076
1077         * output_docbook.C (makeCommand): merge two if's that tested the
1078         same condition.
1079
1080 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * sgml.C (escapeString): fix warning in a better way
1083
1084 2004-10-25  José Matos  <jamatos@lyx.org>
1085
1086         * sgml.C (escapeString): import the require boosts header file for
1087         tie, and avoid a signed unsigned comparison.
1088
1089 2004-10-25  José Matos  <jamatos@lyx.org>
1090
1091         * sgml.h: add #include <string>
1092
1093 2004-10-25  José Matos  <jamatos@lyx.org>
1094
1095         * sgml.[Ch] (escapeString): new function to escape all the string.
1096
1097 2004-10-24  José Matos  <jamatos@lyx.org>
1098
1099         * paragraph.[Ch] (getFirstWord): new function to get the first
1100         word. Useful for description.
1101         (simpleDocBookOnePar): remove depth argument, add another that
1102         says where to start the paragraph.
1103
1104         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1105         use the new functions to fix cleanly the support for descriptions.
1106
1107 2004-10-24  José Matos  <jamatos@lyx.org>
1108
1109         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1110         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1111         * output_linuxdoc.C (linuxdocParagraphs):
1112         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1113         add buffer as argument.
1114
1115 2004-10-24  José Matos  <jamatos@lyx.org>
1116
1117         * output_docbook.C (makeEnvironment, searchEnvironment): place
1118         CDATA inside paragraphs and fix scope for listitems.
1119
1120 2004-10-24  José Matos  <jamatos@lyx.org>
1121
1122         * output_docbook.C: remove using statement for stack.
1123
1124 2004-10-23  José Matos  <jamatos@lyx.org>
1125
1126         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1127         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1128         docbook. The new scheme is recursive and makes use of iterators, the
1129         same as latex export works.
1130         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1131         directly with the paragraph contents. This code was moved up to
1132         output_docbook.C (docbookParagraphs).
1133         * sgml.C (openTag, closeTag): removed unneeded newlines.
1134         (closeEnvTags) removed.
1135
1136 2004-10-23  André Pönitz  <poenitz@gmx.net>
1137
1138         * undo.C (textUndoOrRedo):
1139         * dociterator.C (asDocIterator): work around crash
1140
1141         * cursor.C (getStatus): replace ASSERT by more verbose error message
1142           and manual correction of the problem. Should increase stability
1143           while providing more sensible information.
1144
1145 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1148
1149         * bufferlist.C (previous, next): new methods
1150
1151         * lfuns.h:
1152         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1153
1154 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1155
1156         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1157         entities to preamble.
1158
1159 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1160
1161         * messages.C (Pimpl): strip off translation context information
1162
1163 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1166         the cursor is correct (bug 1694)
1167
1168 2004-10-13  José Matos  <jamatos@lyx.org>
1169
1170         * output_docbook.C (docbookParagraphs): fix closing tags in the
1171         end of the document.
1172
1173 2004-10-09  José Matos  <jamatos@lyx.org>
1174
1175         * buffer.C: format up to 237.
1176         * bufferparams.C (write): use tostr to convert booleans to strings.
1177
1178 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1179
1180         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1181
1182 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1183
1184         * LaTeX.C: implement use of babel language in xindy.
1185
1186 2004-10-05  José Matos  <jamatos@lyx.org>
1187
1188         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1189         Add new translators to help reading and writing the lyx file.
1190
1191 2004-10-05  José Matos  <jamatos@lyx.org>
1192
1193         * ParagraphParameters.C (read):
1194         * text.C (readParToken): replace nexToken by more appropriate lex
1195         methods.
1196
1197 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1198
1199         * LaTeX.C (runMakeIndex):
1200         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1201         (usually 'makeindex') configurable.
1202
1203         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1204         with a variable rather than with a number.
1205
1206 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * output_latex.C (TeXOnePar): make sure font setting is the first
1209         thing that gets output (and the last at the end). Should fix bug
1210         1404.
1211
1212 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1213
1214         * pch.h: use proper signal include
1215
1216         * LaTeX.h: Use preferred calling of Boost.Signal
1217         * buffer.h: ditto
1218
1219 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1220
1221         * pch.h: dont include <boost/function/function0.hpp>
1222
1223         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1224
1225         * paragraph_pimpl.h: remove usage of ShareContainer
1226
1227         * paragraph_pimpl.C: remove initialization of ShareContainer.
1228
1229 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         Fix bug #1666
1232
1233         * BufferView.C (putSelectionAt): change the semantics when
1234         backwards == true: now, this just swaps cursor and anchor wrt the
1235         forward case
1236
1237         * BufferView.h (putSelectionAt): add some documentation
1238
1239         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1240         make sure backwardChar is done at least once (to avoid getting
1241         stuck)
1242         (findNextChange): use putSelectionAt in the forward direction
1243         (operator()): use Paragraph::isWord
1244
1245 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1246
1247         * Spacing.C (set): c_str fix
1248
1249 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * lyx_cb.C (Reconfigure): quote the name of configure script in
1252         case it contains spaces
1253
1254 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1255
1256         * client: new dir
1257
1258         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1259         (BOOST_LIBS): use top_buildir when looking for the file
1260
1261 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1262
1263         * pch.h: do not use include boost/format.hpp, multiple symbols
1264                 will result (gcc bug)
1265
1266
1267 2004-08-23  José Matos  <jamatos@lyx.org>
1268
1269         * bufferparams.C (readToken): fix reading of the author field.
1270
1271 2004-08-20  José Matos  <jamatos@lyx.org>
1272
1273         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1274
1275 2004-08-20  José Matos  <jamatos@lyx.org>
1276
1277         * lyxlex.[Ch] (findToken): remove function.
1278
1279         * ParagraphParameters.C (findToken):
1280         * bufferparams.C (findToken): replace call for previous function
1281         with local copy. This local function has one more argument, the
1282         read string argument.
1283
1284 2004-08-16  José Matos  <jamatos@lyx.org>
1285
1286         * ParagraphParameters.C (write):
1287         * Spacing.C (writeFile):
1288         * bufferparams.C (writeLaTeX):
1289         * lyx_cb.C (Reconfigure):
1290         * paragraph.C (write):
1291         * tabular.C (write): remove unnecessary space at end of line.
1292
1293
1294 2004-08-16  José Matos  <jamatos@lyx.org>
1295
1296         * text.C (readParagraph): remove debug message.
1297
1298 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1301         crash
1302
1303         * output_plaintext.C (asciiParagraph): set depth correctly
1304
1305         * outputparams.h: add member depth
1306
1307         * paragraph_funcs.C (ownerPar): remove.
1308
1309         * text2.C (setCounter): remove first_pit; comment out some
1310         non-working code that uses ownerPar
1311
1312         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1313         uses ownerPar
1314
1315 2004-08-16  José Matos  <jamatos@lyx.org>
1316
1317         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1318         For the same level of importance use the same chanel to report problems.
1319         (read): add code to deal with \begin_body and \end_body.
1320
1321
1322 2004-08-15  José Matos  <jamatos@lyx.org>
1323
1324         * lyxlex.C (getString): fix comment, buffer::readBody is now
1325         buffer:readDocument.
1326
1327         * tex-strings.C (string_papersize): Default -> default,
1328         Custom -> custom, for consistency with other options.
1329
1330 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1331
1332         * pch.h: new file
1333
1334         * Makefile.am: support pch
1335
1336 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * text.C (readParToken): remove the static LyXFont variable and
1339         pass it as a parameter instead. This fixes a nasty bug where an
1340         inset will be inserted with a bad font in some situations
1341         (readParagraph): adapt
1342
1343         * text2.C (setCounter): reduce number of calls to pars_[pit]
1344
1345         * text.C (singleWidth): add an assert, fix a test
1346
1347         * rowpainter.C (paintText): reduce number of calls to singleWidth
1348
1349         * paragraph.C (isHfill):
1350         (isNewline): ws only
1351
1352 2004-08-14  André Pönitz  <poenitz@gmx.net>
1353
1354         * text.C:
1355         * text2.C:
1356         * rowpainter.C:
1357         * lyxtext.h (several functions): use a Paragraph & argument
1358         instead of par_type
1359
1360 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1361
1362         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1363
1364         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1365
1366         * text.C (singleWidth): remove useless test
1367
1368 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1369
1370         * tabular.h: remove bogus comments
1371
1372         * tabular.C (getDescentOfRow):
1373         (isPartOfMultiColumn): add assertions
1374
1375         * lyxlength.C (inPixels): remove #warning
1376
1377 2004-08-14  André Pönitz  <poenitz@gmx.net>
1378
1379         * paragraph.h: inline getChar()
1380
1381         * BufferView.h: remove unused declarations
1382
1383 2004-08-14  José Matos  <jamatos@lyx.org>
1384
1385         * Buffer.[Ch] (readDocument): new name for old readBody.
1386         * Buffer.C: new file format, new keywords: \begin_document,
1387         \begin_header, \begin_body, \end_body.
1388
1389         * bufferparams.C (readToken): replace all calls to lex.nextToken
1390         by lex.next(). Do the same to eatLine except where really needed.
1391
1392         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1393         line when writing to the lyx file.
1394
1395         * output_plaintext.C (asciiParagraph): fix Bibliography style
1396         handling.
1397
1398         * text.C (read): fix end of file handling.
1399
1400 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1401
1402         * MenuBackend.C (Menu::operator[]): new method to access
1403         individual menu items
1404         (Menu::hasFunc): new method. search for an item that corresponds
1405         to a given func
1406         (MenuBackend::specialMenu): new method
1407         (MenuBackend::expand): if a special menu has been set, skip
1408         entries whose func() appears in this menu
1409
1410 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1411
1412         * text3.C: use Debug::DEBUG a bit more
1413
1414         * text.C (leftMargin): try to simplify a tiny bit change var x to
1415         l_margin. Dont output the wide margins always.
1416         (rightMargin): no margin in inner texts
1417
1418         * rowpainter.h (nestMargin): new func
1419         (changebarMargin): new func
1420         (rightMargin): new func
1421
1422         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1423         now functions.
1424         (paintLast): ditto
1425
1426         * factory.C (createInset): modify setDrawFrame
1427
1428         * cursor.C: use Debug::DEBUG a bit more
1429
1430 2004-08-14  André Pönitz  <poenitz@gmx.net>
1431
1432         * coordcache.[Ch]:
1433         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1434         cache for all insets in (at least partially) visible (top-level)
1435         paragraphs.
1436
1437         * BufferView_pimpl.C: reset external coord cache before every update.
1438         This means the coord cache only contains valid entries.
1439
1440 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1441
1442         bug 1096
1443         * BufferView_pimpl.C (getInsetByCode): move function out of class
1444         and change in to a template in anon namespace. Also fix to do what
1445         suits us better.
1446
1447 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1448
1449         bug 1305
1450         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1451         of char
1452         (breakParagraph): rename par to par_offset and use a local
1453         reference. Add code to keep the language over a rebreak.
1454         (breakParagraphConservative): rename par to par_offset, use a
1455         local reference
1456         (mergeParagraph): ditto
1457         (outerHook): ditto
1458         (isFirstInSequence): ditto
1459         (outerFont): rename pit to par_offset
1460
1461         * paragraph.C: ws change
1462         * paragraph.h: ditto
1463         * text3.C: ditto
1464         * text.C: ditto
1465
1466 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1469         treatment for ']'
1470
1471         * paragraph.C (simpleTeXOnePar): when we have a \item with
1472         optional argument, enclose the argument with curly brackets (in
1473         case it contains a closing square bracket)
1474
1475         * text2.C (editXY):
1476         * text2.C (editXY):
1477         * text3.C (checkInsetHit): constify
1478
1479 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1482         documents (bug 1629)
1483
1484 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         Fix toggling of collapsable insets with the mouse (bug 1558)
1487
1488         * lyxfunc.C (dispatch): adapt to LCursor changes
1489
1490         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1491         make sure that dispatch is not invoked twice
1492
1493         * cursor.C (needsUpdate): new method
1494         (dispatch): return void
1495         (result): new method, to access the DispatchResult of the cursor.
1496
1497 2004-08-13  José Matos  <jamatos@lyx.org>
1498
1499         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1500
1501 2004-08-13  André Pönitz  <poenitz@gmx.net>
1502
1503         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1504
1505         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1506           multiple cells
1507
1508 2004-08-12  André Pönitz  <poenitz@gmx.net>
1509
1510         * text3.C: take out the 'cursor right' form insertInset and only
1511         do it in those places when it is really needed. Fixes crash on
1512         C-m...
1513
1514 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1515
1516         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1517
1518         * BufferView_pimpl.C (setBuffer): initialize the current font of
1519         the underlying LyXText
1520
1521 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * kbsequence.C (print): use UI native formatting for menu
1524         shortcuts
1525
1526         * text.C (insertChar): call Paragraph::insertChar with a font
1527         argument (cosmetic)
1528
1529         * paragraph.C (insertInset, insertChar): the version that takes a
1530         LyXFont argument is now a wrapper around the other one (the
1531         opposite used to be true).
1532
1533         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1534         argument. Font setting is done in Paragraph now.
1535
1536 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * outputparams.h: add new members intitle and lang.
1539
1540         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1541         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1542
1543 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1544
1545         * text3.C (dispatch): remove special handling of button 4 and 5,
1546         it is now taken care of in the frontend code.
1547
1548 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1549
1550         * Spacing.h: add <string> (STLPort compile fix)
1551
1552 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1553
1554         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1555
1556 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1557
1558         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1559         to bool.
1560
1561         * converter.C (showMessage): inherit from unary_function, make
1562         operator() const.
1563
1564         * buffer.C (writeFile): initialize retval
1565
1566         * InsetList.h: rename private variable list to list_
1567         * InsetList.[Ch]: adjust accordingly.
1568
1569 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1570
1571         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1572         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1573         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1574         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1575         * ParagraphParameters.C, LaTeXFeatures.C: replace
1576         "support/std_sstream.h" with <sstream>
1577
1578 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1579
1580         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1581         * lyxsocket.C (LyXServerSocket): ditto
1582         (serverCallback): ditto
1583
1584 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1585
1586         * LaTeXFeatures.C: check release date when loading jurabib.
1587
1588 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * lyxserver.C (startPipe): call register_socket_callback
1591         (endPipe): call unregister_socket_callback
1592
1593 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1594
1595         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1596         (LyXServerSocket): register the callback
1597         (LyXServerSocket): unregister the callback
1598         (fd): delete function
1599         (serverCallback): improve error checking and setup the callbacks.
1600         (dataCallback): change arg to fd.
1601         (writeln): new func (copied fro the client socket) used for server
1602         write to client.
1603         (LyXDataSocket): simplify
1604         (~LyXDataSocket): close ann unregiser callback
1605         (server): delete function
1606         (fd): delete function
1607         (readln): small changes, improve some std::string usage
1608         (writeln): constify a bit
1609
1610 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1611
1612         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1613         Qt frontend
1614
1615 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1616
1617         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1618         after it has been populated
1619
1620 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * text2.C (insertInset): move cursor when inserting inset.
1623
1624 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * kbmap.C (findbindings): a couple of new methods. returns a
1627         container of kb_sequence objects. The real work is done by the
1628         private recursive version
1629         (printbindings): uses findbindings to print out a bracketed list
1630         of bindings (renamed from findbinding).
1631
1632         * MenuBackend.C (binding): use kb_keymap::findbindings
1633
1634         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1635
1636 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1637
1638         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1639
1640 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * paragraph.C (isWord): return true on insets that report
1643         isLetter().
1644
1645         * text.C (getWord): use Paragraph::isWord to decide what is in a
1646         word and what is not; fix bug 1609.
1647
1648 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1649
1650         * tex-strings.C: add "none" to string_paperpackages[], fixes
1651         off-by-one-error in the paperpackage selection.
1652
1653         * lyxlex.[Ch]:
1654         * tex-strings.[Ch]: char const * string[n]
1655         -> char const * const string[]
1656
1657 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1658
1659         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1660         command, return early.
1661
1662 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1663
1664         * debug.h: add DEBUG to enum and fix size of ANY.
1665
1666         * debug.C: add support for Debug::DEBUG
1667         (showTags): cast errorTags.level to unsigned int
1668
1669         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1670         (redoCurrentBuffer): ditto
1671         (updateScrollbar): ditto
1672         * cursor.C (dispatch): ditto
1673         * text2.C (setLayout): ditto
1674         (setFont): ditto
1675         (updateCounters): ditto
1676         (editXY): ditto
1677         (deleteEmptyParagraphMechanism): ditto
1678
1679 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1680
1681         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1682         annotations to cleanup the Makefile slightly.
1683
1684 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * lyxrc.C: do not set user_email to a default value but use empty
1687         instead. The entry used to be translated, which does not work
1688         since at the point where lyxrc is constructed there is no
1689         translation service available
1690
1691         * messages.C (getLocaleDir): remove and use directly
1692         lyx_localedir() instead
1693
1694 2004-06-02  Angus Leeming  <leeming@lyx.org>
1695
1696         Fix crash caused by dereferencing null pointer 'exportdata' in
1697         OutputParams by creating a new ExportData variable on the heap,
1698         storing it in a boost::shared_ptr.
1699         The crash was triggered when generating an Instant Preview
1700         of an external inset.
1701
1702         * Makefile.am: add outputparams.C
1703
1704         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1705         (c-tor): allocate memory to it.
1706
1707         * exporter.C (c-tor): associated changes.
1708
1709 2004-06-01  Angus Leeming  <leeming@lyx.org>
1710
1711         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1712         contains data before calling isInset(0). (Bug 1513.)
1713
1714 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * exporter.C (checkOverwrite): new method
1717         * exporter.C (copyFile): new method
1718         * exporter.C (Export): copy referenced files to the document dir
1719         * exporter.[Ch]: new class ExportedFile
1720         * exporter.[Ch]: new class ExportData. Contains currently the
1721         names of referenced external files
1722         * outputparams.h: add exportdata member.
1723
1724 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1725
1726         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1727         version.C-tmp
1728
1729 2004-05-19  Angus Leeming  <leeming@lyx.org>
1730
1731         * LaTeXFeatures.C:
1732         * ToolbarBackend.C:
1733         * bufferparams.C:
1734         * lyxfunc.C: small changes due to the introduction of namespace
1735         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1736
1737 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1738
1739         * text3.C (dispatch): supress update when only moving the cursor
1740         * cursor.C (selHandle): remove commented code
1741
1742 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1743
1744         * paragraph.C (startTeXParParams): correct column count
1745         * CutAndPaste.C (pasteSelection): remove const_cast
1746         * output_docbook.C (docbookParagraphs): remove const_cast
1747         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1748         const_cast and return ParagraphList::const_iterator
1749         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1750         * output_plaintext.C (writeFileAscii): remove const_cast
1751         * paragraph.[Ch] (simpleTeXOnePar): make const
1752         * paragraph_funcs.C (outerPar): use const iterators
1753         * paragraph_pimpl.C (validate): use const iterators
1754         * text.C (setHeightOfRow): use const iterators
1755
1756 2004-05-17  Angus Leeming  <leeming@lyx.org>
1757
1758         * lfuns.h:
1759         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1760
1761         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1762         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1763         if the citation engine has changed.
1764
1765 2004-05-14  José Matos  <jamatos@lyx.org>
1766
1767         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1768         if the textclass does not provide it. Have it different for sgml and
1769         xml.
1770         support the language of document.
1771         * output_docbook.C (docbookParagraphs):
1772         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1773         first anchor as the id of the paragraph, remove special case code.
1774         * sgml.C (escapeChar): escape only < & >.
1775
1776 2004-05-14  Angus Leeming  <leeming@lyx.org>
1777
1778         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1779         dependencies on src/frontends/controllers/biblio.h. Define a
1780         CiteEngine_enum wrapper class to enable the enum to be forward
1781         declared.
1782
1783 2004-05-12  Angus Leeming  <leeming@lyx.org>
1784
1785         * buffer.C: up LYX_FORMAT to 234.
1786         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1787         use_numerical_citations with a single biblio::CiteEngine cite_engine
1788         variable.
1789         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1790
1791 2004-05-13  José Matos  <jamatos@lyx.org>
1792
1793         * converter.h:
1794         * converter.C (Converter, readFlags): add xml member.
1795         * outputparams.h: add XML flavor.
1796         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1797
1798 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * lyxfunc.C (dispatch):
1801         (getStatus): fix handling of LFUN_SEQUENCE
1802
1803 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * debug.C (showLevel): do not forget the end-of-line marker
1806
1807 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * kbmap.C (read): do not stop parsing a bind file when an error
1810         occurs (bug 1575)
1811
1812 2004-04-29  Angus Leeming  <leeming@lyx.org>
1813
1814         * cursor.C:
1815         * factory.C:
1816         * pariterator.C:
1817         * text2.C: wrap a bunch of #warning statements
1818         inside #ifdef WITH_WARNINGS blocks.
1819
1820 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1821
1822         * buffer.C: increment format to 233.
1823
1824 2004-04-28  Angus Leeming  <leeming@lyx.org>
1825
1826         * BufferView_pimpl.C:
1827         * lyxfunc.C:
1828         * text3.C:
1829         s/updateToolbar()/updateToolbars()/
1830         s/Toolbar.h/Toolbars.h/
1831
1832 2004-04-28  Angus Leeming  <leeming@lyx.org>
1833
1834         * BufferView.[Ch] (c-tor):
1835         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1836         No longer passes these data to the WorkArea generator.
1837
1838 2004-04-28  Angus Leeming  <leeming@lyx.org>
1839
1840         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1841
1842 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1843
1844         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1845
1846 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1847
1848         * output_latex.C (TeXEnvironment): make sure that there is a line
1849         break before \end{foo} for the last paragraph of a document
1850         (TeXOnePar): if the paragraph is at the end of the document (or
1851         inset) and the language has to be reset, then make sure that the
1852         line break is _before_ the language command, not after (fixes bug
1853         1225); also make sure that the language reset command is the first
1854         thing after the paragraph (to ensure proper nesting of
1855         environments and thus fix bug 1404)
1856
1857 2004-04-21  John Levon  <levon@movementarian.org>
1858
1859         * ToolbarBackend.h:
1860         * ToolbarBackend.C: make "name" be a programmatic name
1861         and a gui_name field.
1862
1863         * lyxfunc.C: display the minibuffer on M-x
1864
1865 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1868         (bug 1526)
1869
1870 2004-04-19  Angus Leeming  <leeming@lyx.org>
1871
1872         * BufferView_pimpl.C (setBuffer): changed preview interface.
1873
1874         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1875         possible values.
1876
1877 2004-04-19  John Levon  <levon@movementarian.org>
1878
1879         * BufferView_pimpl.C:
1880         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1881
1882 2004-04-05  Angus Leeming  <leeming@lyx.org>
1883
1884         * text.C (redoParagraphs): add call to updateCounters(), thereby
1885         fixing the missing "Figure #:" label from the caption of a
1886         figure float.
1887
1888 2004-04-13  Angus Leeming  <leeming@lyx.org>
1889
1890         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1891         cursor is clicked out of an inset.
1892
1893 2004-04-13  Angus Leeming  <leeming@lyx.org>
1894
1895         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1896         than an InsetOld one.
1897
1898 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1899
1900         * format.[Ch]: add editor to Format
1901         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1902         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1903
1904 2004-04-08  André Pönitz  <poenitz@gmx.net>
1905
1906         * metricsinfo.h: remove PainterInfo::width member
1907
1908 2004-04-08  Angus Leeming  <leeming@lyx.org>
1909
1910         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1911         "\providecommand" rather than "\newcommand", thereby preventing
1912         clashes with packages that define "\boldsymbol" themselves.
1913         Eg, beamer.
1914
1915 2004-04-08  Angus Leeming  <leeming@lyx.org>
1916
1917         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1918         thereby squashing an unnecessary warning.
1919
1920 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1921
1922         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1923         setBuffer()
1924
1925 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * BufferView.C (setCursor): call redoParagraph (some insets could
1928         have been opened)
1929         (putSelectionAt): remove the 'double update' trick
1930
1931         * BufferView_pimpl.C (fitCursor): call refreshPar
1932         (workAreaDispatch): remove an uneeded update call
1933         (dispatch): remove some manual update calls
1934
1935         * cursor.[Ch]: remove cached_y_, updatePos
1936         (selHandle): set noUpdate when appropriate
1937
1938         * lyxfunc.C (dispatch): track if we need an update
1939
1940         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1941
1942         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1943         (paintSelection): cheap optimization, do not call cursorX when not
1944         needed
1945         (paintPars): change signature
1946         (refreshPar): add
1947         (paintText): adjust
1948         (paintTextInset): adjust
1949
1950         * text.C: adjust
1951
1952 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * lengthcommon.C: compilation fix: remove explicit array size from
1955         unit_name[] and friends
1956
1957 2004-04-05  Angus Leeming  <leeming@lyx.org>
1958
1959         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1960
1961         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1962         present only for the preferences dialog.
1963         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1964
1965 2004-04-05  Angus Leeming  <leeming@lyx.org>
1966
1967         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1968         to enable the frontends to export changes to lyxrc correctly.
1969
1970         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1971
1972 2004-04-07  André Pönitz  <poenitz@gmx.net>
1973
1974         * cursor.[Ch] (selClear, adjust): remove math
1975
1976         * cursor_slice.C: more agressive assert
1977
1978         * lyxfunc.C:
1979         * BufferView_pimpl.C: rework mouse event dispatch
1980
1981         * dociterator.C:
1982         * paragraph.C:
1983         * text2.C:
1984         * text3.C: adjust
1985
1986 2004-04-05  André Pönitz  <poenitz@gmx.net>
1987
1988         * cursor.[Ch] (valign, halign...): remove unneeded functions
1989
1990 2004-04-05  Angus Leeming  <leeming@lyx.org>
1991
1992         * lyxlength.[Ch] (unit_name et al.): const-correct.
1993
1994 2004-04-05  Angus Leeming  <leeming@lyx.org>
1995
1996         * BufferView_pimpl.C:
1997         * buffer.C:
1998         * counters.C:
1999         * cursor.C:
2000         * lyxfunc.C
2001         * paragraph.C:
2002         * pariterator.C:
2003         * text.C:
2004         * text2.C:
2005         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2006
2007 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2008
2009         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2010
2011 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2014         * BufferView_pimpl.[Ch] (getStatus)
2015         * BufferView.[Ch] (getStatus): add
2016         * lyxfunc.C (getStatus): move lfuns handled in
2017         BufferView::dispatch to te function above
2018         * Cursor.C (setSelection): set selection() = true
2019
2020 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2023
2024 2004-03-31  Angus Leeming  <leeming@lyx.org>
2025
2026         * lyxfunc.C (dispatch): Fall through to the generic
2027         Dialogs::show("preamble").
2028
2029 2004-03-31  Angus Leeming  <leeming@lyx.org>
2030
2031         * lyxfunc.C (dispatch): Fall through to the generic
2032         Dialogs::show("spellchecker").
2033
2034 2004-03-31  Angus Leeming  <leeming@lyx.org>
2035
2036         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2037         preferences dialog.
2038
2039 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2040
2041         * BufferView.C
2042         * cursor.[Ch]
2043         * dociterator.[Ch]:
2044         * insetiterator.[Ch]:
2045         * lyxfind.C:
2046         * lyxfunc.C:
2047         * pariterator.[Ch]:
2048         * text2.C:
2049         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2050
2051 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2054         insets where we are putting the cursor.
2055
2056 2004-03-31  Angus Leeming  <leeming@lyx.org>
2057
2058         * lfuns.h:
2059         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2060
2061         * lyxrc.[Ch] (read, write): overloaded member functions taking
2062         a std::[io]stream arguments.
2063
2064         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2065
2066 2004-03-31  Angus Leeming  <leeming@lyx.org>
2067
2068         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2069         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2070
2071         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2072         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2073
2074 2004-03-31  Angus Leeming  <leeming@lyx.org>
2075
2076         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2077         the LFUN_ALL_INSETS_TOGGLE code.
2078
2079 2004-03-30  Angus Leeming  <leeming@lyx.org>
2080
2081         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2082         has died. Fall through to the generic Dialogs::show("document").
2083
2084 2004-03-30  Angus Leeming  <leeming@lyx.org>
2085
2086         * lfuns.h:
2087         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2088         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2089
2090         * lyxfunc.C (getStatus, dispatch): define the actions for these
2091         lfuns. Little more than a cut and pste job from ControlDocument.C
2092
2093         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2094
2095 2004-03-30  Angus Leeming  <leeming@lyx.org>
2096
2097         * lfuns.h:
2098         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2099         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2100
2101         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2102         open/closed state of ollapsable insets. Usage:
2103
2104         all-inset-toggle <state> <name>, where
2105         <state> == "open" || "closed" || "toggle" and
2106         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2107
2108         * lyxtext.h, text2.C (toggleInset): removed.
2109
2110         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2111         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2112         now passes LFUN_INSET_TOGGLE to the found inset.
2113
2114         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2115         is now invoked as "all-insets-toggle toggle branch".
2116
2117 2004-03-30  Angus Leeming  <leeming@lyx.org>
2118
2119         * dociterator.C:
2120         * insetiterator.C:
2121         * pariterator.[Ch]: added/corrected header blurb.
2122
2123 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * dociterator.[Ch]: add an inset_ member
2126         (backwardPos): implemented
2127         (backwardPos, forwardPos): use inset_ when the stack is empty.
2128         (doc_iterator_begin, doc_iterator_end): implemented
2129         * pariterator.[Ch]: adjust, add begin, end
2130         * insetiterator.[Ch]: adjust, add begin, end
2131         * cursor.C:
2132         * document.C:
2133         * BufferView.C:
2134         * BufferView_pimpl.C:
2135         * CutAndPaste.C: adjust
2136
2137 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2138
2139         * buffer.C: increment file format to 232.
2140         * LaTeXFeatures.C: add bibtopic package.
2141         * bufferparams.[Ch]: param \use_bibtopic.
2142
2143         * lyxrc.[Ch]: add lyxrc bibtex_command
2144         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2145
2146         * buffer.C: increment file format to 231.
2147
2148 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * dociterator.C: implement forwardPar
2151         * iterators.[Ch]: remove, replaced by
2152         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2153         * BufferView.C:
2154         * BufferView_pimpl.C:
2155         * CutAndPaste.C:
2156         * buffer.C:
2157         * bufferview_funcs.C:
2158         * cursor.C:
2159         * lyxfind.C
2160         * lyxfunc.C
2161         * paragraph_funcs.C
2162         * toc.C:
2163         * Makefile.am: adjust
2164
2165 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * CutAndPaste.C (pasteSelection): fix 2 crashes
2168         (eraseSelection): fix a crash
2169         * paragraph_funcs.C: remove a warning
2170
2171 2004-03-28  Angus Leeming  <leeming@lyx.org>
2172
2173         * lfuns.h:
2174         * LyXAction.C (init): new LFUN_PRINT.
2175
2176         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2177
2178 2004-03-27  Angus Leeming  <leeming@lyx.org>
2179
2180         * lfuns.h:
2181         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2182
2183         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2184
2185 2004-03-27  Angus Leeming  <leeming@lyx.org>
2186
2187         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2188         insetlist always contains non-null pointers to insets.
2189
2190 2004-03-26  Angus Leeming  <leeming@lyx.org>
2191
2192         * src/BufferView_pimpl.C:
2193         * src/CutAndPaste.C:
2194         * src/buffer.C:
2195         * src/iterators.C:
2196         * src/output_plaintext.C:
2197         * src/outputparams.h:
2198         * src/paragraph_funcs.C:
2199         * src/rowpainter.C:
2200         * src/text.C:
2201         * src/text2.C:
2202         * src/frontends/controllers/ControlErrorList.C:
2203         * src/frontends/gtk/FileDialogPrivate.C:
2204         * src/frontends/gtk/GPainter.C:
2205         * src/frontends/gtk/GToolbar.C:
2206         * src/frontends/qt2/QRef.C:
2207         * src/mathed/math_scriptinset.C: squash compiler warnings.
2208
2209 2004-03-26  Angus Leeming  <leeming@lyx.org>
2210
2211         * ispell.C (LaunchIspell::start):
2212         * lyx_cb.C (AutoSaveBuffer::start):
2213         invoke run(DontWait) rather than runNonBlocking().
2214
2215 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2218
2219 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * kbsequence.C (print): adjust
2222
2223         * kbmap.C (printKeySym): rename and change signature
2224         (printKey): use LyXKeySym::print()
2225
2226 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2227
2228         * undo.C: add using std::advance to compile for stlport
2229
2230 2004-03-24  Angus Leeming  <leeming@lyx.org>
2231
2232         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2233         it leads to a crash when no buffer is present.
2234
2235 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236             Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * lyxfunc.C (dispatch):
2239         * bufferparams.C (readToken): use the new LColor::setColor
2240
2241         * LColor.[Ch] (setColor): new version that takes two strings as
2242         argument and creates a new color entry if necessary
2243
2244 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2245
2246         * buffer.C (makeLaTeXFile): if the main latex file that is
2247         processed is usually a subdocument of some master, then pretend
2248         for a while that it is actually the master
2249
2250 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2251
2252         * buffer.C (getLabelList):
2253         (getBibkeyList): use getMasterBuffer()
2254         (getMasterBuffer): new method. Returns the main document in the
2255         case where one is using included documents.
2256
2257 2004-03-25  André Pönitz  <poenitz@gmx.net>
2258
2259         * Makefile.am:
2260         * iterators.[Ch]:
2261         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2262
2263         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2264
2265         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2266         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2267
2268         * ParameterStruct.h: merge with ParagraphParameters
2269
2270         * lyxtext.h: remove LyXText::parOffset() and getPar()
2271
2272         * text3.C: Remove all 'manual' update calls. We do now one per user
2273         interaction which is completely sufficient.
2274
2275         * Bidi.C:
2276         * BufferView.[Ch]:
2277         * BufferView_pimpl.C:
2278         * FontIterator.[Ch]:
2279         * MenuBackend.C:
2280         * ParagraphParameters.[Ch]:
2281         * buffer.C:
2282         * buffer.h:
2283         * bufferlist.C:
2284         * cursor.[Ch]:
2285         * cursor_slice.[Ch]:
2286         * dociterator.[Ch]:
2287         * errorlist.[Ch]:
2288         * factory.C:
2289         * lfuns.h:
2290         * lyxfind.C:
2291         * lyxfunc.C:
2292         * output_docbook.[Ch]:
2293         * output_latex.[Ch]:
2294         * output_linuxdoc.[Ch]:
2295         * output_plaintext.[Ch]:
2296         * paragraph.[Ch]:
2297         * paragraph_funcs.[Ch]:
2298         * paragraph_pimpl.[Ch]:
2299         * rowpainter.C:
2300         * tabular.[Ch]:
2301         * text.C:
2302         * text2.C:
2303         * toc.C:
2304         * undo.[Ch]: adjust
2305
2306         * frontends/controllers/ControlDocument.C:
2307         * frontends/controllers/ControlErrorList.C:
2308         * frontends/controllers/ControlSpellchecker.C:
2309         * insets/inset.C:
2310         * insets/inset.h:
2311         * insets/insetbase.h:
2312         * insets/insetbibitem.C:
2313         * insets/insetbox.C:
2314         * insets/insetbranch.C:
2315         * insets/insetcaption.C:
2316         * insets/insetcharstyle.C:
2317         * insets/insetcharstyle.h:
2318         * insets/insetcollapsable.C:
2319         * insets/insetcollapsable.h:
2320         * insets/insetert.C:
2321         * insets/insetfloat.C:
2322         * insets/insetfoot.C:
2323         * insets/insetmarginal.C:
2324         * insets/insetnote.C:
2325         * insets/insetoptarg.C:
2326         * insets/insettabular.C:
2327         * insets/insettext.C:
2328         * insets/insettext.h:
2329         * insets/insetwrap.C:
2330         * mathed/math_mboxinset.C:
2331         * mathed/math_nestinset.C:
2332         * mathed/math_scriptinset.C:
2333         * mathed/math_scriptinset.h:
2334         * support/types.h:
2335
2336 2004-03-24  Angus Leeming  <leeming@lyx.org>
2337
2338         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2339         deal with any child processes that have finished but are waiting to
2340         communicate this fact to the rest of LyX.
2341
2342 2004-03-24  Angus Leeming  <leeming@lyx.org>
2343
2344         64-bit compile fixes.
2345
2346         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2347         (c-tor): pass lyx::pos_types rather than ints.
2348
2349         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2350         lyx::pos_type.
2351
2352         * text.C (Delete): compile fix.
2353         (getPar): ensure that function declaration is the same as that in
2354         the header file.
2355
2356 2004-03-23  Angus Leeming  <leeming@lyx.org>
2357
2358         * ispell.C (LaunchIspell):
2359         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2360         a boost::shred_ptr rather than a std::auto_ptr.
2361
2362 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2363
2364         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2365         handle LFUN_FILE_INSERT_*
2366
2367         * lyxrc.C (setDefaults, getDescription, output, read):
2368         * lyxrc.h: remove ps_command
2369
2370 2004-03-22  Angus Leeming  <leeming@lyx.org>
2371
2372         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2373         Ensure that error_handler is processed once only and that all data
2374         is saved before attempting to output any warning messages.
2375
2376         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2377
2378 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2381
2382 2004-03-19  André Pönitz  <poenitz@gmx.net>
2383
2384         * cursor.[Ch] (reset): take main text inset as argument
2385
2386         * BufferView: adjust
2387         * BufferView_pimpl.C: adjust
2388
2389         * paragraph.[Ch]: fix completely broken operator=()
2390
2391 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * LColor.C (getFromLyXName): make sure that the color name is used
2394         as lowercase.
2395
2396 2004-03-17  Angus Leeming  <leeming@lyx.org>
2397
2398         * lfuns.h:
2399         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2400
2401         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2402         dialog and to kill a forked process.
2403
2404 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2405
2406         * text2.C (setCursorFromCoordinates): fix font problem
2407
2408 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2409
2410         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2411         bogus "rebuild cursor" code
2412
2413 2004-03-11  André Pönitz  <poenitz@gmx.net>
2414
2415         * buffer.[Ch]: use InsetText instead of LyXText as container for
2416         the main lyx text.
2417
2418         * dociterator.[Ch]: drop the BufferView * member which is not needed
2419         anymore after the change to buffer.C
2420
2421         * paragraph_funcs.C:
2422         * text.C:
2423         * text2.C:
2424         * BufferView.[Ch]:
2425         * BufferView_pimpl.[Ch]:
2426         * cursor.[Ch]:
2427         * cursor_slice.[Ch]: adjust
2428
2429         * text3.C: fix bug in mathDispatch
2430
2431 2004-03-08  André Pönitz  <poenitz@gmx.net>
2432
2433         * undo.[Ch]: use 'StableDocumentIterator' as base for
2434         the Undo struct.
2435
2436 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2437
2438         * LaTeXFeatures.C:
2439         * bufferparams.[Ch]: add jurabib support and param.
2440
2441         * LaTeX.C: add FIXME/comment.
2442
2443 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2444
2445         * buffer.C: increment file format to 230.
2446
2447 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * cursor.C (dispatch): avoid infinite loops
2450
2451 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * rowpainter.C (paintSelection): fix x coordinates
2454
2455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * text.C (rowBreakPoint): fix breaking before displayed insets
2458
2459 2004-03-01  André Pönitz  <poenitz@gmx.net>
2460
2461         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2462
2463         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2464
2465         * Makefile.am:
2466         * BufferView.C:
2467         * BufferView_pimpl.C:
2468         * buffer.C:
2469         * lyxfind.C:
2470         * lyxfunc.C:
2471         * text.C:
2472         * text2.C:
2473         * text3.C: adjust
2474
2475 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2476
2477         * lyxtext.h:
2478         * text.C:
2479         * text2.C:
2480         * rowpainter.C:
2481         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2482         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2483
2484 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * Bidi.[Ch] (computeTables): const correctness
2487         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2488         fill_hfill, fill_label_hfill and x from Row
2489         * lyxtext.h: prepareToPrint returns a RowMetrics
2490         * rowPainter.C: adjust
2491         * text.C (prepareToPrint): use width, not textWidth. adjust
2492         (redoParagraphInternal, cursorX): adjust
2493         * text2.C (getColumnNearX): adjust
2494         (init): put a default value to the top LyXText::width
2495
2496 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2499
2500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * lyxtext.h: add FontIterator class
2503
2504         * text.C (FontIterator, operator*, operator->, operator++): add
2505         (rowBreakPoint, setRowWidth): adjust (fixing a
2506         rebreaking bug)
2507
2508 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2509
2510         * BufferView_pimpl.C (workAreaDispatch): allow also
2511         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2512
2513 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2514
2515         * text.C (rowBreakPoint): fix a bug showing with very large insets
2516
2517 2004-02-25  André Pönitz  <poenitz@gmx.net>
2518
2519         * text3.C:
2520         * cursor.[Ch]: move some mathed specific code to mathed
2521
2522 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2523
2524         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2525         use_tempdir in preferences
2526         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2527         tempfile creation
2528         * lyx_main.C: ensure that tempdir is valid
2529         * lyxlex.h: correct typo
2530         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2531         * paragraph.[Ch] (isMultiLingual): make const
2532         * cursor.[Ch] (openable): make const
2533
2534 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2535
2536         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2537
2538 2004-02-20  André Pönitz  <poenitz@gmx.net>
2539
2540         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2541
2542         * cursor.[Ch]: prepare for localized getStatus()
2543
2544         * lyxtext.h:
2545         * tabular.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2549
2550 2004-02-20  André Pönitz  <poenitz@gmx.net>
2551
2552         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2553
2554 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * text2.C (setCursorFromCoordinates): switch to absolute coords
2557         (cursorUp): adjust
2558         (cursorDown): adjust
2559         * text3.C (dispatch): adjust
2560
2561 2004-02-16  André Pönitz  <poenitz@gmx.net>
2562
2563         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2564           insets/ChangeLog)
2565
2566         * cursor_slice.[Ch]: remove unneeded acessor function
2567
2568         * lyxtext.h: rename rtl() to isRTL()
2569
2570         * rowpainter.C:
2571         * tabular.C:
2572         * text.C:
2573         * text2.C:
2574         * text3.C: adjust
2575
2576 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * rowpainter.C (paintSelection): coord fix
2579
2580 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2581
2582         * Spacing.C: compile fix
2583
2584 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2585
2586         * cursor.C (dispatch): restore current_ before returning
2587
2588 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * text2.C (cursorUp, cursorDown): fix coords
2591         (moveUp): fix crash
2592
2593 2004-02-12  André Pönitz  <poenitz@gmx.net>
2594
2595         * lyxtext.h:
2596         * text.C:
2597         * text2.C:
2598         * text3.C: add LCursor & parameter to most cursor movement functions
2599           remove usage of LyXText::cursorRow() and cursorPar()
2600
2601         * cursor.[Ch]: add textRow() needed members
2602
2603         * BufferView.C:
2604         * BufferView_pimpl.C:
2605         * paragraph.[Ch]:
2606         * BufferView.C:
2607         * BufferView_pimpl.C: adjust
2608
2609 2004-02-11  André Pönitz  <poenitz@gmx.net>
2610
2611         * lyxfunc.C:
2612         * BufferView.[Ch]:
2613         * BufferView_pimpl.C: shift undo/redo handling
2614
2615         * cursor.[Ch]: fix mathed crash
2616
2617         * lyxfind.C:
2618         * lyxtext.h: move selectionAsText to LCursor
2619
2620         * output_latex.C:
2621         * paragraph.C:
2622         * text.C:
2623         * text2.C:
2624         * text3.C: adjust
2625
2626         * rowpainter.C: fix excessive drawing
2627
2628 2004-02-06  André Pönitz  <poenitz@gmx.net>
2629
2630         * BufferView.[Ch]:
2631         * BufferView_pimpl.[Ch]:
2632         * text3.C: move some text specific LFUN handling
2633
2634 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2635
2636         * text3.C (checkInsetHit): adjust coords
2637         * text2.C (getColumnNearX): adjust coords
2638         (edit): adjust coords
2639         * text.C (getRowNearY): add two asserts
2640
2641 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2642
2643         * converter.C:
2644         * format.C: add using std::distance to compile on gcc 2.95/stlport
2645
2646 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2647
2648         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2649
2650 2004-02-04  André Pönitz  <poenitz@gmx.net>
2651
2652         * BufferView.[Ch] (insertInset):
2653         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2654
2655         * text2.C:
2656         * text3.C: adjust
2657
2658 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2659
2660         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2661         on the default clause of the switch
2662         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2663         wasn't catched by LCursor::dispatch
2664
2665 2004-02-03  André Pönitz  <poenitz@gmx.net>
2666
2667         * BufferView.C:
2668         * cursor.[Ch]: some additional asserts
2669
2670         * undo.[Ch]: remove LyXText dependency in interface
2671
2672         * lyxfunc.C: adjust
2673
2674         * lyxtext.h (firstPar, lastPar): remove dead functions
2675
2676         * text.C:
2677         * text2.C:
2678         * text3.C:
2679         * paragraph.[Ch]: adjust
2680
2681 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2682
2683         * lyxfind.C (find): fix argument order in call to ::find
2684
2685 2004-02-02  André Pönitz  <poenitz@gmx.net>
2686
2687         * cursor.[Ch]: remove direct access to anchor
2688
2689         * text.C: remove findText() hack
2690
2691 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * iterators.[Ch] (lockPath): remove in favour of...
2694         * BufferView.[Ch] (setCursor): this addition
2695         * BufferView.C (putSelectionAt): adjust
2696         * undo.C (performUndoOrRedo): adjust
2697         * lyxfunc.C (dispatch): adjust
2698
2699 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * iterators.C (lockPath): add a missing slice
2702         * undo.C (performUndoOrRedo): remove redundant positioning code
2703
2704 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2705
2706         * vc-backend.C (scanMaster): ";" -> ';'
2707
2708 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2709
2710         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2711         std::binary_function
2712
2713         * lyxtextclass.C (compare_name): rename to...
2714         (LayoutNamesEqual): ...this
2715
2716         * lyxlex_pimpl.C (compare_tags): inherit from
2717         std::binary_function, put back into anon namespace
2718
2719         * lyxfind.C (MatchString): inherig from std::binary_function
2720         (findChange): use empty() istead of !size()
2721
2722         * format.C (FormatNamesEqual): new functor
2723         (getFormat): use it
2724         (getNumber): use it
2725         (add): use it
2726         (erase): use it
2727         (setViewer): use it
2728
2729         * converter.C (compare_Converter): rename to...
2730         (ConverterEqual): ...this, and fixup a bit.
2731         (getConverter): use it, and make function const
2732         (getNumber): use it, and make function const
2733         (add): use it
2734         (erase): use it:
2735
2736         * bufferlist.C: add using boost::bind
2737
2738         * MenuBackend.C (MenuNamesEqual): new functor
2739         (hasMenu): use it, and make function const
2740         (hasSubmenu): use nested bind to get rid of compare_memfun.
2741
2742 2004-01-30  André Pönitz  <poenitz@gmx.net>
2743
2744         * BufferView_pimpl.C:
2745         * cursor.C:
2746         * cursor.h:
2747         * cursor_slice.[Ch]:
2748         * lyxfunc.C:
2749         * lyxtext.h:
2750         * paragraph_funcs.C:
2751         * paragraph_funcs.h:
2752         * rowpainter.C:
2753         * text.C:
2754         * text2.C:
2755         * text3.C: move some of the edit(x,y) handling to the insets
2756         some coordinate changes.
2757
2758 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2759
2760         * text.C: add using statements for std::advance and std::distance
2761
2762         * paragraph.C: add using statement for std::distance
2763
2764         * lyxfind.C: add using statement for std::advance
2765
2766         * cursor.C (region): remove std:: from swap
2767         (openable): use nucleus in stead of operator->
2768
2769         * BufferView.C: add using statements for std::distance and std::swap
2770
2771 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2772
2773         * iterators.C: Remove the pimple, move the needed structures to
2774         the header file. Create accessor for the positions stack.
2775         (asPosIterator): remove function
2776
2777         * PosIterator.C (PosIterator): move constructors to top of file
2778         (PosIterator): reimplement the constructor taking a ParIterator in
2779         terms of setFrom.
2780         (setFrom): new function
2781         (operator!=): inline it
2782
2783 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2784
2785         * lyxfind.C (replaceAll): use std::advance
2786
2787         * iterators.h: inherit from std::iterator.
2788
2789         * PosIterator.C (advance, distance): remove
2790         * PosIterator.h: interit from std::iterator.
2791
2792 2004-01-26  André Pönitz  <poenitz@gmx.net>
2793
2794         * BufferView.[Ch]:
2795         * BufferView_pimpl.[Ch]:
2796         * InsetList.[Ch]:
2797         * PosIterator.[Ch]:
2798         * buffer.h:
2799         * bufferview_funcs.C:
2800         * cursor.[Ch]:
2801         * cursor_slice.h:
2802         * factory.[Ch]:
2803         * iterators.[Ch]:
2804         * lyxfind.C:
2805         * lyxfunc.C:
2806         * lyxtext.h:
2807         * output_docbook.C:
2808         * output_latex.C:
2809         * output_linuxdoc.C:
2810         * output_plaintext.C:
2811         * paragraph.[Ch]:
2812         * paragraph_funcs.[Ch]:
2813         * paragraph_pimpl.[Ch]:
2814         * rowpainter.C:
2815         * tabular.C:
2816         * tabular.h:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: more IU:  dumps most of the rest of the mathcursor
2820     implementation into cursor.[Ch]; "globalize" a bit of it.
2821
2822 2004-01-25  Angus Leeming  <leeming@lyx.org>
2823
2824         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2825
2826 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2827
2828         * LaTeXFeatures.h: add nice_ and nice() const
2829         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2830
2831 2004-01-20  André Pönitz  <poenitz@gmx.net>
2832
2833         * BufferView.[Ch]:
2834         * BufferView_pimpl.C:
2835         * PosIterator.C:
2836         * bufferview_funcs.C:
2837         * cursor.[Ch]:
2838         * cursor_slice.[Ch]:
2839         * factory.C:
2840         * iterators.C:
2841         * lyx_cb.C:
2842         * lyxfind.C:
2843         * lyxfunc.C:
2844         * lyxtext.h:
2845         * rowpainter.C:
2846         * text.C:
2847         * text2.C:
2848         * text3.C:
2849         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2850           LCursor and mathcursor parts to LCursor and InsetBase.
2851
2852 2004-01-15  André Pönitz  <poenitz@gmx.net>
2853
2854         * cursor_slice.[Ch]: add a few covienience functions
2855
2856         * funcrequest.[Ch]: remove BufferView * member
2857
2858         * BufferView_pimpl.C:
2859         * cursor.C:
2860         * factory.[Ch]:
2861         * lyxfind.[Ch]:
2862         * lyxfunc.C:
2863         * lyxtext.h:
2864         * text3.C:
2865         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2866
2867 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2868
2869         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2870         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2871
2872 2004-01-13  André Pönitz  <poenitz@gmx.net>
2873
2874         * textcursor.[Ch]:
2875         * lyxtext.h: hide cursor and selection anchor behind accessor function
2876
2877         * BufferView.C:
2878         * BufferView_pimpl.[Ch]:
2879         * PosIterator.C:
2880         * bufferview_funcs.C:
2881         * cursor.h:
2882         * lyxfind.C:
2883         * lyxfunc.C:
2884         * text.C:
2885         * text2.C:
2886         * text3.C:
2887         * undo.C: adjust
2888
2889         * cursor.h:
2890         * cursor_slice.[Ch]: some integer type changes for inset unification
2891
2892         * lyxcursor.[hC]: remove, it's CursorSlice now.
2893
2894         * Makefile.am:
2895         * BufferView_pimpl.[Ch]:
2896         * bufferview_funcs.C:
2897         * cursor_slice.C:
2898         * lyxtext.h:
2899         * text.C:
2900         * text2.C:
2901         * text3.C:
2902         * textcursor.[Ch]: adjust
2903
2904 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2905
2906         * text2.C (undoSpan): add and use
2907         * text.C (breakParagraph): use undoSpan (fix bug 578)
2908         * lyxtext.h: adjust
2909
2910 2004-01-08  Angus Leeming  <leeming@lyx.org>
2911
2912         * BufferView_pimpl.C (MenuInsertLyXFile):
2913         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2914         * lyxfunc.C (menuNew, open, doImport):
2915         FileFilterList change to the FileDialog open and save functions.
2916
2917 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2918
2919         * ShareContainer.h: make isEqual and isUnique adaptable
2920
2921         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2922
2923 2004-01-07  Angus Leeming  <leeming@lyx.org>
2924
2925         * LyXAction.C:
2926         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2927
2928         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2929
2930         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2931         functions replacing find, replace and replaceAll.
2932
2933         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2934         LFUN_WORDFIND(FORWARD|BACKWARD).
2935
2936 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * text.C (breakParagraph): remove an outdated #warning
2939
2940 2004-01-07  André Pönitz  <poenitz@gmx.net>
2941
2942         * lyxfind.C: somewhat clearer logic
2943
2944         * text.C: prevent crash in cursorX on unitialized row cache
2945
2946 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * lyxcursor.[Ch] (operator>): add
2949         * textcursor.C (selStart, selEnd): use std::min and std::max
2950
2951 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2952
2953         * Chktex.C: include boost/format.hpp
2954
2955 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2956
2957         * InsetList.C: replace functor MathcIt with adaptable functor
2958         InsetTablePosLess
2959         (insetIterator): modify accordingly
2960
2961         * BranchList.h: move the BranchNamesEqual functor here from...
2962         * BranchList.C: ... to here
2963
2964         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2965         SameName and match.
2966         (add): replace a finding loop with std::find_if.
2967
2968 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * output_docbook.C: moving LatexParam functionality into
2971         .layout files
2972
2973 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2974
2975         * buffer.C: increment format to 229.
2976
2977 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2978
2979         * LaTeXFeatures.C:
2980         * lyx_sty.[Ch]: remove minipageindent_def
2981
2982         * LyXAction.C:
2983         * factory.C:
2984         * lfuns.h:
2985         * lyxfunc.C:
2986         * text3.C: remove LFUN_INSET_MINIPAGE
2987
2988 2003-12-28  Angus Leeming  <leeming@lyx.org>
2989
2990         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2991
2992 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2993
2994         * text2.C (setParagraph): fix off-by-one crash
2995
2996 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2997
2998         * output_docbook.C: header stuff for AGU
2999
3000 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * text2.C (redoCursor): remove
3003         * text.C:
3004         * text3.C:
3005         * BufferView_pimpl.C: remove calls to redoCursor and
3006         setCursor(cursor.par(), cursor.pos()) all around
3007
3008 2003-12-15  Angus Leeming  <leeming@lyx.org>
3009
3010         * buffer.C: up the format to 228.
3011
3012 2003-12-15  André Pönitz  <poenitz@gmx.net>
3013
3014         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3015         slices
3016
3017         * Makefile.am:
3018
3019         * BufferView_pimpl.C:
3020         * cursor.[Ch]:
3021         * lyxcursor.[Ch]:
3022         * rowpainter.[Ch]:
3023         * lyxtext.h:
3024         * text.C:
3025         * text2.C:
3026         * text3.C: adjust
3027
3028 2003-12-15  Angus Leeming  <leeming@lyx.org>
3029
3030         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3031         than getFromGUIName to manipulate the color.
3032
3033 2003-12-14  Angus Leeming  <leeming@lyx.org>
3034
3035         * BranchList.[Ch]: minimize the API.
3036         (Branch::getBranch, getColor): now return a 'const &'.
3037         (Branch::setSelected) now returns a bool set to true if the
3038         selection status changes.
3039         (BranchList::clear, size, getColor, setColor, setSelected,
3040         allBranches, allSelected, separator): removed.
3041         (BranchList::find): new functions, returning the Branch with
3042         the given name.
3043         (BranchList::add, remove): return a bool indicating that
3044         the operation was successful.
3045
3046         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3047         new InsetBranch::isBranchSlected member function.
3048
3049         * LColor.[Ch]: mimimize the API.
3050         (fill): renamed as addColor and made private.
3051         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3052         versions of these functions taking a string arg have been removed.
3053
3054         * bufferparams.C (readToken):
3055         * lyxfunc.C (dispatch):
3056         * lyxrc.C (read): changes due to the altered BranchList and
3057         LColor APIs.
3058
3059         * factory.C (createInset, readInset): changes due to altered
3060         InsetBranch c-tor.
3061
3062 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3063
3064         * factory.C:
3065         * lyxfunc.C: remove insetminipage. "minipage-insert"
3066         now produces a frameless minipage box inset.
3067
3068 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * textcursor.[Ch] (selStart,selEnd): add new methods
3071         remove selection::start, end, use LyXCursor::operator<
3072         * lyxcursor.[Ch] (operator<): add
3073         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3074         * BufferView.[Ch] (unsetXSel): add
3075         * text2.C (clearSelection): use unsetXSel,adjust
3076         * text.C: adjust
3077         * text3.C: adjust
3078         * rowpainter.C: adjust
3079         * bufferview_funcs.C (put_selection_at): adjust
3080
3081 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3082
3083         * BufferView_pimpl.C: small coord. correction
3084
3085 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3086
3087         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3088         dragging over the splash screen.
3089
3090 2003-12-11  Angus Leeming  <leeming@lyx.org>
3091
3092         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3093         as it is now handled in LyXText::dispatch.
3094
3095         * text3.C (doInsertInset): remove a level of nesting.
3096
3097 2003-12-11  Angus Leeming  <leeming@lyx.org>
3098
3099         * factory.C (createInset): changes due to the changed interface to
3100         InsetCommandMailer::string2params.
3101
3102 2003-12-10  Angus Leeming  <leeming@lyx.org>
3103
3104         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3105         'dialog-show-new-inset <inset name>'
3106
3107 2003-12-10  Angus Leeming  <leeming@lyx.org>
3108
3109         * buffer.C: up the format to 227.
3110
3111         * factory.C: the box inset is now identified simply by 'Box'.
3112
3113 2003-12-10  Angus Leeming  <leeming@lyx.org>
3114
3115         * buffer.C: up the format to 226.
3116
3117         * factory.C: the note inset is now identified simply by 'Note'.
3118
3119 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3120
3121         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3122         when a pit is enough. Standarize a couple of loops.
3123
3124 2003-12-05  Angus Leeming  <leeming@lyx.org>
3125
3126         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3127         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3128         data to the re-worked "log" dialog.
3129
3130 2003-12-03  André Pönitz  <poenitz@gmx.net>
3131
3132         * PosIterator.C:
3133         * iterators.C:
3134         * lyxtext.h:
3135         * output_latex.C:
3136         * paragraph_funcs.C:
3137         * text.C:
3138         * text2.C: use Inset::getText instead of Inset::getParagraph
3139
3140 2003-12-03  André Pönitz  <poenitz@gmx.net>
3141
3142         * buffer.[Ch]:
3143         * lyxtext.h:
3144         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3145         InsetText::read() as LyXText::read()
3146
3147 2003-12-02  Angus Leeming  <leeming@lyx.org>
3148
3149         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3150         type. Add a comment in the implementation that the function uses
3151         the stream's bad() function rather than fail() as the std::streams
3152         would do.
3153
3154 2003-12-02  André Pönitz  <poenitz@gmx.net>
3155
3156         * lyxlex.[Ch]: make interface more similar to std::stream
3157
3158         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3159
3160 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3161
3162         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3163
3164 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3165
3166         * vspace.[Ch]: remove VSpace::NONE
3167
3168 2003-12-01  André Pönitz  <poenitz@gmx.net>
3169
3170         * buffer.[Ch]:
3171         * lyxtext.h: move ParagraphList member to LyXText
3172         rename LyXText::ownerParagraphs to LyXText::paragraph
3173
3174         * CutAndPaste.C:
3175         * bufferview_funcs.C:
3176         * iterators.[Ch]:
3177         * lyx_cb.C:
3178         * paragraph.C:
3179         * rowpainter.C:
3180         * tabular.C:
3181         * text.C:
3182         * text2.C:
3183         * text3.C: adjust
3184
3185         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3186
3187         * undo.C: fix cursor positioning
3188
3189 2003-12-01  John Levon  <levon@movementarian.org>
3190
3191         * BufferView_pimpl.C: fix a crash on exit with
3192         a buffer open
3193
3194 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3195
3196         * BranchList.C: fix setSelected() method.
3197
3198 2003-11-28  André Pönitz  <poenitz@gmx.net>
3199
3200         * ParagraphParameters.[Ch]:
3201         * ParameterStruct.h: remove space above/below from Paragraph to
3202          InsetVSpace
3203
3204         * BufferView_pimpl.C:
3205         * factory.C:
3206         * lyxfunc.C:
3207         * lyxtext.h:
3208         * output_latex.C:
3209         * paragraph.C:
3210         * paragraph_funcs.C:
3211         * rowpainter.[Ch]:
3212         * text.C:
3213         * text2.C:
3214         * text3.C: adjust
3215
3216 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3217
3218         * factory.C: Syntax change for CharStyles
3219
3220 2003-11-28  André Pönitz  <poenitz@gmx.net>
3221
3222         * BufferView.[Ch]:
3223         * BufferView.[Ch]:
3224         * buffer.[Ch]:
3225         * buffer.[Ch]: move LyXText member
3226
3227 2003-11-28  André Pönitz  <poenitz@gmx.net>
3228
3229         * BufferView.[Ch]: make LyXText * text a private member
3230
3231         * BufferView_pimpl.C:
3232         * cursor.C:
3233         * iterators.C:
3234         * lyx_cb.C:
3235         * lyxfind.C:
3236         * lyxtext.h:
3237         * rowpainter.[Ch]:
3238         * text.C:
3239         * text2.C:
3240         * undo.C: adjust
3241
3242         * output_plaintext.C: cleanup
3243
3244 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3245
3246         * buffer.C:
3247         * lyxtextclass.[Ch]: parametrize SGML document header
3248
3249 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3250
3251         * converter.[Ch]:
3252         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3253         getFlavor().
3254
3255 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3256
3257         * text2.C (setFont): rework using PosIterator (no more recursive)
3258         (setCharFont): no more needed
3259         (setLayout): no more selection cursors fiddling (done by redoCursor)
3260         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3261         destroy remaining ones)
3262
3263 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3264
3265         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3266         * lyxtext.h: ditto
3267         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3268         selection cursors
3269         * lyxfunc.C: adjust
3270         * text3.C: adjust + re-allow multi par depth changes
3271         * textcursor.C: simplify a bit
3272
3273 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3274
3275         * src/buffer.C:
3276         * src/lyxlayout.C:
3277         * src/lyxlayout.h:
3278         * src/lyxtext.h:
3279         * src/output_docbook.C:
3280         * src/output_latex.C:
3281         * src/paragraph.C:
3282         * src/paragraph.h:
3283         * src/sgml.C:
3284         * src/sgml.h:
3285         * src/text2.C: Introducing a number of tags parametrizing various
3286         XML formats that we may want to support
3287
3288 2003-11-25  André Pönitz  <poenitz@gmx.net>
3289
3290         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3291
3292         * lyxtext.h (leftMargin/rightMargin): simplify interface
3293
3294         * rowpainter.C:
3295         * text.C:
3296         * text2.C:
3297         * text3.C: adjust
3298
3299 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3300
3301         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3302         master file to any child files. Fixes bug 546.
3303
3304 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3305
3306         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3307
3308 2003-11-24  André Pönitz  <poenitz@gmx.net>
3309
3310         * rowpainter.C: simplification
3311
3312         * text2.C (updateCounters): remove call to redoParagraph on
3313         changed labels as this is far too expensive.
3314
3315 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * converter.C (convert): fix a crash: this function gets
3318         called with buffer == 0 from importer code.
3319
3320 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3321
3322         * text3.C (cursorPrevious): make sure that we do not compare
3323         iterators form different containers.
3324         (cursorNext): ditto
3325
3326         * rowpainter.C (paintSelection): make sure that we do not compare
3327         iterators from different containers.
3328
3329         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3330         iterators from different ParagraphList containers.
3331         [NEXT] ditto
3332
3333         * text2.C (LyXText): change order of initialization slightly
3334         (operator=): new function. copy all variables except cache_par_
3335         (moveUp): make sure that we do not compare iterators from
3336         different ParagraphList constainers.
3337         (moveDown): ditto
3338
3339         * text.C (firstPar): new function
3340         (lastPar): new function
3341         (endPar): new function
3342
3343         * lyxtext.h: move things around and group public functions, public
3344         variables, private functions, private variables
3345
3346 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3347
3348         * factory.C: change call to InsetERT constructor to avoid
3349         additional invocation of method status
3350         * text2.C (toggleInset): remove redundant update() call
3351         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3352         instead of a Bufferview pointer
3353
3354 2003-11-21  André Pönitz  <poenitz@gmx.net>
3355
3356         * rowpainter.C: simplification
3357
3358 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * text3.C (dispatch): make possible to extend a word/row selection
3361         with the mouse
3362
3363 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3364
3365         * lyxtext.h: x0_,y0_ -> xo_,yo_
3366         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3367         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3368         * rowpainter.C (paintRows): paint full paragraphs
3369
3370 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3371
3372         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3373         screen coordinates)
3374
3375 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * lyxtext.h: add x0_, y0_
3378         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3379         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3380
3381 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3382
3383         * text2.C (setCursorIntern): move the x_target update here *
3384         * text3.C: change some bv() to true/false in calls to
3385         cursorUp/Down/Right/Left
3386         * cursor.C: use helper function.
3387
3388 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3391         * paragraph_funcs.[Ch]: correct comment
3392         * rowpainter.C: do not paint selections away from bv->cursor()
3393         Fix a long standing selection painting bug.
3394         * text3.C: generalize mouse-selection code to LyXTexts other that
3395         top one
3396         * textcursor.C: do not use y coords if we can use par offsets
3397
3398 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3401         cursor position after e.g. inset insert)
3402
3403 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * lyxfind.C (replace): adjust to locking removal + some
3406         code simplification
3407
3408 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3409
3410         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3411         of the path
3412
3413 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3414
3415         * lyxlayout.[Ch]:
3416         * output_docbook.C: XML sanitation: new layout
3417         parameters InnerTag and CommandDepth
3418
3419 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * BufferView_pimpl.C:
3422         * factory.C:
3423         * text3.C: Fix the insertion and modification of button-style
3424         insets
3425
3426 2003-11-13  André Pönitz  <poenitz@gmx.net>
3427
3428         * InsetList.[Ch]: remove deleteLyXText
3429
3430         * paragraph.[Ch]: cache beginOfBody position
3431
3432         * Bidi.C:
3433         * text.C:
3434         * text2.C:
3435         * text3.C: remove superfluous update() calls
3436
3437         * vspace.C: cleanup
3438
3439 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3440
3441         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3442         * BufferView.C (fitLockedInsetCursor): remove
3443         * cursor.[Ch] (getDim): add
3444         * text.C (getRowNearY): add faster version
3445         * text3.C: remove some update calls
3446
3447 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3448
3449         * LaTeXFeatures.C:
3450         * LyXAction.C:
3451         * MenuBackend.C:
3452         * MenuBackend.h:
3453         * dispatchresult.h:
3454         * factory.C:
3455         * lfuns.h:
3456         * lyxfunc.C:
3457         * lyxtextclass.C:
3458         * lyxtextclass.h:
3459         * text3.C: The Character Style /XML short element patch.
3460
3461 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3462
3463         * text3.C:
3464         * factory.C: Small step to solving 'unable to insert some insets'
3465         problem
3466
3467 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3468
3469         * cursor.[Ch] (updatePos): new function for updating the y
3470         position of the tip inset
3471         * bufferview_funcs.C (put_selection_at):
3472         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3473
3474 2003-11-11  André Pönitz  <poenitz@gmx.net>
3475
3476         * text.C: remove big comment on invalid Paragraph pointers as it is
3477         not valid anymore
3478
3479 2003-11-11  André Pönitz  <poenitz@gmx.net>
3480
3481         * text_funcs.[Ch]: merge with ...
3482
3483         * text.C: ... this
3484
3485         * lyxtext.h:
3486         * text2.C:
3487         * text3.C: adjust
3488
3489         * Makefile.am: remove text_funcs.[Ch]
3490
3491 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * cursor.C (getPos): return absolute cached y coord
3494
3495         * BufferView_pimpl.C (fitCursor): new simplistic code
3496         (workAreaDispatch): add a fitCursor call
3497
3498 2003-11-10  André Pönitz  <poenitz@gmx.net>
3499
3500         * BufferView.[Ch]:
3501         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3502
3503 2003-11-10  André Pönitz  <poenitz@gmx.net>
3504
3505         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3506         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3507         indicate that the cursor needs to leave an inset
3508
3509         * lyxtext.h: remove inset locking
3510
3511         * cursor.[Ch]: re-implement functionality provided by inset locking
3512
3513         * BufferView.[Ch]:
3514         * BufferView_pimpl.[Ch]:
3515         * LyXAction.C:
3516         * bufferview_funcs.[Ch]:
3517         * factory.C:
3518         * funcrequest.[Ch]:
3519         * iterators.C:
3520         * lyx_cb.C:
3521         * lyxfind.C:
3522         * lyxfunc.C:
3523         * text.C:
3524         * text2.C:
3525         * text3.C:
3526         * undo.C: adjust
3527
3528 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3529
3530         * PosIterator.[Ch]: replace the stack with a vector, add inset
3531         accesor
3532         * iterators.[C]: adjust
3533
3534 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3537         replaced
3538         * paragraph_funcs.C (readParToken): put the correct id in the
3539         error item, not the id of the top paragraph
3540
3541 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3542
3543         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3544         * bufferview_funcs.C (put_selection_at): use the above
3545
3546 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3549
3550 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3551
3552         * output_linuxdoc.h:
3553         * output_plaintext.h:
3554         * output.h:
3555         * output_docbook.h: add #include statements
3556
3557 2003-11-05  José Matos  <jamatos@lyx.org>
3558
3559         * output_docbook.[Ch]:
3560         * output_latex.[Ch]:
3561         * output_linuxdoc.[Ch]:
3562         * output_plaintext.[Ch]: New files for output formats.
3563         * output.[Ch]: New file for helper functions.
3564
3565         * buffer.[Ch]:
3566         * paragraph_funcs.[Ch]: output functions moved to new files.
3567
3568         * outputparams.h: rename of latexrunparams.h
3569
3570         * LaTeX.[Ch]:
3571         * buffer.[Ch]:
3572         * bufferlist.[Ch]:
3573         * converter.[Ch]:
3574         * exporter.C:
3575         * paragraph.[Ch]:
3576         * paragraph_funcs.[Ch]:
3577         * paragraph_pimpl.[Ch]:
3578         * tabular.[Ch]: rename ascii to plaintext
3579         and LatexRunParams to OutputParams.
3580
3581 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * iterators.[Ch] (text): require bv argument
3584         * undo.C (recordUndo):
3585         * lyxfunc.C (dispatch):
3586         * bufferview_funcs.C (put_selection_at): adjust
3587
3588 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3589
3590         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3591
3592 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3593
3594         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3595         nestings
3596
3597 2003-11-04  André Pönitz  <poenitz@gmx.net>
3598
3599         * cursor.[Ch]: restructure
3600
3601         * BufferView.[Ch]:
3602         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3603
3604         * iterators.[Ch] (asCursor): remove
3605
3606         * lfuns.h: remove LFUN_INSET_EDIT
3607
3608         * lyxfunc.C:
3609         * tabular.C:
3610         * text.C:
3611         * text2.C:
3612         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3613
3614 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3615
3616         * lyxfind.[Ch]: complete overhaul
3617         * BufferView_pimpl.C:
3618         * lyxfunc.C: adjust
3619         * paragraph.[Ch] (insert): add
3620
3621 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3622
3623         * BufferView.[Ch]:
3624         * lyxtext.h:
3625         * text.C: remove dead spellcheck code
3626
3627 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * dispatchresult.h: add a val setter
3630
3631         * cursor.C (dispatch): use a tempvar for data_[i]
3632
3633 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * PosIterator.[Ch]: compile fix
3636
3637 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * text.C (cursorPar): deactivate the cursor cache
3640
3641 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3644
3645 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * text3.C (dispatch): adjust for new DisptchResult semantics.
3648
3649         * lyxfunc.C (dispatch): handle update when return from
3650         Cursor::dispatch, adjust for new DispatchResult semantics.
3651
3652         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3653         DispatchResult(true) mean to not update. Add class functions for
3654         setting dispatched and update, as well as reading.
3655
3656         * cursor.C (dispatch): don't handle update here
3657
3658 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3661         * trans_mgr.C: adjust
3662
3663         * paragraph_funcs.C (readParToken): exception safety
3664
3665         * lyxvc.h: store the vcs pointer in a scoped_ptr
3666         * lyxvc.C: adjust
3667
3668         * lyxsocket.C (serverCallback): exception safety
3669
3670         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3671
3672         * ispell.C (clone): make it return a auto_ptr
3673
3674         * factory.C (createInset): exception safety
3675         (readInset): exception safety
3676
3677         * bufferlist.C (newBuffer): exception safety
3678
3679         * Thesaurus.C (Thesaurus): use initialization for aik_
3680
3681         * MenuBackend.C (expandToc): exception safety.
3682
3683 2003-11-03  André Pönitz  <poenitz@gmx.net>
3684
3685         * buffer.C:
3686         * buffer.h:
3687         * bufferview_funcs.C: remove getInsetFromId()
3688
3689         * lyxcursor.[Ch]:
3690         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3691
3692         * lyxfunc.C:
3693         * text2.C:
3694         * text3.C: adjust
3695
3696 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * PosIterator.C (distance, advance): new
3699         * bufferview_funcs.[Ch] (put_selection_at): new
3700         * iterators.[Ch] (lockPath): new
3701
3702 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3703
3704         * iterators.[Ch] (asPosIterator): added
3705         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3706         * PosIterator.[Ch]: added
3707
3708 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * text3.C:
3711         * lyxfunc.C:
3712         * cursor.C (dispatch):
3713         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3714
3715         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3716         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3717         contructor, add a class function dispatched. Remove operator>=
3718
3719 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3720
3721         * debug.C: only use the default constructor for debugstream
3722         (lyxerr) here.
3723
3724         * main.C (main): include debug.h and setup the lyxerr streambuf
3725         here.
3726
3727 2003-10-31  José Matos  <jamatos@lyx.org>
3728
3729         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3730
3731         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3732         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3733         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3734         * paragraph_pimpl.C (simpleTeXSpecialC):
3735         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3736         add LatexRunParams argument.
3737
3738         * exporter.C (Export): change call accordingly.
3739
3740         * latexrunparams.h: add new member to take care of the other backends.
3741 2003-10-30  José Matos  <jamatos@lyx.org>
3742
3743         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3744         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3745         factorise code for paragraph output.
3746         * buffer.[Ch]:
3747         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3748         move functions.
3749
3750 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * text3.C (dispatch):
3753         * lyxfunc.C (dispatch):
3754         * cursor.C (dispatch):
3755         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3756
3757         * dispatchresult.h: make the dispatch_result_t ctor explicit
3758
3759 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * sgml.[Ch]:
3762         * buffer.C: small refactoring of docbook stuff
3763
3764 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3767         meaning.
3768
3769 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3770
3771         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3772         operator dispatch_result_t, and operators for == != and >=
3773
3774         * cursor.C (dispatch): adjust for operator dispatch_result_t
3775         removal. comment out call to update
3776
3777         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3778
3779 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3780
3781         * text3.C:
3782         * text2.C:
3783         * text.C:
3784         * lyxtext.h:
3785         * lyxfunc.C:
3786         * cursor.C:
3787         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3788         (dispatch):
3789
3790         * dispatchresult.h: new file, DispatchResult broken out of
3791         insets/insetbase.h
3792
3793         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3794
3795 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3796
3797         * text.C (rowBreakPoint): put a hack inside #if 0
3798
3799 2003-10-28  André Pönitz  <poenitz@gmx.net>
3800
3801         * lyxtext.h:
3802         * metricsinfo.C:
3803         * paragraph_funcs.C:
3804         * rowpainter.C:
3805         * text.C:
3806         * text2.C: general cleanup (lots of small stuff)
3807
3808 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * text2.C (cursorEnd): simple fix to the "end key goes to one
3811         before the end on last row" bug
3812
3813 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * text.C (backspace): fix the "zombie characters"
3816
3817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3820
3821 2003-10-27  André Pönitz  <poenitz@gmx.net>
3822
3823         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3824
3825         * factory.C: handle new InsetPagebreak, InsetLine
3826
3827         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3828         and move handling into new InsetPagebreak, InsetLine
3829
3830         * BufferView_pimpl.C:
3831         * LyXAction.C:
3832         * ParagraphParameters.C:
3833         * ParameterStruct.h:
3834         * lyxfunc.C:
3835         * lyxtext.h:
3836         * paragraph.C:
3837         * paragraph.h:
3838         * paragraph_funcs.C:
3839         * paragraph_pimpl.C:
3840         * rowpainter.C:
3841         * text.C:
3842         * text2.C:
3843         * text3.C: adjust
3844
3845 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3846
3847         * text.C:
3848         * lyxrow_funcs.[Ch]:
3849         * Bidi.C:
3850         * paragraph.C:
3851         * lyxtext.h:
3852         * rowpainter.C:
3853         * text2.C:
3854         * text3.C: remove lastPos uses in favour of Row::endpos
3855
3856 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * undo.C (performUndoOrRedo): fix two crashes by setting a
3859         cursor by hand and reordering some calls. Use bv->lockInset instead
3860         of inset->edit because the latter loses cursor information
3861
3862 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3863
3864         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3865         by Martin
3866         (rowBreakPoint): fix width. change point to point + 1.
3867         Add a missing check.
3868
3869 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3870
3871         * MenuBackend.C:
3872         * lyxfunc.C: fix (at least partly) the problems
3873         with the Nav menu and headers inside branch insets
3874         reported by Kayvan
3875
3876 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * paragraph.C (getChar): add strong asserts
3879
3880         * lyxrow_funcs.C (lastPos): remove hideous hack
3881
3882         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3883         (fill): adjust to that (avoid an infinite loop)
3884
3885 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3888
3889 2003-10-23  André Pönitz  <poenitz@gmx.net>
3890
3891         * RowList_fwd.h: change list<> to vector<> to gain speed
3892         after suggestion from Alfredo
3893
3894 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3895
3896         * lyxtext.h: move the bidi stuff from here...
3897         * text.C: and here
3898         * text2.C: and here
3899         * Bidi.[Ch]: ... to here
3900
3901 2003-10-23  André Pönitz  <poenitz@gmx.net>
3902
3903         * lyxtext.h:
3904         * text.C (isLastRow, isFirstRow): new functions
3905
3906         * paragraph.h: new width cache member
3907
3908         * rowpainter.C: replace RowList::iterator with Row & where possible
3909
3910         * lyxfunc.C: replace several view()->text with a single call
3911
3912         * toc.C: fix 'unused' warning
3913
3914 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3917         when woring with stream::pos_type
3918         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3919
3920 2003-10-22  André Pönitz  <poenitz@gmx.net>
3921
3922         * lyxtext.h:
3923         * text.C: use Row & instead of RowList::iterator
3924
3925         * lyxrow.h: rename end() to endpos()
3926
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C: adjust
3930
3931 2003-10-22  Angus Leeming  <leeming@lyx.org>
3932
3933         * buffer.[Ch] (fully_loaded): new member function, returning true
3934         only when the file has been loaded fully.
3935         Used to prevent the premature generation of previews and by the
3936         citation inset to prevent computation of the natbib-style label.
3937
3938         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3939         templates are all set up.
3940
3941         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3942
3943 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3944
3945         * text.C: fixed an "oops" in the "is a bit silly"
3946         bug fix
3947
3948 2003-10-21  André Pönitz  <poenitz@gmx.net>
3949
3950         * FuncStatus.[Ch]: small stuff, whitespace
3951
3952         * lyxfont.[Ch]: operator<<() for debug reasons
3953
3954         * lyxfunc.C:
3955         * lyxrow_funcs.C:
3956         * lyxtext.h: whitespace, spelling
3957
3958         * paragraph.C: naming of variables
3959
3960         * text.C:
3961         * text2.C: small stuff
3962
3963
3964 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3965
3966         * text.C: (1) finish off the inset display() work;
3967         (2) fix the "is a bit silly" bug (accessing char
3968         past end of par).
3969
3970 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3971
3972         * text.C: re-introduce display() for insets, fixing the
3973         various bugs (stretch of line above, math inset
3974         positioning, ...)
3975
3976 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3977
3978         * text.C (rightMargin): remove spurious semicolon
3979
3980         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3981         1415)
3982
3983 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3984
3985         * text3.C: fix one crash due to wrong cursor def
3986
3987 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * vc-backend.C (scanMaster): make the regex static
3990
3991         * LaTeX.C (scanAuxFile): make the regexs static
3992
3993         * text3.C (doInsertInset, dispatch, dispatch):
3994         * text2.C (cursorUp, cursorDown):
3995         * text.C (selectNextWordToSpellcheck):
3996         * BufferView_pimpl.C (dispatch):
3997         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3998
3999 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4000
4001         * lyxsocket.C: include <cerrno>
4002
4003 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * lyxfunc.C (dispatch): remove textcache stuff
4006
4007         * bufferlist.C (release): remove textcache stuff
4008         (closeAll): ditto
4009
4010         * TextCache.C: delete file
4011         * TextCache.h: delete file
4012
4013         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4014
4015         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4016         delete of the bv_->text.
4017         (resizeCurrentBuffer): remove texcache stuff
4018         (workAreaResize): ditto
4019
4020 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4023         action.
4024
4025 2003-10-16  André Pönitz  <poenitz@gmx.net>
4026
4027         * lyxrow.[Ch]:
4028         * paragraph.h:
4029         * rowpainter.C:
4030         * text.C:
4031         * text2.C:
4032         * text3.C: speed up by storing y positions per paragraph plus per-row
4033         offset instead of having a 'full' y position in the row.
4034
4035 2003-10-15  André Pönitz  <poenitz@gmx.net>
4036
4037         * iterators.[Ch]:
4038         * iterators.[Ch]:
4039         * undo.[Ch]: make undo aware of inner insets
4040
4041 2003-10-14  Angus Leeming  <leeming@lyx.org>
4042
4043         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4044         static member functions LyX::ref() and LyX::cref.
4045         (lastfiles): new accessor functions for the new lastfiles_ member var.
4046         (addLyXView, views_): add a new LyXView to the list of views_.
4047         (updateInset): loop over all LyXViews to call their own updateInset
4048         member function, returning a pointer to the Buffer owning the inset.
4049
4050         * BufferView_pimpl.C (loadLyXFile):
4051         * MenuBackend.C (expandLastfiles):
4052         * bufferlist.C (MenuWrite, QuitLyX):
4053         lastfiles is no longer a global variable.
4054         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4055
4056         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4057         static function. Access through LyX::cref().emergencyCleanup().
4058
4059 2003-10-14  André Pönitz  <poenitz@gmx.net>
4060
4061         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4062
4063         * undo.[Ch]: restoring part of 'undo in insets'
4064
4065         * Makefile.am:
4066         * undo_funcs.[Ch]: merge with undo.[Ch]
4067
4068         * tabular.C: small cleansing stuff
4069
4070 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * paragraph_funcs.C (readParToken): report unknown insets as error
4073         boxes. Use the outer paragraph as location (also for unknown
4074         tokens).
4075
4076         * factory.C (readInset): do not abort on reading an unknown inset.
4077         Eat it and return 0.
4078
4079 2003-10-13  Angus Leeming  <leeming@lyx.org>
4080
4081         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4082
4083         * lyxrc.C: displayTranslator is now a function,
4084         declared in GraphicsTypes.h.
4085
4086 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4087
4088         * format.C: new placeholder $$a to pass the socket address.
4089
4090         * bufferlist.[Ch]: new function getBufferFromTmp.
4091
4092         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4093           files in the temporary dir.
4094
4095 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4096
4097         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4098
4099         * Makefile.am: add lyxsocket.[Ch].
4100
4101         * lyx_main.C (error_handler): handle SIGPIPE.
4102
4103 2003-10-13  André Pönitz  <poenitz@gmx.net>
4104
4105         * BufferView_pimpl.C:
4106         * lyxtext.h:
4107         * text.C:
4108         * text2.C:
4109         * text3.C:
4110         * undo_funcs.[Ch]: use paroffset_type instead of
4111           ParagraphList::iterators to prevent multiple conversion
4112           (and get a more robust interface)
4113
4114 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4117         * lyxtext.h: ditto
4118         * text3.C (dispatch): ditto
4119
4120 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4123         move the onlyfile, use onlyfile instead of foundfile in a couple
4124         of places.
4125
4126         * DepTable.C (update): flush the error stream a bit more
4127
4128 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * lyxserver.C (callback): adjust
4131
4132         * lyxfunc.C (getStatus): add a missing brace in commented code
4133         (ensureBufferClean): reindent
4134         (dispatch): delete version taking a string
4135
4136 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * LaTeX.C (deplog): move found file handlig from here...
4139         (handleFoundFile): .. to new function here.
4140         (deplog): make sure to discover several files mentioned on the
4141         same log line.
4142
4143 2003-10-10  André Pönitz  <poenitz@gmx.net>
4144
4145         * lyxfunc.C:
4146         * lyxtext.h:
4147         * tabular.C:
4148         * text.C:
4149         * text2.C:
4150         * text3.C: fix some of the tabular crashes
4151
4152 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4153
4154         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4155
4156         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4157
4158 2003-10-09  André Pönitz  <poenitz@gmx.net>
4159
4160         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4161
4162         * BufferView.C:
4163         * BufferView_pimpl.C:
4164         * bufferview_funcs.C:
4165         * lyx_cb.C:
4166         * lyxcursor.C:
4167         * lyxfind.C:
4168         * lyxfunc.C:
4169         * lyxtext.h:
4170         * text.C:
4171         * text2.C:
4172         * text3.C:
4173         * text_funcs.[Ch]:
4174         * textcursor.[Ch]:
4175         * undo_funcs.C: adjust
4176
4177 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * text2.C (incrementItemDepth): new function, use a backtracking
4180         algorithm to discover the correct item depth.
4181         (resetEnumCounterIfNeeded): new function, use a backtracking
4182         algorithm to discover if counter reset is needed.
4183         (setCounter): use them. Simplify a bit. Add different labels for
4184         different item depths for itemize.
4185
4186         * paragraph.C (Paragraph): remove initialization of enumdepth
4187         (operator=): ditto
4188
4189         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4190         enumerate and itemize. Change the type of itemdepth to signed char.
4191
4192 2003-10-08  André Pönitz  <poenitz@gmx.net>
4193
4194         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4195           thing assignable.
4196         * text.C:
4197         * text2.C: adjust
4198
4199         * tabular.[Ch]: fix crash after 'row-insert'
4200
4201 2003-10-08  Angus Leeming  <leeming@lyx.org>
4202
4203         Fix doxygen warnings.
4204
4205         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4206         Remove CutAndPaste:: prefix from header file declaration.
4207
4208         * LColor.h (fill): remove LColor:: prefix from declaration.
4209
4210         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4211         use lyx::depth_type rather than Paragraph::depth_type so that
4212         header file and .C file match.
4213
4214         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4215
4216         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4217         * aspell.C: \file aspell_local.C -> \file aspell.C
4218         * gettext.C: \file gettext.C -> \file src/gettext.C
4219         * gettext.h: \file gettext.h -> \file src/gettext.h
4220         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4221         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4222         * text.C: \file text.C -> \file src/text.C
4223
4224         * toc.C: move comment so that doxygen is not confused.
4225
4226 2003-10-07  Angus Leeming  <leeming@lyx.org>
4227
4228         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4229
4230 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4231
4232         * aspell.C:
4233         * aspell_local.h: add forgotten std::string's.
4234
4235 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4236
4237         * LaTeXFeatures.C:
4238         * LyXAction.C:
4239         * factory.C:
4240         * lfuns.h:
4241         * lyxfunc.C:
4242         * text3.C: The Box patch. Fancybox support, minipage, parbox
4243
4244 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4245
4246         * CutAndPaste.h:
4247         * DepTable.h:
4248         * FloatList.h:
4249         * LaTeXFeatures.h:
4250         * ParagraphParameters.h:
4251         * TextCache.h:
4252         * Thesaurus.h:
4253         * bufferlist.h:
4254         * exporter.h:
4255         * importer.h:
4256         * lastfiles.h:
4257         * lyxfind.h:
4258         * lyxfont.h:
4259         * lyxlex.h:
4260         * lyxtextclasslist.h:
4261         * messages.h:
4262         * paragraph.h:
4263         * paragraph_pimpl.C:
4264         * textcursor.h: add <string> and other small fixes to make Lars'
4265         std::string patch compile with STLport.
4266
4267 2003-10-06  Angus Leeming  <leeming@lyx.org>
4268
4269         * LColor.h: Add missing #include <string>.
4270
4271 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4272
4273         * All most all file in all subdirs: Make <string> be the prefered
4274         way of getting to std::string, add using declarations.
4275
4276 2003-10-06  André Pönitz  <poenitz@gmx.net>
4277
4278         * metricsinfo.C: initialize LyXFont before changing attribute.
4279         (fixes the 'math in \emph is upright' bug)
4280
4281 2003-10-06  André Pönitz  <poenitz@gmx.net>
4282
4283         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4284
4285 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4286
4287         * graph.C:
4288         * paragraph_pimpl.C: Small fixes to build using STLport
4289
4290 2003-10-02  André Pönitz  <poenitz@gmx.net>
4291
4292         * lyxfunc.C:
4293         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4294
4295 2003-10-01  André Pönitz  <poenitz@gmx.net>
4296
4297         * factory.C: assert early
4298
4299 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4300
4301         * lyx_main.C: remove the global debug object
4302
4303         * debug.h: adjust for new debugstream
4304
4305         * debug.C: adjust for new debugstream and keep the global debug
4306         object here.
4307
4308 2003-09-22  Angus Leeming  <leeming@lyx.org>
4309
4310         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4311         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4312         an incomplete class LyXFont.
4313
4314 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4315
4316         * factory.C: bug fix in branches
4317
4318 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * lyxfunc.C (processKeySym): adjust
4321         (dispatch): adjust
4322         (dispatch): change arg name from ev to func, adjust
4323         (sendDispatchMessage): ditto
4324
4325         * lyx_main.C (defaultKeyBindings): adjust keybindings
4326         (deadKeyBindings): ditto
4327
4328         * kbsequence.C (addkey): return a FuncRequest
4329
4330         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4331
4332         * kbmap.C (bind): take a FuncRequest as arg, adjust
4333         (read): adjust
4334         (lookup): adjust
4335         (defkey): change to take a FuncRequest as arg, adjust
4336         (findbinding): take a FuncRequest as arg, adjust.
4337
4338         * funcrequest.h (operator=): added
4339
4340         * funcrequest.C (FuncRequest): default kb_action changed from
4341         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4342
4343         * buffer.C (dispatch): simplify
4344         (dispatch): adjust to take a FuncRequest as arg, adjust
4345
4346         * boost.C (assertion_failed): change assertion message slightly
4347
4348         * ToolbarBackend.C (read): simplify
4349
4350         * MenuBackend.C (binding): adjust call to findbinding, add a
4351         message if no binding is found.
4352         (read): simplify
4353         (expandToc): correct by adding a empty FuncRequest
4354
4355         * LyXAction.C: include <boost/assert.hpp>
4356         (isPseudoAction): delete function
4357         (LookupFunc): change name to...
4358         (lookupFunc): this. change return type to FuncRequest.
4359         (getActionName): take kb_action as arg, simplify
4360         (funcHasFlag): add an assert, simplify.
4361
4362 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * toc.C (action): return a FuncRequest, simplify
4365
4366         * lyxfunc.C (processKeySym): adjust
4367         (getStatus): delete version that takes an int.
4368         (getStatus): adjust
4369         (dispatch): delete version that takes action as int
4370         (dispatch): adjust
4371         (sendDispatchMessage): simplify and adjust
4372
4373         * funcrequest.C (getArg): take unsigned int as arg
4374
4375         * ToolbarBackend.C (read): adjust
4376         (add): delete version that takes func as a string.
4377         (getIton): take a FuncRequest as arg
4378
4379         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4380         action.
4381
4382         * MenuBackend.C (MenuItem): add a new construct that only takes a
4383         Kind, simplify the constructor use for submenus.
4384         (add): adjust
4385         (expandLastfiles): adjust
4386         (expandDocuments): adjust
4387         (expandFormats): adjust
4388         (expandFloatListInsert): adjust
4389         (expandFloatInsert): adjust
4390         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4391
4392         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4393         Remove class variables lyx_pseudo_map and lyx_arg_map
4394
4395         * LyXAction.C (searchActionArg): delete function
4396         (getPseudoAction): delete function
4397         (retrieveActionArg): delete function
4398         (LookupFunc): make it return kb_action, simplify.
4399         (getActionName): simplify
4400
4401         * factory.C (createInset): fix new bug
4402
4403 2003-09-19  Angus Leeming  <leeming@lyx.org>
4404
4405         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4406         masterFilename_ parameter in the include inset.
4407
4408         * factory.C (createInset): changes due to the changes to InsetInclude.
4409
4410 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4411
4412         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4413
4414 2003-09-18  Angus Leeming  <leeming@lyx.org>
4415
4416         * buffer.C:
4417         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4418         Inset::fillWithBibKeys.
4419         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4420
4421 2003-09-18  Angus Leeming  <leeming@lyx.org>
4422
4423         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4424         variables.
4425         (ctor): pass and store a 'Buffer const &'
4426         (buffer): new member function.
4427
4428         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4429         '*this' to the LaTeXFeatures ctor.
4430
4431 2003-09-18  Angus Leeming  <leeming@lyx.org>
4432
4433         * LColor.h:
4434         * lyxfont.C:
4435         * lyxfont.h:
4436         * lyxtext.h:
4437         * text.C: rename EnumLColor as LColor_color.
4438
4439 2003-09-18  Angus Leeming  <leeming@lyx.org>
4440
4441         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4442         remove #include "insets/insetbase.h" from cursor.h.
4443
4444 2003-09-18  Angus Leeming  <leeming@lyx.org>
4445
4446         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4447         InsetOld_code to remove #include "inset.h".
4448
4449         * iterators.C: add #include "insets/inset.h"
4450
4451 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4452
4453         * BufferView.C: remove more locking stuff that apparently doesn't
4454         do anything sensible.
4455
4456 2003-09-16  André Pönitz  <poenitz@gmx.net>
4457
4458         * paragraph.[Ch]:
4459         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4460           performance boost.
4461
4462 2003-09-16  Angus Leeming  <leeming@lyx.org>
4463
4464         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4465
4466         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4467         arg/return type.
4468
4469         * paragraph.h: remove #include "lyxfont.h". Forward declare
4470         LyXFont_size.
4471
4472 2003-09-16  Angus Leeming  <leeming@lyx.org>
4473
4474         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4475         of support/textutils.h.
4476         (isWord): move the contents of support/textutils.h's IsWordChar here.
4477
4478         * buffer.C:
4479         * lyxfind.C:
4480         * rowpainter.C:
4481         * text.C:
4482         * text2.C: add #include "paragraph.h".
4483
4484         * rowpainter.C:
4485         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4486
4487 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4488
4489         * main.C:
4490         * lyx_main.C:
4491         * lyx_cb.C:
4492         * buffer.C:
4493         * LaTeX.C: use namespace alias for lyx::support::os
4494
4495 2003-09-16  Angus Leeming  <leeming@lyx.org>
4496
4497         * bufferparams.C:
4498         * bufferview_funcs.C:
4499         * factory.C:
4500         * lyxfunc.C:
4501         * paragraph_pimpl.C:
4502         * rowpainter.C:
4503         * text.C: add #include "LColor.h".
4504
4505 2003-09-16  Angus Leeming  <leeming@lyx.org>
4506
4507         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4508         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4509         return LyXFont &.
4510         Store the FontBits::color variable as an int rather than as an
4511         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4512         file.
4513
4514         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4515         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4516         string calls together.
4517
4518         * lyxrc.C: add #include "LColor.h".
4519
4520 2003-09-15  Angus Leeming  <leeming@lyx.org>
4521
4522         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4523         a cow_ptr.
4524
4525 2003-09-15  Angus Leeming  <leeming@lyx.org>
4526
4527         * LColor.h: add an EnumLColor wrapper for LColor::color.
4528
4529         * lyxfont.[Ch] (color, setColor, realColor):
4530         * lyxtext.h, text.C (backgroundColor):
4531         pass EnumLColor args to/from the functions, rather than LColor::color
4532         ones.
4533
4534         * lyxfont.h:
4535         * lyxtext.h: forward declare EnumLColor.
4536
4537         * lyx_main.C: add #include "LColor.h".
4538
4539 2003-09-15  Angus Leeming  <leeming@lyx.org>
4540
4541         * .cvsignore: add lyx-gtk.
4542
4543 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * Chktex.C
4546         * LaTeX.C
4547         * LaTeXFeatures.C
4548         * ParagraphParameters.C
4549         * Spacing.C
4550         * buffer.C
4551         * bufferparams.C
4552         * bufferview_funcs.C
4553         * chset.C
4554         * counters.C
4555         * funcrequest.C
4556         * lyxfont.C
4557         * lyxgluelength.C
4558         * lyxlength.C
4559         * paragraph.C
4560         * paragraph_funcs.C
4561         * text3.C
4562         * vc-backend.C: remove usage of STRCONV
4563
4564 2003-09-15  Angus Leeming  <leeming@lyx.org>
4565
4566         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4567         explicitly define the color passed to the painter.
4568
4569 2003-09-15  Angus Leeming  <leeming@lyx.org>
4570
4571         * bufferparams.C (BufferParams): reorder member initializers to avoid
4572         compiler warning.
4573
4574 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4577         * text.C (updateRowPositions): remove an unusual nop
4578
4579 2003-09-12  André Pönitz  <poenitz@gmx.net>
4580
4581         * BufferView_pimpl.C:
4582         * Bullet.C:
4583         * layout.h:
4584         * lyxfunc.C:
4585         * lyxlayout.[Ch]:
4586         * lyxtextclass.C:
4587         * rowpainter.C:
4588         * text.C:
4589         * text2.C:
4590         * Counters.[Ch]: finish the 'automatic counters' job
4591
4592 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4593
4594         * aspell.C: include <boost/assert.cpp> (compile fix)
4595
4596 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4597
4598         * boost.C (assertion_failed): use lyx::support::abort instead of
4599         assert.
4600
4601 2003-09-10  Angus Leeming  <leeming@lyx.org>
4602
4603         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4604         with their _fwd progeny.
4605
4606 2003-09-09  Angus Leeming  <leeming@lyx.org>
4607
4608         134 files throughtout the source tree: replace 'using namespace abc;'
4609         directives with the appropriate 'using abc::xyz;' declarations.
4610
4611 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4612
4613         * boost.C (emergencyCleanup): moved here from LAssert.c
4614         (assertion_failed): new function, called by BOOST_ASSERT
4615
4616         * several files: change Assert to BOOST_ASSERT
4617
4618 2003-09-09  Angus Leeming  <leeming@lyx.org>
4619
4620         * buffer.[Ch]: Add an Impl class and move Buffer's member
4621         variables into it. As a result move several header files out of
4622         buffer.h.
4623
4624         Add header files to lots of .C files all over the tree as a result.
4625
4626 2003-09-09  Angus Leeming  <leeming@lyx.org>
4627
4628         * buffer.[Ch]: make Buffer's member variables private. Add
4629         accessor functions.
4630
4631         Lots of changes all over the tree as a result.
4632
4633 2003-09-08  Angus Leeming  <leeming@lyx.org>
4634
4635         * graph.C: #include <config.h>.
4636
4637 2003-09-08  Angus Leeming  <leeming@lyx.org>
4638
4639         * BranchList.C:
4640         * BufferView.C:
4641         * BufferView_pimpl.C:
4642         * CutAndPaste.C:
4643         * DepTable.C:
4644         * LaTeX.C:
4645         * LaTeXFeatures.C:
4646         * LyXAction.C:
4647         * MenuBackend.C:
4648         * TextCache.C:
4649         * aspell.C:
4650         * buffer.C:
4651         * bufferlist.C:
4652         * changes.C:
4653         * chset.C:
4654         * converter.C:
4655         * counters.C:
4656         * debug.C:
4657         * graph.C:
4658         * ispell.C:
4659         * lyx_cb.C:
4660         * lyxfind.C:
4661         * lyxfunc.C:
4662         * lyxlex_pimpl.C:
4663         * lyxrc.C:
4664         * lyxrow.C:
4665         * paragraph.C:
4666         * rowpainter.C:
4667         * texrow.C:
4668         * text.C:
4669         * text2.C:
4670         * toc.C: remove redundant using directives.
4671
4672 2003-09-07  Angus Leeming  <leeming@lyx.org>
4673
4674         * LaTeXFeatures.h: remove #include "support/types.h".
4675         * ToolbarBackend.h: remove #include <algorithm>.
4676         * changes.h: remove #include <ctime>.
4677         * debug.h: remove #include <iosfwd>.
4678         * graph.h: remove #include "support/std_string.h".
4679         * lyx_main.h: remove #include <csignal>.
4680         * lyxlex_pimpl.h: remove #include <fstream>.
4681         * sgml.h: remove #include <algorithm>, <utility>.
4682         * toc.h: remove #include "support/std_ostream.h".
4683         Add #include <iosfwd>.
4684
4685 2003-09-07  Angus Leeming  <leeming@lyx.org>
4686
4687         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4688
4689         * converter.h: forward declare LatexRunParams.
4690         * encoding.h: remove #include "lyxrc.h".
4691         * lyxtext.h: remove #include "LColor.h".
4692         * lyxtextclass.h: remove #include "support/types.h".
4693         * trans.h: remove #include "tex-accent.h".
4694         * trans_mgr.h: remove #include "tex-accent.h".
4695         * insets/inset.h: remove #include "support/types.h", <vector>.
4696         * insets/insetcollapsable.h: remove #include "LColor.h".
4697         * insets/insetinclude.h: remove #include "dimension.h".
4698         * insets/insetlatexaccent.h: remove #include "dimension.h".
4699         * insets/insetoptarg.h:: remove #include "insettext.h".
4700         * insets/insettext.h: remove #include "dimension.h",
4701         <boost/shared_ptr.hpp>
4702
4703         * insets/renderers.h: add #include "dimension.h".
4704         * insets/updatableinset.h: add #include "support/types.h".
4705
4706         * many .C files: Associated changes.
4707
4708 2003-09-06  Angus Leeming  <leeming@lyx.org>
4709
4710         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4711         one, inside testInvariant.
4712
4713         * PrinterParams.C: new file.
4714         * PrinterParams.[Ch]: move the function bodies out of line.
4715
4716 2003-09-06  Angus Leeming  <leeming@lyx.org>
4717
4718         * ParagraphParameters.h: forward declare ParameterStruct rather than
4719         including its header file.
4720         (depth): moved out-of-line.
4721
4722 2003-09-06  Angus Leeming  <leeming@lyx.org>
4723
4724         * BufferView_pimpl.h:
4725         * kbmap.h:
4726         * kbsequence.h:
4727         * lyxfunc.h: forward declare LyXKeySym rather than
4728         #include "frontends/LyXKeySym.h".
4729
4730         * BufferView_pimpl.C:
4731         * kbmap.C:
4732         * kbsequence.C:
4733         * lyxfunc.C: associated changes.
4734
4735 2003-09-06  Angus Leeming  <leeming@lyx.org>
4736
4737         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4738         As a result, can remove the #include "insets/inset.h" from BufferView.h
4739
4740 2003-09-06  Angus Leeming  <leeming@lyx.org>
4741
4742         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4743         As a result, can remove the #include "insets/inset.h" from BufferView.h
4744
4745 2003-09-06  Angus Leeming  <leeming@lyx.org>
4746
4747         * buffer_funcs.C:
4748         * buffer.h:
4749         * bufferlist.C:
4750         * BufferView.C:
4751         * bufferview_funcs.C:
4752         * BufferView_pimpl.C:
4753         * CutAndPaste.C:
4754         * lyx_cb.C:
4755         * lyxfunc.C:
4756         * paragraph.h:
4757         * ParagraphParameters.C:
4758         * tabular.C:
4759         * text3.C:
4760         * toc.C:
4761         * undo_funcs.C:
4762         * frontends/controllers/ControlDocument.C:
4763         * insets/insetcaption.C: rearrange the #includes into some sort of
4764         coherent order.
4765
4766         * buffer.h: remove #includes ErrorList.h, undo.h
4767
4768 2003-09-06  Angus Leeming  <leeming@lyx.org>
4769
4770         * support/types.h: add a 'depth_type' typedef, used to store the
4771         nesting depth of a paragraph.
4772
4773         * paragraph.h:
4774         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4775         defining explicitly.
4776
4777         * buffer.h:
4778         * paragraph_funcs.h:
4779         * ParagraphParameters.h:
4780         * sgml.h: use lyx::depth_type rather than Paragraph or
4781         ParameterStruct's depth_type.
4782
4783         * buffer.h
4784         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4785
4786         * BufferView.C:
4787         * BufferView_pimpl.C:
4788         * CutAndPaste.C:
4789         * ParagraphParameters.C:
4790         * buffer_funcs.C:
4791         * bufferlist.C:
4792         * bufferview_funcs.C:
4793         * lyx_cb.C:
4794         * lyxfunc.C:
4795         * tabular.C:
4796         * text3.C:
4797         * toc.C:
4798         * undo_funcs.C:
4799         * frontends/LyXView.C:
4800         * frontends/controllers/ControlDocument.C:
4801         * frontends/controllers/ControlErrorList.C:
4802         * insets/insetbibitem.C:
4803         * insets/insetbranch.C:
4804         * insets/insetcaption.C:
4805         * insets/insetcollapsable.C:
4806         * insets/insetenv.C:
4807         * insets/insetert.C:
4808         * insets/insetfloat.C:
4809         * insets/insetfoot.C:
4810         * insets/insetfootlike.C:
4811         * insets/insetnewline.C:
4812         * insets/insetquotes.C:
4813         * insets/insettabular.C:
4814         * insets/insettext.C:
4815         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4816
4817         * frontends/controllers/ControlChanges.C: #include "changes.h".
4818
4819 2003-09-06  Angus Leeming  <leeming@lyx.org>
4820
4821         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4822         than #including paragraph.h.
4823
4824         * ParagraphList.h:
4825         * RowList.h: deleted. Superfluous.
4826
4827         * CutAndPaste.h:
4828         * iterators.h:
4829         * lyxcursor.h:
4830         * lyxtext.h:
4831         * text_funcs.h:
4832         * undo.h:
4833         * undo_funcs.h:
4834         * insets/inset.h:
4835         * insets/insettext.h: use ParagraphList_fwd.h rather than
4836         ParagraphList.h.
4837
4838         * paragraph.h: don't forward declare ParagraphList.
4839
4840         * buffer.h:
4841         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4842         rather than ParagraphList.h. paragraph.h is still needed for the
4843         Paragraph::depth_type parameters.
4844
4845         * textcursor.h: enable it to compile stand-alone in light of the
4846         above changes.
4847
4848         * bufferview_funcs.C:
4849         * iterators.C:
4850         * lyxfunc.C:
4851         * lyxrow_funcs.C:
4852         * paragraph.C:
4853         * rowpainter.C:
4854         * text.C:
4855         * text2.C:
4856         * text3.C:
4857         * text_funcs.C:
4858         * textcursor.C:
4859         * undo.C:
4860         * frontends/controllers/ControlParagraph.C:
4861         * frontends/controllers/ControlTabular.C:
4862         * insets/insetmarginal.C:
4863         * insets/insetminipage.C:
4864         * insets/insetnote.C:
4865         * insets/insetoptarg.C: add header files needed to compile again.
4866
4867 2003-09-06  Angus Leeming  <leeming@lyx.org>
4868
4869         * RowList_fwd.h: new file, forward-declaring Row rather than
4870         #including lyxrow.h.
4871
4872         * lyxrow_funcs.h:
4873         * lyxtext.h:
4874         * paragraph.h:
4875         * insets/insettext.h: use it instead of RowList.h
4876
4877         * bufferview_funcs.C:
4878         * lyxfunc.C:
4879         * lyxrow_funcs.C:
4880         * paragraph.C:
4881         * rowpainter.C:
4882         * text.C:
4883         * text2.C:
4884         * text3.C: #include "RowList.h".
4885
4886 2003-09-05  Angus Leeming  <leeming@lyx.org>
4887
4888         * factory.C (createInset):
4889         * vspace.C (c-tor): replace sscanf call with an istringstream.
4890         * ispell.C: re-add missing HP/UX headers.
4891         * lyxserver.C: re-add missing  os2 headers.
4892
4893 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4894
4895         * BranchList.C:
4896         * graph.C:
4897         * ispell.C:
4898         * lastfiles.C:
4899         * lyx_cb.C:
4900         * lyxserver.C:
4901         * texrow.C:
4902         * text3.C: re-add missing system headers, needed for 2.95.2.
4903
4904 2003-09-05  Angus Leeming  <leeming@lyx.org>
4905
4906         Changes most place everywhere due to the removal of using directives
4907         from support/std_sstream.h.
4908
4909 2003-09-05  Angus Leeming  <leeming@lyx.org>
4910
4911         Replace LString.h with support/std_string.h,
4912         Lsstream.h with support/std_sstream.h,
4913         support/LIstream.h with support/std_istream.h,
4914         support/LOstream.h with support/std_ostream.h.
4915
4916         Changes resulting throughout the tree.
4917
4918 2003-09-05  Angus Leeming  <leeming@lyx.org>
4919
4920         * sgml.h: ensure that the header file can be compiled stand-alone.
4921         * *.C: strip out redundant #includes. (320 in total.)
4922
4923 2003-09-04  Angus Leeming  <leeming@lyx.org>
4924
4925         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4926         here (from getPackages).
4927
4928         * debug.[Ch]: add a new EXTERNAL tag.
4929
4930 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4931
4932         * text2.C (cursorEnd): simplify
4933         (setCursor): adjust
4934         (getColumnNearX): adjust
4935
4936         * text.C (computeBidiTables): adjust
4937         (fill): adjust
4938
4939         * rowpainter.C (paintChars): adjust
4940         (paintSelection): adjust
4941         (paintChangeBar): adjust
4942         (paintText): adjust
4943
4944         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4945         lastPos instead.
4946         (numberOfSeparators): adjust
4947
4948 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4949
4950         * LyXAction.C:
4951         * box.[Ch]:
4952         * lfuns.h:
4953         * lyxfunc.C:
4954         * text3.C: Restricts the mouse click functionality
4955         of insets like bibtex, include, toc and floatlist to the visible
4956         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4957         up the dialogs. Cursor has to be in front of the inset (i.e.
4958         start of row) for this to function.
4959
4960 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4961
4962         * bufferview_funcs.C (currentState): output row information
4963
4964 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4965
4966         * bufferview_funcs.C (currentState): output paragraph position
4967
4968 2003-09-04  Angus Leeming  <leeming@lyx.org>
4969
4970         * FloatList.h: move out #include "Floating.h".
4971         * LaTeX.h: move out #include "DepTable.h".
4972         * LyXAction.h: move out #include "funcrequest.h".
4973         * buffer.h: move out #include "author.h", "iterators.h".
4974         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4975         * lyx_main.h: move out #include "errorlist.h".
4976         * lyxfunc.h: move out #include "FuncStatus.h".
4977         * lyxtext: move out #include "lyxcursor.h".
4978         * paragraph_pimpl.h: move out #include "counters.h".
4979
4980 2003-09-03  Angus Leeming  <leeming@lyx.org>
4981
4982         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4983         preamble_snippets list, enabling us to add snippets to the preamble
4984         only if the snippet was not there already.
4985
4986 2003-09-04  Angus Leeming  <leeming@lyx.org>
4987
4988         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4989
4990 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4991
4992         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4993         update
4994
4995 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4996
4997         * BranchList.C: point fix, earlier forgotten
4998
4999 2003-09-02  Angus Leeming  <leeming@lyx.org>
5000
5001         * box.C (contains): renamed from 'contained' after a fantastic
5002         amount of hot air.
5003
5004 2003-09-02  John Levon  <levon@movementarian.org>
5005
5006         * BufferView.C:
5007         * lyxcursor.h:
5008         * lyxcursor.C:
5009         * lyxfunc.C:
5010         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5011
5012 2003-09-02  John Levon  <levon@movementarian.org>
5013
5014         * text2.C: simplification of cursorEnd(), including partial
5015         fix for bug 1376
5016
5017 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * buffer.C (readFile): add a space
5020
5021 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5024
5025 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5026
5027         * buffer.C (readFile): new function, take a filename and a
5028         ParagraphList::iterator
5029         (readFile): adjust
5030         (readFile): adjust, make it private. don't use setStream, make
5031         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5032         always contain the filename.
5033
5034         * BufferView.C (insertLyXFile): simplify and make it work for
5035         gzipped files.
5036
5037 2003-08-30  John Levon  <levon@movementarian.org>
5038
5039         * Makefile.am: fix dist (from Kayvan)
5040
5041 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * most files: change to use const Buffer refs
5044
5045 2003-08-27  André Pönitz  <poenitz@gmx.net>
5046
5047         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5048         on top of ownerPar().
5049
5050 2003-08-27  John Levon  <levon@movementarian.org>
5051
5052         * funcrequest.C: properly initialise POD members
5053
5054 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * lyxtext.h (top_y): move top_y from here
5057         * text.C:
5058         * text2.C:
5059         * text3.C:
5060         * BufferView.[Ch]:
5061         * BufferView_pimpl.[Ch]: to here
5062         * frontends/screen.C:
5063         * insets/insettabular.C:
5064         * insets/insettext.C: adjust
5065         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5066
5067 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * BufferView.[Ch]:
5070         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5071
5072 2003-08-26  André Pönitz  <poenitz@gmx.net>
5073
5074         * paragraph_func.[Ch] (outerPar): new function
5075
5076         * paragraph.C:
5077         * paragraph_funcs.C:
5078         * paragraph_funcs.h:
5079         * paragraph_pimpl.C:
5080         * text2.C: remove Inset::par_owner
5081
5082 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5083
5084         * lyxrow_funcs.C:
5085         * lyxtext.h:
5086         * text.C:
5087         * text2.C: eliminates the needFullRow/display() stuff
5088         altogether, putting the logic in metrics/draw in the insets.
5089
5090 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text2.C (redoParagraphInternal, redoParagraphs):
5093         * text.C (redoParagraph): add a call to updateRowPositions at the
5094         end of each 'metrics-like' call. Remove all others.
5095         (getRow): remove the 'y-computing' version.
5096         (getRowNearY): do not compute nor return the real y. Solve the
5097         'y < 0' problem and simplify.
5098
5099 2003-08-22  Angus Leeming  <leeming@lyx.org>
5100
5101         * *.[Ch]: clean-up of licence and author blurbs.
5102         Also move config.h out of a few .h files and into a few .C files.
5103
5104 2003-08-22  André Pönitz  <poenitz@gmx.net>
5105
5106         * lyxrow.[Ch]: add x_ and *fill_ members
5107
5108         * lyxtext.h:
5109         * text.C:
5110         * rowpainter.C:
5111         * text2.C: adjust/remove prepareToPrint() calls
5112
5113 2003-08-22  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxrow.[Ch]: add  end_ member
5116
5117         * lyxrow_funcs.C: use LyXRow::end_
5118
5119         * lyxtext.h (singleWidth): add LyXFont parameter
5120
5121         * rowpainter.C:
5122         * text2.C: adjust LyXText::singleWidth() calls
5123
5124         * text.C (redoParagraph): simplify row breaking logic
5125
5126
5127 2003-08-19  André Pönitz  <poenitz@gmx.net>
5128
5129         * funcrequest.C: initialize button_ member
5130
5131         * text3.C:
5132         * rowpainter.[Ch]: interface consolidation
5133
5134 2003-08-18  André Pönitz  <poenitz@gmx.net>
5135
5136         * BufferView.C:
5137         * BufferView_pimpl.C:
5138         * lyxfind.C:
5139         * paragraph_funcs.C:
5140         * rowpainter.C:
5141         * text3.C: remove LyXScreen::draw() and fitCursor calls
5142
5143         * BranchList.h: remove spurious semicolons
5144
5145         * MenuBackend.C: fix branchlist related crash
5146
5147 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5148
5149         * BranchList.[Ch]:
5150         * InsetList.[Ch]:
5151         * LColor.[Ch]:
5152         * LyXAction.C:
5153         * Makefile.am:
5154         * MenuBackend.[Ch]:
5155         * bufferparams.[Ch]:
5156         * factory.C:
5157         * lfuns.h:
5158         * lyxfunc.C:
5159         * text3.C: implements the 'branch inset'
5160         idea. This allows the output of various versions of a document
5161         from a single source version, selectively outputing or suppressing
5162         output of parts of the text.
5163         This implementation contains a 'branch list editor' in a separate
5164         tab of the document settings dialog. Branches are user definable
5165         and have a "display colour" to distinguish them on-screen.
5166
5167         ColorHandler was somewhat cleaned up.
5168         (1) make possible a dynamically growing LColor list by allowing
5169         the graphic context cache to grow along (vector);
5170         (2) eliminate an IMHO unnecessary step in colour allocation.
5171
5172 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5173
5174         * BufferView_pimpl.C: compile fix
5175
5176 2003-08-15  André Pönitz  <poenitz@gmx.net>
5177
5178         * rowpainter.C: remove extra metrics calls
5179
5180         * lyxtext.h: merge the two constructors into a single one,
5181           pass reference to owner's par list
5182
5183         * BufferView_pimpl.C:
5184         * text.C:
5185         * text2.C: adjust
5186
5187 2003-08-15  André Pönitz  <poenitz@gmx.net>
5188
5189         * lyxrow_funcs.[Ch]:
5190         * lyxtext.h:
5191         * paragraph.h:
5192         * paragraph_funcs.C:
5193         * rowpainter.C:
5194         * text.C:
5195         * text2.C:
5196         * text3.C:
5197         * text_funcs.C: split LyXText::rowlist_ into individual
5198         Paragraph::rows_ chunks
5199
5200         * BufferView.[Ch]:
5201         * BufferView_pimpl.[Ch]:
5202         * lyxfind.C:
5203         * lyxtext.h:
5204         * text3.C: remove toggleSelection()
5205
5206 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5207
5208         * bufferlist.C: beautify two alerts (shorter text of buttons)
5209         * buffer.C: Remove redundant ' ' from message
5210         * tabular.h:
5211         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5212         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5213         rename VALIGN_CENTER to VALIGN_MIDDLE
5214
5215 2003-08-11  André Pönitz  <poenitz@gmx.net>
5216
5217         * lyxtext.h (getPar):
5218         * text.C: new function
5219
5220 2003-08-11  André Pönitz  <poenitz@gmx.net>
5221
5222         * Makefile.am:
5223         * tracer.[Ch]: remove unneeded files
5224
5225         * InsetList.[Ch]: remove resizeInsetsLyXText()
5226
5227         * lyxtext.h:
5228         * text.C:
5229         * text2.C:
5230         * text3.C: merge insertParagraphs() and appendParagraph()
5231         remove breakAgain(), update()
5232
5233         * BufferView_pimpl.[Ch]:
5234         * bufferview_funcs.[Ch]:
5235         * lyxfunc.C:
5236         * paragraph.[Ch]:
5237         * rowpainter.C:
5238         * tabular.C: adjust after text & InsetList changes.
5239
5240 2003-08-08  André Pönitz  <poenitz@gmx.net>
5241
5242         * text.C (insertChar, backspace): replace rowlist fiddling
5243         with rebreak of full par
5244
5245         * lyxtext.h:
5246         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5247         checkParagraph, updateInset): removed
5248
5249 2003-08-07  André Pönitz  <poenitz@gmx.net>
5250
5251         * paragraph.C:
5252         * text3.C: merge some LFUN handlers, remove dead code
5253
5254 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5255
5256         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5257
5258 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * text2.C (DEPM): fix part of bug 1255 and 1256
5261
5262 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5263
5264         * BufferView_pimpl.C (workAreaDispatch): change to use
5265         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5266         that are no mouse related.
5267
5268 2003-08-05  André Pönitz  <poenitz@gmx.net>
5269
5270         * BufferView.[Ch]:
5271         * BufferView_pimpl.[Ch]:
5272         * bufferview_funcs.C:
5273         * text2.C:
5274         * text3.C: rip out "deep update"
5275
5276         * textcursor.[Ch] (last_sel_cursor): remove unused member
5277
5278 2003-08-04  André Pönitz  <poenitz@gmx.net>
5279
5280         * BufferView.[Ch]:
5281         * BufferView_pimpl.[Ch]:
5282         * ParagraphParameters.C:
5283         * bufferview_funcs.C:
5284         * lyx_cb.C:
5285         * lyxfind.C:
5286         * lyxfunc.C:
5287         * text.C:
5288         * text2.C:
5289         * text3.C: replace "complicated" BufferView::update(...) calls with
5290         simpler ones.
5291
5292         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5293
5294 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5295
5296         * Makefile.am (lyx_SOURCES): add paper.h
5297
5298 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5299
5300         * Makefile.am: move things around so that both lyx-qt and
5301         lyx-xforms can be built (according to --with-frontend). Then lyx
5302         is a symbolic link to lyx-[firstfrontend]
5303
5304 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5305
5306         * Always use std::endl with lyxerr
5307
5308 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5309
5310         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5311
5312 2003-08-01  André Pönitz  <poenitz@gmx.net>
5313
5314         * BufferView.[Ch]:
5315         * BufferView_pimpl.[Ch]:
5316         * lyxfunc.C:
5317         * text3.C: merge BufferView::repaint() and BufferView::update()
5318
5319 2003-08-01  José Matos  <jamatos@lyx.org>
5320
5321         * buffer.[Ch]: file_format is no longer a buffer data element.
5322
5323 2003-08-01  André Pönitz  <poenitz@gmx.net>
5324
5325         * BufferView.C:
5326         * lyxtext.h:
5327         * text.C:
5328         * text2.C: make redoParagraph more independent of current cursor
5329
5330         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5331         * text.C:
5332         * text2.C: remove unneeded members
5333
5334 2003-07-30  André Pönitz  <poenitz@gmx.net>
5335
5336         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5337
5338         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5339           create a single function...
5340
5341         * paragraph_funcs.C (moveItem): ... here.
5342
5343         * text.C:
5344           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5345
5346 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5347
5348         * LColor.[Ch]: Add comment and greyedout logical colors.
5349
5350 2003-07-30  André Pönitz  <poenitz@gmx.net>
5351
5352         * tabular.C: don't use Assert too heavily. This crashes where it
5353           shouldn't
5354
5355 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5358         is disabled (bug 1232)
5359
5360 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5361
5362         * factory.C: limited 'arg' scope
5363
5364 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5365
5366         * factory.C: fixed Note submenu issues
5367
5368 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5369
5370         * factory.C: submenu for Note/Comment/Greyedout
5371
5372 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5373
5374         * lyx_main.C (LyX):
5375         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5376
5377 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5378
5379         * LaTeXFeatures.C:
5380         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5381         greyedout. Patch provided by Jürgen Spitzmüller.
5382
5383 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5384
5385         * kbmap.C (read): fix error message when reading bind files
5386
5387 2003-07-29  Angus Leeming  <leeming@lyx.org>
5388
5389         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5390         certainly does not do what it purports to do. I am doing it, and
5391         us, a favour by killing it.
5392
5393 2003-07-28  José Matos  <jamatos@lyx.org>
5394
5395         * buffer.C (readBody, do_writeFile):
5396         * paragraph.C(readParagraph): \end_document replaces \the_end.
5397
5398 2003-07-29  André Pönitz  <poenitz@gmx.net>
5399
5400         * BufferView.[Ch]:
5401         * BufferView_pimpl.[Ch]:
5402         * lyxfunc.C:
5403         * text2.C:
5404         * text3.C:
5405         * textcursor.[Ch]: remove toggleToggle & Co
5406
5407 2003-07-28  José Matos  <jamatos@fep.up.pt>
5408
5409         * buffer.C (readParagraph):
5410         * params_func (readParToken, readParagraph):
5411         * paragraph.C (write): \layout -> \begin_layout.
5412
5413 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * lyxlex_pimpl.C (setFile): clean up slightly.
5416
5417         * bufferparams.h: add compressed var
5418
5419         * buffer_funcs.C (readFile): adjust for LyXLex change
5420         (newFile): ditto + simplify
5421
5422         * buffer.C (writeFile): handle writing of compressed files
5423
5424         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5425         Check if the file is compressed and set a bufferparm if so.
5426
5427         * Makefile.am (lyx_LDADD): remove explicit -lz
5428
5429 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5430
5431         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5432         makeDocBookFile): put the real LyX version in the first line of
5433         the file
5434
5435         * version.h:
5436         * version.C.in: remove lyx_docversion
5437
5438         * tabular.C (write_attribute): add a template-based version to
5439         write enums properly
5440
5441 2003-07-28  André Pönitz  <poenitz@gmx.net>
5442
5443         * lyxtext.h:
5444         * text.C:
5445         * text2.C:
5446         * text3.C: use doubles again for x-coordinates. They are needed.
5447
5448 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * messages.C (getLocaleDir): use lyx_localedir()
5451
5452         * lyxlex_pimpl.C (setFile): compress stuff
5453
5454         * buffer.C (writeFile): add some compression stuff
5455         (do_writeFile): new func, dont call expliti close... will this
5456         breake anything?
5457
5458         * Makefile.am (lyx_LDADD): add -lz
5459
5460 2003-07-28  José Matos  <jamatos@fep.up.pt>
5461
5462         * buffer.C: increment file format.
5463         * paragraph_funcs (readParagraph, readParToken):
5464         * paragraph.C (readParagraph): add \end_layout.
5465
5466 2003-07-27  Angus Leeming  <leeming@lyx.org>
5467
5468         * Makefile.am: remove special casing for configure-time setting of
5469         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5470
5471         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5472         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5473
5474 2003-07-26  André Pönitz  <poenitz@gmx.net>
5475
5476         * paragraph_func.[Ch]:
5477         * paragraph.C (realizeFont): inline it whereever it is used
5478
5479         * rowpainter.C:
5480         * text.C:
5481         * text2.C:
5482         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5483
5484
5485 2003-07-26  André Pönitz  <poenitz@gmx.net>
5486
5487         *       lyxtext.h:
5488         * text.C:
5489         * text2.C: get rid of LyXText::need_break_row
5490
5491 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * toc.[Ch]: put namespace toc inside namespace lyx
5494
5495         * MenuBackend.C (expandToc2): adjust for lyx::toc
5496         (expandToc): ditto
5497
5498         * lyxfunc.C (dispatch): adjust for lyx::find
5499
5500         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5501         lyx::find instead. Reorganize a bit.
5502         (LyXReplace): rename to replace
5503         (LyXFind): rename to find
5504
5505         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5506         (dispatch): ditto
5507
5508 2003-07-26  André Pönitz  <poenitz@gmx.net>
5509
5510         * text.C (setHeightOfRow): restrict scope of temporary variable
5511
5512         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5513           code (never has been used?)
5514
5515 2003-07-27  Asger Alstrup  <alstrup@local>
5516
5517         * text.C (fill): Optimise algorithm to exploit that we can reuse
5518         the LyXFont for many characters.
5519         (setHeightOfRow): Same thing.
5520         (rowBreakPoint): Same thing.
5521
5522 2003-07-26  Asger Alstrup  <alstrup@local>
5523
5524         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5525
5526         * text.C (singleWidth): Spurious font copying in hot-spot
5527         singleWidth avoided. Reorder tests for arabic for efficiency.
5528
5529         * text.C (fill): handle empty paragraphs better.
5530
5531 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5532
5533         * ispell.C:
5534         * encoding.h: add includes
5535
5536         * lyxrc.C: remove reading of bind files
5537
5538         * lyx_main.C (init): setup bindings and menus only if we have a
5539         gui.
5540
5541         * kbmap.C (read): new method. Do the actual reading of bind
5542         files.
5543
5544         * converter.C (dvipdfm_options):
5545         * bufferparams.C:
5546         * lyxrc.C (read):
5547         (output): adapt PAPER_* enums.
5548
5549         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5550
5551         * bufferparams.h: remove paper-related enums from there
5552
5553         * paper.h: New file. A trivial header file to hold paper-related
5554         enums. It should later expand to contain many paper-related
5555         horrors access.
5556
5557         * lyxrc.C: declare extern displayTranslator
5558
5559 2003-07-27  José Matos  <jamatos@fep.up.pt>
5560
5561         * tabular.[Ch] (linuxdoc): add support for tables and figures
5562         (linuxdoc).
5563
5564 2003-07-27  José Matos  <jamatos@fep.up.pt>
5565
5566         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5567         consistency in both functions.
5568         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5569
5570 2003-07-26  Asger Alstrup  <alstrup@local>
5571
5572         * rowpainter.C (paintRows): Change algorithm to work directly on
5573         the insets rather than asking every character in the document
5574         whether its an inset.
5575
5576 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5577
5578         * buffer.C (openFileWrite): factorize some code
5579
5580 2003-07-26  Angus Leeming  <leeming@lyx.org>
5581
5582         * lyx_cb.C:
5583         * lyx_main.[Ch]: replace occurances of system_tempdir with
5584         os::getTmpDir().
5585
5586 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * rename Inset to InsetOld
5589
5590 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5591
5592         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5593         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5594         which I think is a bit clearer. EDIT is gone, since it was
5595         premature optimisation, and broken for mathed anyway.
5596         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5597         with cursor positioning in insets as well (math insets still do not
5598         work, but that's a different story anyway.) It mysteriously
5599         crashes sometimes with undo in the first paragraph, but I'm fairly
5600         confident that this is a compiler bug.
5601
5602 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * paragraph.C (Paragraph): adjust for new clone return type
5605         (operator==): ditto
5606         (copyIntoMinibuffer): ditto
5607
5608 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5609
5610         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5611         by not having a special case, and always doing a full rebreak of
5612         the document after undo.
5613
5614 2003-07-23  Angus Leeming  <leeming@lyx.org>
5615
5616         * factory.C (createInset): InsetExternal::setParams now takes a
5617         Buffer const * arg.
5618
5619 2003-07-23  Angus Leeming  <leeming@lyx.org>
5620
5621         * factory.C (createInset): changed interface to the external and
5622         graphics mailers' string2params functions.
5623
5624 2003-07-23  Angus Leeming  <leeming@lyx.org>
5625
5626         * factory.C (createInset): pass a
5627         Buffer const * parameter to InsetExternalMailer's string2params.
5628
5629 2003-07-22  John Levon  <levon@movementarian.org>
5630
5631         * Thesaurus.h: include the right aiksaurus header
5632
5633 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5634
5635         * MenuBackend.C (expand): check menu shortcuts unconditionally
5636
5637 2003-07-21  Angus Leeming  <leeming@lyx.org>
5638
5639         * factory.C (createInset): pass a
5640         buffer_path parameter to InsetGraphicsMailer's string2params.
5641
5642 2003-07-21  Angus Leeming  <leeming@lyx.org>
5643
5644         * BufferView_pimpl.C (buffer):
5645         * buffer.C (d-tor):
5646         * lyx_main.C (LyX):
5647         * lyxfunc.C (dispatch):
5648         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5649         rather than the grfx shortcut.
5650
5651 2003-07-21  André Pönitz  <poenitz@gmx.net>
5652
5653         * rowpainter.C: remove unused variables
5654
5655         * tabular_funcs.C:
5656         * tabular_funcs.h: move to tabular.C
5657         * Makefile.am: adjust
5658
5659         * tabular.[Ch]: basic optical cleaning
5660
5661         * author.h: pass references, not values
5662
5663 2003-07-18  André Pönitz  <poenitz@gmx.net>
5664
5665         * lyxtext.h:
5666         * metricsinfo.C:
5667         * metricsinfo.h:
5668         * rowpainter.C:
5669         * text.C:
5670         * text2.C:
5671         * text3.C: two-phase drawing for InsetText and InsetTabular
5672         some float -> int changes.
5673
5674 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5675
5676         * lyx_main.C: fix the fix
5677
5678 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5679
5680         * lyx_main.C: fix a crash in batch mode if no files specified
5681         * converter.C: ws
5682
5683 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * format.[Ch] (papersize): moved to BufferParams
5686         * converter.[Ch] (dvips_options): moved to BufferParams
5687         (dvipdfm_options): moved to anon namespace
5688         * bufferparams.[Ch]: added above functions.
5689
5690 2003-07-17  André Pönitz  <poenitz@gmx.net>
5691
5692         * lyxtext.h:
5693         * rowpainter.C:
5694         * text2.C: don't call inset->update() anymore
5695
5696         * metricsinfo.[Ch]: add convenience constructor
5697
5698 2003-07-16  André Pönitz  <poenitz@gmx.net>
5699
5700         * lyxcursor.[Ch]:
5701         * lyxfunc.[Ch]:
5702         * text.C:
5703         * text2.C: replace the LyXCursor::irow_ member with
5704          on-demand computation of the value
5705
5706 2003-07-16  John Levon  <levon@movementarian.org>
5707
5708         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5709
5710 2003-07-15  André Pönitz  <poenitz@gmx.net>
5711
5712         * text.C:
5713         * text2.C: remove no more needed refresh_row
5714
5715 2003-07-15  André Pönitz  <poenitz@gmx.net>
5716
5717         * lyxtext.h:
5718         * rowpainter.C:
5719         * text2.C:
5720         * text3.C: refresh_status tristate -> need_update bool
5721
5722 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * lyxtext.h (init): remove reinit argument (act as if always true)
5725         * text2.C: adjust to that
5726
5727 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5728
5729         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5730         * text3.C: use it to delete selections in some cases
5731         (bugs 441, 673, 702, 954).
5732
5733 2003-07-14  André Pönitz  <poenitz@gmx.net>
5734
5735         * rowpainter.[Ch]: reduce interface
5736
5737 2003-07-14  André Pönitz  <poenitz@gmx.net>
5738
5739         * BufferView_pimpl.C:
5740         * text2.C: adjust after removing unused BufferView * argument
5741
5742 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5743
5744         * text2.C (init): fix a crash fired on resize
5745
5746 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * buffer.[Ch]: added new closing signal
5749         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5750         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5751         BufferView::Pimpl via the closing the signal
5752
5753 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * buffer.[Ch]: take out all bv-related from buffer
5756         * BufferView.C:
5757         * BufferView_pimpl.[Ch]: connect to new signals
5758         * CutAndPaste.C: removed useless asserts
5759         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5760         * lyxvc.[Ch]:
5761         * vc-backend.[Ch]:
5762         * lyxfunc.C: moved view-related funciontality from vc here
5763         * paragraph.C: removed outdated comments
5764         * text.C: ws
5765
5766 2003-07-10  André Pönitz  <poenitz@gmx.net>
5767
5768         * BufferView_pimpl.C:
5769         * tabular.h:
5770         * tabular_funcs.C:
5771         * text.C:
5772         * text2.C: remove InsetText::InnerCache, clean up consequences
5773
5774 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5775
5776         * ispell.C: fix two typos in error messages
5777
5778 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5779
5780         * Extend Note inset to other forms of annotation like Comment
5781         and Greyedout. Right button click gives dialog.
5782
5783         Files modified or added (+):
5784
5785         * insetnote.[Ch]
5786         * FormNote.[Ch]      +
5787         * ControlNote.[Ch]   +
5788         * form_note.fd       +
5789         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5790         frontends/controllers
5791         * xforms/Dialogs.C
5792         * factory.C
5793
5794 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5795
5796         * aspell.C: add missing namespace lyx::support
5797
5798 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5799
5800         * BufferView.[Ch] (newFile): Add
5801         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5802         * LaTeX.[Ch] (message): added this signal and use it
5803         * buffer.[Ch] (busy, message): added these signals and use them
5804         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5805         * converter.C:
5806         * exporter.C:
5807         * format.C:
5808         * importer.C: use buffer signals instead of direct bv calling
5809         * lyx_cb.[Ch] (ShowMessage): removed
5810         * lyx_main.C:
5811         * lyxfunc.C:
5812         * paragraph_funcs.C:
5813         * text2.C: use buffer signals
5814
5815 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5816
5817         * introduce namespace lyx::graphics
5818
5819 2003-07-02  André Pönitz  <poenitz@gmx.net>
5820
5821         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5822
5823 2003-07-01  André Pönitz  <poenitz@gmx.net>
5824
5825         * text.C:
5826         * text2.C:
5827         * text3.C:
5828         * text_funcs.[Ch]:
5829         * textcursor.h:
5830         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5831           text*.C to text_func.C
5832
5833 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * introduce namespace lyx::support
5836
5837 2003-06-30  André Pönitz  <poenitz@gmx.net>
5838
5839         * Chktex.C:
5840         * funcrequest.C:
5841         * lyxtext.h:
5842         * text.C: re-enable --with-included-string
5843
5844 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * textcursor.C: add <config.h>
5847
5848         * text.C (getWord): remove const from word_location arg
5849
5850         * lyxvc.C (getLogFile): fix const type order
5851
5852         * lyxtext.h: remove const from word_location arg, add arg name
5853
5854         * lyxlayout.h: currect type on labeltype.
5855
5856         * importer.C: correct \file
5857
5858         * converter.C (intToFormat): use std:: on ret val, ws changes
5859
5860         * bufferlist.h: correct \file
5861
5862         * buffer.C (makeLinuxDocFile): fix const type order
5863         (makeDocBookFile): ditto
5864         (fillWithBibKeys): use std:: on stdlib args.
5865
5866         * CutAndPaste.C: fix authors.
5867         (availableSelections): use std:: on return vector
5868
5869 2003-06-27  André Pönitz  <poenitz@gmx.net>
5870
5871         * BufferView_pimpl.C:
5872         * bufferview_funcs.C:
5873         * lyxcursor.C:
5874         * lyxcursor.h:
5875         * lyxfunc.C:
5876         * lyxtext.h:
5877         * rowpainter.C:
5878         * text.C:
5879         * text2.C:
5880         * text3.C: remove LyXCursor::row_ member
5881
5882         * lyxtext.h:
5883         * text.C: rename fullRebreak() to partialRebreak() and implement
5884           a fullRebreak() that really bereks fully
5885
5886         * textcursor.h: new struct for cursor-related data
5887
5888 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5889
5890         * lyx_main.C (LyX): get full path of document loaded on the
5891         command line
5892
5893 2003-06-26  André Pönitz  <poenitz@gmx.net>
5894
5895         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5896           remove unused/broken operator>,<,>=.
5897
5898         *       text.C: remove only use of broken operator<= in an Assert().
5899
5900 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5901
5902         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5903         moved errorlist_.clear to showErrorList
5904
5905 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5906
5907         * converter.C (scanLog, runLaTeX):
5908         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5909         move the bv->showErrorList call to the callers
5910         * lyxfunc.C: i.e. here...
5911         * text2.C: and here
5912         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5913         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5914         namespace, the second to...
5915         * buffer_funcs (BufferFormat, parseErrors): added
5916         * errorlist.C (ErrorList(TeXErrors const &)): removed
5917
5918 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5919
5920         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5921
5922 2003-06-24  "Garst R. Reese" <reese@isn.net>
5923
5924         * debug.C: fix typo
5925
5926 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5927
5928         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5929
5930         * version.C.in: change docversion to 1.4
5931
5932 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * buffer.C: fix a bug just introduced
5935
5936 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * buffer.[Ch]: added the parseError signal and use it, removed
5939         sgmlError
5940         * BufferView.[Ch] (addError): moved to ...
5941         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5942         to the Buffer::parseError signal to catch (guess what) parse errors
5943         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5944
5945 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5946
5947         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5948         ability to create a buffer and to return an existing one from
5949         the list. Moved these functions to...
5950         * buffer_funcs.[Ch]: added
5951         * BufferView.[Ch] (loadLyXFile): added
5952         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5953         job removed from bufferlist::loadLyXFile.
5954         * buffer.C (setReadOnly): make it work without view
5955         (i.e added an if (users))
5956
5957 2003-06-19  Angus Leeming  <leeming@lyx.org>
5958
5959         * lfuns.h:
5960         * LyXAction.C (init):
5961         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5962         with LFUN_DIALOG_SHOW <name> <data>.
5963
5964 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5965
5966         * CutAndPaste.C (availableSelections): small compilation fix for
5967         ancient (gcc 2.9x) compilers
5968
5969 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * text3.C (cursorNext): add tmp var
5972
5973         * text2.C (updateCounters): for function calling out of for clause
5974         (replaceSelectionWithString): ditto
5975         (insertStringAsParagraphs): ditto
5976         (getColumnNearX): add tmp var
5977         (setCursorFromCoordinates): add tmp var
5978         (cursorDownParagraph): add tmp var
5979         (deleteEmptyParagraphMechanism): add tmp var
5980
5981         * text.C (insertChar): add tmp var
5982
5983         * rowpainter.C (paintDepthBar): add tmp var
5984
5985         * CutAndPaste.C (availableSelections): potentially check all
5986         paragraphs in a cut to fill the shown strings.
5987
5988 2003-06-18  André Pönitz  <poenitz@gmx.net>
5989
5990         * kbmap.[Ch]: use vector<> instead of list<>
5991
5992 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5993
5994         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5995         pasteSelection with index
5996
5997         * text2.C (pasteSelection): modify, call pasteSelection with index
5998
5999         * paragraph.C (asString): reimplement version with no interval to
6000         call the one with interval.
6001
6002         * lyxtext.h: add index arg to pasteSelection
6003
6004         * MenuBackend.C (MenuItem): handle PasteRecent
6005         (Menu::read::Menutags): add md_pasterecent
6006         (read): handle it
6007         (expandPasteRecent): new function
6008         (expand): use it
6009
6010         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6011
6012         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6013         the limited stack
6014         (availableSelections): new function
6015
6016 2003-06-17  Angus Leeming  <leeming@lyx.org>
6017
6018         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6019
6020 2003-06-17  Angus Leeming  <leeming@lyx.org>
6021
6022         * lfuns.h:
6023         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6024
6025         * lyxfunc.C (dispatch): invoke it.
6026
6027 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6028
6029         * iterators.C (operator++, ParPosition): reintroduce some
6030         const_cast for the benefit of older compilers.
6031
6032 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6033
6034         * text3.C (dispatch): do not modify clipboard when doing
6035         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6036         LFUN_DELETE_SKIP on a selection selection
6037
6038 2003-06-16  André Pönitz  <poenitz@gmx.net>
6039
6040         * BufferView.C:
6041         * buffer.C:
6042         * buffer.h:
6043         * paragraph.C:
6044         * tabular.[Ch]: IU of clone() and getLabelList();
6045
6046 2003-06-13  André Pönitz  <poenitz@gmx.net>
6047
6048         * tabular.h: compactification
6049
6050 2003-06-12  André Pönitz  <poenitz@gmx.net>
6051
6052         * tabular.C:
6053         * tabular.h:
6054         * tabular_funcs.h: some renaming plus whitespace
6055
6056 2003-06-12  André Pönitz  <poenitz@gmx.net>
6057
6058         * BufferView.C:
6059         * BufferView_pimpl.C:
6060         * CutAndPaste.C:
6061         * buffer.C:
6062         * iterators.[Ch]:
6063         * lyxfunc.C:
6064         * text.C:
6065         * toc.C: Return a Paragraph & for ParIterator::operator*()
6066
6067 2003-06-11  John Levon  <levon@movementarian.org>
6068
6069         * lyx_main.C:
6070         * ToolbarBackend.h:
6071         * ToolbarBackend.C: add "Toolbars" section and
6072         put the flags there
6073
6074 2003-06-10  Angus Leeming  <leeming@lyx.org>
6075
6076         * lfuns.h:
6077         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6078
6079         * lyxfunc.C (dispatch): invoke it.
6080
6081 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * main.C: protect <ios> with HAVE_IOS
6084         (main): protect sync_with_stdio with HAVE_IOS
6085
6086 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6087
6088         * text2.C (cutSelection): adjust
6089         (pasteSelection): adjust
6090
6091         * messages.C: handle get of empty string
6092
6093         * main.C (main): use sync_with_stdio(false)
6094
6095         * lyxfunc.C (dispatch): adjust
6096
6097         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6098         (WriteAs): remove unneeded BufferView arg.
6099
6100         * bufferparams.h: use correct types on papersize, papersize2 and
6101         paperpackage.
6102
6103         * bufferparams.C (readToken): adjust for type
6104         (writeLaTeX): add missing cases to switch.
6105
6106         * bufferlist.C (quitWriteBuffer): adjust
6107         (close): adjust
6108
6109         * buffer.C (asciiParagraph): remove some commented code.
6110
6111         * CutAndPaste.C: remove current_view extern variable.
6112         (cutSelection): add BufferParams arg.
6113         (eraseSelection): add BufferParams arg.
6114         (pasteSelection): add Buffer const & arg
6115
6116 2003-06-07  John Levon  <levon@movementarian.org>
6117
6118         * buffer.C:
6119         * paragraph_funcs.C:
6120         * paragraph_pimpl.C:
6121         * text.C:
6122         * text2.C:
6123         * paragraph.h:
6124         * paragraph.C: allow InsetERT to freely space lines,
6125         and some consolidation of code
6126
6127 2003-06-06  José Matos  <jamatos@fep.up.pt>
6128
6129         * buffer.C (makeDocBookFile): fix bug #821
6130
6131 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6132
6133         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6134
6135 2003-06-04  Angus Leeming  <leeming@lyx.org>
6136
6137         * buffer.C: bump format to 224.
6138
6139 2003-06-05  André Pönitz  <poenitz@gmx.net>
6140
6141         * text2.C (redoParagraphs): remove two const_cast<>
6142
6143 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6144
6145         * ParagraphList.h: remove last remnants of NO_STD_LIST
6146
6147 2003-06-03  Angus Leeming  <leeming@lyx.org>
6148
6149         * factory.C (createInset): small change to the way InsetExternal's params
6150         are set.
6151
6152 2003-06-04  André Pönitz  <poenitz@gmx.net>
6153
6154         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6155
6156         * paragraph_pimpl.h:
6157         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6158
6159         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6160
6161         * undo_funcs.C: make some simple cases of undo work again
6162
6163 2003-06-03  John Levon  <levon@movementarian.org>
6164
6165         * ispell.C: HPUX doesn't have sys/select.h
6166         (from Albert Chin)
6167
6168 2003-06-03  John Levon  <levon@movementarian.org>
6169
6170         * CutAndPaste.C: update tabular and include inset
6171         buffer references
6172
6173         * buffer.h:
6174         * paragraph.h:
6175         * paragraph.C: remove owningBuffer(), don't pass Buffer
6176         to clone()
6177
6178         * factory.C: insetGraphicsParams changed
6179
6180 2003-06-02  John Levon  <levon@movementarian.org>
6181
6182         * LyXAction.C:
6183         * factory.C:
6184         * lfuns.h:
6185         * lyxfunc.C:
6186         * text3.C: remove insetparent
6187
6188 2003-06-02  John Levon  <levon@movementarian.org>
6189
6190         * buffer.h:
6191         * buffer.C: fix inset_iterator.end(), move out of line
6192         (bug 1149)
6193
6194 2003-06-01  John Levon  <levon@movementarian.org>
6195
6196         * text3.C: use a proper cut/paste when doing inset
6197         insert (from Jürgen Spitzmüller)
6198
6199 2003-06-01  John Levon  <levon@movementarian.org>
6200
6201         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6202
6203 2003-05-30  André Pönitz  <poenitz@gmx.net>
6204
6205         * rowpainter.C: unify second drawing phase
6206
6207 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * trans_mgr.C: remove one case of current_view
6210
6211         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6212
6213         * paragraph_funcs.h: remove paragraph.h include
6214
6215         * paragraph.h: delete NO_STD_LIST stuff
6216
6217         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6218
6219         * buffer.h: remove paragraph.h include
6220
6221         * ParagraphList.C: delete file
6222
6223         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6224
6225         * toc.C (getTocList): adjust
6226
6227         * paragraph_pimpl.C (validate): adjust
6228
6229         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6230
6231         * paragraph.C (Paragraph): adjust
6232         (getPositionOfInset): use const_iterator, adjust
6233         (bibitem): use const_iterator, adjust
6234         (setInsetOwner): adjust
6235
6236         * iterators.C (operator++): adjust
6237
6238         * InsetList.[Ch]: Replace selfmade iterator with standard
6239         vector::iterator also introduce const_iterator. Remove getPos,
6240         getInset and setInset from InsetTable. Adjust accordingly.
6241
6242         * BufferView.C (lockInset): adjust
6243         (ChangeInsets): adjust
6244
6245         * tabular.[Ch]: delete commented same_id functions
6246
6247 2003-05-28  John Levon  <levon@movementarian.org>
6248
6249         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6250
6251 2003-05-28  André Pönitz  <poenitz@gmx.net>
6252
6253         * metricsinfo.[Ch]: remove 'fullredraw' member
6254
6255 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6256
6257         * lyxtextclass.C (operator): remove caching.
6258
6259 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * text3.C: adjust
6262
6263         * text2.C (cursorBottom): adjust
6264         (setCounter): use ParagraphList::find, adjust
6265
6266         * text.C (workWidth): use ParagraphList::find, adjust
6267
6268         * lyxcursor.C (LyXCursor): adjust
6269
6270         * buffer.C (inset_iterator): adjust
6271
6272         * ParagraphList.h: make iterator(value_type) private, make
6273         ParagraphList a friend of iterator.
6274
6275         * ParagraphList.C (find): new function
6276
6277         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6278
6279 2003-05-27  André Pönitz  <poenitz@gmx.net>
6280
6281         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6282
6283 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6284
6285         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6286
6287 2003-05-26  John Levon  <levon@movementarian.org>
6288
6289         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6290
6291 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * remove same_id from function signatures, adjust.
6294
6295 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6298
6299         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6300
6301         * paragraph.C (Paragraph): get rid of same_ids parameter
6302
6303         * ParagraphList.C (insert): adjust
6304         (push_back): adjust
6305
6306 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * paragraph_funcs.C (breakParagraph): adjust
6309         (breakParagraphConservative): adjust
6310
6311         * buffer.C (readParagraph): adjust
6312
6313         * ParagraphList.C (insert): take a reference instead of a pointer
6314         (insert): adjust
6315
6316         * paragraph.[Ch] (id): new function
6317
6318         * bufferlist.C (newFile): adjust
6319
6320         * ParagraphList.C (ParagraphList): adjust
6321         (assign): adjust
6322         (push_back): take a reference instead of a pointer.
6323
6324         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6325
6326         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6327         instead.
6328
6329         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6330         set else use old code.
6331
6332         * ParagraphList.C: remove all NO_NEXT code and only compile this
6333         code of NO_STD_LIST is set.
6334
6335 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * BufferView_pimpl.C:
6338         * TextCache.C:
6339         * TextCache.h:
6340         * bufferlist.C:
6341         * errorlist.h:
6342         * format.C:
6343         * format.h:
6344         * graph.C:
6345         * lyxfunc.C:
6346         * lyxrc.C:
6347         * graphics/GraphicsConverter.C:
6348         * graphics/PreviewLoader.C: header adjustment
6349
6350 2003-05-23  Angus Leeming  <leeming@lyx.org>
6351
6352         * LaTeXFeatures.[Ch] (useBabel): new method.
6353         * bufferparams.C (writeLaTeX): use it.
6354
6355 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * ParagraphList.h (set): remove unused function.
6358
6359 2003-05-23  André Pönitz  <poenitz@gmx.net>
6360
6361         * BufferView.C:
6362         * BufferView_pimpl.C:
6363         * buffer.C:
6364         * buffer.h:
6365         * lyxfunc.C:
6366         * undo_funcs.C: setUndo reworked
6367
6368         * iterators.[Ch]: add access to topmost ParagraphList
6369
6370         * lyxtext.[Ch] (workWidth): add a const
6371
6372 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6373
6374         * texrow.[Ch] (increasePos): remove function
6375         * exporter.C (export): removed unused var and outdated comment
6376
6377 2003-05-23  Angus Leeming  <leeming@lyx.org>
6378
6379         * latexrunparams.h: rename fragile as moving_arg.
6380         * paragraph.C (simpleTeXOnePar): ditto.
6381         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6382
6383 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6386         (createUndo): ditto
6387         (textUndoOrRedo): comment out a currently unused var.
6388
6389         * paragraph.h (NO_NEXT): enable NO_NEXT
6390
6391         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6392
6393         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6394
6395         * exporter.C (Export): adjust for removeAutoInsets removal.
6396
6397         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6398
6399         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6400
6401         * BufferView.[Ch] (removeAutoInsets): delete function
6402
6403 2003-05-22  Angus Leeming  <leeming@lyx.org>
6404
6405         * latexrunparams.h: add a free_spacing variable.
6406
6407         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6408         to pass moving_arg, as the data is stored in runparams.fragile.
6409
6410         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6411         to Inset::latexOptional or to simpleTeXOnePar.
6412
6413         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6414         free_spacing arg to Inset::latexOptional.
6415
6416         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6417         free_spacing arg.
6418
6419 2003-05-22  Angus Leeming  <leeming@lyx.org>
6420
6421         * latexrunparams.h: add fragile and use_babel variables.
6422
6423         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6424         * buffer.C (makeLaTeXFile): store this returned value in
6425         runparams.use_babel, thus passing it to the inset::latex methods.
6426
6427         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6428         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6429
6430         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6431         longer has a fragile arg, as it is stored in runparams.fragile.
6432
6433         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6434         moving_arg parameter as the data is stored in runparams.fragile.
6435
6436         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6437         a fragile parameter as the data is stored in runparams.fragile.
6438
6439 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6442
6443 2003-05-22  Angus Leeming  <leeming@lyx.org>
6444
6445         * latexrunparams.h: add a 'bool nice' which defaults to false.
6446
6447         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6448         now encapsulated within runparams.
6449
6450         * bufferlist.C (updateIncludedTeXfiles):
6451         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6452
6453 2003-05-22  Angus Leeming  <leeming@lyx.org>
6454
6455         * latexrunparams.h: new file containing struct LatexRunParams.
6456         * Makefile.am: add new file.
6457
6458         * LaTeX.[Ch] (c-tor, run):
6459         * buffer.[Ch] (makeLaTeXFile):
6460         * bufferlist.[Ch] (updateIncludedTeXfiles):
6461         * converter.C (convert, scanLog):
6462         * converter.[Ch] (runLaTeX):
6463         * exporter.C (Export):
6464         * paragraph.[Ch] (simpleTeXOnePar):
6465         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6466         * paragraph_funcs.[Ch] (latexParagraphs):
6467         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6468         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6469         pass around a LatexRunParams parameter.
6470
6471 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * paragraph.[Ch]: remove unused constructor
6474
6475         * ParagraphList.C (erase): new function, taking two iterators
6476
6477 2003-05-22  André Pönitz  <poenitz@gmx.net>
6478
6479         * undo_funcs.C: remove duplicated code
6480
6481         * iterator.[Ch]: operator=
6482
6483 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * tabular.C (SetMultiColumn): ws changes
6486
6487         * rowpainter.C (paintFirst): get rid of a ->previous
6488
6489         * lyx_cb.C (getPossibleLabel): parlist simplification
6490
6491         * BufferView.C (ChangeInsets): simplify slightly.
6492
6493 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6494
6495         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6496         * lfuns.h: new LFUN_SPACE
6497         * lyxfunc.C: protected space has a new lfun
6498         * paragraph_funcs.C: read new space insets
6499         * text3.C:
6500         * factory.C: handle new space insets
6501
6502 2003-05-22  André Pönitz  <poenitz@gmx.net>
6503
6504         * BufferView.C:
6505         * BufferView_pimpl.C:
6506         * buffer.[Ch]:
6507         * lyxfunc.C:
6508         * undo_funcs.C: return a ParIterator from getParFromID.
6509
6510         * iterators.[Ch]: add two const's
6511
6512 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * toc.C (getTocList): adjust
6515
6516         * iterators.[Ch]: rework for parlist
6517
6518         * buffer.C (par_iterator_begin): adjust
6519         (par_iterator_end): adjust
6520
6521         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6522
6523         * BufferView.C (removeAutoInsets): adjust
6524         (ChangeInsets): adjust
6525
6526 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6527
6528         * text.C (top_y): fix bug 1110
6529
6530 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * errorlist.[Ch]: added
6533         * buffer.C:
6534         * BufferView.[Ch]:
6535         * BufferView_pimpl.C:
6536         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6537         instead
6538
6539 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * Makefile.am: ensure that lyx is relinked upon changes to the
6542         various "convenience" libs.
6543
6544 2003-05-20  Angus Leeming  <leeming@lyx.org>
6545
6546         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6547         files are compiled in alphabetical order again.
6548
6549         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6550
6551 2003-05-19  Angus Leeming  <leeming@lyx.org>
6552
6553         * gettext.[Ch]: remove "char const * _(char const *)".
6554
6555 2003-05-19  André Pönitz  <poenitz@gmx.net>
6556
6557         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6558
6559         * Makefile.am:
6560         * BufferView.C:
6561         * DepTable.h:
6562         * LaTeXFeatures.C:
6563         * buffer.C:
6564         * lyxfont.C:
6565         * lyxlex.h:
6566         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6567
6568 2003-05-19  André Pönitz  <poenitz@gmx.net>
6569
6570         * buffer.C:
6571         * lyxlayout.[Ch]:
6572         * lyxtextclass.[Ch]:
6573         * paragraph.C:
6574         * paragraph_funcs.[Ch]:
6575         * text2.C:
6576         * text3.C: more insetenv work
6577
6578 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * ParagraphParameters.C (params2string): small bug fixed
6581
6582 2003-05-16  André Pönitz  <poenitz@gmx.net>
6583
6584         * debug.C:
6585         * bufferview_funcs.C: patch from Kornel Benko to prevent
6586           crash when _(...) is called twice in a statement
6587
6588 2003-05-16  André Pönitz  <poenitz@gmx.net>
6589
6590         * BufferView.C:
6591         * lyxfunc.C:
6592         * text.C:
6593         * text2.C:
6594         * text3.C:
6595         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6596
6597 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * lyx_main.C (init): remove spurious static_cast
6600
6601 2003-05-14  André Pönitz  <poenitz@gmx.net>
6602
6603         * BufferView.C: fix format string
6604
6605 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6606
6607         * BufferView.[Ch] (insertErrors): removed
6608         * BufferView.[Ch] (showErrorList): added
6609         * buffer.C (runChkTeX):
6610         * converter.C (scanLog): call showErrorList instead of inserterrors
6611
6612 2003-05-13  André Pönitz  <poenitz@gmx.net>
6613
6614         * BufferView_pimpl.C:
6615         * buffer.C:
6616         * bufferview_func.C:
6617         * MenuBackend.C:
6618         * lyxfunc.C:
6619         * lyxrc.C:
6620         * tex-accent.C:
6621         * text3.C:
6622         * toc.C:
6623         * tabular_funcs.h: tostr() from its own header
6624
6625         * ParagraphParameters.C:
6626         * ToolbarBackend.C:
6627         * bufferparams.C:
6628         * format.C:
6629         * lyxlex_pimpl.C:
6630         * text3.C: STRCONV()
6631
6632 2003-05-12  André Pönitz  <poenitz@gmx.net>
6633
6634         * BufferView.C:
6635         * BufferView_pimpl.C:
6636         * CutAndPaste.C:
6637         * LaTeX.C:
6638         * LaTeXFeatures.C:
6639         * ParagraphParameters.C:
6640         * buffer.C:
6641         * bufferlist.C:
6642         * bufferparams.C:
6643         * bufferview_funcs.C:
6644         * converter.C:
6645         * counters.C:
6646         * debug.C:
6647         * exporter.C:
6648         * format.C:
6649         * importer.C:
6650         * lyx_cb.C:
6651         * lyx_main.C:
6652         * lyxfont.C:
6653         * lyxfunc.C:
6654         * lyxvc.C:
6655         * paragraph.C:
6656         * paragraph_funcs.C:
6657         * tabular.C:
6658         * tabular_funcs.C:
6659         * text2.C:
6660         * text3.C:  boost::format -> bformat  all over the place
6661
6662
6663 2003-05-09  André Pönitz  <poenitz@gmx.net>
6664
6665         * LColor.[Ch]: Pimpl the #include <map> away
6666
6667 2003-05-09  John Levon  <levon@movementarian.org>
6668
6669         * bufferlist.C: never remove emergency saves
6670
6671 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * Makefile.am: better lib building
6674
6675 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6678         instead.
6679         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6680         (simpleTeXSpecialChars): adjust
6681         (simpleTeXSpecialChars): adjust
6682         * paragraph.C (simpleTeXOnePar): adjust
6683         * buffer.C (makeLaTeXFile): adjust
6684
6685         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6686
6687         * text2.C (changeDepth): parlist cleanup
6688         (getColumnNearX): ditto
6689
6690         * rowpainter.C (getLabelFont): parlist cleanup
6691
6692         * bufferlist.C (newFile): parlist cleanup
6693
6694         * CutAndPaste.C (eraseSelection): parlist cleanup
6695
6696         * BufferView_pimpl.C (trackChanges): parlist cleanup
6697         (dispatch): ditto
6698
6699         * BufferView.C (lockInset): parlist cleanup.
6700         (ChangeInsets): ditto
6701
6702 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6703
6704         * CutAndPaste.h: Update file header.
6705
6706         * CutAndPaste.C: Update file header.
6707         Store the parts cut out of the Document in a limited_stack.
6708         (copySelection): adjust
6709         (pasteSelection): new function, takes the index in the limited stack.
6710         (nrOfParagraphs): adjust
6711         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6712         simplify error inset insertion.
6713         (checkPastePossible): adjust
6714
6715 2003-05-06  John Levon  <levon@movementarian.org>
6716
6717         * text2.C: don't cast wrap inset to float
6718
6719 2003-05-05  André Pönitz  <poenitz@gmx.net>
6720
6721         * iterator.C:
6722         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6723
6724         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6725           few naked Paragraph *.
6726
6727 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6728
6729         * bufferparams.C: Output warning if a document with missing
6730         TeX document class is loaded
6731         * exporter.C: Disable TeX exports if the document class is missing
6732         * lyxtextclass.C:
6733         * lyxtextclass.h:
6734         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6735         isTeXClassAvailable()
6736
6737 2003-05-03  John Levon  <levon@movementarian.org>
6738
6739         * BufferView.h:
6740         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6741         explicit cursor show/hide
6742
6743         * BufferView_pimpl.h:
6744         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6745         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6746
6747         * lyxfunc.C: hide cursor before dispatching.
6748
6749         * lyx_cb.C:
6750         * lyxfind.C:
6751         * text.C:
6752         * text3.C: remove explicit cursor hides
6753
6754 2003-05-02  André Pönitz  <poenitz@gmx.net>
6755
6756         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6757
6758         * undo_funcs.C:
6759         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6760           linked lists
6761
6762         * text2.C: tiny whitespace
6763
6764 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * undo_funcs.C: almost only ws changes.
6767
6768         * ParagraphList.C (splice): just return if pl is empty.
6769
6770 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * ParagraphList.C (splice): new function.
6773
6774         * CutAndPaste.C (pasteSelection): use it
6775
6776 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * CutAndPaste.C (pasteSelection): remove the last next and
6779         previous from this file.
6780
6781 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * CutAndPaste.C (pasteSelection): more clean up, user proper
6784         ParagraphList functions for pasteing.
6785
6786         * ParagraphList.C (insert): new function, three arg insert
6787
6788 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * ParagraphList.C (insert): new function, three arg insert
6791
6792         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6793         not on paragraphs.
6794
6795 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6798
6799 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6802
6803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6806         (copySelection): clean up a bit.
6807         (pasteSelection): use make_pair
6808
6809         * ParagraphList.C (ParagraphList): implement copy constructor
6810         (operator=): implement, base on copy constructor.
6811         (assign): new func
6812
6813         * paragraph.C (erase): return a bool
6814
6815         * paragraph_pimpl.C (erasePos): remove function, move contents...
6816         (erase): ... here. Return a bool.
6817         (erase): call erase instead of erasePos.
6818
6819 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * ParagraphList.h: define PitPosPair
6822         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6823         ParagraphList, fix a bug on pasting multiple pars
6824         * text2.C: change interface to C&P
6825
6826 2003-04-30  André Pönitz  <poenitz@gmx.net>
6827
6828         * undo_func.C: revert part of yesterday's patch 2
6829
6830 2003-04-30  John Levon  <levon@movementarian.org>
6831
6832         * LColor.C: s/tabular/table/
6833
6834 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * text3.C (dispatch): do not convert iterator -> pointer
6837         * undo_funcs.C (setCursorParUndo): ditto
6838         * text_funcs.C (transposeChars): ditto
6839
6840         * text2.C (setLayout): ws changes only
6841
6842         * text.C (breakParagraph): do not convert iterator -> pointer
6843         (insertChar): ditto
6844         (acceptChange): ditto
6845         (rejectChange): ditto
6846         (changeCase): ditto
6847         (Delete): ditto
6848         (backspace): ditto
6849
6850         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6851         pointer
6852
6853 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * text3.C (gotoInset): YABG (yet another bad getChar)
6856
6857 2003-04-29  André Pönitz  <poenitz@gmx.net>
6858
6859         * paragraph.h: make operator= private unimplemented as long as
6860           it is unusable
6861
6862         * ParagraphList.C: whitespace
6863
6864         * paragraph.[Ch]:
6865         * paragraph_pimpl.[Ch]:
6866         * paragraph_funcs.C:
6867         * CutAndPaste.C:
6868         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6869
6870         * text2.C:
6871           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6872
6873 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6876         * paragraph.[Ch] (erase):
6877         * paragraph_pimpl.[Ch] (erase): change return type and value
6878         * text2.C (cutSelection): some rework
6879
6880 2003-04-28  John Levon  <levon@movementarian.org>
6881
6882         * bufferlist.C: changes for unsaved changes dialog
6883
6884 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * bufferlist.C (newFile): set language (messages_) for new
6887         documents also.
6888
6889         * buffer.C (readFile): ws changes only.
6890
6891 2003-04-28  André Pönitz  <poenitz@gmx.net>
6892
6893         * undo_funcs.C:
6894         * lyxfunc.C:
6895         * buffer.[Ch]:
6896         * BufferView_pimpl.C:
6897         * BufferView.C: getParFromID related ParagraphList::iterator changes
6898
6899 2003-04-28  André Pönitz  <poenitz@gmx.net>
6900
6901         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6902           Changes
6903
6904 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * messages.C: remove one more localedir class variable.
6907
6908 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * messages.C (getLocaleDir): singleton generation function
6911         (Pimpl): use it.
6912         (Messages): add a default constructor.
6913
6914         * main.C (main): do not setup localedir here, do not call
6915         gettext_init.
6916
6917         * gettext.C (_): use it.
6918         (gettext_init): delete funciton
6919
6920 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * gettext.C (getLyXMessages): new singleton generating function.
6923
6924         * buffer.C (updateDocLang): adjust
6925
6926         * Makefile.am (messages.o): add target
6927         (main.o): remove target
6928
6929 2003-04-27  John Levon  <levon@movementarian.org>
6930
6931         * bufferlist.C:
6932         * lyx_cb.C:
6933         * lyxfunc.C:
6934         * lyxvc.C: specify cancel button in Alert::prompt
6935
6936 2003-04-26  John Levon  <levon@movementarian.org>
6937
6938         * text3.C:
6939         * lyxfunc.C:
6940         * lfuns.h:
6941         * LyXAction.C: add LFUN_INSET_SETTINGS
6942
6943         * lyxfunc.C: don't enable tabular-feature when there's
6944         just any locking inset
6945
6946 2003-04-26  John Levon  <levon@movementarian.org>
6947
6948         * bufferlist.C: re-add Cancel to buffer close question
6949
6950         * lyxfunc.C: fix import UI a bit
6951
6952 2003-04-25  John Levon  <levon@movementarian.org>
6953
6954         * gettext.C: remove the broken asserts for now
6955
6956 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * messages.C: make case where setlocale cannot comply work better.
6959
6960         * buffer.C (updateDocLang): new function
6961         (changeLanguage): use it
6962         (readFile): use it
6963
6964         * text2.C (setCounter): use B_ a bit.
6965
6966         * lyxlayout.C (Read): be sure to trim the label strings.
6967
6968         * messages.C (Messages): fix typo in comment
6969
6970         * buffer.C (readFile): set message_ after file is loaded.
6971         (makeDocBookFile): remove double return
6972         (changeLanguage): reset message_ upon language change.
6973         (B_): new func, use this to get translated buffer strings.
6974
6975         * main.C: add myself and Jean Marc as authors.
6976
6977 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * messages.[hC]: pimplify Messages, and three different pimpls to be
6980         used in different circumstances.
6981
6982         * gettext.[Ch]: change for use with new message code.
6983
6984 2003-04-24 André Pönitz <poenitz@gmx.net>
6985
6986         * factory.C: support for eqref
6987
6988 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * messages.[Ch]: add missing char
6991
6992         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6993
6994         * messages.[Ch]: New files
6995
6996 2003-04-18  John Levon  <levon@movementarian.org>
6997
6998         * BufferView.h:
6999         * BufferView.C:
7000         * BufferView_pimpl.C:
7001         * lfuns.h:
7002         * LyXAction.C:
7003         * lyxtext.h:
7004         * text2.C: remove layout-copy/paste (bug 778)
7005
7006 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7009
7010 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7011
7012         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7013         if they succeed. Act accordingly.
7014
7015 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * text2.C (setCharFont): adjust
7018         (setCounter): adjust
7019         (insertStringAsLines): adjust
7020
7021         * text.C (leftMargin): adjust
7022         (setHeightOfRow): adjust
7023
7024         * rowpainter.C (paintFirst): adjust
7025         (paintLast): adjust
7026
7027         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7028         (outerHook): ditto
7029         (isFirstInSequence): ditto
7030         (getEndLabel): ditto
7031         (outerFont): adjust
7032
7033         * paragraph.C (getParLanguage): comment out some hard stuff.
7034
7035         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7036         (sgmlError): ditto
7037         (simpleDocBookOnePar): ditto
7038         (makeDocBookFile): use ParagraphList::iterator
7039
7040         * CutAndPaste.C (pasteSelection): adjust
7041
7042 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * text2.C (getFont): adjust
7045         (getLayoutFont): adjust
7046         (getLabelFont): adjust
7047
7048         * paragraph_funcs.C (TeXOnePar): adjust
7049
7050         * buffer.C (simpleLinuxDocOnePar): adjust
7051         (simpleDocBookOnePar): adjust
7052
7053         * CutAndPaste.C (pasteSelection): adjust
7054
7055         * BufferView.C (getEncoding): adjust
7056
7057         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7058
7059 2003-04-16  John Levon  <levon@movementarian.org>
7060
7061         * lyxfind.C: use parlist stuff for search/changes
7062
7063 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7066
7067         * text2.C (deleteEmptyParagraphMechanism): adjust
7068
7069         * text2.[Ch] (ownerParagraph): delete func (both of them
7070
7071 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7072
7073         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7074
7075 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * ParagraphList.C: prepare for NO_NEXT
7078
7079 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * text2.C (getFont): adjust
7082         (getLayoutFont): adjust
7083         (getLabelFont): adjust
7084
7085         * paragraph.C (getFont): adjust
7086         (getLabelFont): adjust
7087         (getLayoutFont): adjust
7088
7089         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7090
7091 2003-04-15  John Levon  <levon@movementarian.org>
7092
7093         From Angus Leeming
7094
7095         * lyx_main.C: handle Include in .ui files
7096
7097 2003-04-15  John Levon  <levon@movementarian.org>
7098
7099         * MenuBackend.C: make the doc files length shorter
7100
7101         * ToolbarBackend.h:
7102         * ToolbarBackend.C: handle toolbar placement flags,
7103         Minibuffer
7104
7105 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7108         adjust
7109
7110         * paragraph_funcs.C (TeXOnePar): adjust
7111
7112         * paragraph.C (getLabelFont): add outerfont arg, adjust
7113         (getLayoutFont): ditto
7114         (simpleTeXOnePar): adjust
7115
7116         * paragraph_pimpl.C (realizeFont): delete func
7117
7118 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7121         row argument, constify cur argument.
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_funcs.C (TeXOnePar): adjust
7130         (outerFont): new func...
7131         (realizeFont): ...moved out from here, changed this to facilitate
7132         transition
7133
7134         * paragraph.C (getFont): take outerfont as arg, adjust
7135         (simpleTeXOnePar): add outerfont arg, adjust
7136
7137         * buffer.C (simpleLinuxDocOnePar): adjust
7138         (simpleDocBookOnePar): adjust
7139
7140         * CutAndPaste.C (pasteSelection): adjust
7141
7142         * BufferView.C (getEncoding): adjust
7143
7144 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * text2.C (setCharFont): adjust
7147         (setCounter): adjust
7148
7149         * text.C (leftMargin): adjust
7150         (setHeightOfRow): adjust
7151
7152         * rowpainter.C (paintFirst): adjust
7153         (paintLast): adjust
7154
7155         * paragraph_pimpl.C (realizeFont): adjust
7156
7157         * paragraph.C (isFirstInSequence): move from here...
7158         * paragraph_funcs.C (isFirstInSequence): ...to here
7159
7160         * paragraph.C (outerHook): move from here...
7161         * paragraph_funcs.C (outerHook): ...to here
7162
7163         * paragraph.C (depthHook): move from here...
7164         * paragraph_funcs.C (depthHook): ...to here
7165
7166         * paragraph.C (getEndLabel): move from here...
7167         * paragraph_funcs.C (getEndLabel): ...to here
7168
7169         * text2.C (realizeFont): move from here...
7170         * paragraph_funcs.C (realizeFont): ...to here
7171
7172 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7175
7176 2003-04-14  Angus Leeming  <leeming@lyx.org>
7177
7178         * LColor.[Ch]: scrap LColor mathcursor.
7179
7180 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * lyxlex.[Ch] (text): delete function
7183         * trans.C (Load): adjust
7184         * paragraph_funcs.C (readParToken): adjust
7185
7186 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7189         vector<char> instead of a char[].
7190
7191         * lyxlex_pimpl.C (getString): adjust
7192         (next): adjust
7193         (lex): use getString
7194         (eatLine): adjust
7195         (nextToken): adjust
7196
7197         * lyxlex.C (text): use pimpl_->getString()
7198         (getBool): ditto
7199         (findToken): ditto
7200
7201 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7202
7203         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7204         (makeFontEntriesLayoutSpecific): temp var for par.size()
7205         (setLayout): temp var for ownerParagraphs().end()
7206         (fullRebreak): temp var for rows().end()
7207         (selectionAsString): temp var for boost::next(startpit), realize
7208         that the while really is a regular for loop.
7209         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7210         setCursor in one place.
7211         (setParagraph): temp vr for ownerParagraphs().end()
7212         (updateCounters): make the while loop a for loop
7213         (cutSelection): temp var for ownerParagraphs().end()
7214         (updateInset): make the do {} while() a regular for loop
7215         (getCursorX): use temp vars
7216         (setCurrentFont): use temp vars
7217         (getColumnNearX): use temp vars
7218
7219 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * text.C (transformChar): use temp var for getChar
7222         (computeBidiTables): use temp var for row->par()
7223         (fill): move temp vars for row->par() and pit->layout() earlier in
7224         the function.
7225         (labelFill): use temp var for row->par()
7226         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7227         asc and desc, realize that pit never changes and that firstpit is
7228         just a duplicate and not needed. Exchange rit->par() with pit in a
7229         lot of places.
7230         (breakAgain): use a temp var for boost::next(rit)
7231         (breakAgainOneRow): ditto
7232         (breakParagraph): use a temp var for rows().begin()
7233         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7234         (cursorRightOneWord): use temp var for cursor.par() and
7235         cursor.pos(), remove usage of tmpcursor.
7236         (cursorLeftOneWord): use temp var for cursor.par() and
7237         cursor.pos() only set cur at end of function.
7238
7239 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * text.C, text2.C: exchange all usage of Paragraph::next with
7242         boost::next(ParagraphList::iterator)
7243
7244         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7245
7246         * text2.C (cursorTop): simplify implementation
7247         (cursorBottom): ditto
7248         (setParagraph): use ParagraphList::iterator
7249         (setCurrentFont): adjust
7250         (getColumnNearX): adjust
7251         (cursorRight): adjust
7252         (cursorLeft): remove usage of Paragraph::previous
7253         (cursorUpParagraph): ditto
7254         (deleteEmptyParagraphMechanism): slight cleanup
7255
7256         * text.C (isBoundary): take a Paragraph const & instead of a
7257         pointer as arg.
7258         (addressBreakPoint): ditto
7259         (leftMargin): remove usage of Paragraph::previous.
7260         (setHeightOfRow): ditto
7261         (cursorLeftOneWord): ditto
7262         (selectNextWordToSpellcheck): ditto
7263         (Delete): ditto
7264         (backspace): ditto
7265         (breakParagraph): remove one usage of Paragraph::next
7266         (redoParagraph): ditto
7267         (acceptChange): ditto
7268         (insertChar): adjust
7269         (rowBreakPoint): adjust
7270
7271         * bufferview_funcs.C (toggleAndShow): adjust
7272
7273 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7274
7275         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7276         methods to access it.
7277         * lyxtext.h:
7278         * text.C: Added updateRowPositions to compute all row positions.
7279         Make top_y and getRowNearY() to use the cached y position
7280
7281 2003-04-11  John Levon  <levon@movementarian.org>
7282
7283         * text.C (rowBreakPoint): reintroduce the labelEnd
7284         checks, code copied from the row fill stuff. Deep voodoo.
7285
7286         * text.C (fill): add a comment and debugging for the
7287         next poor soul.
7288
7289 2003-04-11  John Levon  <levon@movementarian.org>
7290
7291         * text.C: make sure fullrow insets get wrapped to the next line,
7292         even when they're in a manual label
7293
7294 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * text2.C (insertParagraph): make it take ParagraphList::iterator
7297         as arg.
7298         (setLayout): make it return ParagraphList::iterator
7299         (redoParagraphs): ditto
7300         (setCounter): ditto
7301         (checkParagraph): ditto
7302
7303         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7304
7305         * text2.C: adjust several funcs.
7306         (realizeFont): take a ParagraphList::iterator as arg.
7307         (getLayoutFont): ditto
7308         (getLabelFont): ditto
7309         (setCharFont): ditto
7310
7311         * text.C: adjust several funcs.
7312
7313 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7314
7315         * text.C (selectNextWordToSpellcheck): don't accidentally
7316         skip insets
7317
7318 2003-04-10  John Levon  <levon@movementarian.org>
7319
7320         * ToolbarBackend.C (getIcon): special handling for
7321         LFUN_MATH_DELIM
7322
7323 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7324
7325         * text2.C (cursorRight): a getChar assert fixed
7326
7327 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * text2.C (getFont): change to take a ParagraphList::iterator
7330         instead of Paragraph*
7331         Adjust several functions.
7332
7333         * text.C (transformChar): change to take a ParagraphList::iterator
7334         instead of Paragraph*
7335         (singleWidth): ditto
7336         Adjust several functions.
7337
7338         * rowpainter.C: adjust several functions
7339         * rowpainter.h:store a ParagraphList::iterator and not a
7340         Paragraph&.
7341
7342
7343 2003-04-09  John Levon  <levon@movementarian.org>
7344
7345         * lyxfunc.C:
7346         * lfuns.h:
7347         * LyXAction.h:
7348         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7349         and the "help" bits as well
7350
7351 2003-04-09  John Levon  <levon@movementarian.org>
7352
7353         * ToolbarBackend.h:
7354         * ToolbarBackend.C: allow multiple toolbars
7355
7356 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * undo_funcs.C (setCursorParUndo): adjust
7359
7360         * text_funcs.C (transposeChars): adjust
7361
7362         * text3.C (gotoNextInset): adjust
7363         (dispatch): adjust
7364
7365         * text2.C (setLayout): adjust
7366         (changeDepth): adjust
7367         (setFont): adjust
7368         (redoParagraphs): adjust
7369         (selectionAsString): adjust
7370         (setParagraph): adjust
7371         (insertInset): adjust
7372         (cutSelection): adjust
7373         (copySelection): adjust
7374         (pasteSelection): adjust
7375         (insertStringAsLines): adjust
7376         (updateInset): adjust
7377         (setCursor): change to take a ParagraphList::iterator parameter
7378         (setCursorIntern): change to take a ParagraphList::iterator parameter
7379         (setCurrentFont): adjust
7380         (cursorLeft): adjust
7381         (cursorRight): adjust
7382         (deleteEmptyParagraphMechanism): adjust
7383
7384         * text.C (breakParagraph): adjust
7385         (insertChar): adjust
7386         (acceptChange): adjust
7387         (rejectChange): adjust
7388         (selectNextWordToSpellcheck): adjust
7389         (changeCase): adjust
7390         (Delete): adjust
7391         (backspace): adjust
7392
7393         * lyxfind.C (SearchForward): adjust
7394         (SearchBackward): adjust
7395         (nextChange): adjust
7396
7397         * lyxcursor.C (par): adjust
7398
7399         * lyxcursor.h: store a ParagraphList::iterator instead of a
7400         Paragraph*
7401
7402         * lyx_cb.C (getPossibleLabel): adjust
7403
7404         * bufferview_funcs.C (toggleAndShow): adjust
7405
7406         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7407         (dispatch): adjust
7408
7409         * BufferView.C (removeAutoInsets): adjust
7410         (lockedInsetStoreUndo): adjust
7411
7412 2003-04-09  John Levon  <levon@movementarian.org>
7413
7414         * ToolbarBackend.C: try icon without argument
7415         if with argument fails
7416
7417 2003-04-08  John Levon  <levon@movementarian.org>
7418
7419         * ToolbarBackend.h:
7420         * ToolbarBackend.C: add getIcon(), handle tooltip,
7421         and change from "Icon" to "Item".
7422
7423 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7424
7425         * BufferView.C (lockInset): another bad getchar crunched
7426
7427 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7428
7429         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7430         again)
7431
7432 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * lyxfind.C (searchForward, searchBackwards): bug 782
7435
7436 2003-04-07  John Levon  <levon@movementarian.org>
7437
7438         * paragraph.C: remove dead comment
7439
7440         * text.C: remove troublesome depth-fiddling code
7441         in leftMargin() and rightMargin() (bug 1017)
7442
7443         * text.C: fix breaking of rows in nested lists
7444         (bug 1004)
7445
7446         * text2.C (updateCounters): fix up depth values
7447         (bug 1013)
7448
7449 2003-04-07  John Levon  <levon@movementarian.org>
7450
7451         * BufferView_pimpl.C: clear message when doc finishes resizing,
7452         and after a mouse event
7453
7454         * lyxfunc.C: clear message after exiting inset
7455
7456 2003-04-07  John Levon  <levon@movementarian.org>
7457
7458         * bufferview_funcs.C: show math status not outside
7459         status in the statusbar
7460
7461 2003-04-07  John Levon  <levon@movementarian.org>
7462
7463         * lyxfunc.C: note status changed after a depth change
7464
7465 2003-04-04  Angus Leeming  <leeming@lyx.org>
7466
7467         * LaTeX.h: move AuxInfo operator==, != out of line.
7468         Remove LaTeX virtual destructor; nothing derives from it.
7469         Move operator()() out of public area and rename it startscript().
7470         Change protected for private.
7471
7472 2003-04-04  Angus Leeming  <leeming@lyx.org>
7473
7474         * lyxfunc.C:
7475         * text2.C: remove unneeded #includes.
7476
7477 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7478
7479         * text2.C (dEPM): fix the heigth of the next row
7480
7481 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7482
7483         * text.C: squashed an invalid getChar requester + some ws changes
7484
7485 2003-04-03  John Levon  <levon@movementarian.org>
7486
7487         * bufferview_funcs.h:
7488         * bufferview_funcs.C:
7489         * lyxfunc.C:
7490         * lyxtext.h:
7491         * text2.C: make getStatus work for the env depth lfuns
7492
7493 2003-04-03  John Levon  <levon@movementarian.org>
7494
7495         * bufferview_funcs.h:
7496         * bufferview_funcs.C:
7497         * lyxfunc.C:
7498         * lyxtext.h:
7499         * text2.C: parlistize decDepth(), by merging it with incDepth()
7500
7501 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * lyxrow.h: store a ParagraphList::iterator instead of a
7504         Paragraph* and adjust other class functions to suit.
7505
7506         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7507         above.
7508
7509 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7510
7511         * text2.C (setCursor): do not anchor to cursor row for the time being
7512
7513 2003-04-02  John Levon  <levon@movementarian.org>
7514
7515         * LyXAction.C:
7516         * lfuns.h:
7517         * lyx_main.C:
7518         * lyxtext.h:
7519         * text.C:
7520         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7521
7522 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * paragraph.h: make ParagraphList and ParagraphList::iterator
7525         friends of Paragraph.
7526
7527         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7528
7529         * ParagraphList.C: Use the private next_ and previous_ from
7530         Paragraph.
7531
7532 2003-04-01  John Levon  <levon@movementarian.org>
7533
7534         * ToolbarBackend.h:
7535         * ToolbarBackend.C:
7536         * Makefile.am: rename, remove defaults gunk
7537
7538         * MenuBackend.h:
7539         * MenuBackend.C: remove defaults gunk
7540
7541         * Languages.h:
7542         * Languages.C: remove defaults gunk
7543
7544         * lyx_main.h:
7545         * lyx_main.C: error out if files couldn't be found.
7546
7547 2003-04-02  John Levon  <levon@movementarian.org>
7548
7549         * text2.C: make incDepth() use parlist
7550
7551 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * undo_funcs.C (firstUndoParagraph): adjust
7554
7555         * text3.C (gotoInset): adjust
7556         (dispatch): adjust, and rewrite loop.
7557
7558         * text2.C (init): adjust, and rewrite loop.
7559         (redoParagraphs): adjust
7560         (updateInset): adjust, and rewrite loop.
7561         (deleteEmptyParagraphMechanism): adjust
7562
7563         * tabular.C (LyXTabular): adjust
7564         (SetMultiColumn): adjust
7565         (TeXRow): adjust
7566
7567         * lyxtext.[Ch] (ownerParagraph): delete function
7568         (ownerParagraphs): new function returns a ParagraphList.
7569
7570         * BufferView.C (removeAutoInsets): adjust
7571         (insertErrors): adjust
7572         (setCursorFromRow): adjust
7573
7574 2003-04-01  Angus Leeming  <leeming@lyx.org>
7575
7576         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7577         in the frontends.
7578
7579 2003-04-02  John Levon  <levon@movementarian.org>
7580
7581         * lyxtext.h:
7582         * text.C:
7583         * Makefile.am:
7584         * text_funcs.h:
7585         * text_funcs.C: make transposeChars a free function
7586
7587         * lyxrow_funcs.C: remove wrong comment
7588
7589 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * lyxtext.h: adjust
7592         * rowpainter.C: adjust
7593         * text.C: adjust
7594         * text2.C: adjust
7595         * text3.C: adjust
7596
7597         * lyxrow_funcs. [Ch]: new files
7598
7599         * lyxrow.[Ch]: remove next and previous pointers
7600         (next,previous): remove accessor functions
7601         (isParEnd): move to lyxrow_funcs
7602         (lastPos): move to lyxrow_funcs
7603         (nextRowIsAllInset): move to lyxrow_funcs
7604         (lastPrintablePos): move to lyxrow_funcs
7605         (numberOfSeparators): move to lyxrow_funcs
7606         (numberOfHfills): move to lyxrow_funcs
7607         (numberOfLabelHfills): move to lyxrow_funcs
7608         (hfillExpansion): move to lyxrow_funcs
7609
7610         * lyxfunc.C: adjust
7611
7612         * bufferview_funcs.C (toggleAndShow): adjust
7613
7614         * RowList.h: Remove class RowList from file leave just a
7615         std::list<Row>.
7616
7617         * RowList.C: delete file
7618
7619         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7620         and lyxrow_funcs.h
7621
7622 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * text3.C (cursorPrevious): adjust
7625         (cursorNext): adjust
7626         (dispatch): adjust
7627
7628         * text2.C (redoHeightOfParagraph): adjust
7629         (redoDrawingOfParagraph): adjust
7630         (setCursor): adjust
7631
7632         * text.C (breakParagraph): adjust
7633         (insertChar): adjust
7634         (backspace): adjust
7635
7636         * rowpainter.C (RowPainter): adjust
7637         (leftMargin): simplify and adjust
7638         (most rowpainter functions): adjust.
7639
7640         * rowpainter.h: store the row as RowList::iterator not as Row*
7641
7642         * lyxcursor.C (row): taka RowList::iterator as arg
7643         (irow): ditto
7644
7645         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7646         of Row*.
7647
7648 2003-04-01  Angus Leeming  <leeming@lyx.org>
7649
7650         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7651         stuff like bool Bool.
7652
7653 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7654
7655         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7656         rewrite a loop
7657
7658 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7661         RowList::iterator.
7662
7663         * lyxtext.h (rows): drop one version and leve a const variant that
7664         returns a RowList::iterator.
7665
7666 2003-03-31  Angus Leeming  <leeming@lyx.org>
7667
7668         * text.C (fill): ensure that the signature is the same as that in the
7669         header file.
7670
7671 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * text2.C (redoParagraphs): adjust
7674         (updateCounters): adjust
7675         (checkParagraph): adjust
7676         (getColumnNearX): adjust and reformat a bit.
7677
7678         * text.C (top_y): adjust
7679         (workWidth): adjust
7680         (leftMargin): adjust
7681         (prepareToPrint): adjust
7682         (getRow): adjust
7683         (getRowNearY): adjust
7684
7685         * lyxtext.h: make rowlist_ mutable.
7686
7687         * RowList.h: add const_iterator
7688         * RowList.C: adjust for RowList::const_iterator.
7689
7690         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7691         adjust.
7692
7693 2003-03-31  John Levon  <levon@movementarian.org>
7694
7695         * lyxrc.h:
7696         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7697
7698         * lyx_main.C: set default fonts from using lyx_gui funcs
7699
7700         * exporter.C: pdf_mode moved from lyxrc
7701
7702         * lyx_cb.C:
7703         * lyxfunc.C: changes from above
7704
7705 2003-03-31  John Levon  <levon@movementarian.org>
7706
7707         * lyx_main.C: fix to the last fix
7708
7709 2003-03-31  John Levon  <levon@movementarian.org>
7710
7711         * bufferlist.C: "Load original" -> "Load Original"
7712
7713         * converter.C:
7714         * exporter.C:
7715         * importer.C:
7716         * lyx_main.C:
7717         * format.C: more Alert cleanups
7718
7719 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text2.C (removeParagraph): make it take a RowList::iterator as
7722         arg, adjust.
7723         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7724         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7725
7726         * text.C (anchor_row): make it take a RowList::iterator as arg,
7727         adjust.
7728         (computeBidiTables): make it take a const reference to Row instead
7729         of Row pointer, adjust.
7730         (leftMargin): make it take a RowList::iterator as arg, adjust.
7731         (rowBreakPoint): adjust
7732         (breakAgainOneRow): make it take a RowList::iterator as arg,
7733         adjust.
7734         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7735
7736         * bufferview_funcs.C (toggleAndShow): adjust
7737
7738 2003-03-30  John Levon  <levon@movementarian.org>
7739
7740         * Makefile.am:
7741         * BoostFormat.h:
7742         * boost-inst.C: moved to support
7743
7744         * several files: changes as a result
7745
7746 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * text2.C (LyXText): adjust.
7749         (init): adjust
7750         (removeRow): make it take a RowList::iterator as arg, adjust.
7751         (fullRebreak): adjust
7752         (deleteEmptyParagraphMechanism): adjust
7753         (clearPaint): adjust
7754         (postPaint): adjust
7755
7756         * text.C (top_y): adjust
7757         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7758         (breakAgain): make it take a RowList::iterator as arg, adjust.
7759         (breakParagraph): adjust
7760         (insertChar): adjust
7761         (backspace): adjust
7762
7763         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7764         need_break_row, and refresh_row.
7765
7766         * text3.C (dispatch): adjust
7767
7768         * text2.C (checkParagraph): adjust
7769         (setCursor): adjust
7770         (setCursorFromCoordinates): adjust
7771
7772         * text.C (top_y): adjust
7773         (workWidth): adjust
7774         (getRow): make it return a RowList::iterator, adjust
7775         (getRowNearY): make it return a RowList::iterator, adjust
7776
7777         * text2.C (init): adjust
7778         (insertRow): remove function
7779         (insertParagraph): adjust
7780         (redoParagraphs): adjust
7781         (fullRebreak): adjust
7782         (updateCounters): adjust
7783
7784         * text.C (top_y): rewrite to use RowList iterators.
7785         (top_y): adjust
7786         (setHeightOfRow): rewrite to sue RowList iterators.
7787         (appendParagraph): adjust
7788         (breakAgain): adjust
7789         (breakAgainOneRow): adjust
7790         (breakParagraph): adjust
7791         (getRow): adjust
7792         (getRowNearY): adjust, and remove commented code.
7793
7794         * lyxtext.h (firstRow): delete function
7795         (lastRow): delete function
7796         (rows): new function (const and non-const versions.)
7797         (insertRow): delete function
7798
7799         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7800
7801 2003-03-29  John Levon  <levon@movementarian.org>
7802
7803         * BufferView_pimpl.C: always update scrollbar top
7804         because pasting text when we're anchored could mean we
7805         miss an update altogether
7806
7807 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * text2.C (init): use rowlist_.end() and not 0.
7810         (insertRow): change to take a RowList::iterator as arg, adjust
7811         for this.
7812         (insertParagraph): change to take a RowList::iterator as arg,
7813         adjust for this.
7814         (redoParagraphs): remove some debug msgs.
7815
7816         * text.C (appendParagraph): change to take a RowList::iterator
7817         arg, adjust for this.
7818         (breakAgain): add an assert
7819         (breakAgainOneRow): ditto
7820
7821 2003-03-29  John Levon  <levon@movementarian.org>
7822
7823         * text2.C: do not clear selection after inc/decDepth
7824         (bug 550)
7825
7826 2003-03-29  John Levon  <levon@movementarian.org>
7827
7828         * BufferView.C:
7829         * buffer.C: fix broken strerrors according to Lars
7830
7831 2003-03-29  John Levon  <levon@movementarian.org>
7832
7833         * converters.C: more Alert cleanups
7834
7835 2003-03-29  John Levon  <levon@movementarian.org>
7836
7837         * bufferview_funcs.C: remove pointless Alert
7838
7839         * buffer.C: fix confusing error message when
7840         a template is chmoded 000
7841
7842 2003-03-29  John Levon  <levon@movementarian.org>
7843
7844         * BufferView.C:
7845         * BufferView.h:
7846         * BufferView_pimpl.C: Alert fixes
7847
7848         * Makefile.am:
7849         * tabular.C:
7850         * tabular-old.C: remove unused table compat reading
7851
7852 2003-03-29  John Levon  <levon@movementarian.org>
7853
7854         * BufferView.C:
7855         * buffer.C:
7856         * lyx_cb.h:
7857         * lyx_cb.C: more Alert cleanups
7858
7859         * lyxfunc.C: don't allow chktex if not latex document
7860
7861 2003-03-29  John Levon  <levon@movementarian.org>
7862
7863         * lyx_cb.C:
7864         * BufferView.C:
7865         * buffer.C: warnings pushed down from support/,
7866         kill err_alert
7867
7868 2003-03-29  John Levon  <levon@movementarian.org>
7869
7870         * lyxfunc.C: safety check for C-r (revert)
7871
7872 2003-03-29  John Levon  <levon@movementarian.org>
7873
7874         * bufferlist.h:
7875         * bufferlist.C: several UI fixes using Alert::prompt.
7876         Fix the pointless looping quit code. Fix stupid revert
7877         behaviour (bug 938)
7878
7879         * lyxvc.h:
7880         * lyxvc.C:
7881         * lyx_cb.C: use Alert::prompt
7882
7883         * lyx_main.C: remove a silly question
7884
7885         * lyxfunc.C: remove a couple of silly questions,
7886         use Alert::prompt
7887
7888 2003-03-28  John Levon  <levon@movementarian.org>
7889
7890         * text2.C: fix bug 974 (End on empty par)
7891
7892 2003-03-28  John Levon  <levon@movementarian.org>
7893
7894         * BufferView_pimpl.C:
7895         * LyXAction.C:
7896         * lfuns.h: remove do-nothing math greek lfuns
7897
7898 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * lyxgluelength.h (isValidGlueLength): add default arg on
7901         parameter 2. Remove default arg from friend in class.
7902
7903         * lyxlength.h (isValidLength): add default arg on parameter 2.
7904         Remove default arg from friend in class.
7905
7906         * text2.C (LyXText): adjust, initialize refresh_row.
7907         (init): adjust
7908         (removeRow): adjust
7909         (insertRow): adjust
7910         (insertParagraph): adjst
7911         (redoParagraphs): adjust
7912         (fullRebreak): adjust
7913         (updateCounters): adjust
7914         (deleteEmptyParagraphMechanism): first attempt at fixing a
7915         crashing bug.
7916
7917         * text.C (top_y): adjust
7918         (setHeightOfRow): adjust
7919         (getRow): adjust
7920         (getRowNearY): adjust
7921
7922         * lyxtext.h: include RowList.h
7923         (~LyXText): not needed anymore, deleted.
7924         (firstRow): modify for RowList
7925         (lastRow): new function
7926         Delete firstrow and lastrow class variables, add a Rowlist
7927         rowlist_ class variable.
7928
7929         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7930         paragraph is empty.
7931
7932         * RowList.C (insert): fix case where it == begin().
7933
7934 2003-03-26  Angus Leeming  <leeming@lyx.org>
7935
7936         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7937         the thesaurus dialog.
7938
7939 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7942
7943         * RowList.[Ch]: new files
7944
7945         * ParagraphList.C (erase): handle the case where it == begin
7946         correctly.
7947
7948 2003-03-25  John Levon  <levon@movementarian.org>
7949
7950         * Makefile.am:
7951         * aspell_local.h:
7952         * aspell.C: add new aspell support
7953
7954         * lyxrc.h:
7955         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7956         have it accessible.
7957
7958 2003-03-25  Angus Leeming  <leeming@lyx.org>
7959
7960         * lfuns.h:
7961         * LyXAction.C (init): new LFUN_INSET_INSERT.
7962
7963         * BufferView_pimpl.C (dispatch): split out part of the
7964         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7965
7966         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7967         LFUN_INSET_APPLY.
7968
7969 2003-03-25  Angus Leeming  <leeming@lyx.org>
7970
7971         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7972
7973 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7974
7975         * text2.C:
7976         * text3.C: remove useless row->height(0)
7977
7978 2003-03-25  John Levon  <levon@movementarian.org>
7979
7980         * lyxtext.h:
7981         * text2.C:
7982         * text3.C: rename the refreshing stuff to better names
7983
7984 2003-03-24  John Levon  <levon@movementarian.org>
7985
7986         * BufferView_pimpl.h:
7987         * BufferView_pimpl.C: update layout choice on a mouse
7988         press/release
7989
7990 2003-03-23  John Levon  <levon@movementarian.org>
7991
7992         * Makefile.am: fix commandtags.h reference
7993
7994 2003-03-22  John Levon  <levon@movementarian.org>
7995
7996         * BufferView_pimpl.C:
7997         * lyxtext.h:
7998         * rowpainter.C:
7999         * rowpainter.h:
8000         * text.C:
8001         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8002
8003 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8004
8005         * lyxtext.h:
8006         * text.C: take the rtl methods out of line
8007
8008 2003-03-21 André Pönitz <poenitz@gmx.net>
8009
8010         * metricsinfo.[Ch]: new files containing structures to be passed around
8011         during the two-phase-drawing...
8012
8013 2003-03-21 André Pönitz <poenitz@gmx.net>
8014
8015         * lyxtextclass.C: read 'environment' tag.
8016
8017 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * text2.C (removeRow): fix bug 964
8020
8021 2003-03-20  John Levon  <levon@movementarian.org>
8022
8023         * rowpainter.C:
8024         * text.C:
8025         * text2.C: paint cleanups. Inset::update() dropped font
8026         parameter
8027
8028 2003-03-19  John Levon  <levon@movementarian.org>
8029
8030         * lyxfunc.C: only fitcursor/markDirty if available()
8031
8032 2003-03-19  John Levon  <levon@movementarian.org>
8033
8034         * commandtags.h: rename to ...
8035
8036         * lfuns.h: ... this, and renumber / cleanup
8037
8038 2003-03-19  John Levon  <levon@movementarian.org>
8039
8040         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8041         fit the cursor after an lfun
8042
8043         * BufferView.h:
8044         * BufferView.C:
8045         * BufferView_pimpl.h:
8046         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8047
8048         * LyXAction.C: layout-character should have ReadOnly
8049
8050         * ParagraphParameters.C:
8051         * buffer.C:
8052         * bufferview_funcs.C:
8053         * lyx_cb.C:
8054         * lyxfind.C:
8055         * lyxtext.h:
8056         * text.C:
8057         * text2.C:
8058         * text3.C:
8059         * undo_funcs.C: changes from above
8060
8061 2003-03-18  John Levon  <levon@movementarian.org>
8062
8063         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8064         remove it from update()
8065
8066         * lyxfunc.C: update layout choice after an lfun
8067
8068         * text3.C: remove extra updateLayoutChoice()s
8069
8070 2003-03-18  John Levon  <levon@movementarian.org>
8071
8072         * text.C: top_y change means full repaint, fix
8073         a drawing bug with cursor movement
8074
8075 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8076
8077         * lyxtext.h:
8078         * text.C:
8079         * text2.C: anchor row on setCursor
8080
8081 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8082
8083         * lyxtext.h: remove almost all mutable keywords
8084         * text.C:
8085         * text2.C:
8086         * text3.C: remove const keywords accordingly
8087
8088 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8091         anon namespace
8092         (TeXEnvironment): ditto
8093         (TeXOnePar): ditto
8094
8095 2003-03-17  John Levon  <levon@movementarian.org>
8096
8097         * text.C (rowBreakPoint): remove attempt to fix displayed
8098         math insets inside a manual label
8099
8100 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * lyxtext.h: remove BufferView* as first arg from almost all class
8103         functions.
8104         * other files: adjust.
8105
8106 2003-03-17  John Levon  <levon@movementarian.org>
8107
8108         * lyxtext.h:
8109         * undo_funcs.C:
8110         * text2.C: more paint cleanups
8111
8112         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8113
8114         * rowpainter.h:
8115         * rowpainter.C: remove "smart" background painting code
8116
8117 2003-03-16  John Levon  <levon@movementarian.org>
8118
8119         * lyxtext.h:
8120         * text.C:
8121         * text2.C:
8122         * text3.C: add helper functions for setting refresh_row/y
8123
8124 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8125
8126         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8127         newline inset which *can* get inserted in the pass_thru layouts.
8128         This is primarily for literate documents.
8129
8130 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8131
8132         * buffer.C: increment LYX_FORMAT to 223
8133
8134 2003-03-14 André Pönitz <poenitz@gmx.net>
8135
8136         * textclass.h: prepare for environment handling, ws changes
8137         * lyxlayout.C: read latexheader and latexfooter tags
8138
8139 2003-03-14  John Levon  <levon@movementarian.org>
8140
8141         * text2.C: rewrite ::status() a bit
8142
8143 2003-03-13  John Levon  <levon@movementarian.org>
8144
8145         * lyxtext.h: add some docs
8146
8147 2003-03-13  John Levon  <levon@movementarian.org>
8148
8149         * lyxtext.h:
8150         * text.C:
8151         * text2.C:
8152         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8153
8154 2003-03-13  John Levon  <levon@movementarian.org>
8155
8156         * text3.C: fix appendix redrawing
8157
8158 2003-03-13  John Levon  <levon@movementarian.org>
8159
8160         * text.C (setHeightOfRow):
8161         * rowpainter.h:
8162         * rowpainter.C: make appendix mark have the text
8163           "Appendix" so the user knows what it is
8164
8165         * LColor.h:
8166         * LColor.C: s/appendixline/appendix/ from above
8167
8168 2003-03-13  John Levon  <levon@movementarian.org>
8169
8170         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8171
8172         * text.C: fix a getChar(pos) bug properly
8173
8174 2003-03-13  Angus Leeming  <leeming@lyx.org>
8175
8176         * commandtags.h:
8177         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8178         Probably only temporary. Let's see how things pan out.
8179
8180         * BufferView.C (unlockInset):
8181         * BufferView_pimpl.C (fitCursor):
8182         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8183
8184         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8185         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8186
8187         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8188         new functions that convert ParagraphParameters to and from a string.
8189
8190         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8191         BufferView::Pimpl's dispatch.
8192         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8193
8194 2003-03-13 André Pönitz <poenitz@gmx.net>
8195
8196         * lyxfunc.C:
8197         * text3.C:
8198         * factory.C: make it aware of InsetEnv
8199
8200 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * text2.C (setCursor): never ask for one past last
8203         (setCursor): add some debugging messages.
8204
8205         * text.C (singleWidth): never ask for one past last
8206         (singleWidth): ditto
8207         (leftMargin): ditto
8208         (rightMargin): ditto
8209         (rowBreakPoint): ditto
8210         (setHeightOfRow): ditto
8211         (prepareToPrint): ditto
8212
8213         * rowpainter.C (paintBackground): never ask for one past last
8214         (paintText): never ask for one past last
8215
8216         * paragraph_pimpl.C (getChar): make the assert stricter, never
8217         allow the one past last pos to be taken
8218
8219         * paragraph.C (getChar): ws changes only
8220
8221         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8222         (numberOfSeparators): ditto
8223         (numberOfHfills): ditto
8224
8225 2003-03-12  John Levon  <levon@movementarian.org>
8226
8227         * author.h:
8228         * author.C:
8229         * bufferparams.h:
8230         * bufferparams.C:
8231         * paragraph_funcs.C: fix per-buffer authorlists
8232
8233 2003-03-12  John Levon  <levon@movementarian.org>
8234
8235         * text.C: fix newline in right address
8236
8237 2003-03-12  Angus Leeming  <leeming@lyx.org>
8238
8239         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8240         duplicate those in LyXFunc::dispatch.
8241
8242         * commandtags.h:
8243         * LyXAction.C:
8244         * ToolbarDefaults.C:
8245         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8246         Add LFUN_FONTFREE_UPDATE.
8247
8248         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8249         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8250
8251         * bufferview_func.[Ch]: several new functions to facilliate
8252         transfer of data to and from the character dialog.
8253
8254 2003-03-12  John Levon  <levon@movementarian.org>
8255
8256         * buffer.C:
8257         * paragraph.h:
8258         * paragraph.C:
8259         * paragraph_funcs.C:
8260         * paragraph_pimpl.C:
8261         * sgml.C:
8262         * tabular.C:
8263         * text.C:
8264         * text3.C: remove META_NEWLINE in favour of an inset
8265
8266         * rowpainter.h:
8267         * rowpainter.C: remove paintNewline (done by inset)
8268
8269 2003-03-12  John Levon  <levon@movementarian.org>
8270
8271         * paragraph_pimpl.C: complain about bad getChar()s
8272         for a while at least
8273
8274 2003-03-12  John Levon  <levon@movementarian.org>
8275
8276         * buffer.h:
8277         * buffer.C: move paragraph read into a separate function,
8278         a little renaming to reflect that.
8279
8280         * bufferparams.h:
8281         * bufferparams.C: remove the author_ids map, not necessary now
8282
8283         * factory.h:
8284         * factory.C: moved Buffer::readInset to here
8285
8286         * paragraph_funcs.h:
8287         * paragraph_funcs.C: readParagraph free function moved from
8288         buffer.C
8289
8290         * tabular.C: name change
8291
8292 2003-03-12  John Levon  <levon@movementarian.org>
8293
8294         * buffer.C:
8295         * ParagraphParameters.C: move par params input to
8296         a read() method
8297
8298         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8299         behave like a normal read from the stream wrt reading
8300         a line vs. a \\token
8301
8302 2003-03-12  John Levon  <levon@movementarian.org>
8303
8304         * paragraph.C:
8305         * ParagraphParameters.h:
8306         * ParagraphParameters.C: move output code to a
8307         ::write() method
8308
8309 2003-03-12  John Levon  <levon@movementarian.org>
8310
8311         * BufferView.C (insertLyXFile):
8312         * buffer.h:
8313         * buffer.C:
8314         * tabular.C: use a parlist iterator for creating the
8315           document.
8316
8317 2003-03-12  John Levon  <levon@movementarian.org>
8318
8319         * buffer.C: make current_change static local not
8320           static file-scope
8321
8322 2003-03-12  John Levon  <levon@movementarian.org>
8323
8324         * buffer.C: fix insertStringAsLines for change tracking
8325
8326 2003-03-12  John Levon  <levon@movementarian.org>
8327
8328         * BufferView.C:
8329         * tabular.C:
8330         * buffer.h:
8331         * buffer.C:
8332         * bufferparams.h:
8333         * bufferparams.C: move author list into params. Rename some
8334           functions. Move the header reading into a separate token
8335           loop. Move the header token reading into BufferParams.
8336
8337 2003-03-12  John Levon  <levon@movementarian.org>
8338
8339         * changes.C: put debug inside lyxerr.debugging() checks
8340
8341 2003-03-11 André Pönitz <poenitz@gmx.net>
8342
8343         * factory.C: make it aware of InsetHFill
8344
8345 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8346
8347         * buffer.C (latexParagraphs): move function from here...
8348         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8349         args.
8350
8351 2003-03-10  Angus Leeming  <leeming@lyx.org>
8352
8353         * LyXAction.C (init): fix bug in poplating array with multiple entries
8354         with the same LFUN (spotted by JMarc).
8355
8356 2003-03-10  John Levon  <levon@movementarian.org>
8357
8358         * text.C:
8359         * text2.C: move getColumnNearX() near its
8360         only call site
8361
8362 2003-03-10  John Levon  <levon@movementarian.org>
8363
8364         * text.C: fix break before a minipage
8365
8366 2003-03-10  John Levon  <levon@movementarian.org>
8367
8368         * text.C: fix the last commit
8369
8370 2003-03-09  John Levon  <levon@movementarian.org>
8371
8372         * lyxtext.h:
8373         * text.C:
8374         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8375         bug 365 (don't break before insets unless needed). Don't
8376         return a value > last under any circumstances.
8377
8378 2003-03-09  Angus Leeming  <leeming@lyx.org>
8379
8380         * BufferView_pimpl.C (trackChanges, dispatch): call
8381         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8382
8383 2003-03-09  Angus Leeming  <leeming@lyx.org>
8384
8385         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8386         than Dialogs::showAboutlyx().
8387
8388 2003-03-09  Angus Leeming  <leeming@lyx.org>
8389
8390         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8391         than Dialogs::showTabularCreate().
8392
8393 2003-03-09  John Levon  <levon@movementarian.org>
8394
8395         * lyxtext.h:
8396         * text.C:
8397         * text2.C: 3rd arg to nextBreakPoint was always the same.
8398           Use references.
8399
8400 2003-03-08  John Levon  <levon@movementarian.org>
8401
8402         * lyxrow.C:
8403         * paragraph.C:
8404         * paragraph.h:
8405         * rowpainter.C:
8406         * text.C:
8407         * text2.C: Remove the "main" bit from the "main body"
8408           notion.
8409
8410 2003-03-08  John Levon  <levon@movementarian.org>
8411
8412         * text.C (leftMargin): The left margin of an empty
8413         manual label paragraph should not include the label width
8414         string length.
8415
8416         * text.C (prepareToPrint): don't attempt to measure hfills
8417         for empty manual label paragraphs - the answer should be 0
8418
8419 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * CutAndPaste.C: remove commented code and reindent.
8422
8423 2003-03-08  John Levon  <levon@movementarian.org>
8424
8425         * lyxfunc.h:
8426         * lyxfunc.C: move reloadBuffer()
8427
8428         * BufferView.h:
8429         * BufferView.C: to here
8430
8431         * lyxvc.C: add comment
8432
8433         * vc-backend.h:
8434         * vc-backend.C: call bv->reload() to avoid
8435           getStatus() check on MENURELOAD
8436
8437 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8438
8439         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8440         to an old format .dep file.
8441
8442 2003-03-07  Angus Leeming  <leeming@lyx.org>
8443
8444         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8445         when the LFUN_MOUSE_RELEASE should have been handled by
8446         inset->localDispatch.
8447
8448 2003-03-07  Angus Leeming  <leeming@lyx.org>
8449
8450         * BufferView_pimpl.C (dispatch):
8451         * LyXAction.C (init):
8452         * ToolbarDefaults.C (init):
8453         * commandtags.h:
8454         * lyxfunc.C (getStatus):
8455         remove LFUN_INSET_GRAPHICS.
8456
8457         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8458
8459 2003-03-07  Angus Leeming  <leeming@lyx.org>
8460
8461         * commandtags.h:
8462         * LyXAction.C (init):
8463         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8464
8465         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8466
8467         * commandtags.h:
8468         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8469
8470         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8471         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8472
8473 2003-03-07  Angus Leeming  <leeming@lyx.org>
8474
8475         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8476         remove "ert".
8477
8478 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * ParagraphList.C (front): new function
8481         (back): implement
8482
8483 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8484
8485         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8486         and top_row_offset_. removed var first_y.
8487         * text.C (top_y):
8488         * text2.C (LyXText, removeRow):
8489         * text3.C:
8490         * BufferView_pimpl.C:
8491         use these methods instead of using first_y
8492
8493 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * text2.C (pasteSelection): adjust for checkPastePossible
8496
8497         * CutAndPaste.C: remove Paragraph * buf and replace with
8498         ParagraphList paragraphs.
8499         (DeleteBuffer): delete
8500         (cutSelection): change the tc type to textclass_type
8501         (copySelection): change the tc type to textclass_type
8502         (copySelection): adjust for ParagraphList
8503         (pasteSelection): change the tc type to textclass_type
8504         (pasteSelection): adjust for Paragraphlist
8505         (nrOfParagraphs): simplify for ParagraphList
8506         (checkPastePossible): simplify for ParagraphList
8507         (checkPastePossible): remove unused arg
8508
8509         * ParagraphList.C (insert): handle the case where there are no
8510         paragraphs yet.
8511
8512         * CutAndPaste.h: make CutAndPaste a namespace.
8513
8514         * text3.C (dispatch): adjust
8515
8516         * text.C (breakParagraph): add a ParagraphList as arg
8517
8518         * paragraph_funcs.C (breakParagraph): change to take a
8519         BufferParams and a ParagraphList as args.
8520         (breakParagraphConservative): ditto
8521         (mergeParagraph): ditto
8522         (TeXDeeper): add a ParagraphList arg
8523         (TeXEnvironment): ditto
8524         (TeXOnePar): ditto
8525
8526         * buffer.C (readLyXformat2): adjust
8527         (insertStringAsLines): adjust
8528         (latexParagraphs): adjust
8529
8530         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8531         (cutSelection): adjust
8532         (pasteSelection): adjust
8533
8534         * BufferView_pimpl.C (insertInset): adjust
8535
8536 2003-03-05  Angus Leeming  <leeming@lyx.org>
8537
8538         * commandtags.h:
8539         * LyXAction.C (init):
8540         * BufferView_pimpl.C (dispatch):
8541         * lyxfunc.C (getStatus):
8542         remove LFUN_CHILD_INSERT.
8543
8544         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8545
8546 2003-03-05  Angus Leeming  <leeming@lyx.org>
8547
8548         * commandtags.h:
8549         * LyXAction.C (init):
8550         * src/factory.C (createInset):
8551         * lyxfunc.C (getStatus):
8552         * text3.C (dispatch):
8553         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8554
8555         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8556
8557 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * ParagraphList.C (insert): handle insert right before end()
8560         (erase): fix cases where it can be first or last paragraph.
8561
8562 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8563
8564         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8565         Paragraph::next and Paragraph::previous
8566         (TeXOnePar): ditto
8567
8568         * text.C (breakParagraph): adjust
8569
8570         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8571         BufferParams& as arg.
8572         (breakParagraph): use ParagraphList::insert
8573         (breakParagraphConservative): take a Buffer* instead of a
8574         BufferParams& as arg.
8575         (breakParagraphConservative): use ParagraphList::insert.
8576
8577         * buffer.C (insertStringAsLines): un-const it
8578         (insertStringAsLines): adjust
8579
8580         * ParagraphList.C (insert): new function
8581
8582         * CutAndPaste.C (pasteSelection): adjust
8583
8584         * text.C (backspace): adjust
8585
8586         * tabular.C (SetMultiColumn): adjust
8587
8588         * CutAndPaste.C (cutSelection): adjust
8589         (pasteSelection): adjust
8590
8591         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8592         Buffer const * as arg
8593
8594         * ParagraphList.C (erase): new function
8595         * paragraph_funcs.C (mergeParagraph): use it
8596         (mergeParagraph): make it take a Buffer* instead of a
8597         BufferParams* as arg
8598
8599         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8600         as arg
8601         (breakParagraphConservative): ditto
8602
8603         * paragraph.h: remove the breakParagraph friend
8604
8605         * paragraph.C (eraseIntern): new function
8606         (setChange): new function
8607
8608         * paragraph_funcs.C (mergeParagraph): make it take a
8609         ParagraphList::iterator instead of a Paragraph *, adjust
8610         accordingly.
8611
8612         * paragraph.h: move an #endif so that the change tracking stuff
8613         also works in the NO_NEXT case.
8614
8615 2003-03-04  Angus Leeming  <leeming@lyx.org>
8616
8617         * commandtags.h:
8618         * LyXAction.C: new LFUN_INSET_MODIFY.
8619
8620         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8621         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8622
8623 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * several files: ws changes only
8626
8627         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8628         (TeXEnvironment): ditto
8629         (TeXDeeper): ditto
8630
8631         * buffer.C (makeLaTeXFile): adjust
8632         (latexParagraphs): make it take ParagraphList::iterator as args
8633
8634 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * buffer.C (latexParagraphs): adjust
8637
8638         * paragraph.C (TeXOnePar): move function...
8639         (optArgInset): move function...
8640         (TeXEnvironment): move function...
8641         * paragraph_pimpl.C (TeXDeeper): move function...
8642         * paragraph_funcs.C: ...here
8643
8644         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8645
8646 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * buffer.C (readInset): remove compability code for old Figure and
8649         InsetInfo insets
8650
8651 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * buffer.C: ws changes
8654         (readInset):
8655
8656         * BufferView_pimpl.C: ditto
8657         * author.C: ditto
8658         * buffer.h: ditto
8659         * bufferlist.h: ditto
8660         * changes.h: ditto
8661         * lyxfunc.C: ditto
8662
8663 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8664
8665         * converter.[Ch]: split into itself +
8666         * graph.[Ch]
8667         * format.[Ch]
8668         * Makefile.am: += graph.[Ch] + format.[Ch]
8669         * MenuBackend.C
8670         * buffer.C
8671         * exporter.C
8672         * importer.C
8673         * lyx_main.C
8674         * lyxfunc.C
8675         * lyxrc.C: added #include "format.h"
8676
8677 2003-02-27  Angus Leeming  <leeming@lyx.org>
8678
8679         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8680           a label.
8681
8682         * factory.C (createInset): add "label" to the factory.
8683
8684         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8685           string and do no more.
8686
8687 2003-02-27  Angus Leeming  <leeming@lyx.org>
8688
8689         * commandtags.h:
8690         * LyXAction.C (init):
8691         * factory.C (createInset):
8692         * BufferView_pimpl.C (dispatch):
8693           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8694
8695         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8696
8697         * lyxfunc.C (dispatch):
8698         * text3.C (dispatch): pass name to params2string.
8699
8700 2003-02-26  Angus Leeming  <leeming@lyx.org>
8701
8702         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8703           blocks together.
8704           Rearrange the ~includes. Strip out the unnecessary ones.
8705
8706         * factory.C (createInset): reformat.
8707           create new insets for the various LFUN_XYZ_APPLY lfuns.
8708
8709 2003-02-26  John Levon  <levon@movementarian.org>
8710
8711         * lyxrow.h:
8712         * lyxrow.C: add isParStart,isParEnd helpers
8713
8714         * paragraph.h: make isInserted/DeletedText take refs
8715
8716         * paragraph_funcs.h:
8717         * paragraph_funcs.C: remove #if 0'd code
8718
8719         * lyxtext.h:
8720         * text3.C:
8721         * text2.C:
8722         * text.C: use lyxrow helpers above.
8723           Move draw and paint routines to RowPainter.
8724           Make several methods use refs not pointers.
8725           Make backgroundColor() const.
8726           Add markChangeInDraw(), isInInset().
8727           Merge changeRegionCase into changeCase.
8728           Make workWidth() shouldn't-happen code into an Assert.
8729
8730         * rowpainter.h:
8731         * rowpainter.C: new class for painting a row.
8732
8733         * vspace.h:
8734         * vspace.C: make inPixels take a ref
8735
8736 2003-02-26  Angus Leeming  <leeming@lyx.org>
8737
8738         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8739         LFUN_REF_APPLY.
8740
8741 2003-02-25  John Levon  <levon@movementarian.org>
8742
8743         * ispell.C: give the forked command a more accurate name
8744
8745 2003-02-22  John Levon  <levon@movementarian.org>
8746
8747         * toc.h:
8748         * toc.C: make TocItem store an id not a Paragraph *
8749           (bug #913)
8750
8751 2003-02-21  Angus Leeming  <leeming@lyx.org>
8752
8753         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8754           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8755           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8756           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8757           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8758           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8759
8760         * BufferView_pimpl.C (dispatch):
8761         * LyXAction.C (init):
8762         * factory.C (createInset):
8763         * lyxfunc.C (getStatus, dispatch):
8764         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8765
8766 2003-02-21  Angus Leeming  <leeming@lyx.org>
8767
8768         * BufferView_pimpl.C (MenuInsertLyXFile):
8769         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8770         * lyxfunc.C (menuNew, open, doImport):
8771           no longer pass a LyXView & to fileDlg.
8772
8773 2003-02-21  Angus Leeming  <leeming@lyx.org>
8774
8775         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8776         * LyXAction.C: change, BIBKEY to BIBITEM.
8777         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8778         Change InsetBibKey to InsetBibitem.
8779         Change BIBKEY_CODE to BIBITEM_CODE.
8780         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8781         * factory.C: replace insetbib.h with insetbibitem.h.
8782         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8783         * paragraph.C: replace insetbib.h with insetbibitem.h.
8784         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8785         Change bibkey() to bibitem().
8786         * text.C: remove insetbib.h.
8787         * text2.C: replace insetbib.h with insetbibitem.h.
8788         change bibkey() to bibitem().
8789         * text3.C: remove insetbib.h.
8790         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8791
8792 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8793
8794         * lyxrc.C (output): enclose user email in quotes (in case there are
8795         several words)
8796
8797 2003-02-18  John Levon  <levon@movementarian.org>
8798
8799         * buffer.h: add std::
8800
8801 2003-02-17  John Levon  <levon@movementarian.org>
8802
8803         * SpellBase.h:
8804         * ispell.h:
8805         * ispell.C:
8806         * pspell.h:
8807         * pspell.C: reworking. Especially in ispell, a large
8808           number of clean ups and bug fixes.
8809
8810         * lyxfunc.C: fix revert to behave sensibly
8811
8812 2003-02-17 André Pönitz <poenitz@gmx.net>
8813
8814         * LyXAction.C:
8815         * commandtags.h: new LFUN_INSERT_BIBKEY
8816
8817         * layout.h:
8818         * lyxlayout.C:
8819         * buffer.C:
8820         * factory.C:
8821         * text.C:
8822         * text2.C:
8823         * text3.C:
8824         * paragraph.[Ch]:
8825         * paragraph_func.C: remove special bibkey handling
8826
8827 2003-02-17  John Levon  <levon@movementarian.org>
8828
8829         * text.C (Delete): fix case where delete at the end of
8830           the very first paragraph would not merge the pars
8831
8832 2003-02-17  John Levon  <levon@movementarian.org>
8833
8834         * lyxrow.C: fix lastPrintablePos()
8835
8836 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * bufferparams.C (writeLaTeX): add a std:here
8839
8840         * buffer.C: and remove a using directive there
8841
8842 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * buffer.C (makeLaTeXFile): move the code that generates the
8845           preamble...
8846
8847         * bufferparams.C (writeLaTeX): ... in this new method
8848
8849         * LaTeXFeatures.C (getEncodingSet): make const
8850           (getLanguages): make const
8851
8852         * MenuBackend.C (binding): returns the binding associated to this
8853           action
8854           (add): sets the status of each item by calling getStatus. Adds
8855           some intelligence.
8856           (read): add support for OptSubMenu
8857           (expand): remove extra separator at the end of expanded menu
8858
8859 2003-02-15  John Levon  <levon@movementarian.org>
8860
8861         * BufferView.C:
8862         * BufferView_pimpl.C:
8863         * bufferlist.h:
8864         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8865           inset code that had no actual effect. Remove unneeded status
8866           code.
8867
8868 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8869
8870         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8871           in preamble
8872
8873 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8874
8875         * text.C (drawLengthMarker): also draw an arrow marker for
8876           symbolic lengths (medskip...)
8877
8878 2003-02-14  John Levon  <levon@movementarian.org>
8879
8880         * tabular.h:
8881         * tabular.C: better method names
8882
8883 2003-02-14  John Levon  <levon@movementarian.org>
8884
8885         * BufferView_pimpl.C:
8886         * bufferlist.C:
8887         * buffer.C:
8888         * converter.C:
8889         * lyx_cb.C:
8890         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8891           it's a more accurate name. Remove some pointless uses.
8892
8893 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8894
8895         * text2.C (LyXText): change order of initilizers to shut off
8896           warnings
8897
8898 2003-02-14  John Levon  <levon@movementarian.org>
8899
8900         * buffer.C: use ParIterator for getParFromID()
8901
8902         * paragraph.h:
8903         * paragraph.C:
8904         * paragraph_pimpl.h:
8905         * paragraph_pimpl.C: remove unused getParFromID()
8906
8907 2003-02-14  John Levon  <levon@movementarian.org>
8908
8909         * buffer.C: remove some very old #if 0'd parse code
8910
8911 2003-02-13  John Levon  <levon@movementarian.org>
8912
8913         * text.h:
8914         * text.C:
8915         * text2.C: move hfillExpansion(), numberOfSeparators(),
8916           rowLast(), rowLastPrintable(), numberofHfills(),
8917           numberOfLabelHfills() ...
8918
8919         * lyxrow.h:
8920         * lyxrow.C: ... to member functions here.
8921
8922         * paragraph.h:
8923         * paragraph.C:
8924         * lyxtext.h:
8925         * text.C: remove LyXText::beginningOfMainBody(), and call
8926           p->beginningOfMainBody() directly. Move the check for
8927           LABEL_MANUAL into the latter.
8928
8929         * text.h:
8930         * text.C:
8931         * text2.C:
8932         * vspace.C:
8933         * BufferView.h:
8934         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8935
8936         * text.h:
8937         * text.C:
8938         * text2.C:
8939         * text3.C:
8940         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8941           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8942
8943 2003-02-13  John Levon  <levon@movementarian.org>
8944
8945         * CutAndPaste.C: remove debug
8946
8947 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * paragraph.C (asString): remove two unused variables
8950
8951         * lyxtextclass.C (readTitleType):
8952           (Read):
8953           (LyXTextClass): handle new members titletype_ and titlename_
8954
8955         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8956
8957 2003-02-09  John Levon  <levon@movementarian.org>
8958
8959         * buffer.h:
8960         * buffer.C: replace hand-coded list with a map for the dep clean
8961
8962 2003-02-08  John Levon  <levon@movementarian.org>
8963
8964         * LaTeX.C: consolidate code into showRunMessage() helper
8965
8966 2003-02-08  John Levon  <levon@movementarian.org>
8967
8968         * lyxfind.C:
8969         * lyxtext.h:
8970         * text2.C:
8971         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8972           and pass the size in explicitly
8973
8974         * BufferView_pimpl.h:
8975         * BufferView_pimpl.C:
8976         * BufferView.h:
8977         * BufferView.C: add getCurrentChange()
8978
8979         * BufferView_pimpl.h:
8980         * BufferView_pimpl.C: handle change lfuns
8981
8982         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8983           for changes. Mark pasted paragraphs as new.
8984
8985         * support/lyxtime.h:
8986         * support/lyxtime.C:
8987         * DepTable.C: abstract time_t as lyx::time_type
8988
8989         * LColor.h:
8990         * LColor.C: add colours for new text, deleted text, changebars
8991
8992         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8993           package use "usenames" option.
8994
8995         * commandtags.h:
8996         * lyxfunc.C:
8997         * LyXAction.C: add change lfuns
8998
8999         * Makefile.am:
9000         * author.h:
9001         * author.C: author handling
9002
9003         * buffer.h:
9004         * buffer.C: add a per-buffer author list, with first entry as
9005           current author. Handle new .lyx tokens for change tracking. Output
9006           author list to .lyx file. Output dvipost stuff to .tex preamble.
9007           Bump lyx format to 222.
9008
9009         * bufferlist.h:
9010         * bufferlist.C: add setCurrentAuthor() to reset current author details
9011           in all buffers.
9012
9013         * bufferparams.h:
9014         * bufferparams.C: add param for tracking
9015
9016         * bufferview_funcs.C: output change info in minibuffer
9017
9018         * Makefile.am:
9019         * changes.h:
9020         * changes.C: add change-tracking structure
9021
9022         * debug.h:
9023         * debug.C: add CHANGES debug flag
9024
9025         * lyxfind.h:
9026         * lyxfind.C: add code for finding the next change piece
9027
9028         * lyxrc.h:
9029         * lyxrc.C: add user_name and user_email
9030
9031         * lyxrow.h:
9032         * lyxrow.C: add a metric for the top of the text line
9033
9034         * lyxtext.h:
9035         * text.C: implement accept/rejectChange()
9036
9037         * lyxtext.h:
9038         * text.C: paint changebars. Paint new/deleted text in the chosen
9039         colours. Strike through deleted text.
9040
9041         * paragraph.h:
9042         * paragraph.C:
9043         * paragraph_pimpl.h:
9044         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9045           in the current change to the insert functions. Rework erase to
9046           mark text as deleted, adding an eraseIntern() and a range-based
9047           erase(). Implement per-paragraph change lookup and
9048           accept/reject.
9049
9050         * paragraph_funcs.C: Fixup paste for change tracking.
9051
9052         * tabular.C: mark added row/columns as new.
9053
9054         * text.C: fix rowLast() to never return -1. Don't allow
9055           spellchecking of deleted text. Track transpose changes. Don't
9056           allow paragraph break or merge where appropriate.
9057
9058         * text2.C: leave cursor at end of selection after a cut.
9059
9060 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9061
9062         * text.C (getLengthMarkerHeight):
9063         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9064         visible on screen too.
9065
9066 2003-02-07  John Levon  <levon@movementarian.org>
9067
9068         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9069
9070 2003-02-05  Angus Leeming  <leeming@lyx.org>
9071
9072         * lyxserver.C (read_ready): revert my patch of 11 September last year
9073         as it sends PC cpu through the roof. Presumably this means that
9074         the lyxserver will no longer run on an Alpha...
9075
9076 2003-01-30  Angus Leeming  <leeming@lyx.org>
9077
9078         * factory.C (createInset): create an InsetCommandParam of type "index"
9079         and use it to 'do the right thing'.
9080
9081         * text2.C (getStringToIndex): ensure that cursor position is always
9082         reset to the reset_cursor position.
9083
9084 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9085
9086         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9087         disabled.
9088
9089 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9090
9091         * bufferview.C:
9092         * lyxcb.C:
9093         * lyxfunc.C: Output messages with identical spelling, punctuation,
9094         and spaces
9095
9096 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9097
9098         * MenuBackend.C (expandFormats): List only viewable export formats
9099         in "View" menu
9100
9101         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9102         message
9103
9104         * lyxfunc.C (getStatus): Make sure that formats other than
9105         "fax" can also be disabled
9106
9107 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9108
9109         * text3.C (dispatch): put the lfuns that insert insets in 3
9110         groups, and call doInsertInset with appropriate arguments.
9111         (doInsertInset): new function, that creates an inset and inserts
9112         it according to some boolean parameters.
9113
9114 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9115
9116         * buffer.C (readFile): remember to pass on 'par' when calling
9117         readFile recursively.
9118
9119 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * MenuBackend.C (expandFormats): add "..." to import formats.
9122
9123 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9124
9125         * paragraph.C (asString): Remove XForms RTL hacks.
9126
9127 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9128         * buffer.C: fix typo
9129
9130 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9131
9132         * Makefile.am (LIBS): delete var
9133         (lyx_LDADD): add @LIBS@ here instead.
9134
9135 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9136
9137         * Clarify the meaning of "wheel mouse jump"
9138
9139 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9140
9141         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9142         tabular in a float
9143
9144 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9145
9146         * importer.C (Loaders): do not preallocate 3 elements in the
9147         vector, since one ends up with 6 elements otherwise
9148
9149 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9150
9151         * DepTable.C (write): write the file name as last element of the
9152         .dep file (because it may contain spaces)
9153         (read): read info in the right order
9154
9155 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9156
9157         * paragraph_pimpl.C (simpleTeXBlanks):
9158         (simpleTeXSpecialChars):
9159         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9160
9161         * tabular.C (latex): add some missing case statements. Reindent.
9162
9163         * MenuBackend.C (expandToc): remove unused variable.
9164
9165 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9166
9167         * LColor.C:
9168         * LaTeX.C:
9169         * LyXAction.C:
9170         * MenuBackend.C:
9171         * buffer.C:
9172         * exporter.C:
9173         * lyxfunc.C:
9174         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9175         and the like.
9176
9177 2003-01-05  John Levon  <levon@movementarian.org>
9178
9179         * BufferView.h:
9180         * BufferView.C: add getEncoding()
9181
9182         * kbsequence.h:
9183         * kbsequence.C: do not store last keypress
9184
9185         * lyxfunc.h:
9186         * lyxfunc.C: store last keypress here instead. Pass encoding
9187           to getISOEncoded()
9188
9189 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9190
9191         * lyx_main.C (init): remove annoying error message when following
9192         symbolic links (bug #780)
9193
9194 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9195
9196         * text.C (insertChar):
9197         * lyxrc.C (getDescription): remove extra spaces
9198
9199 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9200
9201         * lyxrc.C (getDescription): remove extra spaces
9202
9203 2002-12-20  John Levon  <levon@movementarian.org>
9204
9205         * text3.C: hack fix for page up/down across tall rows
9206
9207 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9208
9209         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9210         not been invoked
9211
9212 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9213
9214         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9215         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9216         thesaurus is not compiled in
9217
9218 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9219
9220         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9221
9222 2002-12-16  Angus Leeming  <leeming@lyx.org>
9223
9224         * lyxrc.[Ch]:
9225         * lyx_main.C (init): remove override_x_deadkeys stuff.
9226
9227 2002-12-12  John Levon  <levon@movementarian.org>
9228
9229         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9230           insert. Only remove shift modifier under strict
9231           circumstances.
9232
9233 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9234
9235         * MenuBackend.C (expandToc): fix crash.
9236
9237 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9238
9239         * MenuBackend.C (expandToc): gettext on float names.
9240
9241 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9242
9243         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9244         implement bool empty() [bug 490]
9245
9246 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9247
9248         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9249
9250 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * several files: ws changes
9253
9254 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * text2.C (setCounter): clean up a bit, use boost.format.
9257         (updateCounters): initialize par upon declaration.
9258
9259         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9260         if the layout exists. We do not just store the layout any more.
9261         (SwitchLayoutsBetweenClasses): use boost.format
9262
9263 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9264
9265         * converter.C (convert): if from and to files are the same, use a
9266         temporary files as intermediary
9267
9268 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9269
9270         * commandtags.h:
9271         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9272
9273 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9274
9275         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9276
9277 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * tabular.C (asciiPrintCell): use string(size, char) instead of
9280         explicit loop.
9281
9282         * sgml.C (openTag): fix order of arguments to string constructor
9283         (closeTag): ditto
9284
9285         * lyxfunc.C (dispatch): use boost.format
9286
9287         * lots of files: change "c" -> 'c'
9288
9289 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9290
9291         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9292
9293 2002-11-25  Angus Leeming  <leeming@lyx.org>
9294
9295         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9296
9297         * lyx_main.C (init): compile fix.
9298
9299 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9300
9301         * lyx_cb.C (start): boost.formatify
9302         do not include <iostream>
9303
9304         * lengthcommon.C: ws only
9305
9306         * boost-inst.C,BoostFormat.h: add more explict instantations
9307
9308 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * lots of files: handle USE_BOOST_FORMAT
9311
9312 2002-11-21  John Levon  <levon@movementarian.org>
9313
9314         * pspell.C: fix compile
9315
9316 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9317
9318         * lyxfunc.C (dispatch): use boost::format
9319         (open): ditto
9320         (doImport): ditto
9321
9322         * lyxfont.C (stateText): use boost::format
9323
9324         * lyx_main.C (LyX): use boost::format
9325         (init): ditto
9326         (queryUserLyXDir): ditto
9327         (readRcFile): ditto
9328         (parse_dbg): ditto
9329         (typedef boost::function): use the recommened syntax.
9330
9331         * importer.C (Import): use boost::format
9332
9333         * debug.C (showLevel): use boost::format
9334
9335         * converter.C (view): use boost::format
9336         (convert): ditto
9337         (move): ditto
9338         (scanLog): ditto
9339
9340         * bufferview_funcs.C (currentState): use boost::format
9341
9342         * bufferlist.C (emergencyWrite): use boost::format
9343
9344         * buffer.C (readLyXformat2): use boost::format
9345         (parseSingleLyXformat2Token): ditto
9346
9347         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9348
9349         * LaTeX.C (run): use boost::format
9350
9351         * Chktex.C (scanLogFile): use boost::format
9352
9353         * BufferView_pimpl.C (savePosition): use boost::format
9354         (restorePosition): ditto
9355         (MenuInsertLyXFile): ditto
9356
9357         * BoostFormat.h: help file for explicit instation.
9358
9359 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9360
9361         * tabular.C (latex): Support for block alignment in fixed width
9362         columns.
9363
9364 2002-11-17  John Levon  <levon@movementarian.org>
9365
9366         * BufferView_pimpl.C:
9367         * lyx_cb.C:
9368         * lyxfunc.C: split filedialog into open/save
9369
9370 2002-11-08  Juergen Vigna  <jug@sad.it>
9371
9372         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9373         by my last patch (hopefully).
9374
9375 2002-11-08  John Levon  <levon@movementarian.org>
9376
9377         * iterators.h:
9378         * iterators.C:
9379         * buffer.h:
9380         * buffer.C:
9381         * paragraph.h:
9382         * paragraph.C:
9383         * toc.h:
9384         * toc.C: ParConstIterator, and use it (from Lars)
9385
9386 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9387
9388         * lyxtextclass.[Ch]: revise and add doxygen comments
9389
9390 2002-11-07  John Levon  <levon@movementarian.org>
9391
9392         * text.C: fix progress value for spellchecker
9393
9394         * toc.C: fix navigate menu for insetwrap inside minipage
9395
9396         * paragraph_funcs.C: added FIXME for suspect code
9397
9398 2002-11-07  John Levon  <levon@movementarian.org>
9399
9400         * BufferView_pimpl.C: fix redrawing of insets
9401           on buffer switch
9402
9403 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9404
9405         * text2.C (updateCounters): fix bug 668
9406
9407 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9408
9409         * text3.C (dispatch): Do not make the buffer dirty when moving the
9410         cursor.
9411
9412 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9413
9414         * vc-backend.C: STRCONV
9415         (scanMaster): ditto
9416
9417         * text2.C (setCounter): STRCONV
9418
9419         * paragraph.C (asString): STRCONV
9420
9421         * lyxlength.C (asString): STRCONV
9422         (asLatexString): ditto
9423
9424         * lyxgluelength.C (asString): STRCONV
9425         (asLatexString): ditto
9426
9427         * lyxfunc.C (dispatch): STRCONV
9428         (open): ditto
9429
9430         * lyxfont.C (stateText): STRCONV
9431
9432         * importer.C (Import): STRCONV
9433
9434         * counters.C (labelItem): STRCONV
9435         (numberLabel): ditto
9436         (numberLabel): remove unused ostringstream o
9437
9438         * chset.C: STRCONV
9439         (loadFile): ditto
9440
9441         * bufferview_funcs.C (currentState): STRCONV
9442
9443         * buffer.C (readFile): STRCONV
9444         (asciiParagraph): ditto
9445         (makeLaTeXFile): ditto
9446
9447         * Spacing.C (writeEnvirBegin): STRCONV
9448
9449         * LaTeXFeatures.C (getLanguages): STRCONV
9450         (getPackages): ditto
9451         (getMacros): ditto
9452         (getBabelOptions): ditto
9453         (getTClassPreamble): ditto
9454         (getLyXSGMLEntities): ditto
9455         (getIncludedFiles): ditto
9456
9457         * LaTeX.C: STRCONV
9458         (run): ditto
9459         (scanAuxFile): ditto
9460         (deplog): ditto
9461
9462         * LString.h: add the STRCONV macros
9463
9464         * BufferView_pimpl.C (savePosition): STRCONV
9465         (restorePosition): ditto
9466         (MenuInsertLyXFile): ditto
9467
9468         * vc-backend.C (scanMaster): change from submatch[...] to
9469         submatch.str(...)
9470
9471         * funcrequest.C: include config.h
9472
9473         * factory.C: include config.h
9474
9475         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9476
9477         * box.C: include config.h
9478
9479         * LaTeX.C (scanAuxFile): change from submatch[...] to
9480         submatch.str(...)
9481         (deplog): ditto
9482
9483 2002-10-25  Angus Leeming  <leeming@lyx.org>
9484
9485         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9486
9487         * ispell.[Ch] (setError): new method.
9488         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9489         Use setError() insetead of goto END.
9490
9491         * lyx_cb.C (AutoSave): move out child process into new class
9492         AutoSaveBuffer.
9493
9494 2002-10-30  John Levon  <levon@movementarian.org>
9495
9496         * text3.C: make start appendix undoable
9497
9498 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9499
9500         * lyxlength.C (inPixels): Fix returned value.
9501
9502         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9503         environment.
9504
9505 2002-10-24  Angus Leeming  <leeming@lyx.org>
9506
9507         * lyxgluelength.h: no need to forward declare BufferParams
9508         or BufferView, so don't.
9509
9510 2002-10-21  John Levon  <levon@movementarian.org>
9511
9512         * BufferView.C: menuUndo ->undo, redo
9513
9514         * BufferView.h: document, remove dead, make some methods private
9515
9516         * paragraph_funcs.h:
9517         * paragraph_funcs.C:
9518         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9519
9520         * buffer.h:
9521         * buffer.C:
9522         * sgml.h:
9523         * sgml.C: move sgml open/close tag into sgml.C
9524
9525         * bufferview_funcs.h: unused prototype
9526
9527         * lyxfunc.h:
9528         * lyxfunc.C: remove unused
9529
9530         * lyxtext.h:
9531         * text.C: remove unused
9532
9533 2002-10-21  John Levon  <levon@movementarian.org>
9534
9535         * BufferView.h:
9536         * BufferView.C:
9537         * BufferView_pimpl.h:
9538         * BufferView_pimpl.C: fix mouse wheel handling based on
9539           patch from Darren Freeman
9540
9541 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9542
9543         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9544
9545 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9546
9547         * lyxlength.C (inPixels): Fix hanfling of negative length.
9548         Fix LyXLength::MU case.
9549
9550 2002-10-16  John Levon  <levon@movementarian.org>
9551
9552         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9553
9554 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9555
9556         * converter.C (view): add support for $$i (file name) and $$p
9557         (file path) for the viewer command. If $$i is not specified, then
9558         it is appended to the command (for compatibility with old syntax)
9559
9560 2002-10-14  Juergen Vigna  <jug@sad.it>
9561
9562         * undo_funcs.C (textHandleUndo): alter the order in which the
9563         new undopar is added to the LyXText, as we have to set first
9564         the right prev/next and then add it as otherwise the rebuild of
9565         LyXText is not correct. Also reset the cursor to the right paragraph,
9566         with this IMO we could remove the hack in "redoParagraphs()".
9567
9568 2002-10-09  Angus Leeming  <leeming@lyx.org>
9569
9570         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9571         to turn off an optimisation if a new inset is to be inserted.
9572
9573 2002-10-11 André Pönitz <poenitz@gmx.net>
9574
9575         * lyxtext.h: make some functions public to allow access
9576         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9577
9578 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9579
9580         * text3.C (dispatch): when changing layout, avoid an infinite loop
9581         [bug #652]
9582
9583 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9584
9585         * lyxrc.C (read): treat a viewer or converter command of "none" as
9586         if it were empty.
9587
9588         * MenuBackend.C (expandFormats): for an update, also allow the
9589         formats that are not viewable
9590
9591         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9592         script if it is newer than the lyxrc.defaults in user directory
9593
9594 2002-10-07 André Pönitz <poenitz@gmx.net>
9595
9596         * text.C: Vitaly Lipatov's small i18n fix
9597
9598 2002-09-25  Angus Leeming  <leeming@lyx.org>
9599
9600         * ispell.h: doxygen fix.
9601
9602 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9603
9604         * buffer.h (readFile): Add a new argument to the method, to allow
9605         reading of old-format templates.
9606
9607 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9608
9609         * toc.C (getTocList): Get TOC from InsetWrap.
9610
9611 2002-09-16  John Levon  <levon@movementarian.org>
9612
9613         * lyxfunc.C: check tabular for cut/copy too
9614
9615 2002-09-12  John Levon  <levon@movementarian.org>
9616
9617         * LyXAction.C: tidy
9618
9619         * factory.h:
9620         * factory.C: add header
9621
9622         * paragraph_funcs.h:
9623         * paragraph_funcs.C: cleanup
9624
9625 2002-09-11  John Levon  <levon@movementarian.org>
9626
9627         * PrinterParams.h: odd/even default to true
9628
9629 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9630
9631         * PrinterParams.h: update printer parameters for new xforms dialog
9632
9633 2002-09-11  Angus Leeming  <leeming@lyx.org>
9634
9635         * lyxserver.C (read_ready): re-write to make it more transparent
9636         and to make it work in coherent fashion under Tru64 Unix.
9637
9638 2002-09-11  André Pönitz <poenitz@gmx.net>
9639
9640         * commandtags.h:
9641         * LyXAction.C:
9642         * text3.C: implement LFUN_WORDSEL
9643
9644 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9645
9646         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9647         make floatlist_ a boost::shared_ptr<FloatList>
9648
9649         * lyxtextclass.C: include FloatList.h
9650         (LyXTextClass): initialize floatlist_
9651         (TextClassTags): add TC_NOFLOAT
9652         (Read): match "nofloat" to TC_NOFLOAT and use it.
9653         (readFloat): modify call to floatlist_
9654         (floats): ditto
9655         (floats): ditto
9656
9657         * FloatList.[Ch] (FloatList): remove commented out float
9658         initialization.
9659         (erase): new function
9660
9661 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9662
9663         * MenuBackend.C (expandToc): fix crash when there is no document
9664         open
9665
9666 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9667
9668         * many files: Add insetwrap.
9669
9670 2002-09-09  John Levon  <levon@movementarian.org>
9671
9672         * text2.C: remove confusing and awkward depth wraparound
9673
9674 2002-09-09  John Levon  <levon@movementarian.org>
9675
9676         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9677
9678         * buffer.h:
9679         * buffer.C: remove getIncludeonlyList()
9680
9681         * paragraph.C:
9682         * lyxfunc.C: remove headers
9683
9684 2002-09-09  Juergen Vigna  <jug@sad.it>
9685
9686         * text.C (getColumnNearX): fix form Michael this is most
9687         probably a cut&paste bug.
9688
9689 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9690
9691         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9692
9693         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9694         references, ws changes.
9695
9696         * text2.C (init): update counters after init
9697         (insertParagraph): no need to set counter on idividual paragraphs.
9698         (setCounter): access the counters object in the textclass object
9699         on in the buffer object.
9700         (updateCounters): ditto
9701
9702         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9703         shared_ptr<Counters> to avoid loading counters.h in all
9704         compilation units.
9705         (LyXTextClass): initialize ctrs_
9706         (TextClassTags): add TC_COUNTER, and ...
9707         (Read): use it here.
9708         (CounterTags): new tags
9709         (readCounter): new function
9710         (counters): new funtion
9711         (defaultLayoutName): return a const reference
9712
9713         * counters.C (Counters): remove contructor
9714         (newCounter): remove a couple of unneeded statements.
9715         (newCounter): simplify a bit.
9716         (numberLabel): some small formatting changes.
9717
9718         * buffer.[Ch]: remove all traces of counters, move the Counters
9719         object to the LyXTextClass.
9720
9721 2002-09-06  Alain Castera  <castera@in2p3.fr>
9722
9723         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9724         package to set the horizontal alignment on fixed width columns.
9725
9726         * lyx_sty.C:
9727         * lyx_sty.h: added tabularnewline macro def.
9728
9729         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9730
9731 2002-09-06  John Levon  <levon@movementarian.org>
9732
9733         * LyXAction.C: tooltips for sub/superscript
9734
9735         * MenuBackend.C: a bit more verbose
9736
9737         * lyxfunc.C: tiny clean
9738
9739         * undo_funcs.C: document undo_frozen
9740
9741 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9742
9743         * counters.C (Counters): add missing algorithm counter.
9744
9745         * text2.C (setCounter): lookup the counter with layouts latexname
9746         instead of by section number.
9747         (setCounter): use a hackish way to lookup the correct enum
9748         counter.
9749         a float name->type change
9750         reset enum couners with counter name directly instead of depth value.
9751
9752         * counters.C (Counters): remove the push_backs, change to use the
9753         float type not the float name.
9754         (labelItem): remove unused string, float name->type change
9755
9756         * counters.h: don't include vector, loose the enums and sects vectors
9757
9758 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9759
9760         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9761         (Read): add float->TC_FLOAT to textclassTags
9762         (Read): and handle it in the switch
9763         (readFloat): new function
9764
9765         * FloatList.C (FloatList): comment out the hardcoded float
9766         definitions.
9767
9768         * lyxlayout.h: ws change.
9769
9770 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9771
9772         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9773
9774 2002-09-03  Angus Leeming  <leeming@lyx.org>
9775
9776         * BufferView_pimpl.h: qualified name is not allowed in member
9777         declaration: WorkArea & Pimpl::workarea() const;
9778
9779         * factory.C: added using std::endl directive.
9780
9781         * text3.C: added using std::find and std::vector directives.
9782
9783 2002-08-29  André Pönitz <poenitz@gmx.net>
9784
9785         * lyxtext.h:
9786         * text2.C: remove unused member number_of_rows
9787
9788         * Makefile.am:
9789         * BufferView2.C: remove file, move contents to...
9790         * BufferView.C: ... here
9791
9792         * BufferView_pimpl.C:
9793         * factory.C: move more inset creation to factory
9794
9795         * vspace.C: avoid direct usage of LyXText, ws changes
9796
9797         * BufferView.[Ch]:
9798                 don't provide direct access to WorkArea, use two simple
9799                 acessors haveSelction() and workHeight() instead
9800
9801
9802 2002-08-29  John Levon  <levon@movementarian.org>
9803
9804         * BufferView_pimpl.C (dispatch): do not continue when
9805           no buffer
9806
9807 2002-08-28  André Pönitz <poenitz@gmx.net>
9808
9809         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9810
9811         * BufferView.h:
9812         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9813
9814 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9815
9816         * buffer.C: increment LYX_FORMAT to 221
9817
9818         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9819         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9820
9821         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9822
9823         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9824
9825 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9826
9827         * factory.C (createInset): use LyXTextClass::floats
9828
9829         * MenuBackend.C (expandFloatListInsert):
9830         (expandFloatInsert):
9831         (expandToc):
9832
9833         * text2.C (setCounter):
9834
9835         * LaTeXFeatures.C (useFloat):
9836         (getFloatDefinitions):
9837
9838         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9839
9840         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9841         floatlist_, with accessor floats().
9842
9843         * FloatList.h: remove global FloatList
9844
9845 2002-08-26  André Pönitz <poenitz@gmx.net>
9846
9847         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9848
9849         * BufferView.h:
9850         * BufferView2.C:
9851         * BufferView_pimpl.C:
9852         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9853
9854 2002-08-25  John Levon  <levon@movementarian.org>
9855
9856         * LyXAction.C: fix margin note description
9857
9858 2002-08-24  John Levon  <levon@movementarian.org>
9859
9860         * buffer.C:
9861         * bufferlist.C:
9862         * bufferview_funcs.C:
9863         * lyxfont.C:
9864         * undo_funcs.C: cleanups
9865
9866         * lyxfunc.C: disable CUT/COPY when no selection
9867
9868 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9869
9870         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9871         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9872
9873         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9874         Add backward compatibility to "mono", "gray" and "no".
9875
9876 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9877
9878         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9879         (and file_format >= 200).
9880
9881 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9882
9883         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9884
9885 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9888
9889 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9890
9891         * BufferView_pimpl.C:
9892         * LyXAction.C:
9893         * buffer.C:
9894         * commandtags.h:
9895         * lyxfunc.C:
9896         * paragraph.[Ch]:
9897         * text2.C:
9898         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9899         inset and code to make it  work with the paragraph code. The inset
9900         can be anywhere in the paragraph, but will only do the expected
9901         thing in LaTeX if the layout file contains the parameter line
9902                         OptionalArgs    1
9903         (or more generally, a nonzero value) for that layout.
9904
9905 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9906
9907         * paragraph.h: remove the declaration of undefined counters class
9908         function.
9909
9910 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9911
9912         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9913         Dr. Richard Hawkins.
9914
9915 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9916
9917         * paragraph_funcs.h: remove some unneeded includes
9918
9919         * text.C (backspace): pasteParagraph now in global scipe
9920
9921         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9922         (pasteSelection): ditto
9923
9924         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9925         * paragraph_funcs.C (pasteParagraph): ... here
9926
9927 2002-08-20  André Pönitz <poenitz@gmx.net>
9928
9929         * commandtags.h: new LFUNs for swapping/copying table row/colums
9930
9931         * LyXAction.C:
9932         * lyxfunc.C: support for new lfuns
9933
9934 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9935
9936         * tabular.C:
9937         * buffer.[Ch]: remove NO_COMPABILITY stuff
9938
9939 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9940
9941         * boost.C (throw_exception): new file, with helper function for
9942         boost compiled without exceptions.
9943
9944         * paragraph.h:
9945         * lyxlength.C:
9946         * buffer.C:
9947         * ParameterStruct.h:
9948         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9949
9950         * bufferlist.C (emergencyWriteAll): use boost bind
9951
9952         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9953
9954         * text.C: include paragraph_funcs.h
9955         (breakParagraph): breakParagraph is now in global scope
9956
9957         * paragraph_funcs.[Ch]: new files
9958
9959         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9960         global scope
9961
9962         * buffer.C: include paragraph_funcs.h
9963         (insertStringAsLines): breakParagraph is now in global scope
9964
9965         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9966         paragraph_funcs.C
9967
9968         * CutAndPaste.C: include paragraph_funcs.h
9969         (cutSelection): breakParagraphConservative is now in global scope
9970         (pasteSelection): ditto
9971
9972         * buffer.h: declare oprator== and operator!= for
9973         Buffer::inset_iterator
9974
9975         * bufferlist.C (emergencyWrite): don't use fmt(...)
9976
9977         * text3.C: add using std::endl
9978
9979         * BufferView.C (moveCursorUpdate): remove default arg
9980
9981 2002-08-20  André Pönitz <poenitz@gmx.net>
9982
9983         * buffer.[Ch]: move inline functions to .C
9984
9985         * BufferView2.C:
9986         * BufferView_pimpl.C:
9987         * text.C:
9988         * buffer.[Ch]: use improved inset_iterator
9989
9990         * buffer.C:
9991         * paragraph.[Ch]: write one paragraph at a time
9992
9993 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9994
9995         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9996         style if style is not specified.
9997
9998 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * text2.C (setCounter): when searching for right label for a
10001         caption, make sure to recurse to parent insets (so that a caption
10002         in a minipage in a figure float works) (bug #568)
10003
10004 2002-08-20  André Pönitz <poenitz@gmx.net>
10005
10006         * text3.C: new file for LyXText::dispatch() and helpers
10007
10008         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10009
10010         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10011
10012 2002-08-19  André Pönitz <poenitz@gmx.net>
10013
10014         * lyxtext.h:
10015         * text.C: new LyXText::dispatch()
10016
10017         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10018
10019 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10020
10021         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10022
10023         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10024         Hebrew text.
10025
10026 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * Makefile.am: use $(variables) instead of @substitutions@
10029
10030 2002-08-15  André Pönitz <poenitz@gmx.net>
10031
10032         * lyxfunc.C:
10033         * BufferView_pimpl.C: streamlining mathed <-> outer world
10034         interaction
10035
10036         * commandtags.h:
10037         * LyXAction.C: remove unused LFUN_MATH
10038
10039 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10040
10041         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10042
10043 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10044
10045         * paragraph.C (Paragraph): reformat a bit
10046         (cutIntoMinibuffer): use builtin InsetList function instad of
10047         doing it manually.
10048         (getInset): ditto
10049
10050         * buffer.C: include boost/bind.hpp, add using std::for_each
10051         (writeFileAscii): use ParagraphList iterators
10052         (validate): use for_each for validate traversal of paragraphs
10053         (getBibkeyList): use ParagraphList iterators
10054         (resizeInsets): use for_each to resizeInsetsLyXText for all
10055         paragraphs.
10056         (getParFromID): use ParagraphList iterators
10057
10058         * BufferView2.C (lockInset): use paragraph list and iterators
10059
10060 2002-08-14  John Levon  <levon@movementarian.org>
10061
10062         * lyxserver.C: remove spurious xforms include
10063
10064 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10067
10068 2002-08-13  André Pönitz <poenitz@gmx.net>
10069
10070         * LyXAction.[Ch]:
10071         * lyxfunc.C: further cleaning
10072
10073 2002-08-13  André Pönitz <poenitz@gmx.net>
10074
10075         * funcrequest.h: new constructor
10076
10077         * funcrequest.C: move stuff here from .h
10078
10079         * Makefile.am:
10080         * BufferView_pimpl.C:
10081         * LyXAction.C:
10082         * toc.C:
10083         * lyxfunc.C: subsequent changes
10084
10085         * lyxfunc.h: new view() member function
10086
10087         * lyxfunc.C: subsequent changes
10088
10089 2002-08-13  Angus Leeming  <leeming@lyx.org>
10090
10091         * BufferView2.C:
10092         * BufferView_pimpl.C:
10093         * buffer.C:
10094         * converter.C:
10095         * importer.C:
10096         * lyxfunc.C:
10097         * lyxvc.C:
10098         * toc.C:
10099         * vc-backend.C:
10100         changes due to the changed LyXView interface that now returns references
10101         to member variables not pointers.
10102
10103 2002-08-13  Angus Leeming  <leeming@lyx.org>
10104
10105         * WordLangTuple (word, lang_code): return references to strings,
10106         not strings.
10107
10108         * BufferView.h:
10109         * SpellBase.h:
10110         * lyxtext.h: forward-declare WordLangTuple.
10111
10112         * BufferView2.C:
10113         * ispell.C:
10114         * pspell.C:
10115         * text.C: #include "WordLangTuple.h".
10116
10117         * lyxtext.h:
10118         * text.C: (selectNextWordToSpellcheck): constify return type.
10119
10120 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10121
10122         * buffer.C:
10123         * buffer.h:
10124         * lyxtext.h:
10125         * paragraph.C:
10126         * paragraph_pimpl.h:
10127         * text.C:
10128         * text2.C:
10129         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10130         suggested by Angus.
10131         Made updateCounter always count from start of buffer, and removed
10132         second argument (par).
10133         Reverted floats number display to '#'. Perhaps I'll try again when the
10134         code base is sanitized a bit.
10135
10136 2002-08-12  Angus Leeming  <leeming@lyx.org>
10137
10138         * buffer.[Ch] (getLabelList): constify.
10139
10140 2002-08-07  André Pönitz <poenitz@gmx.net>
10141
10142         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10143
10144         * funcrequest.h: extension to keep mouse (x,y) position
10145
10146 2002-08-12  Juergen Vigna  <jug@sad.it>
10147
10148         * BufferView2.C (insertErrors): forbid undo when inserting error
10149         insets.
10150
10151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10152
10153 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10154
10155         * ParagraphList.[Ch]: new files
10156
10157         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10158
10159         * BufferView2.C (lockInset): ParagraphList changes
10160         * toc.C: ditto
10161         * text2.C: ditto
10162         * bufferlist.C: ditto
10163         * buffer.h: ditto
10164         * buffer.C: ditto
10165
10166 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10167
10168         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10169         unused class variable counter_,
10170
10171         * paragraph.[Ch] (getFirstCounter): delete unused function
10172
10173         * counters.C: include LAssert.h
10174         (reset): add a new function with no arg, change other version to
10175         not have def. arg and to not allow empty arg.
10176
10177         * text2.C (setCounter): remove empty arg from call to Counters::reset
10178
10179 2002-08-11  John Levon  <levon@movementarian.org>
10180
10181         * Makefile.am: add WordLangTuple.h
10182
10183 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10184
10185         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10186         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10187
10188         * insets/insettext.C: InsetList changes
10189
10190         * graphics/GraphicsSupport.C (operator()): InsetList changes
10191
10192         * toc.C (getTocList): InsetList changes
10193
10194         * paragraph_pimpl.[Ch]: InsetList changes
10195
10196         * paragraph.[Ch]: InsetList changes
10197
10198         * buffer.C (inset_iterator): InsetList changes
10199         (setParagraph): ditto
10200         * buffer.h (inset_iterator): ditto
10201         * iterators.C (operator++): ditto
10202         * iterators.h: ditto
10203
10204         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10205
10206         * InsetList.[Ch]: new files, most InsetList handling moved out of
10207         paragraph.C.
10208
10209         * BufferView2.C (removeAutoInsets): InsetList changes
10210         (lockInset): ditto
10211         (ChangeInsets): ditto
10212
10213 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10214
10215         * paragraph_pimpl.h (empty): new function
10216
10217         * paragraph.[Ch] (empty): new function
10218
10219         * other files: use the new Paragraph::empty function
10220
10221 2002-08-09  John Levon  <levon@movementarian.org>
10222
10223         * lyxtext.h: remove unused refresh_height
10224
10225 2002-08-09  John Levon  <levon@movementarian.org>
10226
10227         * Makefile.am:
10228         * sgml.h:
10229         * sgml.C:
10230         * buffer.C:
10231         * paragraph.h:
10232         * paragraph.C: move sgml char escaping out of paragraph
10233
10234         * paragraph.h:
10235         * paragraph.C: remove id setter
10236
10237         * buffer.C:
10238         * paragraph.C:
10239         * paragraph_pimpl.C: remove dead tex_code_break_column
10240
10241         * bufferview_funcs.C: small cleanup
10242
10243         * lyxfunc.C: remove dead proto
10244
10245         * lyxtext.h: make some stuff private. Remove some dead stuff.
10246
10247         * lyxgluelength.C: make as[LyX]String() readable
10248
10249 2002-08-08  John Levon  <levon@movementarian.org>
10250
10251         * LyXAction.h:
10252         * LyXAction.C:
10253         * MenuBackend.C:
10254         * ToolbarDefaults.C:
10255         * lyxfunc.C:
10256         * lyxrc.C:
10257         * toc.C: lyxaction cleanup
10258
10259 2002-08-08  John Levon  <levon@movementarian.org>
10260
10261         * BufferView2.C: small cleanup
10262
10263         * lyxfind.h:
10264         * lyxfind.C: move unnecessary header into the .C
10265
10266 2002-08-08  John Levon  <levon@movementarian.org>
10267
10268         * funcrequest.h: just tedious nonsense
10269
10270         * lyx_main.h:
10271         * lyx_main.C: cleanups
10272
10273         * buffer.C:
10274         * vspace.C: remove dead header lyx_main.h
10275
10276 2002-08-07  Angus Leeming  <leeming@lyx.org>
10277
10278         * Paragraph.[Ch]:
10279         * paragraph_pimpl.h:
10280         Forward declare class Counters in paragraph.h by moving the ctrs member
10281         variable into Paragraph::Pimpl.
10282         (counters): new method, returning a reference to pimpl_->ctrs.
10283
10284         * text2.C: ensuing changes.
10285
10286 2002-08-07  John Levon  <levon@movementarian.org>
10287
10288         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10289
10290         * BufferView_pimpl.C: announce X selection on double/triple
10291           click
10292
10293         * lyx_main.C: use correct bool in batch dispatch
10294
10295         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10296
10297 2002-08-07  André Pönitz <poenitz@gmx.net>
10298
10299         * funcrequest.h: new class to wrap a kb_action and its argument
10300
10301         * BufferView.[Ch]:
10302         * BufferView_pimpl[Ch]:
10303         * LaTeX.C:
10304         * LyXAction.[Ch]:
10305         * lyxfunc.[Ch]:
10306         * lyxrc.C: subsequent changes
10307
10308
10309 2002-08-07  John Levon  <levon@movementarian.org>
10310
10311         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10312           document options change.
10313
10314 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10315
10316         * counters.[Ch]
10317         * text2.C
10318         * paragraph.[Ch]
10319         * makefile.am: move counters functionality over from
10320         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10321
10322 2002-08-06  John Levon  <levon@movementarian.org>
10323
10324         * WordLangTuple.h: new file for word + language code tuple
10325
10326         * SpellBase.h:
10327         * pspell.h:
10328         * pspell.C:
10329         * ispell.h:
10330         * ispell.C:
10331         * lyxtext.h:
10332         * text.C:
10333         * text2.C:
10334         * BufferView.h:
10335         * BufferView2.C: use WordLangTuple
10336
10337         * layout.h:
10338         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10339
10340 2002-08-06  John Levon  <levon@movementarian.org>
10341
10342         * lyx_main.C: fix cmdline batch handling
10343
10344 2002-08-06  André Pönitz <poenitz@gmx.net>
10345
10346         * lyxrc.C: set default for show_banner to true
10347
10348 2002-08-06  John Levon  <levon@movementarian.org>
10349
10350         * pspell.C: fix a crash, and allow new aspell to work
10351
10352 2002-08-06  John Levon  <levon@movementarian.org>
10353
10354         * lyxfunc.C:
10355         * kbmap.C: small cleanup
10356
10357         * vspace.h:
10358         * vspace.C: add const
10359
10360 2002-08-05  John Levon  <levon@movementarian.org>
10361
10362         * LyXAction.C: back to tabular-insert
10363
10364 2002-08-04  John Levon  <levon@movementarian.org>
10365
10366         * BufferView.h:
10367         * BufferView.C: cosmetic change
10368
10369         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10370
10371         * bufferlist.C:
10372         * buffer.h:
10373         * buffer.C:
10374         * lyxcb.h:
10375         * lyxcb.C:
10376         * lyxserver.C:
10377         * lyxvc.C:
10378         * vc-backend.C:
10379         * BufferView2.C: purge all "Lyx" not "LyX" strings
10380
10381         * lyxcursor.h:
10382         * lyxcursor.C: attempt to add some documentation
10383
10384         * lyxfunc.C:
10385         * commandtags.h:
10386         * LyXAction.C:
10387         * ToolbarDefaults.C:
10388         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10389           merge with LFUN_TABULAR_INSERT
10390
10391         * Makefile.am:
10392         * SpellBase.h:
10393         * ispell.h:
10394         * ispell.C:
10395         * pspell.h:
10396         * pspell.C: split up i/pspell implementations into separate
10397           files, many cleanups
10398
10399         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10400
10401         * text2.C: some cleanup
10402
10403         * lyxfunc.C: don't check for isp_command == "none" any more, it
10404           didn't make any sense
10405
10406 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10407
10408         * counters.[Ch]
10409         * text2.C
10410         * paragraph.[Ch]
10411         * makefile.am: move counters functionality over
10412         from text2.C/paragraph.[Ch] to counters.[Ch], and
10413         make proper C++.
10414 2002-08-02  John Levon  <levon@movementarian.org>
10415
10416         * buffer.C: s/lyxconvert/lyx2lyx/
10417
10418 2002-08-02  Angus Leeming  <leeming@lyx.org>
10419
10420         * lyxlex.C: revert John's change as it breaks reading of the user
10421         preamble.
10422
10423 2002-08-02  Angus Leeming  <leeming@lyx.org>
10424
10425         * importer.C (Import):
10426         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10427         changes due to LyXView::view() now returning a boost::shared_ptr.
10428
10429 2002-08-02  John Levon  <levon@movementarian.org>
10430
10431         * lyxlex.C: small cleanup
10432
10433 2002-08-02  John Levon  <levon@movementarian.org>
10434
10435         * text2.C (status): small cleanup, no logic change
10436
10437 2002-08-01  John Levon  <levon@movementarian.org>
10438
10439         * buffer.h:
10440         * buffer.C (writeFile): don't output alerts, caller
10441           handles this
10442
10443         * bufferlist.C:
10444         * lyx_cb.C: from above
10445
10446         * lyxfunc.C: allow to open non-existent files
10447
10448 2002-07-31  John Levon  <levon@movementarian.org>
10449
10450         * lyxserver.C: don't let incidental errors get
10451           in the way (errno)
10452
10453 2002-07-30  John Levon  <levon@movementarian.org>
10454
10455         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10456
10457 2002-07-30  John Levon  <levon@movementarian.org>
10458
10459         * lyxserver.h:
10460         * lyxserver.C: remove I/O callback too
10461
10462 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10465         log.
10466
10467 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10468
10469         * many files: strip,frontStrip -> trim,ltrim,rtrim
10470
10471 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * PrinterParams.h: remove extern containsOnly, and include
10474         support/lstrings.h instead.
10475
10476         * LaTeX.C (scanAuxFile): modify because of strip changes
10477         (deplog): ditto
10478         * buffer.C (makeLaTeXFile): ditto
10479         * bufferparams.C (writeFile): ditt
10480         * lyxfont.C (stateText): ditto
10481         * lyxserver.C (read_ready): ditto
10482         * vc-backend.C (scanMaster): ditto
10483
10484         * BufferView_pimpl.h: ws changes
10485
10486         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10487
10488 2002-07-26  André Pönitz <poenitz@gmx.net>
10489
10490         * kb_sequence.C: remove unnedred usings
10491
10492 2002-07-26  Juergen Vigna  <jug@sad.it>
10493
10494         * lyxfind.C (LyXReplace): we have to check better if the returned
10495         text is not of theLockingInset()->getLockingInset().
10496
10497 2002-07-25  Juergen Vigna  <jug@sad.it>
10498
10499         * lyxfind.C (LyXReplace): don't replace if we don't get the
10500         right LyXText.
10501
10502         * undo_funcs.C (createUndo): remove debugging code.
10503
10504 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * buffer.C (parseSingleLyXformat2Token): Use default placement
10507         when reading old floats.
10508
10509         * FloatList.C (FloatList): Change the default placement of figure
10510         and tables to "tbp".
10511
10512 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * MenuBackend.C: using std::max
10515
10516 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10517
10518         * MenuBackend.C (expandToc):
10519         (expandToc2): code moved from xforms menu frontend. It is now
10520         generic and TOCs are transparent to menu frontends.
10521
10522 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * toc.C (getTocList): protect against buf=0
10525
10526         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10527         Menu as first parameter. Now, this calls itself recursively to
10528         expand a whole tree (this will be useful for TOC handling)
10529         (expandFloatInsert): remove 'wide' version of floats
10530
10531         * MenuBackend.h (submenuname): returns the name of the submenu.
10532         (submenu): returns the submenu itself, provided it has been
10533         created by MenuBackend::expand
10534
10535 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10538         insets which have noFontChange == true. (bug #172)
10539
10540 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10541
10542         * BufferView_pimpl.C: add connection objects and use them...
10543         (Pimpl): here.
10544
10545 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10546
10547         * MenuBackend.C (expandLastfiles):
10548         (expandDocuments):
10549         (expandFormats):
10550         (expandFloatListInsert):
10551         (expandFloatInsert):
10552         (expand): split expand in parts
10553
10554 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * lyx_gui.C: use lyx_gui::exit()
10557
10558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * LyXAction.C: show the failing pseudo action
10561
10562 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10563
10564         * buffer.C (readFile): Run the lyxconvert script in order to read
10565         old files.
10566
10567 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * LyXAction.C:
10570         * commandtags.h:
10571         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10572
10573 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * LyXAction.C:
10576         * commandtags.h:
10577         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10578
10579 2002-07-22  Herbert Voss  <voss@lyx.org>
10580
10581         * lengthcommon.C:
10582         * lyxlength.[Ch]: add support for the vertical lengths
10583
10584 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * toc.[Ch]: std:: fixes
10587
10588 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10589
10590         * lyxrc.C: do not include lyx_main.h
10591
10592         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10593         for layouts
10594
10595         * lyxrc.C:
10596         * encoding.C:
10597         * bufferlist.C:
10598         * BufferView2.C: include "lyxlex.h"
10599
10600         * tabular.h:
10601         * bufferparams.h: do not #include "lyxlex.h"
10602
10603         * lyxtextclasslist.C (Add): remove method
10604         (classlist): renamed to classlist_
10605
10606         * paragraph_pimpl.C:
10607         * paragraph.C:
10608         * text2.C:
10609         * CutAndPaste.C:
10610         * bufferview_funcs.C:
10611         * bufferlist.C:
10612         * text.C:
10613         * LaTeXFeatures.C:
10614         * buffer.C:
10615         * toc.C (getTocList): use BufferParams::getLyXTextClass
10616
10617         * toc.C (getTocList): use InsetFloat::addToToc
10618
10619         * toc.[Ch]: new files, containing helper functions to handle table
10620         of contents
10621
10622         * lyxfunc.C (dispatch): no need to remove spaces around command
10623         given as a string
10624         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10625         first command of the sequence; it is not very clever, but I do not
10626         have a better idea, actually
10627
10628         * LyXAction.C (LookupFunc): make sure to remove space at the
10629         beginning and end of the command
10630
10631 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * MenuBackend.C (getMenubar): new method: return the menubar of
10634         this menu set
10635         (read): treat differently reading of menu and menubar (in
10636         particular, the menubar has no name now)
10637         (Menu::menubar): remove
10638
10639         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10640         saving is finished
10641
10642 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10643
10644         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10645         a bibitem inset in a RTL paragraph.
10646
10647 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * paragraph_pimpl.C: constify
10650
10651         * BufferView_pimpl.C:
10652         * LaTeX.C:
10653         * lyxfunc.C: fix dispatch in a nicer way
10654
10655 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * lyxfunc.C (dispatch):
10658         * BufferView_pimpl.C:
10659         * BufferView_pimpl.h:
10660         * BufferView.C:
10661         * BufferView.h: rename Dispatch() to dispatch()
10662
10663         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10664
10665         * lyxlayout.C (Read): honor DependsOn tag
10666
10667         * lyxlayout.[Ch] (depends_on): new method
10668
10669         * version.C.in: update lyx_docversion
10670
10671         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10672
10673         * paragraph.C (validate): remove from here...
10674         * paragraph_pimpl.C (validate): ... and move here
10675         (isTextAt): make it const
10676
10677         * buffer.C (getLists): ws cleanup
10678
10679 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10680
10681         * language.C (read): Use iso8859-1 encoding in latex_lang
10682         (this prevents LyX from crashing when using iso10646-1 encoding).
10683
10684 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * text2.C (toggleInset): if cursor is inside an inset, close the
10687         inset and leave cursor _after_ it
10688
10689 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10690
10691         * lyxfunc.C: move minibuffer completion handling out of here
10692
10693 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * BufferView_pimpl.C:
10696         * LaTeX.C: fix dispatch calls
10697
10698 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10699
10700         * text.C (drawChars): Fix Arabic text rendering.
10701
10702 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * LyXAction.C:
10705         * commandtags.h:
10706         * lyxfunc.C: remove message-push/pop
10707
10708         * lyxserver.C:
10709         * lyxfunc.h:
10710         * lyxfunc.C: rationalise some code by removing verboseDispatch
10711           in favour of a bool argument to dispatch()
10712
10713 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10714
10715         * lyx_main.C (init): make sure to read symlinks as absolute paths
10716
10717 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * lyxfunc.h:
10720         * lyxfunc.C: no need for commandshortcut to be a member
10721
10722 2002-07-15  André Pönitz <poenitz@gmx.net>
10723
10724         * converter.C: add support for $$s (scripts from lib/scripts dir)
10725         * lyx_main.C: white space
10726
10727 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * bufferlist.C:
10730         * lyxrc.h:
10731         * lyxrc.C: remove second exit confirmation
10732
10733 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * BufferView.h:
10736         * BufferView.C:
10737         * BufferView2.C:
10738         * BufferView_pimpl.h:
10739         * BufferView_pimpl.C:
10740         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10741
10742 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10743
10744         * MenuBackend.C (expand): add numeric shortcuts to document menu
10745
10746         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10747
10748 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10749
10750         * lyxfont.C (setLyXFamily):
10751         (setLyXSeries):
10752         (setLyXShape):
10753         (setLyXSize):
10754         (setLyXMisc):
10755         (lyxRead):
10756         * debug.C (value):
10757         * buffer.C (asciiParagraph): use ascii_lowercase
10758
10759 2002-07-15  Mike Fabian  <mfabian@suse.de>
10760
10761         * lyxlex_pimpl.C (search_kw):
10762         * lyxlex.C (getLongString):
10763         * converter.h (operator<):
10764         * converter.C (operator<):
10765         * buffer.C (parseSingleLyXformat2Token):
10766         (asciiParagraph):
10767         * ToolbarDefaults.C (read):
10768         * MenuBackend.C (checkShortcuts):
10769         (read):
10770         * LColor.C (getFromGUIName):
10771         (getFromLyXName): use the compare_ascii_no_case instead of
10772         compare_no_case, because in turkish, 'i' is not the lowercase
10773         version of 'I', and thus turkish locale breaks parsing of tags.
10774
10775 2002-07-16  Angus Leeming  <leeming@lyx.org>
10776
10777         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10778         now takes a Buffer const & argument.
10779
10780 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * BufferView.C (resize): check there's a buffer to resize
10783
10784 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxfunc.C: remove dead code
10787
10788         * lyxserver.h:
10789         * lyxserver.C: use lyx_guii::set_read_callback
10790
10791 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10794         an inset in a RTL paragraph.
10795
10796 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * lyxfunc.C: repaint after a font size update
10799
10800 2002-07-15  André Pönitz <poenitz@gmx.net>
10801
10802         * lyxlength.C: inBP should be able to return negative values
10803
10804 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * lyxfunc.C: use lyx_gui::update_fonts()
10807
10808 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * lyxfunc.C: use lyx_gui::update_color()
10811
10812 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * bufferlist.C:
10815         * lyxfunc.h:
10816         * lyxfunc.C:
10817         * lyxrc.h:
10818         * lyxrc.C: remove file->new asks for name option, and let
10819           buffer-new take an argument
10820
10821 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * BufferView_pimpl.C: remove unneeded extra repaint()
10824
10825 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * LyXAction.C: allow command-sequence with NoBuffer
10828
10829         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10830
10831 2002-07-10  Angus Leeming  <leeming@lyx.org>
10832
10833         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10834
10835 2002-07-09  Angus Leeming  <leeming@lyx.org>
10836
10837         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10838
10839 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * lengthcommon.h: whitespace
10842
10843         * lyxfunc.C: update scrollbar after goto paragraph
10844
10845         * lyxtext.h: factor out page break drawing, and fix it so
10846           page break/added space paints as selected nicely
10847
10848 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * BufferView_pimpl.C: add FIXMEs, clean up a little
10851
10852 2002-07-09  André Pönitz <poenitz@gmx.net>
10853
10854         * lyxfont.[Ch]: support for wasy symbols
10855
10856 2002-07-08  André Pönitz <poenitz@gmx.net>
10857
10858         * BufferView_pimpl.C: apply John's patch for #93.
10859
10860 2002-07-05  Angus Leeming  <leeming@lyx.org>
10861
10862         * BufferView_pimpl.C (buffer): generate previews if desired.
10863
10864         * LColor.h: add "preview" to the color enum.
10865
10866         * LColor.C (LColor): add a corresponding entry to the items array.
10867
10868         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10869         with this buffer.
10870
10871 2002-07-05  Angus Leeming  <leeming@lyx.org>
10872
10873         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10874         The body of the code is now in the method that is passed an ostream &
10875         rather than a file name.
10876         Pass an additional only_preamble parameter, useful for the forthcoming
10877         preview stuff.
10878
10879 2002-07-03  André Pönitz <poenitz@gmx.net>
10880
10881         * lyxfunc.C: simplify getStatus() a bit for math stuff
10882
10883 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10886
10887 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10888
10889         * text.C (changeRegionCase): do not change case of all the
10890         document when region ends at paragraph end (bug #461)
10891
10892 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * paragraph.C (startTeXParParams):
10895         (endTeXParParams): add \protect when necessary
10896
10897 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * BufferView_pimpl.C (workAreaExpose): remove warning
10900
10901 2002-06-27  Angus Leeming  <leeming@lyx.org>
10902
10903         * Makefile.am: add lyxlayout_ptr_fwd.h.
10904
10905 2002-06-26  André Pönitz <poenitz@gmx.net>
10906
10907         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10908
10909 2002-06-25  Angus Leeming  <leeming@lyx.org>
10910
10911         * lyxfunc.C (dispatch): Comment out the call to
10912         grfx::GCache::changeDisplay. The method no longer exists now that the
10913         pixmap generation part of the graphics loader has been moved into
10914         InsetGraphics.
10915
10916 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * text2.C: layout as layout
10919
10920         * text.C: layout as layout
10921
10922         * tabular.C (OldFormatRead): layout as layout
10923
10924         * paragraph_pimpl.C (TeXDeeper): layout as layout
10925         (realizeFont): layout as layout
10926
10927         * paragraph.C (writeFile): layout as layout
10928         (validate): layout as layout
10929         (getFont): layout as layout
10930         (getLabelFont): layout as layout
10931         (getLayoutFont): layout as layout
10932         (breakParagraph): layout as layout
10933         (stripLeadingSpaces): layout as layout
10934         (getEndLabel): layout as layout
10935         (getMaxDepthAfter): layout as layout
10936         (applyLayout): layout as layout
10937         (TeXOnePar): layout as layout
10938         (simpleTeXOnePar): layout as layout
10939         (TeXEnvironment): layout as layout
10940         (layout): layout as layout
10941         (layout): layout as layout
10942
10943         * lyxtextclass.C (compare_name): new functor to work with
10944         shared_ptr, layout as layout
10945         (Read): layout as layout
10946         (hasLayout): layout as layout
10947         (operator): layout as layout
10948         (delete_layout): layout as layout
10949         (defaultLayout): layout as layout
10950
10951         * lyxlayout_ptr_fwd.h: new file
10952
10953         * lyxlayout.C (Read): layout as layout
10954
10955         * lyx_cb.C (MenuInsertLabel): layout as layout
10956
10957         * bufferlist.C (newFile): layout as layout
10958
10959         * buffer.C (readLyXformat2): layout as layout
10960         (parseSingleLyXformat2Token): layout as layout
10961         (insertStringAsLines): layout as layout
10962         (asciiParagraph): layout as layout
10963         (latexParagraphs): layout as layout
10964         (makeLinuxDocFile): layout as layout
10965         (simpleLinuxDocOnePar): layout as layout
10966         (makeDocBookFile): layout as layout
10967         (simpleDocBookOnePar): layout as layout
10968         (getLists): layout as layout
10969
10970         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10971
10972         * CutAndPaste.C (cutSelection): layout as layout
10973         (pasteSelection): layout as layout
10974         (SwitchLayoutsBetweenClasses): layout as layout
10975
10976         * BufferView_pimpl.C (Dispatch): layout as layout
10977         (smartQuote): layout as layout
10978
10979         * BufferView2.C (unlockInset): layout as layout
10980
10981 2002-06-24  André Pönitz <poenitz@gmx.net>
10982
10983         * lyxfunc.C: fix #487
10984
10985 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * lyxrc.h:
10988         * lyxrc.C:
10989         * lyxfunc.C: remove display_shortcuts, show_banner
10990
10991 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * Buffer_pimpl.C: oops, update on resize
10994
10995 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * buffer.C:
10998         * converter.C:
10999         * exporter.C:
11000         * lyxfunc.C:
11001         * BufferView.h:
11002         * BufferView.C: use repaint()
11003
11004         * BufferView_pimpl.h:
11005         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11006           as it's a clearer description. Remove superfluous
11007           redraws.
11008
11009 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * text.C: fix bug 488. Not ideal, but getting
11012           getWord() to work properly for the insets that
11013           matter is more difficult ...
11014
11015 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * BufferView_pimpl.C:
11018         * LyXAction.C:
11019         * commandtags.h:
11020         * lyxfunc.C: remove the six million index lyxfuncs to just
11021           one, and DTRT (bug 458)
11022
11023 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * BufferView.h:
11026         * BufferView.C:
11027         * BufferView_pimpl.h:
11028         * BufferView_pimpl.C: clean up resize() stuff,
11029           and unnecessary updateScreen()s
11030
11031 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11032
11033         * BufferView.h:
11034         * BufferView.C:
11035         * BufferView_pimpl.h:
11036         * BufferView_pimpl.C:
11037         * lyxfind.h:
11038         * lyxfind.C:
11039         * minibuffer.C: remove focus management of workarea,
11040           not needed. Use screen's greyOut()
11041
11042 2002-06-17  Herbert Voss  <voss@lyx.org>
11043
11044         * converter.C: (convert) do not post a message, when converting
11045         fails, let the calling function decide what to do in this case
11046
11047 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * lyxfunc.C: tidy up a little
11050
11051 2002-06-16    <alstrup@diku.dk>
11052
11053         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11054         Got rid of FORMS_H_LOCATION include. Now we are
11055         GUII.
11056
11057 2002-06-15  LyX Development team  <lyx@rilke>
11058
11059         * buffer.[Ch] (sgmlOpenTag):
11060         (sgmlCloseTag): Added support for avoiding pernicious mixed
11061         content. Return number of lines written.
11062
11063         (makeLinuxDocFile):
11064         (makeDocBookFile): Fixed calls to sgml*Tag.
11065         Simple white space clean.
11066
11067         (simpleDocBookOnePar): Simple white space clean.
11068
11069         * tabular.[Ch] (docBook): Renamed to docbook and got another
11070         argument to related with the pernicious mixed content.
11071
11072         (docbookRow): Fixed calls for docbook inset method.
11073
11074 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11075
11076         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11077         so it's X11 independent.
11078
11079         * kb*.[Ch]: ditto.
11080
11081         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11082
11083 2002-06-15  Lyx Development team  <lyx@electronia>
11084
11085         * intl.h: Renamed getTrans to getTransManager.
11086
11087 2002-06-14  Angus Leeming  <leeming@lyx.org>
11088
11089         * Makefile.am: nuke forgotten stl_string_fwd.h.
11090
11091 2002-06-12  Angus Leeming  <leeming@lyx.org>
11092
11093         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11094
11095 2002-06-13  Angus Leeming  <leeming@lyx.org>
11096
11097         * LaTeX.C:
11098         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11099
11100 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11101
11102         * kbmap.C (getiso): add support for cyrillic and greek
11103
11104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * BufferView.h:
11107         * BufferView.C:
11108         * BufferView_pimpl.h:
11109         * BufferView_pimpl.C: move bogus scrolling logic
11110           to xforms
11111
11112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * lyxfunc.C:
11115         * BufferView_pimpl.C: view->resize() change
11116
11117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView_pimpl.C: topCursorVisible
11120           prototype change
11121
11122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * Makefile.am:
11125         * lyx_gui.h:
11126         * lyx_gui.C: move to frontends/
11127
11128         * main.C:
11129         * lyx_main.h:
11130         * lyx_main.C: changes from above
11131
11132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * intl.C:
11135         * intl.h:
11136         * kbmap.C:
11137         * kbsequence.C:
11138         * lyx_cb.C:
11139         * lyx_main.C: minor tidy
11140
11141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * BufferView_pimpl.h:
11144         * BufferView_pimpl.C:
11145         * BufferView.h:
11146         * BufferView.C: make painter() const,
11147           remove dead code
11148
11149         * BufferView2.C: use screen() accessor
11150
11151         * lyx_main.h:
11152         * lyx_main.C: some minor cleanup
11153
11154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * BufferView_pimpl.h:
11157         * BufferView_pimpl.C: remove enter/leaveView,
11158           use workHeight()
11159
11160 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * BufferView.h:
11163         * BufferView.C:
11164         * BufferView2.C:
11165         * BufferView_pimpl.h:
11166         * BufferView_pimpl.C: only construct screen once,
11167           rename
11168
11169         * lyxrc.C: remove pointless comment
11170
11171 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * BufferView.h:
11174         * BufferView.C: remove active() and belowMouse()
11175
11176         * BufferView_pimpl.h:
11177         * BufferView_pimpl.C: use workarea() not workarea_,
11178           and make it use a scoped_ptr instead
11179
11180 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * lyx_gui.C: add debug message on BadWindow
11183
11184 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * sp_spell.C: fdopen is not part of the C++ standard.
11187
11188         * paragraph.C (InsetIterator): use >= instead of ==
11189
11190 2002-06-07  Angus Leeming  <leeming@lyx.org>
11191
11192         Fixes needed to compile with Compaq cxx 6.5.
11193         * BufferView_pimpl.C:
11194         * DepTable.C:
11195         * buffer.C:
11196         * converter.C:
11197         * encoding.C:
11198         * lyx_gui.C:
11199         * lyx_main.C:
11200         * lyxtextclasslist.C:
11201         * minibuffer.C:
11202         * sp_spell.C:
11203         * tabular_funcs.C:
11204         * vc-backend.C:
11205         all c-library variables have been moved into namespace std. Wrap
11206         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11207
11208         * lyxlength.C:
11209         * tabular-old.C:
11210         * tabular.C:
11211         Add a using std::abs declaration.
11212
11213         * kbmap.h (modifier_pair):
11214         * paragraph.h (InsetTable, InsetList):
11215         * lyxfont.h (FontBits):
11216         type definition made public.
11217
11218         * bufferlist.C (emergencyWriteAll): the compiler complains that
11219         there is more than one possible lyx::class_fun template to choose from.
11220         I re-named the void specialisation as lyx::void_class_fun.
11221
11222         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11223
11224         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11225         the compiler is is unable to find tostr in write_attribute.
11226
11227 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11228
11229         * buffer.C (sgmlError): hide #warning
11230
11231 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * xtl/*: get rid of xtl, which is not in use anyway
11234
11235         * LyXAction.C (init):
11236         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11237         were unimplemented xtl experimentation
11238
11239 2002-06-04  André Pönitz <poenitz@gmx.net>
11240
11241         * lyxfunc.C: disable array operation on simple formulae
11242
11243 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * converter.C: constify a bit
11246
11247 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * lyx_gui.C: check xforms version correctly
11250
11251 2002-04-30  Herbert Voss  <voss@lyx.org>
11252
11253         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11254         "keep" option
11255
11256 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11257
11258         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11259           attempt to register it with a VCS)
11260
11261 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * lyx_main.C (init): honor variables LYX_DIR_13x and
11264         LYX_USERDIR_13x
11265
11266 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * buffer.h:
11269         * buffer.C:
11270         * lyx_main.C: fix a crash on bad command line,
11271           and give a useful exit status on error
11272
11273         * lyxfunc.C (doImport): allow -i lyx to work
11274
11275 2002-03-30  André Pönitz <poenitz@gmx.net>
11276
11277         * lyxfunc.C: mathed font changes
11278
11279 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * LaTeX.C:
11282         * importer.h:
11283         * importer.C:
11284         * lyx_sty.h:
11285         * lyx_sty.C:
11286         * lyxlex.C:
11287         * lyxrow.h:
11288         * lyxtext.h:
11289         * paragraph.h:
11290         * paragraph.C:
11291         * texrow.h:
11292         * texrow.C:
11293         * text.C:
11294         * trans_mgr.h: srcdocs, and some minor cleanups
11295
11296 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11299         call getFont all the time)
11300
11301 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11302
11303         * switch from SigC signals to boost::signals
11304
11305 2002-05-29  André Pönitz <poenitz@gmx.net>
11306
11307         * paragraph_pimpl.C (getChar): don't call size() too often...
11308
11309 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * paragraph_pimpl.C (insertChar): do not try to update tables when
11312         appending (pos == size())
11313
11314         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11315         in order to reduce drastically the number of comparisons needed to
11316         parse a large document
11317
11318 2002-05-29  André Pönitz <poenitz@gmx.net>
11319
11320         * text.C:
11321         * text2.C:
11322         * lyxtextclass.C:
11323         * sp_pspell.h:
11324         * textclasslist.[Ch]:
11325         * sp_ispell.h: whitespace change
11326
11327 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11330         lyxaction directly now.
11331
11332 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11333
11334         * trans.C:
11335         * lyxfont.C:
11336         * lyxvc.C: remove unused headers
11337
11338 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * Makefile.am:
11341         * buffer.h:
11342         * undostack.h:
11343         * undostack.C:
11344         * undo_funcs.h:
11345         * undo_funcs.C: some cleanups. Use shared_ptr
11346           and a template for the undo stacks.
11347
11348 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * BufferView_pimpl.h:
11351         * BufferView_pimpl.C:
11352         * kbmap.h:
11353         * kbmap.C:
11354         * kbsequence.h:
11355         * kbsequence.C:
11356         * lyxfunc.h:
11357         * lyxfunc.C:
11358         * text2.C: use key_state/mouse_state
11359
11360 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11363         and LSubstring
11364
11365         * chset.C: change include order
11366         (loadFile): use boost regex and get rid of LRegex and LSubstring
11367
11368         * Makefile.am (BOOST_LIBS): new variable
11369         (lyx_LDADD): use it
11370
11371         * LaTeX.C: change include order.
11372         (scanAuxFile): use boost regex and get rid of LRegex and
11373         LSubstring
11374         (deplog): ditto
11375
11376 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * ColorHandler.h:
11379         * ColorHandler.C:
11380         * FontInfo.h:
11381         * FontInfo.C: moved to frontends/xforms/
11382
11383         * FontLoader.h:
11384         * FontLoader.C: moved into frontends for GUIIzation
11385
11386         * Makefile.am:
11387         * lyx_gui.C:
11388         * lyxfont.C:
11389         * lyxfunc.C: changes from above
11390
11391 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * LColor.C: remove spurious X include
11394
11395         * BufferView_pimpl.C:
11396         * Makefile.am:
11397         * font.h:
11398         * font.C:
11399         * text.C:
11400         * text2.C: move font metrics to frontends/
11401
11402 2002-05-24  Juergen Vigna  <jug@sad.it>
11403
11404         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11405         setting the undo_cursor.
11406
11407         * ParagraphParameters.h: include local includes first.
11408
11409 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView_pimpl.C:
11412         * BufferView_pimpl.h:
11413         * Makefile.am:
11414         * WorkArea.h:
11415         * WorkArea.C:
11416         * screen.C: move WorkArea into frontends/
11417
11418         * lyxscreen.h:
11419         * screen.C:
11420         * text.C:
11421         * BufferView.C:
11422         * BufferView2.C: move LyXScreen into frontends/
11423
11424         * lyxlookup.h:
11425         * lyxlookup.C:
11426         * lyx_gui.C: move lyxlookup into frontends/xforms/
11427
11428 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * BufferView2.C:
11431         * BufferView_pimpl.C:
11432         * FontLoader.C:
11433         * LyXView.h:
11434         * LyXView.C:
11435         * Makefile.am:
11436         * WorkArea.C:
11437         * XFormsView.h:
11438         * XFormsView.C:
11439         * buffer.C:
11440         * bufferlist.C:
11441         * bufferview_funcs.C:
11442         * converter.C:
11443         * importer.C:
11444         * lyx_cb.C:
11445         * lyx_gui.C:
11446         * lyx_main.C:
11447         * lyx_find.C:
11448         * lyxfunc.C:
11449         * lyxvc.C:
11450         * minibuffer.C:
11451         * text.C:
11452         * text2.C:
11453         * trans.C:
11454         * vc-backend.C: move LyX/XFormsView into frontends/
11455
11456 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * Makefile.am:
11459         * PainterBase.C:
11460         * PainterBase.h:
11461         * Painter.C:
11462         * Painter.h:
11463         * WorkArea.C:
11464         * WorkArea.h:
11465         * screen.C:
11466         * tabular.C:
11467         * text.C:
11468         * text2.C: move Painter to frontends/
11469
11470 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * buffer.C: comment out some some code that depend upon lyx_format
11473         < 220
11474
11475         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11476         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11477
11478         * buffer.h (NO_COMPABILITY): turn off compability
11479
11480         * ColorHandler.C: include scoped_array.hpp
11481
11482         * font.C: Use more specific smart_ptr header.
11483         * Painter.C: ditto
11484         * gettext.C: ditto
11485         * ShareContainer.h: ditto
11486         * lyx_main.h: ditto
11487         * kbmap.h: ditto
11488         * FontInfo.h: ditto
11489         * BufferView_pimpl.h: ditto
11490         * ColorHandler.h: ditto
11491
11492         * kbmap.C (defkey): change call to shared_ptr::reset
11493
11494 2002-05-21  Juergen Vigna  <jug@sad.it>
11495
11496         * buffer.C (insertErtContents): fix to insert ert asis if it is
11497         non empty. Skip it completely if it contains only whitespaces.
11498
11499 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * BufferView_pimpl.C:
11502         * BufferView2.C: clear selection on paste (bug 393)
11503
11504 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11505
11506         * DepTable.C: include ctime
11507
11508 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11511
11512 2002-05-14  Juergen Vigna  <jug@sad.it>
11513
11514         * text.C (breakParagraph): fixed function to honor the keepempty
11515         layout in the right maner and also to permit the right breaking
11516         algorithm on empty or non empyt keepempty paragraphs.
11517
11518         * paragraph.C (breakParagraph): we have to check also if the par
11519         is really empty (!size()) for isempty otherwise we do the wrong
11520         paragraph break.
11521
11522 2002-05-10  Juergen Vigna  <jug@sad.it>
11523
11524         * buffer.[Ch] : The following are only changes to the ert
11525         compatibility read reading old LaTeX layout and font stuff and
11526         convert it to ERTInsets.
11527
11528         * buffer.h: added isErtInset().
11529
11530         * buffer.C (struct ErtComp): add a fromlayout bool to check
11531         if we're inside a LaTeX layout.
11532         (isErtInset): new helper function.
11533         (insertErtContents): look for other ert insets before this one
11534         and insert the contents there, so that we don't have subsequent
11535         ERT insets with nothing between them. This way we create only one
11536         inset with multiple paragraphs. Also check if we don't insert only
11537         spaces ' ' as they are ignored anyway afterwards in the .tex file
11538         so if we have only spaces we will ignore this latex part in the
11539         new file.
11540         (parseSingleLyXformat2Token \\layout): better compatibility when
11541         reading layout-latex stuff.
11542         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11543         language tag.
11544         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11545         stuff after reading the inset only get the information back from
11546         the stack.
11547
11548 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11549
11550         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11551
11552         * LaTeXFeatures.C (getBabelOptions): New method.
11553
11554 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11555
11556         * BufferView_pimpl.C (Dispatch): work around missing argument for
11557         'layout'
11558
11559 2002-05-08  Juergen Vigna  <jug@sad.it>
11560
11561         * text.C (leftMargin): handle paragraph leftindent.
11562
11563         * paragraph.C (writeFile): write the new \\leftindent tag.
11564         (validate): handle leftindent code.
11565         (TeXEnvironment): handle paragraphleftindent code again.
11566
11567         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11568
11569         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11570         for paragrap_extra indent code and new token \\leftindent.
11571         (latexParagraphs): handle the leftindent as environment.
11572
11573         * ParameterStruct.h: added leftindent support.
11574
11575         * ParagraphParameters.C (leftIndent): added support functions for
11576         the paragraph left indent.
11577
11578         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11579         more appropriate.
11580
11581 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11582
11583         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11584         inside insetERT.
11585
11586         * text.C (computeBidiTables): No bidi in insetERT.
11587
11588         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11589         in RTL documents.
11590
11591 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * version.C.in: pre 5
11594
11595 2002-05-02  José Matos  <jamatos@fep.up.pt>
11596         * buffer.C (makeDocBookFile): white space changes, add newline to
11597         command styles.
11598         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11599
11600         * tabular.C (docBook): fix typo.
11601
11602 2002-05-03  Juergen Vigna  <jug@sad.it>
11603
11604         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11605         change in LyXText as we can not be sure it was not freed.
11606         (drawOneRow): remove unused code.
11607
11608         * text.C (drawInset): redo the calculation of the need_break_row as
11609         it could have a row which was already freed.
11610         (draw): look at the return value of drawInset and return false if
11611         it also returned false.
11612         (paintRowText): look at the return value of draw and return false if
11613         it also returned false.
11614
11615         * lyxtext.h: added bool return type to drawInset() and draw() so that
11616         if we have a change in the row so that the rowbreak has to be redone
11617         we abort drawing as it will be called again.
11618
11619 2002-05-02  Juergen Vigna  <jug@sad.it>
11620
11621         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11622         a change in the maintext also if we're inside an inset.
11623         (Dispatch): set the cursor again after a break line and after the
11624         screen has been updated as it could be we're in a different row.
11625
11626         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11627         to set the cursor behind the pargraph with > size().
11628         (setCursor): check also for the same paragraph when checking where
11629         to put the cursor if we have a NFR inset.
11630
11631         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11632         parts of layout read further up as it still was in the wrong
11633         position.
11634
11635 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * screen.C (drawFromTo): change sine fullRebreak always return
11638         true.
11639
11640         * buffer.C (parseSingleLyXformat2Token): reindent some
11641
11642         * BufferView_pimpl.C (update): change since fullRebreak always
11643         return true.
11644         (Dispatch): git rid of the last hardcoded "Standard"s.
11645
11646 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * text2.[Ch] (fullRebreak): make it return void now that we always
11649         returned true.
11650
11651 2002-04-30  Juergen Vigna  <jug@sad.it>
11652
11653         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11654         ert compatibility check for "latex" layout.
11655
11656 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11657
11658         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11659         minipages: use col% instead of p%, and also use the current font.
11660         (makeLaTeXFile): Fix use babel condition.
11661         (parseSingleLyXformat2Token): Correct font when reading old floats.
11662
11663 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11664
11665         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11666         inserting list of floats.
11667
11668 2002-04-25  Herbert Voss  <voss@lyx.org>
11669
11670         * MenuBackend.C (expand): don't add the graphics extensions to the
11671         export menu
11672
11673 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11676         non-existing layout, do not complain if it was the default layout
11677         of the original class (bug #342)
11678
11679 2002-04-24  Juergen Vigna  <jug@sad.it>
11680
11681         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11682         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11683
11684 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11685
11686         * buffer.C (getBibkeyList): If using \bibliography, return the
11687         option field with the reference itself. Enables us to provide natbib
11688         support when using \bibliography.
11689
11690 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11691
11692         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11693
11694         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11695         natbib is provided by the LaTeX class.
11696
11697 2002-04-23  Juergen Vigna  <jug@sad.it>
11698
11699         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11700         Wakeup functions.
11701
11702         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11703
11704 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11707
11708         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11709         ensuremath around textordmasculine, textordfeminine and
11710         textdegree.
11711
11712 2002-04-19  Juergen Vigna  <jug@sad.it>
11713
11714         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11715         reinitializing the buffer otherwise row-dimensions may be wrong.
11716         (update): reset also the selection cursors if they do exits otherwise
11717         their x/y positions may be wrong.
11718
11719         * text2.C (cursorDown): don't enter the inset if we came from a row
11720         above and are one row over the inset.
11721
11722         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11723         really leaving an inset.
11724
11725 2002-04-18  Juergen Vigna  <jug@sad.it>
11726
11727         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11728         of the selected paragraph does not have the selected layout also if
11729         the last one had!
11730
11731         * text2.C (setLayout): fixed bug which did not change last selected
11732         paragraph.
11733
11734         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11735         changed the read and substituted \\end_float with \\end_inset!
11736
11737         * BufferView_pimpl.C (cursorPrevious):
11738         (cursorNext): fixed to make it work with rows heigher than the work
11739         area without moving the cursor only the draw of the row.
11740         (workAreaMotionNotify): fix jumping over high rows.
11741
11742 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11745         Ressler.
11746
11747 2002-04-16  Juergen Vigna  <jug@sad.it>
11748
11749         * text2.C (setCursor): set also the irow().
11750         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11751         (cursorUp):
11752         (cursorDown): support for locking an inset if the x_fix value goes
11753         inside it. That way I can transverse insets too with cursor up/down.
11754
11755         * lyxrow.h: added irow helper function same as other (i) functions.
11756
11757         * BufferView_pimpl.C (cursorPrevious):
11758         (cursorNext): fixed for insets!
11759
11760 2002-04-15  Juergen Vigna  <jug@sad.it>
11761
11762         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11763         position otherwise it is wrong in some cases.
11764
11765         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11766         inside the inset before the call.
11767
11768 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * buffer.[Ch] (getBibkeyList): make it const.
11771
11772 2002-04-12  Juergen Vigna  <jug@sad.it>
11773
11774         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11775
11776         * text2.C (getCursorX): new helper function
11777         (setCursor): compute also ix_
11778         (setCursorFromCoordinates): set also ix.
11779
11780         * lyxcursor.h: added ix_ and helper functions.
11781
11782         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11783
11784         * buffer.C (insertStringAsLines): dont break paragraph if the this
11785         paragraph is inside an inset which does not permit it!
11786
11787         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11788         also with no chars on this paragraph.
11789         (paintRowText): only paint stuff if it's inside the workarea!
11790
11791         * paragraph.C (breakParagraph): honor keepempty flag and break the
11792         paragraph always below not above.
11793
11794         * BufferView2.C (unlockInset): update the paragraph layout on inset
11795         unlock as we changed paragraph in such a case.
11796
11797         * lyxfind.C (LyXFind): clear the former selection if not found!
11798
11799         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11800         again called in insertChar().
11801
11802         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11803         an inset which uses the whole row!
11804         (rightMargin): ditto.
11805         (insertChar): force a rebreak if we inserted an inset!
11806
11807 2002-03-28  Herbert Voss  <voss@lyx.org>
11808
11809         * lyxlength.[Ch]: add inBP() to get the right PS-point
11810         units (BigPoint). With inPixels we have rounding errors
11811
11812 2002-04-11  Juergen Vigna  <jug@sad.it>
11813
11814         * text2.C (setCursorFromCoordinates): set iy to the right value.
11815         (setCursor): add check if row->previous exists!
11816
11817         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11818         an old float_type as this was the case in the old code!
11819
11820         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11821
11822         * BufferView2.C (showLockedInsetCursor): use iy
11823         (fitLockedInsetCursor): ditto
11824
11825         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11826         locked insets as there we have the right value now.
11827
11828         * lyxcursor.C: added iy_ variable and iy functions to set to the
11829         baseline of cursor-y of the locked inset.
11830
11831         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11832         (setCursor): fixed for insets which need a full row.
11833
11834         * text.C (rowLastPrintable): don't ignore the last space when before
11835         an inset which needs a full row.
11836         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11837         as last character of a row when before a inset which needs a full row.
11838
11839 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11840
11841         * version.C.in: update date
11842
11843         * text2.C (fullRebreak): try to always return true and see what
11844         happens...
11845
11846 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * MenuBackend.C (expand): use Floating::listName
11849
11850         * FloatList.C (FloatList): add listName argument to the built-in
11851         floats
11852
11853         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11854         text associated with the float.
11855
11856 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11859
11860 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * ShareContainer.h: add a couple of missing typenames.
11863
11864 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * lyxrc.C (getDescription): use _() correctly rather than N_().
11867
11868 2002-03-28  Herbert Voss  <voss@lyx.org>
11869
11870         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11871         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11872
11873 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11876         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11877
11878 2002-03-29  Juergen Vigna  <jug@sad.it>
11879
11880         * lyxfunc.C (dispatch): add a missing fitCursor call.
11881
11882         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11883         it was scrolled by a cursor move, so return the bool status.
11884
11885         * BufferView.C (fitCursor): return the bool flag also to the outside
11886         world as this is needed.
11887
11888         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11889
11890         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11891         call the edit() as it is not needed (and wrong) IMO.
11892         (workAreaButtonPress): set the screen_first variable before evt.
11893         unlock the inset as this may change screen_first and then we have
11894         a wrong y position for the click!
11895
11896 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11897
11898         * MenuBackend.C (expand): another translation that I missed
11899
11900 2002-03-28  Juergen Vigna  <jug@sad.it>
11901
11902         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11903
11904         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11905
11906 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11907
11908         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11909
11910         * MenuBackend.C (expand): fix export/view/update when there is no
11911         document open.
11912
11913 2002-03-27  Herbert Voss  <voss@lyx.org>
11914
11915         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11916         and text%
11917
11918 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * bufferview_funcs.C (currentState): only show paragraph number
11921         for is DEVEL_VERSION is set.
11922
11923         * lyxfunc.C (dispatch): put warning in INFO channel
11924
11925         * MenuBackend.C (expand): translate the name of floats
11926
11927         * FloatList.C (FloatList): mark the float names for translation
11928
11929         * converter.C (convert): use LibScriptSearch
11930
11931 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * MenuBackend.C (defaults): fix default menu (we might as well get
11934         rid of it...)
11935
11936 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11939         directory.
11940
11941 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * lyxvc.C: reorder includes.
11944
11945 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11946
11947         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11948           properly
11949
11950 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * CutAndPaste.C: change layouts earlier on paste
11953           to avoid crashing when calling getFont()
11954
11955 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11956
11957         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11958         irritating #error.
11959
11960 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11961
11962         * WorkArea.C: remove 'Pending' debug message.
11963
11964         * most files: ws cleanup
11965
11966         * buffer.[Ch]: ws changes
11967
11968         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11969
11970 2002-03-21  Juergen Vigna  <jug@sad.it>
11971
11972         * tabular.C (SetMultiColumn): collapse also the contents of the
11973         cells and set the last border right. Added a Buffer const * param.
11974
11975 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11978         linking or not.
11979
11980 2002-03-19  Juergen Vigna  <jug@sad.it>
11981
11982         * text2.C (clearSelection): reset also xsel_cache.
11983
11984         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11985         where it needs to be called (John tells us to do so too :)
11986         (selectionLost): reset sel_cache.
11987
11988         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11989
11990 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * text2.C (setCursorIntern): put debuging code in INSETS channel
11993
11994 2002-03-19  André Pönitz <poenitz@gmx.net>
11995
11996         * lyxfunc.C: tiny whitespace change
11997
11998 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * ToolbarDefaults.C (init):
12001         * LyXAction.C (init):
12002         * commandtags.h:
12003         * BufferView_pimpl.C (Dispatch):
12004         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12005
12006 2002-03-19  Allan Rae  <rae@lyx.org>
12007
12008         * exporter.C (Export): removeAutoInsets before doing anything else.
12009         While I've just introduced a dependency on BufferView this really is
12010         the best place to clean the buffer otherwise you need to cleanup in
12011         a dozen places before calling export or cleanup in a dozen functions
12012         that export calls.
12013
12014         * converter.C (runLaTeX):
12015         (scanLog): Better handling of removeAutoInsets and screen updates.
12016
12017         * lyxfunc.C (dispatch): small whitespace changes
12018
12019 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * WorkArea.C (C_WorkAreaEvent): return a value.
12022         (event_cb): return 1 if we handled the event, 0 otherwise.
12023
12024         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12025
12026 2002-03-18  Juergen Vigna  <jug@sad.it>
12027
12028         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12029         (GetAdditionalWidth): ditto.
12030         (RightLine): ditto.
12031         (LeftLine): ditto.
12032
12033         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12034         inset if we're there actually (probably not used right now but this
12035         is the direction to go for unifying code).
12036         (paste): disable code to clear the selection.
12037
12038         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12039         inside an InsetText and move the check further up as it is in the
12040         wrong place.
12041
12042         * text2.C (pasteSelection): set a selection over the pasted text.
12043
12044 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12045
12046         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12047         and libgraphics to build on Cygwin.
12048
12049 2002-03-15  Juergen Vigna  <jug@sad.it>
12050
12051         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12052         inserting an Inset into the paragraph. I know this is not the best
12053         fix but we already use current_view in CutAndPaste so we will remove
12054         all of it's using at the same time.
12055
12056         * buffer.C (sgmlError): deactivated function till it is rewritten in
12057         the right mode, now it can create problems.
12058
12059         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12060         before accessing it.
12061
12062 2002-03-14  Juergen Vigna  <jug@sad.it>
12063
12064         * undo_funcs.C (textHandleUndo): do the right thing when updating
12065         the inset after the undo/redo.
12066
12067         * text2.C (setCursor): just some testcode for #44 not ready yet.
12068
12069         * undo_funcs.C (textHandleUndo): set the next() and previous()
12070         pointers of the paragraph to 0 before deleting otherwise we have
12071         problems with the Paragraph::[destructor].
12072
12073         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12074         on a paragraph insertion.
12075
12076 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * buffer.C (asciiParagraph): use += operator for char append to
12079         string.
12080
12081         * paragraph.C (getFontSettings): compare >= not just >
12082         (highestFontInRange): ditto
12083         (setFont): ditto
12084
12085 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * paragraph.C: change several algorithm to be more appripriate for
12088         the problem domain. This is lookip in FontList and in the InsetList.
12089
12090 2002-03-13  André Pönitz <poenitz@gmx.net>
12091
12092         * commandtags.h:
12093         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12094
12095 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * commandtags.h:
12098         * LyXAction.C:
12099         * lyxfunc.C:
12100         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12101
12102 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * Painter.C (display): anon helper function, adjust code for this
12105         change.
12106         (pixmap): remove function.
12107
12108         * Painter.h: remove private display variable.
12109
12110         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12111
12112 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12113
12114         * WorkArea.[Ch]: remove figinset_canvas cruft.
12115
12116 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * lyxtextclass.C (operator): add one item cache optimization.
12119
12120         * bufferlist.h: doxy changes
12121
12122         * bufferlist.C: ws changes
12123
12124         * DepTable.[Ch] (ext_exist): place const in the right spot.
12125
12126         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12127         call resizeInsets.
12128         (workAreaExpose): call resizeInsets when the with BufferView changes.
12129         (Dispatch): adjust for protectedBlank removal
12130         (specialChar): call updateInset if the insert went ok.
12131
12132         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12133         specialChar instead.
12134
12135         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12136
12137         * BufferView.h: doxy change
12138
12139         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12140
12141         * lyxtextclass.C (operator[]): remove non-const version
12142         (defaultLayout): remove non-const version
12143
12144 2002-03-12  Juergen Vigna  <jug@sad.it>
12145
12146         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12147         did resize the LyXText too.
12148
12149         * buffer.C (readLyXformat2): set layout information on newly allocated
12150         paragraphs.
12151
12152         * tabular.C (OldFormatRead): set layout information on the paragraph.
12153
12154 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12155
12156         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12157
12158 2002-03-11  Juergen Vigna  <jug@sad.it>
12159
12160         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12161         plainly wrong.
12162         (resizeCurrentBuffer): force also the insets to resize themselfes.
12163         (moveCursorUpdate): fixed up for InsetText.
12164
12165 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12166
12167         * commandtags.h:
12168         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12169         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12170         value of Dialogs::tooltipsEnabled().
12171         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12172
12173 2002-03-08  Juergen Vigna  <jug@sad.it>
12174
12175         * BufferView_pimpl.C (updateInset): update inset inside inset also
12176         if it isn't inside theLockingInset().
12177
12178 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * buffer.C (asciiParagraph): redo some of the word and line length
12181         handling.
12182         (getLists): look for Caption instead of caption.
12183
12184 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * buffer.C (Buffer): initialize niceFile to true
12187         (makeLaTeXFile):
12188         (makeLinuxDocFile):
12189         (makeDocBookFile): make sure niceFile is true on exit
12190
12191 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12194
12195 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * LyXSendto.C: remove.
12198         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12199         * lyx_gui.C: remove now-redundant comment.
12200         * ColorHandler.h: remove forward declaration of class WorkArea.
12201         * lyxfunc.C: remove #include "WorkArea.h".
12202
12203 2002-03-07  Juergen Vigna  <jug@sad.it>
12204
12205         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12206         got moved away with the DEPM and also set the inset_owner always
12207         right which before could have been omitted.
12208
12209 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12212         wanted layout is not found.
12213
12214 2002-03-07  Juergen Vigna  <jug@sad.it>
12215
12216         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12217
12218 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * paragraph.C (breakParagraph): use default layout not layout of
12221         prev paragraph.
12222         (Paragraph): clear ParagraphParameters.
12223
12224 2002-03-06  Juergen Vigna  <jug@sad.it>
12225
12226         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12227         otherwise it would not be a valid lenght. Fixed a special case in
12228         the minipage compatibility read where we end the document with a
12229         minipage.
12230
12231         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12232         was set as it could be 0 for InsetTexts first entry.
12233
12234 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * paragraph.C (writeFile): if layout is empty write out
12237         defaultLayoutName().
12238
12239         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12240         file without named layout we set layout to defaultLayoutName().
12241
12242 2002-03-06  Juergen Vigna  <jug@sad.it>
12243
12244         * CutAndPaste.C (copySelection): set layout for new paragraph.
12245
12246         * text.C (prepareToPrint): leave ERT inset left aligned
12247         (leftMargin): don't indent paragraphs inside ERT insets
12248
12249 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * paragraph.C (breakParagraph): dont call clear do the work manually
12252
12253         * paragraph.[Ch] (clear): remove function
12254
12255 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12256
12257         * paragraph.C (Paragraph): dont call clear, the work has already
12258         been done.
12259
12260         * lyxtextclass.C (operator): assert if n is empty
12261
12262         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12263         work manually instead.
12264
12265 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * BufferView_pimpl.C: protect selectionLost against text == 0
12268
12269 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * text.C (breakParagraph): fix a setting layout to '0' problem.
12272
12273 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12274
12275         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12276         final location of file, for the included files, and graphics.
12277
12278 2002-03-05  Juergen Vigna  <jug@sad.it>
12279
12280         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12281
12282 2002-03-04  Juergen Vigna  <jug@sad.it>
12283
12284         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12285
12286         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12287         last column of multicolumn cells.
12288         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12289
12290 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12291
12292         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12293         file if it doesn't go to a temporary file.
12294
12295         * buffer.C (sgmlOpenTag):
12296         (sgmlCloseTag):  remove extra newline insertion.
12297
12298 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12299
12300         * text.C (getRowNearY): comment out debug msg
12301
12302 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * text2.C: first -> first_y
12305
12306         * text.C (getRowNearY): add some attemts at a possible
12307         optimization, not working.
12308
12309         * tabular.[Ch]: add BufferParams to several function so that newly
12310         created paragraph can be initialized to he default layotu for the
12311         buffers textclass.
12312
12313         * tabular-old.C (ReadOld): add buf->params to call of Init
12314
12315         * screen.C: rename text->first to text->first_y
12316
12317         * paragraph.C (breakParagraph): always set layout in the broken
12318         paragraph
12319
12320         * lyxtextclass.C (Read): remove lowercase
12321         (hasLayout): ditto
12322         (operator): ditto
12323         (delete_layout): ditto
12324
12325         * lyxtext.h: rename first -> first_y
12326
12327         * lyxlayout.C (Read): remove lowercase
12328         (name): ditto
12329         (setName): ditto
12330         (obsoleted_by): ditto
12331
12332         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12333
12334         * buffer.C (insertErtContents): add params are to InsetERT
12335         (parseSingleLyXformat2Token): add code to check if a paragraphs
12336         layout really exist.
12337         (parseSingleLyXformat2Token): add params to several inset
12338         constructors
12339         (asciiParagraph): remove lowercase, do the layout comparisons with
12340         no_case
12341
12342         * BufferView_pimpl.C (cursorNext): first -> first_y
12343         (resizeCurrentBuffer): first -> first_y
12344         (updateScrollbar): first -> first_y
12345         (scrollCB): first -> first_y
12346         (workAreaMotionNotify): first -> first_y
12347         (workAreaButtonPress): first -> first_y
12348         (checkInsetHit): first -> first_y
12349         (cursorPrevious): first -> first_y
12350         (cursorNext): first -> first_y
12351         (Dispatch): add buffer_->params to severl inset contructors
12352
12353 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * lyxlayout.C (Read): remove some debug info that I forgot.
12356
12357         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12358         clean up the code slightly.
12359         (makeLinuxDocFile): ditto
12360         (makeDocBookFile): ditto
12361
12362         * text2.C: layout as string
12363
12364         * text.C: layout as string
12365
12366         * paragraph_pimpl.C: layout as string
12367
12368         * paragraph.[Ch]: layout as string
12369
12370         * lyxtextclasslist.[Ch]: layout as string
12371
12372         * lyxtextclass.[Ch]: layout as string
12373
12374         * lyxtext.h: layout as string
12375
12376         * lyxlayout.[Ch]: layout as string
12377
12378         * lyx_cb.C: layout as string
12379
12380         * bufferview_funcs.C: layout as string
12381
12382         * bufferparams.C: layout as string
12383
12384         * buffer.C: layout as string
12385
12386         * LyXView.[Ch]: layout as string
12387
12388         * LaTeXFeatures.[Ch]: layout as string
12389
12390         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12391
12392         * BufferView_pimpl.C: change current_layout to string, remove
12393         lyx::layout_type.
12394         (Dispatch):
12395         (smartQuote):
12396         (insertInset):
12397         (workAreaButtonRelease): layout as string
12398
12399         * BufferView2.C (unlockInset): adjust
12400
12401         * vspace.C (asLatexCommand): use an explict temp variable.
12402
12403 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * Makefile.am: use FRONTEND_*
12406
12407 2002-03-01  Juergen Vigna  <jug@sad.it>
12408
12409         * tabular.C (SetWidthOfMulticolCell): changed to something better
12410         I hope but still work in progress.
12411         (recalculateMulticolumnsOfColumn): renamed function from
12412         recalculateMulticolCells as it is more appropriate now.
12413         (SetWidthOfCell): calculate multicols better.
12414
12415 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12416
12417         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12418
12419         * lyxfunc.C (processKeySym): print sequence also if it is
12420         `deleted' (complete)
12421
12422         * kbsequence.C (print): print sequence even if it is deleted
12423         (complete would be a better word, actually).
12424
12425         * lyxfunc.C (dispatch): print complete options after a prefix key
12426
12427         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12428
12429 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12430
12431         * text2.C (setCharFont): eliminate setCharFont code duplication.
12432
12433 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12436         LFUN_TABULAR_FEATURE (bug #177)
12437
12438 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12439
12440         * Makefile.am: remove figure.h
12441
12442 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * Bufferview_pimpl.C:
12445         * CutAndPasteC:
12446         * LaTeX.C:
12447         * LyXSendto.C:
12448         * buffer.C:
12449         * bufferlist.C:
12450         * converter.C:
12451         * language.C:
12452         * lyxfunc.C:
12453         * lyxvc.C:
12454         * paragraph.C:
12455         * text.C:
12456         * text2.C: remove #include "lyx_gui_misc.h".
12457
12458         * LaTeX.C: added #include <cstdio>
12459
12460 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12461
12462         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12463         that the paragraph following this one can have.
12464
12465         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12466
12467         * vspace.C (asLatexCommand): fix bogus gcc warning
12468
12469         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12470
12471 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12472
12473         * text2.C (setLayout): get rid of redundant code
12474
12475 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12476
12477         * text2.C (incDepth): make sure depth cannot be increased beyond
12478         reasonable values.
12479
12480 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12481
12482         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12483         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12484
12485         * PainterBase.h (image):
12486         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12487         a LyXImage const *.
12488
12489 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * BufferView.C:
12492         * BufferView.h:
12493         * BufferView_pimpl.C:
12494         * BufferView_pimpl.h:
12495         * LaTeXFeatures.C:
12496         * LyXAction.C:
12497         * LyXView.C:
12498         * Makefile.am:
12499         * UpdateList.h:
12500         * UpdateList.C:
12501         * buffer.C:
12502         * figure.h:
12503         * figureForm.C:
12504         * figureForm.h:
12505         * figure_form.C:
12506         * figure_form.h:
12507         * lyx_cb.C:
12508         * lyx_gui.C:
12509         * lyx_gui_misc.C:
12510         * lyxfunc.C:
12511         * sp_base.h:
12512         * sp_ispell.h:
12513         * sp_pspell.h:
12514         * sp_spell.C: remove fig inset, and the crap house of
12515           cards that follows it
12516
12517 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * Makefile.am:
12520         * lyxserver.C:
12521         * os2_defines.h:
12522         * os2_errortable.h:
12523         * nt_defines.h: move .h into support/
12524
12525         * vms_defines.h: remove
12526
12527         * WorkArea.C: add space in debug output
12528
12529         * text2.C:
12530         * paragraph.C:
12531         * buffer.C: add WITH_WARNINGS
12532
12533         * vc-backend.h:
12534         * vc-backend.C:
12535         * bufferlist.C: s/retrive/retrieve/, add docs
12536
12537         * vspace.h:
12538         * vspace.C:
12539         * kbmap.h:
12540         * lyxlength.h:
12541         * lyxgluelength.h:
12542         * length_common.h:
12543         * chset.h:
12544         * chset.C: add docs
12545
12546         * lyxgui.C: add ID to X error handler
12547
12548         * lyxtestclass.c: fix typo
12549
12550 2002-02-26  Juergen Vigna  <jug@sad.it>
12551
12552         * tabular_funcs.C (write_attribute): changed so that some default
12553         attributes are not written at all.
12554         (getTokenValue): set default values before trying to read the
12555         value so we have the return value always set as default if we don't
12556         find the token we search for.
12557
12558         * tabular.C (Write): write bools as bools not as strings!
12559
12560 2002-02-22  Juergen Vigna  <jug@sad.it>
12561
12562         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12563         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12564
12565         * text.C (leftMargin): don't add an indent for paragraphs inside
12566         tabular cells (fix #208).
12567
12568 2002-02-21  José Matos  <jamatos@fep.up.pt>
12569
12570         * tabular.C (docBook): fixed support for long tables.
12571
12572 2002-02-20  Juergen Vigna  <jug@sad.it>
12573
12574         * text2.C (getFont): get the drawing font of the Inset if this
12575         paragraph is inside an inset (only important for InsetERT for now).
12576
12577         * buffer.C (insertErtContents): use new lanugage params in ERT
12578         constructor.
12579
12580         * CutAndPaste.C: commenting out seemingly uneeded code.
12581
12582 2002-02-19  Allan Rae  <rae@lyx.org>
12583
12584         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12585         Iterators might be simple to use but they also get invalidated.
12586         (removeAutoInsets): renamed saved cursor tracking variables and added
12587         some comments to clarify what everything does.
12588
12589 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12590
12591         * Chktex.C:
12592         * LaTeX.C:
12593         * LyXSendto.C:
12594         * converter.C:
12595         * lyx_cb.C:
12596         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12597         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12598
12599         * lyxfunc.C:
12600         * vc-backend.h: remove #include "support/syscall.h"
12601
12602         * LaTeX.C:
12603         * LyXSendto.C:
12604         * converter.C: rearrange #includes in Lars' approved fashion.
12605
12606         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12607         forward declare class Timeout in the header file.
12608
12609         * XFormsView.C: changes due to the above.
12610
12611         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12612         similar to LyXView.
12613
12614         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12615         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12616
12617 2002-02-18  José Matos  <jamatos@fep.up.pt>
12618
12619         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12620         insets contents.
12621
12622 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12623
12624         * a lot of small ws changes
12625         * add a lot of using std::XXX
12626         * use std construcs some places where approp.
12627         * use some exisint stuff from lyxfunctional where approp.
12628         * Make file changes to use partial linking (lets test this now...)
12629
12630 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12631
12632         * Chktex.C:
12633         * buffer.C:
12634         remove #include "support/syscontr.h" as it's redundant. Always has been.
12635
12636         * Chktex.C:
12637         * LaTeX.C:
12638         * LyXSendto.C:
12639         * converter.C:
12640         * lyx_cb.C:
12641         * vc-backend.C:
12642         change Systemcalls::System to Systemcalls::Wait and
12643         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12644         No change of functionality, just reflects the stripped down Systemcalls
12645         class.
12646
12647 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * debug.[Ch]: add a GRAPHICS type to the enum.
12650
12651 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12654
12655         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12656         there is an inset.
12657
12658 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12661         match the changes below.
12662
12663         * text2.C (toggleInset): if there is not editable inset at cursor
12664         position, try to see if cursor is _inside_ a collapsable inset
12665         and close it.
12666
12667 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12670         document menu has a nice checkbox
12671
12672 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * lyxlength.C (asLatexString): change PW to output as percent of
12675         \textwidth.
12676
12677         * lengthcommon.C: change '%' to 't%'
12678
12679         * lyxfunc.C (dispatch): a few comments from Martin
12680
12681 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12682
12683         * WorkArea.h:
12684         * WorkArea.C:
12685         * BufferView_pimpl.h:
12686         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12687           the X selection.
12688
12689 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12690
12691         * vspace.C (inPixels): fix compiler warning
12692
12693 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * lyxfunc.C (getStatus): fix status message for disabled commands.
12696
12697 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * BufferView_pimpl.C: fix crash on close buffer
12700         during selection (#227)
12701
12702 2002-01-27  Herbert Voss  <voss@lyx.org>
12703
12704         * buffer.C: link old Figure to new graphic inset
12705
12706 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * FontLoader.C (getFontinfo): Change the latex font names in order
12709         to match the names of type1inst.
12710
12711 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12714
12715         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12716         (extchanged): ditto
12717         (ext_exist): ditto
12718         (remove_files_with_extension): ditto
12719         (remove_file): ditto
12720         (write): ditto
12721
12722         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12723         document is smaller than the work area height. Do not initialize
12724         static variables to 0.
12725
12726 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12727
12728         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12729
12730         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12731         LFUN_LAYOUT_PARAGRAPHS.
12732
12733         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12734         tabular. It is possible to provide a possible cell, which will
12735         typically be the actcell from the corresponding insettabular
12736
12737         * lyxfunc.C (getStatus): small cleanup; disable
12738         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12739         true
12740
12741 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12744
12745         * paragraph.C (startTeXParParams):
12746         (endTeXParParams): new methods. The LaTeX code to
12747         start/end paragraph formatting
12748         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12749         empty (fixes bug #200)
12750
12751         * vspace.C (inPixels): adapt to the change below
12752         (inPixels): [later] more cleanups (remove unused variables)
12753
12754         * lyxlength.C (inPixels): change to use a width and a height as
12755         parameter.
12756
12757 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12760         Replaced with \paperwidth
12761
12762         * DepTable.C (insert): add std:: qualifier
12763
12764 2002-01-18  Allan Rae  <rae@lyx.org>
12765
12766         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12767         updated also?
12768
12769         * text.C (drawInset): Turned out I didn't know enough about how
12770         rebreaking worked.  This fixes most of the redraw problems.  I see
12771         an occasional cursor trail when a line is broken now and the cursor
12772         placement can seem out by a few pixels also after a rebreak.
12773
12774 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * buffer.C (parseSingleLyXformat2Token): update because minipage
12777         width is now a LyXLength
12778
12779         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12780
12781         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12782         math insets
12783
12784 2002-01-17  Juergen Vigna  <jug@sad.it>
12785
12786         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12787
12788         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12789         is set correctly and the inset is updated correctly.
12790
12791 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12792
12793         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12794         the beginning of the loop.
12795
12796 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12797
12798         * lyxrc.C: improve help for use_scalable_fonts
12799
12800 2002-01-17  Allan Rae  <rae@lyx.org>
12801
12802         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12803
12804 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12805
12806         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12807         make sure to set their inset_owner to the right value (bug #171)
12808
12809 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12810
12811         * DepTable.h
12812         * DepTable.C: Implement mtime checking to reduce time spent doing
12813         CRCs.
12814
12815 2002-01-16  Juergen Vigna  <jug@sad.it>
12816
12817         * tabular.C (GetAdditionalHeight): one of error fixed.
12818
12819         * lyxrc.C (output): small fix in writing use_pspell.
12820
12821 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12822
12823         * sp_base.h: #include LString.h
12824
12825 2002-01-16  Allan Rae  <rae@lyx.org>
12826
12827         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12828         Can someone check this please?
12829
12830         * text.C (drawInset): It was possible that p.row would be removed by
12831         breakAgainOneRow upsetting a few other settings.  There may be another
12832         small tweak possible by setting need_break_row = 0 when p.row has been
12833         removed but I don't know enough about the logic here.
12834
12835 2002-01-15  Allan Rae  <rae@lyx.org>
12836
12837         * text.C (insertChar): removed conditional truism.
12838
12839         * BufferView2.C (removeAutoInsets): More tweaks.
12840         cur_par_prev could be a stray pointer.  Check for trailing empty line
12841         in case last line was cur_par and only had an error inset on it.
12842
12843 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12846         absolute
12847
12848         * vc-backend.C (most methods):
12849         * exporter.C (Export):
12850         * converter.C (convert):
12851         (runLaTeX):
12852         * LyXSendto.C (SendtoApplyCB):
12853         * lyxfunc.C (dispatch):
12854         (menuNew):
12855         (open):
12856         (doImport):
12857         * lyx_cb.C (AutoSave):
12858         (InsertAsciiFile):
12859         * BufferView_pimpl.C (MenuInsertLyXFile):
12860         * buffer.C (runChktex): use Buffer::filePath().
12861
12862         * buffer.h: rename filename to filename_; rename filepath to
12863         filepath_ and make it private
12864         (filePath): new method
12865
12866         * buffer.C (writeFile): use fileName()
12867         (getLatexName):
12868
12869         * lyx_main.C (init): fix starting  of LyX when the binary is a
12870         link from so,ewhere else.
12871
12872         * minibuffer.C: include <cctype> for isprint
12873
12874 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12875
12876         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12877         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12878         name clash with InsetCollapsable's width function.
12879
12880 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * lastfiles.C: include <iterator>
12883
12884 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12885
12886         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12887         std::count.
12888
12889         * buffer.C (makeLaTeXFile): ditto.
12890         Also make loop operation more transparent.
12891
12892 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12893
12894         * ToolbarDefaults.C: remove trailing comma closing namespace.
12895
12896         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12897
12898         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12899         as in WorkArea.
12900
12901         * trans.C (Load): comment out unused variable, allowed.
12902
12903 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12904
12905         * minibuffer.[Ch] (append_char): new method to recieve input from the
12906         drop-down completion browser. If a key was pressed, then recieve this
12907         char and append it to the existing string.
12908         (peek_event): modify the positioning data passed to the completion
12909         browser so that it can be placed above the minibuffer rather than below.
12910 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * LyXAction.C (init): alloe error-next for readonly documents.
12913
12914         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12915         count.
12916
12917 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12918
12919         * bufferlist.C (readFile): create the buffer _after_ checking that
12920         the file exists.
12921
12922         * lyxfunc.C (verboseDispatch): fix handling of arguments
12923
12924         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12925
12926         * lyxrc.C: use string::erase() instead of initializing to "".
12927
12928
12929 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * BufferView_pimpl.h:
12932         * BufferView_pimpl.C:
12933         * WorkArea.h:
12934         * WorkArea.C:
12935         * text2.C: tell X when we have made a selection for copying
12936
12937 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12938
12939         * BufferView_pimpl.C (MenuInsertLyXFile):
12940         * lyxfunc.C (menuNew):
12941         (open):
12942         (doImport): add shortcuts to directory buttons
12943
12944         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12945         open a float)
12946
12947         * lyxfunc.C (setStatusMessage):
12948         (getStatusMessage): new methods
12949         (getStatus):use setStatusMessage instead of setErrorMessage
12950         (dispatch): when function is disabled, set error message here
12951         [instead of in getStatus previously]
12952
12953         * BufferView_pimpl.C (workAreaButtonRelease): update
12954         toolbar/menubar here too.
12955
12956 2002-01-13  Allan Rae  <rae@lyx.org>
12957
12958         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12959         Now seems indestructible.  Remaining task is to audit all other
12960         code affected by deleteEmptyParagraphMechanism.  One small quirk
12961         left is that an empty document with an error in the preamble can
12962         be made to report an error but no error box appears.  I don't know
12963         where it goes.
12964         (removeAutoInsets): Improved comments.
12965
12966 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12967
12968         * Thesaurus.h:
12969         * Thesaurus.C: update for Aiksaurus 0.14
12970
12971 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * text2.C (firstParagraph): removed member function, all uses
12974         replaces with ownerParagraph
12975         (redoParagraphs): here
12976         (updateInset): here
12977         (toggleAppendix): here
12978         * BufferView2.C (insertErrors): here
12979         (setCursorFromRow): here
12980
12981 2002-01-13  Allan Rae  <rae@lyx.org>
12982
12983         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12984         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12985         There is still a way to segfault this although you may have to do this
12986         multiple times: Have an InsetERT with an unknown command in it.
12987         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12988         <down-arrow>, <Enter> again, View->DVI, BANG!
12989
12990         * text2.C (setCursor):
12991         (deleteEmptyParagraphMechanism):
12992         * lyxtext.h (setCursor):
12993         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12994         Making use of the return value may help fix other bugs.
12995
12996 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12999
13000         * LyXView.C (updateMenubar): call MenuBar::update here
13001         (updateToolbar): but not here
13002         (showState): do not update toolbar/menubar
13003
13004         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13005         should need to care about that.
13006
13007         * lyxfunc.C (verboseDispatch): simplify a bit
13008         (getStatus): have a version which takes a pseudoaction, and
13009         another which requires a (kb_action,string).
13010
13011         * LyXAction.C (retrieveActionArg): make it work also when action
13012         is not a pseudo-action.
13013         (getActionName): simplify a bit
13014         (helpText):
13015
13016 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13017
13018         * lyxfunc.C (verboseDispatch): new families of methods with
13019         several ways to specify a command and a bool to indicate whether
13020         the command name and shortcut should be displayed in minibuffer
13021         (eventually, we could extend that to a finer bitmask like
13022         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13023         (dispatch): the pristine dispatch command which just, well,
13024         dispatchs! Note it still sets its result to minibuffer; I'm not
13025         sure we want that.
13026
13027         * lyxfunc.h: remove setHintMessage
13028
13029         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13030
13031 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13032
13033         * BufferView_pimpl.C (specialChar): delete new inset if we have
13034         not been able to insert it.
13035
13036         * kbmap.C: revert to using int instead of kb_action, since all we
13037         are dealing with is pseudo-actions.
13038
13039         * LyXAction.C (searchActionArg): change to return int instead of
13040         kb_action, since the result is a pseudoaction.
13041
13042 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13043
13044         * buffer.C (insertErtContents): Fix (partially) the font bug.
13045
13046 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13047
13048         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13049         as the other one is broken on my machine!
13050
13051 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13052
13053         * commandtags.h:
13054         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13055
13056 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13057
13058         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13059         reflect their actual use. Provide compatibility code for older lyxrc
13060         files.
13061
13062         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13063         FL_NORMAL_STYLE.
13064         change names of popup font variables in line with the changes to lyxrc.C
13065
13066 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * buffer.C (asciiParagraph): avoid outputing a word twice after
13069         an inset.
13070
13071         * lyxrc.C (getDescription): document that document_path and
13072         template_path can be empty.
13073
13074 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13075
13076         * LaTeXFeatures.C (getMacros):
13077         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13078
13079         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13080
13081         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13082         getPackages.
13083         (getPackages): rename feature "floats" to "float". Use an array to
13084         iterate over 'simple' features (i.e. just a \usepackage). Add
13085         handling of "amsmath" (renamed from "amsstyle").
13086
13087 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13088
13089         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13090         features list.
13091
13092 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13095         FuncStaus::FuncStatus & FuncStaus::some_method().
13096
13097 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13098
13099         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13100         of the func_satus stuff. Edited and massaged in various ways by
13101         JMarc.
13102
13103         * lyxfunc.C (getStatus): use FuncStatus
13104
13105 2002-01-08  Juergen Vigna  <jug@sad.it>
13106
13107         * text.C (nextBreakPoint): use function Inset::isChar().
13108
13109         * paragraph.C (TeXOnePar): use function
13110         Inset::forceDefaultParagraphs.
13111
13112         * buffer.C (latexParagraphs): use function
13113         Inset::forceDefaultParagraphs.
13114
13115 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13116
13117         * lyx_gui.C (init): set the style of the menu popups to
13118         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13119
13120 2002-01-07  Juergen Vigna  <jug@sad.it>
13121
13122         * text.C (setHeightOfRow): small fix
13123         (prepareToPrint): don't look at alignment if we don't have the place
13124         for doing it.
13125
13126 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13127
13128         * box.C: New file. Move the Box methods and functions out of box.h,
13129         following Lars' suggestion.
13130
13131 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13132
13133         * box.h: #include "support/LOstream.h", needed for inlined function.
13134
13135         * lyxtextclass.C:
13136         * lyxtextclasslist.C: added some using std declarations.
13137
13138 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13139
13140         * box.h: make signed dimensions to allow insets wider than
13141           the screen (bug #162)
13142
13143         * BufferView_pimpl.C: add some insetHit debug
13144
13145 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * vc-backend.C: add FIXME
13148
13149 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13150
13151         * lyxfunc.C (getStatus): enable code for showing math font status
13152         in toolbar/menu.
13153
13154 2002-01-07  Juergen Vigna  <jug@sad.it>
13155
13156         * text.C (nextBreakPoint): removed debug output not needed anymore.
13157
13158 2002-01-06  Juergen Vigna  <jug@sad.it>
13159
13160         * text.C (nextBreakPoint): fixed up this function we had this bug
13161         since ever but now hopefully we break row better.
13162         (insertChar): we have to check if an inset is the next char as it
13163         could now happen that a large inset is causing a break.
13164
13165 2002-01-05  Juergen Vigna  <jug@sad.it>
13166
13167         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13168         if it doesn't like to be drawed.
13169
13170 2002-01-04  Juergen Vigna  <jug@sad.it>
13171
13172         * BufferView2.C (lockInset): forgot to set a cursor.
13173
13174         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13175
13176 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13177
13178         * FormMathsPanel.C:
13179         * FormMathsPanel.h
13180         * MathsSymbols.C:
13181         * form_maths_panel.C:
13182         * form_maths_panel.h:
13183         * form_maths_panel.fd: implemented sub- and super- buttons in math
13184         panel.
13185
13186         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13187         (or ^ space) to be used as in TeX (req'd by André).
13188
13189         * lyxfunc.C: Allow ^ and _ again to be used both as
13190         super/subscript (mathed) and as themselves (in text).
13191
13192 2002-01-03  Allan Rae  <rae@lyx.org>
13193
13194         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13195         "LyX" or the filename of the current buffer if it has one.  This is a
13196         modified form of John Levon's patch.
13197
13198         * XFormsView.C (setWindowTitle): also set icon title.
13199
13200         * LyXView.h (setWindowTitle): signature changed.
13201         * XFormsView.h (setWindowTitle): ditto.
13202
13203 2002-01-02  Juergen Vigna  <jug@sad.it>
13204
13205         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13206
13207 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * screen.C (topCursorVisible): introduce a temp var for
13210         text->cursor.row(), handle the case where this row is null. (kindo
13211         hachish)
13212
13213         * text2.C (setCursor): add a couple of asserts.
13214
13215         * paragraph.h (inset_iterator): add -> operator
13216
13217         * paragraph.[Ch] (autoDeleteInsets): remove member function
13218
13219         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13220         cursor pos correctly and handle inset deletion by itself.
13221         (insertErrors): move iterator declaration out of for expression
13222
13223         * lyxtextclass.C: add <algorithm>
13224
13225         * Makefile.am: added the new files to sources, removed layout.C
13226
13227         * layout.C: removed file
13228
13229         * layout.h: remove LYX_DUMMY_LAYOUT
13230
13231         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13232         layout.
13233
13234         * lyxlayout.[Ch]:
13235         * lyxtextclass.[Ch]:
13236         * lyxtextclasslist.[Ch]: new files
13237
13238         * include order changes to a lot of files, also changes because of
13239         the six new files.
13240
13241 2001-12-27  Juergen Vigna  <jug@sad.it>
13242
13243         * buffer.C (asciiParagraph): more fixes.
13244
13245         * tabular.C (ascii): make ascii export support export of only the
13246         data separated by a column-delimiter.
13247         (ascii): better support for ascii export.
13248
13249         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13250
13251 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * tabular_funcs.C: use a "using std::getline" instead of the
13254         previous fix from Angus (necessary for cxx + lyxstring)
13255
13256 2001-12-24  Juergen Vigna  <jug@sad.it>
13257
13258         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13259
13260         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13261         problems. First check a minipage also if we have some ert-contents
13262         (not only on par->size(), second set the right depth of the paragraph
13263         on the relink to the root-paragraph-list!
13264
13265         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13266         which then did not anymore update the main paragraphs on undo/redo!
13267
13268 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13271         code. Support all font-changing funcs (even those which are not in
13272         menu currently). Support for reporting font settings in
13273         mathed (disabled until Andre provides a function on mathed's side).
13274
13275         * func_status.h (toggle): small helper function to set toggle
13276         state on a flag.
13277
13278 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * tabular_funcs.C: getline -> std::getline
13281
13282 2001-12-21  Juergen Vigna  <jug@sad.it>
13283
13284         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13285         accessed and could be 0 (I couldn't generate this but it seems
13286         Michael could!).
13287
13288 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13291         * tabular_funcs.h: here and include iosfwd
13292
13293 2001-12-20  Juergen Vigna  <jug@sad.it>
13294
13295         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13296         inside inset but undo_par was.
13297
13298 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13299
13300         * Thesaurus.C: always include <config.h> in sources.
13301
13302         * Painter.h:
13303         * lyxlookup.h:
13304         * box.h: do not include <config.h> in header files
13305
13306         * text.C (paintLastRow): remove unused variable
13307
13308         * text.C (transformChar):
13309         (insertChar):
13310         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13311
13312         * Painter.C (text):
13313         * font.C (width): rewrite to use uppercase() instead of
13314         islower/toupper.
13315
13316         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13317
13318 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13319
13320         * lyxfind.C: clean up of find failure position change
13321
13322 2001-12-20  Juergen Vigna  <jug@sad.it>
13323
13324         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13325
13326         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13327         (TeXRow): added to LaTeX a single tabular row.
13328         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13329         (Latex): simplified and finally good LT-h/f support.
13330         (various_functions): just small adaptions for LT-h/f support.
13331
13332         * tabular_funcs.[hC]: added and moved here all not classfunctions
13333         of LyXTabular.
13334
13335 2001-12-19  Juergen Vigna  <jug@sad.it>
13336
13337         * tabular.[Ch]: better support for longtabular options (not finished
13338         yet!)
13339
13340 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * text.C (paintLastRow): use the label font instead of the font of
13343         the last character to compute the size of *_BOX. This makes more
13344         sense and avoids a crash with empty paragraphs.
13345         Use Painter::rectangle to draw EMPTY_BOX.
13346
13347 2001-12-19  Juergen Vigna  <jug@sad.it>
13348
13349         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13350         the paragraphs if the replaced paragraph is not the first one!
13351         Tried to delete not used paragraphs but does not work yet so for
13352         now it's inside #ifdef's and by default off!
13353
13354 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13355
13356         * MenuBackend.C: include "lyx_main.h" instead of declaring
13357         lastfiles (actually was declared as LastFiles* instead of a
13358         scoped_ptr).
13359
13360 2001-12-17  Juergen Vigna  <jug@sad.it>
13361
13362         * tabular.C (AppendColumn): applied John's fix
13363
13364 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13365
13366         * BufferView.h:
13367         * BufferView.C:
13368         * BufferView_pimpl.h:
13369         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13370
13371         * Makefile.am:
13372         * box.h: new start of class for above
13373
13374         * lyxfunc.C: ignore space-only minibuffer dispatches.
13375           Show the command name when it doesn't exist
13376
13377         * minibuffer.C: don't add empty lines to the history
13378
13379         * minibuffer.C: add a space on dropdown completion
13380
13381 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * text.C: fix line above/below drawing in insets
13384
13385 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * lyxlength.C (LyXLength): Initialize private variables.
13388
13389 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13392         when inserting error insets.
13393
13394 2001-12-13  Juergen Vigna  <jug@sad.it>
13395
13396         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13397         actually sometimes the before-paragraph.
13398         (setUndo): don't clear the redostack if we're not actually undoing!
13399
13400 2001-12-06  Juergen Vigna  <jug@sad.it>
13401
13402         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13403         and fixed redoing of main paragraph, so we can use it now ;)
13404
13405         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13406
13407 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13410         Juergen's request
13411
13412 2001-12-13  André Pönitz <poenitz@gmx.net>
13413
13414         * undostack.[Ch]:
13415         * undo_func.C: minor cleanup
13416
13417 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13418
13419         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13420         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13421         font in urw-fonts package which is marked as -urw-fontspecific and
13422         does not work (incidentally, changing the encoding in the
13423         fonts.dir of this package to -adobe-fontspecific fixes the
13424         problem).
13425
13426         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13427         is a crash when undoing first paragraph (Juergen, please take a
13428         look). THis does not mean the undo fix is wrong, just that it
13429         uncovers problems.
13430
13431         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13432         the (Paragraph*) version when needed instead of duplicating the
13433         code.
13434
13435         * text.C (workWidth): use Inset::parOwner to find out where the
13436         inset has been inserted. This is a huge performance gain for large
13437         documents with lots of insets. If Inset::parOwner is not set, fall
13438         back on the brute force method
13439
13440         * paragraph_pimpl.C (insertInset):
13441         * paragraph.C (Paragraph):
13442         (cutIntoMinibuffer): set parOwner of insets when
13443         inserting/removing them
13444
13445         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13446
13447 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13448
13449         * commandtags.h:
13450         * LyXAction.C:
13451         * lyx_main.C:
13452         * lyxfunc.C:
13453         * mathed/formulabase.C:
13454         * mathed/math_cursor.[Ch]:
13455         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13456
13457
13458 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * lyxlength.[Ch] (operator!=): new function
13461
13462 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13463
13464         * text.C (workWidth): use Inset::parOwner to find out where the
13465         inset has been inserted. This is a huge performance gain for large
13466         documents with lots of insets. If Inset::parOwner is not set, fall
13467         back on the brute force method
13468
13469         * paragraph_pimpl.C (insertInset):
13470         * paragraph.C (Paragraph):
13471         (cutIntoMinibuffer): set parOwner of insets when
13472         inserting/removing them
13473
13474         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13475
13476 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * tabular-old.C (getTokenValue):
13479         * tabular.C (getTokenValue):
13480         (write_attribute): new versions for LyXLength
13481         (everywhere): adjust the use of widths
13482
13483         * tabular.h: change the type of widths from string to LyXLength
13484
13485 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13486
13487         * paragraph.C: fixed missing line number count when exporting
13488         Environments to LaTeX file
13489
13490         * buffer.C: added informational message for checking line numbers.
13491
13492 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13493
13494         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13495         paragraph, do the 'double space' part, but not the 'empty
13496         paragraph' one.
13497
13498         * text.C (workWidth): small optimization
13499         (getLengthMarkerHeight): use minimal size for negative lengths.
13500
13501 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13502
13503         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13504
13505         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13506
13507 2001-12-11  André Pönitz <poenitz@gmx.net>
13508
13509         * FontLoader.C:
13510         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13511
13512 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * text2.C: keep selection on a setFont()
13515
13516 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * lyx_cb.C: another bv->text misuse, from insert label
13519
13520 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * kbsequence.h:
13523         * kbsequence.C: re-instate nmodifier mask
13524
13525 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13526
13527         * lyx_main.h: make lyxGUI private.
13528
13529 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * lyxfind.C: place the cursor correctly on failed search
13532
13533 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * text.C (getLengthMarkerHeight): for small heights, the arrows
13536         are not always on top/bottom of the text
13537         (drawLengthMarker): smaller arrows; take the left margin in
13538         account; draw also vfills.
13539         (paintFirstRow):
13540         (paintLastRow): remove special code for vfill and standard spaces,
13541         since everything is handled in drawLengthMarker now.
13542
13543 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * buffer.C (insertErtContents): try to handle font and language
13546         interaction a bit better.g
13547
13548         * ColorHandler.C (updateColor): change the hash to cover the whole
13549         LColor enum, ws cleanup
13550         (getGCLinepars): ditto
13551         (getGCLinepars): only lookup in the linecache once.
13552
13553 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13554
13555         * iterators.C (operator++): Make the iterator more robust
13556
13557         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13558         (John's patch)
13559         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13560
13561 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * lyxtext.h:
13564         * text.C: better added space drawing
13565
13566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * LyXView.C:
13569         * BufferView2.C: fix layout combo update on inset unlock
13570
13571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * Makefile.am: don't compile unused files
13574
13575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * lyxfunc.C:
13578         * commandtags.h:
13579         * LyXAction.C: remove old LFUN_LAYOUTNO
13580
13581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * paragraph_pimpl.h:
13584         * paragraph_pimpl.C: isTextAt() doesn't need font param
13585
13586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * lyxlex.h:
13589         * lyxlex.C: little cleanup
13590
13591 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * BufferView_pimpl.C: fix insertAscii for insets
13594
13595 2001-12-05  Juergen Vigna  <jug@sad.it>
13596
13597         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13598         set the right font on the "multi" paragraph paste!
13599
13600 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * trans_decl.h:
13603         * trans_mgr.[Ch]:
13604         * trans.[Ch]:
13605         * lyxgluelength.C:
13606         * lyxlength.C: remove out-commented code.
13607
13608         * BufferView_pimpl:
13609         * CutAndPaste.C:
13610         * DepTable.C:
13611         * buffer.C:
13612         * chset.C:
13613         * lastfiles.C:
13614         * lyxlex.C:
13615         * lyxlex_pimpl.C:
13616         * lyxserver.C:
13617         * screen.C:
13618         * tabular-old.C:
13619         * tabular.C:
13620         * text.C:
13621         * trans_mgr.C:
13622         * vc-backend.C: change "while(" to "while ("
13623
13624         * lyxlength.[Ch]: add zero function to check if length is zero or
13625         not
13626         * lyxgluelength.C: use it
13627
13628 2001-12-05  Allan Rae  <rae@lyx.org>
13629
13630         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13631         Works for 2.95.3, from what I understand of Garst's reports this should
13632         work for other g++ versions.  We're screwed if the abs(int) definition
13633         changed between bugfix releases of gcc.
13634
13635 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * text.C: fix chapter label offset !
13638
13639 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13640
13641         * lyxtext.h:
13642         * text.C: fix hfill at end of line, clean up
13643
13644 2001-12-04  Juergen Vigna  <jug@sad.it>
13645
13646         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13647         that we force an update of the inset and it's owners if neccessary.
13648
13649 2001-12-03  Juergen Vigna  <jug@sad.it>
13650
13651         * text.C (rowLast): simplified code
13652
13653 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13654
13655         * lyxfunc.C: fix show options on timeout
13656
13657 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * screen.C (topCursorVisible): scroll half a page when the cursor
13660         reached top of bottom of screen
13661
13662 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * minibuffer.C: deactivate on loss of focus
13665
13666 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * vspace.[Ch] (operator!=): add operator.
13669
13670 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * BufferView_pimpl.C: refuse to open an inset when
13673         there's a selection.
13674
13675 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * BufferView_pimpl.C: allow to click on RHS of full row insets
13678
13679 2001-11-30  Juergen Vigna  <jug@sad.it>
13680
13681         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13682         insets for undo reasons.
13683
13684 2001-11-28  André Pönitz <poenitz@gmx.net>
13685
13686         * vspace.[Ch]: cosmetical changes
13687
13688 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * LyXAction.h:
13691         * LyXAction.C:
13692         * lyxfunc.h:
13693         * lyxfunc.C:
13694         * kbmap.h:
13695         * kbmap.C:
13696         * lyxrc.C:
13697         * kbsequence.h:
13698         * kbsequence.C: part re-write of old kb code
13699
13700         * Painter.C:
13701         * WorkArea.C: remove Lgb_bug_find_hack
13702
13703 2001-11-30  José Matos <jamatos@fep.up.pt>
13704
13705         * buffer.C (makeDocBookFile): add a comment to point a hack.
13706         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13707         Fixed a double write of labels.
13708
13709 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13710
13711         * LaTeX.C:
13712         * LaTeX.h Fixed bug in LaTeX class where it would not
13713         re-run latex if no depfiles were changed, but the .dvi was removed.
13714
13715 2001-11-28  André Pönitz <poenitz@gmx.net>
13716
13717         * all the files from the change on 2001/11/26:
13718         use lyx::layout_type instead of LyXTextClass::size_type
13719         use lyx::textclass_type instead of LyXTextClassList::size_type
13720
13721 2001-11-29  Juergen Vigna  <jug@sad.it>
13722
13723         * text.C: added support for paragraph::isFreeSpacing()
13724
13725         * buffer.C: same as above
13726
13727         * paragraph.h: inserted isFreeSpacing() function to enable
13728         FreeSpacing inside InsetERT.
13729
13730         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13731         of the paragraph's in the cut/copy buffer to 0!
13732
13733         * text2.C (removeRow): remove the assert as it can!
13734
13735         * lyxtext.h: added helper function firstRow returning firstrow and
13736         made firstrow private again.
13737
13738         * BufferView2.C (lockInset): don't relock if we're already locked!
13739
13740         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13741         the only paragraph.
13742         (removeRow): added Assert::(firstrow)
13743
13744         * debug.C: forgot to add INSETTEXT here.
13745
13746 2001-11-28  Juergen Vigna  <jug@sad.it>
13747
13748         * sp_spell.C (initialize): changed error text to more general
13749         spellchecker command use (not only ispell!)
13750
13751         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13752
13753         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13754
13755 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * vspace.C: initialise lyxgluelength on failure
13758
13759 2001-11-28  Allan Rae  <rae@lyx.org>
13760
13761         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13762         declaration & definition that looks like a function declaration.
13763
13764 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13765
13766         * BufferView2.C (copy):
13767         (copyEnvironment): do not clear the selection when doing a copy.
13768
13769         * text.C (paintFirstRow): compilation fix
13770
13771 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13772
13773         * tabular.C (Latex): correct line count when writing latex.
13774
13775 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * paragraph_pimpl.h:
13778         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13779           bug a bit
13780
13781 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * text.C:
13784         * LColor.h:
13785         * LColor.C: change vfillline->added_space
13786
13787         * text.C: add markers and text for added space
13788
13789         * vspace.C: fix comment
13790
13791 2001-11-28  André Pönitz <poenitz@gmx.net>
13792
13793         * paragraph.C: whitespace changes
13794         * all the other files from the change on 2001/11/26:
13795         change *::pos_type into lyx::pos_type
13796
13797 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13798
13799         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13800         language of the document when inserting error insets.
13801
13802 2001-11-26  André Pönitz <poenitz@gmx.net>
13803
13804         * BufferView_pimpl.[Ch]:
13805         *       CutAndPaste.C:
13806         * buffer.[Ch]:
13807         * lyxcursor.[Ch]:
13808         * lyxfind.C:
13809         * lyxfunc.C:
13810         * lyxrow.[Ch]:
13811         * paragraph.[Ch]:
13812         * paragraph_pimpl.[Ch]:
13813         * sp_spell.C:
13814         * text.C:
13815         * text2.C: reduce header dependencies, introduce type for positions
13816
13817 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13818
13819         * <various>: change to use Alert.h
13820
13821 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13822
13823         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13824         when encountering an unknown token.
13825         (readLyXformat2): Show an error message if there were unknown tokens.
13826
13827 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * BufferView2.C:
13830         * BufferView_pimpl.C:
13831         * buffer.C:
13832         * paragraph.h:
13833         * text.C:
13834         * text2.C: use par->isInset()
13835
13836 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * paragraph_pimpl.h:
13839         * paragraph_pimpl.C: cleanup
13840
13841 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * text2.C (removeRow):
13844         * text.C (setHeightOfRow): remove useless (and costly) call to
13845         getRow.
13846
13847 2001-11-20  Allan Rae  <rae@lyx.org>
13848
13849         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13850         Now need Inset*::checkInsertChar() to return true for appropriate
13851         cases so that the characters in the minibuffer will actually be
13852         inserted.
13853
13854 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13855
13856         * text.C: change the order of the includes.
13857         (workWidth): initialize it at once.
13858         (workWidth): make maxw unsigned
13859         (setHeightOfRow): remove unused variable (inset)
13860         (selectSelectedWord): remove unused variable (inset)
13861         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13862
13863 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13866         server is not running.
13867         (openConnection):
13868         (closeConnection): add debug info when server is disabled.
13869
13870         * ColorHandler.C (getGCForeground): send debug message to GUI
13871         channel.
13872
13873         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13874
13875         * kbmap.C (bind): modify because return conventions of
13876         kb_sequence::parse have changed.
13877
13878         * kbsequence.C (parse): only ignore spaces and not any stupid
13879         control character. This avoids tests like s[i] <= ' ', which are
13880         guaranteed to fail with 8bit characters and signed chars.
13881         Change return code to string::npos when there have been no error
13882         (0 was a bad idea when error is at first character)
13883
13884 2001-11-14  José Matos  <jamatos@fep.up.pt>
13885
13886         * buffer.h:
13887         * buffer.C (simpleDocBookOnePar): removed unused argument.
13888
13889 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13892         insets which are part of a word. Paragraph::isLetter takes care of
13893         that now. Use Paragraph::isInset to identify insets.
13894         (selectSelectedWord): do not test for hyphenation break.
13895
13896         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13897         that protected spaces are considered as spaces.
13898
13899         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13900         Inset::isLetter.
13901
13902 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * lyxserver.h:
13905         * lyxserver.C: fix it. and small cleanup.
13906
13907 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13908
13909         * BufferView_pimpl.C: use inline helpers
13910
13911         * LaTeXFeatures.h:
13912         * LaTeXFeatures.C: fix typos
13913
13914         * Spacing.h:
13915         * Spacing.C: move spacing_string into class
13916
13917         * ToolbarDefaults.C: move stuff into namespace anon
13918
13919         * layout.h: update enum
13920
13921         * lyxfunc.C: use better debug
13922
13923         * minibuffer.h: fix typo
13924
13925         * debug.h:
13926         * debug.C:
13927         * WorkArea.C: add and use Debug::WORKAREA
13928
13929         * lyxtext.h:
13930         * text.C:
13931         * text2.C: code re-organisation, inline helpers
13932
13933 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13934
13935         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13936         std::vector.empty().
13937
13938 2001-11-09  Allan Rae  <rae@lyx.org>
13939
13940         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13941         '\n's after tables.  Tabular and ERT inset work now makes this no
13942         longer necessary.
13943
13944 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * minibuffer.h:
13947         * minibuffer.C: fix crash, improve drop-down completion
13948
13949 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * lyxserver.h:
13952         * lyxserver.C: invalidate fd's when doing endPipe()
13953
13954 2001-11-08  José Matos  <jamatos@fep.up.pt>
13955
13956         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13957         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13958
13959         * paragraph.h:
13960         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13961
13962 2001-11-07  José Matos  <jamatos@fep.up.pt>
13963
13964         * buffer.h:
13965         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13966         const qualifier.
13967
13968         * buffer.C (sgmlOpenTag):
13969         * buffer.C (sgmlCloseTag): removed debug info.
13970
13971         * buffer.h (sgmlOpenTag):
13972         * buffer.h (sgmlCloseTag): made public.
13973
13974 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13975
13976         * buffer.C (saveParamsAsDefaults):
13977         * lyx_cb.C (MenuLayoutSave): remove
13978
13979         * LyXAction.C (init):
13980         * commandtags.h:
13981         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13982
13983 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13984
13985         * buffer.C (setPaperStuff): removed from here...
13986
13987         * bufferparams.C (setPaperStuff): ... and moved there.
13988
13989 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * minibuffer.h:
13992         * minibuffer.C:
13993         * XFormsView.C: add support for drop-down completion
13994
13995 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13996
13997         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13998         commands.
13999
14000 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14003         disabled.
14004
14005 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * lyx_main.C: change ref to known bugs
14008
14009 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14010
14011         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14012         to work around older babel problems.
14013
14014 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14015
14016         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14017
14018 2001-10-24  Juergen Vigna  <jug@sad.it>
14019
14020         * tabular-old.C (ReadOld): below variable changes reflected.
14021
14022         * tabular.[Ch]: added ltType struct for longtable header/footer
14023         defines and changed all instances where they are used. Added
14024         future support for double top/bottom rows.
14025
14026 2001-10-24  José Matos  <jamatos@fep.up.pt>
14027
14028         * buffer.h (docbookHandleCaption):
14029         * buffer.C (docbookHandleCaption): removed unused function.
14030         (makeDocBookFile): moved docbook supported version to v4.1.
14031
14032 2001-10-24  José Matos  <jamatos@fep.up.pt>
14033
14034         * tabular.h:
14035         * tabular.C (docbookRow): new function to export docbook code of a row.
14036         (DocBook): now honors the longtable flags.
14037
14038 2001-10-23  José Matos  <jamatos@fep.up.pt>
14039
14040         * LaTeXFeatures.h:
14041         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14042         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14043
14044         * buffer.C (makeLinuxDocFile):
14045         (makeDocBookFile): reworked the preamble, more clean, and with
14046         support for lyx defined entities. Changed the document declaration
14047         to be more XML friendly.
14048
14049         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14050         if we need to output XML that should be done with a filter.
14051
14052 2001-10-22  Juergen Vigna  <jug@sad.it>
14053
14054         * sp_pspell.h (class PSpell): add alive function needed in the
14055         controller to see if the spellchecker could be started.
14056
14057 2001-10-22  Juergen Vigna  <jug@sad.it>
14058
14059         * buffer.C (insertStringAsLines): modify the font for inserting
14060         chars in certain conditions by calling checkInsertChar(font).
14061
14062 2001-10-19  Juergen Vigna  <jug@sad.it>
14063
14064         * text.C (workWidth): use getRow instead of wrong algorithm.
14065         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14066
14067 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14068
14069         * lyxserver.h:
14070         * lyxserver.C:
14071         * lyx_main.h:
14072         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14073
14074 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * text.C (workWidth): do not search for the exact row when
14077         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14078         optimization for big documents.
14079
14080 2001-10-18  Juergen Vigna  <jug@sad.it>
14081
14082         * text.C (workWidth): new function with added Inset * parameter.
14083
14084 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085
14086         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14087
14088         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14089         change return type of getColumnNearX.
14090
14091
14092         * text.C (changeRegionCase): use uppercase/lowercase instead of
14093         toupper/tolower.
14094         (leftMargin):
14095         (rightMargin): simplify code by factoring out the uses of
14096         textclasslist.
14097         (labelFill):
14098         (numberOfHfills):
14099         (setHeightOfRow):
14100         (appendParagraph): use Paragraph::size_type
14101
14102 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * vspace.C (asLatexString): add a missing break
14105
14106 2001-10-15  Herbert Voss  <voss@perce.de>
14107
14108         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14109
14110 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14111
14112         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14113         is not available.
14114
14115 2001-10-10  André Pönitz <poenitz@gmx.net>
14116
14117         * lyxfunc.C: removed greek_kb_flag.
14118
14119 2001-10-10  Herbert Voss  <voss@perce.de>
14120
14121         * lyx_main.C: delete global string help_lyxdir.
14122
14123 2001-10-09  Herbert Voss  <voss@perce.de>
14124
14125         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14126
14127         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14128
14129         * lyx_main.C: added global string help_lyxdir.
14130
14131         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14132
14133 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14134
14135         * lyxrc.C (set_font_norm_type): support iso8859-4
14136
14137 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14138
14139         * LaTeX.C (deplog): add another regex for MikTeX
14140
14141 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14142
14143         * lyxrc.C (set_font_norm_type): support iso8859-3
14144
14145 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14148
14149         * LaTeXFeatures.C: remove special case of french and index
14150
14151         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14152         before \begin{document}). This solves several incompatibilities.
14153
14154 2001-10-03  Garst Reese  <reese@isn.net>
14155
14156         * lyx_cb.C: change CheckTex error msg.
14157
14158 2001-10-03  José Matos  <jamatos@fep.up.pt>
14159
14160         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14161
14162 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * .cvsignore: update
14165
14166         * lyx_main.C (commandLineVersionInfo): use new style version info.
14167
14168         * buffer.C (writeFile):
14169         (makeLaTeXFile):
14170         (makeLinuxDocFile):
14171         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14172
14173         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14174
14175         * version.h: update to use stuff in version.C
14176
14177         * version.C.in: new file. Contains version information determined
14178         at compile time. This is a merging of version.h and
14179         version_info.h.in.
14180
14181 2001-10-03  Juergen Vigna  <jug@sad.it>
14182
14183         * BufferView_pimpl.C (update): don't change "dirty" status in
14184         updateInset call.
14185
14186 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * WorkArea.C (c-tor): re-position version string slightly.
14189
14190 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14193         revert to previous code.
14194
14195         WorkArea.[Ch]: (show, destroySplash): methods removed.
14196
14197         WorkArea.C: rework code so that it's an amalgam of the codes before and
14198         after the splash screen was moved to WorkArea.
14199
14200 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * lyxrc.C (read):
14203         * vspace.C (inPixels):
14204         (lyx_advance):
14205         * kbmap.C (bind):
14206         * buffer.C (insertStringAsLines):
14207         (asciiParagraph): fix types to be large enough
14208
14209         * lyxlex_pimpl.h: change member status from short to int
14210
14211         * layout.h: fix type of endlabeltype
14212
14213         * kbmap.C (bind):
14214         * kbsequence.C (parse): change return type to string::size_type
14215
14216         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14217         variable
14218
14219         * Bullet.C (bulletSize):
14220         (bulletEntry): do not use short ints as parameters
14221
14222         * BufferView2.C (insertLyXFile): change a char to an int.
14223
14224         * WorkArea.C (WorkArea): remove unneeded floats in computation
14225
14226 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14227
14228         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14229
14230         * paragraph.C (asString): Do not ignore newline/hfill chars when
14231         copying to the clipboard.
14232
14233 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14234
14235         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14236         after a multi-line inset.
14237
14238 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14239
14240         * paragraph.C (validate): Set NeedLyXFootnoteCode
14241
14242 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14243
14244         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14245         and decrease-error to decrease.
14246
14247 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14250         it more readable (should be equivalent)
14251
14252 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14253
14254         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14255
14256 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14259         of a cursor (row, etc.) after a character has been deleted
14260         (deleteEmptyParagraphMechanism): call the method above on _all_
14261         cursors held by the LyXText when a double space has been
14262         detected/deleted.
14263
14264 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14265
14266         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14267         pixmap.
14268         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14269
14270         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14271         background. Use greyOut() and the new show() methods to toggle between
14272         the foreground and background. Add code to remove the splash after
14273         its initial showing.
14274
14275         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14276         (create_forms): no longer call Dialogs::showSplash.
14277
14278 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14279
14280         * .cvsignore: add version_info.h
14281
14282 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14283
14284         * version_info.h.in: new file
14285
14286         * Makefile.am: add version_info.h.in
14287
14288         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14289         version_info.h instead of VERSION_INFO
14290
14291 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14292
14293         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14294         The ERT inset now returns string().
14295
14296 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * lyxtext.h, text.C (selectNextWord): renamed as
14299         selectNextWordToSpellcheck.
14300
14301         * text.C (selectNextWordToSpellcheck): Modified to not select
14302         words inside an ERT inset.
14303
14304 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * lyx_cb.C (MenuLayoutSave): change a bit the question
14307
14308         * sp_base.h: include <sys/types.h>
14309
14310 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14311
14312         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14313
14314 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14315
14316         * several files: fix typos in user-visible strings
14317
14318 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * text2.C (pasteSelection): do not set the selection, since it
14321         will be cleared later. Actually, the intent was to fix the way the
14322         selection was set, but I figured rmoving the code was just as good.
14323
14324 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14325
14326         * FontLoader.C (available): Check if font is available without
14327         loading the font.
14328
14329 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14330
14331         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14332
14333 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * lyxrc.[Ch]: added display_graphics variable and associated code.
14336
14337 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * bufferparams.C (hasClassDefaults): new method. Returns true if
14340         the buffer parameters correspond to known class defaults
14341
14342 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * XFormsView.C (show): set minimum size to the main window.
14345
14346 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * text2.C (copySelection):
14349         (cutSelection):
14350         * lyxfind.C (LyXReplace):
14351         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14352         LyXText::selectionAsString.
14353
14354         * paragraph.C (asString): add "label" argument to the second form
14355
14356         * text2.C (selectionAsString): add "label" argument and pass it to
14357         Paragraph::asString.
14358
14359 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * lyx_main.C (commandLineHelp): remove version information
14362
14363 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14364
14365         * lyx_main.C: add -version commandline option
14366
14367 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * paragraph.h: make the optional constructor arg required instead.
14370         some modifications to other files because of this.
14371
14372         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14373
14374         * lyxserver.C (C_LyXComm_callback): make it static
14375
14376         * lyx_main.C (error_handler): make it static
14377
14378         * lyx_gui.C (LyX_XErrHandler): make it static
14379
14380         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14381
14382         * WorkArea.C: make the extern "C" methods static.
14383
14384         * Makefile.am (lyx_LDADD): simplify
14385
14386 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14387
14388         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14389         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14390
14391         * LyXAction.C (init):
14392         * lyxfunc.C (dispatch): associated code removal.
14393
14394 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14395
14396         * lyxfont.h (isSymbolFont): shut off warning
14397
14398         * text.C (setHeightOfRow):
14399         (getVisibleRow): fix crash with empty paragraphs which have a
14400         bottom line
14401
14402 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14403
14404         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14405         code.
14406
14407 2001-09-04  José Matos  <jamatos@fep.up.pt>
14408         * buffer.C
14409         * buffer.h
14410         * tabular.C (docbook): rename docBook method to docbook.
14411
14412 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         * Makefile.am: add dependencies to main.o.
14415
14416 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14417
14418         * FontLoader.C (available): Return false if !lyxrc.use_gui
14419
14420 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14421
14422         * FontInfo.C (query):
14423         * converter.C (view):
14424         * importer.C (Import):
14425         * exporter.C (Export): Can not -> cannot.
14426
14427 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * BufferView_pimpl.C: allow to create index inset even if
14430           string is empty
14431
14432 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * buffer.C (getLists): replace boost::tie code with an explicit pair
14435         as boost::tie can break some compilers.
14436
14437         * iterators.h: Added a std:: declaration to the return type of
14438         ParIterator::size.
14439
14440 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14443           case.
14444
14445 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * iterators.[Ch]: New files. Provide paragraph iterators.
14448
14449         * buffer.C (changeLanguage): Use paragraph iterators.
14450         (isMultiLingual): ditto
14451
14452         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14453
14454 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * FontLoader.C: Support for cmr font.
14457
14458 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14459
14460         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14461         (available): New method.
14462
14463         * FontInfo.C (getFontname): Use scalable fonts even when
14464         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14465         found.
14466
14467 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * converter.C (Formats::view): reverted! Incorrect fix.
14470
14471 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * converter.C (Formats::view): only output the -paper option
14474         if the dvi viewer is xdvi, thereby fixing bug #233429.
14475
14476 2001-08-23  Herbert Voss  <voss@perce>
14477
14478         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14479
14480 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14481
14482         * Spacing.h (Spacing): Set space to Default on in the default
14483         constructor.
14484
14485 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * vc-backend.h (RCS::versionString): add RCS to version
14488         (CVS::versionString): add CVS to version
14489
14490         * vc-backend.C (scanMaster): do not add CVS to version.
14491         (scanMaster): do not add RCS to version
14492
14493         * lyxvc.C (versionString): new method
14494
14495         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14496
14497 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * Spacing.C (set): initialize fval
14500
14501 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14504         " or \.
14505
14506 2001-08-16  Juergen Vigna  <jug@sad.it>
14507
14508         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14509
14510 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * BufferView_pimpl.C:
14513         * figureForm.C:
14514         * lyxtext.h:
14515         * text2.C: setParagraph takes linespacing now
14516
14517 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14518
14519         * LyxAction.C: add internal LFUN_CITATION_INSERT
14520
14521         * LyXView.C: actually apply fix
14522
14523         * bufferlist.C: fix open non-existent file
14524
14525         * lyxfind.C: fix indentation
14526
14527         * lyxfunc.C: remove unneeded assert, fix typo
14528
14529 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14530
14531         * MenuBackend.C: use "Floatname List"
14532
14533 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14534
14535         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14536         when converting LaTeX layout to insetERT.
14537         Generate a non-collapsed float when reading old float
14538
14539 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14540
14541         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14542         ERT insets.
14543
14544 2001-08-13  Juergen Vigna  <jug@sad.it>
14545
14546         * text.C (fill): return 0 instead of 20 as this seems to be the more
14547         correct value.
14548
14549 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14550
14551         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14552         lyxrc.font_norm.
14553
14554 2001-08-13  Juergen Vigna  <jug@sad.it>
14555
14556         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14557         casesensitive off.
14558         (SearchBackward): comment out the unlocking of the inset_owner this
14559         should not be needed!
14560
14561 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * Many files: Remove inherit_language, and add latex_language
14564
14565         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14566         collapsible insets.
14567
14568 2001-08-10  Juergen Vigna  <jug@sad.it>
14569
14570         * text.C (prepareToPrint): fixed hfill-width in draw!
14571
14572         * BufferView2.C (selectLastWord): save the selection cursor as this
14573         now is cleared in the function LyXText::clearSelection!
14574
14575 2001-08-08  Juergen Vigna  <jug@sad.it>
14576
14577         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14578         BACKSPACE type functions.
14579
14580         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14581         is only cutted from the document but not put in the cut-buffer, where
14582         still the old stuff should be.
14583
14584         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14585
14586         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14587
14588         * tabular.C (SetWidthOfCell): fixed special case where the width
14589         was not updated!
14590         (LeftLine): handle '|' in align_special.
14591         (RightLine): ditto
14592         (LeftAlreadyDrawed): ditto
14593         (SetWidthOfCell): ditto
14594
14595 2001-08-07  Juergen Vigna  <jug@sad.it>
14596
14597         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14598
14599 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600
14601         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14602         * lyxlex.[hC]: ditto
14603
14604 2001-08-06  Juergen Vigna  <jug@sad.it>
14605
14606         * text.C (getVisibleRow): fix up row clearing a bit.
14607
14608 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * minibuffer.C: make sure the X server sees the changes in the input.
14611
14612 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * paragraph.C (getFont): split into...
14615         (getLabelFont): this
14616         (getLayoutFont): and this
14617         * paragraph_pimpl.C (realizeFont): calling this
14618
14619         * text2.C (getFont): split into...
14620         (getLayoutFont): this
14621         (getLabelFont): and this
14622         (realizeFont): all three calling this
14623
14624         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14625         files where used.
14626
14627 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14630
14631 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14632
14633         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14634         layouts from the Quote inset insertion.
14635
14636 2001-08-03  Juergen Vigna  <jug@sad.it>
14637
14638         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14639
14640         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14641         only if status not is already CHANGED_IN_DRAW (second level).
14642
14643         * text.C (draw): don't set the need_break_row when inside an
14644         InsetText LyXText.
14645
14646 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * buffer.C (parseSingleLyXformat2Token): handle more latex
14649         conversion cases.
14650
14651         * bufferview_funcs.[hC]: change function names to
14652         begin with small char, adjust other files.
14653
14654 2001-08-02  André Pönitz <poenitz@gmx.net>
14655
14656         * lyxfunc.C:
14657         BufferView_pimpl.C: remove broken special code for math-greek
14658
14659 2001-08-02  Juergen Vigna  <jug@sad.it>
14660
14661         * BufferView_pimpl.C (update): redone this function so that we
14662         update the text again if there was a CHANGE_IN_DRAW.
14663
14664         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14665         (drawFromTo): added a new internal bool which is used by draw() and
14666         redraw() function.
14667         (general): some cursor drawing problems fixed.
14668
14669 2001-08-01  Juergen Vigna  <jug@sad.it>
14670
14671         * lyxfind.C (LyXFind): fixed
14672         (SearchForward): ditto
14673         (SearchBackward): ditto
14674
14675         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14676         spurius drawing of the cursor in the main area.
14677
14678         * text2.C (status): small fix which could lead to a segfault!
14679         (clearSelection): remove unneeded BufferView param.
14680
14681 2001-08-01  André Pönitz <poenitz@gmx.net>
14682
14683         * lyxfunc.C: small change due to changed mathed interface
14684
14685 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14688
14689 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14690
14691         * lyxfunc.c: fail gracefully if file doesn't exist
14692
14693         * LyXSendto.C:
14694         * buffer.C:
14695         * lyxfunc.C:
14696         * BufferView_pimpl.C: IsDirWriteable() proto changed
14697
14698         * LyXView.C: fix updateWindowTitle() to store the last title
14699
14700 2001-07-31  Juergen Vigna  <jug@sad.it>
14701
14702         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14703         the font (wrong since using of Paragraph::highestFontInRange).
14704
14705         * paragraph.C (highestFontInRange): added a default_size parameter.
14706
14707         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14708         (setHeightOfRow): reformat
14709
14710 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * converter.[hC] + affected files: move to (inital-char)lowercase
14713         function names.
14714
14715         * ParagraphParameters.C (ParagraphParameters): remove commented code
14716
14717         * PainterBase.[Ch]: remove commented code
14718
14719         * LaTeXFeatures.h: add "bool floats" for float.sty
14720
14721         * LaTeXFeatures.C (LaTeXFeatures): init floats
14722         (require): handle float
14723         (getPackages): do it with floats
14724
14725 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * BufferView_pimpl.C (Dispatch): improve handling of
14728         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14729
14730         * commandtags.h: #include lyxfont.h here temporarily to avoid
14731         keybinding bug.
14732
14733         * bufferlist.h: include LString.h here.
14734
14735 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * text2.C (getStringToIndex): new method.
14738
14739 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14740
14741         * *: Reduced header file dependencies all over.
14742
14743 2001-07-30  Baruch Even  <baruch@lyx.org>
14744
14745         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14746
14747 2001-07-29  Baruch Even  <baruch@lyx.org>
14748
14749         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14750
14751 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * ParameterStruct.h (endif): add a default constructor to make
14754         sure that all variables is initialized.
14755
14756         * ParagraphParameters.C (ParagraphParameters): adjust
14757
14758 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14761         index; also, check that there is something to index, and that it
14762         does not span over several paragraphs.
14763         (doubleClick): use WHOLE_WORD_STRICT for double click.
14764
14765         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14766
14767         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14768         scheme.
14769
14770 2001-07-26  Baruch Even  <baruch@lyx.org>
14771
14772         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14773         an InsetFig figure, backwards compatible reading of old figure code.
14774
14775 2001-07-27  Juergen Vigna  <jug@sad.it>
14776
14777         * text2.C: font.realize function adaption.
14778
14779         * text.C (draw): add a warnings lyxerr text if needed.
14780
14781         * layout.C: font.realize function adaption.
14782
14783         * language.C: add inherit_language and implement it's handlings
14784
14785         * bufferview_funcs.C (StyleReset): remove language parameter from
14786         font creation (should be language_inherit now).
14787
14788         * bufferparams.C (writeFile): handle ignore_language.
14789
14790         * paragraph.C (getFontSettings): the language has to be resolved
14791         otherwise we have problems in LyXFont!
14792
14793         * lyxfont.C (lyxWriteChanges): added document_language parameter
14794         (update): removed unneeded language parameter
14795
14796         * paragraph.C (validate): fixed wrong output of color-package when
14797         using interface colors for certain fonts in certain environments,
14798         which should not seen as that on the final output.
14799
14800 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * BufferView_pimpl.C:
14803         * Thesaurus.h:
14804         * Thesaurus.C:
14805         * Makefile.am:
14806         * commandtags.h:
14807         * LyXAction.C: add thesaurus support
14808
14809         * lyxfind.h:
14810         * lyxfind.C: add "once" parameter, for thesaurus, to not
14811           move to the next match
14812
14813 2001-07-26  Juergen Vigna  <jug@sad.it>
14814
14815         * lyxfont.C (realize): honor ignore_language too!
14816         (resolved): ditto.
14817
14818         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14819
14820         * text.C (draw): one place more for ignore_language to not draw
14821         itself!
14822
14823 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14826
14827 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14830         the minipage conversion problem.
14831
14832 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14833
14834         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14835         insert an inset.
14836
14837 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14838
14839         * BufferView.h: don't forward declare WorkArea
14840
14841         * BufferView.C: don't include WorkArea.h
14842
14843 2001-07-25  André Pönitz <poenitz@gmx.net>
14844
14845         * commandtags.h:
14846         * LyXAction.C:
14847         * lyxfunc.C:  new LFUN 'math-space'
14848
14849         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14850
14851 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * text2.C (toggleInset): call open/close
14854
14855 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * lyxfunc.C (dispatch): add debug for the disabled case
14858
14859         * font.C (buttonText): make similar to rectText
14860
14861         * buffer.C (readInset): comment out parsing of insetlist and
14862         insttheorem
14863
14864         * PainterBase.C (rectText): small correction
14865
14866         * BufferView_pimpl.C: comment out insettheorem and insetlist
14867         * LyXAction.C: ditto
14868         * commandtags.h: ditto
14869
14870 2001-07-24  Juergen Vigna  <jug@sad.it>
14871
14872         * text.C (draw): honor the ignore_language.
14873
14874         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14875
14876 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14879         char inset.
14880
14881 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14882
14883         * lyxtext.h: remove unused (and unimplemented) methods
14884
14885 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14886
14887         * text.C (getVisibleRow): honor background color
14888
14889         * PainterBase.h:
14890         * Painter.h: remove default color argument for fillRectangle
14891
14892         * text.C (backgroundColor): new method
14893
14894 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * text.C (getVisibleRow): adjust
14897
14898         * font.[Ch] (rectText): new method, metrics
14899         (buttonText): new method, metrics
14900
14901         * PainterBase.[hC]: make rectText and buttonText always draw and take
14902         fewer paramteres.
14903
14904 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14905
14906         * ToolbarDefaults.C (read):
14907         * MenuBackend.C (read): allow escaping in all strings
14908
14909         * BufferView_pimpl.C (insertAndEditInset): new method.
14910         (Dispatch): use insertAndEditInset whenever appropriate.
14911
14912         * BufferView_pimpl.C (insertNote): removed
14913
14914         * BufferView_pimpl.C (smartQuote): new method, moved from
14915         BufferView; if an insetquote cannot be inserted, insert a '"'
14916         character instead.
14917
14918         * BufferView2.C: remove insertCorrectQuote();
14919
14920         * lyxfunc.C (getStatus): Add support for all remaingin
14921         inset-insert lfuns.
14922
14923         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14924
14925         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14926         command (necessary to pass " as parameter of self-insert.
14927
14928         * text.C (selectWordWhenUnderCursor):
14929         (selectWord): add word_location parameter
14930         (selectWordWhenUnderCursor): same + remove special code for word
14931         boundary.
14932         (selectNextWord): use kind() to guess type of insetspecialchar,
14933         not latex().
14934
14935         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14936         (insertErtContents): create ert insets as collapsed.
14937         (readInset): better compatibility code for Info inset.
14938
14939 2001-07-20  Juergen Vigna  <jug@sad.it>
14940
14941         * lyxfunc.C (dispatch): use always LyXFind now!
14942
14943         * text2.C (init): add a reinit flag so that the LyXText can be
14944         reinited instead of deleted and reallocated (used in InsetText).
14945
14946         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14947
14948         * text.C: ditto
14949
14950         * text2.C: ditto
14951
14952 2001-07-18  Juergen Vigna  <jug@sad.it>
14953
14954         * text.C (selectNextWord): handle insets inside inset by calling
14955         always the bv->text functions so that we can go up the_locking_inset!
14956
14957         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14958         in strange locations when inside an inset!
14959
14960         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14961         handling to include insets.
14962
14963         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14964
14965 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14966
14967         * LyXAction.C (init):
14968         * commandtags.h:
14969         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14970         LIGATURE_BREAK, since the name is so stupid.
14971
14972 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14973
14974         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14975         InsetInfos.
14976
14977         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14978
14979         * sp_form.[Ch]: remove.
14980
14981         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14982
14983         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14984         InsetInfo.
14985
14986         * src/buffer.C (readInset): ditto.
14987
14988 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14989
14990         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14991         menuSeparator(), endOfSentenceDot(), ldots() and
14992         hyphenationPoint(), which are therefore removed.
14993         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14994
14995         * LyXAction.C (init):
14996         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14997
14998         * paragraph.C (getWord): removed.
14999
15000         * BufferView_pimpl.C (Dispatch): use last word or selection for
15001         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15002
15003         * lyx_main.C (queryUserLyXDir): do not ask before creating
15004         user_dir, except if it has been named explicitely.
15005
15006 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15007
15008         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15009         a document of zero size.
15010
15011 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15012
15013         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15014         approriately in the c-tor and in require().
15015         (getPackages): output the appropriate LaTeX for natbib support.
15016
15017         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15018         variables "use_natbib" and "use_numerical_citations" when reading the
15019         LyX file.
15020         (readInset): read the various natbib cite commands.
15021         (validate): white-space change.
15022
15023         * bufferparams.[Ch]: new variables "bool use_natbib" and
15024         "bool use_numerical_citations".
15025         (writeFile): output them in the LyX file.
15026
15027 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15028
15029         * lyxfunc.C (getStatus): add support for all the inset insertion
15030         commands.
15031
15032         * text2.C (insertInset):
15033         * paragraph.C (insetAllowed):
15034         * BufferView_pimpl.C (insertInset): update to take in account the
15035         renaming of insertInsetAllowed
15036
15037         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15038
15039         * text2.C (getInset): new method. returns inset at cursor position.
15040
15041         * BufferView_pimpl.C (Dispatch): changes because of this.
15042
15043         * LyXAction.C (init): rename open-stuff to inset-toggle.
15044
15045         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15046
15047         * text2.C (toggleInset): renamed from openStuff; use
15048         Inset::open().
15049
15050 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15051
15052         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15053
15054         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15055
15056 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * buffer.C (readLyXformat2): Add filename to the error dialog
15059
15060 2001-07-18  Juergen Vigna  <jug@sad.it>
15061
15062         * tabular.C (GetCellNumber): put an assert here instead of the check!
15063
15064 2001-07-17  Juergen Vigna  <jug@sad.it>
15065
15066         * BufferView_pimpl.C (toggleSelection): adapted too.
15067
15068         * text.C (selectNextWord): adapted for use with insets.
15069         (selectSelectedWord): ditto
15070
15071 2001-07-17  Juergen Vigna  <jug@sad.it>
15072
15073         * sp_spell.C (PSpell): fix initialitation order.
15074
15075 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * paragraph.C: spacing
15078
15079 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15080
15081         * sp_spell.C: repair language selection for pspell
15082
15083 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15084
15085         * lyxfunc.h: change more methods to begin with lower char.
15086
15087 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15090         for unknown layouts.
15091
15092 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * buffer.C (readLyXformat2): Generate an error dialog if there are
15095         unknown layouts.
15096
15097 2001-07-16  Juergen Vigna  <jug@sad.it>
15098
15099         * sp_spell.C: always compile ISpell part.
15100
15101         * lyxrc.C: added use_pspell entry and it's handling.
15102
15103 2001-07-13  Juergen Vigna  <jug@sad.it>
15104
15105         * sp_spell.C: removed double includes.
15106
15107 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15108
15109         Consistent use of Lsstream.h:
15110         * Lsstream.h: added using std::stringstream for consistencies sake.
15111
15112         * buffer.C: removed using std::stringstream
15113
15114         * lyxfont.C (stateText):
15115         * paragraph.C (asString):
15116         * text.C (selectNextWord, selectSelectedWord):
15117         * text2.C (setCounter):
15118         * vspace.C (asString, asLatexString):
15119         std::ostringstream -> ostringstream.
15120
15121 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15122
15123         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15124         * commandtags.h: add LFUN_HELP_ABOUTLYX
15125         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15126
15127 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15128
15129         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15130         cursorToggle()
15131         * lyx_gui_misc.C: remove spellchecker
15132         * lyxfunc.C: showSpellchecker
15133         * sp_base.h: added
15134         * sp_ispell.h: added
15135         * sp_pspell.h: added
15136         * sp_spell.C: added
15137         * sp_form.[Ch]: removed
15138         * spellchecker.[Ch]: removed
15139
15140 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15141
15142         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15143         is set.
15144         (simpleTeXSpecialChars): Simply print the input character without
15145         any special translation if pass_thru is set.
15146
15147         * layout.h: Added bool pass_thru to layout class for being able to
15148         implement pass through of a paragraph for Literate Programming.
15149
15150         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15151         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15152         * layout.C (Read): add "passthru" to list of layout tags and add
15153         code to set the pass_thru boolean when it is read.
15154
15155 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * trans_decl.h: remove allowed from KmodInfo
15158
15159         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15160         remove allowed code
15161         (Load): adjust
15162
15163         * paragraph_pimpl.C (erase): use boost::prior
15164
15165         * Painter.C (text): use data() instead of c_str() when length is
15166         also provided.
15167         * WorkArea.C (putClipboard): ditto
15168         * font.h (width): ditto
15169
15170         * BufferView2.C: use it-> instead of (*it). for iterators
15171         * texrow.C: ditto
15172         * paragraph_pimpl.C: ditto
15173         * paragraph.C: ditto
15174         * minibuffer.C: ditto
15175         * language.C: ditto
15176         * kbmap.C: ditto
15177         * encoding.C: ditto
15178         * counters.C: ditto
15179         * converter.C: ditto
15180         * chset.C: ditto
15181         * Variables.C: ditto
15182         * TextCache.C: ditto
15183         * MenuBackend.C: ditto
15184         * LyXAction.C: ditto
15185         * LColor.C: ditto
15186         * FloatList.C: ditto
15187         * DepTable.C: ditto
15188         * ColorHandler.C (LyXColorHandler): ditto
15189
15190 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15191
15192         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15193
15194         * text2.C (openStuff): reintroduce this method (which had been
15195         nuked in NEW_INSETS frenzy).
15196
15197         * lyxfunc.C (Dispatch): when an action has not been handled, use
15198         its name in the error message, not its number.
15199
15200         * paragraph.C (inInset): change method name to begin with lowercase.
15201
15202         * undo_funcs.C:
15203         * text2.C: updates because of this.
15204
15205 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * ToolbarDefaults.C (add): add spaces in error message
15208
15209 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15212         (readLyXformat2): rename return_par to first_par, use lyxlex's
15213         pushToken and remove the manual push handling.
15214         (parseSingleLyXformat2Token): add another ert comp. variable:
15215         in_tabular, rename return_par to first_par. handle newlines better
15216
15217 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15220
15221 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * text2.C (getParFromID): removed
15224
15225         * buffer.C (getParFromID): new method moved form lyxtext.
15226         * BufferView2.C (insertErrors): adjust
15227         (setCursorFromRow): adjust
15228         * BufferView_pimpl.C (restorePosition): adjust
15229         * lyxfunc.C (Dispatch): adjust
15230         * undo_funcs.C (textUndo): adjust
15231         (textRedo): adjust
15232         (textHandleUndo): adjust
15233         (textHandleUndo): adjust
15234
15235 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * buffer.C: up' the LYX_FORMAT
15238
15239         * lyxfont.h: turn NO_LATEX on as default
15240
15241         * buffer.C (insertErtContents): new methods of tex style compability.
15242         (parseSingleLyXformat2Token): use it several places.
15243         * tabular.C (OldFormatRead): and here
15244
15245 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * text2.C: remove some commented code.
15248         reindent file.
15249
15250         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15251         * trans.C: changes because of the above.
15252
15253 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * text2.C (setCounter): Fix counters bug with bibliography layout.
15256
15257 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15260         own member functions
15261         (simpleTeXSpecialChars): ditto
15262
15263 2001-07-06  Juergen Vigna  <jug@sad.it>
15264
15265         * a lot of files: changed the access to LyXText::status and the
15266         call of undo-functions.
15267
15268         * undo.[Ch]: added a inset_id to the undo informations.
15269
15270         * undo_funcs.[Ch]: added and moved here all undo functions.
15271
15272         * lyxtext.h: give the status enum a weight, made status_ a private
15273         variable and made accessor functions for it, removed the whole bunch
15274         of undo-functions as they are now in their own file, make some
15275         functions publically available. Added function ownerParagraph with
15276         int parameter.
15277
15278         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15279         made InInset() a const function, added getParFromID() function.
15280
15281         * buffer.[Ch]: added const version for inset_iterator functions,
15282         added getInsetFromID() function.
15283
15284         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15285         changed undo functions for new version.
15286
15287 2001-07-05  Juergen Vigna  <jug@sad.it>
15288
15289         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15290         unknow mechanism does not call the proper constructor but only this
15291         one also if I request the other!?
15292
15293 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15296
15297         * text2.C (LyXText): use initialization lists.
15298
15299         * lyxtext.h (Selection): initialize set_ and mark_
15300         (init): remove method
15301
15302 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15303
15304         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15305
15306 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * screen.[Ch]: change method names to begin with lowercase
15309
15310         * BufferView_pimpl.C (updateScrollbar): simplify further and
15311         hopefully make it a bit faster.
15312
15313 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15314
15315         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15316         calling directly xforms functions.
15317
15318         * Painter.C (Painter):
15319         * lyx_cb.C (MenuWrite):
15320         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15321         fl_display.
15322
15323         * lyx_gui.C: remove bogus guiruntime extern declaration.
15324
15325 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15326
15327         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15328         in NEW_INSETS
15329         (redoDrawingOfParagraph): ditto
15330         (redoParagraphs): ditto
15331         (cutSelection): don't create a object for CutAndPaste use the
15332         static method directly
15333         (pasteSelection): ditto
15334
15335         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15336         LyXview (+ rename)
15337
15338 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * modifications to some other files because of this.
15341
15342         * Makefile.am (lyx_SOURCES): add XFormsView
15343
15344         * XFormsView.[Ch]: new files
15345
15346         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15347         the main window. Move the gui dependent stuff to XFormsView
15348
15349 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15350
15351         * tabular.C (GetCellInset): update cur_cell also in the row/col
15352         version of this function.
15353
15354         * lyxfunc.C: no need to include figure_form.h here.
15355
15356         * FontLoader.h:
15357         * lyxfunc.h:
15358         * lyxscreen.h:
15359         * text2.C:
15360         * lyxvc.C: no need to include forms.h here.
15361
15362 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15365
15366         * lyxfunc.C (Dispatch):
15367         * Spacing.C (set):
15368         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15369         constructor argument.
15370
15371 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * paragraph.C (Paragraph): dont't clear, and just set layout.
15374         (makeSameLayout): use params's copy contructor.
15375
15376         * ParagraphParameters.[Ch] (makeSame): delete method
15377
15378 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15379
15380         * Variables.[Ch]: fix indentation, rename set to isSet
15381
15382 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15383
15384         * lyxfunc.C (Dispatch): fix typo
15385
15386 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15389         upper_bound.
15390
15391         * bufferlist.C: include assert.h for emergencyWrite().
15392
15393 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15394
15395         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15396           give up at last (bug #425202) !
15397
15398 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15399
15400         * lyx_gui_misc.C:
15401         * sp_form.h:
15402         * sp_form.C:
15403         * spellchecker.h:
15404         * spellchecker.C: strip spellchecker options and bring up
15405           preferences tab instead
15406
15407 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15410         the istringstream constructor
15411
15412 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * paragraph.C (getLayout): fix return value
15415
15416         * paragraph.h: do not declare getLayout as inline.
15417
15418         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15419
15420 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * lyxcursor.h (operator<): new func
15423         (operator>): new func
15424         (operator>=): new func
15425         (operator<=): new func
15426
15427         * text.C (changeCase): use selection.start and selection.end
15428         (changeRegionCase): require from to be <= to. Require par to be a
15429         valid paragraph.
15430
15431         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15432
15433 2001-06-27  Juergen Vigna  <jug@sad.it>
15434
15435         * text.C (cursorLeftOneWord): changed to return the cursor and added
15436         overlay with BufferView * parameter which calls this one.
15437         (getWord): added
15438         (selectWord): use new getWord function.
15439         (changeCase): renamed from changeWordCase as and extended to work
15440         also on selections.
15441
15442         * lyxtext.h: added enum word_location
15443
15444         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15445         changeCase as this operates now also on selections.
15446
15447 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15448
15449         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15450
15451         * many files: send debug output to Debug::INFO instead of
15452         Debug::ANY.
15453
15454         * converter.C (View):
15455         (Convert):
15456         (Move): send debug output to Debug::FILES instead of console.
15457
15458 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15459
15460         * lyxfunc.C (getStatus): use func_status
15461
15462         * func_status.h: new header, describing the results of
15463         LyXFunc::getStatus;
15464
15465         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15466         LFUN_MATH_HALIGN.
15467
15468 2001-06-25  The LyX Project  <jug@sad.it>
15469
15470         * buffer.C (sgmlOpenTag):
15471         (sgmlCloseTag):
15472         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15473
15474 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * text2.C: remove some dead code
15477
15478         * tabular.C (GetCellInset): store the last cell checked (gotten)
15479
15480         * tabular.h: add the helper for the speedup
15481
15482         * lyxtext.h: remove some dead code
15483
15484 2001-06-26  The LyX Project  <Asger>
15485
15486         * paragraph.C: Change export to LaTeX of alignment to
15487         \begin{center} and family for better roundtrip work with reLyX.
15488
15489         * Tune the math drawing a bit.
15490
15491 2001-06-25  The LyX Project  <Asger>
15492
15493         * LColor.C (LColor): New color for math background. New color
15494         for buttons.
15495
15496 2001-06-25  The LyX Project  <jug@sad.it>
15497
15498         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15499
15500         * lyxfunc.C (Open):
15501         * bufferlist.C (newFile): do not restrict to files ending with
15502         .lyx
15503
15504         * BufferView_pimpl.C (MenuInsertLyXFile):
15505
15506 2001-06-24  The LyX Project  <jug@sad.it>
15507
15508         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15509         of compare_no_case
15510
15511 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * lyxtext.h: rename most methods to begin with a small char.
15514         Lots of changes because of this.
15515
15516         * paragraph.C (Paragraph): do not call fitToSize
15517         (erase): call Pimpl::erase
15518         (insertChar): call Pimpl::insertChar
15519         (insertInset): call Pipl::insertInset
15520         (breakParagraph): do not call fitToSize
15521         (breakParagraphConservative): do not call fitToSize
15522         (fitToSize): remove method
15523
15524         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15525
15526 2001-06-24  The LyX Project  <Asger>
15527
15528         * Fix Qt compilation^2
15529
15530 2001-06-24  The LyX Project  <jug@sad.it>
15531
15532         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15533         depthHook(getDepth()-1).
15534
15535         * paragraph.h:
15536         * ParagraphParameters.h:
15537         * ParameterStruct.h: change type of depth to unsigned int ==
15538         depth_type. Many adaptations to other files before of that.
15539
15540 2001-06-24  The LyX Project  <Asger>
15541
15542         * Fix Qt compilation.
15543
15544 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * paragraph.h: renamed several methods to begin with small letter.
15547         several changes to many parts of the code because of this.
15548
15549 2001-06-23  The LyX Project  <jug@sad.it>
15550
15551         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15552         rewritten to discard all double spaces when KeepEmpty is off
15553         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15554         to only handle newlines but not fiddle with spaces and friends.
15555
15556         * lyxfunc.C (MenuNew): when doing 'new from template', use
15557         template_path as default directory
15558
15559 2001-06-23  The LyX Project  <Asger>
15560
15561         * Clean-up of header file includes all over
15562         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15563
15564 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15565
15566         * paragraph.h: renamed from lyxparagraph.h
15567
15568 2001-06-23  Asger  <lyx@violet.home.sad.it>
15569
15570         * Buffer.h: Removed Buffer::resize
15571         * BufferList.h: Removed BufferList::resize
15572         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15573         the document lazily when we change the width, or the font settings.
15574
15575 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15578
15579 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * buffer.h: remove out of date comment
15582
15583 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * lyxscreen.h:
15586         * screen.C: fix "theoretical" GC leak
15587
15588 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15589
15590         * LaTeX.C (scanAuxFile):
15591         (deplog): remove trailing \r when reading stream (useful under
15592         win32)
15593
15594 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15597         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15598         and BufferView::theLockingInset(Inset*), so should use them and not
15599         access bv_->text->the_locking_inset directly.
15600
15601         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15602
15603 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15604
15605         * Makefile.am:
15606         * tex-defs.h: remove old unused file
15607
15608 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15609
15610         * BufferView_pimpl.C: fix typo, remove minibuffer message
15611           when buffer has loaded
15612
15613 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15614
15615         * lyxfunc.C (Dispatch): use stringstream
15616         (MenuNew): use stringstream
15617         (Open): use stringstream
15618
15619         * importer.C (Import): use stringstream
15620
15621         * bufferview_funcs.C (CurrentState): use stringstream
15622
15623         * LaTeX.C (run): use stringstream
15624
15625         * BufferView_pimpl.C (savePosition): use stringstream
15626         (restorePosition): use stringstream
15627         (MenuInsertLyXFile): use stringstream
15628
15629 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15630
15631         * BufferView.C:
15632         * Bullet.C:
15633         * ColorHandler.C:
15634         * FontInfo.C:
15635         * FontLoader.C:
15636         * LColor.C:
15637         * LaTeXFeatures.C:
15638         * Painter.C:
15639         * gettext.C:
15640         * lyx_gui_misc.C:
15641         * lyxserver.C:
15642         * vspace.C: removed // -*- C++ -*- as first line.
15643
15644         * lyxfind.h:
15645         * version.h: added // -*- C++ -*- as first line.
15646
15647 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15648
15649         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15650
15651         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15652         of string
15653
15654 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15657         of floats.
15658
15659 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15660
15661         * gettext.C: include LString.h even when --disable-nls is on.
15662
15663 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * converter.h (Get): changed argument type from int to
15666         FormatList::size_type to avoid unnecessary conversion.
15667
15668         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15669         before using it.
15670
15671 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * gettext.h: include LString.h even when --disable-nls is on.
15674
15675 2001-06-07  Juergen Vigna  <jug@sad.it>
15676
15677         * text.C (BreakAgain): subst spaces with tabs.
15678
15679         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15680         (resizeInsetsLyXText): set force on resizeLyXText.
15681
15682 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * gettext.h (gettext_init):
15685         (locale_init): use a real definition instead of a macro
15686
15687 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15688
15689         * Bufferview_pimpl.C:
15690         * LColor.h:
15691         * LColor.C: further lcolor tidies
15692
15693 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15694
15695         * BufferView_pimpl.C (updateScrollbar): simplify.
15696
15697         * BufferView2.C: don't include insets/insetinfo.h, change
15698         prototype for insertInset and call the Pimpl version. let
15699         updateInset call Pimpl version.
15700
15701         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15702         gotoInset to BufferView::Pimpl
15703
15704 2001-06-01  Juergen Vigna  <jug@sad.it>
15705
15706         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15707         inside a LockingInset (is the update needed at all?).
15708
15709 2001-05-31  Juergen Vigna  <jug@sad.it>
15710
15711         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15712         here not the old one otherwise how should we compare it afterwards
15713         if it's the same!
15714
15715 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15716
15717         * lyxfont.C:
15718         * tabular.C:
15719         * tabular-old.C:
15720         * FontInfo.C: bring C functions into global namespace when
15721         necessary
15722
15723 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15724
15725         * LString.h: make sure config.h has been loaded before LString.h.
15726
15727         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15728         (one for each char read by EatLine!).
15729
15730         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15731         variables.
15732
15733 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15736         to the same as the par we break from
15737
15738 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15741
15742         * MenuBackend.C (expand): also create menu entries for wide
15743         versions of the floats.
15744
15745         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15746
15747         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15748
15749         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15750         frontends/Makefile.am
15751
15752         * text2.C: adjust
15753         * text.C: adjust
15754
15755
15756         * tabular.C (getTokenValue): add std::
15757
15758         * tabular-old.C (getTokenValue): add std::
15759         (getTokenValue): ditto
15760         (getTokenValue): ditto
15761
15762         * screen.C (ToggleSelection): adjust
15763
15764         * lyxtext.h: put selection cursors inside a Selection struct.
15765
15766         * lyxfunc.C (moveCursorUpdate): adjust
15767
15768         * lyxfont.C (latexWriteStartChanges): add std::
15769
15770         * lyxfind.C: adjust
15771
15772         * font.h: delete with(char const *, LyXFont const &)
15773
15774         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15775
15776         * FontInfo.C (getFontname): add std::
15777
15778         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15779         (workAreaButtonPress): adjust
15780         (tripleClick): adjust
15781         (update): adjust
15782         (moveCursorUpdate): adjust
15783         (Dispatch): adjust
15784
15785         * BufferView2.C (gotoInset): adjust
15786
15787 2001-05-30  Juergen Vigna  <jug@sad.it>
15788
15789         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15790         to check pspell I add this as default as I now have new pspell
15791         libraries and they seem to use this.
15792
15793 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * text2.C (CutSelection): make the cursor valid before the call to
15796         ClearSelection.
15797
15798 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15799
15800         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15801         relied on 0 terminated strings and other horrors. Bug found due to
15802         the new assert in lyxstring!
15803
15804         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15805         KP_ keys.
15806
15807 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15810         to latinkeys.bind.
15811
15812         * lyxfunc.C (processKeySym): change method of getting to the
15813         self-insert char.
15814
15815         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15816         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15817         * BufferView_pimpl.[Ch]: here as private methods.
15818
15819 2001-05-28  Juergen Vigna  <jug@sad.it>
15820
15821         * text.C (SetHeightOfRow): added the update() call again as it is
15822         needed to initialize inset dimensions!
15823
15824 2001-05-16  Juergen Vigna  <jug@sad.it>
15825
15826         * text2.C (SetCharFont): Add new function with BufferView * and
15827         bool toggleall parameters for setting insets internal fonts.
15828         (SetFont): Freeze the undo as we may change fonts in Insets and
15829         all this change should be inside only one Undo!
15830
15831         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15832         setting font's in insets as for them we have the SetFont function!
15833
15834 2001-05-15  Juergen Vigna  <jug@sad.it>
15835
15836         * text2.C (ClearSelection): to be sure we REALLY don't have any
15837         selection anymore!
15838
15839         * tabular.C (TeXCellPreamble): fixed the left border problem for
15840         multicolumn cells.
15841
15842 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15845         dependancy file
15846
15847 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15848
15849         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15850         LFUN_BREAKPARAGRAPH.
15851
15852         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15853         help test to "internal only", similar for LFUN_INSERT_URL
15854
15855         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15856         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15857         auto_region_delete and deadkeys.
15858
15859 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15860
15861         * LColor.h:
15862         * LColor.C: remove some dead entries, tidy a little
15863
15864 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15865
15866         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15867         commented code.
15868         (Dispatch): implement LFUN_ESCAPE
15869
15870         * commandtags.h: add LFUN_ESCAPE
15871
15872         * LyXAction.C (init): add entry for LFUN_ESCAPE
15873
15874         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15875         Remove commented code.
15876         (insertNote): moved here
15877         (open_new_inset): moved here
15878
15879         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15880         BufferView_pimpl
15881
15882 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * kbmap.C (findbinding): clean it up and make it work correctly.
15885
15886         * lyx_main.C (init): do not pass argc and argv as parameters
15887
15888 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15889
15890         * buffer.C: fix path for OS/2 & Win32
15891
15892         * lyx_gui.C:
15893         * lyx_main:
15894         * lyx_main.C: Added os:: class.
15895
15896         * os2_defines.h: update
15897
15898 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15901         better by trying again with reduced state.
15902
15903 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15904
15905         * lyxrc.C (read): print error about invalid key sequence only when
15906         debugging (because not all latinX keysyms are known to some X
15907         servers)
15908
15909         * kbsequence.C (getiso): add a few std:: qualifiers
15910         (getiso): comment out extra return statement.
15911
15912 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15915         handling.
15916         (Dispatch): enhance the accent inset a bit. (not perfect)
15917
15918 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15921
15922 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15923
15924         * bufferlist.C (emergencyWrite): fix assert() call
15925
15926 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15927
15928         * text.C (InsertChar): Added trivial patch to only send the "you
15929         can not do multiple spaces this way" message once during a
15930         session.
15931
15932 2001-05-08  Baruch Even  <baruch@lyx.org>
15933
15934         * Makefile.am: Changed order of libraries to get LyX to link properly
15935         with the gnome frontend.
15936
15937 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15938
15939         * LaTeXFeatures.h: add a std:: qualifier
15940
15941 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * paragraph.C (String): use stringstream
15944
15945 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * paragraph.C (writeFile): remove footflag arg
15948
15949         * buffer.C (makeLaTeXFile): use stringstream
15950         (latexParagraphs): remove footnot gurba
15951
15952         * LaTeXFeatures.C (getPackages): use stringstream
15953         (getMacros): likewise
15954         (getTClassPreamble): likewise
15955         (getFloatDefinitions): new method
15956
15957         * paragraph.C (writeFile): reindent
15958         (Erase): reindent
15959
15960         * WorkArea.h: revert the xpos + etc changes.
15961
15962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15963
15964         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15965
15966         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15967         (pasteSelection): likewise
15968         * text2.C (CreateUndo): likewise
15969
15970 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * minibuffer.C (peek_event): temporarily reduce the functionality
15973         of the minibuffer (to allow args on lfuns)
15974
15975         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15976         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15977
15978         * buffer.C (readInset): add compability reading of old float
15979         lists, add reading of new style float list.
15980         (readInset): avoid reevaluation of inscmd.getCmdName()
15981         (getLists): reindent
15982
15983         * MenuBackend.C (MenuItem): implement parsing of
15984         md_floatlistinsert and md_floatinsert.
15985         (expand::LastFiles): move initalizaton of iterators out of loop,
15986         avoid reevaluation.
15987         (expand::Documents): introduce typdedef vector<string> Strings,
15988         and use it.
15989         (expand::ExportFormats): introduce typedef vector<Format const *>
15990         Formats, and use it.
15991         (expand): implement FloatListInsert and FloatInsert.
15992
15993         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15994         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15995         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15996
15997         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15998         handling.
15999         (Dispatch::LFUN_FLOAT_LIST): implement
16000
16001 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16002
16003         * LaTeX.C (run): Fix problem with --export code.
16004
16005 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16006
16007         * BufferView.[Ch] (workarea): removed.
16008         (getClipboard) new method; wrapper for workarea()->getClipboard()
16009
16010         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16011         bug.
16012
16013         * WorkArea.h (width, height, xpos, ypos): These methods all
16014         returned the dimensions of the work_area sub-area of WorkArea,
16015         resulting in a position error if the WorkArea were resized. Now
16016         return the dimensions of the entire WorkArea.
16017
16018         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16019
16020 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * LaTeX.C (deplog): correct the syntax of regex reg1
16023
16024 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * undo.C: remove !NEW_INSETS cruft
16027
16028 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * text2.C: remove !NEW_INSETS cruft
16031
16032         * text.C: remove !NEW_INSETS cruft
16033
16034         * tabular.C: remove !NEW_INSETS cruft
16035
16036         * spellchecker.C: remove !NEW_INSETS cruft
16037
16038         * lyxtext.h: remove !NEW_INSETS cruft
16039
16040         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16041
16042         * lyxfunc.C: remove !NEW_INSETS cruft
16043
16044         * lyxfind.C: remove !NEW_INSETS cruft
16045
16046         * lyx_cb.C: remove !NEW_INSETS cruft
16047
16048         * figureForm.C: remove  !NEW_INSETS cruft
16049
16050         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16051
16052         * buffer.[Ch]: remove !NEW_INSETS cruft
16053
16054         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16055
16056         * CutAndPaste.C: remove !NEW_INSETS cruft
16057
16058         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16059
16060         * BufferView2.C: remove !NEW_INSETS cruft
16061
16062         * BufferView.h: remove !NEW_INSETS cruft
16063
16064 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16065
16066         * Lsstream.h: include LString.h before the sstream headers to
16067         fix problem with gcc 2.95.3 and lyxstring
16068
16069 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * lyx_main.C: add using directives when needed for C functions
16072         declared in std:: namespace.
16073
16074 2001-04-27  Juergen Vigna  <jug@sad.it>
16075
16076         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16077         (SetHeightOfRow): comment out the update call should not be needed!
16078
16079 2001-04-13  Juergen Vigna  <jug@sad.it>
16080
16081         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16082         (LyXTabular): tried to minimize operator= operations (and realized
16083         hopfully Lars wish).
16084
16085 2001-04-27  Juergen Vigna  <jug@sad.it>
16086
16087         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16088
16089 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16090
16091         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16092
16093         * buffer.C (readInset): hack to make listof algorithm work
16094
16095         * BufferView_pimpl.C: hack to make listof algorithm work
16096
16097 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16098
16099         * LyXAction.C: removed all !NEW_INSETS cruft
16100         (init): moved lfun_item in method
16101
16102         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16103
16104 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16105
16106         * BufferView2.C (theLockingInset): white space.
16107
16108 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16109
16110         * minibuffer.C: include <iostream>
16111
16112         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16113
16114         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16115
16116         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16117
16118         * text.[Ch] (TransposeChars): new method
16119
16120 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * call message directly through LyXView instead of through LyXFunc
16123         * BufferView2.C: adjust
16124         * BufferView_pimpl.C: adjust
16125         * FontLoader.C: adjust
16126         * buffer.C: adjust
16127         * bufferview_funcs.C: adjust
16128         * converter.C: adjust
16129         * figureForm.C: adjust
16130         * importer.C: adjust
16131         * lyx_cb.C: adjust
16132         * lyx_gui_misc.C: adjust
16133         * lyxfunc.C: adjust
16134         * lyxvc.C: adjust
16135         * text2.C: adjust
16136         + more files in subdirs
16137
16138         * lyxparagraph.h (size): move up int file
16139         (GetLayout): ditto
16140
16141         * adjust all uses of Assert to lyx::Assert.
16142
16143         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16144         lyxfunctional in namespace lyx
16145         * layout.C (hasLayout): ditto
16146         (GetLayout): ditto
16147         (GetLayout): ditto
16148         (delete_layout): ditto
16149         (NumberOfClass): ditto
16150         * converter.C (GetFormat): ditto
16151         (GetNumber): ditto
16152         (Add): ditto
16153         (Delete): ditto
16154         (SetViewer): ditto
16155         * bufferlist.C (getFileNames): ditto
16156         (emergencyWriteAll): ditto
16157         (exists): ditto
16158         (getBuffer): ditto
16159         * MenuBackend.C (hasSubmenu): ditto
16160         (hasMenu): ditto
16161         (getMenu): ditto
16162         * BufferView_pimpl.C (getInsetByCode): ditto
16163
16164 2001-04-18  Juergen Vigna  <jug@sad.it>
16165
16166         * vspace.C (asLatexString): fixed the 100% problem.
16167
16168 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * lyxfunc.C (Dispatch):
16171         * minibuffer.C:
16172         * minibuffer.h: add a few std:: qualifiers
16173
16174 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * minibuffer.[Ch]: reimplement so that commands is initiated and
16177         run from lyxfunc, simplified som handling, and made the completion
16178         and history code for complete. wip.
16179
16180         * lyxfunc.C (processKeySym): call message
16181         (miniDispatch): new temporary method
16182         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16183         (LFUN_MESSAGE): implement
16184         (LFUN_MESSAGE_PUSH): implement
16185         (LFUN_MESSAGE_POP): implement
16186         (initMiniBuffer): the initial/defualt minibuffer message.
16187
16188         * lyxfont.[Ch]: inline some more getters
16189
16190         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16191
16192         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16193
16194         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16195         (AutoSave): use LFUN_MESSAGE
16196         (Reconfigure): ditto
16197
16198         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16199
16200         * figureForm.C: use LFUN_MESSAGE
16201
16202         * converter.C (runLaTeX): use LFUN_MESSAGE
16203
16204         * bufferview_funcs.C: use LFUN_MESSAGE
16205         (Melt): ditto
16206         (changeDepth): ditto
16207
16208         * bufferparams.h: use boost::
16209
16210         * bufferlist.h: inherit privately from noncopyable
16211
16212         * bufferlist.C (loadLyXFile): remove some commented code.
16213
16214         * buffer.C (runChktex): use LFUN_MESSAGE
16215
16216         * ShareContainer.h: inherit privately from noncopyable
16217
16218         * ParagraphParameters.[hC] (depth): inline it.
16219
16220         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16221         methods.
16222         (message): new method
16223         (messagePush): ditto
16224         (messagePop): ditto
16225         (show): init minibuffer
16226         (showState): direct call
16227
16228         * LaTeX.[Ch]: inherit privately from noncopyable
16229         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16230         instead of WriteStatus.
16231
16232         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16233
16234         * BufferView_pimpl.C (buffer): don't init minibuffer
16235         (workAreaButtonPress): use LFUN_MESSAGE
16236         (workAreaButtonRelease): ditto
16237         (savePosition): ditto
16238         (restorePosition): ditto
16239         (MenuInsertLyXFile): ditto
16240         (workAreaExpose): don't init minibuffer
16241         (update): remove commented code, simplify
16242
16243         * BufferView2.C (openStuff): use LFUN_MESSAGE
16244         (toggleFloat): ditto
16245         (menuUndo): ditto
16246         (menuRedo): ditto
16247         (copyEnvironment): ditto
16248         (pasteEnvironment): ditto
16249         (copy): ditto
16250         (cut): ditto
16251         (paste): ditto
16252         (gotoInset): ditto
16253         (updateInset): remove some commented code
16254
16255         * lastfiles.h: inherit privately from noncopyable
16256         * layout.h: ditto
16257         * lyx_gui.h: ditto
16258         * lyx_main.h: ditto
16259         * lyxlex.h: ditto
16260         * lyxlex_pimpl.h: ditto
16261
16262         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16263         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16264         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16265
16266         * LyXAction.h: inherit privately from noncopyable, add methods
16267         func_begin, func_end, returning iterators to the func map.
16268
16269         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16270         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16271         (func_begin): new method
16272         (func_end): new method
16273
16274         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16275         and not)
16276         (copySelection): ditto
16277         (pasteSelection): ditto
16278
16279         * BufferView.C: whitespace change
16280         * BufferView.h: inherit privately from noncopyable
16281
16282 2001-04-16  Allan Rae  <rae@lyx.org>
16283
16284         * tabular-old.C (l_getline):
16285         * spellchecker.C (sc_check_word):
16286         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16287         an unrecognised preprocessor directive.  So ensure they're wrapped.
16288
16289 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * src/exporter.C (Export): Give an error message when path to file
16292         contains spaces.
16293
16294 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16295
16296         * LaTeX.C (deplog): Always check that foundfile exists.
16297
16298 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16299
16300         * lyx_main.h:
16301         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16302
16303 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16304
16305         * tabular.[Ch] (getLabelList): implement new method
16306
16307         * minibuffer.h: comment ouf setTiimer
16308
16309         * minibuffer.C (ExecutingCB): constify res
16310         (peek_event): constify s
16311         (Set): constify ntext
16312         (Init): constify nicename
16313
16314         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16315
16316         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16317         (savePosition): use two params to Minibuffer::Set
16318         (restorePosition): ditto
16319
16320 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * lyx_main.C: include language.h
16323
16324         * Makefile.am (lyx_main.o): add language.h
16325
16326 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16327
16328         * exporter.C:
16329         * paragraph.C:
16330         * screen.C:
16331         * tabular.C:
16332         * CutAndPaste.C: include gettext.h
16333
16334         * lyxfont.h: remove old hack with ON and OFF.
16335
16336         * lyxparagraph.h:
16337         * lyxfont.h: do not include language.h...
16338
16339         * BufferView2.C:
16340         * LaTeXFeatures.C:
16341         * Painter.C:
16342         * bufferview_funcs.C:
16343         * font.C:
16344         * lyxfont.C:
16345         * text.C:
16346         * text2.C:
16347         * trans_mgr.C:
16348         * paragraph.C: ... but do it here instead
16349
16350 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16351
16352         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16353
16354         * tabular.C: small reformat
16355
16356         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16357         NEW_INSETS version
16358         (GetChar): ditto
16359         (BreakParagraph): ditto
16360         (SetOnlyLayout): ditto
16361         (SetLayout): ditto
16362
16363         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16364         with one arg less.
16365
16366         * lastfiles.C: removed most using decl, add std:: where needed
16367
16368         * buffer.C: ws changes
16369
16370         * MenuBackend.C (class compare_format): put into anon namespace
16371         (expand): constify label, names, action, action2
16372         (expand):
16373
16374         * text.C (SingleWidth): constify font
16375         (IsBoundary): constify rtl2
16376         (GetVisibleRow): constify ww
16377
16378         * LaTeX.C (deplog): constify logfile
16379
16380         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16381         start_x, end_x
16382         (workAreaExpose): constify widthChange, heightChange
16383
16384         * lyxrow.C (par): moved
16385         (height): moved
16386         (next): moved
16387         * lyxrow.h: as inlines here
16388
16389         * lyxfont.h (shape): moved from lyxfont.C
16390         (emph): moved from lyxfont.C
16391
16392         * lyxfont.C (LyXFont): use initialization list for all
16393         constructors
16394         (shape): move to lyxfont.h as inline
16395         (emph): move to lyxfont.h as inline
16396
16397
16398 2001-04-04  Juergen Vigna  <jug@sad.it>
16399
16400         * vspace.C: had to include stdio.h for use of sscanf
16401
16402 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16403
16404         * BufferView.h:
16405         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16406         independent of xforms.
16407
16408 2001-04-02  Juergen Vigna  <jug@sad.it>
16409
16410         * spellchecker.C: fixed namespace placing!
16411
16412 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16413
16414         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16415         the LyXParagraph * is 0.
16416
16417 2001-03-29  Juergen Vigna  <jug@sad.it>
16418
16419         * vspace.C: added support for %, c%, p%, l%.
16420         (stringFromUnit): added helper function.
16421         (asLatexString): changed to give right results for the %-values.
16422
16423         * buffer.C: convert the widthp in a width%.
16424
16425 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16426
16427         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16428         figureForm.[Ch].
16429
16430         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16431         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16432
16433         * lyx_cb.[Ch]: see above.
16434
16435         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16436         form1.[Ch].
16437
16438         * form1.[Ch]:
16439         * lyx.[Ch]: replaced by figure_form.[Ch].
16440
16441         * lyx_gui.C:
16442         * lyx_gui_misc.C:
16443         * lyxfunc.C: changed headers associated with above changes.
16444
16445 2001-03-27  Juergen Vigna  <jug@sad.it>
16446
16447         * BufferView_pimpl.C: set the temporary cursor right!
16448
16449 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16450
16451         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16452
16453 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16454
16455         * LString.h: removed "using std::getline"!
16456
16457         * BufferView_pimpl.C (Dispatch): changes due to changes in
16458         InsetInclude::Params.
16459
16460         * buffer.C (tag_name): removed redundant break statements as they were
16461         producing lots of warnings with my compiler.
16462
16463 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * LString.h: add "using std::getline" when using the real <string>.
16466
16467 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16468
16469         * buffer.C: removed bitset usage.
16470         PAR_TAG moved to an anonymous name space.
16471         (tag_name): new funtion, also in the anonymous namespace.
16472         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16473         (makeDocBookFile): clean code. Completed transition from string arrays
16474         to string vectors.
16475         (SimpleDocBookOnePar): code clean.
16476
16477 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16478
16479         * tabular.C: add some comments.
16480
16481 2001-03-22  Juergen Vigna  <jug@sad.it>
16482
16483         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16484         compatibility read a bit and fixed bug with minipage in different
16485         depth.
16486
16487 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16488
16489         * buffer.C (pop_tag): removed.
16490         (push_tag): removed.
16491         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16492         array replaced with vector. Added support for CDATA sections.
16493         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16494         at any nest level.
16495         (makeDocBookFile): XML conformant declaration of CDATA section,
16496         fixed bug related to <emphasis> in the first paragraph char.
16497         (sgmlOpenTag): exclude empty tags.
16498         (sgmlCloseTag): ditto.
16499
16500         * buffer.h (pop_tag): removed.
16501         (push_tag): removed.
16502
16503 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16504
16505         * language.h (Languages): added size_type and size().
16506
16507 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16508
16509         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16510         response on compability reading of minipages. One probliem is that
16511         the old usage of minipages was «flertydig»
16512
16513         * several files here and in subdirs: don't use static at file
16514         scope use anon namespaces instead.
16515
16516 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16517
16518         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16519         LaTeX output. This is necessary for Literate document
16520         processing.
16521
16522 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16523
16524         * buffer.C: insert hfill when needed.
16525
16526         * tabular.C (l_getline): use string::erase, small whitespace change.
16527
16528         * BufferView_pimpl.C: try the anon namespace.
16529         * WorkArea.C: ditto
16530
16531 2001-03-16  Juergen Vigna  <jug@sad.it>
16532
16533         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16534         otherwise it won't open options-dialogs.
16535
16536         * buffer.C: honor pextraWidth(p) on converting minipages.
16537
16538         * tabular.C (l_getline): changed the functions to strip trailing \r.
16539
16540 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16541
16542         * BufferView_pimpl.C:
16543         * minibuffer..C: added "using SigC::slot" declaration.
16544
16545 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16546
16547         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16548
16549         * text2.C: ditto
16550
16551         * text.C: ditto
16552
16553         * paragraph.C: ditto
16554
16555         * lyxtext.h: NO_PEXTRA
16556
16557         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16558
16559         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16560         * ParameterStruct.h: ditto
16561         * ParagraphParameters.h: ditto
16562         * lyxparagraph.h: ditto
16563
16564 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16565
16566         * buffer.C: add compability for minipage alignment.
16567         (latexParagraphs): remove unwanted pextra check.
16568
16569         * several files: remove CXX_WORKING_NAMESPACES
16570
16571         * buffer.C (pop_tag): tie is in namespace boost
16572
16573         * BufferView.h: noncopyable is in namespace boost
16574         * lyxlex.h: ditto
16575         * lyx_main.h: ditto
16576         * lyx_gui.h: ditto
16577         * layout.h: ditto
16578         * lastfiles.h: ditto
16579         * bufferlist.h: ditto
16580         * ShareContainer.h: ditto
16581         * LyXView.h: ditto
16582         * LyXAction.h: ditto
16583         * LaTeX.h: ditto
16584
16585 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16586
16587         * Merging changes from BRANCH_MVC back into HEAD.
16588
16589         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16590
16591 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16592
16593         * BufferView_pimpl.C: change from intl.C
16594
16595         * combox.h:
16596         * combox.C:
16597         * Makefile.am: move combox.*
16598
16599         * form1.h:
16600         * form1.C:
16601         * lyx_gui.C:
16602         * intl.h:
16603         * intl.C: remove dialog (covered by prefs)
16604
16605 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16606
16607         * lyxfunc.C (Dispatch): removed redundant break statement.
16608
16609 2001-03-14  Juergen Vigna  <jug@sad.it>
16610
16611         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16612
16613 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16614
16615         * buffer.C: add hack to fix compability reading of minipages.
16616
16617 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16618
16619         * buffer.C (getLists): Cleanup.
16620
16621 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * lyxfont.C (update): don't honor toggleall on font size.
16624
16625 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16626
16627         * bmtable.c:
16628         * bmtable.h:
16629         * Makefile.am: moved to frontends/xforms/
16630
16631         * lyx_gui_misc.C:
16632         * lyxfunc.C:
16633         * BufferView_pimpl.C: changes for moved mathpanel
16634
16635 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16636
16637         * gettext.h: fix gettext_init() in --disable-nls
16638
16639 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16642
16643 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16644
16645         * lyx.C:
16646         * lyx.h: strip external form
16647
16648 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16649
16650         * BufferView_pimpl.C: add comment, destroySplash()
16651
16652 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * BufferView_pimpl.C:
16655         * LyXAction.C:
16656         * buffer.C:
16657         * commandtags.h:
16658         * lyxfunc.C: use re-worked insetinclude
16659
16660 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16661
16662         * buffer.C: add using std::stringstream.
16663
16664         * lyx_cb.C: readd using std::ios.
16665
16666         * buffer.C: add using std::map.
16667
16668         * BufferView_pimpl.C: add using std::vector.
16669
16670         * ShareContainer.h: add std:: to swap.
16671
16672         * buffer.h: add some typedefs
16673         * buffer.C (getLists): use them
16674         (getLists): renamed from getTocList.
16675         add a counter for the different float types and use it in the
16676         generated string.
16677         (getLists): use the same counter for the NEW_INSETS and the "non"
16678         NEW_INSETS
16679
16680         * lyx_cb.h: remove unused items, includes, using etc.
16681
16682         * ShareContainer.h: remove some commented code, add more comments
16683         and "documentation".
16684
16685 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * buffer.C (getTocList): make the list also when NEW_INSETS is
16688         defined.
16689
16690         * buffer.h: remove TocType
16691
16692         * buffer.C (getTocList): change to return a map<string,
16693         vector<TocItem> >, implement for dynamic number of list.
16694
16695         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16696         * text2.C (PasteSelection): adjust
16697         * CutAndPaste.C (pasteSelection): adjust
16698
16699         * FloatList.C (FloatList): update from the new_insets branch.
16700         * Floating.[Ch]: ditto
16701         * LaTeXFeatures.C: ditto
16702         * buffer.C: ditto
16703         * lyxlex_pimpl.C: ditto
16704
16705         * paragraph.C (Last): remove when NEW_INSETS is defined.
16706
16707         * other file: changes because of the above.
16708
16709 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16710
16711         * lyxparagraph.h: rename next to next_, previous to previous_,
16712         make them private for NEW_INSETS. Rename Next() to next(),
16713         Previous() to previous().
16714
16715         * other files: changes because of the above.
16716
16717 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16718
16719         * BufferView.h:
16720         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16721         problem.
16722
16723 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16724
16725         * main.C (main): pass lyx_localedir to gettext_init().
16726
16727         * gettext.h: remove locale_init and gettext_init macros
16728
16729         * gettext.C (locale_init): new function
16730         (gettext_init): new function
16731
16732         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16733         setlocale().
16734
16735 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16736
16737         * Moved credits to frontends:
16738         * credits.[Ch]: removed
16739         * credits_form.[Ch]: removed
16740         * lyx_gui_misc.C: remove credits stuff
16741         * Makefile.am:
16742
16743 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16744
16745         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16746
16747         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16748         unneeded destructor.
16749
16750         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16751         a standalone pointer again.
16752
16753         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16754
16755 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16756
16757         * Makefile.am:
16758         * filedlg.h:
16759         * filedlg.C:
16760         * LyXAction.C:
16761         * ToolbarDefaults.C:
16762         * bufferlist.C:
16763         * commandtags.h:
16764         * form1.C:
16765         * form1.h:
16766         * lyx_cb.C:
16767         * lyx_cb.h:
16768         * lyxfunc.h:
16769         * lyxfunc.C:
16770         * BufferView_pimpl.C: use new file dialog in GUII
16771
16772         * lyx_cb.h:
16773         * lyx_cb.C: remove LayoutsCB to Toolbar
16774
16775 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16776
16777         * ShareContainer.h (get): add std:: qualifier
16778
16779 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * ShareContainer.h: define a proper ShareContainer::value_type
16782         type (and use typename to please compaq cxx)
16783
16784 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16785
16786         * lyxparagraph.h: move serveral local vars to
16787         ParameterStruct/ParagraphParameters., use ShareContainer in
16788         FontTable., make vars in FontTable private and add getter and
16789         setter.
16790
16791         * paragraph.C: changes because of the above.
16792
16793         * lyxfont.h: remove copy constructor and copy assignment. (the
16794         default ones is ok), move number inside FontBits. move inlines to
16795         lyxfont.C
16796
16797         * lyxfont.C: add number to initializaton of statics, move several
16798         inlines here. constify several local vars. some whitespace
16799         cleanup. Dont hide outerscope variables.
16800
16801         * Spacing.h: add two new constructors to match the set methods.
16802
16803         * ShareContainer.h: new file, will perhaps be moved to support
16804
16805         * ParameterStruct.h: new file
16806
16807         * ParagraphParameters.h: new file
16808
16809         * ParagraphParameters.C: new file
16810
16811         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16812         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16813
16814         * BufferView_pimpl.C: ParagraphParameter changes.
16815         * buffer.C: Likewise.
16816         * bufferview_funcs.C: Likewise.
16817         * text.C: Likewise.
16818         * text2.C: Likewise.
16819
16820 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16821
16822         * lyxfind.C (LyXReplace): do not redefine default argument in
16823         implementation.
16824         (IsStringInText): ditto
16825         (SearchForward): ditto
16826         (SearchBackward): ditto
16827
16828 2001-03-06  Juergen Vigna  <jug@sad.it>
16829
16830         * lyxfind.C (IsStringInText): put parentes around expressions.
16831
16832 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16833
16834         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16835
16836 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16837
16838         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16839
16840         * stl_string_fwd.h: add comment
16841
16842         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16843
16844         * tabular.h:
16845         * tabular.C: remove unused DocBook methods
16846
16847         * intl.C:
16848         * language.C:
16849         * paragraph.C:
16850         * buffer.C:
16851         killed DO_USE_DEFAULT_LANGUAGE
16852
16853 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * lyx_gui.C: do not include language.h.
16856
16857         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16858         arguments in function implementation.
16859
16860 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16861
16862         * BufferView_pimpl.C: add <ctime>
16863
16864 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16865
16866         * BufferView_pimpl.C: add using std::find_if
16867
16868 2001-02-27  José Matos  <jamatos@fep.up.pt>
16869
16870         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16871         by OnlyPath.
16872
16873 2001-02-11  José Matos  <jamatos@fep.up.pt>
16874
16875         * buffer.C (makeDocBookFile): command styles now have a parameter as
16876         "title" by default.
16877
16878 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16879
16880         * layout_forms.[Ch]: removed
16881         * lyx_cb.[Ch]: out character
16882         * lyx_gui.C: out character
16883         * lyx_gui_misc.C: out character
16884         * bufferview_funcs.C: : out character,
16885         added toggleall as parameter in ToggleAndShow
16886
16887 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16888
16889         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16890
16891         * text2.C (SetCurrentFont): Disable number property at boundary.
16892
16893 2001-02-26  Juergen Vigna  <jug@sad.it>
16894
16895         * lyxfunc.C (getStatus): added a string argument override function so
16896         that this is correctly called from LyXFunc::Dispatch if it contains a
16897         do_not_use_argument which is used!
16898         (Dispatch): added check for "custom" export and call appropriate func.
16899
16900 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16901
16902         * lyxrc.C: Add language_command_local, language_use_babel and
16903         language_global_options.
16904
16905         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16906
16907         * buffer.C (makeLaTeXFile): Use language_use_babel and
16908         language_global_options.
16909
16910 2001-02-23  Juergen Vigna  <jug@sad.it>
16911
16912         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16913         which works with LyXText and putted it inside BufferView. Here now we
16914         only call for that part the BufferView::Dispatch() function.
16915
16916         * BufferView.C (Dispatch): added.
16917
16918         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16919         functions which needs to use a LyXText over from LyXFunc.
16920         (MenuInsertLyXFile): added
16921         (getInsetByCode): added
16922         (moveCursorUpdate): added
16923         (static TEXT): added
16924
16925 2001-02-22  Juergen Vigna  <jug@sad.it>
16926
16927         * BufferView_pimpl.C (update): call a status update to see if LyXText
16928         needs it.
16929
16930 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16931
16932         * vc-backend.C (revert): implement for CVS
16933         (getLog): implement for CVS
16934
16935 2001-02-20  Juergen Vigna  <jug@sad.it>
16936
16937         * text2.C (ClearSelection): added BufferView param for inset_owner call
16938
16939         * lyxfunc.C (TEXT): added this function and use it instead of
16940         directly owner->view()-text of getLyXText().
16941
16942 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16943
16944         * src/layout_forms.C: out preamble
16945         * src/layout_forms.h: out preamble
16946         * src/lyx_cb.C: out preamble
16947         * src/lyx_cb.h: out preamble
16948         * src/lyx_gui.C: out preamble
16949         * src/lyx_gui_misc.C: out preamble
16950         * src/lyxfunc.C: connect with guii preamble
16951
16952 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16953
16954         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16955
16956 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16957
16958         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16959         whether to run bibtex.
16960
16961 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16962
16963         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16964
16965 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16966
16967         * Makefile.am (lyx_SOURCES): removed bibforms.h
16968
16969         * vspace.h: doxygen
16970
16971         * text.C (GetVisibleRow): make several local vars const
16972
16973         * tabular.C: small cleanup.
16974
16975         * lyxserver.C (callback): use compare instead of strncmp
16976
16977         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16978         inlines to after class or to paragraph.C
16979
16980         * lyxfont.h: remove friend operator!=
16981
16982         * converter.h: move friend bool operator< to non friend and after
16983         class def.
16984
16985         * combox.h: small cleanup
16986
16987         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16988         to inlines after class def.
16989
16990         * buffer.C (pop_tag): use string operations instead of strcmp
16991
16992         * bmtable.c: doxygen, small cleanup
16993
16994         * LaTeX.h: remove friend operator==
16995
16996 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16997
16998         * screen.C:
16999         * lyxrc.[Ch]:
17000         * lyxfunc.C:
17001         * lyxfont.[Ch]:
17002         * lyx_cb.C:
17003         * intl.[Ch]:
17004         * commandtags.h:
17005         * buffer.C:
17006         * WorkArea.[Ch]:
17007         * LyXAction.C:
17008         * BufferView_pimpl.C:
17009         * BufferView.[Ch]: remove cruft
17010
17011 2001-02-14  Juergen Vigna  <jug@sad.it>
17012
17013         * lyxfunc.C: removed #if 0 unused code
17014
17015         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17016
17017         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17018
17019         * text2.C (SetSelection): added a BufferView * parameter
17020
17021 2001-02-13  Juergen Vigna  <jug@sad.it>
17022
17023         * lyxfunc.C (Dispatch): fixed protected blank problem.
17024         * BufferView2.C (protectedBlank): added LyxText * parameter.
17025
17026         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17027         (AppendColumn): same as above for column_info.
17028
17029         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17030         (moveCursorUpdate): use a LyXText param for support of InsetText.
17031
17032         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17033         (tripleClick): ditto
17034
17035         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17036
17037         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17038
17039         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17040
17041         * text2.C (SetSelection): set correct update status if inset_owner
17042         (ToggleFree): ditto
17043
17044 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17045
17046         * tabular.C: remove some commented code.
17047
17048 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17049
17050         * BufferView_pimpl.C: call hideSplash()
17051
17052         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17053
17054         * include_form.h:
17055         * bibforms.h: remove
17056
17057         * lyxfunc.C:
17058         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17059           add LFUN_CHILD_CREATE
17060
17061         * counters.h: fix tiny typo
17062
17063         * lyx_cb.C:
17064         * lyx.h:
17065         * lyx_gui.C:
17066         * lyx.C: move splash to frontends/xforms/
17067
17068         * lyx_gui_misc.C: move Include and Bibform to frontends
17069
17070         * lyxvc.h: clarify comment
17071
17072         * vspace.C: tiny housekeeping
17073
17074 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17075
17076         * text.C (PrepareToPrint): RTL Fix.
17077
17078         * paragraph.C (GetUChar): New method.
17079         (String):  Use GetUChar.
17080
17081         * buffer.C (asciiParagraph): Use GetUChar.
17082
17083 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17084
17085         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17086
17087 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17088
17089         * buffer.h:
17090         * buffer.C: rename to getLogName(), handle
17091           build log / latex log nicely
17092
17093 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17094
17095         * MenuBackend.C:
17096         * MenuBackend.h: remove support for reference menuitem type.
17097
17098 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17099
17100         * BufferView_pimpl.C: housekeeping
17101         * BufferView_pimpl.h:
17102         * LyXView.h:
17103         * Makefile.am:
17104         * Timeout.C:
17105         * Timeout.h:
17106         * minibuffer.h: move Timeout GUI-I
17107
17108 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17109
17110         * lyxrc.C (read): Update converters data-structures.
17111
17112 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17113
17114         * LaTeX.h (operator!=): add operator != for Aux_Info
17115
17116 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17117
17118         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17119
17120         * LaTeXLog.C: deleted, useful code moved to Buffer
17121
17122         * buffer.h:
17123         * buffer.C: new function getLatexLogName()
17124
17125         * lyx_gui_misc.C:
17126         * lyx_gui.C:
17127         * lyxvc.C:
17128         * lyxvc.h:
17129         * lyxfunc.C: use frontends for LaTeX and VC logs
17130
17131 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17132
17133         * LaTeX.h: yet another std:: that Allan forgot.
17134
17135         * Variables.C (set): renamed from isset(), because this clashes
17136         with some HP-UX macros (grr).
17137
17138 2001-02-06  Allan Rae  <rae@lyx.org>
17139
17140         * LaTeX.h: Another bug fix.  Missing std:: this time.
17141
17142 2001-02-04  Allan Rae  <rae@lyx.org>
17143
17144         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17145         floats problem. I've left it commented out because it's not quite
17146         correct.  It should also test that the current object is a table or
17147         figure inset.  But I haven't gotten around to figuring out how to do
17148         that.  I *think* it'll be something like: "table" == inset.type()
17149
17150         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17151         bool.
17152
17153 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17154
17155         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17156         all the citation/databases/styles in the auxilary file.
17157         (run): Rerun latex if there was a babel language error.
17158
17159 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17160
17161         * text.C (Backspace): Preserve the font when changing newline char
17162         with a space.
17163         (BreakParagraph): If the cursor is before a space, delete the space.
17164
17165         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17166
17167 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17168
17169         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17170         new argument (code).
17171         (ChangeCitationsIfUnique): New method.
17172
17173         * paragraph.C (GetPositionOfInset): Handle bibkey.
17174
17175 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17176
17177         * BufferView_pimpl.h: change type of Position::par_pos to
17178         LyXParagraph::size_type.
17179
17180 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17181
17182         * BufferView_pimpl.C (savePosition, restorePosition): Write
17183         messages to minibuffer.
17184
17185 2001-01-28  José Matos  <jamatos@fep.up.pt>
17186
17187         * buffer.C (makeDocBookFile): adds support for document language.
17188         A silly restriction on the name of LatexCommand types where removed.
17189         Added support for CDATA sections, allows to chars unescaped, used
17190         among others in code, to avoid escape < and >.
17191
17192 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17193
17194         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17195         saved positions instrad of a stack. Furthermore, a position is
17196         stored using paragraph id/paragraph position.
17197
17198         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17199         Remove LFUN_REF_BACK.
17200
17201 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17202
17203         * converter.C (dvipdfm_options): New method.
17204
17205 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17206
17207         * vspace.C (isValidLength): Fix for empty input string.
17208
17209 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17210
17211         * LyXAction.C (init): change description of LFUN_FIGURE to
17212         "Insert Graphics"
17213
17214 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17215
17216         * LaTeX.C: add using directive
17217
17218 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17219
17220         * MenuBackend.C (expand): Fix the sorting of the formats.
17221
17222 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17223
17224         * lyx_main.C: tiny error message fix
17225
17226 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17227
17228         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17229         calling fl_initialize(). This fixes the problem with ',' as
17230         decimal separator in text files.
17231
17232 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17233
17234         * trans.C (process): Fix the keymap bug.
17235
17236 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17237
17238         * LaTeX.C (scanAuxFiles): New method. Provides support for
17239         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17240         (scanLogFile) Scan for "run BibTeX" messages.
17241
17242         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17243         OT1 font encoding. Also, load the aecompl package if the ae
17244         package is loaded.
17245
17246         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17247
17248 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17249
17250         * texrow.C (increasePos): turn two error messages into debug
17251         messages.
17252
17253 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17254
17255         * LaTeX.C (scanAux): Handle the \@input macro.
17256         (runBibTeX): Use scanAux().
17257
17258         * language.C (latex_options_): New field.
17259
17260         * LaTeXFeatures.C (getMacros): Add language macros.
17261
17262         * buffer.C (makeLaTeXFile): Small fix.
17263
17264 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17265
17266         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17267
17268         * text2.C: add a using directive.
17269
17270 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17271
17272         * BufferView2.C:
17273         * lyx_gui_misc.h:
17274         * lyxfr1.C:
17275         * lyxfunc.C: kill LyXBell.
17276
17277 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17278
17279         * text.C (IsBoundary): Remove the error message
17280
17281         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17282
17283         * lyxrc.C (setDefaults): Correct initialization value for
17284         font_norm_type.
17285
17286 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17287
17288         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17289         gotoError().
17290
17291         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17292         and GotoNextNote().
17293
17294         * src/LyXAction.C: Added reference-next.
17295
17296         * text.C (InsertChar): Use contains instead of strchr.
17297
17298         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17299
17300 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17301
17302         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17303         alignment commands (when needed).
17304
17305         * text.C (InsertChar): Add ':' to number separator chars.