]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Spell 'Urlichs' correctly
[lyx.git] / src / ChangeLog
1 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
4
5 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * BufferView.C (setCursor): change to use a DocIterator.
8         (gotoLabel): use BufferView::setCursor (other part of bug 781).
9         (putSelectionAt): adapt to BufferView::setCursor change.
10
11         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
12         moved here from LyXText and rewritten to use proper cursor
13         methods. Fixes bug 1787, 616 and 835.
14
15         * BufferView_pimpl.C (restorePosition): set the cursor correctly
16         when inside an inset (part of bug 781).
17         (dispatch): adapt to change of BufferView::setCursor.
18         (getStatus, dispatch): handle LFUN_GOTOERROR,
19         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
20
21         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
22         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
23         * text3.C (gotoNextInset, gotoInset): removed.
24
25 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
28
29 2005-02-15  Angus Leeming  <leeming@lyx.org>
30
31         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
32         can be used meaningfully in a comparison.
33
34 2005-02-13  André Pönitz  <poenitz@gmx.net>
35
36         * bufferview_funcs.C (coordOffset): improve cursor drawing
37
38 2005-02-13  André Pönitz  <poenitz@gmx.net>
39
40         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
41         * Cursor.C (dispatch): use fixIfBroken
42         * lyxfunc.C (getStatus): use fixIfBroken
43
44 2005-02-15  Angus Leeming  <leeming@lyx.org>
45
46         * lyx_main.C (error_handler):
47         * lyxfunc.C:
48         * lyxrc.C (setDefaults):
49         s/GetEnv/getEnv/.
50         #include "environment.h".
51
52         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
53
54 2005-02-15  Angus Leeming  <leeming@lyx.org>
55
56         * lyxserver.C (startPipe): squash MSVC warning "local variable
57         'fd' used without having been initialized".
58
59 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * BufferView_pimpl.C: revert accidental commit.
62
63 2005-02-14  André Pönitz  <poenitz@gmx.net>
64
65         * dociterator.[Ch]: new member forwardPosNoDescent(),
66         which doesn't enter nested insets.
67         * text2.C (setFont): use forwardPosNoDescent() instead
68         of ForwardPos() (fixes crash on font change).
69
70 2005-02-13  Angus Leeming  <leeming@lyx.org>
71
72         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
73         only if lyxrc.path_prefix is not empty.
74
75 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
76
77         * bufferparams.C (readGraphicsDriver): prevent crash
78
79 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * text2.C (setCounter): check for inInset() == 0
82
83 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
86         but use update() to get correct screen display; use convert
87         instead of istringstream. 
88         (getStatus): handle LFUN_GOTO_PARAGRAPH 
89
90         * lyxfunc.C (dispatch, getStatus): do not handle
91         LFUN_GOTO_PARAGRAPH here.
92
93 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
94
95         * text3.C (dispatch): size() -> depth()
96
97         * text2.C: remove some debug output
98
99         * paragraph.C: ws changes only
100
101         * lyxfunc.C (getStatus): size() -> depth()
102
103         * dociterator.h (clear, push_back, pop_back, internalData,
104         operator[], resize, empty): new functions
105         Make StableDocIterator and operator== be friends. Don't inherit
106         from std::vector use a privat class variable slices_ instead.
107         Modify to fit.
108
109         * dociterator.C: update because of not inheriting from std::vector
110         anymore. Call explictly to slices_ instead. Use depth() instead of
111         size() and top() instead of back()
112
113         * cursor.C: chagne size() -> depth and back() -> top(). Also
114         remove some direct operator[](i) calls in favour of foo[i]
115         (getFont): remove some dead code
116
117         * bufferview_funcs.C (coordOffset): size() -> depth()
118
119         * buffer.C: ws changes only
120
121         * CutAndPaste.C (eraseSelection): back() -> top()
122
123         * BufferView_pimpl.C (selectionRequested): back() -> top()
124
125         * BufferView.C (setCursor): size() -> depth()
126
127 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * text3.C (cursorPrevious): return true if depm changed something
130         (cursorNext): ditto
131         (dispatch): rename sl to oldTopSlice, remove moving use the new
132         NoUpdate func attrib instead. Make sure that needsUpdate is set
133         for function that have NoUpdate, but where depm might have changed
134         the buffer anyway.
135
136         * text2.C (cursorLeft): make us return true if depm changed
137         something
138         (cursorRight): ditto
139         (cursorUpParagraph): ditto
140         (curosrDownParagraph): ditto
141         (cursorUp, cursorDown): ditto, make sure to read comments in code
142         (deleteEmptyParagraphMechanism): remove an assert, also return
143         true if just a single char was deleted.
144
145         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
146         cursor that we modify, to avoid modifying an active cursor before
147         we call setCursor. This allows depm to run. Also return true if
148         depm deleted something.
149
150         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
151         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
152         cursorDownParagraph, cursorPrevious and cursorNext, return true if
153         something was changed in the buffer because of them (ie. depm run)
154
155         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
156         debug messages. Make update by default be false. Make sure that
157         the result of update is retained throught several calls down to
158         dispatch.
159
160         * LyXAction.h: add a new func_attrib: NoUpdate
161
162         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
163         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
164         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
165         and LFUN_WORDLEFT
166         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
167
168 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
171         bv_->owner(), bv_->buffer() by direct references to the private
172         members.
173         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
174         (getStatus): isSavedPosition() is in BufferView::Pimpl.
175         (fitCursor): center() is in BufferView::Pimpl.
176         (getStatus, trackChanges, dispatch): no need for a temporary buf
177         variable
178         (fitCursor, workAreaDispatch): use workarea().workheight()
179
180 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
181
182         * CutAndPaste.C (pasteSelectionHelper): fix a crash
183
184 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
185
186         * buffer.C: format up to 241.
187         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
188         break if pasting into ERT
189         * lyxfunc.C (getStatus): suppress mathpanel and
190         LFUN_DIALOG_SHOW_NEW_INSET in ERT
191
192 2005-02-01  Angus Leeming  <leeming@lyx.org>
193
194         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
195
196 2005-02-01  Angus Leeming  <leeming@lyx.org>
197
198         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
199         calling fs::is_directory().
200
201 2005-01-31  Angus Leeming  <leeming@lyx.org>
202
203         * lyx_main.C (priv_exec): specify explicitly the relative location
204         of the top level build directory when run in-place.
205
206 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
209         LyXText containing the cursor, not the top-level one.
210
211         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
212         true.
213         (insertStringAsLines): rename par to pit; use temporary variable
214         par to hold a Paragraph; do not store par.layout() in a variable,
215         since the pointer may die when breaking paragraphs; pass pars to
216         breakParagraph() instead of Buffer::paragraphs().
217
218 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
219
220         * lyxlex_pimpl.h: #include <fstream>.
221
222         * BufferView.[Ch] (getLyXText): add a const version.
223
224         * BufferView_pimpl.C: add debug aids.
225
226         * RowList_fwd.h:
227         * buffer.h:
228         * lyxrow.h:
229         * paragraph_funcs.h: add commentary explaining what the class does.
230
231
232         * coordcache.[Ch]: add lots of commentary.
233         (startUpdating, doneUpdating): debug aids.
234         (arrays, insets, parPos, getParPos): accessors to private data.
235
236         * cursor_slice.[Ch] (text): add a const version.
237         * dociterator.[Ch] (text, innerText): add const versions.
238
239         * lyxtext.h (breakParagraph): change the keep_layout arg to a
240         bool.
241
242         * paragraph.C (getRow, pos2ros): add asserts.
243
244         * paragraph.h: add commentary. Lots of.
245
246         * paragraph.[Ch] (metrucs, draw): removed.
247
248         * cursor.C:
249         * rowpainter.[Ch]: const-correct changes.
250
251         * text.C: various obvious clean-ups. Removal of ancient cruft.
252         Bug fixes, even.
253
254 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * vc-backend.C (find_file): rewrite to use boost.filesystem
257         (scanMaster): ditto
258
259         * main.C (main): set default name check for boost.filesystem to
260         no check
261
262         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
263         (open): ditto
264         (doImport): ditto
265         (actOnUpdatedPrefs): ditto
266
267         * lyx_main.C (init): rewrite to use boost.filesystem
268         (queryUserLyXDir): ditto
269
270         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
271         (getContentsOfAsciiFile): ditto
272
273         * lastfiles.C (readFile): rewrite to use boost.filesystem
274
275         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
276
277         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
278         (loadLyXFile): ditto
279
280         * buffer.C (Buffer): adjust for destroydir
281         (getLogName): rewrite to use boost.filesystem
282         (setFileName): ditto
283         (save): use fs::copy_file (from fs_extras)
284
285         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
286
287         * LaTeX.C (run): rewrite to use boost.filesystem
288         (scanAuxFiles): ditto
289         (handleFoundFile): ditto
290
291 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
292
293         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
294
295         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
296
297 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
298
299         * lyxlayout.[Ch]: change some vars from float to double
300
301         * buffer.C (readFile): make a local var const
302
303         * Several files: use convert<> instead of atoi,strToXXX and friends
304
305 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * LaTeXFeatures.[Ch]: Add a static list packages_ that
308         holds the contents of packages.lst. New functions getAvailable
309         and isAvailable to parse and check that list, resp.
310
311         * LyXAction.C:
312         * lfuns.h:
313         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
314
315         * bufferparams.[Ch]: new param output_changes.
316
317         * Buffer.C: increase file format to 240.
318         Use output_changes and isVailable.
319
320         * changes.[Ch]:
321         * paragraph.C:
322         * paragraph_pimpl.C: Use output_changes and isVailable.
323
324 2005-01-23  Angus Leeming  <leeming@lyx.org>
325
326         * output_latex.C: #include "insetbibitem.h", rather than
327         forward declare function bibitemWidest.
328
329 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
330
331         * lyx_main.C (init): make it compile on the Mac.
332
333 2005-01-20  Angus Leeming  <leeming@lyx.org>
334
335         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
336         (setLyXMisc): (char string literal) != (char string literal) is
337         performing a comparison on the addresses. Convert one operand
338         explicitly to string to guarantee expected behaviour.
339         From MSVC warning.
340
341 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
342
343         * buffer.C:
344         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
345
346         * output_plaintext.C: remove unneeded #include gzstream.h.
347
348 2005-01-20  Angus Leeming  <leeming@lyx.org>
349
350         * SpellBase.h: rename some of the elements of the Result enum.
351
352         * aspell_local.h:
353         * ispell.h:
354         * pspell.h:
355         * aspell.C (check):
356         * ispell.C (check):
357         * pspell.C (check): ditto
358
359 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
360
361         * buffer.C: add #include <fstream>.
362
363         * lyx_main.C (init): Compile fix.
364
365         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
366
367 2005-01-20  Angus Leeming  <leeming@lyx.org>
368
369         * mover.h: change commentary to reflect the changed meaning of
370         the $$s placeholder.
371
372 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * output_linuxdoc.C (linuxdocParagraphs): silence warning
375
376         * lyxfind.C (MatchString::operator()): remove bogus semicolon
377
378 2005-01-20  Angus Leeming  <leeming@lyx.org>
379
380         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
381         printing diagnostic data by not dereferecing an iterator past the
382         end.
383
384 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
385
386         * buffer.C (readHeader): use "&&" rather than "and".
387
388         * lyxserver.h (inPipeName, outPipeName): make these const.
389
390 2005-01-19  Angus Leeming  <leeming@lyx.org>
391
392         * lyx_main.C (error_handler, init): protect SIGHUP with
393         #ifdef SIGHUP guards.
394
395 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
398
399 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * text.C (setHeightOfRow): add a margin at the top and bottom of
402         the document (bug 1761)
403
404 2005-01-17  Angus Leeming  <leeming@lyx.org>
405
406         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
407         with "python ". Workaround for a brain-dead Windows.
408
409 2005-01-16  Angus Leeming  <leeming@lyx.org>
410
411         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
412         for MacOSX and Windows to use prependEnvPath.
413         Strip out the hard-coded block to add elements to the PATH for
414         MacOSX and replace it with a call to prependEnvPath using the
415         contents of LyXRC::path_prefix.
416         (queryUserLyXDir): strip out the code to run reconfigure, instead
417         returning a boolean indicating the necessity to do so.
418         (reconfigureUserLyXDir): contains the code to reconfigure the
419         user support directory. Is now called after the various LyXRC data
420         files have been read.
421
422         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
423
424 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
425
426         * converter.[Ch] (convert): take a new parameter try_default. Use
427         a default converter (imagemagick) if try_default is true.
428
429 2005-01-13  Angus Leeming  <leeming@lyx.org>
430
431         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
432         os::cygwin_path_fix.
433         (write): output LyXRC::cygwin_path_fix as necessary.
434
435 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
436
437         * lyxrc.h:
438         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
439
440 2005-01-12  Angus Leeming  <leeming@lyx.org>
441
442         * lyx_main.C (init): set the PATH variable to include the
443         directory containing the LyX binary when running on Mac or Windows.
444
445 2005-01-12  Angus Leeming  <leeming@lyx.org>
446
447         * lyx_main.C (init): remove cruft that purports to set the locale
448         dir. It doesn't and is not needed anyway.
449
450 2005-01-10  Angus Leeming  <leeming@lyx.org>
451
452         * Makefile.am: remove the lyx_main.C special casing.
453
454         * BufferView_pimpl.C:
455         * bufferlist.C:
456         * exporter.C:
457         * lyx_cb.C:
458         * lyx_main.C:
459         * lyxfunc.C:
460         * messages.C: use support/package.h to provide the paths to the
461         various directories used by LyX.
462
463 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
464
465         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
466         layout if pasting into an empty paragraph)
467
468 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
469
470         * tex-accent.C: add <string>
471
472 2005-01-06  José Matos  <jamatos@lyx.org>
473
474         * ParagraphParameters.C (write): put every parameter in its own line.
475         * paragraph.C (write): reduce number of consecutive empty lines exported.
476         * buffer.C (LYX_FORMAT): increase file format to 239.
477
478 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
479
480         * everywhere: change support/tostr.h -> support/convert.h
481
482         * tabular.C: make all write_attributes templates, tostr -> convert
483
484         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
485         (emptyTag): and -> &&, and fix type for ret from getChar
486         (getFirstWord): fix type for ret from getChar
487         (onlyText): and -> &&
488         (simpleDocBookOnePar): and not -> && !, fix type for ret from
489         getChar
490
491         * toc.C (goTo, action):
492         * text3.C (dispatch):
493         * text.C (currentState):
494         * tex-accent.C (DoAccent):
495         * sgml.C:
496         * lyxrc.C:
497         * lyxfunc.C (menuNew):
498         * lyxfinc.C (replace):
499         * counters.C (laberItem):
500         * bufferview_funcs.C (font2string):
501         * bufferparams.C (writeFile):
502         * buffer.C (readFile):
503         * Spacing.C (set):
504         * MenuBackend.C: tostr -> convert
505
506         * LaTeX.C (runMessage): fix format
507         (scanAuxFiles): tostr -> convert
508
509         * BufferView_pimpl.C (savePosition): fix format
510         (restorePosition): ditto
511         (dispatch): ditto
512
513 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * Spacing.[Ch]: New method getValueAsString().
516
517         * Spacing.[Ch]:
518         * bufferparams.C:
519         * ParagraphParameters.C:
520         * lyxlayout.C:
521         * text.C:
522         * text3.C: store/read spacing value as string.
523
524         * rowpainter.C: change float value (spacing_val) to double.
525
526         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
527         broken custom document spacing).
528
529 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
530
531         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
532         namespace, also more use of temp references and const
533
534         * cursor.[Ch] (getStatus): move to lyxfunc.C
535
536         * bufferparams.C: reformat slightly
537
538         * bufferview_funcs.C (font2string): constify arg
539
540         * changes.C:
541         * converter.C:
542         * counters.C:
543         * bufferlist.C:
544         * buffer_funcs.C: (many funcs): constify arg on function
545         definitions, also make more local vars const, also add ASSERTS on
546         pointer args.
547
548         * buffer.C (LYX_FORMAT): put const in correct place
549         (many funcs): constify arg on function definitions, also make
550         more local vars const
551
552         * aspell_local.h: remove "struct" from typdef setup
553
554         * aspell.C (check): make word_ok const
555         (nextMiss): simplify slightly
556         (error): ditto
557
558 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * lyxrc.[Ch]: store all float values as strings.
561         use int (not float) for lyxrc.dpi.
562
563 2005-01-04  Angus Leeming  <leeming@lyx.org>
564
565         * lyx_cb.C (Reconfigure):
566         * lyx_main.C (queryUserLyXDir):
567         to run the <system_lyxdir>/configure correctly on Windows, prefix
568         the path to the script with "sh " when generating the string that
569         is passed to system().
570
571 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
572
573         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
574
575 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxlength.C (asLatexString): get rid of setprecision
578
579 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580
581         * text2.C (setLayout): remove unused variable endpit.
582         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
583
584         * paragraph.C (onlyText): remove unused variable style.
585
586         * cursor.C (bruteFind): remove unused variables beg and end.
587
588         * Makefile.am (dist_noinset_DATA): not needed anymore
589
590         * cheaders/*: remove.
591
592 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
593
594         * text3.C: fix LFUN_MATH_MODE.
595
596 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * buffer_funcs.C (countWords): new function. Counts words between
599         two iterators.
600
601         * BufferView_pimpl.C (getStatus, dispatch): handle
602         LFUN_WORDS_COUNT.
603
604         * LyXAction.C (init):
605         * lfuns.h: add LFUN_WORDS_COUNT.
606
607 2004-12-19  Angus Leeming  <leeming@lyx.org>
608
609         * buffer.C (save): s/slashify_path/internal_path/.
610
611 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
612
613         * lyxfind.C (findChange): do not search for end of pars, because
614         the change tracker cannot handle this (fixes bug 1719).
615
616 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
617
618         * paragraph.[Ch] (autoBreakRows): remove
619
620         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
621
622         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
623         avoid using the paragraph one
624
625         * text2.C (LyXText, insertStringAsLines): adjust
626
627 2004-12-16  Angus Leeming  <leeming@lyx.org>
628
629         * bufferlist.C:
630         * lyx_main.C:
631         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
632
633 2004-12-14  Angus Leeming  <leeming@lyx.org>
634
635         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
636
637         * bufferlist.C (emergencyWrite):
638         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
639         GetEnvPath("HOME").
640
641 2004-12-14  Angus Leeming  <leeming@lyx.org>
642
643         * main.C: (main): no longer pass pointers to os::init.
644
645 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * undo.C (textUndoOrRedo): simplify logic, fix a crash
648         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
649
650 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * lyxfunc.C:
653         * text3.C: remove selection_possible global flag
654
655 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * text2.C (getSelectionSpan): remove
658         (changeDepth, changeDepthAllowed): adjust
659
660 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
661
662         * Makefile.am (BOOST_LIBS): use boost variables
663
664 2004-12-03  José Matos  <jamatos@lyx.org>
665
666         * buffer.C: format up to 238.
667
668 2004-12-03  José Matos  <jamatos@lyx.org>
669
670         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
671
672 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
673
674         * cursor.C (goUpDown): remove call to idxUpDown2
675
676 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
677
678         * tabular.[Ch]: use size_t-like types for cell, row and column
679         indices
680
681 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * lyxfunc.C (getStatus): do not lose previous information when
684         calling BufferView::getStatus; do not set a default "Command
685         disabled" message at the beginning, but just before returning.
686
687 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
688
689         * cursor.h (getStatus): add better comment from src/cursor.C
690
691 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * text3.C (getStatus): return false when the lfun is not handled
694
695 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * broken_headers.h: remove
698
699         * Makefile.am (lyx_SOURCES): remove broken_headers.h
700
701 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
702
703         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
704         offset_ref accessors
705
706         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
707         top_y_, merge fitcursor with update
708         (updateScrollbar, scrollDocView, fitCursor, center, update): new
709         coord scheme
710         (metrics): introduce
711         (workAreaDispatch): adapt to new coord scheme
712         (redoCurrentBuffer): remove
713
714         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
715
716         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
717         CurStatus enum.
718
719         * coordcache.[Ch]: add paragraph cache and helpers
720
721         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
722         adjust everywhere
723
724         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
725         (targetX, setTargetX): introduce
726
727         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
728         baseline -> ascent, as the rest of lyx
729
730         * lyxtext.h: remove redoParagraphs, updateParPositions,
731         fullRebreak, redoParagraphInternal. move dist to anon namespace in
732         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
733         have ascent/descent (ascent is ascent of first par)
734
735         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
736         step of BufferView
737
738         * paragraph.[Ch]: unify dimension handling with the rest of lyx
739
740         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
741
742         * pariterator.C: fix infinite loop introduced in par->pit renaming
743
744         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
745         in insets and LyXText, draw two off-screen paragraphs using
746         NullPainter, and adapt to new coord scheme
747
748         * text.C:
749         * text2.C:
750         * text3.C: adapt lfun handlers to the new coord scheme, which
751         means: there's only guaranteed coord information for onscreen pars
752         plus one above and one below. This implies that one can do search
753         from y coordinates in the range [-1,workHeight]
754
755 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
756
757         * rename a lot of InsetOld to InsetBase
758
759 2004-11-25  Angus Leeming  <leeming@lyx.org>
760
761         * BufferView_pimpl.C:
762         * lyx_cb.C:
763         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
764
765 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
766
767         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
768         call BufferView::getStatus if LCursor::getStatus did nothing
769         (setStatusMessage, getStatusMessage): removed.
770
771         * FuncStatus.C (message): new methods. Used to provide an error
772         message indicating why a command is disabled.
773         (clear, |=, FuncStatus): update for message.
774
775 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
776
777         * lyxfunc.C (dispatch): always call sendDispatchMessage
778
779 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * BufferView.C:
782         * BufferView_pimpl.C:
783         * CutAndPaste.C:
784         * FontIterator.C:
785         * buffer.C:
786         * cursor.C:
787         * cursor_slice.[Ch]:
788         * dociterator.[Ch]:
789         * lyxfind.C:
790         * paragraph_funcs.C:
791         * pariterator.C:
792         * rowpainter.C:
793         * text.C:
794         * text2.C:
795         * text3.C:
796         * undo.C: par->pit renaming
797
798 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
799
800         * tabular.C (cellstruct): use initialization, store a shared_ptr
801         to insettext instead of the insettext directly, adjust to fit.
802         (operator=):  new function
803         (swap): new function
804         (rowstruct): use initialization
805         (columnstruct): use initialization
806         (ltType): use initialization
807
808
809         * lyxlength.h (swap): new function
810
811         * LColor.[Ch] (operator=): use the common semantics
812
813 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxfind.C (findNextChange): update the bufferview after setting
816         the selection.
817
818 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
821         number of InsetOptArgs has already been inserted.
822
823         * output_latex.C (latexOptArgInsets): new method. This outputs all
824         the optarg insets, up to the limit defined in the layout file.
825         (optArgInset): removed
826         (TeXOnePar): call latexOptArgInsets; correctly update texrow
827
828 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * paragraph.C (isLetter): remove special spellchecker-related
831         code; return true also for digits
832         (isWord, isKomma): remove
833
834         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
835         * lyxfind.C (MatchString()): use isLetter instead of isWord
836
837 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
838
839         * pariterator.h (operatir=): comment out un-implemented member
840         function.
841
842         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
843         static cast.
844
845 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
846
847         * lyxfont.h: include LColor.h to satisfy concept checks.
848
849 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
850
851         * pariterator.h: add typdefs for value_type, difference_type,
852         pointer and reference to satisfy concept checks. Also add default
853         constructor for same reason.
854
855         * pariterator.C (operator++): add post-increment operator to
856         satisfy concept checks.
857
858         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
859         checks.
860
861         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
862
863         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
864         checks. Also rename base_type to BaseType to follow naming
865         standard better.
866
867         * FloatList.h: include Floating.h to satisfy concept checks.
868
869 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * lyxfunc.C (getStatus): when the origin of the request is menu or
872         toolbar, and the LyXView does not have focus, do as if there was
873         no buffer (bug 1720)
874
875         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
876         FuncRequest to individual entries of LFUN_SEQUENCE
877
878 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * output_latex.C (TeXOnePar): override runparams.moving_arg
881         according to the needprotect value of the current paragraph (bug
882         1739)
883
884         * paragraph.C (simpleTeXOnePar): no need to override
885         runparams.moving_args here
886
887 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
888
889         * vspace.C: fix off-by-one-error, related to fix #1682
890
891 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
892
893         * lengthcommon.C: a more general fix for bug 1682
894
895 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * text.C (backspace): fix crash
898
899 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
900
901         * format.[Ch] (getFormatFromFile): new method
902         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
903
904 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
907
908 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * lyxfunc.C (dispatch): remove the verbose argument
911         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
912         instead
913
914         * kbmap.C (defkey): set the origin of func to KEYBOARD
915
916         * MenuBackend.C (MenuItem):
917         * ToolbarBackend.C (add): set the origin of func to UI
918
919         * funcrequest.[Ch]: add origin member, which indicates which part
920         of LyX requests an action
921
922 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
923
924         * converter.C (move): don't lie in the error message
925         * converter.h (isReachable, move): document
926
927 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
928
929         * buffer.C: remove unused using lyx::support::atoi
930         * paragraph_funcs.C: ditto
931
932 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
933
934         * bufferlist.C (exists): use bind and equal_to instead of
935         compare_memfun
936         (getBuffer): ditto
937         * lyxtextclasslist.C (NumberOfClass): ditto
938
939         * cursor.C (insert): use for_each instead of explicit for loop
940
941         * bufferlist.C (getFileNames): use std::transform and
942         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
943
944         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
945         for loop
946
947         * buffer.C (changeLanguage): use for_each instead of explicit for
948         loop
949         (hasParWithID): implement using getParFromID
950
951         * LaTeXFeatures.C: ws change only
952
953         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
954         to cleanup a bit.
955
956         * BufferView_pimpl.C (trackChanges): use for_each instead of
957         expilicit for loop
958
959 2004-11-04  André Pönitz  <poenitz@gmx.net>
960
961         * undo.h:
962         * undo.C (textUndoOrRedo): fix crash when creating undo information.
963
964         * dociterator.C (asDocIterator): use hard assert again.
965
966 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * lyxlength.C (asLatexString): rewrite so that it does not use
969         snprintf anymore
970
971 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * text3.C (specialChar, dispatch): make sure cursor moves to the
974         right after inserting an inset
975
976 2004-11-02  José Matos  <jamatos@lyx.org>
977
978         * output_docbook.C (docbook):
979         * paragraph.C (getID):
980         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
981         garantee that the output is always legal.
982
983         * tabular.C (docbook):
984         * outputprams.[Ch]: remove mixed contents.
985
986 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
987
988         * text2.C (setCounter): prevent endless loop
989
990 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
991
992         * exporter.C (copyFile): use the mover instead of support::copy()
993         * exporter.C (Export): pass format and latex name to copyFile()
994         * exporter.h (addExternalFile): document
995         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
996
997 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
998
999         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1000
1001 2004-10-30  José Matos  <jamatos@lyx.org>
1002
1003         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1004         text and no inset or font change. This allows to use CDATA
1005         sections just for the whole paragraph.
1006
1007 2004-10-30  José Matos  <jamatos@lyx.org>
1008
1009         * paragraph.C (getFirstWord): remove unused variable.
1010
1011 2004-10-30  José Matos  <jamatos@lyx.org>
1012
1013         * paragraph.C (getFirstWord): the content should always be escaped
1014         there.
1015         (simpleDocBookOnePar):
1016         * output_docbook.C (makeEnvironment): replace reference to CDATA
1017         to style pass_thru.
1018
1019 2004-10-30  José Matos  <jamatos@lyx.org>
1020
1021         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1022
1023 2004-10-30  José Matos  <jamatos@lyx.org>
1024
1025         * output_docbook.C (makeParagraphs):
1026         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1027         standard paragraph has only a given type of content drop the wrapper.
1028
1029 2004-10-29  José Matos  <jamatos@lyx.org>
1030
1031         * output_docbook.C (makeEnvironment):
1032         * sgml.C (openTag):
1033         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1034
1035 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1036
1037         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1038         (cleanID): sanitize any id.
1039
1040 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1041
1042         * buffer.C, lyxlex_pimpl.C:
1043         * lyxlex_pimpl.C (setFile):
1044         s/getExtFromContents/getFormatFromContents/
1045
1046 2004-10-28  José Matos  <jamatos@lyx.org>
1047
1048         * output_docbook.C (makeEnvironment): move id to broadest possible
1049         scope.
1050
1051         * sgml.C (openTag): apply substitution of <> for all attributes.
1052
1053 2004-10-28  José Matos  <jamatos@lyx.org>
1054
1055         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1056         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1057         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1058
1059         * sgml.[Ch]: new version for open and closeTag for paragraph and
1060         for strings. Now they handle the ids of paragraphs.
1061
1062 2004-10-26  Angus Leeming  <leeming@lyx.org>
1063
1064         * Makefile.am: add mover.[Ch].
1065
1066         * converter.C (convert, move): use the new Movers to move external
1067         files to the temp directory.
1068
1069         * lyx_main.C (init): ensure that the global system_movers data
1070         is initialised.
1071
1072         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1073         preferences file.
1074
1075         * mover.[Ch]: new files, defining a Mover as a utility to move an
1076         external file between directories and, if necessary, manipulate this
1077         file using a helper script.
1078
1079 2004-10-25  José Matos  <jamatos@lyx.org>
1080
1081         * output_docbook.C (makeCommand): merge two if's that tested the
1082         same condition.
1083
1084 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1085
1086         * sgml.C (escapeString): fix warning in a better way
1087
1088 2004-10-25  José Matos  <jamatos@lyx.org>
1089
1090         * sgml.C (escapeString): import the require boosts header file for
1091         tie, and avoid a signed unsigned comparison.
1092
1093 2004-10-25  José Matos  <jamatos@lyx.org>
1094
1095         * sgml.h: add #include <string>
1096
1097 2004-10-25  José Matos  <jamatos@lyx.org>
1098
1099         * sgml.[Ch] (escapeString): new function to escape all the string.
1100
1101 2004-10-24  José Matos  <jamatos@lyx.org>
1102
1103         * paragraph.[Ch] (getFirstWord): new function to get the first
1104         word. Useful for description.
1105         (simpleDocBookOnePar): remove depth argument, add another that
1106         says where to start the paragraph.
1107
1108         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1109         use the new functions to fix cleanly the support for descriptions.
1110
1111 2004-10-24  José Matos  <jamatos@lyx.org>
1112
1113         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1114         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1115         * output_linuxdoc.C (linuxdocParagraphs):
1116         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1117         add buffer as argument.
1118
1119 2004-10-24  José Matos  <jamatos@lyx.org>
1120
1121         * output_docbook.C (makeEnvironment, searchEnvironment): place
1122         CDATA inside paragraphs and fix scope for listitems.
1123
1124 2004-10-24  José Matos  <jamatos@lyx.org>
1125
1126         * output_docbook.C: remove using statement for stack.
1127
1128 2004-10-23  José Matos  <jamatos@lyx.org>
1129
1130         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1131         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1132         docbook. The new scheme is recursive and makes use of iterators, the
1133         same as latex export works.
1134         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1135         directly with the paragraph contents. This code was moved up to
1136         output_docbook.C (docbookParagraphs).
1137         * sgml.C (openTag, closeTag): removed unneeded newlines.
1138         (closeEnvTags) removed.
1139
1140 2004-10-23  André Pönitz  <poenitz@gmx.net>
1141
1142         * undo.C (textUndoOrRedo):
1143         * dociterator.C (asDocIterator): work around crash
1144
1145         * cursor.C (getStatus): replace ASSERT by more verbose error message
1146           and manual correction of the problem. Should increase stability
1147           while providing more sensible information.
1148
1149 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1152
1153         * bufferlist.C (previous, next): new methods
1154
1155         * lfuns.h:
1156         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1157
1158 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1159
1160         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1161         entities to preamble.
1162
1163 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * messages.C (Pimpl): strip off translation context information
1166
1167 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1170         the cursor is correct (bug 1694)
1171
1172 2004-10-13  José Matos  <jamatos@lyx.org>
1173
1174         * output_docbook.C (docbookParagraphs): fix closing tags in the
1175         end of the document.
1176
1177 2004-10-09  José Matos  <jamatos@lyx.org>
1178
1179         * buffer.C: format up to 237.
1180         * bufferparams.C (write): use tostr to convert booleans to strings.
1181
1182 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1183
1184         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1185
1186 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1187
1188         * LaTeX.C: implement use of babel language in xindy.
1189
1190 2004-10-05  José Matos  <jamatos@lyx.org>
1191
1192         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1193         Add new translators to help reading and writing the lyx file.
1194
1195 2004-10-05  José Matos  <jamatos@lyx.org>
1196
1197         * ParagraphParameters.C (read):
1198         * text.C (readParToken): replace nexToken by more appropriate lex
1199         methods.
1200
1201 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1202
1203         * LaTeX.C (runMakeIndex):
1204         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1205         (usually 'makeindex') configurable.
1206
1207         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1208         with a variable rather than with a number.
1209
1210 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * output_latex.C (TeXOnePar): make sure font setting is the first
1213         thing that gets output (and the last at the end). Should fix bug
1214         1404.
1215
1216 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * pch.h: use proper signal include
1219
1220         * LaTeX.h: Use preferred calling of Boost.Signal
1221         * buffer.h: ditto
1222
1223 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1224
1225         * pch.h: dont include <boost/function/function0.hpp>
1226
1227         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1228
1229         * paragraph_pimpl.h: remove usage of ShareContainer
1230
1231         * paragraph_pimpl.C: remove initialization of ShareContainer.
1232
1233 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         Fix bug #1666
1236
1237         * BufferView.C (putSelectionAt): change the semantics when
1238         backwards == true: now, this just swaps cursor and anchor wrt the
1239         forward case
1240
1241         * BufferView.h (putSelectionAt): add some documentation
1242
1243         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1244         make sure backwardChar is done at least once (to avoid getting
1245         stuck)
1246         (findNextChange): use putSelectionAt in the forward direction
1247         (operator()): use Paragraph::isWord
1248
1249 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1250
1251         * Spacing.C (set): c_str fix
1252
1253 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * lyx_cb.C (Reconfigure): quote the name of configure script in
1256         case it contains spaces
1257
1258 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1259
1260         * client: new dir
1261
1262         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1263         (BOOST_LIBS): use top_buildir when looking for the file
1264
1265 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1266
1267         * pch.h: do not use include boost/format.hpp, multiple symbols
1268                 will result (gcc bug)
1269
1270
1271 2004-08-23  José Matos  <jamatos@lyx.org>
1272
1273         * bufferparams.C (readToken): fix reading of the author field.
1274
1275 2004-08-20  José Matos  <jamatos@lyx.org>
1276
1277         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1278
1279 2004-08-20  José Matos  <jamatos@lyx.org>
1280
1281         * lyxlex.[Ch] (findToken): remove function.
1282
1283         * ParagraphParameters.C (findToken):
1284         * bufferparams.C (findToken): replace call for previous function
1285         with local copy. This local function has one more argument, the
1286         read string argument.
1287
1288 2004-08-16  José Matos  <jamatos@lyx.org>
1289
1290         * ParagraphParameters.C (write):
1291         * Spacing.C (writeFile):
1292         * bufferparams.C (writeLaTeX):
1293         * lyx_cb.C (Reconfigure):
1294         * paragraph.C (write):
1295         * tabular.C (write): remove unnecessary space at end of line.
1296
1297
1298 2004-08-16  José Matos  <jamatos@lyx.org>
1299
1300         * text.C (readParagraph): remove debug message.
1301
1302 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1305         crash
1306
1307         * output_plaintext.C (asciiParagraph): set depth correctly
1308
1309         * outputparams.h: add member depth
1310
1311         * paragraph_funcs.C (ownerPar): remove.
1312
1313         * text2.C (setCounter): remove first_pit; comment out some
1314         non-working code that uses ownerPar
1315
1316         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1317         uses ownerPar
1318
1319 2004-08-16  José Matos  <jamatos@lyx.org>
1320
1321         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1322         For the same level of importance use the same chanel to report problems.
1323         (read): add code to deal with \begin_body and \end_body.
1324
1325
1326 2004-08-15  José Matos  <jamatos@lyx.org>
1327
1328         * lyxlex.C (getString): fix comment, buffer::readBody is now
1329         buffer:readDocument.
1330
1331         * tex-strings.C (string_papersize): Default -> default,
1332         Custom -> custom, for consistency with other options.
1333
1334 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1335
1336         * pch.h: new file
1337
1338         * Makefile.am: support pch
1339
1340 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * text.C (readParToken): remove the static LyXFont variable and
1343         pass it as a parameter instead. This fixes a nasty bug where an
1344         inset will be inserted with a bad font in some situations
1345         (readParagraph): adapt
1346
1347         * text2.C (setCounter): reduce number of calls to pars_[pit]
1348
1349         * text.C (singleWidth): add an assert, fix a test
1350
1351         * rowpainter.C (paintText): reduce number of calls to singleWidth
1352
1353         * paragraph.C (isHfill):
1354         (isNewline): ws only
1355
1356 2004-08-14  André Pönitz  <poenitz@gmx.net>
1357
1358         * text.C:
1359         * text2.C:
1360         * rowpainter.C:
1361         * lyxtext.h (several functions): use a Paragraph & argument
1362         instead of par_type
1363
1364 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1365
1366         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1367
1368         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1369
1370         * text.C (singleWidth): remove useless test
1371
1372 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * tabular.h: remove bogus comments
1375
1376         * tabular.C (getDescentOfRow):
1377         (isPartOfMultiColumn): add assertions
1378
1379         * lyxlength.C (inPixels): remove #warning
1380
1381 2004-08-14  André Pönitz  <poenitz@gmx.net>
1382
1383         * paragraph.h: inline getChar()
1384
1385         * BufferView.h: remove unused declarations
1386
1387 2004-08-14  José Matos  <jamatos@lyx.org>
1388
1389         * Buffer.[Ch] (readDocument): new name for old readBody.
1390         * Buffer.C: new file format, new keywords: \begin_document,
1391         \begin_header, \begin_body, \end_body.
1392
1393         * bufferparams.C (readToken): replace all calls to lex.nextToken
1394         by lex.next(). Do the same to eatLine except where really needed.
1395
1396         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1397         line when writing to the lyx file.
1398
1399         * output_plaintext.C (asciiParagraph): fix Bibliography style
1400         handling.
1401
1402         * text.C (read): fix end of file handling.
1403
1404 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * MenuBackend.C (Menu::operator[]): new method to access
1407         individual menu items
1408         (Menu::hasFunc): new method. search for an item that corresponds
1409         to a given func
1410         (MenuBackend::specialMenu): new method
1411         (MenuBackend::expand): if a special menu has been set, skip
1412         entries whose func() appears in this menu
1413
1414 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1415
1416         * text3.C: use Debug::DEBUG a bit more
1417
1418         * text.C (leftMargin): try to simplify a tiny bit change var x to
1419         l_margin. Dont output the wide margins always.
1420         (rightMargin): no margin in inner texts
1421
1422         * rowpainter.h (nestMargin): new func
1423         (changebarMargin): new func
1424         (rightMargin): new func
1425
1426         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1427         now functions.
1428         (paintLast): ditto
1429
1430         * factory.C (createInset): modify setDrawFrame
1431
1432         * cursor.C: use Debug::DEBUG a bit more
1433
1434 2004-08-14  André Pönitz  <poenitz@gmx.net>
1435
1436         * coordcache.[Ch]:
1437         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1438         cache for all insets in (at least partially) visible (top-level)
1439         paragraphs.
1440
1441         * BufferView_pimpl.C: reset external coord cache before every update.
1442         This means the coord cache only contains valid entries.
1443
1444 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1445
1446         bug 1096
1447         * BufferView_pimpl.C (getInsetByCode): move function out of class
1448         and change in to a template in anon namespace. Also fix to do what
1449         suits us better.
1450
1451 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1452
1453         bug 1305
1454         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1455         of char
1456         (breakParagraph): rename par to par_offset and use a local
1457         reference. Add code to keep the language over a rebreak.
1458         (breakParagraphConservative): rename par to par_offset, use a
1459         local reference
1460         (mergeParagraph): ditto
1461         (outerHook): ditto
1462         (isFirstInSequence): ditto
1463         (outerFont): rename pit to par_offset
1464
1465         * paragraph.C: ws change
1466         * paragraph.h: ditto
1467         * text3.C: ditto
1468         * text.C: ditto
1469
1470 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1473         treatment for ']'
1474
1475         * paragraph.C (simpleTeXOnePar): when we have a \item with
1476         optional argument, enclose the argument with curly brackets (in
1477         case it contains a closing square bracket)
1478
1479         * text2.C (editXY):
1480         * text2.C (editXY):
1481         * text3.C (checkInsetHit): constify
1482
1483 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1486         documents (bug 1629)
1487
1488 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         Fix toggling of collapsable insets with the mouse (bug 1558)
1491
1492         * lyxfunc.C (dispatch): adapt to LCursor changes
1493
1494         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1495         make sure that dispatch is not invoked twice
1496
1497         * cursor.C (needsUpdate): new method
1498         (dispatch): return void
1499         (result): new method, to access the DispatchResult of the cursor.
1500
1501 2004-08-13  José Matos  <jamatos@lyx.org>
1502
1503         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1504
1505 2004-08-13  André Pönitz  <poenitz@gmx.net>
1506
1507         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1508
1509         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1510           multiple cells
1511
1512 2004-08-12  André Pönitz  <poenitz@gmx.net>
1513
1514         * text3.C: take out the 'cursor right' form insertInset and only
1515         do it in those places when it is really needed. Fixes crash on
1516         C-m...
1517
1518 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1519
1520         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1521
1522         * BufferView_pimpl.C (setBuffer): initialize the current font of
1523         the underlying LyXText
1524
1525 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * kbsequence.C (print): use UI native formatting for menu
1528         shortcuts
1529
1530         * text.C (insertChar): call Paragraph::insertChar with a font
1531         argument (cosmetic)
1532
1533         * paragraph.C (insertInset, insertChar): the version that takes a
1534         LyXFont argument is now a wrapper around the other one (the
1535         opposite used to be true).
1536
1537         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1538         argument. Font setting is done in Paragraph now.
1539
1540 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * outputparams.h: add new members intitle and lang.
1543
1544         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1545         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1546
1547 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1548
1549         * text3.C (dispatch): remove special handling of button 4 and 5,
1550         it is now taken care of in the frontend code.
1551
1552 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1553
1554         * Spacing.h: add <string> (STLPort compile fix)
1555
1556 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1557
1558         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1559
1560 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1561
1562         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1563         to bool.
1564
1565         * converter.C (showMessage): inherit from unary_function, make
1566         operator() const.
1567
1568         * buffer.C (writeFile): initialize retval
1569
1570         * InsetList.h: rename private variable list to list_
1571         * InsetList.[Ch]: adjust accordingly.
1572
1573 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1574
1575         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1576         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1577         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1578         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1579         * ParagraphParameters.C, LaTeXFeatures.C: replace
1580         "support/std_sstream.h" with <sstream>
1581
1582 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1583
1584         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1585         * lyxsocket.C (LyXServerSocket): ditto
1586         (serverCallback): ditto
1587
1588 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1589
1590         * LaTeXFeatures.C: check release date when loading jurabib.
1591
1592 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1593
1594         * lyxserver.C (startPipe): call register_socket_callback
1595         (endPipe): call unregister_socket_callback
1596
1597 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1598
1599         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1600         (LyXServerSocket): register the callback
1601         (LyXServerSocket): unregister the callback
1602         (fd): delete function
1603         (serverCallback): improve error checking and setup the callbacks.
1604         (dataCallback): change arg to fd.
1605         (writeln): new func (copied fro the client socket) used for server
1606         write to client.
1607         (LyXDataSocket): simplify
1608         (~LyXDataSocket): close ann unregiser callback
1609         (server): delete function
1610         (fd): delete function
1611         (readln): small changes, improve some std::string usage
1612         (writeln): constify a bit
1613
1614 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1617         Qt frontend
1618
1619 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1622         after it has been populated
1623
1624 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * text2.C (insertInset): move cursor when inserting inset.
1627
1628 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * kbmap.C (findbindings): a couple of new methods. returns a
1631         container of kb_sequence objects. The real work is done by the
1632         private recursive version
1633         (printbindings): uses findbindings to print out a bracketed list
1634         of bindings (renamed from findbinding).
1635
1636         * MenuBackend.C (binding): use kb_keymap::findbindings
1637
1638         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1639
1640 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1643
1644 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * paragraph.C (isWord): return true on insets that report
1647         isLetter().
1648
1649         * text.C (getWord): use Paragraph::isWord to decide what is in a
1650         word and what is not; fix bug 1609.
1651
1652 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1653
1654         * tex-strings.C: add "none" to string_paperpackages[], fixes
1655         off-by-one-error in the paperpackage selection.
1656
1657         * lyxlex.[Ch]:
1658         * tex-strings.[Ch]: char const * string[n]
1659         -> char const * const string[]
1660
1661 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1664         command, return early.
1665
1666 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1667
1668         * debug.h: add DEBUG to enum and fix size of ANY.
1669
1670         * debug.C: add support for Debug::DEBUG
1671         (showTags): cast errorTags.level to unsigned int
1672
1673         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1674         (redoCurrentBuffer): ditto
1675         (updateScrollbar): ditto
1676         * cursor.C (dispatch): ditto
1677         * text2.C (setLayout): ditto
1678         (setFont): ditto
1679         (updateCounters): ditto
1680         (editXY): ditto
1681         (deleteEmptyParagraphMechanism): ditto
1682
1683 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1684
1685         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1686         annotations to cleanup the Makefile slightly.
1687
1688 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1689
1690         * lyxrc.C: do not set user_email to a default value but use empty
1691         instead. The entry used to be translated, which does not work
1692         since at the point where lyxrc is constructed there is no
1693         translation service available
1694
1695         * messages.C (getLocaleDir): remove and use directly
1696         lyx_localedir() instead
1697
1698 2004-06-02  Angus Leeming  <leeming@lyx.org>
1699
1700         Fix crash caused by dereferencing null pointer 'exportdata' in
1701         OutputParams by creating a new ExportData variable on the heap,
1702         storing it in a boost::shared_ptr.
1703         The crash was triggered when generating an Instant Preview
1704         of an external inset.
1705
1706         * Makefile.am: add outputparams.C
1707
1708         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1709         (c-tor): allocate memory to it.
1710
1711         * exporter.C (c-tor): associated changes.
1712
1713 2004-06-01  Angus Leeming  <leeming@lyx.org>
1714
1715         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1716         contains data before calling isInset(0). (Bug 1513.)
1717
1718 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1719
1720         * exporter.C (checkOverwrite): new method
1721         * exporter.C (copyFile): new method
1722         * exporter.C (Export): copy referenced files to the document dir
1723         * exporter.[Ch]: new class ExportedFile
1724         * exporter.[Ch]: new class ExportData. Contains currently the
1725         names of referenced external files
1726         * outputparams.h: add exportdata member.
1727
1728 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1729
1730         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1731         version.C-tmp
1732
1733 2004-05-19  Angus Leeming  <leeming@lyx.org>
1734
1735         * LaTeXFeatures.C:
1736         * ToolbarBackend.C:
1737         * bufferparams.C:
1738         * lyxfunc.C: small changes due to the introduction of namespace
1739         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1740
1741 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * text3.C (dispatch): supress update when only moving the cursor
1744         * cursor.C (selHandle): remove commented code
1745
1746 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1747
1748         * paragraph.C (startTeXParParams): correct column count
1749         * CutAndPaste.C (pasteSelection): remove const_cast
1750         * output_docbook.C (docbookParagraphs): remove const_cast
1751         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1752         const_cast and return ParagraphList::const_iterator
1753         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1754         * output_plaintext.C (writeFileAscii): remove const_cast
1755         * paragraph.[Ch] (simpleTeXOnePar): make const
1756         * paragraph_funcs.C (outerPar): use const iterators
1757         * paragraph_pimpl.C (validate): use const iterators
1758         * text.C (setHeightOfRow): use const iterators
1759
1760 2004-05-17  Angus Leeming  <leeming@lyx.org>
1761
1762         * lfuns.h:
1763         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1764
1765         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1766         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1767         if the citation engine has changed.
1768
1769 2004-05-14  José Matos  <jamatos@lyx.org>
1770
1771         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1772         if the textclass does not provide it. Have it different for sgml and
1773         xml.
1774         support the language of document.
1775         * output_docbook.C (docbookParagraphs):
1776         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1777         first anchor as the id of the paragraph, remove special case code.
1778         * sgml.C (escapeChar): escape only < & >.
1779
1780 2004-05-14  Angus Leeming  <leeming@lyx.org>
1781
1782         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1783         dependencies on src/frontends/controllers/biblio.h. Define a
1784         CiteEngine_enum wrapper class to enable the enum to be forward
1785         declared.
1786
1787 2004-05-12  Angus Leeming  <leeming@lyx.org>
1788
1789         * buffer.C: up LYX_FORMAT to 234.
1790         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1791         use_numerical_citations with a single biblio::CiteEngine cite_engine
1792         variable.
1793         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1794
1795 2004-05-13  José Matos  <jamatos@lyx.org>
1796
1797         * converter.h:
1798         * converter.C (Converter, readFlags): add xml member.
1799         * outputparams.h: add XML flavor.
1800         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1801
1802 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * lyxfunc.C (dispatch):
1805         (getStatus): fix handling of LFUN_SEQUENCE
1806
1807 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * debug.C (showLevel): do not forget the end-of-line marker
1810
1811 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * kbmap.C (read): do not stop parsing a bind file when an error
1814         occurs (bug 1575)
1815
1816 2004-04-29  Angus Leeming  <leeming@lyx.org>
1817
1818         * cursor.C:
1819         * factory.C:
1820         * pariterator.C:
1821         * text2.C: wrap a bunch of #warning statements
1822         inside #ifdef WITH_WARNINGS blocks.
1823
1824 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * buffer.C: increment format to 233.
1827
1828 2004-04-28  Angus Leeming  <leeming@lyx.org>
1829
1830         * BufferView_pimpl.C:
1831         * lyxfunc.C:
1832         * text3.C:
1833         s/updateToolbar()/updateToolbars()/
1834         s/Toolbar.h/Toolbars.h/
1835
1836 2004-04-28  Angus Leeming  <leeming@lyx.org>
1837
1838         * BufferView.[Ch] (c-tor):
1839         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1840         No longer passes these data to the WorkArea generator.
1841
1842 2004-04-28  Angus Leeming  <leeming@lyx.org>
1843
1844         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1845
1846 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1847
1848         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1849
1850 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1851
1852         * output_latex.C (TeXEnvironment): make sure that there is a line
1853         break before \end{foo} for the last paragraph of a document
1854         (TeXOnePar): if the paragraph is at the end of the document (or
1855         inset) and the language has to be reset, then make sure that the
1856         line break is _before_ the language command, not after (fixes bug
1857         1225); also make sure that the language reset command is the first
1858         thing after the paragraph (to ensure proper nesting of
1859         environments and thus fix bug 1404)
1860
1861 2004-04-21  John Levon  <levon@movementarian.org>
1862
1863         * ToolbarBackend.h:
1864         * ToolbarBackend.C: make "name" be a programmatic name
1865         and a gui_name field.
1866
1867         * lyxfunc.C: display the minibuffer on M-x
1868
1869 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1872         (bug 1526)
1873
1874 2004-04-19  Angus Leeming  <leeming@lyx.org>
1875
1876         * BufferView_pimpl.C (setBuffer): changed preview interface.
1877
1878         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1879         possible values.
1880
1881 2004-04-19  John Levon  <levon@movementarian.org>
1882
1883         * BufferView_pimpl.C:
1884         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1885
1886 2004-04-05  Angus Leeming  <leeming@lyx.org>
1887
1888         * text.C (redoParagraphs): add call to updateCounters(), thereby
1889         fixing the missing "Figure #:" label from the caption of a
1890         figure float.
1891
1892 2004-04-13  Angus Leeming  <leeming@lyx.org>
1893
1894         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1895         cursor is clicked out of an inset.
1896
1897 2004-04-13  Angus Leeming  <leeming@lyx.org>
1898
1899         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1900         than an InsetOld one.
1901
1902 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1903
1904         * format.[Ch]: add editor to Format
1905         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1906         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1907
1908 2004-04-08  André Pönitz  <poenitz@gmx.net>
1909
1910         * metricsinfo.h: remove PainterInfo::width member
1911
1912 2004-04-08  Angus Leeming  <leeming@lyx.org>
1913
1914         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1915         "\providecommand" rather than "\newcommand", thereby preventing
1916         clashes with packages that define "\boldsymbol" themselves.
1917         Eg, beamer.
1918
1919 2004-04-08  Angus Leeming  <leeming@lyx.org>
1920
1921         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1922         thereby squashing an unnecessary warning.
1923
1924 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1925
1926         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1927         setBuffer()
1928
1929 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * BufferView.C (setCursor): call redoParagraph (some insets could
1932         have been opened)
1933         (putSelectionAt): remove the 'double update' trick
1934
1935         * BufferView_pimpl.C (fitCursor): call refreshPar
1936         (workAreaDispatch): remove an uneeded update call
1937         (dispatch): remove some manual update calls
1938
1939         * cursor.[Ch]: remove cached_y_, updatePos
1940         (selHandle): set noUpdate when appropriate
1941
1942         * lyxfunc.C (dispatch): track if we need an update
1943
1944         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1945
1946         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1947         (paintSelection): cheap optimization, do not call cursorX when not
1948         needed
1949         (paintPars): change signature
1950         (refreshPar): add
1951         (paintText): adjust
1952         (paintTextInset): adjust
1953
1954         * text.C: adjust
1955
1956 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * lengthcommon.C: compilation fix: remove explicit array size from
1959         unit_name[] and friends
1960
1961 2004-04-05  Angus Leeming  <leeming@lyx.org>
1962
1963         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1964
1965         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1966         present only for the preferences dialog.
1967         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1968
1969 2004-04-05  Angus Leeming  <leeming@lyx.org>
1970
1971         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1972         to enable the frontends to export changes to lyxrc correctly.
1973
1974         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1975
1976 2004-04-07  André Pönitz  <poenitz@gmx.net>
1977
1978         * cursor.[Ch] (selClear, adjust): remove math
1979
1980         * cursor_slice.C: more agressive assert
1981
1982         * lyxfunc.C:
1983         * BufferView_pimpl.C: rework mouse event dispatch
1984
1985         * dociterator.C:
1986         * paragraph.C:
1987         * text2.C:
1988         * text3.C: adjust
1989
1990 2004-04-05  André Pönitz  <poenitz@gmx.net>
1991
1992         * cursor.[Ch] (valign, halign...): remove unneeded functions
1993
1994 2004-04-05  Angus Leeming  <leeming@lyx.org>
1995
1996         * lyxlength.[Ch] (unit_name et al.): const-correct.
1997
1998 2004-04-05  Angus Leeming  <leeming@lyx.org>
1999
2000         * BufferView_pimpl.C:
2001         * buffer.C:
2002         * counters.C:
2003         * cursor.C:
2004         * lyxfunc.C
2005         * paragraph.C:
2006         * pariterator.C:
2007         * text.C:
2008         * text2.C:
2009         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2010
2011 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2014
2015 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2018         * BufferView_pimpl.[Ch] (getStatus)
2019         * BufferView.[Ch] (getStatus): add
2020         * lyxfunc.C (getStatus): move lfuns handled in
2021         BufferView::dispatch to te function above
2022         * Cursor.C (setSelection): set selection() = true
2023
2024 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2025
2026         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2027
2028 2004-03-31  Angus Leeming  <leeming@lyx.org>
2029
2030         * lyxfunc.C (dispatch): Fall through to the generic
2031         Dialogs::show("preamble").
2032
2033 2004-03-31  Angus Leeming  <leeming@lyx.org>
2034
2035         * lyxfunc.C (dispatch): Fall through to the generic
2036         Dialogs::show("spellchecker").
2037
2038 2004-03-31  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2041         preferences dialog.
2042
2043 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * BufferView.C
2046         * cursor.[Ch]
2047         * dociterator.[Ch]:
2048         * insetiterator.[Ch]:
2049         * lyxfind.C:
2050         * lyxfunc.C:
2051         * pariterator.[Ch]:
2052         * text2.C:
2053         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2054
2055 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2058         insets where we are putting the cursor.
2059
2060 2004-03-31  Angus Leeming  <leeming@lyx.org>
2061
2062         * lfuns.h:
2063         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2064
2065         * lyxrc.[Ch] (read, write): overloaded member functions taking
2066         a std::[io]stream arguments.
2067
2068         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2069
2070 2004-03-31  Angus Leeming  <leeming@lyx.org>
2071
2072         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2073         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2074
2075         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2076         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2077
2078 2004-03-31  Angus Leeming  <leeming@lyx.org>
2079
2080         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2081         the LFUN_ALL_INSETS_TOGGLE code.
2082
2083 2004-03-30  Angus Leeming  <leeming@lyx.org>
2084
2085         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2086         has died. Fall through to the generic Dialogs::show("document").
2087
2088 2004-03-30  Angus Leeming  <leeming@lyx.org>
2089
2090         * lfuns.h:
2091         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2092         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2093
2094         * lyxfunc.C (getStatus, dispatch): define the actions for these
2095         lfuns. Little more than a cut and pste job from ControlDocument.C
2096
2097         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2098
2099 2004-03-30  Angus Leeming  <leeming@lyx.org>
2100
2101         * lfuns.h:
2102         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2103         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2104
2105         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2106         open/closed state of ollapsable insets. Usage:
2107
2108         all-inset-toggle <state> <name>, where
2109         <state> == "open" || "closed" || "toggle" and
2110         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2111
2112         * lyxtext.h, text2.C (toggleInset): removed.
2113
2114         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2115         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2116         now passes LFUN_INSET_TOGGLE to the found inset.
2117
2118         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2119         is now invoked as "all-insets-toggle toggle branch".
2120
2121 2004-03-30  Angus Leeming  <leeming@lyx.org>
2122
2123         * dociterator.C:
2124         * insetiterator.C:
2125         * pariterator.[Ch]: added/corrected header blurb.
2126
2127 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * dociterator.[Ch]: add an inset_ member
2130         (backwardPos): implemented
2131         (backwardPos, forwardPos): use inset_ when the stack is empty.
2132         (doc_iterator_begin, doc_iterator_end): implemented
2133         * pariterator.[Ch]: adjust, add begin, end
2134         * insetiterator.[Ch]: adjust, add begin, end
2135         * cursor.C:
2136         * document.C:
2137         * BufferView.C:
2138         * BufferView_pimpl.C:
2139         * CutAndPaste.C: adjust
2140
2141 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2142
2143         * buffer.C: increment file format to 232.
2144         * LaTeXFeatures.C: add bibtopic package.
2145         * bufferparams.[Ch]: param \use_bibtopic.
2146
2147         * lyxrc.[Ch]: add lyxrc bibtex_command
2148         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2149
2150         * buffer.C: increment file format to 231.
2151
2152 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * dociterator.C: implement forwardPar
2155         * iterators.[Ch]: remove, replaced by
2156         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2157         * BufferView.C:
2158         * BufferView_pimpl.C:
2159         * CutAndPaste.C:
2160         * buffer.C:
2161         * bufferview_funcs.C:
2162         * cursor.C:
2163         * lyxfind.C
2164         * lyxfunc.C
2165         * paragraph_funcs.C
2166         * toc.C:
2167         * Makefile.am: adjust
2168
2169 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * CutAndPaste.C (pasteSelection): fix 2 crashes
2172         (eraseSelection): fix a crash
2173         * paragraph_funcs.C: remove a warning
2174
2175 2004-03-28  Angus Leeming  <leeming@lyx.org>
2176
2177         * lfuns.h:
2178         * LyXAction.C (init): new LFUN_PRINT.
2179
2180         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2181
2182 2004-03-27  Angus Leeming  <leeming@lyx.org>
2183
2184         * lfuns.h:
2185         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2186
2187         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2188
2189 2004-03-27  Angus Leeming  <leeming@lyx.org>
2190
2191         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2192         insetlist always contains non-null pointers to insets.
2193
2194 2004-03-26  Angus Leeming  <leeming@lyx.org>
2195
2196         * src/BufferView_pimpl.C:
2197         * src/CutAndPaste.C:
2198         * src/buffer.C:
2199         * src/iterators.C:
2200         * src/output_plaintext.C:
2201         * src/outputparams.h:
2202         * src/paragraph_funcs.C:
2203         * src/rowpainter.C:
2204         * src/text.C:
2205         * src/text2.C:
2206         * src/frontends/controllers/ControlErrorList.C:
2207         * src/frontends/gtk/FileDialogPrivate.C:
2208         * src/frontends/gtk/GPainter.C:
2209         * src/frontends/gtk/GToolbar.C:
2210         * src/frontends/qt2/QRef.C:
2211         * src/mathed/math_scriptinset.C: squash compiler warnings.
2212
2213 2004-03-26  Angus Leeming  <leeming@lyx.org>
2214
2215         * ispell.C (LaunchIspell::start):
2216         * lyx_cb.C (AutoSaveBuffer::start):
2217         invoke run(DontWait) rather than runNonBlocking().
2218
2219 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2222
2223 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * kbsequence.C (print): adjust
2226
2227         * kbmap.C (printKeySym): rename and change signature
2228         (printKey): use LyXKeySym::print()
2229
2230 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * undo.C: add using std::advance to compile for stlport
2233
2234 2004-03-24  Angus Leeming  <leeming@lyx.org>
2235
2236         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2237         it leads to a crash when no buffer is present.
2238
2239 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2240             Martin Vermeer  <martin.vermeer@hut.fi>
2241
2242         * lyxfunc.C (dispatch):
2243         * bufferparams.C (readToken): use the new LColor::setColor
2244
2245         * LColor.[Ch] (setColor): new version that takes two strings as
2246         argument and creates a new color entry if necessary
2247
2248 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2249
2250         * buffer.C (makeLaTeXFile): if the main latex file that is
2251         processed is usually a subdocument of some master, then pretend
2252         for a while that it is actually the master
2253
2254 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2255
2256         * buffer.C (getLabelList):
2257         (getBibkeyList): use getMasterBuffer()
2258         (getMasterBuffer): new method. Returns the main document in the
2259         case where one is using included documents.
2260
2261 2004-03-25  André Pönitz  <poenitz@gmx.net>
2262
2263         * Makefile.am:
2264         * iterators.[Ch]:
2265         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2266
2267         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2268
2269         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2270         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2271
2272         * ParameterStruct.h: merge with ParagraphParameters
2273
2274         * lyxtext.h: remove LyXText::parOffset() and getPar()
2275
2276         * text3.C: Remove all 'manual' update calls. We do now one per user
2277         interaction which is completely sufficient.
2278
2279         * Bidi.C:
2280         * BufferView.[Ch]:
2281         * BufferView_pimpl.C:
2282         * FontIterator.[Ch]:
2283         * MenuBackend.C:
2284         * ParagraphParameters.[Ch]:
2285         * buffer.C:
2286         * buffer.h:
2287         * bufferlist.C:
2288         * cursor.[Ch]:
2289         * cursor_slice.[Ch]:
2290         * dociterator.[Ch]:
2291         * errorlist.[Ch]:
2292         * factory.C:
2293         * lfuns.h:
2294         * lyxfind.C:
2295         * lyxfunc.C:
2296         * output_docbook.[Ch]:
2297         * output_latex.[Ch]:
2298         * output_linuxdoc.[Ch]:
2299         * output_plaintext.[Ch]:
2300         * paragraph.[Ch]:
2301         * paragraph_funcs.[Ch]:
2302         * paragraph_pimpl.[Ch]:
2303         * rowpainter.C:
2304         * tabular.[Ch]:
2305         * text.C:
2306         * text2.C:
2307         * toc.C:
2308         * undo.[Ch]: adjust
2309
2310         * frontends/controllers/ControlDocument.C:
2311         * frontends/controllers/ControlErrorList.C:
2312         * frontends/controllers/ControlSpellchecker.C:
2313         * insets/inset.C:
2314         * insets/inset.h:
2315         * insets/insetbase.h:
2316         * insets/insetbibitem.C:
2317         * insets/insetbox.C:
2318         * insets/insetbranch.C:
2319         * insets/insetcaption.C:
2320         * insets/insetcharstyle.C:
2321         * insets/insetcharstyle.h:
2322         * insets/insetcollapsable.C:
2323         * insets/insetcollapsable.h:
2324         * insets/insetert.C:
2325         * insets/insetfloat.C:
2326         * insets/insetfoot.C:
2327         * insets/insetmarginal.C:
2328         * insets/insetnote.C:
2329         * insets/insetoptarg.C:
2330         * insets/insettabular.C:
2331         * insets/insettext.C:
2332         * insets/insettext.h:
2333         * insets/insetwrap.C:
2334         * mathed/math_mboxinset.C:
2335         * mathed/math_nestinset.C:
2336         * mathed/math_scriptinset.C:
2337         * mathed/math_scriptinset.h:
2338         * support/types.h:
2339
2340 2004-03-24  Angus Leeming  <leeming@lyx.org>
2341
2342         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2343         deal with any child processes that have finished but are waiting to
2344         communicate this fact to the rest of LyX.
2345
2346 2004-03-24  Angus Leeming  <leeming@lyx.org>
2347
2348         64-bit compile fixes.
2349
2350         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2351         (c-tor): pass lyx::pos_types rather than ints.
2352
2353         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2354         lyx::pos_type.
2355
2356         * text.C (Delete): compile fix.
2357         (getPar): ensure that function declaration is the same as that in
2358         the header file.
2359
2360 2004-03-23  Angus Leeming  <leeming@lyx.org>
2361
2362         * ispell.C (LaunchIspell):
2363         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2364         a boost::shred_ptr rather than a std::auto_ptr.
2365
2366 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2367
2368         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2369         handle LFUN_FILE_INSERT_*
2370
2371         * lyxrc.C (setDefaults, getDescription, output, read):
2372         * lyxrc.h: remove ps_command
2373
2374 2004-03-22  Angus Leeming  <leeming@lyx.org>
2375
2376         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2377         Ensure that error_handler is processed once only and that all data
2378         is saved before attempting to output any warning messages.
2379
2380         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2381
2382 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2383
2384         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2385
2386 2004-03-19  André Pönitz  <poenitz@gmx.net>
2387
2388         * cursor.[Ch] (reset): take main text inset as argument
2389
2390         * BufferView: adjust
2391         * BufferView_pimpl.C: adjust
2392
2393         * paragraph.[Ch]: fix completely broken operator=()
2394
2395 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * LColor.C (getFromLyXName): make sure that the color name is used
2398         as lowercase.
2399
2400 2004-03-17  Angus Leeming  <leeming@lyx.org>
2401
2402         * lfuns.h:
2403         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2404
2405         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2406         dialog and to kill a forked process.
2407
2408 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2409
2410         * text2.C (setCursorFromCoordinates): fix font problem
2411
2412 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2415         bogus "rebuild cursor" code
2416
2417 2004-03-11  André Pönitz  <poenitz@gmx.net>
2418
2419         * buffer.[Ch]: use InsetText instead of LyXText as container for
2420         the main lyx text.
2421
2422         * dociterator.[Ch]: drop the BufferView * member which is not needed
2423         anymore after the change to buffer.C
2424
2425         * paragraph_funcs.C:
2426         * text.C:
2427         * text2.C:
2428         * BufferView.[Ch]:
2429         * BufferView_pimpl.[Ch]:
2430         * cursor.[Ch]:
2431         * cursor_slice.[Ch]: adjust
2432
2433         * text3.C: fix bug in mathDispatch
2434
2435 2004-03-08  André Pönitz  <poenitz@gmx.net>
2436
2437         * undo.[Ch]: use 'StableDocumentIterator' as base for
2438         the Undo struct.
2439
2440 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2441
2442         * LaTeXFeatures.C:
2443         * bufferparams.[Ch]: add jurabib support and param.
2444
2445         * LaTeX.C: add FIXME/comment.
2446
2447 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2448
2449         * buffer.C: increment file format to 230.
2450
2451 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * cursor.C (dispatch): avoid infinite loops
2454
2455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * rowpainter.C (paintSelection): fix x coordinates
2458
2459 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text.C (rowBreakPoint): fix breaking before displayed insets
2462
2463 2004-03-01  André Pönitz  <poenitz@gmx.net>
2464
2465         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2466
2467         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2468
2469         * Makefile.am:
2470         * BufferView.C:
2471         * BufferView_pimpl.C:
2472         * buffer.C:
2473         * lyxfind.C:
2474         * lyxfunc.C:
2475         * text.C:
2476         * text2.C:
2477         * text3.C: adjust
2478
2479 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2480
2481         * lyxtext.h:
2482         * text.C:
2483         * text2.C:
2484         * rowpainter.C:
2485         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2486         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2487
2488 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * Bidi.[Ch] (computeTables): const correctness
2491         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2492         fill_hfill, fill_label_hfill and x from Row
2493         * lyxtext.h: prepareToPrint returns a RowMetrics
2494         * rowPainter.C: adjust
2495         * text.C (prepareToPrint): use width, not textWidth. adjust
2496         (redoParagraphInternal, cursorX): adjust
2497         * text2.C (getColumnNearX): adjust
2498         (init): put a default value to the top LyXText::width
2499
2500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2503
2504 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2505
2506         * lyxtext.h: add FontIterator class
2507
2508         * text.C (FontIterator, operator*, operator->, operator++): add
2509         (rowBreakPoint, setRowWidth): adjust (fixing a
2510         rebreaking bug)
2511
2512 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * BufferView_pimpl.C (workAreaDispatch): allow also
2515         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2516
2517 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * text.C (rowBreakPoint): fix a bug showing with very large insets
2520
2521 2004-02-25  André Pönitz  <poenitz@gmx.net>
2522
2523         * text3.C:
2524         * cursor.[Ch]: move some mathed specific code to mathed
2525
2526 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2527
2528         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2529         use_tempdir in preferences
2530         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2531         tempfile creation
2532         * lyx_main.C: ensure that tempdir is valid
2533         * lyxlex.h: correct typo
2534         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2535         * paragraph.[Ch] (isMultiLingual): make const
2536         * cursor.[Ch] (openable): make const
2537
2538 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2539
2540         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2541
2542 2004-02-20  André Pönitz  <poenitz@gmx.net>
2543
2544         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2545
2546         * cursor.[Ch]: prepare for localized getStatus()
2547
2548         * lyxtext.h:
2549         * tabular.C:
2550         * text.C:
2551         * text2.C:
2552         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2553
2554 2004-02-20  André Pönitz  <poenitz@gmx.net>
2555
2556         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2557
2558 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2559
2560         * text2.C (setCursorFromCoordinates): switch to absolute coords
2561         (cursorUp): adjust
2562         (cursorDown): adjust
2563         * text3.C (dispatch): adjust
2564
2565 2004-02-16  André Pönitz  <poenitz@gmx.net>
2566
2567         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2568           insets/ChangeLog)
2569
2570         * cursor_slice.[Ch]: remove unneeded acessor function
2571
2572         * lyxtext.h: rename rtl() to isRTL()
2573
2574         * rowpainter.C:
2575         * tabular.C:
2576         * text.C:
2577         * text2.C:
2578         * text3.C: adjust
2579
2580 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * rowpainter.C (paintSelection): coord fix
2583
2584 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2585
2586         * Spacing.C: compile fix
2587
2588 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * cursor.C (dispatch): restore current_ before returning
2591
2592 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2593
2594         * text2.C (cursorUp, cursorDown): fix coords
2595         (moveUp): fix crash
2596
2597 2004-02-12  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxtext.h:
2600         * text.C:
2601         * text2.C:
2602         * text3.C: add LCursor & parameter to most cursor movement functions
2603           remove usage of LyXText::cursorRow() and cursorPar()
2604
2605         * cursor.[Ch]: add textRow() needed members
2606
2607         * BufferView.C:
2608         * BufferView_pimpl.C:
2609         * paragraph.[Ch]:
2610         * BufferView.C:
2611         * BufferView_pimpl.C: adjust
2612
2613 2004-02-11  André Pönitz  <poenitz@gmx.net>
2614
2615         * lyxfunc.C:
2616         * BufferView.[Ch]:
2617         * BufferView_pimpl.C: shift undo/redo handling
2618
2619         * cursor.[Ch]: fix mathed crash
2620
2621         * lyxfind.C:
2622         * lyxtext.h: move selectionAsText to LCursor
2623
2624         * output_latex.C:
2625         * paragraph.C:
2626         * text.C:
2627         * text2.C:
2628         * text3.C: adjust
2629
2630         * rowpainter.C: fix excessive drawing
2631
2632 2004-02-06  André Pönitz  <poenitz@gmx.net>
2633
2634         * BufferView.[Ch]:
2635         * BufferView_pimpl.[Ch]:
2636         * text3.C: move some text specific LFUN handling
2637
2638 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2639
2640         * text3.C (checkInsetHit): adjust coords
2641         * text2.C (getColumnNearX): adjust coords
2642         (edit): adjust coords
2643         * text.C (getRowNearY): add two asserts
2644
2645 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2646
2647         * converter.C:
2648         * format.C: add using std::distance to compile on gcc 2.95/stlport
2649
2650 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2653
2654 2004-02-04  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView.[Ch] (insertInset):
2657         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2658
2659         * text2.C:
2660         * text3.C: adjust
2661
2662 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2663
2664         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2665         on the default clause of the switch
2666         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2667         wasn't catched by LCursor::dispatch
2668
2669 2004-02-03  André Pönitz  <poenitz@gmx.net>
2670
2671         * BufferView.C:
2672         * cursor.[Ch]: some additional asserts
2673
2674         * undo.[Ch]: remove LyXText dependency in interface
2675
2676         * lyxfunc.C: adjust
2677
2678         * lyxtext.h (firstPar, lastPar): remove dead functions
2679
2680         * text.C:
2681         * text2.C:
2682         * text3.C:
2683         * paragraph.[Ch]: adjust
2684
2685 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * lyxfind.C (find): fix argument order in call to ::find
2688
2689 2004-02-02  André Pönitz  <poenitz@gmx.net>
2690
2691         * cursor.[Ch]: remove direct access to anchor
2692
2693         * text.C: remove findText() hack
2694
2695 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * iterators.[Ch] (lockPath): remove in favour of...
2698         * BufferView.[Ch] (setCursor): this addition
2699         * BufferView.C (putSelectionAt): adjust
2700         * undo.C (performUndoOrRedo): adjust
2701         * lyxfunc.C (dispatch): adjust
2702
2703 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * iterators.C (lockPath): add a missing slice
2706         * undo.C (performUndoOrRedo): remove redundant positioning code
2707
2708 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2709
2710         * vc-backend.C (scanMaster): ";" -> ';'
2711
2712 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2713
2714         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2715         std::binary_function
2716
2717         * lyxtextclass.C (compare_name): rename to...
2718         (LayoutNamesEqual): ...this
2719
2720         * lyxlex_pimpl.C (compare_tags): inherit from
2721         std::binary_function, put back into anon namespace
2722
2723         * lyxfind.C (MatchString): inherig from std::binary_function
2724         (findChange): use empty() istead of !size()
2725
2726         * format.C (FormatNamesEqual): new functor
2727         (getFormat): use it
2728         (getNumber): use it
2729         (add): use it
2730         (erase): use it
2731         (setViewer): use it
2732
2733         * converter.C (compare_Converter): rename to...
2734         (ConverterEqual): ...this, and fixup a bit.
2735         (getConverter): use it, and make function const
2736         (getNumber): use it, and make function const
2737         (add): use it
2738         (erase): use it:
2739
2740         * bufferlist.C: add using boost::bind
2741
2742         * MenuBackend.C (MenuNamesEqual): new functor
2743         (hasMenu): use it, and make function const
2744         (hasSubmenu): use nested bind to get rid of compare_memfun.
2745
2746 2004-01-30  André Pönitz  <poenitz@gmx.net>
2747
2748         * BufferView_pimpl.C:
2749         * cursor.C:
2750         * cursor.h:
2751         * cursor_slice.[Ch]:
2752         * lyxfunc.C:
2753         * lyxtext.h:
2754         * paragraph_funcs.C:
2755         * paragraph_funcs.h:
2756         * rowpainter.C:
2757         * text.C:
2758         * text2.C:
2759         * text3.C: move some of the edit(x,y) handling to the insets
2760         some coordinate changes.
2761
2762 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2763
2764         * text.C: add using statements for std::advance and std::distance
2765
2766         * paragraph.C: add using statement for std::distance
2767
2768         * lyxfind.C: add using statement for std::advance
2769
2770         * cursor.C (region): remove std:: from swap
2771         (openable): use nucleus in stead of operator->
2772
2773         * BufferView.C: add using statements for std::distance and std::swap
2774
2775 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2776
2777         * iterators.C: Remove the pimple, move the needed structures to
2778         the header file. Create accessor for the positions stack.
2779         (asPosIterator): remove function
2780
2781         * PosIterator.C (PosIterator): move constructors to top of file
2782         (PosIterator): reimplement the constructor taking a ParIterator in
2783         terms of setFrom.
2784         (setFrom): new function
2785         (operator!=): inline it
2786
2787 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2788
2789         * lyxfind.C (replaceAll): use std::advance
2790
2791         * iterators.h: inherit from std::iterator.
2792
2793         * PosIterator.C (advance, distance): remove
2794         * PosIterator.h: interit from std::iterator.
2795
2796 2004-01-26  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView.[Ch]:
2799         * BufferView_pimpl.[Ch]:
2800         * InsetList.[Ch]:
2801         * PosIterator.[Ch]:
2802         * buffer.h:
2803         * bufferview_funcs.C:
2804         * cursor.[Ch]:
2805         * cursor_slice.h:
2806         * factory.[Ch]:
2807         * iterators.[Ch]:
2808         * lyxfind.C:
2809         * lyxfunc.C:
2810         * lyxtext.h:
2811         * output_docbook.C:
2812         * output_latex.C:
2813         * output_linuxdoc.C:
2814         * output_plaintext.C:
2815         * paragraph.[Ch]:
2816         * paragraph_funcs.[Ch]:
2817         * paragraph_pimpl.[Ch]:
2818         * rowpainter.C:
2819         * tabular.C:
2820         * tabular.h:
2821         * text.C:
2822         * text2.C:
2823         * text3.C: more IU:  dumps most of the rest of the mathcursor
2824     implementation into cursor.[Ch]; "globalize" a bit of it.
2825
2826 2004-01-25  Angus Leeming  <leeming@lyx.org>
2827
2828         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2829
2830 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2831
2832         * LaTeXFeatures.h: add nice_ and nice() const
2833         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2834
2835 2004-01-20  André Pönitz  <poenitz@gmx.net>
2836
2837         * BufferView.[Ch]:
2838         * BufferView_pimpl.C:
2839         * PosIterator.C:
2840         * bufferview_funcs.C:
2841         * cursor.[Ch]:
2842         * cursor_slice.[Ch]:
2843         * factory.C:
2844         * iterators.C:
2845         * lyx_cb.C:
2846         * lyxfind.C:
2847         * lyxfunc.C:
2848         * lyxtext.h:
2849         * rowpainter.C:
2850         * text.C:
2851         * text2.C:
2852         * text3.C:
2853         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2854           LCursor and mathcursor parts to LCursor and InsetBase.
2855
2856 2004-01-15  André Pönitz  <poenitz@gmx.net>
2857
2858         * cursor_slice.[Ch]: add a few covienience functions
2859
2860         * funcrequest.[Ch]: remove BufferView * member
2861
2862         * BufferView_pimpl.C:
2863         * cursor.C:
2864         * factory.[Ch]:
2865         * lyxfind.[Ch]:
2866         * lyxfunc.C:
2867         * lyxtext.h:
2868         * text3.C:
2869         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2870
2871 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2874         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2875
2876 2004-01-13  André Pönitz  <poenitz@gmx.net>
2877
2878         * textcursor.[Ch]:
2879         * lyxtext.h: hide cursor and selection anchor behind accessor function
2880
2881         * BufferView.C:
2882         * BufferView_pimpl.[Ch]:
2883         * PosIterator.C:
2884         * bufferview_funcs.C:
2885         * cursor.h:
2886         * lyxfind.C:
2887         * lyxfunc.C:
2888         * text.C:
2889         * text2.C:
2890         * text3.C:
2891         * undo.C: adjust
2892
2893         * cursor.h:
2894         * cursor_slice.[Ch]: some integer type changes for inset unification
2895
2896         * lyxcursor.[hC]: remove, it's CursorSlice now.
2897
2898         * Makefile.am:
2899         * BufferView_pimpl.[Ch]:
2900         * bufferview_funcs.C:
2901         * cursor_slice.C:
2902         * lyxtext.h:
2903         * text.C:
2904         * text2.C:
2905         * text3.C:
2906         * textcursor.[Ch]: adjust
2907
2908 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2909
2910         * text2.C (undoSpan): add and use
2911         * text.C (breakParagraph): use undoSpan (fix bug 578)
2912         * lyxtext.h: adjust
2913
2914 2004-01-08  Angus Leeming  <leeming@lyx.org>
2915
2916         * BufferView_pimpl.C (MenuInsertLyXFile):
2917         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2918         * lyxfunc.C (menuNew, open, doImport):
2919         FileFilterList change to the FileDialog open and save functions.
2920
2921 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2922
2923         * ShareContainer.h: make isEqual and isUnique adaptable
2924
2925         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2926
2927 2004-01-07  Angus Leeming  <leeming@lyx.org>
2928
2929         * LyXAction.C:
2930         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2931
2932         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2933
2934         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2935         functions replacing find, replace and replaceAll.
2936
2937         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2938         LFUN_WORDFIND(FORWARD|BACKWARD).
2939
2940 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2941
2942         * text.C (breakParagraph): remove an outdated #warning
2943
2944 2004-01-07  André Pönitz  <poenitz@gmx.net>
2945
2946         * lyxfind.C: somewhat clearer logic
2947
2948         * text.C: prevent crash in cursorX on unitialized row cache
2949
2950 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2951
2952         * lyxcursor.[Ch] (operator>): add
2953         * textcursor.C (selStart, selEnd): use std::min and std::max
2954
2955 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2956
2957         * Chktex.C: include boost/format.hpp
2958
2959 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2960
2961         * InsetList.C: replace functor MathcIt with adaptable functor
2962         InsetTablePosLess
2963         (insetIterator): modify accordingly
2964
2965         * BranchList.h: move the BranchNamesEqual functor here from...
2966         * BranchList.C: ... to here
2967
2968         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2969         SameName and match.
2970         (add): replace a finding loop with std::find_if.
2971
2972 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * output_docbook.C: moving LatexParam functionality into
2975         .layout files
2976
2977 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2978
2979         * buffer.C: increment format to 229.
2980
2981 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2982
2983         * LaTeXFeatures.C:
2984         * lyx_sty.[Ch]: remove minipageindent_def
2985
2986         * LyXAction.C:
2987         * factory.C:
2988         * lfuns.h:
2989         * lyxfunc.C:
2990         * text3.C: remove LFUN_INSET_MINIPAGE
2991
2992 2003-12-28  Angus Leeming  <leeming@lyx.org>
2993
2994         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2995
2996 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * text2.C (setParagraph): fix off-by-one crash
2999
3000 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * output_docbook.C: header stuff for AGU
3003
3004 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * text2.C (redoCursor): remove
3007         * text.C:
3008         * text3.C:
3009         * BufferView_pimpl.C: remove calls to redoCursor and
3010         setCursor(cursor.par(), cursor.pos()) all around
3011
3012 2003-12-15  Angus Leeming  <leeming@lyx.org>
3013
3014         * buffer.C: up the format to 228.
3015
3016 2003-12-15  André Pönitz  <poenitz@gmx.net>
3017
3018         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3019         slices
3020
3021         * Makefile.am:
3022
3023         * BufferView_pimpl.C:
3024         * cursor.[Ch]:
3025         * lyxcursor.[Ch]:
3026         * rowpainter.[Ch]:
3027         * lyxtext.h:
3028         * text.C:
3029         * text2.C:
3030         * text3.C: adjust
3031
3032 2003-12-15  Angus Leeming  <leeming@lyx.org>
3033
3034         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3035         than getFromGUIName to manipulate the color.
3036
3037 2003-12-14  Angus Leeming  <leeming@lyx.org>
3038
3039         * BranchList.[Ch]: minimize the API.
3040         (Branch::getBranch, getColor): now return a 'const &'.
3041         (Branch::setSelected) now returns a bool set to true if the
3042         selection status changes.
3043         (BranchList::clear, size, getColor, setColor, setSelected,
3044         allBranches, allSelected, separator): removed.
3045         (BranchList::find): new functions, returning the Branch with
3046         the given name.
3047         (BranchList::add, remove): return a bool indicating that
3048         the operation was successful.
3049
3050         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3051         new InsetBranch::isBranchSlected member function.
3052
3053         * LColor.[Ch]: mimimize the API.
3054         (fill): renamed as addColor and made private.
3055         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3056         versions of these functions taking a string arg have been removed.
3057
3058         * bufferparams.C (readToken):
3059         * lyxfunc.C (dispatch):
3060         * lyxrc.C (read): changes due to the altered BranchList and
3061         LColor APIs.
3062
3063         * factory.C (createInset, readInset): changes due to altered
3064         InsetBranch c-tor.
3065
3066 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3067
3068         * factory.C:
3069         * lyxfunc.C: remove insetminipage. "minipage-insert"
3070         now produces a frameless minipage box inset.
3071
3072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * textcursor.[Ch] (selStart,selEnd): add new methods
3075         remove selection::start, end, use LyXCursor::operator<
3076         * lyxcursor.[Ch] (operator<): add
3077         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3078         * BufferView.[Ch] (unsetXSel): add
3079         * text2.C (clearSelection): use unsetXSel,adjust
3080         * text.C: adjust
3081         * text3.C: adjust
3082         * rowpainter.C: adjust
3083         * bufferview_funcs.C (put_selection_at): adjust
3084
3085 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3086
3087         * BufferView_pimpl.C: small coord. correction
3088
3089 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3090
3091         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3092         dragging over the splash screen.
3093
3094 2003-12-11  Angus Leeming  <leeming@lyx.org>
3095
3096         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3097         as it is now handled in LyXText::dispatch.
3098
3099         * text3.C (doInsertInset): remove a level of nesting.
3100
3101 2003-12-11  Angus Leeming  <leeming@lyx.org>
3102
3103         * factory.C (createInset): changes due to the changed interface to
3104         InsetCommandMailer::string2params.
3105
3106 2003-12-10  Angus Leeming  <leeming@lyx.org>
3107
3108         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3109         'dialog-show-new-inset <inset name>'
3110
3111 2003-12-10  Angus Leeming  <leeming@lyx.org>
3112
3113         * buffer.C: up the format to 227.
3114
3115         * factory.C: the box inset is now identified simply by 'Box'.
3116
3117 2003-12-10  Angus Leeming  <leeming@lyx.org>
3118
3119         * buffer.C: up the format to 226.
3120
3121         * factory.C: the note inset is now identified simply by 'Note'.
3122
3123 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3124
3125         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3126         when a pit is enough. Standarize a couple of loops.
3127
3128 2003-12-05  Angus Leeming  <leeming@lyx.org>
3129
3130         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3131         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3132         data to the re-worked "log" dialog.
3133
3134 2003-12-03  André Pönitz  <poenitz@gmx.net>
3135
3136         * PosIterator.C:
3137         * iterators.C:
3138         * lyxtext.h:
3139         * output_latex.C:
3140         * paragraph_funcs.C:
3141         * text.C:
3142         * text2.C: use Inset::getText instead of Inset::getParagraph
3143
3144 2003-12-03  André Pönitz  <poenitz@gmx.net>
3145
3146         * buffer.[Ch]:
3147         * lyxtext.h:
3148         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3149         InsetText::read() as LyXText::read()
3150
3151 2003-12-02  Angus Leeming  <leeming@lyx.org>
3152
3153         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3154         type. Add a comment in the implementation that the function uses
3155         the stream's bad() function rather than fail() as the std::streams
3156         would do.
3157
3158 2003-12-02  André Pönitz  <poenitz@gmx.net>
3159
3160         * lyxlex.[Ch]: make interface more similar to std::stream
3161
3162         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3163
3164 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3165
3166         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3167
3168 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3169
3170         * vspace.[Ch]: remove VSpace::NONE
3171
3172 2003-12-01  André Pönitz  <poenitz@gmx.net>
3173
3174         * buffer.[Ch]:
3175         * lyxtext.h: move ParagraphList member to LyXText
3176         rename LyXText::ownerParagraphs to LyXText::paragraph
3177
3178         * CutAndPaste.C:
3179         * bufferview_funcs.C:
3180         * iterators.[Ch]:
3181         * lyx_cb.C:
3182         * paragraph.C:
3183         * rowpainter.C:
3184         * tabular.C:
3185         * text.C:
3186         * text2.C:
3187         * text3.C: adjust
3188
3189         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3190
3191         * undo.C: fix cursor positioning
3192
3193 2003-12-01  John Levon  <levon@movementarian.org>
3194
3195         * BufferView_pimpl.C: fix a crash on exit with
3196         a buffer open
3197
3198 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3199
3200         * BranchList.C: fix setSelected() method.
3201
3202 2003-11-28  André Pönitz  <poenitz@gmx.net>
3203
3204         * ParagraphParameters.[Ch]:
3205         * ParameterStruct.h: remove space above/below from Paragraph to
3206          InsetVSpace
3207
3208         * BufferView_pimpl.C:
3209         * factory.C:
3210         * lyxfunc.C:
3211         * lyxtext.h:
3212         * output_latex.C:
3213         * paragraph.C:
3214         * paragraph_funcs.C:
3215         * rowpainter.[Ch]:
3216         * text.C:
3217         * text2.C:
3218         * text3.C: adjust
3219
3220 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * factory.C: Syntax change for CharStyles
3223
3224 2003-11-28  André Pönitz  <poenitz@gmx.net>
3225
3226         * BufferView.[Ch]:
3227         * BufferView.[Ch]:
3228         * buffer.[Ch]:
3229         * buffer.[Ch]: move LyXText member
3230
3231 2003-11-28  André Pönitz  <poenitz@gmx.net>
3232
3233         * BufferView.[Ch]: make LyXText * text a private member
3234
3235         * BufferView_pimpl.C:
3236         * cursor.C:
3237         * iterators.C:
3238         * lyx_cb.C:
3239         * lyxfind.C:
3240         * lyxtext.h:
3241         * rowpainter.[Ch]:
3242         * text.C:
3243         * text2.C:
3244         * undo.C: adjust
3245
3246         * output_plaintext.C: cleanup
3247
3248 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3249
3250         * buffer.C:
3251         * lyxtextclass.[Ch]: parametrize SGML document header
3252
3253 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3254
3255         * converter.[Ch]:
3256         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3257         getFlavor().
3258
3259 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * text2.C (setFont): rework using PosIterator (no more recursive)
3262         (setCharFont): no more needed
3263         (setLayout): no more selection cursors fiddling (done by redoCursor)
3264         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3265         destroy remaining ones)
3266
3267 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3268
3269         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3270         * lyxtext.h: ditto
3271         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3272         selection cursors
3273         * lyxfunc.C: adjust
3274         * text3.C: adjust + re-allow multi par depth changes
3275         * textcursor.C: simplify a bit
3276
3277 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3278
3279         * src/buffer.C:
3280         * src/lyxlayout.C:
3281         * src/lyxlayout.h:
3282         * src/lyxtext.h:
3283         * src/output_docbook.C:
3284         * src/output_latex.C:
3285         * src/paragraph.C:
3286         * src/paragraph.h:
3287         * src/sgml.C:
3288         * src/sgml.h:
3289         * src/text2.C: Introducing a number of tags parametrizing various
3290         XML formats that we may want to support
3291
3292 2003-11-25  André Pönitz  <poenitz@gmx.net>
3293
3294         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3295
3296         * lyxtext.h (leftMargin/rightMargin): simplify interface
3297
3298         * rowpainter.C:
3299         * text.C:
3300         * text2.C:
3301         * text3.C: adjust
3302
3303 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3304
3305         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3306         master file to any child files. Fixes bug 546.
3307
3308 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3311
3312 2003-11-24  André Pönitz  <poenitz@gmx.net>
3313
3314         * rowpainter.C: simplification
3315
3316         * text2.C (updateCounters): remove call to redoParagraph on
3317         changed labels as this is far too expensive.
3318
3319 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * converter.C (convert): fix a crash: this function gets
3322         called with buffer == 0 from importer code.
3323
3324 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3325
3326         * text3.C (cursorPrevious): make sure that we do not compare
3327         iterators form different containers.
3328         (cursorNext): ditto
3329
3330         * rowpainter.C (paintSelection): make sure that we do not compare
3331         iterators from different containers.
3332
3333         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3334         iterators from different ParagraphList containers.
3335         [NEXT] ditto
3336
3337         * text2.C (LyXText): change order of initialization slightly
3338         (operator=): new function. copy all variables except cache_par_
3339         (moveUp): make sure that we do not compare iterators from
3340         different ParagraphList constainers.
3341         (moveDown): ditto
3342
3343         * text.C (firstPar): new function
3344         (lastPar): new function
3345         (endPar): new function
3346
3347         * lyxtext.h: move things around and group public functions, public
3348         variables, private functions, private variables
3349
3350 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3351
3352         * factory.C: change call to InsetERT constructor to avoid
3353         additional invocation of method status
3354         * text2.C (toggleInset): remove redundant update() call
3355         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3356         instead of a Bufferview pointer
3357
3358 2003-11-21  André Pönitz  <poenitz@gmx.net>
3359
3360         * rowpainter.C: simplification
3361
3362 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * text3.C (dispatch): make possible to extend a word/row selection
3365         with the mouse
3366
3367 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * lyxtext.h: x0_,y0_ -> xo_,yo_
3370         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3371         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3372         * rowpainter.C (paintRows): paint full paragraphs
3373
3374 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3375
3376         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3377         screen coordinates)
3378
3379 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * lyxtext.h: add x0_, y0_
3382         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3383         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3384
3385 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * text2.C (setCursorIntern): move the x_target update here *
3388         * text3.C: change some bv() to true/false in calls to
3389         cursorUp/Down/Right/Left
3390         * cursor.C: use helper function.
3391
3392 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3393
3394         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3395         * paragraph_funcs.[Ch]: correct comment
3396         * rowpainter.C: do not paint selections away from bv->cursor()
3397         Fix a long standing selection painting bug.
3398         * text3.C: generalize mouse-selection code to LyXTexts other that
3399         top one
3400         * textcursor.C: do not use y coords if we can use par offsets
3401
3402 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3405         cursor position after e.g. inset insert)
3406
3407 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * lyxfind.C (replace): adjust to locking removal + some
3410         code simplification
3411
3412 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3413
3414         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3415         of the path
3416
3417 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3418
3419         * lyxlayout.[Ch]:
3420         * output_docbook.C: XML sanitation: new layout
3421         parameters InnerTag and CommandDepth
3422
3423 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3424
3425         * BufferView_pimpl.C:
3426         * factory.C:
3427         * text3.C: Fix the insertion and modification of button-style
3428         insets
3429
3430 2003-11-13  André Pönitz  <poenitz@gmx.net>
3431
3432         * InsetList.[Ch]: remove deleteLyXText
3433
3434         * paragraph.[Ch]: cache beginOfBody position
3435
3436         * Bidi.C:
3437         * text.C:
3438         * text2.C:
3439         * text3.C: remove superfluous update() calls
3440
3441         * vspace.C: cleanup
3442
3443 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3446         * BufferView.C (fitLockedInsetCursor): remove
3447         * cursor.[Ch] (getDim): add
3448         * text.C (getRowNearY): add faster version
3449         * text3.C: remove some update calls
3450
3451 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3452
3453         * LaTeXFeatures.C:
3454         * LyXAction.C:
3455         * MenuBackend.C:
3456         * MenuBackend.h:
3457         * dispatchresult.h:
3458         * factory.C:
3459         * lfuns.h:
3460         * lyxfunc.C:
3461         * lyxtextclass.C:
3462         * lyxtextclass.h:
3463         * text3.C: The Character Style /XML short element patch.
3464
3465 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3466
3467         * text3.C:
3468         * factory.C: Small step to solving 'unable to insert some insets'
3469         problem
3470
3471 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * cursor.[Ch] (updatePos): new function for updating the y
3474         position of the tip inset
3475         * bufferview_funcs.C (put_selection_at):
3476         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3477
3478 2003-11-11  André Pönitz  <poenitz@gmx.net>
3479
3480         * text.C: remove big comment on invalid Paragraph pointers as it is
3481         not valid anymore
3482
3483 2003-11-11  André Pönitz  <poenitz@gmx.net>
3484
3485         * text_funcs.[Ch]: merge with ...
3486
3487         * text.C: ... this
3488
3489         * lyxtext.h:
3490         * text2.C:
3491         * text3.C: adjust
3492
3493         * Makefile.am: remove text_funcs.[Ch]
3494
3495 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * cursor.C (getPos): return absolute cached y coord
3498
3499         * BufferView_pimpl.C (fitCursor): new simplistic code
3500         (workAreaDispatch): add a fitCursor call
3501
3502 2003-11-10  André Pönitz  <poenitz@gmx.net>
3503
3504         * BufferView.[Ch]:
3505         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3506
3507 2003-11-10  André Pönitz  <poenitz@gmx.net>
3508
3509         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3510         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3511         indicate that the cursor needs to leave an inset
3512
3513         * lyxtext.h: remove inset locking
3514
3515         * cursor.[Ch]: re-implement functionality provided by inset locking
3516
3517         * BufferView.[Ch]:
3518         * BufferView_pimpl.[Ch]:
3519         * LyXAction.C:
3520         * bufferview_funcs.[Ch]:
3521         * factory.C:
3522         * funcrequest.[Ch]:
3523         * iterators.C:
3524         * lyx_cb.C:
3525         * lyxfind.C:
3526         * lyxfunc.C:
3527         * text.C:
3528         * text2.C:
3529         * text3.C:
3530         * undo.C: adjust
3531
3532 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * PosIterator.[Ch]: replace the stack with a vector, add inset
3535         accesor
3536         * iterators.[C]: adjust
3537
3538 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3541         replaced
3542         * paragraph_funcs.C (readParToken): put the correct id in the
3543         error item, not the id of the top paragraph
3544
3545 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3548         * bufferview_funcs.C (put_selection_at): use the above
3549
3550 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3553
3554 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3555
3556         * output_linuxdoc.h:
3557         * output_plaintext.h:
3558         * output.h:
3559         * output_docbook.h: add #include statements
3560
3561 2003-11-05  José Matos  <jamatos@lyx.org>
3562
3563         * output_docbook.[Ch]:
3564         * output_latex.[Ch]:
3565         * output_linuxdoc.[Ch]:
3566         * output_plaintext.[Ch]: New files for output formats.
3567         * output.[Ch]: New file for helper functions.
3568
3569         * buffer.[Ch]:
3570         * paragraph_funcs.[Ch]: output functions moved to new files.
3571
3572         * outputparams.h: rename of latexrunparams.h
3573
3574         * LaTeX.[Ch]:
3575         * buffer.[Ch]:
3576         * bufferlist.[Ch]:
3577         * converter.[Ch]:
3578         * exporter.C:
3579         * paragraph.[Ch]:
3580         * paragraph_funcs.[Ch]:
3581         * paragraph_pimpl.[Ch]:
3582         * tabular.[Ch]: rename ascii to plaintext
3583         and LatexRunParams to OutputParams.
3584
3585 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * iterators.[Ch] (text): require bv argument
3588         * undo.C (recordUndo):
3589         * lyxfunc.C (dispatch):
3590         * bufferview_funcs.C (put_selection_at): adjust
3591
3592 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3593
3594         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3595
3596 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3597
3598         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3599         nestings
3600
3601 2003-11-04  André Pönitz  <poenitz@gmx.net>
3602
3603         * cursor.[Ch]: restructure
3604
3605         * BufferView.[Ch]:
3606         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3607
3608         * iterators.[Ch] (asCursor): remove
3609
3610         * lfuns.h: remove LFUN_INSET_EDIT
3611
3612         * lyxfunc.C:
3613         * tabular.C:
3614         * text.C:
3615         * text2.C:
3616         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3617
3618 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * lyxfind.[Ch]: complete overhaul
3621         * BufferView_pimpl.C:
3622         * lyxfunc.C: adjust
3623         * paragraph.[Ch] (insert): add
3624
3625 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3626
3627         * BufferView.[Ch]:
3628         * lyxtext.h:
3629         * text.C: remove dead spellcheck code
3630
3631 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * dispatchresult.h: add a val setter
3634
3635         * cursor.C (dispatch): use a tempvar for data_[i]
3636
3637 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * PosIterator.[Ch]: compile fix
3640
3641 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3642
3643         * text.C (cursorPar): deactivate the cursor cache
3644
3645 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3648
3649 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * text3.C (dispatch): adjust for new DisptchResult semantics.
3652
3653         * lyxfunc.C (dispatch): handle update when return from
3654         Cursor::dispatch, adjust for new DispatchResult semantics.
3655
3656         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3657         DispatchResult(true) mean to not update. Add class functions for
3658         setting dispatched and update, as well as reading.
3659
3660         * cursor.C (dispatch): don't handle update here
3661
3662 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3665         * trans_mgr.C: adjust
3666
3667         * paragraph_funcs.C (readParToken): exception safety
3668
3669         * lyxvc.h: store the vcs pointer in a scoped_ptr
3670         * lyxvc.C: adjust
3671
3672         * lyxsocket.C (serverCallback): exception safety
3673
3674         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3675
3676         * ispell.C (clone): make it return a auto_ptr
3677
3678         * factory.C (createInset): exception safety
3679         (readInset): exception safety
3680
3681         * bufferlist.C (newBuffer): exception safety
3682
3683         * Thesaurus.C (Thesaurus): use initialization for aik_
3684
3685         * MenuBackend.C (expandToc): exception safety.
3686
3687 2003-11-03  André Pönitz  <poenitz@gmx.net>
3688
3689         * buffer.C:
3690         * buffer.h:
3691         * bufferview_funcs.C: remove getInsetFromId()
3692
3693         * lyxcursor.[Ch]:
3694         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3695
3696         * lyxfunc.C:
3697         * text2.C:
3698         * text3.C: adjust
3699
3700 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * PosIterator.C (distance, advance): new
3703         * bufferview_funcs.[Ch] (put_selection_at): new
3704         * iterators.[Ch] (lockPath): new
3705
3706 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * iterators.[Ch] (asPosIterator): added
3709         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3710         * PosIterator.[Ch]: added
3711
3712 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * text3.C:
3715         * lyxfunc.C:
3716         * cursor.C (dispatch):
3717         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3718
3719         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3720         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3721         contructor, add a class function dispatched. Remove operator>=
3722
3723 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * debug.C: only use the default constructor for debugstream
3726         (lyxerr) here.
3727
3728         * main.C (main): include debug.h and setup the lyxerr streambuf
3729         here.
3730
3731 2003-10-31  José Matos  <jamatos@lyx.org>
3732
3733         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3734
3735         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3736         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3737         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3738         * paragraph_pimpl.C (simpleTeXSpecialC):
3739         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3740         add LatexRunParams argument.
3741
3742         * exporter.C (Export): change call accordingly.
3743
3744         * latexrunparams.h: add new member to take care of the other backends.
3745 2003-10-30  José Matos  <jamatos@lyx.org>
3746
3747         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3748         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3749         factorise code for paragraph output.
3750         * buffer.[Ch]:
3751         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3752         move functions.
3753
3754 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3755
3756         * text3.C (dispatch):
3757         * lyxfunc.C (dispatch):
3758         * cursor.C (dispatch):
3759         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3760
3761         * dispatchresult.h: make the dispatch_result_t ctor explicit
3762
3763 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3764
3765         * sgml.[Ch]:
3766         * buffer.C: small refactoring of docbook stuff
3767
3768 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3771         meaning.
3772
3773 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3776         operator dispatch_result_t, and operators for == != and >=
3777
3778         * cursor.C (dispatch): adjust for operator dispatch_result_t
3779         removal. comment out call to update
3780
3781         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3782
3783 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * text3.C:
3786         * text2.C:
3787         * text.C:
3788         * lyxtext.h:
3789         * lyxfunc.C:
3790         * cursor.C:
3791         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3792         (dispatch):
3793
3794         * dispatchresult.h: new file, DispatchResult broken out of
3795         insets/insetbase.h
3796
3797         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3798
3799 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3800
3801         * text.C (rowBreakPoint): put a hack inside #if 0
3802
3803 2003-10-28  André Pönitz  <poenitz@gmx.net>
3804
3805         * lyxtext.h:
3806         * metricsinfo.C:
3807         * paragraph_funcs.C:
3808         * rowpainter.C:
3809         * text.C:
3810         * text2.C: general cleanup (lots of small stuff)
3811
3812 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3813
3814         * text2.C (cursorEnd): simple fix to the "end key goes to one
3815         before the end on last row" bug
3816
3817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text.C (backspace): fix the "zombie characters"
3820
3821 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3824
3825 2003-10-27  André Pönitz  <poenitz@gmx.net>
3826
3827         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3828
3829         * factory.C: handle new InsetPagebreak, InsetLine
3830
3831         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3832         and move handling into new InsetPagebreak, InsetLine
3833
3834         * BufferView_pimpl.C:
3835         * LyXAction.C:
3836         * ParagraphParameters.C:
3837         * ParameterStruct.h:
3838         * lyxfunc.C:
3839         * lyxtext.h:
3840         * paragraph.C:
3841         * paragraph.h:
3842         * paragraph_funcs.C:
3843         * paragraph_pimpl.C:
3844         * rowpainter.C:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: adjust
3848
3849 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * text.C:
3852         * lyxrow_funcs.[Ch]:
3853         * Bidi.C:
3854         * paragraph.C:
3855         * lyxtext.h:
3856         * rowpainter.C:
3857         * text2.C:
3858         * text3.C: remove lastPos uses in favour of Row::endpos
3859
3860 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3861
3862         * undo.C (performUndoOrRedo): fix two crashes by setting a
3863         cursor by hand and reordering some calls. Use bv->lockInset instead
3864         of inset->edit because the latter loses cursor information
3865
3866 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3867
3868         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3869         by Martin
3870         (rowBreakPoint): fix width. change point to point + 1.
3871         Add a missing check.
3872
3873 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * MenuBackend.C:
3876         * lyxfunc.C: fix (at least partly) the problems
3877         with the Nav menu and headers inside branch insets
3878         reported by Kayvan
3879
3880 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * paragraph.C (getChar): add strong asserts
3883
3884         * lyxrow_funcs.C (lastPos): remove hideous hack
3885
3886         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3887         (fill): adjust to that (avoid an infinite loop)
3888
3889 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3892
3893 2003-10-23  André Pönitz  <poenitz@gmx.net>
3894
3895         * RowList_fwd.h: change list<> to vector<> to gain speed
3896         after suggestion from Alfredo
3897
3898 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * lyxtext.h: move the bidi stuff from here...
3901         * text.C: and here
3902         * text2.C: and here
3903         * Bidi.[Ch]: ... to here
3904
3905 2003-10-23  André Pönitz  <poenitz@gmx.net>
3906
3907         * lyxtext.h:
3908         * text.C (isLastRow, isFirstRow): new functions
3909
3910         * paragraph.h: new width cache member
3911
3912         * rowpainter.C: replace RowList::iterator with Row & where possible
3913
3914         * lyxfunc.C: replace several view()->text with a single call
3915
3916         * toc.C: fix 'unused' warning
3917
3918 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3921         when woring with stream::pos_type
3922         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3923
3924 2003-10-22  André Pönitz  <poenitz@gmx.net>
3925
3926         * lyxtext.h:
3927         * text.C: use Row & instead of RowList::iterator
3928
3929         * lyxrow.h: rename end() to endpos()
3930
3931         * rowpainter.C:
3932         * text.C:
3933         * text2.C: adjust
3934
3935 2003-10-22  Angus Leeming  <leeming@lyx.org>
3936
3937         * buffer.[Ch] (fully_loaded): new member function, returning true
3938         only when the file has been loaded fully.
3939         Used to prevent the premature generation of previews and by the
3940         citation inset to prevent computation of the natbib-style label.
3941
3942         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3943         templates are all set up.
3944
3945         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3946
3947 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3948
3949         * text.C: fixed an "oops" in the "is a bit silly"
3950         bug fix
3951
3952 2003-10-21  André Pönitz  <poenitz@gmx.net>
3953
3954         * FuncStatus.[Ch]: small stuff, whitespace
3955
3956         * lyxfont.[Ch]: operator<<() for debug reasons
3957
3958         * lyxfunc.C:
3959         * lyxrow_funcs.C:
3960         * lyxtext.h: whitespace, spelling
3961
3962         * paragraph.C: naming of variables
3963
3964         * text.C:
3965         * text2.C: small stuff
3966
3967
3968 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * text.C: (1) finish off the inset display() work;
3971         (2) fix the "is a bit silly" bug (accessing char
3972         past end of par).
3973
3974 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3975
3976         * text.C: re-introduce display() for insets, fixing the
3977         various bugs (stretch of line above, math inset
3978         positioning, ...)
3979
3980 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3981
3982         * text.C (rightMargin): remove spurious semicolon
3983
3984         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3985         1415)
3986
3987 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3988
3989         * text3.C: fix one crash due to wrong cursor def
3990
3991 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * vc-backend.C (scanMaster): make the regex static
3994
3995         * LaTeX.C (scanAuxFile): make the regexs static
3996
3997         * text3.C (doInsertInset, dispatch, dispatch):
3998         * text2.C (cursorUp, cursorDown):
3999         * text.C (selectNextWordToSpellcheck):
4000         * BufferView_pimpl.C (dispatch):
4001         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4002
4003 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4004
4005         * lyxsocket.C: include <cerrno>
4006
4007 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * lyxfunc.C (dispatch): remove textcache stuff
4010
4011         * bufferlist.C (release): remove textcache stuff
4012         (closeAll): ditto
4013
4014         * TextCache.C: delete file
4015         * TextCache.h: delete file
4016
4017         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4018
4019         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4020         delete of the bv_->text.
4021         (resizeCurrentBuffer): remove texcache stuff
4022         (workAreaResize): ditto
4023
4024 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4027         action.
4028
4029 2003-10-16  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxrow.[Ch]:
4032         * paragraph.h:
4033         * rowpainter.C:
4034         * text.C:
4035         * text2.C:
4036         * text3.C: speed up by storing y positions per paragraph plus per-row
4037         offset instead of having a 'full' y position in the row.
4038
4039 2003-10-15  André Pönitz  <poenitz@gmx.net>
4040
4041         * iterators.[Ch]:
4042         * iterators.[Ch]:
4043         * undo.[Ch]: make undo aware of inner insets
4044
4045 2003-10-14  Angus Leeming  <leeming@lyx.org>
4046
4047         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4048         static member functions LyX::ref() and LyX::cref.
4049         (lastfiles): new accessor functions for the new lastfiles_ member var.
4050         (addLyXView, views_): add a new LyXView to the list of views_.
4051         (updateInset): loop over all LyXViews to call their own updateInset
4052         member function, returning a pointer to the Buffer owning the inset.
4053
4054         * BufferView_pimpl.C (loadLyXFile):
4055         * MenuBackend.C (expandLastfiles):
4056         * bufferlist.C (MenuWrite, QuitLyX):
4057         lastfiles is no longer a global variable.
4058         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4059
4060         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4061         static function. Access through LyX::cref().emergencyCleanup().
4062
4063 2003-10-14  André Pönitz  <poenitz@gmx.net>
4064
4065         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4066
4067         * undo.[Ch]: restoring part of 'undo in insets'
4068
4069         * Makefile.am:
4070         * undo_funcs.[Ch]: merge with undo.[Ch]
4071
4072         * tabular.C: small cleansing stuff
4073
4074 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4075
4076         * paragraph_funcs.C (readParToken): report unknown insets as error
4077         boxes. Use the outer paragraph as location (also for unknown
4078         tokens).
4079
4080         * factory.C (readInset): do not abort on reading an unknown inset.
4081         Eat it and return 0.
4082
4083 2003-10-13  Angus Leeming  <leeming@lyx.org>
4084
4085         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4086
4087         * lyxrc.C: displayTranslator is now a function,
4088         declared in GraphicsTypes.h.
4089
4090 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4091
4092         * format.C: new placeholder $$a to pass the socket address.
4093
4094         * bufferlist.[Ch]: new function getBufferFromTmp.
4095
4096         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4097           files in the temporary dir.
4098
4099 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4100
4101         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4102
4103         * Makefile.am: add lyxsocket.[Ch].
4104
4105         * lyx_main.C (error_handler): handle SIGPIPE.
4106
4107 2003-10-13  André Pönitz  <poenitz@gmx.net>
4108
4109         * BufferView_pimpl.C:
4110         * lyxtext.h:
4111         * text.C:
4112         * text2.C:
4113         * text3.C:
4114         * undo_funcs.[Ch]: use paroffset_type instead of
4115           ParagraphList::iterators to prevent multiple conversion
4116           (and get a more robust interface)
4117
4118 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4119
4120         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4121         * lyxtext.h: ditto
4122         * text3.C (dispatch): ditto
4123
4124 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4127         move the onlyfile, use onlyfile instead of foundfile in a couple
4128         of places.
4129
4130         * DepTable.C (update): flush the error stream a bit more
4131
4132 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * lyxserver.C (callback): adjust
4135
4136         * lyxfunc.C (getStatus): add a missing brace in commented code
4137         (ensureBufferClean): reindent
4138         (dispatch): delete version taking a string
4139
4140 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * LaTeX.C (deplog): move found file handlig from here...
4143         (handleFoundFile): .. to new function here.
4144         (deplog): make sure to discover several files mentioned on the
4145         same log line.
4146
4147 2003-10-10  André Pönitz  <poenitz@gmx.net>
4148
4149         * lyxfunc.C:
4150         * lyxtext.h:
4151         * tabular.C:
4152         * text.C:
4153         * text2.C:
4154         * text3.C: fix some of the tabular crashes
4155
4156 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4157
4158         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4159
4160         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4161
4162 2003-10-09  André Pönitz  <poenitz@gmx.net>
4163
4164         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4165
4166         * BufferView.C:
4167         * BufferView_pimpl.C:
4168         * bufferview_funcs.C:
4169         * lyx_cb.C:
4170         * lyxcursor.C:
4171         * lyxfind.C:
4172         * lyxfunc.C:
4173         * lyxtext.h:
4174         * text.C:
4175         * text2.C:
4176         * text3.C:
4177         * text_funcs.[Ch]:
4178         * textcursor.[Ch]:
4179         * undo_funcs.C: adjust
4180
4181 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * text2.C (incrementItemDepth): new function, use a backtracking
4184         algorithm to discover the correct item depth.
4185         (resetEnumCounterIfNeeded): new function, use a backtracking
4186         algorithm to discover if counter reset is needed.
4187         (setCounter): use them. Simplify a bit. Add different labels for
4188         different item depths for itemize.
4189
4190         * paragraph.C (Paragraph): remove initialization of enumdepth
4191         (operator=): ditto
4192
4193         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4194         enumerate and itemize. Change the type of itemdepth to signed char.
4195
4196 2003-10-08  André Pönitz  <poenitz@gmx.net>
4197
4198         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4199           thing assignable.
4200         * text.C:
4201         * text2.C: adjust
4202
4203         * tabular.[Ch]: fix crash after 'row-insert'
4204
4205 2003-10-08  Angus Leeming  <leeming@lyx.org>
4206
4207         Fix doxygen warnings.
4208
4209         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4210         Remove CutAndPaste:: prefix from header file declaration.
4211
4212         * LColor.h (fill): remove LColor:: prefix from declaration.
4213
4214         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4215         use lyx::depth_type rather than Paragraph::depth_type so that
4216         header file and .C file match.
4217
4218         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4219
4220         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4221         * aspell.C: \file aspell_local.C -> \file aspell.C
4222         * gettext.C: \file gettext.C -> \file src/gettext.C
4223         * gettext.h: \file gettext.h -> \file src/gettext.h
4224         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4225         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4226         * text.C: \file text.C -> \file src/text.C
4227
4228         * toc.C: move comment so that doxygen is not confused.
4229
4230 2003-10-07  Angus Leeming  <leeming@lyx.org>
4231
4232         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4233
4234 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4235
4236         * aspell.C:
4237         * aspell_local.h: add forgotten std::string's.
4238
4239 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4240
4241         * LaTeXFeatures.C:
4242         * LyXAction.C:
4243         * factory.C:
4244         * lfuns.h:
4245         * lyxfunc.C:
4246         * text3.C: The Box patch. Fancybox support, minipage, parbox
4247
4248 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4249
4250         * CutAndPaste.h:
4251         * DepTable.h:
4252         * FloatList.h:
4253         * LaTeXFeatures.h:
4254         * ParagraphParameters.h:
4255         * TextCache.h:
4256         * Thesaurus.h:
4257         * bufferlist.h:
4258         * exporter.h:
4259         * importer.h:
4260         * lastfiles.h:
4261         * lyxfind.h:
4262         * lyxfont.h:
4263         * lyxlex.h:
4264         * lyxtextclasslist.h:
4265         * messages.h:
4266         * paragraph.h:
4267         * paragraph_pimpl.C:
4268         * textcursor.h: add <string> and other small fixes to make Lars'
4269         std::string patch compile with STLport.
4270
4271 2003-10-06  Angus Leeming  <leeming@lyx.org>
4272
4273         * LColor.h: Add missing #include <string>.
4274
4275 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * All most all file in all subdirs: Make <string> be the prefered
4278         way of getting to std::string, add using declarations.
4279
4280 2003-10-06  André Pönitz  <poenitz@gmx.net>
4281
4282         * metricsinfo.C: initialize LyXFont before changing attribute.
4283         (fixes the 'math in \emph is upright' bug)
4284
4285 2003-10-06  André Pönitz  <poenitz@gmx.net>
4286
4287         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4288
4289 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * graph.C:
4292         * paragraph_pimpl.C: Small fixes to build using STLport
4293
4294 2003-10-02  André Pönitz  <poenitz@gmx.net>
4295
4296         * lyxfunc.C:
4297         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4298
4299 2003-10-01  André Pönitz  <poenitz@gmx.net>
4300
4301         * factory.C: assert early
4302
4303 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4304
4305         * lyx_main.C: remove the global debug object
4306
4307         * debug.h: adjust for new debugstream
4308
4309         * debug.C: adjust for new debugstream and keep the global debug
4310         object here.
4311
4312 2003-09-22  Angus Leeming  <leeming@lyx.org>
4313
4314         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4315         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4316         an incomplete class LyXFont.
4317
4318 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4319
4320         * factory.C: bug fix in branches
4321
4322 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * lyxfunc.C (processKeySym): adjust
4325         (dispatch): adjust
4326         (dispatch): change arg name from ev to func, adjust
4327         (sendDispatchMessage): ditto
4328
4329         * lyx_main.C (defaultKeyBindings): adjust keybindings
4330         (deadKeyBindings): ditto
4331
4332         * kbsequence.C (addkey): return a FuncRequest
4333
4334         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4335
4336         * kbmap.C (bind): take a FuncRequest as arg, adjust
4337         (read): adjust
4338         (lookup): adjust
4339         (defkey): change to take a FuncRequest as arg, adjust
4340         (findbinding): take a FuncRequest as arg, adjust.
4341
4342         * funcrequest.h (operator=): added
4343
4344         * funcrequest.C (FuncRequest): default kb_action changed from
4345         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4346
4347         * buffer.C (dispatch): simplify
4348         (dispatch): adjust to take a FuncRequest as arg, adjust
4349
4350         * boost.C (assertion_failed): change assertion message slightly
4351
4352         * ToolbarBackend.C (read): simplify
4353
4354         * MenuBackend.C (binding): adjust call to findbinding, add a
4355         message if no binding is found.
4356         (read): simplify
4357         (expandToc): correct by adding a empty FuncRequest
4358
4359         * LyXAction.C: include <boost/assert.hpp>
4360         (isPseudoAction): delete function
4361         (LookupFunc): change name to...
4362         (lookupFunc): this. change return type to FuncRequest.
4363         (getActionName): take kb_action as arg, simplify
4364         (funcHasFlag): add an assert, simplify.
4365
4366 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * toc.C (action): return a FuncRequest, simplify
4369
4370         * lyxfunc.C (processKeySym): adjust
4371         (getStatus): delete version that takes an int.
4372         (getStatus): adjust
4373         (dispatch): delete version that takes action as int
4374         (dispatch): adjust
4375         (sendDispatchMessage): simplify and adjust
4376
4377         * funcrequest.C (getArg): take unsigned int as arg
4378
4379         * ToolbarBackend.C (read): adjust
4380         (add): delete version that takes func as a string.
4381         (getIton): take a FuncRequest as arg
4382
4383         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4384         action.
4385
4386         * MenuBackend.C (MenuItem): add a new construct that only takes a
4387         Kind, simplify the constructor use for submenus.
4388         (add): adjust
4389         (expandLastfiles): adjust
4390         (expandDocuments): adjust
4391         (expandFormats): adjust
4392         (expandFloatListInsert): adjust
4393         (expandFloatInsert): adjust
4394         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4395
4396         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4397         Remove class variables lyx_pseudo_map and lyx_arg_map
4398
4399         * LyXAction.C (searchActionArg): delete function
4400         (getPseudoAction): delete function
4401         (retrieveActionArg): delete function
4402         (LookupFunc): make it return kb_action, simplify.
4403         (getActionName): simplify
4404
4405         * factory.C (createInset): fix new bug
4406
4407 2003-09-19  Angus Leeming  <leeming@lyx.org>
4408
4409         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4410         masterFilename_ parameter in the include inset.
4411
4412         * factory.C (createInset): changes due to the changes to InsetInclude.
4413
4414 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4415
4416         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4417
4418 2003-09-18  Angus Leeming  <leeming@lyx.org>
4419
4420         * buffer.C:
4421         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4422         Inset::fillWithBibKeys.
4423         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4424
4425 2003-09-18  Angus Leeming  <leeming@lyx.org>
4426
4427         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4428         variables.
4429         (ctor): pass and store a 'Buffer const &'
4430         (buffer): new member function.
4431
4432         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4433         '*this' to the LaTeXFeatures ctor.
4434
4435 2003-09-18  Angus Leeming  <leeming@lyx.org>
4436
4437         * LColor.h:
4438         * lyxfont.C:
4439         * lyxfont.h:
4440         * lyxtext.h:
4441         * text.C: rename EnumLColor as LColor_color.
4442
4443 2003-09-18  Angus Leeming  <leeming@lyx.org>
4444
4445         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4446         remove #include "insets/insetbase.h" from cursor.h.
4447
4448 2003-09-18  Angus Leeming  <leeming@lyx.org>
4449
4450         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4451         InsetOld_code to remove #include "inset.h".
4452
4453         * iterators.C: add #include "insets/inset.h"
4454
4455 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4456
4457         * BufferView.C: remove more locking stuff that apparently doesn't
4458         do anything sensible.
4459
4460 2003-09-16  André Pönitz  <poenitz@gmx.net>
4461
4462         * paragraph.[Ch]:
4463         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4464           performance boost.
4465
4466 2003-09-16  Angus Leeming  <leeming@lyx.org>
4467
4468         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4469
4470         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4471         arg/return type.
4472
4473         * paragraph.h: remove #include "lyxfont.h". Forward declare
4474         LyXFont_size.
4475
4476 2003-09-16  Angus Leeming  <leeming@lyx.org>
4477
4478         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4479         of support/textutils.h.
4480         (isWord): move the contents of support/textutils.h's IsWordChar here.
4481
4482         * buffer.C:
4483         * lyxfind.C:
4484         * rowpainter.C:
4485         * text.C:
4486         * text2.C: add #include "paragraph.h".
4487
4488         * rowpainter.C:
4489         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4490
4491 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * main.C:
4494         * lyx_main.C:
4495         * lyx_cb.C:
4496         * buffer.C:
4497         * LaTeX.C: use namespace alias for lyx::support::os
4498
4499 2003-09-16  Angus Leeming  <leeming@lyx.org>
4500
4501         * bufferparams.C:
4502         * bufferview_funcs.C:
4503         * factory.C:
4504         * lyxfunc.C:
4505         * paragraph_pimpl.C:
4506         * rowpainter.C:
4507         * text.C: add #include "LColor.h".
4508
4509 2003-09-16  Angus Leeming  <leeming@lyx.org>
4510
4511         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4512         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4513         return LyXFont &.
4514         Store the FontBits::color variable as an int rather than as an
4515         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4516         file.
4517
4518         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4519         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4520         string calls together.
4521
4522         * lyxrc.C: add #include "LColor.h".
4523
4524 2003-09-15  Angus Leeming  <leeming@lyx.org>
4525
4526         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4527         a cow_ptr.
4528
4529 2003-09-15  Angus Leeming  <leeming@lyx.org>
4530
4531         * LColor.h: add an EnumLColor wrapper for LColor::color.
4532
4533         * lyxfont.[Ch] (color, setColor, realColor):
4534         * lyxtext.h, text.C (backgroundColor):
4535         pass EnumLColor args to/from the functions, rather than LColor::color
4536         ones.
4537
4538         * lyxfont.h:
4539         * lyxtext.h: forward declare EnumLColor.
4540
4541         * lyx_main.C: add #include "LColor.h".
4542
4543 2003-09-15  Angus Leeming  <leeming@lyx.org>
4544
4545         * .cvsignore: add lyx-gtk.
4546
4547 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * Chktex.C
4550         * LaTeX.C
4551         * LaTeXFeatures.C
4552         * ParagraphParameters.C
4553         * Spacing.C
4554         * buffer.C
4555         * bufferparams.C
4556         * bufferview_funcs.C
4557         * chset.C
4558         * counters.C
4559         * funcrequest.C
4560         * lyxfont.C
4561         * lyxgluelength.C
4562         * lyxlength.C
4563         * paragraph.C
4564         * paragraph_funcs.C
4565         * text3.C
4566         * vc-backend.C: remove usage of STRCONV
4567
4568 2003-09-15  Angus Leeming  <leeming@lyx.org>
4569
4570         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4571         explicitly define the color passed to the painter.
4572
4573 2003-09-15  Angus Leeming  <leeming@lyx.org>
4574
4575         * bufferparams.C (BufferParams): reorder member initializers to avoid
4576         compiler warning.
4577
4578 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4579
4580         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4581         * text.C (updateRowPositions): remove an unusual nop
4582
4583 2003-09-12  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView_pimpl.C:
4586         * Bullet.C:
4587         * layout.h:
4588         * lyxfunc.C:
4589         * lyxlayout.[Ch]:
4590         * lyxtextclass.C:
4591         * rowpainter.C:
4592         * text.C:
4593         * text2.C:
4594         * Counters.[Ch]: finish the 'automatic counters' job
4595
4596 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4597
4598         * aspell.C: include <boost/assert.cpp> (compile fix)
4599
4600 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4601
4602         * boost.C (assertion_failed): use lyx::support::abort instead of
4603         assert.
4604
4605 2003-09-10  Angus Leeming  <leeming@lyx.org>
4606
4607         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4608         with their _fwd progeny.
4609
4610 2003-09-09  Angus Leeming  <leeming@lyx.org>
4611
4612         134 files throughtout the source tree: replace 'using namespace abc;'
4613         directives with the appropriate 'using abc::xyz;' declarations.
4614
4615 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4616
4617         * boost.C (emergencyCleanup): moved here from LAssert.c
4618         (assertion_failed): new function, called by BOOST_ASSERT
4619
4620         * several files: change Assert to BOOST_ASSERT
4621
4622 2003-09-09  Angus Leeming  <leeming@lyx.org>
4623
4624         * buffer.[Ch]: Add an Impl class and move Buffer's member
4625         variables into it. As a result move several header files out of
4626         buffer.h.
4627
4628         Add header files to lots of .C files all over the tree as a result.
4629
4630 2003-09-09  Angus Leeming  <leeming@lyx.org>
4631
4632         * buffer.[Ch]: make Buffer's member variables private. Add
4633         accessor functions.
4634
4635         Lots of changes all over the tree as a result.
4636
4637 2003-09-08  Angus Leeming  <leeming@lyx.org>
4638
4639         * graph.C: #include <config.h>.
4640
4641 2003-09-08  Angus Leeming  <leeming@lyx.org>
4642
4643         * BranchList.C:
4644         * BufferView.C:
4645         * BufferView_pimpl.C:
4646         * CutAndPaste.C:
4647         * DepTable.C:
4648         * LaTeX.C:
4649         * LaTeXFeatures.C:
4650         * LyXAction.C:
4651         * MenuBackend.C:
4652         * TextCache.C:
4653         * aspell.C:
4654         * buffer.C:
4655         * bufferlist.C:
4656         * changes.C:
4657         * chset.C:
4658         * converter.C:
4659         * counters.C:
4660         * debug.C:
4661         * graph.C:
4662         * ispell.C:
4663         * lyx_cb.C:
4664         * lyxfind.C:
4665         * lyxfunc.C:
4666         * lyxlex_pimpl.C:
4667         * lyxrc.C:
4668         * lyxrow.C:
4669         * paragraph.C:
4670         * rowpainter.C:
4671         * texrow.C:
4672         * text.C:
4673         * text2.C:
4674         * toc.C: remove redundant using directives.
4675
4676 2003-09-07  Angus Leeming  <leeming@lyx.org>
4677
4678         * LaTeXFeatures.h: remove #include "support/types.h".
4679         * ToolbarBackend.h: remove #include <algorithm>.
4680         * changes.h: remove #include <ctime>.
4681         * debug.h: remove #include <iosfwd>.
4682         * graph.h: remove #include "support/std_string.h".
4683         * lyx_main.h: remove #include <csignal>.
4684         * lyxlex_pimpl.h: remove #include <fstream>.
4685         * sgml.h: remove #include <algorithm>, <utility>.
4686         * toc.h: remove #include "support/std_ostream.h".
4687         Add #include <iosfwd>.
4688
4689 2003-09-07  Angus Leeming  <leeming@lyx.org>
4690
4691         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4692
4693         * converter.h: forward declare LatexRunParams.
4694         * encoding.h: remove #include "lyxrc.h".
4695         * lyxtext.h: remove #include "LColor.h".
4696         * lyxtextclass.h: remove #include "support/types.h".
4697         * trans.h: remove #include "tex-accent.h".
4698         * trans_mgr.h: remove #include "tex-accent.h".
4699         * insets/inset.h: remove #include "support/types.h", <vector>.
4700         * insets/insetcollapsable.h: remove #include "LColor.h".
4701         * insets/insetinclude.h: remove #include "dimension.h".
4702         * insets/insetlatexaccent.h: remove #include "dimension.h".
4703         * insets/insetoptarg.h:: remove #include "insettext.h".
4704         * insets/insettext.h: remove #include "dimension.h",
4705         <boost/shared_ptr.hpp>
4706
4707         * insets/renderers.h: add #include "dimension.h".
4708         * insets/updatableinset.h: add #include "support/types.h".
4709
4710         * many .C files: Associated changes.
4711
4712 2003-09-06  Angus Leeming  <leeming@lyx.org>
4713
4714         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4715         one, inside testInvariant.
4716
4717         * PrinterParams.C: new file.
4718         * PrinterParams.[Ch]: move the function bodies out of line.
4719
4720 2003-09-06  Angus Leeming  <leeming@lyx.org>
4721
4722         * ParagraphParameters.h: forward declare ParameterStruct rather than
4723         including its header file.
4724         (depth): moved out-of-line.
4725
4726 2003-09-06  Angus Leeming  <leeming@lyx.org>
4727
4728         * BufferView_pimpl.h:
4729         * kbmap.h:
4730         * kbsequence.h:
4731         * lyxfunc.h: forward declare LyXKeySym rather than
4732         #include "frontends/LyXKeySym.h".
4733
4734         * BufferView_pimpl.C:
4735         * kbmap.C:
4736         * kbsequence.C:
4737         * lyxfunc.C: associated changes.
4738
4739 2003-09-06  Angus Leeming  <leeming@lyx.org>
4740
4741         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4742         As a result, can remove the #include "insets/inset.h" from BufferView.h
4743
4744 2003-09-06  Angus Leeming  <leeming@lyx.org>
4745
4746         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4747         As a result, can remove the #include "insets/inset.h" from BufferView.h
4748
4749 2003-09-06  Angus Leeming  <leeming@lyx.org>
4750
4751         * buffer_funcs.C:
4752         * buffer.h:
4753         * bufferlist.C:
4754         * BufferView.C:
4755         * bufferview_funcs.C:
4756         * BufferView_pimpl.C:
4757         * CutAndPaste.C:
4758         * lyx_cb.C:
4759         * lyxfunc.C:
4760         * paragraph.h:
4761         * ParagraphParameters.C:
4762         * tabular.C:
4763         * text3.C:
4764         * toc.C:
4765         * undo_funcs.C:
4766         * frontends/controllers/ControlDocument.C:
4767         * insets/insetcaption.C: rearrange the #includes into some sort of
4768         coherent order.
4769
4770         * buffer.h: remove #includes ErrorList.h, undo.h
4771
4772 2003-09-06  Angus Leeming  <leeming@lyx.org>
4773
4774         * support/types.h: add a 'depth_type' typedef, used to store the
4775         nesting depth of a paragraph.
4776
4777         * paragraph.h:
4778         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4779         defining explicitly.
4780
4781         * buffer.h:
4782         * paragraph_funcs.h:
4783         * ParagraphParameters.h:
4784         * sgml.h: use lyx::depth_type rather than Paragraph or
4785         ParameterStruct's depth_type.
4786
4787         * buffer.h
4788         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4789
4790         * BufferView.C:
4791         * BufferView_pimpl.C:
4792         * CutAndPaste.C:
4793         * ParagraphParameters.C:
4794         * buffer_funcs.C:
4795         * bufferlist.C:
4796         * bufferview_funcs.C:
4797         * lyx_cb.C:
4798         * lyxfunc.C:
4799         * tabular.C:
4800         * text3.C:
4801         * toc.C:
4802         * undo_funcs.C:
4803         * frontends/LyXView.C:
4804         * frontends/controllers/ControlDocument.C:
4805         * frontends/controllers/ControlErrorList.C:
4806         * insets/insetbibitem.C:
4807         * insets/insetbranch.C:
4808         * insets/insetcaption.C:
4809         * insets/insetcollapsable.C:
4810         * insets/insetenv.C:
4811         * insets/insetert.C:
4812         * insets/insetfloat.C:
4813         * insets/insetfoot.C:
4814         * insets/insetfootlike.C:
4815         * insets/insetnewline.C:
4816         * insets/insetquotes.C:
4817         * insets/insettabular.C:
4818         * insets/insettext.C:
4819         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4820
4821         * frontends/controllers/ControlChanges.C: #include "changes.h".
4822
4823 2003-09-06  Angus Leeming  <leeming@lyx.org>
4824
4825         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4826         than #including paragraph.h.
4827
4828         * ParagraphList.h:
4829         * RowList.h: deleted. Superfluous.
4830
4831         * CutAndPaste.h:
4832         * iterators.h:
4833         * lyxcursor.h:
4834         * lyxtext.h:
4835         * text_funcs.h:
4836         * undo.h:
4837         * undo_funcs.h:
4838         * insets/inset.h:
4839         * insets/insettext.h: use ParagraphList_fwd.h rather than
4840         ParagraphList.h.
4841
4842         * paragraph.h: don't forward declare ParagraphList.
4843
4844         * buffer.h:
4845         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4846         rather than ParagraphList.h. paragraph.h is still needed for the
4847         Paragraph::depth_type parameters.
4848
4849         * textcursor.h: enable it to compile stand-alone in light of the
4850         above changes.
4851
4852         * bufferview_funcs.C:
4853         * iterators.C:
4854         * lyxfunc.C:
4855         * lyxrow_funcs.C:
4856         * paragraph.C:
4857         * rowpainter.C:
4858         * text.C:
4859         * text2.C:
4860         * text3.C:
4861         * text_funcs.C:
4862         * textcursor.C:
4863         * undo.C:
4864         * frontends/controllers/ControlParagraph.C:
4865         * frontends/controllers/ControlTabular.C:
4866         * insets/insetmarginal.C:
4867         * insets/insetminipage.C:
4868         * insets/insetnote.C:
4869         * insets/insetoptarg.C: add header files needed to compile again.
4870
4871 2003-09-06  Angus Leeming  <leeming@lyx.org>
4872
4873         * RowList_fwd.h: new file, forward-declaring Row rather than
4874         #including lyxrow.h.
4875
4876         * lyxrow_funcs.h:
4877         * lyxtext.h:
4878         * paragraph.h:
4879         * insets/insettext.h: use it instead of RowList.h
4880
4881         * bufferview_funcs.C:
4882         * lyxfunc.C:
4883         * lyxrow_funcs.C:
4884         * paragraph.C:
4885         * rowpainter.C:
4886         * text.C:
4887         * text2.C:
4888         * text3.C: #include "RowList.h".
4889
4890 2003-09-05  Angus Leeming  <leeming@lyx.org>
4891
4892         * factory.C (createInset):
4893         * vspace.C (c-tor): replace sscanf call with an istringstream.
4894         * ispell.C: re-add missing HP/UX headers.
4895         * lyxserver.C: re-add missing  os2 headers.
4896
4897 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4898
4899         * BranchList.C:
4900         * graph.C:
4901         * ispell.C:
4902         * lastfiles.C:
4903         * lyx_cb.C:
4904         * lyxserver.C:
4905         * texrow.C:
4906         * text3.C: re-add missing system headers, needed for 2.95.2.
4907
4908 2003-09-05  Angus Leeming  <leeming@lyx.org>
4909
4910         Changes most place everywhere due to the removal of using directives
4911         from support/std_sstream.h.
4912
4913 2003-09-05  Angus Leeming  <leeming@lyx.org>
4914
4915         Replace LString.h with support/std_string.h,
4916         Lsstream.h with support/std_sstream.h,
4917         support/LIstream.h with support/std_istream.h,
4918         support/LOstream.h with support/std_ostream.h.
4919
4920         Changes resulting throughout the tree.
4921
4922 2003-09-05  Angus Leeming  <leeming@lyx.org>
4923
4924         * sgml.h: ensure that the header file can be compiled stand-alone.
4925         * *.C: strip out redundant #includes. (320 in total.)
4926
4927 2003-09-04  Angus Leeming  <leeming@lyx.org>
4928
4929         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4930         here (from getPackages).
4931
4932         * debug.[Ch]: add a new EXTERNAL tag.
4933
4934 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4935
4936         * text2.C (cursorEnd): simplify
4937         (setCursor): adjust
4938         (getColumnNearX): adjust
4939
4940         * text.C (computeBidiTables): adjust
4941         (fill): adjust
4942
4943         * rowpainter.C (paintChars): adjust
4944         (paintSelection): adjust
4945         (paintChangeBar): adjust
4946         (paintText): adjust
4947
4948         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4949         lastPos instead.
4950         (numberOfSeparators): adjust
4951
4952 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4953
4954         * LyXAction.C:
4955         * box.[Ch]:
4956         * lfuns.h:
4957         * lyxfunc.C:
4958         * text3.C: Restricts the mouse click functionality
4959         of insets like bibtex, include, toc and floatlist to the visible
4960         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4961         up the dialogs. Cursor has to be in front of the inset (i.e.
4962         start of row) for this to function.
4963
4964 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4965
4966         * bufferview_funcs.C (currentState): output row information
4967
4968 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4969
4970         * bufferview_funcs.C (currentState): output paragraph position
4971
4972 2003-09-04  Angus Leeming  <leeming@lyx.org>
4973
4974         * FloatList.h: move out #include "Floating.h".
4975         * LaTeX.h: move out #include "DepTable.h".
4976         * LyXAction.h: move out #include "funcrequest.h".
4977         * buffer.h: move out #include "author.h", "iterators.h".
4978         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4979         * lyx_main.h: move out #include "errorlist.h".
4980         * lyxfunc.h: move out #include "FuncStatus.h".
4981         * lyxtext: move out #include "lyxcursor.h".
4982         * paragraph_pimpl.h: move out #include "counters.h".
4983
4984 2003-09-03  Angus Leeming  <leeming@lyx.org>
4985
4986         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4987         preamble_snippets list, enabling us to add snippets to the preamble
4988         only if the snippet was not there already.
4989
4990 2003-09-04  Angus Leeming  <leeming@lyx.org>
4991
4992         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4993
4994 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4997         update
4998
4999 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5000
5001         * BranchList.C: point fix, earlier forgotten
5002
5003 2003-09-02  Angus Leeming  <leeming@lyx.org>
5004
5005         * box.C (contains): renamed from 'contained' after a fantastic
5006         amount of hot air.
5007
5008 2003-09-02  John Levon  <levon@movementarian.org>
5009
5010         * BufferView.C:
5011         * lyxcursor.h:
5012         * lyxcursor.C:
5013         * lyxfunc.C:
5014         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5015
5016 2003-09-02  John Levon  <levon@movementarian.org>
5017
5018         * text2.C: simplification of cursorEnd(), including partial
5019         fix for bug 1376
5020
5021 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * buffer.C (readFile): add a space
5024
5025 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5028
5029 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * buffer.C (readFile): new function, take a filename and a
5032         ParagraphList::iterator
5033         (readFile): adjust
5034         (readFile): adjust, make it private. don't use setStream, make
5035         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5036         always contain the filename.
5037
5038         * BufferView.C (insertLyXFile): simplify and make it work for
5039         gzipped files.
5040
5041 2003-08-30  John Levon  <levon@movementarian.org>
5042
5043         * Makefile.am: fix dist (from Kayvan)
5044
5045 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * most files: change to use const Buffer refs
5048
5049 2003-08-27  André Pönitz  <poenitz@gmx.net>
5050
5051         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5052         on top of ownerPar().
5053
5054 2003-08-27  John Levon  <levon@movementarian.org>
5055
5056         * funcrequest.C: properly initialise POD members
5057
5058 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * lyxtext.h (top_y): move top_y from here
5061         * text.C:
5062         * text2.C:
5063         * text3.C:
5064         * BufferView.[Ch]:
5065         * BufferView_pimpl.[Ch]: to here
5066         * frontends/screen.C:
5067         * insets/insettabular.C:
5068         * insets/insettext.C: adjust
5069         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5070
5071 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * BufferView.[Ch]:
5074         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5075
5076 2003-08-26  André Pönitz  <poenitz@gmx.net>
5077
5078         * paragraph_func.[Ch] (outerPar): new function
5079
5080         * paragraph.C:
5081         * paragraph_funcs.C:
5082         * paragraph_funcs.h:
5083         * paragraph_pimpl.C:
5084         * text2.C: remove Inset::par_owner
5085
5086 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5087
5088         * lyxrow_funcs.C:
5089         * lyxtext.h:
5090         * text.C:
5091         * text2.C: eliminates the needFullRow/display() stuff
5092         altogether, putting the logic in metrics/draw in the insets.
5093
5094 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5095
5096         * text2.C (redoParagraphInternal, redoParagraphs):
5097         * text.C (redoParagraph): add a call to updateRowPositions at the
5098         end of each 'metrics-like' call. Remove all others.
5099         (getRow): remove the 'y-computing' version.
5100         (getRowNearY): do not compute nor return the real y. Solve the
5101         'y < 0' problem and simplify.
5102
5103 2003-08-22  Angus Leeming  <leeming@lyx.org>
5104
5105         * *.[Ch]: clean-up of licence and author blurbs.
5106         Also move config.h out of a few .h files and into a few .C files.
5107
5108 2003-08-22  André Pönitz  <poenitz@gmx.net>
5109
5110         * lyxrow.[Ch]: add x_ and *fill_ members
5111
5112         * lyxtext.h:
5113         * text.C:
5114         * rowpainter.C:
5115         * text2.C: adjust/remove prepareToPrint() calls
5116
5117 2003-08-22  André Pönitz  <poenitz@gmx.net>
5118
5119         * lyxrow.[Ch]: add  end_ member
5120
5121         * lyxrow_funcs.C: use LyXRow::end_
5122
5123         * lyxtext.h (singleWidth): add LyXFont parameter
5124
5125         * rowpainter.C:
5126         * text2.C: adjust LyXText::singleWidth() calls
5127
5128         * text.C (redoParagraph): simplify row breaking logic
5129
5130
5131 2003-08-19  André Pönitz  <poenitz@gmx.net>
5132
5133         * funcrequest.C: initialize button_ member
5134
5135         * text3.C:
5136         * rowpainter.[Ch]: interface consolidation
5137
5138 2003-08-18  André Pönitz  <poenitz@gmx.net>
5139
5140         * BufferView.C:
5141         * BufferView_pimpl.C:
5142         * lyxfind.C:
5143         * paragraph_funcs.C:
5144         * rowpainter.C:
5145         * text3.C: remove LyXScreen::draw() and fitCursor calls
5146
5147         * BranchList.h: remove spurious semicolons
5148
5149         * MenuBackend.C: fix branchlist related crash
5150
5151 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5152
5153         * BranchList.[Ch]:
5154         * InsetList.[Ch]:
5155         * LColor.[Ch]:
5156         * LyXAction.C:
5157         * Makefile.am:
5158         * MenuBackend.[Ch]:
5159         * bufferparams.[Ch]:
5160         * factory.C:
5161         * lfuns.h:
5162         * lyxfunc.C:
5163         * text3.C: implements the 'branch inset'
5164         idea. This allows the output of various versions of a document
5165         from a single source version, selectively outputing or suppressing
5166         output of parts of the text.
5167         This implementation contains a 'branch list editor' in a separate
5168         tab of the document settings dialog. Branches are user definable
5169         and have a "display colour" to distinguish them on-screen.
5170
5171         ColorHandler was somewhat cleaned up.
5172         (1) make possible a dynamically growing LColor list by allowing
5173         the graphic context cache to grow along (vector);
5174         (2) eliminate an IMHO unnecessary step in colour allocation.
5175
5176 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5177
5178         * BufferView_pimpl.C: compile fix
5179
5180 2003-08-15  André Pönitz  <poenitz@gmx.net>
5181
5182         * rowpainter.C: remove extra metrics calls
5183
5184         * lyxtext.h: merge the two constructors into a single one,
5185           pass reference to owner's par list
5186
5187         * BufferView_pimpl.C:
5188         * text.C:
5189         * text2.C: adjust
5190
5191 2003-08-15  André Pönitz  <poenitz@gmx.net>
5192
5193         * lyxrow_funcs.[Ch]:
5194         * lyxtext.h:
5195         * paragraph.h:
5196         * paragraph_funcs.C:
5197         * rowpainter.C:
5198         * text.C:
5199         * text2.C:
5200         * text3.C:
5201         * text_funcs.C: split LyXText::rowlist_ into individual
5202         Paragraph::rows_ chunks
5203
5204         * BufferView.[Ch]:
5205         * BufferView_pimpl.[Ch]:
5206         * lyxfind.C:
5207         * lyxtext.h:
5208         * text3.C: remove toggleSelection()
5209
5210 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5211
5212         * bufferlist.C: beautify two alerts (shorter text of buttons)
5213         * buffer.C: Remove redundant ' ' from message
5214         * tabular.h:
5215         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5216         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5217         rename VALIGN_CENTER to VALIGN_MIDDLE
5218
5219 2003-08-11  André Pönitz  <poenitz@gmx.net>
5220
5221         * lyxtext.h (getPar):
5222         * text.C: new function
5223
5224 2003-08-11  André Pönitz  <poenitz@gmx.net>
5225
5226         * Makefile.am:
5227         * tracer.[Ch]: remove unneeded files
5228
5229         * InsetList.[Ch]: remove resizeInsetsLyXText()
5230
5231         * lyxtext.h:
5232         * text.C:
5233         * text2.C:
5234         * text3.C: merge insertParagraphs() and appendParagraph()
5235         remove breakAgain(), update()
5236
5237         * BufferView_pimpl.[Ch]:
5238         * bufferview_funcs.[Ch]:
5239         * lyxfunc.C:
5240         * paragraph.[Ch]:
5241         * rowpainter.C:
5242         * tabular.C: adjust after text & InsetList changes.
5243
5244 2003-08-08  André Pönitz  <poenitz@gmx.net>
5245
5246         * text.C (insertChar, backspace): replace rowlist fiddling
5247         with rebreak of full par
5248
5249         * lyxtext.h:
5250         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5251         checkParagraph, updateInset): removed
5252
5253 2003-08-07  André Pönitz  <poenitz@gmx.net>
5254
5255         * paragraph.C:
5256         * text3.C: merge some LFUN handlers, remove dead code
5257
5258 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5259
5260         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5261
5262 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * text2.C (DEPM): fix part of bug 1255 and 1256
5265
5266 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5267
5268         * BufferView_pimpl.C (workAreaDispatch): change to use
5269         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5270         that are no mouse related.
5271
5272 2003-08-05  André Pönitz  <poenitz@gmx.net>
5273
5274         * BufferView.[Ch]:
5275         * BufferView_pimpl.[Ch]:
5276         * bufferview_funcs.C:
5277         * text2.C:
5278         * text3.C: rip out "deep update"
5279
5280         * textcursor.[Ch] (last_sel_cursor): remove unused member
5281
5282 2003-08-04  André Pönitz  <poenitz@gmx.net>
5283
5284         * BufferView.[Ch]:
5285         * BufferView_pimpl.[Ch]:
5286         * ParagraphParameters.C:
5287         * bufferview_funcs.C:
5288         * lyx_cb.C:
5289         * lyxfind.C:
5290         * lyxfunc.C:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: replace "complicated" BufferView::update(...) calls with
5294         simpler ones.
5295
5296         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5297
5298 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5299
5300         * Makefile.am (lyx_SOURCES): add paper.h
5301
5302 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5303
5304         * Makefile.am: move things around so that both lyx-qt and
5305         lyx-xforms can be built (according to --with-frontend). Then lyx
5306         is a symbolic link to lyx-[firstfrontend]
5307
5308 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5309
5310         * Always use std::endl with lyxerr
5311
5312 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5313
5314         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5315
5316 2003-08-01  André Pönitz  <poenitz@gmx.net>
5317
5318         * BufferView.[Ch]:
5319         * BufferView_pimpl.[Ch]:
5320         * lyxfunc.C:
5321         * text3.C: merge BufferView::repaint() and BufferView::update()
5322
5323 2003-08-01  José Matos  <jamatos@lyx.org>
5324
5325         * buffer.[Ch]: file_format is no longer a buffer data element.
5326
5327 2003-08-01  André Pönitz  <poenitz@gmx.net>
5328
5329         * BufferView.C:
5330         * lyxtext.h:
5331         * text.C:
5332         * text2.C: make redoParagraph more independent of current cursor
5333
5334         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5335         * text.C:
5336         * text2.C: remove unneeded members
5337
5338 2003-07-30  André Pönitz  <poenitz@gmx.net>
5339
5340         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5341
5342         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5343           create a single function...
5344
5345         * paragraph_funcs.C (moveItem): ... here.
5346
5347         * text.C:
5348           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5349
5350 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5351
5352         * LColor.[Ch]: Add comment and greyedout logical colors.
5353
5354 2003-07-30  André Pönitz  <poenitz@gmx.net>
5355
5356         * tabular.C: don't use Assert too heavily. This crashes where it
5357           shouldn't
5358
5359 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5362         is disabled (bug 1232)
5363
5364 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5365
5366         * factory.C: limited 'arg' scope
5367
5368 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5369
5370         * factory.C: fixed Note submenu issues
5371
5372 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5373
5374         * factory.C: submenu for Note/Comment/Greyedout
5375
5376 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * lyx_main.C (LyX):
5379         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5380
5381 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5382
5383         * LaTeXFeatures.C:
5384         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5385         greyedout. Patch provided by Jürgen Spitzmüller.
5386
5387 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5388
5389         * kbmap.C (read): fix error message when reading bind files
5390
5391 2003-07-29  Angus Leeming  <leeming@lyx.org>
5392
5393         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5394         certainly does not do what it purports to do. I am doing it, and
5395         us, a favour by killing it.
5396
5397 2003-07-28  José Matos  <jamatos@lyx.org>
5398
5399         * buffer.C (readBody, do_writeFile):
5400         * paragraph.C(readParagraph): \end_document replaces \the_end.
5401
5402 2003-07-29  André Pönitz  <poenitz@gmx.net>
5403
5404         * BufferView.[Ch]:
5405         * BufferView_pimpl.[Ch]:
5406         * lyxfunc.C:
5407         * text2.C:
5408         * text3.C:
5409         * textcursor.[Ch]: remove toggleToggle & Co
5410
5411 2003-07-28  José Matos  <jamatos@fep.up.pt>
5412
5413         * buffer.C (readParagraph):
5414         * params_func (readParToken, readParagraph):
5415         * paragraph.C (write): \layout -> \begin_layout.
5416
5417 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * lyxlex_pimpl.C (setFile): clean up slightly.
5420
5421         * bufferparams.h: add compressed var
5422
5423         * buffer_funcs.C (readFile): adjust for LyXLex change
5424         (newFile): ditto + simplify
5425
5426         * buffer.C (writeFile): handle writing of compressed files
5427
5428         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5429         Check if the file is compressed and set a bufferparm if so.
5430
5431         * Makefile.am (lyx_LDADD): remove explicit -lz
5432
5433 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5434
5435         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5436         makeDocBookFile): put the real LyX version in the first line of
5437         the file
5438
5439         * version.h:
5440         * version.C.in: remove lyx_docversion
5441
5442         * tabular.C (write_attribute): add a template-based version to
5443         write enums properly
5444
5445 2003-07-28  André Pönitz  <poenitz@gmx.net>
5446
5447         * lyxtext.h:
5448         * text.C:
5449         * text2.C:
5450         * text3.C: use doubles again for x-coordinates. They are needed.
5451
5452 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * messages.C (getLocaleDir): use lyx_localedir()
5455
5456         * lyxlex_pimpl.C (setFile): compress stuff
5457
5458         * buffer.C (writeFile): add some compression stuff
5459         (do_writeFile): new func, dont call expliti close... will this
5460         breake anything?
5461
5462         * Makefile.am (lyx_LDADD): add -lz
5463
5464 2003-07-28  José Matos  <jamatos@fep.up.pt>
5465
5466         * buffer.C: increment file format.
5467         * paragraph_funcs (readParagraph, readParToken):
5468         * paragraph.C (readParagraph): add \end_layout.
5469
5470 2003-07-27  Angus Leeming  <leeming@lyx.org>
5471
5472         * Makefile.am: remove special casing for configure-time setting of
5473         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5474
5475         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5476         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5477
5478 2003-07-26  André Pönitz  <poenitz@gmx.net>
5479
5480         * paragraph_func.[Ch]:
5481         * paragraph.C (realizeFont): inline it whereever it is used
5482
5483         * rowpainter.C:
5484         * text.C:
5485         * text2.C:
5486         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5487
5488
5489 2003-07-26  André Pönitz  <poenitz@gmx.net>
5490
5491         *       lyxtext.h:
5492         * text.C:
5493         * text2.C: get rid of LyXText::need_break_row
5494
5495 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * toc.[Ch]: put namespace toc inside namespace lyx
5498
5499         * MenuBackend.C (expandToc2): adjust for lyx::toc
5500         (expandToc): ditto
5501
5502         * lyxfunc.C (dispatch): adjust for lyx::find
5503
5504         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5505         lyx::find instead. Reorganize a bit.
5506         (LyXReplace): rename to replace
5507         (LyXFind): rename to find
5508
5509         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5510         (dispatch): ditto
5511
5512 2003-07-26  André Pönitz  <poenitz@gmx.net>
5513
5514         * text.C (setHeightOfRow): restrict scope of temporary variable
5515
5516         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5517           code (never has been used?)
5518
5519 2003-07-27  Asger Alstrup  <alstrup@local>
5520
5521         * text.C (fill): Optimise algorithm to exploit that we can reuse
5522         the LyXFont for many characters.
5523         (setHeightOfRow): Same thing.
5524         (rowBreakPoint): Same thing.
5525
5526 2003-07-26  Asger Alstrup  <alstrup@local>
5527
5528         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5529
5530         * text.C (singleWidth): Spurious font copying in hot-spot
5531         singleWidth avoided. Reorder tests for arabic for efficiency.
5532
5533         * text.C (fill): handle empty paragraphs better.
5534
5535 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5536
5537         * ispell.C:
5538         * encoding.h: add includes
5539
5540         * lyxrc.C: remove reading of bind files
5541
5542         * lyx_main.C (init): setup bindings and menus only if we have a
5543         gui.
5544
5545         * kbmap.C (read): new method. Do the actual reading of bind
5546         files.
5547
5548         * converter.C (dvipdfm_options):
5549         * bufferparams.C:
5550         * lyxrc.C (read):
5551         (output): adapt PAPER_* enums.
5552
5553         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5554
5555         * bufferparams.h: remove paper-related enums from there
5556
5557         * paper.h: New file. A trivial header file to hold paper-related
5558         enums. It should later expand to contain many paper-related
5559         horrors access.
5560
5561         * lyxrc.C: declare extern displayTranslator
5562
5563 2003-07-27  José Matos  <jamatos@fep.up.pt>
5564
5565         * tabular.[Ch] (linuxdoc): add support for tables and figures
5566         (linuxdoc).
5567
5568 2003-07-27  José Matos  <jamatos@fep.up.pt>
5569
5570         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5571         consistency in both functions.
5572         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5573
5574 2003-07-26  Asger Alstrup  <alstrup@local>
5575
5576         * rowpainter.C (paintRows): Change algorithm to work directly on
5577         the insets rather than asking every character in the document
5578         whether its an inset.
5579
5580 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * buffer.C (openFileWrite): factorize some code
5583
5584 2003-07-26  Angus Leeming  <leeming@lyx.org>
5585
5586         * lyx_cb.C:
5587         * lyx_main.[Ch]: replace occurances of system_tempdir with
5588         os::getTmpDir().
5589
5590 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * rename Inset to InsetOld
5593
5594 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5595
5596         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5597         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5598         which I think is a bit clearer. EDIT is gone, since it was
5599         premature optimisation, and broken for mathed anyway.
5600         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5601         with cursor positioning in insets as well (math insets still do not
5602         work, but that's a different story anyway.) It mysteriously
5603         crashes sometimes with undo in the first paragraph, but I'm fairly
5604         confident that this is a compiler bug.
5605
5606 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * paragraph.C (Paragraph): adjust for new clone return type
5609         (operator==): ditto
5610         (copyIntoMinibuffer): ditto
5611
5612 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5613
5614         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5615         by not having a special case, and always doing a full rebreak of
5616         the document after undo.
5617
5618 2003-07-23  Angus Leeming  <leeming@lyx.org>
5619
5620         * factory.C (createInset): InsetExternal::setParams now takes a
5621         Buffer const * arg.
5622
5623 2003-07-23  Angus Leeming  <leeming@lyx.org>
5624
5625         * factory.C (createInset): changed interface to the external and
5626         graphics mailers' string2params functions.
5627
5628 2003-07-23  Angus Leeming  <leeming@lyx.org>
5629
5630         * factory.C (createInset): pass a
5631         Buffer const * parameter to InsetExternalMailer's string2params.
5632
5633 2003-07-22  John Levon  <levon@movementarian.org>
5634
5635         * Thesaurus.h: include the right aiksaurus header
5636
5637 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5638
5639         * MenuBackend.C (expand): check menu shortcuts unconditionally
5640
5641 2003-07-21  Angus Leeming  <leeming@lyx.org>
5642
5643         * factory.C (createInset): pass a
5644         buffer_path parameter to InsetGraphicsMailer's string2params.
5645
5646 2003-07-21  Angus Leeming  <leeming@lyx.org>
5647
5648         * BufferView_pimpl.C (buffer):
5649         * buffer.C (d-tor):
5650         * lyx_main.C (LyX):
5651         * lyxfunc.C (dispatch):
5652         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5653         rather than the grfx shortcut.
5654
5655 2003-07-21  André Pönitz  <poenitz@gmx.net>
5656
5657         * rowpainter.C: remove unused variables
5658
5659         * tabular_funcs.C:
5660         * tabular_funcs.h: move to tabular.C
5661         * Makefile.am: adjust
5662
5663         * tabular.[Ch]: basic optical cleaning
5664
5665         * author.h: pass references, not values
5666
5667 2003-07-18  André Pönitz  <poenitz@gmx.net>
5668
5669         * lyxtext.h:
5670         * metricsinfo.C:
5671         * metricsinfo.h:
5672         * rowpainter.C:
5673         * text.C:
5674         * text2.C:
5675         * text3.C: two-phase drawing for InsetText and InsetTabular
5676         some float -> int changes.
5677
5678 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5679
5680         * lyx_main.C: fix the fix
5681
5682 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5683
5684         * lyx_main.C: fix a crash in batch mode if no files specified
5685         * converter.C: ws
5686
5687 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * format.[Ch] (papersize): moved to BufferParams
5690         * converter.[Ch] (dvips_options): moved to BufferParams
5691         (dvipdfm_options): moved to anon namespace
5692         * bufferparams.[Ch]: added above functions.
5693
5694 2003-07-17  André Pönitz  <poenitz@gmx.net>
5695
5696         * lyxtext.h:
5697         * rowpainter.C:
5698         * text2.C: don't call inset->update() anymore
5699
5700         * metricsinfo.[Ch]: add convenience constructor
5701
5702 2003-07-16  André Pönitz  <poenitz@gmx.net>
5703
5704         * lyxcursor.[Ch]:
5705         * lyxfunc.[Ch]:
5706         * text.C:
5707         * text2.C: replace the LyXCursor::irow_ member with
5708          on-demand computation of the value
5709
5710 2003-07-16  John Levon  <levon@movementarian.org>
5711
5712         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5713
5714 2003-07-15  André Pönitz  <poenitz@gmx.net>
5715
5716         * text.C:
5717         * text2.C: remove no more needed refresh_row
5718
5719 2003-07-15  André Pönitz  <poenitz@gmx.net>
5720
5721         * lyxtext.h:
5722         * rowpainter.C:
5723         * text2.C:
5724         * text3.C: refresh_status tristate -> need_update bool
5725
5726 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5727
5728         * lyxtext.h (init): remove reinit argument (act as if always true)
5729         * text2.C: adjust to that
5730
5731 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5732
5733         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5734         * text3.C: use it to delete selections in some cases
5735         (bugs 441, 673, 702, 954).
5736
5737 2003-07-14  André Pönitz  <poenitz@gmx.net>
5738
5739         * rowpainter.[Ch]: reduce interface
5740
5741 2003-07-14  André Pönitz  <poenitz@gmx.net>
5742
5743         * BufferView_pimpl.C:
5744         * text2.C: adjust after removing unused BufferView * argument
5745
5746 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * text2.C (init): fix a crash fired on resize
5749
5750 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5751
5752         * buffer.[Ch]: added new closing signal
5753         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5754         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5755         BufferView::Pimpl via the closing the signal
5756
5757 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * buffer.[Ch]: take out all bv-related from buffer
5760         * BufferView.C:
5761         * BufferView_pimpl.[Ch]: connect to new signals
5762         * CutAndPaste.C: removed useless asserts
5763         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5764         * lyxvc.[Ch]:
5765         * vc-backend.[Ch]:
5766         * lyxfunc.C: moved view-related funciontality from vc here
5767         * paragraph.C: removed outdated comments
5768         * text.C: ws
5769
5770 2003-07-10  André Pönitz  <poenitz@gmx.net>
5771
5772         * BufferView_pimpl.C:
5773         * tabular.h:
5774         * tabular_funcs.C:
5775         * text.C:
5776         * text2.C: remove InsetText::InnerCache, clean up consequences
5777
5778 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5779
5780         * ispell.C: fix two typos in error messages
5781
5782 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5783
5784         * Extend Note inset to other forms of annotation like Comment
5785         and Greyedout. Right button click gives dialog.
5786
5787         Files modified or added (+):
5788
5789         * insetnote.[Ch]
5790         * FormNote.[Ch]      +
5791         * ControlNote.[Ch]   +
5792         * form_note.fd       +
5793         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5794         frontends/controllers
5795         * xforms/Dialogs.C
5796         * factory.C
5797
5798 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5799
5800         * aspell.C: add missing namespace lyx::support
5801
5802 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5803
5804         * BufferView.[Ch] (newFile): Add
5805         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5806         * LaTeX.[Ch] (message): added this signal and use it
5807         * buffer.[Ch] (busy, message): added these signals and use them
5808         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5809         * converter.C:
5810         * exporter.C:
5811         * format.C:
5812         * importer.C: use buffer signals instead of direct bv calling
5813         * lyx_cb.[Ch] (ShowMessage): removed
5814         * lyx_main.C:
5815         * lyxfunc.C:
5816         * paragraph_funcs.C:
5817         * text2.C: use buffer signals
5818
5819 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5820
5821         * introduce namespace lyx::graphics
5822
5823 2003-07-02  André Pönitz  <poenitz@gmx.net>
5824
5825         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5826
5827 2003-07-01  André Pönitz  <poenitz@gmx.net>
5828
5829         * text.C:
5830         * text2.C:
5831         * text3.C:
5832         * text_funcs.[Ch]:
5833         * textcursor.h:
5834         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5835           text*.C to text_func.C
5836
5837 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5838
5839         * introduce namespace lyx::support
5840
5841 2003-06-30  André Pönitz  <poenitz@gmx.net>
5842
5843         * Chktex.C:
5844         * funcrequest.C:
5845         * lyxtext.h:
5846         * text.C: re-enable --with-included-string
5847
5848 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * textcursor.C: add <config.h>
5851
5852         * text.C (getWord): remove const from word_location arg
5853
5854         * lyxvc.C (getLogFile): fix const type order
5855
5856         * lyxtext.h: remove const from word_location arg, add arg name
5857
5858         * lyxlayout.h: currect type on labeltype.
5859
5860         * importer.C: correct \file
5861
5862         * converter.C (intToFormat): use std:: on ret val, ws changes
5863
5864         * bufferlist.h: correct \file
5865
5866         * buffer.C (makeLinuxDocFile): fix const type order
5867         (makeDocBookFile): ditto
5868         (fillWithBibKeys): use std:: on stdlib args.
5869
5870         * CutAndPaste.C: fix authors.
5871         (availableSelections): use std:: on return vector
5872
5873 2003-06-27  André Pönitz  <poenitz@gmx.net>
5874
5875         * BufferView_pimpl.C:
5876         * bufferview_funcs.C:
5877         * lyxcursor.C:
5878         * lyxcursor.h:
5879         * lyxfunc.C:
5880         * lyxtext.h:
5881         * rowpainter.C:
5882         * text.C:
5883         * text2.C:
5884         * text3.C: remove LyXCursor::row_ member
5885
5886         * lyxtext.h:
5887         * text.C: rename fullRebreak() to partialRebreak() and implement
5888           a fullRebreak() that really bereks fully
5889
5890         * textcursor.h: new struct for cursor-related data
5891
5892 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5893
5894         * lyx_main.C (LyX): get full path of document loaded on the
5895         command line
5896
5897 2003-06-26  André Pönitz  <poenitz@gmx.net>
5898
5899         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5900           remove unused/broken operator>,<,>=.
5901
5902         *       text.C: remove only use of broken operator<= in an Assert().
5903
5904 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5905
5906         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5907         moved errorlist_.clear to showErrorList
5908
5909 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5910
5911         * converter.C (scanLog, runLaTeX):
5912         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5913         move the bv->showErrorList call to the callers
5914         * lyxfunc.C: i.e. here...
5915         * text2.C: and here
5916         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5917         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5918         namespace, the second to...
5919         * buffer_funcs (BufferFormat, parseErrors): added
5920         * errorlist.C (ErrorList(TeXErrors const &)): removed
5921
5922 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5923
5924         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5925
5926 2003-06-24  "Garst R. Reese" <reese@isn.net>
5927
5928         * debug.C: fix typo
5929
5930 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5931
5932         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5933
5934         * version.C.in: change docversion to 1.4
5935
5936 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5937
5938         * buffer.C: fix a bug just introduced
5939
5940 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * buffer.[Ch]: added the parseError signal and use it, removed
5943         sgmlError
5944         * BufferView.[Ch] (addError): moved to ...
5945         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5946         to the Buffer::parseError signal to catch (guess what) parse errors
5947         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5948
5949 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5950
5951         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5952         ability to create a buffer and to return an existing one from
5953         the list. Moved these functions to...
5954         * buffer_funcs.[Ch]: added
5955         * BufferView.[Ch] (loadLyXFile): added
5956         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5957         job removed from bufferlist::loadLyXFile.
5958         * buffer.C (setReadOnly): make it work without view
5959         (i.e added an if (users))
5960
5961 2003-06-19  Angus Leeming  <leeming@lyx.org>
5962
5963         * lfuns.h:
5964         * LyXAction.C (init):
5965         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5966         with LFUN_DIALOG_SHOW <name> <data>.
5967
5968 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5969
5970         * CutAndPaste.C (availableSelections): small compilation fix for
5971         ancient (gcc 2.9x) compilers
5972
5973 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * text3.C (cursorNext): add tmp var
5976
5977         * text2.C (updateCounters): for function calling out of for clause
5978         (replaceSelectionWithString): ditto
5979         (insertStringAsParagraphs): ditto
5980         (getColumnNearX): add tmp var
5981         (setCursorFromCoordinates): add tmp var
5982         (cursorDownParagraph): add tmp var
5983         (deleteEmptyParagraphMechanism): add tmp var
5984
5985         * text.C (insertChar): add tmp var
5986
5987         * rowpainter.C (paintDepthBar): add tmp var
5988
5989         * CutAndPaste.C (availableSelections): potentially check all
5990         paragraphs in a cut to fill the shown strings.
5991
5992 2003-06-18  André Pönitz  <poenitz@gmx.net>
5993
5994         * kbmap.[Ch]: use vector<> instead of list<>
5995
5996 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5997
5998         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5999         pasteSelection with index
6000
6001         * text2.C (pasteSelection): modify, call pasteSelection with index
6002
6003         * paragraph.C (asString): reimplement version with no interval to
6004         call the one with interval.
6005
6006         * lyxtext.h: add index arg to pasteSelection
6007
6008         * MenuBackend.C (MenuItem): handle PasteRecent
6009         (Menu::read::Menutags): add md_pasterecent
6010         (read): handle it
6011         (expandPasteRecent): new function
6012         (expand): use it
6013
6014         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6015
6016         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6017         the limited stack
6018         (availableSelections): new function
6019
6020 2003-06-17  Angus Leeming  <leeming@lyx.org>
6021
6022         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6023
6024 2003-06-17  Angus Leeming  <leeming@lyx.org>
6025
6026         * lfuns.h:
6027         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6028
6029         * lyxfunc.C (dispatch): invoke it.
6030
6031 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6032
6033         * iterators.C (operator++, ParPosition): reintroduce some
6034         const_cast for the benefit of older compilers.
6035
6036 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6037
6038         * text3.C (dispatch): do not modify clipboard when doing
6039         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6040         LFUN_DELETE_SKIP on a selection selection
6041
6042 2003-06-16  André Pönitz  <poenitz@gmx.net>
6043
6044         * BufferView.C:
6045         * buffer.C:
6046         * buffer.h:
6047         * paragraph.C:
6048         * tabular.[Ch]: IU of clone() and getLabelList();
6049
6050 2003-06-13  André Pönitz  <poenitz@gmx.net>
6051
6052         * tabular.h: compactification
6053
6054 2003-06-12  André Pönitz  <poenitz@gmx.net>
6055
6056         * tabular.C:
6057         * tabular.h:
6058         * tabular_funcs.h: some renaming plus whitespace
6059
6060 2003-06-12  André Pönitz  <poenitz@gmx.net>
6061
6062         * BufferView.C:
6063         * BufferView_pimpl.C:
6064         * CutAndPaste.C:
6065         * buffer.C:
6066         * iterators.[Ch]:
6067         * lyxfunc.C:
6068         * text.C:
6069         * toc.C: Return a Paragraph & for ParIterator::operator*()
6070
6071 2003-06-11  John Levon  <levon@movementarian.org>
6072
6073         * lyx_main.C:
6074         * ToolbarBackend.h:
6075         * ToolbarBackend.C: add "Toolbars" section and
6076         put the flags there
6077
6078 2003-06-10  Angus Leeming  <leeming@lyx.org>
6079
6080         * lfuns.h:
6081         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6082
6083         * lyxfunc.C (dispatch): invoke it.
6084
6085 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * main.C: protect <ios> with HAVE_IOS
6088         (main): protect sync_with_stdio with HAVE_IOS
6089
6090 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6091
6092         * text2.C (cutSelection): adjust
6093         (pasteSelection): adjust
6094
6095         * messages.C: handle get of empty string
6096
6097         * main.C (main): use sync_with_stdio(false)
6098
6099         * lyxfunc.C (dispatch): adjust
6100
6101         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6102         (WriteAs): remove unneeded BufferView arg.
6103
6104         * bufferparams.h: use correct types on papersize, papersize2 and
6105         paperpackage.
6106
6107         * bufferparams.C (readToken): adjust for type
6108         (writeLaTeX): add missing cases to switch.
6109
6110         * bufferlist.C (quitWriteBuffer): adjust
6111         (close): adjust
6112
6113         * buffer.C (asciiParagraph): remove some commented code.
6114
6115         * CutAndPaste.C: remove current_view extern variable.
6116         (cutSelection): add BufferParams arg.
6117         (eraseSelection): add BufferParams arg.
6118         (pasteSelection): add Buffer const & arg
6119
6120 2003-06-07  John Levon  <levon@movementarian.org>
6121
6122         * buffer.C:
6123         * paragraph_funcs.C:
6124         * paragraph_pimpl.C:
6125         * text.C:
6126         * text2.C:
6127         * paragraph.h:
6128         * paragraph.C: allow InsetERT to freely space lines,
6129         and some consolidation of code
6130
6131 2003-06-06  José Matos  <jamatos@fep.up.pt>
6132
6133         * buffer.C (makeDocBookFile): fix bug #821
6134
6135 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6136
6137         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6138
6139 2003-06-04  Angus Leeming  <leeming@lyx.org>
6140
6141         * buffer.C: bump format to 224.
6142
6143 2003-06-05  André Pönitz  <poenitz@gmx.net>
6144
6145         * text2.C (redoParagraphs): remove two const_cast<>
6146
6147 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6148
6149         * ParagraphList.h: remove last remnants of NO_STD_LIST
6150
6151 2003-06-03  Angus Leeming  <leeming@lyx.org>
6152
6153         * factory.C (createInset): small change to the way InsetExternal's params
6154         are set.
6155
6156 2003-06-04  André Pönitz  <poenitz@gmx.net>
6157
6158         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6159
6160         * paragraph_pimpl.h:
6161         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6162
6163         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6164
6165         * undo_funcs.C: make some simple cases of undo work again
6166
6167 2003-06-03  John Levon  <levon@movementarian.org>
6168
6169         * ispell.C: HPUX doesn't have sys/select.h
6170         (from Albert Chin)
6171
6172 2003-06-03  John Levon  <levon@movementarian.org>
6173
6174         * CutAndPaste.C: update tabular and include inset
6175         buffer references
6176
6177         * buffer.h:
6178         * paragraph.h:
6179         * paragraph.C: remove owningBuffer(), don't pass Buffer
6180         to clone()
6181
6182         * factory.C: insetGraphicsParams changed
6183
6184 2003-06-02  John Levon  <levon@movementarian.org>
6185
6186         * LyXAction.C:
6187         * factory.C:
6188         * lfuns.h:
6189         * lyxfunc.C:
6190         * text3.C: remove insetparent
6191
6192 2003-06-02  John Levon  <levon@movementarian.org>
6193
6194         * buffer.h:
6195         * buffer.C: fix inset_iterator.end(), move out of line
6196         (bug 1149)
6197
6198 2003-06-01  John Levon  <levon@movementarian.org>
6199
6200         * text3.C: use a proper cut/paste when doing inset
6201         insert (from Jürgen Spitzmüller)
6202
6203 2003-06-01  John Levon  <levon@movementarian.org>
6204
6205         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6206
6207 2003-05-30  André Pönitz  <poenitz@gmx.net>
6208
6209         * rowpainter.C: unify second drawing phase
6210
6211 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * trans_mgr.C: remove one case of current_view
6214
6215         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6216
6217         * paragraph_funcs.h: remove paragraph.h include
6218
6219         * paragraph.h: delete NO_STD_LIST stuff
6220
6221         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6222
6223         * buffer.h: remove paragraph.h include
6224
6225         * ParagraphList.C: delete file
6226
6227         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6228
6229         * toc.C (getTocList): adjust
6230
6231         * paragraph_pimpl.C (validate): adjust
6232
6233         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6234
6235         * paragraph.C (Paragraph): adjust
6236         (getPositionOfInset): use const_iterator, adjust
6237         (bibitem): use const_iterator, adjust
6238         (setInsetOwner): adjust
6239
6240         * iterators.C (operator++): adjust
6241
6242         * InsetList.[Ch]: Replace selfmade iterator with standard
6243         vector::iterator also introduce const_iterator. Remove getPos,
6244         getInset and setInset from InsetTable. Adjust accordingly.
6245
6246         * BufferView.C (lockInset): adjust
6247         (ChangeInsets): adjust
6248
6249         * tabular.[Ch]: delete commented same_id functions
6250
6251 2003-05-28  John Levon  <levon@movementarian.org>
6252
6253         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6254
6255 2003-05-28  André Pönitz  <poenitz@gmx.net>
6256
6257         * metricsinfo.[Ch]: remove 'fullredraw' member
6258
6259 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6260
6261         * lyxtextclass.C (operator): remove caching.
6262
6263 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * text3.C: adjust
6266
6267         * text2.C (cursorBottom): adjust
6268         (setCounter): use ParagraphList::find, adjust
6269
6270         * text.C (workWidth): use ParagraphList::find, adjust
6271
6272         * lyxcursor.C (LyXCursor): adjust
6273
6274         * buffer.C (inset_iterator): adjust
6275
6276         * ParagraphList.h: make iterator(value_type) private, make
6277         ParagraphList a friend of iterator.
6278
6279         * ParagraphList.C (find): new function
6280
6281         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6282
6283 2003-05-27  André Pönitz  <poenitz@gmx.net>
6284
6285         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6286
6287 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6288
6289         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6290
6291 2003-05-26  John Levon  <levon@movementarian.org>
6292
6293         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6294
6295 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * remove same_id from function signatures, adjust.
6298
6299 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6300
6301         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6302
6303         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6304
6305         * paragraph.C (Paragraph): get rid of same_ids parameter
6306
6307         * ParagraphList.C (insert): adjust
6308         (push_back): adjust
6309
6310 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * paragraph_funcs.C (breakParagraph): adjust
6313         (breakParagraphConservative): adjust
6314
6315         * buffer.C (readParagraph): adjust
6316
6317         * ParagraphList.C (insert): take a reference instead of a pointer
6318         (insert): adjust
6319
6320         * paragraph.[Ch] (id): new function
6321
6322         * bufferlist.C (newFile): adjust
6323
6324         * ParagraphList.C (ParagraphList): adjust
6325         (assign): adjust
6326         (push_back): take a reference instead of a pointer.
6327
6328         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6329
6330         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6331         instead.
6332
6333         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6334         set else use old code.
6335
6336         * ParagraphList.C: remove all NO_NEXT code and only compile this
6337         code of NO_STD_LIST is set.
6338
6339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * BufferView_pimpl.C:
6342         * TextCache.C:
6343         * TextCache.h:
6344         * bufferlist.C:
6345         * errorlist.h:
6346         * format.C:
6347         * format.h:
6348         * graph.C:
6349         * lyxfunc.C:
6350         * lyxrc.C:
6351         * graphics/GraphicsConverter.C:
6352         * graphics/PreviewLoader.C: header adjustment
6353
6354 2003-05-23  Angus Leeming  <leeming@lyx.org>
6355
6356         * LaTeXFeatures.[Ch] (useBabel): new method.
6357         * bufferparams.C (writeLaTeX): use it.
6358
6359 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * ParagraphList.h (set): remove unused function.
6362
6363 2003-05-23  André Pönitz  <poenitz@gmx.net>
6364
6365         * BufferView.C:
6366         * BufferView_pimpl.C:
6367         * buffer.C:
6368         * buffer.h:
6369         * lyxfunc.C:
6370         * undo_funcs.C: setUndo reworked
6371
6372         * iterators.[Ch]: add access to topmost ParagraphList
6373
6374         * lyxtext.[Ch] (workWidth): add a const
6375
6376 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6377
6378         * texrow.[Ch] (increasePos): remove function
6379         * exporter.C (export): removed unused var and outdated comment
6380
6381 2003-05-23  Angus Leeming  <leeming@lyx.org>
6382
6383         * latexrunparams.h: rename fragile as moving_arg.
6384         * paragraph.C (simpleTeXOnePar): ditto.
6385         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6386
6387 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6390         (createUndo): ditto
6391         (textUndoOrRedo): comment out a currently unused var.
6392
6393         * paragraph.h (NO_NEXT): enable NO_NEXT
6394
6395         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6396
6397         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6398
6399         * exporter.C (Export): adjust for removeAutoInsets removal.
6400
6401         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6402
6403         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6404
6405         * BufferView.[Ch] (removeAutoInsets): delete function
6406
6407 2003-05-22  Angus Leeming  <leeming@lyx.org>
6408
6409         * latexrunparams.h: add a free_spacing variable.
6410
6411         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6412         to pass moving_arg, as the data is stored in runparams.fragile.
6413
6414         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6415         to Inset::latexOptional or to simpleTeXOnePar.
6416
6417         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6418         free_spacing arg to Inset::latexOptional.
6419
6420         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6421         free_spacing arg.
6422
6423 2003-05-22  Angus Leeming  <leeming@lyx.org>
6424
6425         * latexrunparams.h: add fragile and use_babel variables.
6426
6427         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6428         * buffer.C (makeLaTeXFile): store this returned value in
6429         runparams.use_babel, thus passing it to the inset::latex methods.
6430
6431         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6432         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6433
6434         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6435         longer has a fragile arg, as it is stored in runparams.fragile.
6436
6437         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6438         moving_arg parameter as the data is stored in runparams.fragile.
6439
6440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6441         a fragile parameter as the data is stored in runparams.fragile.
6442
6443 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6446
6447 2003-05-22  Angus Leeming  <leeming@lyx.org>
6448
6449         * latexrunparams.h: add a 'bool nice' which defaults to false.
6450
6451         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6452         now encapsulated within runparams.
6453
6454         * bufferlist.C (updateIncludedTeXfiles):
6455         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6456
6457 2003-05-22  Angus Leeming  <leeming@lyx.org>
6458
6459         * latexrunparams.h: new file containing struct LatexRunParams.
6460         * Makefile.am: add new file.
6461
6462         * LaTeX.[Ch] (c-tor, run):
6463         * buffer.[Ch] (makeLaTeXFile):
6464         * bufferlist.[Ch] (updateIncludedTeXfiles):
6465         * converter.C (convert, scanLog):
6466         * converter.[Ch] (runLaTeX):
6467         * exporter.C (Export):
6468         * paragraph.[Ch] (simpleTeXOnePar):
6469         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6470         * paragraph_funcs.[Ch] (latexParagraphs):
6471         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6472         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6473         pass around a LatexRunParams parameter.
6474
6475 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * paragraph.[Ch]: remove unused constructor
6478
6479         * ParagraphList.C (erase): new function, taking two iterators
6480
6481 2003-05-22  André Pönitz  <poenitz@gmx.net>
6482
6483         * undo_funcs.C: remove duplicated code
6484
6485         * iterator.[Ch]: operator=
6486
6487 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * tabular.C (SetMultiColumn): ws changes
6490
6491         * rowpainter.C (paintFirst): get rid of a ->previous
6492
6493         * lyx_cb.C (getPossibleLabel): parlist simplification
6494
6495         * BufferView.C (ChangeInsets): simplify slightly.
6496
6497 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6498
6499         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6500         * lfuns.h: new LFUN_SPACE
6501         * lyxfunc.C: protected space has a new lfun
6502         * paragraph_funcs.C: read new space insets
6503         * text3.C:
6504         * factory.C: handle new space insets
6505
6506 2003-05-22  André Pönitz  <poenitz@gmx.net>
6507
6508         * BufferView.C:
6509         * BufferView_pimpl.C:
6510         * buffer.[Ch]:
6511         * lyxfunc.C:
6512         * undo_funcs.C: return a ParIterator from getParFromID.
6513
6514         * iterators.[Ch]: add two const's
6515
6516 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * toc.C (getTocList): adjust
6519
6520         * iterators.[Ch]: rework for parlist
6521
6522         * buffer.C (par_iterator_begin): adjust
6523         (par_iterator_end): adjust
6524
6525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6526
6527         * BufferView.C (removeAutoInsets): adjust
6528         (ChangeInsets): adjust
6529
6530 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * text.C (top_y): fix bug 1110
6533
6534 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * errorlist.[Ch]: added
6537         * buffer.C:
6538         * BufferView.[Ch]:
6539         * BufferView_pimpl.C:
6540         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6541         instead
6542
6543 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * Makefile.am: ensure that lyx is relinked upon changes to the
6546         various "convenience" libs.
6547
6548 2003-05-20  Angus Leeming  <leeming@lyx.org>
6549
6550         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6551         files are compiled in alphabetical order again.
6552
6553         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6554
6555 2003-05-19  Angus Leeming  <leeming@lyx.org>
6556
6557         * gettext.[Ch]: remove "char const * _(char const *)".
6558
6559 2003-05-19  André Pönitz  <poenitz@gmx.net>
6560
6561         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6562
6563         * Makefile.am:
6564         * BufferView.C:
6565         * DepTable.h:
6566         * LaTeXFeatures.C:
6567         * buffer.C:
6568         * lyxfont.C:
6569         * lyxlex.h:
6570         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6571
6572 2003-05-19  André Pönitz  <poenitz@gmx.net>
6573
6574         * buffer.C:
6575         * lyxlayout.[Ch]:
6576         * lyxtextclass.[Ch]:
6577         * paragraph.C:
6578         * paragraph_funcs.[Ch]:
6579         * text2.C:
6580         * text3.C: more insetenv work
6581
6582 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * ParagraphParameters.C (params2string): small bug fixed
6585
6586 2003-05-16  André Pönitz  <poenitz@gmx.net>
6587
6588         * debug.C:
6589         * bufferview_funcs.C: patch from Kornel Benko to prevent
6590           crash when _(...) is called twice in a statement
6591
6592 2003-05-16  André Pönitz  <poenitz@gmx.net>
6593
6594         * BufferView.C:
6595         * lyxfunc.C:
6596         * text.C:
6597         * text2.C:
6598         * text3.C:
6599         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6600
6601 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6602
6603         * lyx_main.C (init): remove spurious static_cast
6604
6605 2003-05-14  André Pönitz  <poenitz@gmx.net>
6606
6607         * BufferView.C: fix format string
6608
6609 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6610
6611         * BufferView.[Ch] (insertErrors): removed
6612         * BufferView.[Ch] (showErrorList): added
6613         * buffer.C (runChkTeX):
6614         * converter.C (scanLog): call showErrorList instead of inserterrors
6615
6616 2003-05-13  André Pönitz  <poenitz@gmx.net>
6617
6618         * BufferView_pimpl.C:
6619         * buffer.C:
6620         * bufferview_func.C:
6621         * MenuBackend.C:
6622         * lyxfunc.C:
6623         * lyxrc.C:
6624         * tex-accent.C:
6625         * text3.C:
6626         * toc.C:
6627         * tabular_funcs.h: tostr() from its own header
6628
6629         * ParagraphParameters.C:
6630         * ToolbarBackend.C:
6631         * bufferparams.C:
6632         * format.C:
6633         * lyxlex_pimpl.C:
6634         * text3.C: STRCONV()
6635
6636 2003-05-12  André Pönitz  <poenitz@gmx.net>
6637
6638         * BufferView.C:
6639         * BufferView_pimpl.C:
6640         * CutAndPaste.C:
6641         * LaTeX.C:
6642         * LaTeXFeatures.C:
6643         * ParagraphParameters.C:
6644         * buffer.C:
6645         * bufferlist.C:
6646         * bufferparams.C:
6647         * bufferview_funcs.C:
6648         * converter.C:
6649         * counters.C:
6650         * debug.C:
6651         * exporter.C:
6652         * format.C:
6653         * importer.C:
6654         * lyx_cb.C:
6655         * lyx_main.C:
6656         * lyxfont.C:
6657         * lyxfunc.C:
6658         * lyxvc.C:
6659         * paragraph.C:
6660         * paragraph_funcs.C:
6661         * tabular.C:
6662         * tabular_funcs.C:
6663         * text2.C:
6664         * text3.C:  boost::format -> bformat  all over the place
6665
6666
6667 2003-05-09  André Pönitz  <poenitz@gmx.net>
6668
6669         * LColor.[Ch]: Pimpl the #include <map> away
6670
6671 2003-05-09  John Levon  <levon@movementarian.org>
6672
6673         * bufferlist.C: never remove emergency saves
6674
6675 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * Makefile.am: better lib building
6678
6679 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6682         instead.
6683         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6684         (simpleTeXSpecialChars): adjust
6685         (simpleTeXSpecialChars): adjust
6686         * paragraph.C (simpleTeXOnePar): adjust
6687         * buffer.C (makeLaTeXFile): adjust
6688
6689         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6690
6691         * text2.C (changeDepth): parlist cleanup
6692         (getColumnNearX): ditto
6693
6694         * rowpainter.C (getLabelFont): parlist cleanup
6695
6696         * bufferlist.C (newFile): parlist cleanup
6697
6698         * CutAndPaste.C (eraseSelection): parlist cleanup
6699
6700         * BufferView_pimpl.C (trackChanges): parlist cleanup
6701         (dispatch): ditto
6702
6703         * BufferView.C (lockInset): parlist cleanup.
6704         (ChangeInsets): ditto
6705
6706 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * CutAndPaste.h: Update file header.
6709
6710         * CutAndPaste.C: Update file header.
6711         Store the parts cut out of the Document in a limited_stack.
6712         (copySelection): adjust
6713         (pasteSelection): new function, takes the index in the limited stack.
6714         (nrOfParagraphs): adjust
6715         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6716         simplify error inset insertion.
6717         (checkPastePossible): adjust
6718
6719 2003-05-06  John Levon  <levon@movementarian.org>
6720
6721         * text2.C: don't cast wrap inset to float
6722
6723 2003-05-05  André Pönitz  <poenitz@gmx.net>
6724
6725         * iterator.C:
6726         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6727
6728         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6729           few naked Paragraph *.
6730
6731 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6732
6733         * bufferparams.C: Output warning if a document with missing
6734         TeX document class is loaded
6735         * exporter.C: Disable TeX exports if the document class is missing
6736         * lyxtextclass.C:
6737         * lyxtextclass.h:
6738         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6739         isTeXClassAvailable()
6740
6741 2003-05-03  John Levon  <levon@movementarian.org>
6742
6743         * BufferView.h:
6744         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6745         explicit cursor show/hide
6746
6747         * BufferView_pimpl.h:
6748         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6749         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6750
6751         * lyxfunc.C: hide cursor before dispatching.
6752
6753         * lyx_cb.C:
6754         * lyxfind.C:
6755         * text.C:
6756         * text3.C: remove explicit cursor hides
6757
6758 2003-05-02  André Pönitz  <poenitz@gmx.net>
6759
6760         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6761
6762         * undo_funcs.C:
6763         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6764           linked lists
6765
6766         * text2.C: tiny whitespace
6767
6768 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * undo_funcs.C: almost only ws changes.
6771
6772         * ParagraphList.C (splice): just return if pl is empty.
6773
6774 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6775
6776         * ParagraphList.C (splice): new function.
6777
6778         * CutAndPaste.C (pasteSelection): use it
6779
6780 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * CutAndPaste.C (pasteSelection): remove the last next and
6783         previous from this file.
6784
6785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * CutAndPaste.C (pasteSelection): more clean up, user proper
6788         ParagraphList functions for pasteing.
6789
6790         * ParagraphList.C (insert): new function, three arg insert
6791
6792 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * ParagraphList.C (insert): new function, three arg insert
6795
6796         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6797         not on paragraphs.
6798
6799 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6802
6803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6806
6807 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6810         (copySelection): clean up a bit.
6811         (pasteSelection): use make_pair
6812
6813         * ParagraphList.C (ParagraphList): implement copy constructor
6814         (operator=): implement, base on copy constructor.
6815         (assign): new func
6816
6817         * paragraph.C (erase): return a bool
6818
6819         * paragraph_pimpl.C (erasePos): remove function, move contents...
6820         (erase): ... here. Return a bool.
6821         (erase): call erase instead of erasePos.
6822
6823 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6824
6825         * ParagraphList.h: define PitPosPair
6826         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6827         ParagraphList, fix a bug on pasting multiple pars
6828         * text2.C: change interface to C&P
6829
6830 2003-04-30  André Pönitz  <poenitz@gmx.net>
6831
6832         * undo_func.C: revert part of yesterday's patch 2
6833
6834 2003-04-30  John Levon  <levon@movementarian.org>
6835
6836         * LColor.C: s/tabular/table/
6837
6838 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6839
6840         * text3.C (dispatch): do not convert iterator -> pointer
6841         * undo_funcs.C (setCursorParUndo): ditto
6842         * text_funcs.C (transposeChars): ditto
6843
6844         * text2.C (setLayout): ws changes only
6845
6846         * text.C (breakParagraph): do not convert iterator -> pointer
6847         (insertChar): ditto
6848         (acceptChange): ditto
6849         (rejectChange): ditto
6850         (changeCase): ditto
6851         (Delete): ditto
6852         (backspace): ditto
6853
6854         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6855         pointer
6856
6857 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6858
6859         * text3.C (gotoInset): YABG (yet another bad getChar)
6860
6861 2003-04-29  André Pönitz  <poenitz@gmx.net>
6862
6863         * paragraph.h: make operator= private unimplemented as long as
6864           it is unusable
6865
6866         * ParagraphList.C: whitespace
6867
6868         * paragraph.[Ch]:
6869         * paragraph_pimpl.[Ch]:
6870         * paragraph_funcs.C:
6871         * CutAndPaste.C:
6872         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6873
6874         * text2.C:
6875           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6876
6877 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6878
6879         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6880         * paragraph.[Ch] (erase):
6881         * paragraph_pimpl.[Ch] (erase): change return type and value
6882         * text2.C (cutSelection): some rework
6883
6884 2003-04-28  John Levon  <levon@movementarian.org>
6885
6886         * bufferlist.C: changes for unsaved changes dialog
6887
6888 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * bufferlist.C (newFile): set language (messages_) for new
6891         documents also.
6892
6893         * buffer.C (readFile): ws changes only.
6894
6895 2003-04-28  André Pönitz  <poenitz@gmx.net>
6896
6897         * undo_funcs.C:
6898         * lyxfunc.C:
6899         * buffer.[Ch]:
6900         * BufferView_pimpl.C:
6901         * BufferView.C: getParFromID related ParagraphList::iterator changes
6902
6903 2003-04-28  André Pönitz  <poenitz@gmx.net>
6904
6905         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6906           Changes
6907
6908 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * messages.C: remove one more localedir class variable.
6911
6912 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * messages.C (getLocaleDir): singleton generation function
6915         (Pimpl): use it.
6916         (Messages): add a default constructor.
6917
6918         * main.C (main): do not setup localedir here, do not call
6919         gettext_init.
6920
6921         * gettext.C (_): use it.
6922         (gettext_init): delete funciton
6923
6924 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * gettext.C (getLyXMessages): new singleton generating function.
6927
6928         * buffer.C (updateDocLang): adjust
6929
6930         * Makefile.am (messages.o): add target
6931         (main.o): remove target
6932
6933 2003-04-27  John Levon  <levon@movementarian.org>
6934
6935         * bufferlist.C:
6936         * lyx_cb.C:
6937         * lyxfunc.C:
6938         * lyxvc.C: specify cancel button in Alert::prompt
6939
6940 2003-04-26  John Levon  <levon@movementarian.org>
6941
6942         * text3.C:
6943         * lyxfunc.C:
6944         * lfuns.h:
6945         * LyXAction.C: add LFUN_INSET_SETTINGS
6946
6947         * lyxfunc.C: don't enable tabular-feature when there's
6948         just any locking inset
6949
6950 2003-04-26  John Levon  <levon@movementarian.org>
6951
6952         * bufferlist.C: re-add Cancel to buffer close question
6953
6954         * lyxfunc.C: fix import UI a bit
6955
6956 2003-04-25  John Levon  <levon@movementarian.org>
6957
6958         * gettext.C: remove the broken asserts for now
6959
6960 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * messages.C: make case where setlocale cannot comply work better.
6963
6964         * buffer.C (updateDocLang): new function
6965         (changeLanguage): use it
6966         (readFile): use it
6967
6968         * text2.C (setCounter): use B_ a bit.
6969
6970         * lyxlayout.C (Read): be sure to trim the label strings.
6971
6972         * messages.C (Messages): fix typo in comment
6973
6974         * buffer.C (readFile): set message_ after file is loaded.
6975         (makeDocBookFile): remove double return
6976         (changeLanguage): reset message_ upon language change.
6977         (B_): new func, use this to get translated buffer strings.
6978
6979         * main.C: add myself and Jean Marc as authors.
6980
6981 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * messages.[hC]: pimplify Messages, and three different pimpls to be
6984         used in different circumstances.
6985
6986         * gettext.[Ch]: change for use with new message code.
6987
6988 2003-04-24 André Pönitz <poenitz@gmx.net>
6989
6990         * factory.C: support for eqref
6991
6992 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * messages.[Ch]: add missing char
6995
6996         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6997
6998         * messages.[Ch]: New files
6999
7000 2003-04-18  John Levon  <levon@movementarian.org>
7001
7002         * BufferView.h:
7003         * BufferView.C:
7004         * BufferView_pimpl.C:
7005         * lfuns.h:
7006         * LyXAction.C:
7007         * lyxtext.h:
7008         * text2.C: remove layout-copy/paste (bug 778)
7009
7010 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7011
7012         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7013
7014 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7015
7016         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7017         if they succeed. Act accordingly.
7018
7019 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * text2.C (setCharFont): adjust
7022         (setCounter): adjust
7023         (insertStringAsLines): adjust
7024
7025         * text.C (leftMargin): adjust
7026         (setHeightOfRow): adjust
7027
7028         * rowpainter.C (paintFirst): adjust
7029         (paintLast): adjust
7030
7031         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7032         (outerHook): ditto
7033         (isFirstInSequence): ditto
7034         (getEndLabel): ditto
7035         (outerFont): adjust
7036
7037         * paragraph.C (getParLanguage): comment out some hard stuff.
7038
7039         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7040         (sgmlError): ditto
7041         (simpleDocBookOnePar): ditto
7042         (makeDocBookFile): use ParagraphList::iterator
7043
7044         * CutAndPaste.C (pasteSelection): adjust
7045
7046 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * text2.C (getFont): adjust
7049         (getLayoutFont): adjust
7050         (getLabelFont): adjust
7051
7052         * paragraph_funcs.C (TeXOnePar): adjust
7053
7054         * buffer.C (simpleLinuxDocOnePar): adjust
7055         (simpleDocBookOnePar): adjust
7056
7057         * CutAndPaste.C (pasteSelection): adjust
7058
7059         * BufferView.C (getEncoding): adjust
7060
7061         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7062
7063 2003-04-16  John Levon  <levon@movementarian.org>
7064
7065         * lyxfind.C: use parlist stuff for search/changes
7066
7067 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7070
7071         * text2.C (deleteEmptyParagraphMechanism): adjust
7072
7073         * text2.[Ch] (ownerParagraph): delete func (both of them
7074
7075 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7078
7079 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * ParagraphList.C: prepare for NO_NEXT
7082
7083 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * text2.C (getFont): adjust
7086         (getLayoutFont): adjust
7087         (getLabelFont): adjust
7088
7089         * paragraph.C (getFont): adjust
7090         (getLabelFont): adjust
7091         (getLayoutFont): adjust
7092
7093         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7094
7095 2003-04-15  John Levon  <levon@movementarian.org>
7096
7097         From Angus Leeming
7098
7099         * lyx_main.C: handle Include in .ui files
7100
7101 2003-04-15  John Levon  <levon@movementarian.org>
7102
7103         * MenuBackend.C: make the doc files length shorter
7104
7105         * ToolbarBackend.h:
7106         * ToolbarBackend.C: handle toolbar placement flags,
7107         Minibuffer
7108
7109 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7112         adjust
7113
7114         * paragraph_funcs.C (TeXOnePar): adjust
7115
7116         * paragraph.C (getLabelFont): add outerfont arg, adjust
7117         (getLayoutFont): ditto
7118         (simpleTeXOnePar): adjust
7119
7120         * paragraph_pimpl.C (realizeFont): delete func
7121
7122 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7125         row argument, constify cur argument.
7126
7127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * text2.C (getFont): adjust
7130         (getLayoutFont): adjust
7131         (getLabelFont): adjust
7132
7133         * paragraph_funcs.C (TeXOnePar): adjust
7134         (outerFont): new func...
7135         (realizeFont): ...moved out from here, changed this to facilitate
7136         transition
7137
7138         * paragraph.C (getFont): take outerfont as arg, adjust
7139         (simpleTeXOnePar): add outerfont arg, adjust
7140
7141         * buffer.C (simpleLinuxDocOnePar): adjust
7142         (simpleDocBookOnePar): adjust
7143
7144         * CutAndPaste.C (pasteSelection): adjust
7145
7146         * BufferView.C (getEncoding): adjust
7147
7148 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * text2.C (setCharFont): adjust
7151         (setCounter): adjust
7152
7153         * text.C (leftMargin): adjust
7154         (setHeightOfRow): adjust
7155
7156         * rowpainter.C (paintFirst): adjust
7157         (paintLast): adjust
7158
7159         * paragraph_pimpl.C (realizeFont): adjust
7160
7161         * paragraph.C (isFirstInSequence): move from here...
7162         * paragraph_funcs.C (isFirstInSequence): ...to here
7163
7164         * paragraph.C (outerHook): move from here...
7165         * paragraph_funcs.C (outerHook): ...to here
7166
7167         * paragraph.C (depthHook): move from here...
7168         * paragraph_funcs.C (depthHook): ...to here
7169
7170         * paragraph.C (getEndLabel): move from here...
7171         * paragraph_funcs.C (getEndLabel): ...to here
7172
7173         * text2.C (realizeFont): move from here...
7174         * paragraph_funcs.C (realizeFont): ...to here
7175
7176 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7179
7180 2003-04-14  Angus Leeming  <leeming@lyx.org>
7181
7182         * LColor.[Ch]: scrap LColor mathcursor.
7183
7184 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7185
7186         * lyxlex.[Ch] (text): delete function
7187         * trans.C (Load): adjust
7188         * paragraph_funcs.C (readParToken): adjust
7189
7190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7193         vector<char> instead of a char[].
7194
7195         * lyxlex_pimpl.C (getString): adjust
7196         (next): adjust
7197         (lex): use getString
7198         (eatLine): adjust
7199         (nextToken): adjust
7200
7201         * lyxlex.C (text): use pimpl_->getString()
7202         (getBool): ditto
7203         (findToken): ditto
7204
7205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7208         (makeFontEntriesLayoutSpecific): temp var for par.size()
7209         (setLayout): temp var for ownerParagraphs().end()
7210         (fullRebreak): temp var for rows().end()
7211         (selectionAsString): temp var for boost::next(startpit), realize
7212         that the while really is a regular for loop.
7213         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7214         setCursor in one place.
7215         (setParagraph): temp vr for ownerParagraphs().end()
7216         (updateCounters): make the while loop a for loop
7217         (cutSelection): temp var for ownerParagraphs().end()
7218         (updateInset): make the do {} while() a regular for loop
7219         (getCursorX): use temp vars
7220         (setCurrentFont): use temp vars
7221         (getColumnNearX): use temp vars
7222
7223 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * text.C (transformChar): use temp var for getChar
7226         (computeBidiTables): use temp var for row->par()
7227         (fill): move temp vars for row->par() and pit->layout() earlier in
7228         the function.
7229         (labelFill): use temp var for row->par()
7230         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7231         asc and desc, realize that pit never changes and that firstpit is
7232         just a duplicate and not needed. Exchange rit->par() with pit in a
7233         lot of places.
7234         (breakAgain): use a temp var for boost::next(rit)
7235         (breakAgainOneRow): ditto
7236         (breakParagraph): use a temp var for rows().begin()
7237         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7238         (cursorRightOneWord): use temp var for cursor.par() and
7239         cursor.pos(), remove usage of tmpcursor.
7240         (cursorLeftOneWord): use temp var for cursor.par() and
7241         cursor.pos() only set cur at end of function.
7242
7243 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * text.C, text2.C: exchange all usage of Paragraph::next with
7246         boost::next(ParagraphList::iterator)
7247
7248         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7249
7250         * text2.C (cursorTop): simplify implementation
7251         (cursorBottom): ditto
7252         (setParagraph): use ParagraphList::iterator
7253         (setCurrentFont): adjust
7254         (getColumnNearX): adjust
7255         (cursorRight): adjust
7256         (cursorLeft): remove usage of Paragraph::previous
7257         (cursorUpParagraph): ditto
7258         (deleteEmptyParagraphMechanism): slight cleanup
7259
7260         * text.C (isBoundary): take a Paragraph const & instead of a
7261         pointer as arg.
7262         (addressBreakPoint): ditto
7263         (leftMargin): remove usage of Paragraph::previous.
7264         (setHeightOfRow): ditto
7265         (cursorLeftOneWord): ditto
7266         (selectNextWordToSpellcheck): ditto
7267         (Delete): ditto
7268         (backspace): ditto
7269         (breakParagraph): remove one usage of Paragraph::next
7270         (redoParagraph): ditto
7271         (acceptChange): ditto
7272         (insertChar): adjust
7273         (rowBreakPoint): adjust
7274
7275         * bufferview_funcs.C (toggleAndShow): adjust
7276
7277 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7278
7279         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7280         methods to access it.
7281         * lyxtext.h:
7282         * text.C: Added updateRowPositions to compute all row positions.
7283         Make top_y and getRowNearY() to use the cached y position
7284
7285 2003-04-11  John Levon  <levon@movementarian.org>
7286
7287         * text.C (rowBreakPoint): reintroduce the labelEnd
7288         checks, code copied from the row fill stuff. Deep voodoo.
7289
7290         * text.C (fill): add a comment and debugging for the
7291         next poor soul.
7292
7293 2003-04-11  John Levon  <levon@movementarian.org>
7294
7295         * text.C: make sure fullrow insets get wrapped to the next line,
7296         even when they're in a manual label
7297
7298 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * text2.C (insertParagraph): make it take ParagraphList::iterator
7301         as arg.
7302         (setLayout): make it return ParagraphList::iterator
7303         (redoParagraphs): ditto
7304         (setCounter): ditto
7305         (checkParagraph): ditto
7306
7307         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7308
7309         * text2.C: adjust several funcs.
7310         (realizeFont): take a ParagraphList::iterator as arg.
7311         (getLayoutFont): ditto
7312         (getLabelFont): ditto
7313         (setCharFont): ditto
7314
7315         * text.C: adjust several funcs.
7316
7317 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7318
7319         * text.C (selectNextWordToSpellcheck): don't accidentally
7320         skip insets
7321
7322 2003-04-10  John Levon  <levon@movementarian.org>
7323
7324         * ToolbarBackend.C (getIcon): special handling for
7325         LFUN_MATH_DELIM
7326
7327 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * text2.C (cursorRight): a getChar assert fixed
7330
7331 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * text2.C (getFont): change to take a ParagraphList::iterator
7334         instead of Paragraph*
7335         Adjust several functions.
7336
7337         * text.C (transformChar): change to take a ParagraphList::iterator
7338         instead of Paragraph*
7339         (singleWidth): ditto
7340         Adjust several functions.
7341
7342         * rowpainter.C: adjust several functions
7343         * rowpainter.h:store a ParagraphList::iterator and not a
7344         Paragraph&.
7345
7346
7347 2003-04-09  John Levon  <levon@movementarian.org>
7348
7349         * lyxfunc.C:
7350         * lfuns.h:
7351         * LyXAction.h:
7352         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7353         and the "help" bits as well
7354
7355 2003-04-09  John Levon  <levon@movementarian.org>
7356
7357         * ToolbarBackend.h:
7358         * ToolbarBackend.C: allow multiple toolbars
7359
7360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * undo_funcs.C (setCursorParUndo): adjust
7363
7364         * text_funcs.C (transposeChars): adjust
7365
7366         * text3.C (gotoNextInset): adjust
7367         (dispatch): adjust
7368
7369         * text2.C (setLayout): adjust
7370         (changeDepth): adjust
7371         (setFont): adjust
7372         (redoParagraphs): adjust
7373         (selectionAsString): adjust
7374         (setParagraph): adjust
7375         (insertInset): adjust
7376         (cutSelection): adjust
7377         (copySelection): adjust
7378         (pasteSelection): adjust
7379         (insertStringAsLines): adjust
7380         (updateInset): adjust
7381         (setCursor): change to take a ParagraphList::iterator parameter
7382         (setCursorIntern): change to take a ParagraphList::iterator parameter
7383         (setCurrentFont): adjust
7384         (cursorLeft): adjust
7385         (cursorRight): adjust
7386         (deleteEmptyParagraphMechanism): adjust
7387
7388         * text.C (breakParagraph): adjust
7389         (insertChar): adjust
7390         (acceptChange): adjust
7391         (rejectChange): adjust
7392         (selectNextWordToSpellcheck): adjust
7393         (changeCase): adjust
7394         (Delete): adjust
7395         (backspace): adjust
7396
7397         * lyxfind.C (SearchForward): adjust
7398         (SearchBackward): adjust
7399         (nextChange): adjust
7400
7401         * lyxcursor.C (par): adjust
7402
7403         * lyxcursor.h: store a ParagraphList::iterator instead of a
7404         Paragraph*
7405
7406         * lyx_cb.C (getPossibleLabel): adjust
7407
7408         * bufferview_funcs.C (toggleAndShow): adjust
7409
7410         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7411         (dispatch): adjust
7412
7413         * BufferView.C (removeAutoInsets): adjust
7414         (lockedInsetStoreUndo): adjust
7415
7416 2003-04-09  John Levon  <levon@movementarian.org>
7417
7418         * ToolbarBackend.C: try icon without argument
7419         if with argument fails
7420
7421 2003-04-08  John Levon  <levon@movementarian.org>
7422
7423         * ToolbarBackend.h:
7424         * ToolbarBackend.C: add getIcon(), handle tooltip,
7425         and change from "Icon" to "Item".
7426
7427 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7428
7429         * BufferView.C (lockInset): another bad getchar crunched
7430
7431 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7432
7433         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7434         again)
7435
7436 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7437
7438         * lyxfind.C (searchForward, searchBackwards): bug 782
7439
7440 2003-04-07  John Levon  <levon@movementarian.org>
7441
7442         * paragraph.C: remove dead comment
7443
7444         * text.C: remove troublesome depth-fiddling code
7445         in leftMargin() and rightMargin() (bug 1017)
7446
7447         * text.C: fix breaking of rows in nested lists
7448         (bug 1004)
7449
7450         * text2.C (updateCounters): fix up depth values
7451         (bug 1013)
7452
7453 2003-04-07  John Levon  <levon@movementarian.org>
7454
7455         * BufferView_pimpl.C: clear message when doc finishes resizing,
7456         and after a mouse event
7457
7458         * lyxfunc.C: clear message after exiting inset
7459
7460 2003-04-07  John Levon  <levon@movementarian.org>
7461
7462         * bufferview_funcs.C: show math status not outside
7463         status in the statusbar
7464
7465 2003-04-07  John Levon  <levon@movementarian.org>
7466
7467         * lyxfunc.C: note status changed after a depth change
7468
7469 2003-04-04  Angus Leeming  <leeming@lyx.org>
7470
7471         * LaTeX.h: move AuxInfo operator==, != out of line.
7472         Remove LaTeX virtual destructor; nothing derives from it.
7473         Move operator()() out of public area and rename it startscript().
7474         Change protected for private.
7475
7476 2003-04-04  Angus Leeming  <leeming@lyx.org>
7477
7478         * lyxfunc.C:
7479         * text2.C: remove unneeded #includes.
7480
7481 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7482
7483         * text2.C (dEPM): fix the heigth of the next row
7484
7485 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7486
7487         * text.C: squashed an invalid getChar requester + some ws changes
7488
7489 2003-04-03  John Levon  <levon@movementarian.org>
7490
7491         * bufferview_funcs.h:
7492         * bufferview_funcs.C:
7493         * lyxfunc.C:
7494         * lyxtext.h:
7495         * text2.C: make getStatus work for the env depth lfuns
7496
7497 2003-04-03  John Levon  <levon@movementarian.org>
7498
7499         * bufferview_funcs.h:
7500         * bufferview_funcs.C:
7501         * lyxfunc.C:
7502         * lyxtext.h:
7503         * text2.C: parlistize decDepth(), by merging it with incDepth()
7504
7505 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * lyxrow.h: store a ParagraphList::iterator instead of a
7508         Paragraph* and adjust other class functions to suit.
7509
7510         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7511         above.
7512
7513 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7514
7515         * text2.C (setCursor): do not anchor to cursor row for the time being
7516
7517 2003-04-02  John Levon  <levon@movementarian.org>
7518
7519         * LyXAction.C:
7520         * lfuns.h:
7521         * lyx_main.C:
7522         * lyxtext.h:
7523         * text.C:
7524         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7525
7526 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * paragraph.h: make ParagraphList and ParagraphList::iterator
7529         friends of Paragraph.
7530
7531         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7532
7533         * ParagraphList.C: Use the private next_ and previous_ from
7534         Paragraph.
7535
7536 2003-04-01  John Levon  <levon@movementarian.org>
7537
7538         * ToolbarBackend.h:
7539         * ToolbarBackend.C:
7540         * Makefile.am: rename, remove defaults gunk
7541
7542         * MenuBackend.h:
7543         * MenuBackend.C: remove defaults gunk
7544
7545         * Languages.h:
7546         * Languages.C: remove defaults gunk
7547
7548         * lyx_main.h:
7549         * lyx_main.C: error out if files couldn't be found.
7550
7551 2003-04-02  John Levon  <levon@movementarian.org>
7552
7553         * text2.C: make incDepth() use parlist
7554
7555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * undo_funcs.C (firstUndoParagraph): adjust
7558
7559         * text3.C (gotoInset): adjust
7560         (dispatch): adjust, and rewrite loop.
7561
7562         * text2.C (init): adjust, and rewrite loop.
7563         (redoParagraphs): adjust
7564         (updateInset): adjust, and rewrite loop.
7565         (deleteEmptyParagraphMechanism): adjust
7566
7567         * tabular.C (LyXTabular): adjust
7568         (SetMultiColumn): adjust
7569         (TeXRow): adjust
7570
7571         * lyxtext.[Ch] (ownerParagraph): delete function
7572         (ownerParagraphs): new function returns a ParagraphList.
7573
7574         * BufferView.C (removeAutoInsets): adjust
7575         (insertErrors): adjust
7576         (setCursorFromRow): adjust
7577
7578 2003-04-01  Angus Leeming  <leeming@lyx.org>
7579
7580         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7581         in the frontends.
7582
7583 2003-04-02  John Levon  <levon@movementarian.org>
7584
7585         * lyxtext.h:
7586         * text.C:
7587         * Makefile.am:
7588         * text_funcs.h:
7589         * text_funcs.C: make transposeChars a free function
7590
7591         * lyxrow_funcs.C: remove wrong comment
7592
7593 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * lyxtext.h: adjust
7596         * rowpainter.C: adjust
7597         * text.C: adjust
7598         * text2.C: adjust
7599         * text3.C: adjust
7600
7601         * lyxrow_funcs. [Ch]: new files
7602
7603         * lyxrow.[Ch]: remove next and previous pointers
7604         (next,previous): remove accessor functions
7605         (isParEnd): move to lyxrow_funcs
7606         (lastPos): move to lyxrow_funcs
7607         (nextRowIsAllInset): move to lyxrow_funcs
7608         (lastPrintablePos): move to lyxrow_funcs
7609         (numberOfSeparators): move to lyxrow_funcs
7610         (numberOfHfills): move to lyxrow_funcs
7611         (numberOfLabelHfills): move to lyxrow_funcs
7612         (hfillExpansion): move to lyxrow_funcs
7613
7614         * lyxfunc.C: adjust
7615
7616         * bufferview_funcs.C (toggleAndShow): adjust
7617
7618         * RowList.h: Remove class RowList from file leave just a
7619         std::list<Row>.
7620
7621         * RowList.C: delete file
7622
7623         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7624         and lyxrow_funcs.h
7625
7626 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * text3.C (cursorPrevious): adjust
7629         (cursorNext): adjust
7630         (dispatch): adjust
7631
7632         * text2.C (redoHeightOfParagraph): adjust
7633         (redoDrawingOfParagraph): adjust
7634         (setCursor): adjust
7635
7636         * text.C (breakParagraph): adjust
7637         (insertChar): adjust
7638         (backspace): adjust
7639
7640         * rowpainter.C (RowPainter): adjust
7641         (leftMargin): simplify and adjust
7642         (most rowpainter functions): adjust.
7643
7644         * rowpainter.h: store the row as RowList::iterator not as Row*
7645
7646         * lyxcursor.C (row): taka RowList::iterator as arg
7647         (irow): ditto
7648
7649         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7650         of Row*.
7651
7652 2003-04-01  Angus Leeming  <leeming@lyx.org>
7653
7654         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7655         stuff like bool Bool.
7656
7657 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7658
7659         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7660         rewrite a loop
7661
7662 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7665         RowList::iterator.
7666
7667         * lyxtext.h (rows): drop one version and leve a const variant that
7668         returns a RowList::iterator.
7669
7670 2003-03-31  Angus Leeming  <leeming@lyx.org>
7671
7672         * text.C (fill): ensure that the signature is the same as that in the
7673         header file.
7674
7675 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * text2.C (redoParagraphs): adjust
7678         (updateCounters): adjust
7679         (checkParagraph): adjust
7680         (getColumnNearX): adjust and reformat a bit.
7681
7682         * text.C (top_y): adjust
7683         (workWidth): adjust
7684         (leftMargin): adjust
7685         (prepareToPrint): adjust
7686         (getRow): adjust
7687         (getRowNearY): adjust
7688
7689         * lyxtext.h: make rowlist_ mutable.
7690
7691         * RowList.h: add const_iterator
7692         * RowList.C: adjust for RowList::const_iterator.
7693
7694         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7695         adjust.
7696
7697 2003-03-31  John Levon  <levon@movementarian.org>
7698
7699         * lyxrc.h:
7700         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7701
7702         * lyx_main.C: set default fonts from using lyx_gui funcs
7703
7704         * exporter.C: pdf_mode moved from lyxrc
7705
7706         * lyx_cb.C:
7707         * lyxfunc.C: changes from above
7708
7709 2003-03-31  John Levon  <levon@movementarian.org>
7710
7711         * lyx_main.C: fix to the last fix
7712
7713 2003-03-31  John Levon  <levon@movementarian.org>
7714
7715         * bufferlist.C: "Load original" -> "Load Original"
7716
7717         * converter.C:
7718         * exporter.C:
7719         * importer.C:
7720         * lyx_main.C:
7721         * format.C: more Alert cleanups
7722
7723 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * text2.C (removeParagraph): make it take a RowList::iterator as
7726         arg, adjust.
7727         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7728         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7729
7730         * text.C (anchor_row): make it take a RowList::iterator as arg,
7731         adjust.
7732         (computeBidiTables): make it take a const reference to Row instead
7733         of Row pointer, adjust.
7734         (leftMargin): make it take a RowList::iterator as arg, adjust.
7735         (rowBreakPoint): adjust
7736         (breakAgainOneRow): make it take a RowList::iterator as arg,
7737         adjust.
7738         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7739
7740         * bufferview_funcs.C (toggleAndShow): adjust
7741
7742 2003-03-30  John Levon  <levon@movementarian.org>
7743
7744         * Makefile.am:
7745         * BoostFormat.h:
7746         * boost-inst.C: moved to support
7747
7748         * several files: changes as a result
7749
7750 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * text2.C (LyXText): adjust.
7753         (init): adjust
7754         (removeRow): make it take a RowList::iterator as arg, adjust.
7755         (fullRebreak): adjust
7756         (deleteEmptyParagraphMechanism): adjust
7757         (clearPaint): adjust
7758         (postPaint): adjust
7759
7760         * text.C (top_y): adjust
7761         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7762         (breakAgain): make it take a RowList::iterator as arg, adjust.
7763         (breakParagraph): adjust
7764         (insertChar): adjust
7765         (backspace): adjust
7766
7767         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7768         need_break_row, and refresh_row.
7769
7770         * text3.C (dispatch): adjust
7771
7772         * text2.C (checkParagraph): adjust
7773         (setCursor): adjust
7774         (setCursorFromCoordinates): adjust
7775
7776         * text.C (top_y): adjust
7777         (workWidth): adjust
7778         (getRow): make it return a RowList::iterator, adjust
7779         (getRowNearY): make it return a RowList::iterator, adjust
7780
7781         * text2.C (init): adjust
7782         (insertRow): remove function
7783         (insertParagraph): adjust
7784         (redoParagraphs): adjust
7785         (fullRebreak): adjust
7786         (updateCounters): adjust
7787
7788         * text.C (top_y): rewrite to use RowList iterators.
7789         (top_y): adjust
7790         (setHeightOfRow): rewrite to sue RowList iterators.
7791         (appendParagraph): adjust
7792         (breakAgain): adjust
7793         (breakAgainOneRow): adjust
7794         (breakParagraph): adjust
7795         (getRow): adjust
7796         (getRowNearY): adjust, and remove commented code.
7797
7798         * lyxtext.h (firstRow): delete function
7799         (lastRow): delete function
7800         (rows): new function (const and non-const versions.)
7801         (insertRow): delete function
7802
7803         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7804
7805 2003-03-29  John Levon  <levon@movementarian.org>
7806
7807         * BufferView_pimpl.C: always update scrollbar top
7808         because pasting text when we're anchored could mean we
7809         miss an update altogether
7810
7811 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * text2.C (init): use rowlist_.end() and not 0.
7814         (insertRow): change to take a RowList::iterator as arg, adjust
7815         for this.
7816         (insertParagraph): change to take a RowList::iterator as arg,
7817         adjust for this.
7818         (redoParagraphs): remove some debug msgs.
7819
7820         * text.C (appendParagraph): change to take a RowList::iterator
7821         arg, adjust for this.
7822         (breakAgain): add an assert
7823         (breakAgainOneRow): ditto
7824
7825 2003-03-29  John Levon  <levon@movementarian.org>
7826
7827         * text2.C: do not clear selection after inc/decDepth
7828         (bug 550)
7829
7830 2003-03-29  John Levon  <levon@movementarian.org>
7831
7832         * BufferView.C:
7833         * buffer.C: fix broken strerrors according to Lars
7834
7835 2003-03-29  John Levon  <levon@movementarian.org>
7836
7837         * converters.C: more Alert cleanups
7838
7839 2003-03-29  John Levon  <levon@movementarian.org>
7840
7841         * bufferview_funcs.C: remove pointless Alert
7842
7843         * buffer.C: fix confusing error message when
7844         a template is chmoded 000
7845
7846 2003-03-29  John Levon  <levon@movementarian.org>
7847
7848         * BufferView.C:
7849         * BufferView.h:
7850         * BufferView_pimpl.C: Alert fixes
7851
7852         * Makefile.am:
7853         * tabular.C:
7854         * tabular-old.C: remove unused table compat reading
7855
7856 2003-03-29  John Levon  <levon@movementarian.org>
7857
7858         * BufferView.C:
7859         * buffer.C:
7860         * lyx_cb.h:
7861         * lyx_cb.C: more Alert cleanups
7862
7863         * lyxfunc.C: don't allow chktex if not latex document
7864
7865 2003-03-29  John Levon  <levon@movementarian.org>
7866
7867         * lyx_cb.C:
7868         * BufferView.C:
7869         * buffer.C: warnings pushed down from support/,
7870         kill err_alert
7871
7872 2003-03-29  John Levon  <levon@movementarian.org>
7873
7874         * lyxfunc.C: safety check for C-r (revert)
7875
7876 2003-03-29  John Levon  <levon@movementarian.org>
7877
7878         * bufferlist.h:
7879         * bufferlist.C: several UI fixes using Alert::prompt.
7880         Fix the pointless looping quit code. Fix stupid revert
7881         behaviour (bug 938)
7882
7883         * lyxvc.h:
7884         * lyxvc.C:
7885         * lyx_cb.C: use Alert::prompt
7886
7887         * lyx_main.C: remove a silly question
7888
7889         * lyxfunc.C: remove a couple of silly questions,
7890         use Alert::prompt
7891
7892 2003-03-28  John Levon  <levon@movementarian.org>
7893
7894         * text2.C: fix bug 974 (End on empty par)
7895
7896 2003-03-28  John Levon  <levon@movementarian.org>
7897
7898         * BufferView_pimpl.C:
7899         * LyXAction.C:
7900         * lfuns.h: remove do-nothing math greek lfuns
7901
7902 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * lyxgluelength.h (isValidGlueLength): add default arg on
7905         parameter 2. Remove default arg from friend in class.
7906
7907         * lyxlength.h (isValidLength): add default arg on parameter 2.
7908         Remove default arg from friend in class.
7909
7910         * text2.C (LyXText): adjust, initialize refresh_row.
7911         (init): adjust
7912         (removeRow): adjust
7913         (insertRow): adjust
7914         (insertParagraph): adjst
7915         (redoParagraphs): adjust
7916         (fullRebreak): adjust
7917         (updateCounters): adjust
7918         (deleteEmptyParagraphMechanism): first attempt at fixing a
7919         crashing bug.
7920
7921         * text.C (top_y): adjust
7922         (setHeightOfRow): adjust
7923         (getRow): adjust
7924         (getRowNearY): adjust
7925
7926         * lyxtext.h: include RowList.h
7927         (~LyXText): not needed anymore, deleted.
7928         (firstRow): modify for RowList
7929         (lastRow): new function
7930         Delete firstrow and lastrow class variables, add a Rowlist
7931         rowlist_ class variable.
7932
7933         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7934         paragraph is empty.
7935
7936         * RowList.C (insert): fix case where it == begin().
7937
7938 2003-03-26  Angus Leeming  <leeming@lyx.org>
7939
7940         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7941         the thesaurus dialog.
7942
7943 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7946
7947         * RowList.[Ch]: new files
7948
7949         * ParagraphList.C (erase): handle the case where it == begin
7950         correctly.
7951
7952 2003-03-25  John Levon  <levon@movementarian.org>
7953
7954         * Makefile.am:
7955         * aspell_local.h:
7956         * aspell.C: add new aspell support
7957
7958         * lyxrc.h:
7959         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7960         have it accessible.
7961
7962 2003-03-25  Angus Leeming  <leeming@lyx.org>
7963
7964         * lfuns.h:
7965         * LyXAction.C (init): new LFUN_INSET_INSERT.
7966
7967         * BufferView_pimpl.C (dispatch): split out part of the
7968         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7969
7970         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7971         LFUN_INSET_APPLY.
7972
7973 2003-03-25  Angus Leeming  <leeming@lyx.org>
7974
7975         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7976
7977 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7978
7979         * text2.C:
7980         * text3.C: remove useless row->height(0)
7981
7982 2003-03-25  John Levon  <levon@movementarian.org>
7983
7984         * lyxtext.h:
7985         * text2.C:
7986         * text3.C: rename the refreshing stuff to better names
7987
7988 2003-03-24  John Levon  <levon@movementarian.org>
7989
7990         * BufferView_pimpl.h:
7991         * BufferView_pimpl.C: update layout choice on a mouse
7992         press/release
7993
7994 2003-03-23  John Levon  <levon@movementarian.org>
7995
7996         * Makefile.am: fix commandtags.h reference
7997
7998 2003-03-22  John Levon  <levon@movementarian.org>
7999
8000         * BufferView_pimpl.C:
8001         * lyxtext.h:
8002         * rowpainter.C:
8003         * rowpainter.h:
8004         * text.C:
8005         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8006
8007 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8008
8009         * lyxtext.h:
8010         * text.C: take the rtl methods out of line
8011
8012 2003-03-21 André Pönitz <poenitz@gmx.net>
8013
8014         * metricsinfo.[Ch]: new files containing structures to be passed around
8015         during the two-phase-drawing...
8016
8017 2003-03-21 André Pönitz <poenitz@gmx.net>
8018
8019         * lyxtextclass.C: read 'environment' tag.
8020
8021 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8022
8023         * text2.C (removeRow): fix bug 964
8024
8025 2003-03-20  John Levon  <levon@movementarian.org>
8026
8027         * rowpainter.C:
8028         * text.C:
8029         * text2.C: paint cleanups. Inset::update() dropped font
8030         parameter
8031
8032 2003-03-19  John Levon  <levon@movementarian.org>
8033
8034         * lyxfunc.C: only fitcursor/markDirty if available()
8035
8036 2003-03-19  John Levon  <levon@movementarian.org>
8037
8038         * commandtags.h: rename to ...
8039
8040         * lfuns.h: ... this, and renumber / cleanup
8041
8042 2003-03-19  John Levon  <levon@movementarian.org>
8043
8044         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8045         fit the cursor after an lfun
8046
8047         * BufferView.h:
8048         * BufferView.C:
8049         * BufferView_pimpl.h:
8050         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8051
8052         * LyXAction.C: layout-character should have ReadOnly
8053
8054         * ParagraphParameters.C:
8055         * buffer.C:
8056         * bufferview_funcs.C:
8057         * lyx_cb.C:
8058         * lyxfind.C:
8059         * lyxtext.h:
8060         * text.C:
8061         * text2.C:
8062         * text3.C:
8063         * undo_funcs.C: changes from above
8064
8065 2003-03-18  John Levon  <levon@movementarian.org>
8066
8067         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8068         remove it from update()
8069
8070         * lyxfunc.C: update layout choice after an lfun
8071
8072         * text3.C: remove extra updateLayoutChoice()s
8073
8074 2003-03-18  John Levon  <levon@movementarian.org>
8075
8076         * text.C: top_y change means full repaint, fix
8077         a drawing bug with cursor movement
8078
8079 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8080
8081         * lyxtext.h:
8082         * text.C:
8083         * text2.C: anchor row on setCursor
8084
8085 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * lyxtext.h: remove almost all mutable keywords
8088         * text.C:
8089         * text2.C:
8090         * text3.C: remove const keywords accordingly
8091
8092 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8095         anon namespace
8096         (TeXEnvironment): ditto
8097         (TeXOnePar): ditto
8098
8099 2003-03-17  John Levon  <levon@movementarian.org>
8100
8101         * text.C (rowBreakPoint): remove attempt to fix displayed
8102         math insets inside a manual label
8103
8104 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8105
8106         * lyxtext.h: remove BufferView* as first arg from almost all class
8107         functions.
8108         * other files: adjust.
8109
8110 2003-03-17  John Levon  <levon@movementarian.org>
8111
8112         * lyxtext.h:
8113         * undo_funcs.C:
8114         * text2.C: more paint cleanups
8115
8116         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8117
8118         * rowpainter.h:
8119         * rowpainter.C: remove "smart" background painting code
8120
8121 2003-03-16  John Levon  <levon@movementarian.org>
8122
8123         * lyxtext.h:
8124         * text.C:
8125         * text2.C:
8126         * text3.C: add helper functions for setting refresh_row/y
8127
8128 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8129
8130         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8131         newline inset which *can* get inserted in the pass_thru layouts.
8132         This is primarily for literate documents.
8133
8134 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8135
8136         * buffer.C: increment LYX_FORMAT to 223
8137
8138 2003-03-14 André Pönitz <poenitz@gmx.net>
8139
8140         * textclass.h: prepare for environment handling, ws changes
8141         * lyxlayout.C: read latexheader and latexfooter tags
8142
8143 2003-03-14  John Levon  <levon@movementarian.org>
8144
8145         * text2.C: rewrite ::status() a bit
8146
8147 2003-03-13  John Levon  <levon@movementarian.org>
8148
8149         * lyxtext.h: add some docs
8150
8151 2003-03-13  John Levon  <levon@movementarian.org>
8152
8153         * lyxtext.h:
8154         * text.C:
8155         * text2.C:
8156         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8157
8158 2003-03-13  John Levon  <levon@movementarian.org>
8159
8160         * text3.C: fix appendix redrawing
8161
8162 2003-03-13  John Levon  <levon@movementarian.org>
8163
8164         * text.C (setHeightOfRow):
8165         * rowpainter.h:
8166         * rowpainter.C: make appendix mark have the text
8167           "Appendix" so the user knows what it is
8168
8169         * LColor.h:
8170         * LColor.C: s/appendixline/appendix/ from above
8171
8172 2003-03-13  John Levon  <levon@movementarian.org>
8173
8174         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8175
8176         * text.C: fix a getChar(pos) bug properly
8177
8178 2003-03-13  Angus Leeming  <leeming@lyx.org>
8179
8180         * commandtags.h:
8181         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8182         Probably only temporary. Let's see how things pan out.
8183
8184         * BufferView.C (unlockInset):
8185         * BufferView_pimpl.C (fitCursor):
8186         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8187
8188         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8189         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8190
8191         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8192         new functions that convert ParagraphParameters to and from a string.
8193
8194         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8195         BufferView::Pimpl's dispatch.
8196         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8197
8198 2003-03-13 André Pönitz <poenitz@gmx.net>
8199
8200         * lyxfunc.C:
8201         * text3.C:
8202         * factory.C: make it aware of InsetEnv
8203
8204 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * text2.C (setCursor): never ask for one past last
8207         (setCursor): add some debugging messages.
8208
8209         * text.C (singleWidth): never ask for one past last
8210         (singleWidth): ditto
8211         (leftMargin): ditto
8212         (rightMargin): ditto
8213         (rowBreakPoint): ditto
8214         (setHeightOfRow): ditto
8215         (prepareToPrint): ditto
8216
8217         * rowpainter.C (paintBackground): never ask for one past last
8218         (paintText): never ask for one past last
8219
8220         * paragraph_pimpl.C (getChar): make the assert stricter, never
8221         allow the one past last pos to be taken
8222
8223         * paragraph.C (getChar): ws changes only
8224
8225         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8226         (numberOfSeparators): ditto
8227         (numberOfHfills): ditto
8228
8229 2003-03-12  John Levon  <levon@movementarian.org>
8230
8231         * author.h:
8232         * author.C:
8233         * bufferparams.h:
8234         * bufferparams.C:
8235         * paragraph_funcs.C: fix per-buffer authorlists
8236
8237 2003-03-12  John Levon  <levon@movementarian.org>
8238
8239         * text.C: fix newline in right address
8240
8241 2003-03-12  Angus Leeming  <leeming@lyx.org>
8242
8243         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8244         duplicate those in LyXFunc::dispatch.
8245
8246         * commandtags.h:
8247         * LyXAction.C:
8248         * ToolbarDefaults.C:
8249         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8250         Add LFUN_FONTFREE_UPDATE.
8251
8252         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8253         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8254
8255         * bufferview_func.[Ch]: several new functions to facilliate
8256         transfer of data to and from the character dialog.
8257
8258 2003-03-12  John Levon  <levon@movementarian.org>
8259
8260         * buffer.C:
8261         * paragraph.h:
8262         * paragraph.C:
8263         * paragraph_funcs.C:
8264         * paragraph_pimpl.C:
8265         * sgml.C:
8266         * tabular.C:
8267         * text.C:
8268         * text3.C: remove META_NEWLINE in favour of an inset
8269
8270         * rowpainter.h:
8271         * rowpainter.C: remove paintNewline (done by inset)
8272
8273 2003-03-12  John Levon  <levon@movementarian.org>
8274
8275         * paragraph_pimpl.C: complain about bad getChar()s
8276         for a while at least
8277
8278 2003-03-12  John Levon  <levon@movementarian.org>
8279
8280         * buffer.h:
8281         * buffer.C: move paragraph read into a separate function,
8282         a little renaming to reflect that.
8283
8284         * bufferparams.h:
8285         * bufferparams.C: remove the author_ids map, not necessary now
8286
8287         * factory.h:
8288         * factory.C: moved Buffer::readInset to here
8289
8290         * paragraph_funcs.h:
8291         * paragraph_funcs.C: readParagraph free function moved from
8292         buffer.C
8293
8294         * tabular.C: name change
8295
8296 2003-03-12  John Levon  <levon@movementarian.org>
8297
8298         * buffer.C:
8299         * ParagraphParameters.C: move par params input to
8300         a read() method
8301
8302         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8303         behave like a normal read from the stream wrt reading
8304         a line vs. a \\token
8305
8306 2003-03-12  John Levon  <levon@movementarian.org>
8307
8308         * paragraph.C:
8309         * ParagraphParameters.h:
8310         * ParagraphParameters.C: move output code to a
8311         ::write() method
8312
8313 2003-03-12  John Levon  <levon@movementarian.org>
8314
8315         * BufferView.C (insertLyXFile):
8316         * buffer.h:
8317         * buffer.C:
8318         * tabular.C: use a parlist iterator for creating the
8319           document.
8320
8321 2003-03-12  John Levon  <levon@movementarian.org>
8322
8323         * buffer.C: make current_change static local not
8324           static file-scope
8325
8326 2003-03-12  John Levon  <levon@movementarian.org>
8327
8328         * buffer.C: fix insertStringAsLines for change tracking
8329
8330 2003-03-12  John Levon  <levon@movementarian.org>
8331
8332         * BufferView.C:
8333         * tabular.C:
8334         * buffer.h:
8335         * buffer.C:
8336         * bufferparams.h:
8337         * bufferparams.C: move author list into params. Rename some
8338           functions. Move the header reading into a separate token
8339           loop. Move the header token reading into BufferParams.
8340
8341 2003-03-12  John Levon  <levon@movementarian.org>
8342
8343         * changes.C: put debug inside lyxerr.debugging() checks
8344
8345 2003-03-11 André Pönitz <poenitz@gmx.net>
8346
8347         * factory.C: make it aware of InsetHFill
8348
8349 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8350
8351         * buffer.C (latexParagraphs): move function from here...
8352         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8353         args.
8354
8355 2003-03-10  Angus Leeming  <leeming@lyx.org>
8356
8357         * LyXAction.C (init): fix bug in poplating array with multiple entries
8358         with the same LFUN (spotted by JMarc).
8359
8360 2003-03-10  John Levon  <levon@movementarian.org>
8361
8362         * text.C:
8363         * text2.C: move getColumnNearX() near its
8364         only call site
8365
8366 2003-03-10  John Levon  <levon@movementarian.org>
8367
8368         * text.C: fix break before a minipage
8369
8370 2003-03-10  John Levon  <levon@movementarian.org>
8371
8372         * text.C: fix the last commit
8373
8374 2003-03-09  John Levon  <levon@movementarian.org>
8375
8376         * lyxtext.h:
8377         * text.C:
8378         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8379         bug 365 (don't break before insets unless needed). Don't
8380         return a value > last under any circumstances.
8381
8382 2003-03-09  Angus Leeming  <leeming@lyx.org>
8383
8384         * BufferView_pimpl.C (trackChanges, dispatch): call
8385         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8386
8387 2003-03-09  Angus Leeming  <leeming@lyx.org>
8388
8389         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8390         than Dialogs::showAboutlyx().
8391
8392 2003-03-09  Angus Leeming  <leeming@lyx.org>
8393
8394         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8395         than Dialogs::showTabularCreate().
8396
8397 2003-03-09  John Levon  <levon@movementarian.org>
8398
8399         * lyxtext.h:
8400         * text.C:
8401         * text2.C: 3rd arg to nextBreakPoint was always the same.
8402           Use references.
8403
8404 2003-03-08  John Levon  <levon@movementarian.org>
8405
8406         * lyxrow.C:
8407         * paragraph.C:
8408         * paragraph.h:
8409         * rowpainter.C:
8410         * text.C:
8411         * text2.C: Remove the "main" bit from the "main body"
8412           notion.
8413
8414 2003-03-08  John Levon  <levon@movementarian.org>
8415
8416         * text.C (leftMargin): The left margin of an empty
8417         manual label paragraph should not include the label width
8418         string length.
8419
8420         * text.C (prepareToPrint): don't attempt to measure hfills
8421         for empty manual label paragraphs - the answer should be 0
8422
8423 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * CutAndPaste.C: remove commented code and reindent.
8426
8427 2003-03-08  John Levon  <levon@movementarian.org>
8428
8429         * lyxfunc.h:
8430         * lyxfunc.C: move reloadBuffer()
8431
8432         * BufferView.h:
8433         * BufferView.C: to here
8434
8435         * lyxvc.C: add comment
8436
8437         * vc-backend.h:
8438         * vc-backend.C: call bv->reload() to avoid
8439           getStatus() check on MENURELOAD
8440
8441 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8442
8443         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8444         to an old format .dep file.
8445
8446 2003-03-07  Angus Leeming  <leeming@lyx.org>
8447
8448         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8449         when the LFUN_MOUSE_RELEASE should have been handled by
8450         inset->localDispatch.
8451
8452 2003-03-07  Angus Leeming  <leeming@lyx.org>
8453
8454         * BufferView_pimpl.C (dispatch):
8455         * LyXAction.C (init):
8456         * ToolbarDefaults.C (init):
8457         * commandtags.h:
8458         * lyxfunc.C (getStatus):
8459         remove LFUN_INSET_GRAPHICS.
8460
8461         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8462
8463 2003-03-07  Angus Leeming  <leeming@lyx.org>
8464
8465         * commandtags.h:
8466         * LyXAction.C (init):
8467         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8468
8469         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8470
8471         * commandtags.h:
8472         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8473
8474         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8475         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8476
8477 2003-03-07  Angus Leeming  <leeming@lyx.org>
8478
8479         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8480         remove "ert".
8481
8482 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * ParagraphList.C (front): new function
8485         (back): implement
8486
8487 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8488
8489         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8490         and top_row_offset_. removed var first_y.
8491         * text.C (top_y):
8492         * text2.C (LyXText, removeRow):
8493         * text3.C:
8494         * BufferView_pimpl.C:
8495         use these methods instead of using first_y
8496
8497 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * text2.C (pasteSelection): adjust for checkPastePossible
8500
8501         * CutAndPaste.C: remove Paragraph * buf and replace with
8502         ParagraphList paragraphs.
8503         (DeleteBuffer): delete
8504         (cutSelection): change the tc type to textclass_type
8505         (copySelection): change the tc type to textclass_type
8506         (copySelection): adjust for ParagraphList
8507         (pasteSelection): change the tc type to textclass_type
8508         (pasteSelection): adjust for Paragraphlist
8509         (nrOfParagraphs): simplify for ParagraphList
8510         (checkPastePossible): simplify for ParagraphList
8511         (checkPastePossible): remove unused arg
8512
8513         * ParagraphList.C (insert): handle the case where there are no
8514         paragraphs yet.
8515
8516         * CutAndPaste.h: make CutAndPaste a namespace.
8517
8518         * text3.C (dispatch): adjust
8519
8520         * text.C (breakParagraph): add a ParagraphList as arg
8521
8522         * paragraph_funcs.C (breakParagraph): change to take a
8523         BufferParams and a ParagraphList as args.
8524         (breakParagraphConservative): ditto
8525         (mergeParagraph): ditto
8526         (TeXDeeper): add a ParagraphList arg
8527         (TeXEnvironment): ditto
8528         (TeXOnePar): ditto
8529
8530         * buffer.C (readLyXformat2): adjust
8531         (insertStringAsLines): adjust
8532         (latexParagraphs): adjust
8533
8534         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8535         (cutSelection): adjust
8536         (pasteSelection): adjust
8537
8538         * BufferView_pimpl.C (insertInset): adjust
8539
8540 2003-03-05  Angus Leeming  <leeming@lyx.org>
8541
8542         * commandtags.h:
8543         * LyXAction.C (init):
8544         * BufferView_pimpl.C (dispatch):
8545         * lyxfunc.C (getStatus):
8546         remove LFUN_CHILD_INSERT.
8547
8548         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8549
8550 2003-03-05  Angus Leeming  <leeming@lyx.org>
8551
8552         * commandtags.h:
8553         * LyXAction.C (init):
8554         * src/factory.C (createInset):
8555         * lyxfunc.C (getStatus):
8556         * text3.C (dispatch):
8557         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8558
8559         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8560
8561 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * ParagraphList.C (insert): handle insert right before end()
8564         (erase): fix cases where it can be first or last paragraph.
8565
8566 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8569         Paragraph::next and Paragraph::previous
8570         (TeXOnePar): ditto
8571
8572         * text.C (breakParagraph): adjust
8573
8574         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8575         BufferParams& as arg.
8576         (breakParagraph): use ParagraphList::insert
8577         (breakParagraphConservative): take a Buffer* instead of a
8578         BufferParams& as arg.
8579         (breakParagraphConservative): use ParagraphList::insert.
8580
8581         * buffer.C (insertStringAsLines): un-const it
8582         (insertStringAsLines): adjust
8583
8584         * ParagraphList.C (insert): new function
8585
8586         * CutAndPaste.C (pasteSelection): adjust
8587
8588         * text.C (backspace): adjust
8589
8590         * tabular.C (SetMultiColumn): adjust
8591
8592         * CutAndPaste.C (cutSelection): adjust
8593         (pasteSelection): adjust
8594
8595         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8596         Buffer const * as arg
8597
8598         * ParagraphList.C (erase): new function
8599         * paragraph_funcs.C (mergeParagraph): use it
8600         (mergeParagraph): make it take a Buffer* instead of a
8601         BufferParams* as arg
8602
8603         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8604         as arg
8605         (breakParagraphConservative): ditto
8606
8607         * paragraph.h: remove the breakParagraph friend
8608
8609         * paragraph.C (eraseIntern): new function
8610         (setChange): new function
8611
8612         * paragraph_funcs.C (mergeParagraph): make it take a
8613         ParagraphList::iterator instead of a Paragraph *, adjust
8614         accordingly.
8615
8616         * paragraph.h: move an #endif so that the change tracking stuff
8617         also works in the NO_NEXT case.
8618
8619 2003-03-04  Angus Leeming  <leeming@lyx.org>
8620
8621         * commandtags.h:
8622         * LyXAction.C: new LFUN_INSET_MODIFY.
8623
8624         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8625         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8626
8627 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * several files: ws changes only
8630
8631         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8632         (TeXEnvironment): ditto
8633         (TeXDeeper): ditto
8634
8635         * buffer.C (makeLaTeXFile): adjust
8636         (latexParagraphs): make it take ParagraphList::iterator as args
8637
8638 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * buffer.C (latexParagraphs): adjust
8641
8642         * paragraph.C (TeXOnePar): move function...
8643         (optArgInset): move function...
8644         (TeXEnvironment): move function...
8645         * paragraph_pimpl.C (TeXDeeper): move function...
8646         * paragraph_funcs.C: ...here
8647
8648         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8649
8650 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * buffer.C (readInset): remove compability code for old Figure and
8653         InsetInfo insets
8654
8655 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * buffer.C: ws changes
8658         (readInset):
8659
8660         * BufferView_pimpl.C: ditto
8661         * author.C: ditto
8662         * buffer.h: ditto
8663         * bufferlist.h: ditto
8664         * changes.h: ditto
8665         * lyxfunc.C: ditto
8666
8667 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8668
8669         * converter.[Ch]: split into itself +
8670         * graph.[Ch]
8671         * format.[Ch]
8672         * Makefile.am: += graph.[Ch] + format.[Ch]
8673         * MenuBackend.C
8674         * buffer.C
8675         * exporter.C
8676         * importer.C
8677         * lyx_main.C
8678         * lyxfunc.C
8679         * lyxrc.C: added #include "format.h"
8680
8681 2003-02-27  Angus Leeming  <leeming@lyx.org>
8682
8683         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8684           a label.
8685
8686         * factory.C (createInset): add "label" to the factory.
8687
8688         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8689           string and do no more.
8690
8691 2003-02-27  Angus Leeming  <leeming@lyx.org>
8692
8693         * commandtags.h:
8694         * LyXAction.C (init):
8695         * factory.C (createInset):
8696         * BufferView_pimpl.C (dispatch):
8697           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8698
8699         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8700
8701         * lyxfunc.C (dispatch):
8702         * text3.C (dispatch): pass name to params2string.
8703
8704 2003-02-26  Angus Leeming  <leeming@lyx.org>
8705
8706         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8707           blocks together.
8708           Rearrange the ~includes. Strip out the unnecessary ones.
8709
8710         * factory.C (createInset): reformat.
8711           create new insets for the various LFUN_XYZ_APPLY lfuns.
8712
8713 2003-02-26  John Levon  <levon@movementarian.org>
8714
8715         * lyxrow.h:
8716         * lyxrow.C: add isParStart,isParEnd helpers
8717
8718         * paragraph.h: make isInserted/DeletedText take refs
8719
8720         * paragraph_funcs.h:
8721         * paragraph_funcs.C: remove #if 0'd code
8722
8723         * lyxtext.h:
8724         * text3.C:
8725         * text2.C:
8726         * text.C: use lyxrow helpers above.
8727           Move draw and paint routines to RowPainter.
8728           Make several methods use refs not pointers.
8729           Make backgroundColor() const.
8730           Add markChangeInDraw(), isInInset().
8731           Merge changeRegionCase into changeCase.
8732           Make workWidth() shouldn't-happen code into an Assert.
8733
8734         * rowpainter.h:
8735         * rowpainter.C: new class for painting a row.
8736
8737         * vspace.h:
8738         * vspace.C: make inPixels take a ref
8739
8740 2003-02-26  Angus Leeming  <leeming@lyx.org>
8741
8742         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8743         LFUN_REF_APPLY.
8744
8745 2003-02-25  John Levon  <levon@movementarian.org>
8746
8747         * ispell.C: give the forked command a more accurate name
8748
8749 2003-02-22  John Levon  <levon@movementarian.org>
8750
8751         * toc.h:
8752         * toc.C: make TocItem store an id not a Paragraph *
8753           (bug #913)
8754
8755 2003-02-21  Angus Leeming  <leeming@lyx.org>
8756
8757         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8758           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8759           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8760           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8761           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8762           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8763
8764         * BufferView_pimpl.C (dispatch):
8765         * LyXAction.C (init):
8766         * factory.C (createInset):
8767         * lyxfunc.C (getStatus, dispatch):
8768         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8769
8770 2003-02-21  Angus Leeming  <leeming@lyx.org>
8771
8772         * BufferView_pimpl.C (MenuInsertLyXFile):
8773         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8774         * lyxfunc.C (menuNew, open, doImport):
8775           no longer pass a LyXView & to fileDlg.
8776
8777 2003-02-21  Angus Leeming  <leeming@lyx.org>
8778
8779         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8780         * LyXAction.C: change, BIBKEY to BIBITEM.
8781         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8782         Change InsetBibKey to InsetBibitem.
8783         Change BIBKEY_CODE to BIBITEM_CODE.
8784         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8785         * factory.C: replace insetbib.h with insetbibitem.h.
8786         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8787         * paragraph.C: replace insetbib.h with insetbibitem.h.
8788         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8789         Change bibkey() to bibitem().
8790         * text.C: remove insetbib.h.
8791         * text2.C: replace insetbib.h with insetbibitem.h.
8792         change bibkey() to bibitem().
8793         * text3.C: remove insetbib.h.
8794         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8795
8796 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8797
8798         * lyxrc.C (output): enclose user email in quotes (in case there are
8799         several words)
8800
8801 2003-02-18  John Levon  <levon@movementarian.org>
8802
8803         * buffer.h: add std::
8804
8805 2003-02-17  John Levon  <levon@movementarian.org>
8806
8807         * SpellBase.h:
8808         * ispell.h:
8809         * ispell.C:
8810         * pspell.h:
8811         * pspell.C: reworking. Especially in ispell, a large
8812           number of clean ups and bug fixes.
8813
8814         * lyxfunc.C: fix revert to behave sensibly
8815
8816 2003-02-17 André Pönitz <poenitz@gmx.net>
8817
8818         * LyXAction.C:
8819         * commandtags.h: new LFUN_INSERT_BIBKEY
8820
8821         * layout.h:
8822         * lyxlayout.C:
8823         * buffer.C:
8824         * factory.C:
8825         * text.C:
8826         * text2.C:
8827         * text3.C:
8828         * paragraph.[Ch]:
8829         * paragraph_func.C: remove special bibkey handling
8830
8831 2003-02-17  John Levon  <levon@movementarian.org>
8832
8833         * text.C (Delete): fix case where delete at the end of
8834           the very first paragraph would not merge the pars
8835
8836 2003-02-17  John Levon  <levon@movementarian.org>
8837
8838         * lyxrow.C: fix lastPrintablePos()
8839
8840 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * bufferparams.C (writeLaTeX): add a std:here
8843
8844         * buffer.C: and remove a using directive there
8845
8846 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * buffer.C (makeLaTeXFile): move the code that generates the
8849           preamble...
8850
8851         * bufferparams.C (writeLaTeX): ... in this new method
8852
8853         * LaTeXFeatures.C (getEncodingSet): make const
8854           (getLanguages): make const
8855
8856         * MenuBackend.C (binding): returns the binding associated to this
8857           action
8858           (add): sets the status of each item by calling getStatus. Adds
8859           some intelligence.
8860           (read): add support for OptSubMenu
8861           (expand): remove extra separator at the end of expanded menu
8862
8863 2003-02-15  John Levon  <levon@movementarian.org>
8864
8865         * BufferView.C:
8866         * BufferView_pimpl.C:
8867         * bufferlist.h:
8868         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8869           inset code that had no actual effect. Remove unneeded status
8870           code.
8871
8872 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8873
8874         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8875           in preamble
8876
8877 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8878
8879         * text.C (drawLengthMarker): also draw an arrow marker for
8880           symbolic lengths (medskip...)
8881
8882 2003-02-14  John Levon  <levon@movementarian.org>
8883
8884         * tabular.h:
8885         * tabular.C: better method names
8886
8887 2003-02-14  John Levon  <levon@movementarian.org>
8888
8889         * BufferView_pimpl.C:
8890         * bufferlist.C:
8891         * buffer.C:
8892         * converter.C:
8893         * lyx_cb.C:
8894         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8895           it's a more accurate name. Remove some pointless uses.
8896
8897 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8898
8899         * text2.C (LyXText): change order of initilizers to shut off
8900           warnings
8901
8902 2003-02-14  John Levon  <levon@movementarian.org>
8903
8904         * buffer.C: use ParIterator for getParFromID()
8905
8906         * paragraph.h:
8907         * paragraph.C:
8908         * paragraph_pimpl.h:
8909         * paragraph_pimpl.C: remove unused getParFromID()
8910
8911 2003-02-14  John Levon  <levon@movementarian.org>
8912
8913         * buffer.C: remove some very old #if 0'd parse code
8914
8915 2003-02-13  John Levon  <levon@movementarian.org>
8916
8917         * text.h:
8918         * text.C:
8919         * text2.C: move hfillExpansion(), numberOfSeparators(),
8920           rowLast(), rowLastPrintable(), numberofHfills(),
8921           numberOfLabelHfills() ...
8922
8923         * lyxrow.h:
8924         * lyxrow.C: ... to member functions here.
8925
8926         * paragraph.h:
8927         * paragraph.C:
8928         * lyxtext.h:
8929         * text.C: remove LyXText::beginningOfMainBody(), and call
8930           p->beginningOfMainBody() directly. Move the check for
8931           LABEL_MANUAL into the latter.
8932
8933         * text.h:
8934         * text.C:
8935         * text2.C:
8936         * vspace.C:
8937         * BufferView.h:
8938         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8939
8940         * text.h:
8941         * text.C:
8942         * text2.C:
8943         * text3.C:
8944         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8945           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8946
8947 2003-02-13  John Levon  <levon@movementarian.org>
8948
8949         * CutAndPaste.C: remove debug
8950
8951 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * paragraph.C (asString): remove two unused variables
8954
8955         * lyxtextclass.C (readTitleType):
8956           (Read):
8957           (LyXTextClass): handle new members titletype_ and titlename_
8958
8959         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8960
8961 2003-02-09  John Levon  <levon@movementarian.org>
8962
8963         * buffer.h:
8964         * buffer.C: replace hand-coded list with a map for the dep clean
8965
8966 2003-02-08  John Levon  <levon@movementarian.org>
8967
8968         * LaTeX.C: consolidate code into showRunMessage() helper
8969
8970 2003-02-08  John Levon  <levon@movementarian.org>
8971
8972         * lyxfind.C:
8973         * lyxtext.h:
8974         * text2.C:
8975         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8976           and pass the size in explicitly
8977
8978         * BufferView_pimpl.h:
8979         * BufferView_pimpl.C:
8980         * BufferView.h:
8981         * BufferView.C: add getCurrentChange()
8982
8983         * BufferView_pimpl.h:
8984         * BufferView_pimpl.C: handle change lfuns
8985
8986         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8987           for changes. Mark pasted paragraphs as new.
8988
8989         * support/lyxtime.h:
8990         * support/lyxtime.C:
8991         * DepTable.C: abstract time_t as lyx::time_type
8992
8993         * LColor.h:
8994         * LColor.C: add colours for new text, deleted text, changebars
8995
8996         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8997           package use "usenames" option.
8998
8999         * commandtags.h:
9000         * lyxfunc.C:
9001         * LyXAction.C: add change lfuns
9002
9003         * Makefile.am:
9004         * author.h:
9005         * author.C: author handling
9006
9007         * buffer.h:
9008         * buffer.C: add a per-buffer author list, with first entry as
9009           current author. Handle new .lyx tokens for change tracking. Output
9010           author list to .lyx file. Output dvipost stuff to .tex preamble.
9011           Bump lyx format to 222.
9012
9013         * bufferlist.h:
9014         * bufferlist.C: add setCurrentAuthor() to reset current author details
9015           in all buffers.
9016
9017         * bufferparams.h:
9018         * bufferparams.C: add param for tracking
9019
9020         * bufferview_funcs.C: output change info in minibuffer
9021
9022         * Makefile.am:
9023         * changes.h:
9024         * changes.C: add change-tracking structure
9025
9026         * debug.h:
9027         * debug.C: add CHANGES debug flag
9028
9029         * lyxfind.h:
9030         * lyxfind.C: add code for finding the next change piece
9031
9032         * lyxrc.h:
9033         * lyxrc.C: add user_name and user_email
9034
9035         * lyxrow.h:
9036         * lyxrow.C: add a metric for the top of the text line
9037
9038         * lyxtext.h:
9039         * text.C: implement accept/rejectChange()
9040
9041         * lyxtext.h:
9042         * text.C: paint changebars. Paint new/deleted text in the chosen
9043         colours. Strike through deleted text.
9044
9045         * paragraph.h:
9046         * paragraph.C:
9047         * paragraph_pimpl.h:
9048         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9049           in the current change to the insert functions. Rework erase to
9050           mark text as deleted, adding an eraseIntern() and a range-based
9051           erase(). Implement per-paragraph change lookup and
9052           accept/reject.
9053
9054         * paragraph_funcs.C: Fixup paste for change tracking.
9055
9056         * tabular.C: mark added row/columns as new.
9057
9058         * text.C: fix rowLast() to never return -1. Don't allow
9059           spellchecking of deleted text. Track transpose changes. Don't
9060           allow paragraph break or merge where appropriate.
9061
9062         * text2.C: leave cursor at end of selection after a cut.
9063
9064 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9065
9066         * text.C (getLengthMarkerHeight):
9067         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9068         visible on screen too.
9069
9070 2003-02-07  John Levon  <levon@movementarian.org>
9071
9072         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9073
9074 2003-02-05  Angus Leeming  <leeming@lyx.org>
9075
9076         * lyxserver.C (read_ready): revert my patch of 11 September last year
9077         as it sends PC cpu through the roof. Presumably this means that
9078         the lyxserver will no longer run on an Alpha...
9079
9080 2003-01-30  Angus Leeming  <leeming@lyx.org>
9081
9082         * factory.C (createInset): create an InsetCommandParam of type "index"
9083         and use it to 'do the right thing'.
9084
9085         * text2.C (getStringToIndex): ensure that cursor position is always
9086         reset to the reset_cursor position.
9087
9088 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9089
9090         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9091         disabled.
9092
9093 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9094
9095         * bufferview.C:
9096         * lyxcb.C:
9097         * lyxfunc.C: Output messages with identical spelling, punctuation,
9098         and spaces
9099
9100 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9101
9102         * MenuBackend.C (expandFormats): List only viewable export formats
9103         in "View" menu
9104
9105         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9106         message
9107
9108         * lyxfunc.C (getStatus): Make sure that formats other than
9109         "fax" can also be disabled
9110
9111 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * text3.C (dispatch): put the lfuns that insert insets in 3
9114         groups, and call doInsertInset with appropriate arguments.
9115         (doInsertInset): new function, that creates an inset and inserts
9116         it according to some boolean parameters.
9117
9118 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * buffer.C (readFile): remember to pass on 'par' when calling
9121         readFile recursively.
9122
9123 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9124
9125         * MenuBackend.C (expandFormats): add "..." to import formats.
9126
9127 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9128
9129         * paragraph.C (asString): Remove XForms RTL hacks.
9130
9131 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9132         * buffer.C: fix typo
9133
9134 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9135
9136         * Makefile.am (LIBS): delete var
9137         (lyx_LDADD): add @LIBS@ here instead.
9138
9139 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9140
9141         * Clarify the meaning of "wheel mouse jump"
9142
9143 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9144
9145         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9146         tabular in a float
9147
9148 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9149
9150         * importer.C (Loaders): do not preallocate 3 elements in the
9151         vector, since one ends up with 6 elements otherwise
9152
9153 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9154
9155         * DepTable.C (write): write the file name as last element of the
9156         .dep file (because it may contain spaces)
9157         (read): read info in the right order
9158
9159 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9160
9161         * paragraph_pimpl.C (simpleTeXBlanks):
9162         (simpleTeXSpecialChars):
9163         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9164
9165         * tabular.C (latex): add some missing case statements. Reindent.
9166
9167         * MenuBackend.C (expandToc): remove unused variable.
9168
9169 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9170
9171         * LColor.C:
9172         * LaTeX.C:
9173         * LyXAction.C:
9174         * MenuBackend.C:
9175         * buffer.C:
9176         * exporter.C:
9177         * lyxfunc.C:
9178         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9179         and the like.
9180
9181 2003-01-05  John Levon  <levon@movementarian.org>
9182
9183         * BufferView.h:
9184         * BufferView.C: add getEncoding()
9185
9186         * kbsequence.h:
9187         * kbsequence.C: do not store last keypress
9188
9189         * lyxfunc.h:
9190         * lyxfunc.C: store last keypress here instead. Pass encoding
9191           to getISOEncoded()
9192
9193 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * lyx_main.C (init): remove annoying error message when following
9196         symbolic links (bug #780)
9197
9198 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * text.C (insertChar):
9201         * lyxrc.C (getDescription): remove extra spaces
9202
9203 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9204
9205         * lyxrc.C (getDescription): remove extra spaces
9206
9207 2002-12-20  John Levon  <levon@movementarian.org>
9208
9209         * text3.C: hack fix for page up/down across tall rows
9210
9211 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9212
9213         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9214         not been invoked
9215
9216 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9217
9218         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9219         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9220         thesaurus is not compiled in
9221
9222 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9223
9224         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9225
9226 2002-12-16  Angus Leeming  <leeming@lyx.org>
9227
9228         * lyxrc.[Ch]:
9229         * lyx_main.C (init): remove override_x_deadkeys stuff.
9230
9231 2002-12-12  John Levon  <levon@movementarian.org>
9232
9233         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9234           insert. Only remove shift modifier under strict
9235           circumstances.
9236
9237 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9238
9239         * MenuBackend.C (expandToc): fix crash.
9240
9241 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9242
9243         * MenuBackend.C (expandToc): gettext on float names.
9244
9245 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9246
9247         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9248         implement bool empty() [bug 490]
9249
9250 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9253
9254 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * several files: ws changes
9257
9258 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9259
9260         * text2.C (setCounter): clean up a bit, use boost.format.
9261         (updateCounters): initialize par upon declaration.
9262
9263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9264         if the layout exists. We do not just store the layout any more.
9265         (SwitchLayoutsBetweenClasses): use boost.format
9266
9267 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9268
9269         * converter.C (convert): if from and to files are the same, use a
9270         temporary files as intermediary
9271
9272 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * commandtags.h:
9275         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9276
9277 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9278
9279         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9280
9281 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9282
9283         * tabular.C (asciiPrintCell): use string(size, char) instead of
9284         explicit loop.
9285
9286         * sgml.C (openTag): fix order of arguments to string constructor
9287         (closeTag): ditto
9288
9289         * lyxfunc.C (dispatch): use boost.format
9290
9291         * lots of files: change "c" -> 'c'
9292
9293 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9294
9295         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9296
9297 2002-11-25  Angus Leeming  <leeming@lyx.org>
9298
9299         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9300
9301         * lyx_main.C (init): compile fix.
9302
9303 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9304
9305         * lyx_cb.C (start): boost.formatify
9306         do not include <iostream>
9307
9308         * lengthcommon.C: ws only
9309
9310         * boost-inst.C,BoostFormat.h: add more explict instantations
9311
9312 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9313
9314         * lots of files: handle USE_BOOST_FORMAT
9315
9316 2002-11-21  John Levon  <levon@movementarian.org>
9317
9318         * pspell.C: fix compile
9319
9320 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9321
9322         * lyxfunc.C (dispatch): use boost::format
9323         (open): ditto
9324         (doImport): ditto
9325
9326         * lyxfont.C (stateText): use boost::format
9327
9328         * lyx_main.C (LyX): use boost::format
9329         (init): ditto
9330         (queryUserLyXDir): ditto
9331         (readRcFile): ditto
9332         (parse_dbg): ditto
9333         (typedef boost::function): use the recommened syntax.
9334
9335         * importer.C (Import): use boost::format
9336
9337         * debug.C (showLevel): use boost::format
9338
9339         * converter.C (view): use boost::format
9340         (convert): ditto
9341         (move): ditto
9342         (scanLog): ditto
9343
9344         * bufferview_funcs.C (currentState): use boost::format
9345
9346         * bufferlist.C (emergencyWrite): use boost::format
9347
9348         * buffer.C (readLyXformat2): use boost::format
9349         (parseSingleLyXformat2Token): ditto
9350
9351         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9352
9353         * LaTeX.C (run): use boost::format
9354
9355         * Chktex.C (scanLogFile): use boost::format
9356
9357         * BufferView_pimpl.C (savePosition): use boost::format
9358         (restorePosition): ditto
9359         (MenuInsertLyXFile): ditto
9360
9361         * BoostFormat.h: help file for explicit instation.
9362
9363 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9364
9365         * tabular.C (latex): Support for block alignment in fixed width
9366         columns.
9367
9368 2002-11-17  John Levon  <levon@movementarian.org>
9369
9370         * BufferView_pimpl.C:
9371         * lyx_cb.C:
9372         * lyxfunc.C: split filedialog into open/save
9373
9374 2002-11-08  Juergen Vigna  <jug@sad.it>
9375
9376         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9377         by my last patch (hopefully).
9378
9379 2002-11-08  John Levon  <levon@movementarian.org>
9380
9381         * iterators.h:
9382         * iterators.C:
9383         * buffer.h:
9384         * buffer.C:
9385         * paragraph.h:
9386         * paragraph.C:
9387         * toc.h:
9388         * toc.C: ParConstIterator, and use it (from Lars)
9389
9390 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9391
9392         * lyxtextclass.[Ch]: revise and add doxygen comments
9393
9394 2002-11-07  John Levon  <levon@movementarian.org>
9395
9396         * text.C: fix progress value for spellchecker
9397
9398         * toc.C: fix navigate menu for insetwrap inside minipage
9399
9400         * paragraph_funcs.C: added FIXME for suspect code
9401
9402 2002-11-07  John Levon  <levon@movementarian.org>
9403
9404         * BufferView_pimpl.C: fix redrawing of insets
9405           on buffer switch
9406
9407 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9408
9409         * text2.C (updateCounters): fix bug 668
9410
9411 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9412
9413         * text3.C (dispatch): Do not make the buffer dirty when moving the
9414         cursor.
9415
9416 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9417
9418         * vc-backend.C: STRCONV
9419         (scanMaster): ditto
9420
9421         * text2.C (setCounter): STRCONV
9422
9423         * paragraph.C (asString): STRCONV
9424
9425         * lyxlength.C (asString): STRCONV
9426         (asLatexString): ditto
9427
9428         * lyxgluelength.C (asString): STRCONV
9429         (asLatexString): ditto
9430
9431         * lyxfunc.C (dispatch): STRCONV
9432         (open): ditto
9433
9434         * lyxfont.C (stateText): STRCONV
9435
9436         * importer.C (Import): STRCONV
9437
9438         * counters.C (labelItem): STRCONV
9439         (numberLabel): ditto
9440         (numberLabel): remove unused ostringstream o
9441
9442         * chset.C: STRCONV
9443         (loadFile): ditto
9444
9445         * bufferview_funcs.C (currentState): STRCONV
9446
9447         * buffer.C (readFile): STRCONV
9448         (asciiParagraph): ditto
9449         (makeLaTeXFile): ditto
9450
9451         * Spacing.C (writeEnvirBegin): STRCONV
9452
9453         * LaTeXFeatures.C (getLanguages): STRCONV
9454         (getPackages): ditto
9455         (getMacros): ditto
9456         (getBabelOptions): ditto
9457         (getTClassPreamble): ditto
9458         (getLyXSGMLEntities): ditto
9459         (getIncludedFiles): ditto
9460
9461         * LaTeX.C: STRCONV
9462         (run): ditto
9463         (scanAuxFile): ditto
9464         (deplog): ditto
9465
9466         * LString.h: add the STRCONV macros
9467
9468         * BufferView_pimpl.C (savePosition): STRCONV
9469         (restorePosition): ditto
9470         (MenuInsertLyXFile): ditto
9471
9472         * vc-backend.C (scanMaster): change from submatch[...] to
9473         submatch.str(...)
9474
9475         * funcrequest.C: include config.h
9476
9477         * factory.C: include config.h
9478
9479         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9480
9481         * box.C: include config.h
9482
9483         * LaTeX.C (scanAuxFile): change from submatch[...] to
9484         submatch.str(...)
9485         (deplog): ditto
9486
9487 2002-10-25  Angus Leeming  <leeming@lyx.org>
9488
9489         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9490
9491         * ispell.[Ch] (setError): new method.
9492         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9493         Use setError() insetead of goto END.
9494
9495         * lyx_cb.C (AutoSave): move out child process into new class
9496         AutoSaveBuffer.
9497
9498 2002-10-30  John Levon  <levon@movementarian.org>
9499
9500         * text3.C: make start appendix undoable
9501
9502 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9503
9504         * lyxlength.C (inPixels): Fix returned value.
9505
9506         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9507         environment.
9508
9509 2002-10-24  Angus Leeming  <leeming@lyx.org>
9510
9511         * lyxgluelength.h: no need to forward declare BufferParams
9512         or BufferView, so don't.
9513
9514 2002-10-21  John Levon  <levon@movementarian.org>
9515
9516         * BufferView.C: menuUndo ->undo, redo
9517
9518         * BufferView.h: document, remove dead, make some methods private
9519
9520         * paragraph_funcs.h:
9521         * paragraph_funcs.C:
9522         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9523
9524         * buffer.h:
9525         * buffer.C:
9526         * sgml.h:
9527         * sgml.C: move sgml open/close tag into sgml.C
9528
9529         * bufferview_funcs.h: unused prototype
9530
9531         * lyxfunc.h:
9532         * lyxfunc.C: remove unused
9533
9534         * lyxtext.h:
9535         * text.C: remove unused
9536
9537 2002-10-21  John Levon  <levon@movementarian.org>
9538
9539         * BufferView.h:
9540         * BufferView.C:
9541         * BufferView_pimpl.h:
9542         * BufferView_pimpl.C: fix mouse wheel handling based on
9543           patch from Darren Freeman
9544
9545 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9546
9547         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9548
9549 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9550
9551         * lyxlength.C (inPixels): Fix hanfling of negative length.
9552         Fix LyXLength::MU case.
9553
9554 2002-10-16  John Levon  <levon@movementarian.org>
9555
9556         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9557
9558 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9559
9560         * converter.C (view): add support for $$i (file name) and $$p
9561         (file path) for the viewer command. If $$i is not specified, then
9562         it is appended to the command (for compatibility with old syntax)
9563
9564 2002-10-14  Juergen Vigna  <jug@sad.it>
9565
9566         * undo_funcs.C (textHandleUndo): alter the order in which the
9567         new undopar is added to the LyXText, as we have to set first
9568         the right prev/next and then add it as otherwise the rebuild of
9569         LyXText is not correct. Also reset the cursor to the right paragraph,
9570         with this IMO we could remove the hack in "redoParagraphs()".
9571
9572 2002-10-09  Angus Leeming  <leeming@lyx.org>
9573
9574         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9575         to turn off an optimisation if a new inset is to be inserted.
9576
9577 2002-10-11 André Pönitz <poenitz@gmx.net>
9578
9579         * lyxtext.h: make some functions public to allow access
9580         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9581
9582 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9583
9584         * text3.C (dispatch): when changing layout, avoid an infinite loop
9585         [bug #652]
9586
9587 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9588
9589         * lyxrc.C (read): treat a viewer or converter command of "none" as
9590         if it were empty.
9591
9592         * MenuBackend.C (expandFormats): for an update, also allow the
9593         formats that are not viewable
9594
9595         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9596         script if it is newer than the lyxrc.defaults in user directory
9597
9598 2002-10-07 André Pönitz <poenitz@gmx.net>
9599
9600         * text.C: Vitaly Lipatov's small i18n fix
9601
9602 2002-09-25  Angus Leeming  <leeming@lyx.org>
9603
9604         * ispell.h: doxygen fix.
9605
9606 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9607
9608         * buffer.h (readFile): Add a new argument to the method, to allow
9609         reading of old-format templates.
9610
9611 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9612
9613         * toc.C (getTocList): Get TOC from InsetWrap.
9614
9615 2002-09-16  John Levon  <levon@movementarian.org>
9616
9617         * lyxfunc.C: check tabular for cut/copy too
9618
9619 2002-09-12  John Levon  <levon@movementarian.org>
9620
9621         * LyXAction.C: tidy
9622
9623         * factory.h:
9624         * factory.C: add header
9625
9626         * paragraph_funcs.h:
9627         * paragraph_funcs.C: cleanup
9628
9629 2002-09-11  John Levon  <levon@movementarian.org>
9630
9631         * PrinterParams.h: odd/even default to true
9632
9633 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9634
9635         * PrinterParams.h: update printer parameters for new xforms dialog
9636
9637 2002-09-11  Angus Leeming  <leeming@lyx.org>
9638
9639         * lyxserver.C (read_ready): re-write to make it more transparent
9640         and to make it work in coherent fashion under Tru64 Unix.
9641
9642 2002-09-11  André Pönitz <poenitz@gmx.net>
9643
9644         * commandtags.h:
9645         * LyXAction.C:
9646         * text3.C: implement LFUN_WORDSEL
9647
9648 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9649
9650         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9651         make floatlist_ a boost::shared_ptr<FloatList>
9652
9653         * lyxtextclass.C: include FloatList.h
9654         (LyXTextClass): initialize floatlist_
9655         (TextClassTags): add TC_NOFLOAT
9656         (Read): match "nofloat" to TC_NOFLOAT and use it.
9657         (readFloat): modify call to floatlist_
9658         (floats): ditto
9659         (floats): ditto
9660
9661         * FloatList.[Ch] (FloatList): remove commented out float
9662         initialization.
9663         (erase): new function
9664
9665 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9666
9667         * MenuBackend.C (expandToc): fix crash when there is no document
9668         open
9669
9670 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * many files: Add insetwrap.
9673
9674 2002-09-09  John Levon  <levon@movementarian.org>
9675
9676         * text2.C: remove confusing and awkward depth wraparound
9677
9678 2002-09-09  John Levon  <levon@movementarian.org>
9679
9680         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9681
9682         * buffer.h:
9683         * buffer.C: remove getIncludeonlyList()
9684
9685         * paragraph.C:
9686         * lyxfunc.C: remove headers
9687
9688 2002-09-09  Juergen Vigna  <jug@sad.it>
9689
9690         * text.C (getColumnNearX): fix form Michael this is most
9691         probably a cut&paste bug.
9692
9693 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9694
9695         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9696
9697         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9698         references, ws changes.
9699
9700         * text2.C (init): update counters after init
9701         (insertParagraph): no need to set counter on idividual paragraphs.
9702         (setCounter): access the counters object in the textclass object
9703         on in the buffer object.
9704         (updateCounters): ditto
9705
9706         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9707         shared_ptr<Counters> to avoid loading counters.h in all
9708         compilation units.
9709         (LyXTextClass): initialize ctrs_
9710         (TextClassTags): add TC_COUNTER, and ...
9711         (Read): use it here.
9712         (CounterTags): new tags
9713         (readCounter): new function
9714         (counters): new funtion
9715         (defaultLayoutName): return a const reference
9716
9717         * counters.C (Counters): remove contructor
9718         (newCounter): remove a couple of unneeded statements.
9719         (newCounter): simplify a bit.
9720         (numberLabel): some small formatting changes.
9721
9722         * buffer.[Ch]: remove all traces of counters, move the Counters
9723         object to the LyXTextClass.
9724
9725 2002-09-06  Alain Castera  <castera@in2p3.fr>
9726
9727         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9728         package to set the horizontal alignment on fixed width columns.
9729
9730         * lyx_sty.C:
9731         * lyx_sty.h: added tabularnewline macro def.
9732
9733         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9734
9735 2002-09-06  John Levon  <levon@movementarian.org>
9736
9737         * LyXAction.C: tooltips for sub/superscript
9738
9739         * MenuBackend.C: a bit more verbose
9740
9741         * lyxfunc.C: tiny clean
9742
9743         * undo_funcs.C: document undo_frozen
9744
9745 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9746
9747         * counters.C (Counters): add missing algorithm counter.
9748
9749         * text2.C (setCounter): lookup the counter with layouts latexname
9750         instead of by section number.
9751         (setCounter): use a hackish way to lookup the correct enum
9752         counter.
9753         a float name->type change
9754         reset enum couners with counter name directly instead of depth value.
9755
9756         * counters.C (Counters): remove the push_backs, change to use the
9757         float type not the float name.
9758         (labelItem): remove unused string, float name->type change
9759
9760         * counters.h: don't include vector, loose the enums and sects vectors
9761
9762 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9763
9764         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9765         (Read): add float->TC_FLOAT to textclassTags
9766         (Read): and handle it in the switch
9767         (readFloat): new function
9768
9769         * FloatList.C (FloatList): comment out the hardcoded float
9770         definitions.
9771
9772         * lyxlayout.h: ws change.
9773
9774 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9775
9776         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9777
9778 2002-09-03  Angus Leeming  <leeming@lyx.org>
9779
9780         * BufferView_pimpl.h: qualified name is not allowed in member
9781         declaration: WorkArea & Pimpl::workarea() const;
9782
9783         * factory.C: added using std::endl directive.
9784
9785         * text3.C: added using std::find and std::vector directives.
9786
9787 2002-08-29  André Pönitz <poenitz@gmx.net>
9788
9789         * lyxtext.h:
9790         * text2.C: remove unused member number_of_rows
9791
9792         * Makefile.am:
9793         * BufferView2.C: remove file, move contents to...
9794         * BufferView.C: ... here
9795
9796         * BufferView_pimpl.C:
9797         * factory.C: move more inset creation to factory
9798
9799         * vspace.C: avoid direct usage of LyXText, ws changes
9800
9801         * BufferView.[Ch]:
9802                 don't provide direct access to WorkArea, use two simple
9803                 acessors haveSelction() and workHeight() instead
9804
9805
9806 2002-08-29  John Levon  <levon@movementarian.org>
9807
9808         * BufferView_pimpl.C (dispatch): do not continue when
9809           no buffer
9810
9811 2002-08-28  André Pönitz <poenitz@gmx.net>
9812
9813         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9814
9815         * BufferView.h:
9816         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9817
9818 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9819
9820         * buffer.C: increment LYX_FORMAT to 221
9821
9822         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9823         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9824
9825         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9826
9827         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9828
9829 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9830
9831         * factory.C (createInset): use LyXTextClass::floats
9832
9833         * MenuBackend.C (expandFloatListInsert):
9834         (expandFloatInsert):
9835         (expandToc):
9836
9837         * text2.C (setCounter):
9838
9839         * LaTeXFeatures.C (useFloat):
9840         (getFloatDefinitions):
9841
9842         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9843
9844         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9845         floatlist_, with accessor floats().
9846
9847         * FloatList.h: remove global FloatList
9848
9849 2002-08-26  André Pönitz <poenitz@gmx.net>
9850
9851         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9852
9853         * BufferView.h:
9854         * BufferView2.C:
9855         * BufferView_pimpl.C:
9856         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9857
9858 2002-08-25  John Levon  <levon@movementarian.org>
9859
9860         * LyXAction.C: fix margin note description
9861
9862 2002-08-24  John Levon  <levon@movementarian.org>
9863
9864         * buffer.C:
9865         * bufferlist.C:
9866         * bufferview_funcs.C:
9867         * lyxfont.C:
9868         * undo_funcs.C: cleanups
9869
9870         * lyxfunc.C: disable CUT/COPY when no selection
9871
9872 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9873
9874         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9875         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9876
9877         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9878         Add backward compatibility to "mono", "gray" and "no".
9879
9880 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9881
9882         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9883         (and file_format >= 200).
9884
9885 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9888
9889 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9890
9891         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9892
9893 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9894
9895         * BufferView_pimpl.C:
9896         * LyXAction.C:
9897         * buffer.C:
9898         * commandtags.h:
9899         * lyxfunc.C:
9900         * paragraph.[Ch]:
9901         * text2.C:
9902         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9903         inset and code to make it  work with the paragraph code. The inset
9904         can be anywhere in the paragraph, but will only do the expected
9905         thing in LaTeX if the layout file contains the parameter line
9906                         OptionalArgs    1
9907         (or more generally, a nonzero value) for that layout.
9908
9909 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9910
9911         * paragraph.h: remove the declaration of undefined counters class
9912         function.
9913
9914 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9915
9916         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9917         Dr. Richard Hawkins.
9918
9919 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920
9921         * paragraph_funcs.h: remove some unneeded includes
9922
9923         * text.C (backspace): pasteParagraph now in global scipe
9924
9925         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9926         (pasteSelection): ditto
9927
9928         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9929         * paragraph_funcs.C (pasteParagraph): ... here
9930
9931 2002-08-20  André Pönitz <poenitz@gmx.net>
9932
9933         * commandtags.h: new LFUNs for swapping/copying table row/colums
9934
9935         * LyXAction.C:
9936         * lyxfunc.C: support for new lfuns
9937
9938 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9939
9940         * tabular.C:
9941         * buffer.[Ch]: remove NO_COMPABILITY stuff
9942
9943 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9944
9945         * boost.C (throw_exception): new file, with helper function for
9946         boost compiled without exceptions.
9947
9948         * paragraph.h:
9949         * lyxlength.C:
9950         * buffer.C:
9951         * ParameterStruct.h:
9952         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9953
9954         * bufferlist.C (emergencyWriteAll): use boost bind
9955
9956         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9957
9958         * text.C: include paragraph_funcs.h
9959         (breakParagraph): breakParagraph is now in global scope
9960
9961         * paragraph_funcs.[Ch]: new files
9962
9963         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9964         global scope
9965
9966         * buffer.C: include paragraph_funcs.h
9967         (insertStringAsLines): breakParagraph is now in global scope
9968
9969         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9970         paragraph_funcs.C
9971
9972         * CutAndPaste.C: include paragraph_funcs.h
9973         (cutSelection): breakParagraphConservative is now in global scope
9974         (pasteSelection): ditto
9975
9976         * buffer.h: declare oprator== and operator!= for
9977         Buffer::inset_iterator
9978
9979         * bufferlist.C (emergencyWrite): don't use fmt(...)
9980
9981         * text3.C: add using std::endl
9982
9983         * BufferView.C (moveCursorUpdate): remove default arg
9984
9985 2002-08-20  André Pönitz <poenitz@gmx.net>
9986
9987         * buffer.[Ch]: move inline functions to .C
9988
9989         * BufferView2.C:
9990         * BufferView_pimpl.C:
9991         * text.C:
9992         * buffer.[Ch]: use improved inset_iterator
9993
9994         * buffer.C:
9995         * paragraph.[Ch]: write one paragraph at a time
9996
9997 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9998
9999         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10000         style if style is not specified.
10001
10002 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * text2.C (setCounter): when searching for right label for a
10005         caption, make sure to recurse to parent insets (so that a caption
10006         in a minipage in a figure float works) (bug #568)
10007
10008 2002-08-20  André Pönitz <poenitz@gmx.net>
10009
10010         * text3.C: new file for LyXText::dispatch() and helpers
10011
10012         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10013
10014         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10015
10016 2002-08-19  André Pönitz <poenitz@gmx.net>
10017
10018         * lyxtext.h:
10019         * text.C: new LyXText::dispatch()
10020
10021         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10022
10023 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10024
10025         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10026
10027         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10028         Hebrew text.
10029
10030 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10031
10032         * Makefile.am: use $(variables) instead of @substitutions@
10033
10034 2002-08-15  André Pönitz <poenitz@gmx.net>
10035
10036         * lyxfunc.C:
10037         * BufferView_pimpl.C: streamlining mathed <-> outer world
10038         interaction
10039
10040         * commandtags.h:
10041         * LyXAction.C: remove unused LFUN_MATH
10042
10043 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10044
10045         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10046
10047 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10048
10049         * paragraph.C (Paragraph): reformat a bit
10050         (cutIntoMinibuffer): use builtin InsetList function instad of
10051         doing it manually.
10052         (getInset): ditto
10053
10054         * buffer.C: include boost/bind.hpp, add using std::for_each
10055         (writeFileAscii): use ParagraphList iterators
10056         (validate): use for_each for validate traversal of paragraphs
10057         (getBibkeyList): use ParagraphList iterators
10058         (resizeInsets): use for_each to resizeInsetsLyXText for all
10059         paragraphs.
10060         (getParFromID): use ParagraphList iterators
10061
10062         * BufferView2.C (lockInset): use paragraph list and iterators
10063
10064 2002-08-14  John Levon  <levon@movementarian.org>
10065
10066         * lyxserver.C: remove spurious xforms include
10067
10068 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10071
10072 2002-08-13  André Pönitz <poenitz@gmx.net>
10073
10074         * LyXAction.[Ch]:
10075         * lyxfunc.C: further cleaning
10076
10077 2002-08-13  André Pönitz <poenitz@gmx.net>
10078
10079         * funcrequest.h: new constructor
10080
10081         * funcrequest.C: move stuff here from .h
10082
10083         * Makefile.am:
10084         * BufferView_pimpl.C:
10085         * LyXAction.C:
10086         * toc.C:
10087         * lyxfunc.C: subsequent changes
10088
10089         * lyxfunc.h: new view() member function
10090
10091         * lyxfunc.C: subsequent changes
10092
10093 2002-08-13  Angus Leeming  <leeming@lyx.org>
10094
10095         * BufferView2.C:
10096         * BufferView_pimpl.C:
10097         * buffer.C:
10098         * converter.C:
10099         * importer.C:
10100         * lyxfunc.C:
10101         * lyxvc.C:
10102         * toc.C:
10103         * vc-backend.C:
10104         changes due to the changed LyXView interface that now returns references
10105         to member variables not pointers.
10106
10107 2002-08-13  Angus Leeming  <leeming@lyx.org>
10108
10109         * WordLangTuple (word, lang_code): return references to strings,
10110         not strings.
10111
10112         * BufferView.h:
10113         * SpellBase.h:
10114         * lyxtext.h: forward-declare WordLangTuple.
10115
10116         * BufferView2.C:
10117         * ispell.C:
10118         * pspell.C:
10119         * text.C: #include "WordLangTuple.h".
10120
10121         * lyxtext.h:
10122         * text.C: (selectNextWordToSpellcheck): constify return type.
10123
10124 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10125
10126         * buffer.C:
10127         * buffer.h:
10128         * lyxtext.h:
10129         * paragraph.C:
10130         * paragraph_pimpl.h:
10131         * text.C:
10132         * text2.C:
10133         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10134         suggested by Angus.
10135         Made updateCounter always count from start of buffer, and removed
10136         second argument (par).
10137         Reverted floats number display to '#'. Perhaps I'll try again when the
10138         code base is sanitized a bit.
10139
10140 2002-08-12  Angus Leeming  <leeming@lyx.org>
10141
10142         * buffer.[Ch] (getLabelList): constify.
10143
10144 2002-08-07  André Pönitz <poenitz@gmx.net>
10145
10146         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10147
10148         * funcrequest.h: extension to keep mouse (x,y) position
10149
10150 2002-08-12  Juergen Vigna  <jug@sad.it>
10151
10152         * BufferView2.C (insertErrors): forbid undo when inserting error
10153         insets.
10154
10155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10156
10157 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10158
10159         * ParagraphList.[Ch]: new files
10160
10161         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10162
10163         * BufferView2.C (lockInset): ParagraphList changes
10164         * toc.C: ditto
10165         * text2.C: ditto
10166         * bufferlist.C: ditto
10167         * buffer.h: ditto
10168         * buffer.C: ditto
10169
10170 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10171
10172         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10173         unused class variable counter_,
10174
10175         * paragraph.[Ch] (getFirstCounter): delete unused function
10176
10177         * counters.C: include LAssert.h
10178         (reset): add a new function with no arg, change other version to
10179         not have def. arg and to not allow empty arg.
10180
10181         * text2.C (setCounter): remove empty arg from call to Counters::reset
10182
10183 2002-08-11  John Levon  <levon@movementarian.org>
10184
10185         * Makefile.am: add WordLangTuple.h
10186
10187 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10188
10189         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10190         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10191
10192         * insets/insettext.C: InsetList changes
10193
10194         * graphics/GraphicsSupport.C (operator()): InsetList changes
10195
10196         * toc.C (getTocList): InsetList changes
10197
10198         * paragraph_pimpl.[Ch]: InsetList changes
10199
10200         * paragraph.[Ch]: InsetList changes
10201
10202         * buffer.C (inset_iterator): InsetList changes
10203         (setParagraph): ditto
10204         * buffer.h (inset_iterator): ditto
10205         * iterators.C (operator++): ditto
10206         * iterators.h: ditto
10207
10208         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10209
10210         * InsetList.[Ch]: new files, most InsetList handling moved out of
10211         paragraph.C.
10212
10213         * BufferView2.C (removeAutoInsets): InsetList changes
10214         (lockInset): ditto
10215         (ChangeInsets): ditto
10216
10217 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10218
10219         * paragraph_pimpl.h (empty): new function
10220
10221         * paragraph.[Ch] (empty): new function
10222
10223         * other files: use the new Paragraph::empty function
10224
10225 2002-08-09  John Levon  <levon@movementarian.org>
10226
10227         * lyxtext.h: remove unused refresh_height
10228
10229 2002-08-09  John Levon  <levon@movementarian.org>
10230
10231         * Makefile.am:
10232         * sgml.h:
10233         * sgml.C:
10234         * buffer.C:
10235         * paragraph.h:
10236         * paragraph.C: move sgml char escaping out of paragraph
10237
10238         * paragraph.h:
10239         * paragraph.C: remove id setter
10240
10241         * buffer.C:
10242         * paragraph.C:
10243         * paragraph_pimpl.C: remove dead tex_code_break_column
10244
10245         * bufferview_funcs.C: small cleanup
10246
10247         * lyxfunc.C: remove dead proto
10248
10249         * lyxtext.h: make some stuff private. Remove some dead stuff.
10250
10251         * lyxgluelength.C: make as[LyX]String() readable
10252
10253 2002-08-08  John Levon  <levon@movementarian.org>
10254
10255         * LyXAction.h:
10256         * LyXAction.C:
10257         * MenuBackend.C:
10258         * ToolbarDefaults.C:
10259         * lyxfunc.C:
10260         * lyxrc.C:
10261         * toc.C: lyxaction cleanup
10262
10263 2002-08-08  John Levon  <levon@movementarian.org>
10264
10265         * BufferView2.C: small cleanup
10266
10267         * lyxfind.h:
10268         * lyxfind.C: move unnecessary header into the .C
10269
10270 2002-08-08  John Levon  <levon@movementarian.org>
10271
10272         * funcrequest.h: just tedious nonsense
10273
10274         * lyx_main.h:
10275         * lyx_main.C: cleanups
10276
10277         * buffer.C:
10278         * vspace.C: remove dead header lyx_main.h
10279
10280 2002-08-07  Angus Leeming  <leeming@lyx.org>
10281
10282         * Paragraph.[Ch]:
10283         * paragraph_pimpl.h:
10284         Forward declare class Counters in paragraph.h by moving the ctrs member
10285         variable into Paragraph::Pimpl.
10286         (counters): new method, returning a reference to pimpl_->ctrs.
10287
10288         * text2.C: ensuing changes.
10289
10290 2002-08-07  John Levon  <levon@movementarian.org>
10291
10292         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10293
10294         * BufferView_pimpl.C: announce X selection on double/triple
10295           click
10296
10297         * lyx_main.C: use correct bool in batch dispatch
10298
10299         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10300
10301 2002-08-07  André Pönitz <poenitz@gmx.net>
10302
10303         * funcrequest.h: new class to wrap a kb_action and its argument
10304
10305         * BufferView.[Ch]:
10306         * BufferView_pimpl[Ch]:
10307         * LaTeX.C:
10308         * LyXAction.[Ch]:
10309         * lyxfunc.[Ch]:
10310         * lyxrc.C: subsequent changes
10311
10312
10313 2002-08-07  John Levon  <levon@movementarian.org>
10314
10315         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10316           document options change.
10317
10318 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10319
10320         * counters.[Ch]
10321         * text2.C
10322         * paragraph.[Ch]
10323         * makefile.am: move counters functionality over from
10324         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10325
10326 2002-08-06  John Levon  <levon@movementarian.org>
10327
10328         * WordLangTuple.h: new file for word + language code tuple
10329
10330         * SpellBase.h:
10331         * pspell.h:
10332         * pspell.C:
10333         * ispell.h:
10334         * ispell.C:
10335         * lyxtext.h:
10336         * text.C:
10337         * text2.C:
10338         * BufferView.h:
10339         * BufferView2.C: use WordLangTuple
10340
10341         * layout.h:
10342         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10343
10344 2002-08-06  John Levon  <levon@movementarian.org>
10345
10346         * lyx_main.C: fix cmdline batch handling
10347
10348 2002-08-06  André Pönitz <poenitz@gmx.net>
10349
10350         * lyxrc.C: set default for show_banner to true
10351
10352 2002-08-06  John Levon  <levon@movementarian.org>
10353
10354         * pspell.C: fix a crash, and allow new aspell to work
10355
10356 2002-08-06  John Levon  <levon@movementarian.org>
10357
10358         * lyxfunc.C:
10359         * kbmap.C: small cleanup
10360
10361         * vspace.h:
10362         * vspace.C: add const
10363
10364 2002-08-05  John Levon  <levon@movementarian.org>
10365
10366         * LyXAction.C: back to tabular-insert
10367
10368 2002-08-04  John Levon  <levon@movementarian.org>
10369
10370         * BufferView.h:
10371         * BufferView.C: cosmetic change
10372
10373         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10374
10375         * bufferlist.C:
10376         * buffer.h:
10377         * buffer.C:
10378         * lyxcb.h:
10379         * lyxcb.C:
10380         * lyxserver.C:
10381         * lyxvc.C:
10382         * vc-backend.C:
10383         * BufferView2.C: purge all "Lyx" not "LyX" strings
10384
10385         * lyxcursor.h:
10386         * lyxcursor.C: attempt to add some documentation
10387
10388         * lyxfunc.C:
10389         * commandtags.h:
10390         * LyXAction.C:
10391         * ToolbarDefaults.C:
10392         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10393           merge with LFUN_TABULAR_INSERT
10394
10395         * Makefile.am:
10396         * SpellBase.h:
10397         * ispell.h:
10398         * ispell.C:
10399         * pspell.h:
10400         * pspell.C: split up i/pspell implementations into separate
10401           files, many cleanups
10402
10403         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10404
10405         * text2.C: some cleanup
10406
10407         * lyxfunc.C: don't check for isp_command == "none" any more, it
10408           didn't make any sense
10409
10410 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10411
10412         * counters.[Ch]
10413         * text2.C
10414         * paragraph.[Ch]
10415         * makefile.am: move counters functionality over
10416         from text2.C/paragraph.[Ch] to counters.[Ch], and
10417         make proper C++.
10418 2002-08-02  John Levon  <levon@movementarian.org>
10419
10420         * buffer.C: s/lyxconvert/lyx2lyx/
10421
10422 2002-08-02  Angus Leeming  <leeming@lyx.org>
10423
10424         * lyxlex.C: revert John's change as it breaks reading of the user
10425         preamble.
10426
10427 2002-08-02  Angus Leeming  <leeming@lyx.org>
10428
10429         * importer.C (Import):
10430         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10431         changes due to LyXView::view() now returning a boost::shared_ptr.
10432
10433 2002-08-02  John Levon  <levon@movementarian.org>
10434
10435         * lyxlex.C: small cleanup
10436
10437 2002-08-02  John Levon  <levon@movementarian.org>
10438
10439         * text2.C (status): small cleanup, no logic change
10440
10441 2002-08-01  John Levon  <levon@movementarian.org>
10442
10443         * buffer.h:
10444         * buffer.C (writeFile): don't output alerts, caller
10445           handles this
10446
10447         * bufferlist.C:
10448         * lyx_cb.C: from above
10449
10450         * lyxfunc.C: allow to open non-existent files
10451
10452 2002-07-31  John Levon  <levon@movementarian.org>
10453
10454         * lyxserver.C: don't let incidental errors get
10455           in the way (errno)
10456
10457 2002-07-30  John Levon  <levon@movementarian.org>
10458
10459         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10460
10461 2002-07-30  John Levon  <levon@movementarian.org>
10462
10463         * lyxserver.h:
10464         * lyxserver.C: remove I/O callback too
10465
10466 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10467
10468         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10469         log.
10470
10471 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10472
10473         * many files: strip,frontStrip -> trim,ltrim,rtrim
10474
10475 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10476
10477         * PrinterParams.h: remove extern containsOnly, and include
10478         support/lstrings.h instead.
10479
10480         * LaTeX.C (scanAuxFile): modify because of strip changes
10481         (deplog): ditto
10482         * buffer.C (makeLaTeXFile): ditto
10483         * bufferparams.C (writeFile): ditt
10484         * lyxfont.C (stateText): ditto
10485         * lyxserver.C (read_ready): ditto
10486         * vc-backend.C (scanMaster): ditto
10487
10488         * BufferView_pimpl.h: ws changes
10489
10490         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10491
10492 2002-07-26  André Pönitz <poenitz@gmx.net>
10493
10494         * kb_sequence.C: remove unnedred usings
10495
10496 2002-07-26  Juergen Vigna  <jug@sad.it>
10497
10498         * lyxfind.C (LyXReplace): we have to check better if the returned
10499         text is not of theLockingInset()->getLockingInset().
10500
10501 2002-07-25  Juergen Vigna  <jug@sad.it>
10502
10503         * lyxfind.C (LyXReplace): don't replace if we don't get the
10504         right LyXText.
10505
10506         * undo_funcs.C (createUndo): remove debugging code.
10507
10508 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10509
10510         * buffer.C (parseSingleLyXformat2Token): Use default placement
10511         when reading old floats.
10512
10513         * FloatList.C (FloatList): Change the default placement of figure
10514         and tables to "tbp".
10515
10516 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * MenuBackend.C: using std::max
10519
10520 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10521
10522         * MenuBackend.C (expandToc):
10523         (expandToc2): code moved from xforms menu frontend. It is now
10524         generic and TOCs are transparent to menu frontends.
10525
10526 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * toc.C (getTocList): protect against buf=0
10529
10530         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10531         Menu as first parameter. Now, this calls itself recursively to
10532         expand a whole tree (this will be useful for TOC handling)
10533         (expandFloatInsert): remove 'wide' version of floats
10534
10535         * MenuBackend.h (submenuname): returns the name of the submenu.
10536         (submenu): returns the submenu itself, provided it has been
10537         created by MenuBackend::expand
10538
10539 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10540
10541         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10542         insets which have noFontChange == true. (bug #172)
10543
10544 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10545
10546         * BufferView_pimpl.C: add connection objects and use them...
10547         (Pimpl): here.
10548
10549 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * MenuBackend.C (expandLastfiles):
10552         (expandDocuments):
10553         (expandFormats):
10554         (expandFloatListInsert):
10555         (expandFloatInsert):
10556         (expand): split expand in parts
10557
10558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * lyx_gui.C: use lyx_gui::exit()
10561
10562 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * LyXAction.C: show the failing pseudo action
10565
10566 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10567
10568         * buffer.C (readFile): Run the lyxconvert script in order to read
10569         old files.
10570
10571 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * LyXAction.C:
10574         * commandtags.h:
10575         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10576
10577 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * LyXAction.C:
10580         * commandtags.h:
10581         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10582
10583 2002-07-22  Herbert Voss  <voss@lyx.org>
10584
10585         * lengthcommon.C:
10586         * lyxlength.[Ch]: add support for the vertical lengths
10587
10588 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * toc.[Ch]: std:: fixes
10591
10592 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * lyxrc.C: do not include lyx_main.h
10595
10596         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10597         for layouts
10598
10599         * lyxrc.C:
10600         * encoding.C:
10601         * bufferlist.C:
10602         * BufferView2.C: include "lyxlex.h"
10603
10604         * tabular.h:
10605         * bufferparams.h: do not #include "lyxlex.h"
10606
10607         * lyxtextclasslist.C (Add): remove method
10608         (classlist): renamed to classlist_
10609
10610         * paragraph_pimpl.C:
10611         * paragraph.C:
10612         * text2.C:
10613         * CutAndPaste.C:
10614         * bufferview_funcs.C:
10615         * bufferlist.C:
10616         * text.C:
10617         * LaTeXFeatures.C:
10618         * buffer.C:
10619         * toc.C (getTocList): use BufferParams::getLyXTextClass
10620
10621         * toc.C (getTocList): use InsetFloat::addToToc
10622
10623         * toc.[Ch]: new files, containing helper functions to handle table
10624         of contents
10625
10626         * lyxfunc.C (dispatch): no need to remove spaces around command
10627         given as a string
10628         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10629         first command of the sequence; it is not very clever, but I do not
10630         have a better idea, actually
10631
10632         * LyXAction.C (LookupFunc): make sure to remove space at the
10633         beginning and end of the command
10634
10635 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * MenuBackend.C (getMenubar): new method: return the menubar of
10638         this menu set
10639         (read): treat differently reading of menu and menubar (in
10640         particular, the menubar has no name now)
10641         (Menu::menubar): remove
10642
10643         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10644         saving is finished
10645
10646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10649         a bibitem inset in a RTL paragraph.
10650
10651 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10652
10653         * paragraph_pimpl.C: constify
10654
10655         * BufferView_pimpl.C:
10656         * LaTeX.C:
10657         * lyxfunc.C: fix dispatch in a nicer way
10658
10659 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * lyxfunc.C (dispatch):
10662         * BufferView_pimpl.C:
10663         * BufferView_pimpl.h:
10664         * BufferView.C:
10665         * BufferView.h: rename Dispatch() to dispatch()
10666
10667         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10668
10669         * lyxlayout.C (Read): honor DependsOn tag
10670
10671         * lyxlayout.[Ch] (depends_on): new method
10672
10673         * version.C.in: update lyx_docversion
10674
10675         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10676
10677         * paragraph.C (validate): remove from here...
10678         * paragraph_pimpl.C (validate): ... and move here
10679         (isTextAt): make it const
10680
10681         * buffer.C (getLists): ws cleanup
10682
10683 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * language.C (read): Use iso8859-1 encoding in latex_lang
10686         (this prevents LyX from crashing when using iso10646-1 encoding).
10687
10688 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * text2.C (toggleInset): if cursor is inside an inset, close the
10691         inset and leave cursor _after_ it
10692
10693 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * lyxfunc.C: move minibuffer completion handling out of here
10696
10697 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * BufferView_pimpl.C:
10700         * LaTeX.C: fix dispatch calls
10701
10702 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10703
10704         * text.C (drawChars): Fix Arabic text rendering.
10705
10706 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * LyXAction.C:
10709         * commandtags.h:
10710         * lyxfunc.C: remove message-push/pop
10711
10712         * lyxserver.C:
10713         * lyxfunc.h:
10714         * lyxfunc.C: rationalise some code by removing verboseDispatch
10715           in favour of a bool argument to dispatch()
10716
10717 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10718
10719         * lyx_main.C (init): make sure to read symlinks as absolute paths
10720
10721 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * lyxfunc.h:
10724         * lyxfunc.C: no need for commandshortcut to be a member
10725
10726 2002-07-15  André Pönitz <poenitz@gmx.net>
10727
10728         * converter.C: add support for $$s (scripts from lib/scripts dir)
10729         * lyx_main.C: white space
10730
10731 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * bufferlist.C:
10734         * lyxrc.h:
10735         * lyxrc.C: remove second exit confirmation
10736
10737 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView.h:
10740         * BufferView.C:
10741         * BufferView2.C:
10742         * BufferView_pimpl.h:
10743         * BufferView_pimpl.C:
10744         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10745
10746 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10747
10748         * MenuBackend.C (expand): add numeric shortcuts to document menu
10749
10750         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10751
10752 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * lyxfont.C (setLyXFamily):
10755         (setLyXSeries):
10756         (setLyXShape):
10757         (setLyXSize):
10758         (setLyXMisc):
10759         (lyxRead):
10760         * debug.C (value):
10761         * buffer.C (asciiParagraph): use ascii_lowercase
10762
10763 2002-07-15  Mike Fabian  <mfabian@suse.de>
10764
10765         * lyxlex_pimpl.C (search_kw):
10766         * lyxlex.C (getLongString):
10767         * converter.h (operator<):
10768         * converter.C (operator<):
10769         * buffer.C (parseSingleLyXformat2Token):
10770         (asciiParagraph):
10771         * ToolbarDefaults.C (read):
10772         * MenuBackend.C (checkShortcuts):
10773         (read):
10774         * LColor.C (getFromGUIName):
10775         (getFromLyXName): use the compare_ascii_no_case instead of
10776         compare_no_case, because in turkish, 'i' is not the lowercase
10777         version of 'I', and thus turkish locale breaks parsing of tags.
10778
10779 2002-07-16  Angus Leeming  <leeming@lyx.org>
10780
10781         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10782         now takes a Buffer const & argument.
10783
10784 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * BufferView.C (resize): check there's a buffer to resize
10787
10788 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * lyxfunc.C: remove dead code
10791
10792         * lyxserver.h:
10793         * lyxserver.C: use lyx_guii::set_read_callback
10794
10795 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10796
10797         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10798         an inset in a RTL paragraph.
10799
10800 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * lyxfunc.C: repaint after a font size update
10803
10804 2002-07-15  André Pönitz <poenitz@gmx.net>
10805
10806         * lyxlength.C: inBP should be able to return negative values
10807
10808 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * lyxfunc.C: use lyx_gui::update_fonts()
10811
10812 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * lyxfunc.C: use lyx_gui::update_color()
10815
10816 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * bufferlist.C:
10819         * lyxfunc.h:
10820         * lyxfunc.C:
10821         * lyxrc.h:
10822         * lyxrc.C: remove file->new asks for name option, and let
10823           buffer-new take an argument
10824
10825 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10826
10827         * BufferView_pimpl.C: remove unneeded extra repaint()
10828
10829 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10830
10831         * LyXAction.C: allow command-sequence with NoBuffer
10832
10833         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10834
10835 2002-07-10  Angus Leeming  <leeming@lyx.org>
10836
10837         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10838
10839 2002-07-09  Angus Leeming  <leeming@lyx.org>
10840
10841         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10842
10843 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * lengthcommon.h: whitespace
10846
10847         * lyxfunc.C: update scrollbar after goto paragraph
10848
10849         * lyxtext.h: factor out page break drawing, and fix it so
10850           page break/added space paints as selected nicely
10851
10852 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView_pimpl.C: add FIXMEs, clean up a little
10855
10856 2002-07-09  André Pönitz <poenitz@gmx.net>
10857
10858         * lyxfont.[Ch]: support for wasy symbols
10859
10860 2002-07-08  André Pönitz <poenitz@gmx.net>
10861
10862         * BufferView_pimpl.C: apply John's patch for #93.
10863
10864 2002-07-05  Angus Leeming  <leeming@lyx.org>
10865
10866         * BufferView_pimpl.C (buffer): generate previews if desired.
10867
10868         * LColor.h: add "preview" to the color enum.
10869
10870         * LColor.C (LColor): add a corresponding entry to the items array.
10871
10872         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10873         with this buffer.
10874
10875 2002-07-05  Angus Leeming  <leeming@lyx.org>
10876
10877         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10878         The body of the code is now in the method that is passed an ostream &
10879         rather than a file name.
10880         Pass an additional only_preamble parameter, useful for the forthcoming
10881         preview stuff.
10882
10883 2002-07-03  André Pönitz <poenitz@gmx.net>
10884
10885         * lyxfunc.C: simplify getStatus() a bit for math stuff
10886
10887 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10890
10891 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * text.C (changeRegionCase): do not change case of all the
10894         document when region ends at paragraph end (bug #461)
10895
10896 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10897
10898         * paragraph.C (startTeXParParams):
10899         (endTeXParParams): add \protect when necessary
10900
10901 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10902
10903         * BufferView_pimpl.C (workAreaExpose): remove warning
10904
10905 2002-06-27  Angus Leeming  <leeming@lyx.org>
10906
10907         * Makefile.am: add lyxlayout_ptr_fwd.h.
10908
10909 2002-06-26  André Pönitz <poenitz@gmx.net>
10910
10911         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10912
10913 2002-06-25  Angus Leeming  <leeming@lyx.org>
10914
10915         * lyxfunc.C (dispatch): Comment out the call to
10916         grfx::GCache::changeDisplay. The method no longer exists now that the
10917         pixmap generation part of the graphics loader has been moved into
10918         InsetGraphics.
10919
10920 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * text2.C: layout as layout
10923
10924         * text.C: layout as layout
10925
10926         * tabular.C (OldFormatRead): layout as layout
10927
10928         * paragraph_pimpl.C (TeXDeeper): layout as layout
10929         (realizeFont): layout as layout
10930
10931         * paragraph.C (writeFile): layout as layout
10932         (validate): layout as layout
10933         (getFont): layout as layout
10934         (getLabelFont): layout as layout
10935         (getLayoutFont): layout as layout
10936         (breakParagraph): layout as layout
10937         (stripLeadingSpaces): layout as layout
10938         (getEndLabel): layout as layout
10939         (getMaxDepthAfter): layout as layout
10940         (applyLayout): layout as layout
10941         (TeXOnePar): layout as layout
10942         (simpleTeXOnePar): layout as layout
10943         (TeXEnvironment): layout as layout
10944         (layout): layout as layout
10945         (layout): layout as layout
10946
10947         * lyxtextclass.C (compare_name): new functor to work with
10948         shared_ptr, layout as layout
10949         (Read): layout as layout
10950         (hasLayout): layout as layout
10951         (operator): layout as layout
10952         (delete_layout): layout as layout
10953         (defaultLayout): layout as layout
10954
10955         * lyxlayout_ptr_fwd.h: new file
10956
10957         * lyxlayout.C (Read): layout as layout
10958
10959         * lyx_cb.C (MenuInsertLabel): layout as layout
10960
10961         * bufferlist.C (newFile): layout as layout
10962
10963         * buffer.C (readLyXformat2): layout as layout
10964         (parseSingleLyXformat2Token): layout as layout
10965         (insertStringAsLines): layout as layout
10966         (asciiParagraph): layout as layout
10967         (latexParagraphs): layout as layout
10968         (makeLinuxDocFile): layout as layout
10969         (simpleLinuxDocOnePar): layout as layout
10970         (makeDocBookFile): layout as layout
10971         (simpleDocBookOnePar): layout as layout
10972         (getLists): layout as layout
10973
10974         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10975
10976         * CutAndPaste.C (cutSelection): layout as layout
10977         (pasteSelection): layout as layout
10978         (SwitchLayoutsBetweenClasses): layout as layout
10979
10980         * BufferView_pimpl.C (Dispatch): layout as layout
10981         (smartQuote): layout as layout
10982
10983         * BufferView2.C (unlockInset): layout as layout
10984
10985 2002-06-24  André Pönitz <poenitz@gmx.net>
10986
10987         * lyxfunc.C: fix #487
10988
10989 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * lyxrc.h:
10992         * lyxrc.C:
10993         * lyxfunc.C: remove display_shortcuts, show_banner
10994
10995 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * Buffer_pimpl.C: oops, update on resize
10998
10999 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * buffer.C:
11002         * converter.C:
11003         * exporter.C:
11004         * lyxfunc.C:
11005         * BufferView.h:
11006         * BufferView.C: use repaint()
11007
11008         * BufferView_pimpl.h:
11009         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11010           as it's a clearer description. Remove superfluous
11011           redraws.
11012
11013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11014
11015         * text.C: fix bug 488. Not ideal, but getting
11016           getWord() to work properly for the insets that
11017           matter is more difficult ...
11018
11019 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * BufferView_pimpl.C:
11022         * LyXAction.C:
11023         * commandtags.h:
11024         * lyxfunc.C: remove the six million index lyxfuncs to just
11025           one, and DTRT (bug 458)
11026
11027 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * BufferView.h:
11030         * BufferView.C:
11031         * BufferView_pimpl.h:
11032         * BufferView_pimpl.C: clean up resize() stuff,
11033           and unnecessary updateScreen()s
11034
11035 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * BufferView.h:
11038         * BufferView.C:
11039         * BufferView_pimpl.h:
11040         * BufferView_pimpl.C:
11041         * lyxfind.h:
11042         * lyxfind.C:
11043         * minibuffer.C: remove focus management of workarea,
11044           not needed. Use screen's greyOut()
11045
11046 2002-06-17  Herbert Voss  <voss@lyx.org>
11047
11048         * converter.C: (convert) do not post a message, when converting
11049         fails, let the calling function decide what to do in this case
11050
11051 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11052
11053         * lyxfunc.C: tidy up a little
11054
11055 2002-06-16    <alstrup@diku.dk>
11056
11057         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11058         Got rid of FORMS_H_LOCATION include. Now we are
11059         GUII.
11060
11061 2002-06-15  LyX Development team  <lyx@rilke>
11062
11063         * buffer.[Ch] (sgmlOpenTag):
11064         (sgmlCloseTag): Added support for avoiding pernicious mixed
11065         content. Return number of lines written.
11066
11067         (makeLinuxDocFile):
11068         (makeDocBookFile): Fixed calls to sgml*Tag.
11069         Simple white space clean.
11070
11071         (simpleDocBookOnePar): Simple white space clean.
11072
11073         * tabular.[Ch] (docBook): Renamed to docbook and got another
11074         argument to related with the pernicious mixed content.
11075
11076         (docbookRow): Fixed calls for docbook inset method.
11077
11078 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11079
11080         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11081         so it's X11 independent.
11082
11083         * kb*.[Ch]: ditto.
11084
11085         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11086
11087 2002-06-15  Lyx Development team  <lyx@electronia>
11088
11089         * intl.h: Renamed getTrans to getTransManager.
11090
11091 2002-06-14  Angus Leeming  <leeming@lyx.org>
11092
11093         * Makefile.am: nuke forgotten stl_string_fwd.h.
11094
11095 2002-06-12  Angus Leeming  <leeming@lyx.org>
11096
11097         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11098
11099 2002-06-13  Angus Leeming  <leeming@lyx.org>
11100
11101         * LaTeX.C:
11102         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11103
11104 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11105
11106         * kbmap.C (getiso): add support for cyrillic and greek
11107
11108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * BufferView.h:
11111         * BufferView.C:
11112         * BufferView_pimpl.h:
11113         * BufferView_pimpl.C: move bogus scrolling logic
11114           to xforms
11115
11116 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * lyxfunc.C:
11119         * BufferView_pimpl.C: view->resize() change
11120
11121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView_pimpl.C: topCursorVisible
11124           prototype change
11125
11126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * Makefile.am:
11129         * lyx_gui.h:
11130         * lyx_gui.C: move to frontends/
11131
11132         * main.C:
11133         * lyx_main.h:
11134         * lyx_main.C: changes from above
11135
11136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * intl.C:
11139         * intl.h:
11140         * kbmap.C:
11141         * kbsequence.C:
11142         * lyx_cb.C:
11143         * lyx_main.C: minor tidy
11144
11145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * BufferView_pimpl.h:
11148         * BufferView_pimpl.C:
11149         * BufferView.h:
11150         * BufferView.C: make painter() const,
11151           remove dead code
11152
11153         * BufferView2.C: use screen() accessor
11154
11155         * lyx_main.h:
11156         * lyx_main.C: some minor cleanup
11157
11158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * BufferView_pimpl.h:
11161         * BufferView_pimpl.C: remove enter/leaveView,
11162           use workHeight()
11163
11164 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * BufferView.h:
11167         * BufferView.C:
11168         * BufferView2.C:
11169         * BufferView_pimpl.h:
11170         * BufferView_pimpl.C: only construct screen once,
11171           rename
11172
11173         * lyxrc.C: remove pointless comment
11174
11175 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * BufferView.h:
11178         * BufferView.C: remove active() and belowMouse()
11179
11180         * BufferView_pimpl.h:
11181         * BufferView_pimpl.C: use workarea() not workarea_,
11182           and make it use a scoped_ptr instead
11183
11184 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * lyx_gui.C: add debug message on BadWindow
11187
11188 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * sp_spell.C: fdopen is not part of the C++ standard.
11191
11192         * paragraph.C (InsetIterator): use >= instead of ==
11193
11194 2002-06-07  Angus Leeming  <leeming@lyx.org>
11195
11196         Fixes needed to compile with Compaq cxx 6.5.
11197         * BufferView_pimpl.C:
11198         * DepTable.C:
11199         * buffer.C:
11200         * converter.C:
11201         * encoding.C:
11202         * lyx_gui.C:
11203         * lyx_main.C:
11204         * lyxtextclasslist.C:
11205         * minibuffer.C:
11206         * sp_spell.C:
11207         * tabular_funcs.C:
11208         * vc-backend.C:
11209         all c-library variables have been moved into namespace std. Wrap
11210         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11211
11212         * lyxlength.C:
11213         * tabular-old.C:
11214         * tabular.C:
11215         Add a using std::abs declaration.
11216
11217         * kbmap.h (modifier_pair):
11218         * paragraph.h (InsetTable, InsetList):
11219         * lyxfont.h (FontBits):
11220         type definition made public.
11221
11222         * bufferlist.C (emergencyWriteAll): the compiler complains that
11223         there is more than one possible lyx::class_fun template to choose from.
11224         I re-named the void specialisation as lyx::void_class_fun.
11225
11226         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11227
11228         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11229         the compiler is is unable to find tostr in write_attribute.
11230
11231 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11232
11233         * buffer.C (sgmlError): hide #warning
11234
11235 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * xtl/*: get rid of xtl, which is not in use anyway
11238
11239         * LyXAction.C (init):
11240         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11241         were unimplemented xtl experimentation
11242
11243 2002-06-04  André Pönitz <poenitz@gmx.net>
11244
11245         * lyxfunc.C: disable array operation on simple formulae
11246
11247 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * converter.C: constify a bit
11250
11251 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * lyx_gui.C: check xforms version correctly
11254
11255 2002-04-30  Herbert Voss  <voss@lyx.org>
11256
11257         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11258         "keep" option
11259
11260 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11263           attempt to register it with a VCS)
11264
11265 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11266
11267         * lyx_main.C (init): honor variables LYX_DIR_13x and
11268         LYX_USERDIR_13x
11269
11270 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * buffer.h:
11273         * buffer.C:
11274         * lyx_main.C: fix a crash on bad command line,
11275           and give a useful exit status on error
11276
11277         * lyxfunc.C (doImport): allow -i lyx to work
11278
11279 2002-03-30  André Pönitz <poenitz@gmx.net>
11280
11281         * lyxfunc.C: mathed font changes
11282
11283 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * LaTeX.C:
11286         * importer.h:
11287         * importer.C:
11288         * lyx_sty.h:
11289         * lyx_sty.C:
11290         * lyxlex.C:
11291         * lyxrow.h:
11292         * lyxtext.h:
11293         * paragraph.h:
11294         * paragraph.C:
11295         * texrow.h:
11296         * texrow.C:
11297         * text.C:
11298         * trans_mgr.h: srcdocs, and some minor cleanups
11299
11300 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11303         call getFont all the time)
11304
11305 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * switch from SigC signals to boost::signals
11308
11309 2002-05-29  André Pönitz <poenitz@gmx.net>
11310
11311         * paragraph_pimpl.C (getChar): don't call size() too often...
11312
11313 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * paragraph_pimpl.C (insertChar): do not try to update tables when
11316         appending (pos == size())
11317
11318         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11319         in order to reduce drastically the number of comparisons needed to
11320         parse a large document
11321
11322 2002-05-29  André Pönitz <poenitz@gmx.net>
11323
11324         * text.C:
11325         * text2.C:
11326         * lyxtextclass.C:
11327         * sp_pspell.h:
11328         * textclasslist.[Ch]:
11329         * sp_ispell.h: whitespace change
11330
11331 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11334         lyxaction directly now.
11335
11336 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * trans.C:
11339         * lyxfont.C:
11340         * lyxvc.C: remove unused headers
11341
11342 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * Makefile.am:
11345         * buffer.h:
11346         * undostack.h:
11347         * undostack.C:
11348         * undo_funcs.h:
11349         * undo_funcs.C: some cleanups. Use shared_ptr
11350           and a template for the undo stacks.
11351
11352 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * BufferView_pimpl.h:
11355         * BufferView_pimpl.C:
11356         * kbmap.h:
11357         * kbmap.C:
11358         * kbsequence.h:
11359         * kbsequence.C:
11360         * lyxfunc.h:
11361         * lyxfunc.C:
11362         * text2.C: use key_state/mouse_state
11363
11364 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11367         and LSubstring
11368
11369         * chset.C: change include order
11370         (loadFile): use boost regex and get rid of LRegex and LSubstring
11371
11372         * Makefile.am (BOOST_LIBS): new variable
11373         (lyx_LDADD): use it
11374
11375         * LaTeX.C: change include order.
11376         (scanAuxFile): use boost regex and get rid of LRegex and
11377         LSubstring
11378         (deplog): ditto
11379
11380 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * ColorHandler.h:
11383         * ColorHandler.C:
11384         * FontInfo.h:
11385         * FontInfo.C: moved to frontends/xforms/
11386
11387         * FontLoader.h:
11388         * FontLoader.C: moved into frontends for GUIIzation
11389
11390         * Makefile.am:
11391         * lyx_gui.C:
11392         * lyxfont.C:
11393         * lyxfunc.C: changes from above
11394
11395 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * LColor.C: remove spurious X include
11398
11399         * BufferView_pimpl.C:
11400         * Makefile.am:
11401         * font.h:
11402         * font.C:
11403         * text.C:
11404         * text2.C: move font metrics to frontends/
11405
11406 2002-05-24  Juergen Vigna  <jug@sad.it>
11407
11408         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11409         setting the undo_cursor.
11410
11411         * ParagraphParameters.h: include local includes first.
11412
11413 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * BufferView_pimpl.C:
11416         * BufferView_pimpl.h:
11417         * Makefile.am:
11418         * WorkArea.h:
11419         * WorkArea.C:
11420         * screen.C: move WorkArea into frontends/
11421
11422         * lyxscreen.h:
11423         * screen.C:
11424         * text.C:
11425         * BufferView.C:
11426         * BufferView2.C: move LyXScreen into frontends/
11427
11428         * lyxlookup.h:
11429         * lyxlookup.C:
11430         * lyx_gui.C: move lyxlookup into frontends/xforms/
11431
11432 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView2.C:
11435         * BufferView_pimpl.C:
11436         * FontLoader.C:
11437         * LyXView.h:
11438         * LyXView.C:
11439         * Makefile.am:
11440         * WorkArea.C:
11441         * XFormsView.h:
11442         * XFormsView.C:
11443         * buffer.C:
11444         * bufferlist.C:
11445         * bufferview_funcs.C:
11446         * converter.C:
11447         * importer.C:
11448         * lyx_cb.C:
11449         * lyx_gui.C:
11450         * lyx_main.C:
11451         * lyx_find.C:
11452         * lyxfunc.C:
11453         * lyxvc.C:
11454         * minibuffer.C:
11455         * text.C:
11456         * text2.C:
11457         * trans.C:
11458         * vc-backend.C: move LyX/XFormsView into frontends/
11459
11460 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * Makefile.am:
11463         * PainterBase.C:
11464         * PainterBase.h:
11465         * Painter.C:
11466         * Painter.h:
11467         * WorkArea.C:
11468         * WorkArea.h:
11469         * screen.C:
11470         * tabular.C:
11471         * text.C:
11472         * text2.C: move Painter to frontends/
11473
11474 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * buffer.C: comment out some some code that depend upon lyx_format
11477         < 220
11478
11479         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11480         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11481
11482         * buffer.h (NO_COMPABILITY): turn off compability
11483
11484         * ColorHandler.C: include scoped_array.hpp
11485
11486         * font.C: Use more specific smart_ptr header.
11487         * Painter.C: ditto
11488         * gettext.C: ditto
11489         * ShareContainer.h: ditto
11490         * lyx_main.h: ditto
11491         * kbmap.h: ditto
11492         * FontInfo.h: ditto
11493         * BufferView_pimpl.h: ditto
11494         * ColorHandler.h: ditto
11495
11496         * kbmap.C (defkey): change call to shared_ptr::reset
11497
11498 2002-05-21  Juergen Vigna  <jug@sad.it>
11499
11500         * buffer.C (insertErtContents): fix to insert ert asis if it is
11501         non empty. Skip it completely if it contains only whitespaces.
11502
11503 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * BufferView_pimpl.C:
11506         * BufferView2.C: clear selection on paste (bug 393)
11507
11508 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * DepTable.C: include ctime
11511
11512 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11513
11514         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11515
11516 2002-05-14  Juergen Vigna  <jug@sad.it>
11517
11518         * text.C (breakParagraph): fixed function to honor the keepempty
11519         layout in the right maner and also to permit the right breaking
11520         algorithm on empty or non empyt keepempty paragraphs.
11521
11522         * paragraph.C (breakParagraph): we have to check also if the par
11523         is really empty (!size()) for isempty otherwise we do the wrong
11524         paragraph break.
11525
11526 2002-05-10  Juergen Vigna  <jug@sad.it>
11527
11528         * buffer.[Ch] : The following are only changes to the ert
11529         compatibility read reading old LaTeX layout and font stuff and
11530         convert it to ERTInsets.
11531
11532         * buffer.h: added isErtInset().
11533
11534         * buffer.C (struct ErtComp): add a fromlayout bool to check
11535         if we're inside a LaTeX layout.
11536         (isErtInset): new helper function.
11537         (insertErtContents): look for other ert insets before this one
11538         and insert the contents there, so that we don't have subsequent
11539         ERT insets with nothing between them. This way we create only one
11540         inset with multiple paragraphs. Also check if we don't insert only
11541         spaces ' ' as they are ignored anyway afterwards in the .tex file
11542         so if we have only spaces we will ignore this latex part in the
11543         new file.
11544         (parseSingleLyXformat2Token \\layout): better compatibility when
11545         reading layout-latex stuff.
11546         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11547         language tag.
11548         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11549         stuff after reading the inset only get the information back from
11550         the stack.
11551
11552 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11553
11554         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11555
11556         * LaTeXFeatures.C (getBabelOptions): New method.
11557
11558 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * BufferView_pimpl.C (Dispatch): work around missing argument for
11561         'layout'
11562
11563 2002-05-08  Juergen Vigna  <jug@sad.it>
11564
11565         * text.C (leftMargin): handle paragraph leftindent.
11566
11567         * paragraph.C (writeFile): write the new \\leftindent tag.
11568         (validate): handle leftindent code.
11569         (TeXEnvironment): handle paragraphleftindent code again.
11570
11571         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11572
11573         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11574         for paragrap_extra indent code and new token \\leftindent.
11575         (latexParagraphs): handle the leftindent as environment.
11576
11577         * ParameterStruct.h: added leftindent support.
11578
11579         * ParagraphParameters.C (leftIndent): added support functions for
11580         the paragraph left indent.
11581
11582         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11583         more appropriate.
11584
11585 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11586
11587         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11588         inside insetERT.
11589
11590         * text.C (computeBidiTables): No bidi in insetERT.
11591
11592         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11593         in RTL documents.
11594
11595 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * version.C.in: pre 5
11598
11599 2002-05-02  José Matos  <jamatos@fep.up.pt>
11600         * buffer.C (makeDocBookFile): white space changes, add newline to
11601         command styles.
11602         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11603
11604         * tabular.C (docBook): fix typo.
11605
11606 2002-05-03  Juergen Vigna  <jug@sad.it>
11607
11608         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11609         change in LyXText as we can not be sure it was not freed.
11610         (drawOneRow): remove unused code.
11611
11612         * text.C (drawInset): redo the calculation of the need_break_row as
11613         it could have a row which was already freed.
11614         (draw): look at the return value of drawInset and return false if
11615         it also returned false.
11616         (paintRowText): look at the return value of draw and return false if
11617         it also returned false.
11618
11619         * lyxtext.h: added bool return type to drawInset() and draw() so that
11620         if we have a change in the row so that the rowbreak has to be redone
11621         we abort drawing as it will be called again.
11622
11623 2002-05-02  Juergen Vigna  <jug@sad.it>
11624
11625         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11626         a change in the maintext also if we're inside an inset.
11627         (Dispatch): set the cursor again after a break line and after the
11628         screen has been updated as it could be we're in a different row.
11629
11630         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11631         to set the cursor behind the pargraph with > size().
11632         (setCursor): check also for the same paragraph when checking where
11633         to put the cursor if we have a NFR inset.
11634
11635         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11636         parts of layout read further up as it still was in the wrong
11637         position.
11638
11639 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * screen.C (drawFromTo): change sine fullRebreak always return
11642         true.
11643
11644         * buffer.C (parseSingleLyXformat2Token): reindent some
11645
11646         * BufferView_pimpl.C (update): change since fullRebreak always
11647         return true.
11648         (Dispatch): git rid of the last hardcoded "Standard"s.
11649
11650 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * text2.[Ch] (fullRebreak): make it return void now that we always
11653         returned true.
11654
11655 2002-04-30  Juergen Vigna  <jug@sad.it>
11656
11657         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11658         ert compatibility check for "latex" layout.
11659
11660 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11661
11662         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11663         minipages: use col% instead of p%, and also use the current font.
11664         (makeLaTeXFile): Fix use babel condition.
11665         (parseSingleLyXformat2Token): Correct font when reading old floats.
11666
11667 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11668
11669         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11670         inserting list of floats.
11671
11672 2002-04-25  Herbert Voss  <voss@lyx.org>
11673
11674         * MenuBackend.C (expand): don't add the graphics extensions to the
11675         export menu
11676
11677 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11678
11679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11680         non-existing layout, do not complain if it was the default layout
11681         of the original class (bug #342)
11682
11683 2002-04-24  Juergen Vigna  <jug@sad.it>
11684
11685         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11686         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11687
11688 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11689
11690         * buffer.C (getBibkeyList): If using \bibliography, return the
11691         option field with the reference itself. Enables us to provide natbib
11692         support when using \bibliography.
11693
11694 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11695
11696         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11697
11698         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11699         natbib is provided by the LaTeX class.
11700
11701 2002-04-23  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11704         Wakeup functions.
11705
11706         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11707
11708 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11711
11712         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11713         ensuremath around textordmasculine, textordfeminine and
11714         textdegree.
11715
11716 2002-04-19  Juergen Vigna  <jug@sad.it>
11717
11718         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11719         reinitializing the buffer otherwise row-dimensions may be wrong.
11720         (update): reset also the selection cursors if they do exits otherwise
11721         their x/y positions may be wrong.
11722
11723         * text2.C (cursorDown): don't enter the inset if we came from a row
11724         above and are one row over the inset.
11725
11726         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11727         really leaving an inset.
11728
11729 2002-04-18  Juergen Vigna  <jug@sad.it>
11730
11731         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11732         of the selected paragraph does not have the selected layout also if
11733         the last one had!
11734
11735         * text2.C (setLayout): fixed bug which did not change last selected
11736         paragraph.
11737
11738         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11739         changed the read and substituted \\end_float with \\end_inset!
11740
11741         * BufferView_pimpl.C (cursorPrevious):
11742         (cursorNext): fixed to make it work with rows heigher than the work
11743         area without moving the cursor only the draw of the row.
11744         (workAreaMotionNotify): fix jumping over high rows.
11745
11746 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11749         Ressler.
11750
11751 2002-04-16  Juergen Vigna  <jug@sad.it>
11752
11753         * text2.C (setCursor): set also the irow().
11754         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11755         (cursorUp):
11756         (cursorDown): support for locking an inset if the x_fix value goes
11757         inside it. That way I can transverse insets too with cursor up/down.
11758
11759         * lyxrow.h: added irow helper function same as other (i) functions.
11760
11761         * BufferView_pimpl.C (cursorPrevious):
11762         (cursorNext): fixed for insets!
11763
11764 2002-04-15  Juergen Vigna  <jug@sad.it>
11765
11766         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11767         position otherwise it is wrong in some cases.
11768
11769         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11770         inside the inset before the call.
11771
11772 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11773
11774         * buffer.[Ch] (getBibkeyList): make it const.
11775
11776 2002-04-12  Juergen Vigna  <jug@sad.it>
11777
11778         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11779
11780         * text2.C (getCursorX): new helper function
11781         (setCursor): compute also ix_
11782         (setCursorFromCoordinates): set also ix.
11783
11784         * lyxcursor.h: added ix_ and helper functions.
11785
11786         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11787
11788         * buffer.C (insertStringAsLines): dont break paragraph if the this
11789         paragraph is inside an inset which does not permit it!
11790
11791         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11792         also with no chars on this paragraph.
11793         (paintRowText): only paint stuff if it's inside the workarea!
11794
11795         * paragraph.C (breakParagraph): honor keepempty flag and break the
11796         paragraph always below not above.
11797
11798         * BufferView2.C (unlockInset): update the paragraph layout on inset
11799         unlock as we changed paragraph in such a case.
11800
11801         * lyxfind.C (LyXFind): clear the former selection if not found!
11802
11803         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11804         again called in insertChar().
11805
11806         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11807         an inset which uses the whole row!
11808         (rightMargin): ditto.
11809         (insertChar): force a rebreak if we inserted an inset!
11810
11811 2002-03-28  Herbert Voss  <voss@lyx.org>
11812
11813         * lyxlength.[Ch]: add inBP() to get the right PS-point
11814         units (BigPoint). With inPixels we have rounding errors
11815
11816 2002-04-11  Juergen Vigna  <jug@sad.it>
11817
11818         * text2.C (setCursorFromCoordinates): set iy to the right value.
11819         (setCursor): add check if row->previous exists!
11820
11821         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11822         an old float_type as this was the case in the old code!
11823
11824         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11825
11826         * BufferView2.C (showLockedInsetCursor): use iy
11827         (fitLockedInsetCursor): ditto
11828
11829         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11830         locked insets as there we have the right value now.
11831
11832         * lyxcursor.C: added iy_ variable and iy functions to set to the
11833         baseline of cursor-y of the locked inset.
11834
11835         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11836         (setCursor): fixed for insets which need a full row.
11837
11838         * text.C (rowLastPrintable): don't ignore the last space when before
11839         an inset which needs a full row.
11840         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11841         as last character of a row when before a inset which needs a full row.
11842
11843 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * version.C.in: update date
11846
11847         * text2.C (fullRebreak): try to always return true and see what
11848         happens...
11849
11850 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11851
11852         * MenuBackend.C (expand): use Floating::listName
11853
11854         * FloatList.C (FloatList): add listName argument to the built-in
11855         floats
11856
11857         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11858         text associated with the float.
11859
11860 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11863
11864 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * ShareContainer.h: add a couple of missing typenames.
11867
11868 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * lyxrc.C (getDescription): use _() correctly rather than N_().
11871
11872 2002-03-28  Herbert Voss  <voss@lyx.org>
11873
11874         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11875         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11876
11877 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11880         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11881
11882 2002-03-29  Juergen Vigna  <jug@sad.it>
11883
11884         * lyxfunc.C (dispatch): add a missing fitCursor call.
11885
11886         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11887         it was scrolled by a cursor move, so return the bool status.
11888
11889         * BufferView.C (fitCursor): return the bool flag also to the outside
11890         world as this is needed.
11891
11892         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11893
11894         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11895         call the edit() as it is not needed (and wrong) IMO.
11896         (workAreaButtonPress): set the screen_first variable before evt.
11897         unlock the inset as this may change screen_first and then we have
11898         a wrong y position for the click!
11899
11900 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * MenuBackend.C (expand): another translation that I missed
11903
11904 2002-03-28  Juergen Vigna  <jug@sad.it>
11905
11906         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11907
11908         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11909
11910 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11913
11914         * MenuBackend.C (expand): fix export/view/update when there is no
11915         document open.
11916
11917 2002-03-27  Herbert Voss  <voss@lyx.org>
11918
11919         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11920         and text%
11921
11922 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11923
11924         * bufferview_funcs.C (currentState): only show paragraph number
11925         for is DEVEL_VERSION is set.
11926
11927         * lyxfunc.C (dispatch): put warning in INFO channel
11928
11929         * MenuBackend.C (expand): translate the name of floats
11930
11931         * FloatList.C (FloatList): mark the float names for translation
11932
11933         * converter.C (convert): use LibScriptSearch
11934
11935 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11936
11937         * MenuBackend.C (defaults): fix default menu (we might as well get
11938         rid of it...)
11939
11940 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11941
11942         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11943         directory.
11944
11945 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * lyxvc.C: reorder includes.
11948
11949 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11952           properly
11953
11954 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * CutAndPaste.C: change layouts earlier on paste
11957           to avoid crashing when calling getFont()
11958
11959 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11960
11961         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11962         irritating #error.
11963
11964 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * WorkArea.C: remove 'Pending' debug message.
11967
11968         * most files: ws cleanup
11969
11970         * buffer.[Ch]: ws changes
11971
11972         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11973
11974 2002-03-21  Juergen Vigna  <jug@sad.it>
11975
11976         * tabular.C (SetMultiColumn): collapse also the contents of the
11977         cells and set the last border right. Added a Buffer const * param.
11978
11979 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11982         linking or not.
11983
11984 2002-03-19  Juergen Vigna  <jug@sad.it>
11985
11986         * text2.C (clearSelection): reset also xsel_cache.
11987
11988         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11989         where it needs to be called (John tells us to do so too :)
11990         (selectionLost): reset sel_cache.
11991
11992         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11993
11994 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * text2.C (setCursorIntern): put debuging code in INSETS channel
11997
11998 2002-03-19  André Pönitz <poenitz@gmx.net>
11999
12000         * lyxfunc.C: tiny whitespace change
12001
12002 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12003
12004         * ToolbarDefaults.C (init):
12005         * LyXAction.C (init):
12006         * commandtags.h:
12007         * BufferView_pimpl.C (Dispatch):
12008         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12009
12010 2002-03-19  Allan Rae  <rae@lyx.org>
12011
12012         * exporter.C (Export): removeAutoInsets before doing anything else.
12013         While I've just introduced a dependency on BufferView this really is
12014         the best place to clean the buffer otherwise you need to cleanup in
12015         a dozen places before calling export or cleanup in a dozen functions
12016         that export calls.
12017
12018         * converter.C (runLaTeX):
12019         (scanLog): Better handling of removeAutoInsets and screen updates.
12020
12021         * lyxfunc.C (dispatch): small whitespace changes
12022
12023 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * WorkArea.C (C_WorkAreaEvent): return a value.
12026         (event_cb): return 1 if we handled the event, 0 otherwise.
12027
12028         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12029
12030 2002-03-18  Juergen Vigna  <jug@sad.it>
12031
12032         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12033         (GetAdditionalWidth): ditto.
12034         (RightLine): ditto.
12035         (LeftLine): ditto.
12036
12037         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12038         inset if we're there actually (probably not used right now but this
12039         is the direction to go for unifying code).
12040         (paste): disable code to clear the selection.
12041
12042         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12043         inside an InsetText and move the check further up as it is in the
12044         wrong place.
12045
12046         * text2.C (pasteSelection): set a selection over the pasted text.
12047
12048 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12049
12050         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12051         and libgraphics to build on Cygwin.
12052
12053 2002-03-15  Juergen Vigna  <jug@sad.it>
12054
12055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12056         inserting an Inset into the paragraph. I know this is not the best
12057         fix but we already use current_view in CutAndPaste so we will remove
12058         all of it's using at the same time.
12059
12060         * buffer.C (sgmlError): deactivated function till it is rewritten in
12061         the right mode, now it can create problems.
12062
12063         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12064         before accessing it.
12065
12066 2002-03-14  Juergen Vigna  <jug@sad.it>
12067
12068         * undo_funcs.C (textHandleUndo): do the right thing when updating
12069         the inset after the undo/redo.
12070
12071         * text2.C (setCursor): just some testcode for #44 not ready yet.
12072
12073         * undo_funcs.C (textHandleUndo): set the next() and previous()
12074         pointers of the paragraph to 0 before deleting otherwise we have
12075         problems with the Paragraph::[destructor].
12076
12077         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12078         on a paragraph insertion.
12079
12080 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * buffer.C (asciiParagraph): use += operator for char append to
12083         string.
12084
12085         * paragraph.C (getFontSettings): compare >= not just >
12086         (highestFontInRange): ditto
12087         (setFont): ditto
12088
12089 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * paragraph.C: change several algorithm to be more appripriate for
12092         the problem domain. This is lookip in FontList and in the InsetList.
12093
12094 2002-03-13  André Pönitz <poenitz@gmx.net>
12095
12096         * commandtags.h:
12097         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12098
12099 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * commandtags.h:
12102         * LyXAction.C:
12103         * lyxfunc.C:
12104         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12105
12106 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * Painter.C (display): anon helper function, adjust code for this
12109         change.
12110         (pixmap): remove function.
12111
12112         * Painter.h: remove private display variable.
12113
12114         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12115
12116 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * WorkArea.[Ch]: remove figinset_canvas cruft.
12119
12120 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * lyxtextclass.C (operator): add one item cache optimization.
12123
12124         * bufferlist.h: doxy changes
12125
12126         * bufferlist.C: ws changes
12127
12128         * DepTable.[Ch] (ext_exist): place const in the right spot.
12129
12130         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12131         call resizeInsets.
12132         (workAreaExpose): call resizeInsets when the with BufferView changes.
12133         (Dispatch): adjust for protectedBlank removal
12134         (specialChar): call updateInset if the insert went ok.
12135
12136         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12137         specialChar instead.
12138
12139         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12140
12141         * BufferView.h: doxy change
12142
12143         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12144
12145         * lyxtextclass.C (operator[]): remove non-const version
12146         (defaultLayout): remove non-const version
12147
12148 2002-03-12  Juergen Vigna  <jug@sad.it>
12149
12150         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12151         did resize the LyXText too.
12152
12153         * buffer.C (readLyXformat2): set layout information on newly allocated
12154         paragraphs.
12155
12156         * tabular.C (OldFormatRead): set layout information on the paragraph.
12157
12158 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12159
12160         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12161
12162 2002-03-11  Juergen Vigna  <jug@sad.it>
12163
12164         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12165         plainly wrong.
12166         (resizeCurrentBuffer): force also the insets to resize themselfes.
12167         (moveCursorUpdate): fixed up for InsetText.
12168
12169 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12170
12171         * commandtags.h:
12172         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12173         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12174         value of Dialogs::tooltipsEnabled().
12175         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12176
12177 2002-03-08  Juergen Vigna  <jug@sad.it>
12178
12179         * BufferView_pimpl.C (updateInset): update inset inside inset also
12180         if it isn't inside theLockingInset().
12181
12182 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * buffer.C (asciiParagraph): redo some of the word and line length
12185         handling.
12186         (getLists): look for Caption instead of caption.
12187
12188 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * buffer.C (Buffer): initialize niceFile to true
12191         (makeLaTeXFile):
12192         (makeLinuxDocFile):
12193         (makeDocBookFile): make sure niceFile is true on exit
12194
12195 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12196
12197         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12198
12199 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         * LyXSendto.C: remove.
12202         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12203         * lyx_gui.C: remove now-redundant comment.
12204         * ColorHandler.h: remove forward declaration of class WorkArea.
12205         * lyxfunc.C: remove #include "WorkArea.h".
12206
12207 2002-03-07  Juergen Vigna  <jug@sad.it>
12208
12209         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12210         got moved away with the DEPM and also set the inset_owner always
12211         right which before could have been omitted.
12212
12213 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12216         wanted layout is not found.
12217
12218 2002-03-07  Juergen Vigna  <jug@sad.it>
12219
12220         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12221
12222 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * paragraph.C (breakParagraph): use default layout not layout of
12225         prev paragraph.
12226         (Paragraph): clear ParagraphParameters.
12227
12228 2002-03-06  Juergen Vigna  <jug@sad.it>
12229
12230         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12231         otherwise it would not be a valid lenght. Fixed a special case in
12232         the minipage compatibility read where we end the document with a
12233         minipage.
12234
12235         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12236         was set as it could be 0 for InsetTexts first entry.
12237
12238 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12239
12240         * paragraph.C (writeFile): if layout is empty write out
12241         defaultLayoutName().
12242
12243         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12244         file without named layout we set layout to defaultLayoutName().
12245
12246 2002-03-06  Juergen Vigna  <jug@sad.it>
12247
12248         * CutAndPaste.C (copySelection): set layout for new paragraph.
12249
12250         * text.C (prepareToPrint): leave ERT inset left aligned
12251         (leftMargin): don't indent paragraphs inside ERT insets
12252
12253 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * paragraph.C (breakParagraph): dont call clear do the work manually
12256
12257         * paragraph.[Ch] (clear): remove function
12258
12259 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * paragraph.C (Paragraph): dont call clear, the work has already
12262         been done.
12263
12264         * lyxtextclass.C (operator): assert if n is empty
12265
12266         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12267         work manually instead.
12268
12269 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * BufferView_pimpl.C: protect selectionLost against text == 0
12272
12273 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12274
12275         * text.C (breakParagraph): fix a setting layout to '0' problem.
12276
12277 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12278
12279         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12280         final location of file, for the included files, and graphics.
12281
12282 2002-03-05  Juergen Vigna  <jug@sad.it>
12283
12284         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12285
12286 2002-03-04  Juergen Vigna  <jug@sad.it>
12287
12288         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12289
12290         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12291         last column of multicolumn cells.
12292         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12293
12294 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12295
12296         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12297         file if it doesn't go to a temporary file.
12298
12299         * buffer.C (sgmlOpenTag):
12300         (sgmlCloseTag):  remove extra newline insertion.
12301
12302 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * text.C (getRowNearY): comment out debug msg
12305
12306 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * text2.C: first -> first_y
12309
12310         * text.C (getRowNearY): add some attemts at a possible
12311         optimization, not working.
12312
12313         * tabular.[Ch]: add BufferParams to several function so that newly
12314         created paragraph can be initialized to he default layotu for the
12315         buffers textclass.
12316
12317         * tabular-old.C (ReadOld): add buf->params to call of Init
12318
12319         * screen.C: rename text->first to text->first_y
12320
12321         * paragraph.C (breakParagraph): always set layout in the broken
12322         paragraph
12323
12324         * lyxtextclass.C (Read): remove lowercase
12325         (hasLayout): ditto
12326         (operator): ditto
12327         (delete_layout): ditto
12328
12329         * lyxtext.h: rename first -> first_y
12330
12331         * lyxlayout.C (Read): remove lowercase
12332         (name): ditto
12333         (setName): ditto
12334         (obsoleted_by): ditto
12335
12336         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12337
12338         * buffer.C (insertErtContents): add params are to InsetERT
12339         (parseSingleLyXformat2Token): add code to check if a paragraphs
12340         layout really exist.
12341         (parseSingleLyXformat2Token): add params to several inset
12342         constructors
12343         (asciiParagraph): remove lowercase, do the layout comparisons with
12344         no_case
12345
12346         * BufferView_pimpl.C (cursorNext): first -> first_y
12347         (resizeCurrentBuffer): first -> first_y
12348         (updateScrollbar): first -> first_y
12349         (scrollCB): first -> first_y
12350         (workAreaMotionNotify): first -> first_y
12351         (workAreaButtonPress): first -> first_y
12352         (checkInsetHit): first -> first_y
12353         (cursorPrevious): first -> first_y
12354         (cursorNext): first -> first_y
12355         (Dispatch): add buffer_->params to severl inset contructors
12356
12357 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * lyxlayout.C (Read): remove some debug info that I forgot.
12360
12361         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12362         clean up the code slightly.
12363         (makeLinuxDocFile): ditto
12364         (makeDocBookFile): ditto
12365
12366         * text2.C: layout as string
12367
12368         * text.C: layout as string
12369
12370         * paragraph_pimpl.C: layout as string
12371
12372         * paragraph.[Ch]: layout as string
12373
12374         * lyxtextclasslist.[Ch]: layout as string
12375
12376         * lyxtextclass.[Ch]: layout as string
12377
12378         * lyxtext.h: layout as string
12379
12380         * lyxlayout.[Ch]: layout as string
12381
12382         * lyx_cb.C: layout as string
12383
12384         * bufferview_funcs.C: layout as string
12385
12386         * bufferparams.C: layout as string
12387
12388         * buffer.C: layout as string
12389
12390         * LyXView.[Ch]: layout as string
12391
12392         * LaTeXFeatures.[Ch]: layout as string
12393
12394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12395
12396         * BufferView_pimpl.C: change current_layout to string, remove
12397         lyx::layout_type.
12398         (Dispatch):
12399         (smartQuote):
12400         (insertInset):
12401         (workAreaButtonRelease): layout as string
12402
12403         * BufferView2.C (unlockInset): adjust
12404
12405         * vspace.C (asLatexCommand): use an explict temp variable.
12406
12407 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * Makefile.am: use FRONTEND_*
12410
12411 2002-03-01  Juergen Vigna  <jug@sad.it>
12412
12413         * tabular.C (SetWidthOfMulticolCell): changed to something better
12414         I hope but still work in progress.
12415         (recalculateMulticolumnsOfColumn): renamed function from
12416         recalculateMulticolCells as it is more appropriate now.
12417         (SetWidthOfCell): calculate multicols better.
12418
12419 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12422
12423         * lyxfunc.C (processKeySym): print sequence also if it is
12424         `deleted' (complete)
12425
12426         * kbsequence.C (print): print sequence even if it is deleted
12427         (complete would be a better word, actually).
12428
12429         * lyxfunc.C (dispatch): print complete options after a prefix key
12430
12431         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12432
12433 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12434
12435         * text2.C (setCharFont): eliminate setCharFont code duplication.
12436
12437 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12438
12439         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12440         LFUN_TABULAR_FEATURE (bug #177)
12441
12442 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12443
12444         * Makefile.am: remove figure.h
12445
12446 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * Bufferview_pimpl.C:
12449         * CutAndPasteC:
12450         * LaTeX.C:
12451         * LyXSendto.C:
12452         * buffer.C:
12453         * bufferlist.C:
12454         * converter.C:
12455         * language.C:
12456         * lyxfunc.C:
12457         * lyxvc.C:
12458         * paragraph.C:
12459         * text.C:
12460         * text2.C: remove #include "lyx_gui_misc.h".
12461
12462         * LaTeX.C: added #include <cstdio>
12463
12464 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12465
12466         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12467         that the paragraph following this one can have.
12468
12469         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12470
12471         * vspace.C (asLatexCommand): fix bogus gcc warning
12472
12473         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12474
12475 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12476
12477         * text2.C (setLayout): get rid of redundant code
12478
12479 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12480
12481         * text2.C (incDepth): make sure depth cannot be increased beyond
12482         reasonable values.
12483
12484 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12487         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12488
12489         * PainterBase.h (image):
12490         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12491         a LyXImage const *.
12492
12493 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * BufferView.C:
12496         * BufferView.h:
12497         * BufferView_pimpl.C:
12498         * BufferView_pimpl.h:
12499         * LaTeXFeatures.C:
12500         * LyXAction.C:
12501         * LyXView.C:
12502         * Makefile.am:
12503         * UpdateList.h:
12504         * UpdateList.C:
12505         * buffer.C:
12506         * figure.h:
12507         * figureForm.C:
12508         * figureForm.h:
12509         * figure_form.C:
12510         * figure_form.h:
12511         * lyx_cb.C:
12512         * lyx_gui.C:
12513         * lyx_gui_misc.C:
12514         * lyxfunc.C:
12515         * sp_base.h:
12516         * sp_ispell.h:
12517         * sp_pspell.h:
12518         * sp_spell.C: remove fig inset, and the crap house of
12519           cards that follows it
12520
12521 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * Makefile.am:
12524         * lyxserver.C:
12525         * os2_defines.h:
12526         * os2_errortable.h:
12527         * nt_defines.h: move .h into support/
12528
12529         * vms_defines.h: remove
12530
12531         * WorkArea.C: add space in debug output
12532
12533         * text2.C:
12534         * paragraph.C:
12535         * buffer.C: add WITH_WARNINGS
12536
12537         * vc-backend.h:
12538         * vc-backend.C:
12539         * bufferlist.C: s/retrive/retrieve/, add docs
12540
12541         * vspace.h:
12542         * vspace.C:
12543         * kbmap.h:
12544         * lyxlength.h:
12545         * lyxgluelength.h:
12546         * length_common.h:
12547         * chset.h:
12548         * chset.C: add docs
12549
12550         * lyxgui.C: add ID to X error handler
12551
12552         * lyxtestclass.c: fix typo
12553
12554 2002-02-26  Juergen Vigna  <jug@sad.it>
12555
12556         * tabular_funcs.C (write_attribute): changed so that some default
12557         attributes are not written at all.
12558         (getTokenValue): set default values before trying to read the
12559         value so we have the return value always set as default if we don't
12560         find the token we search for.
12561
12562         * tabular.C (Write): write bools as bools not as strings!
12563
12564 2002-02-22  Juergen Vigna  <jug@sad.it>
12565
12566         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12567         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12568
12569         * text.C (leftMargin): don't add an indent for paragraphs inside
12570         tabular cells (fix #208).
12571
12572 2002-02-21  José Matos  <jamatos@fep.up.pt>
12573
12574         * tabular.C (docBook): fixed support for long tables.
12575
12576 2002-02-20  Juergen Vigna  <jug@sad.it>
12577
12578         * text2.C (getFont): get the drawing font of the Inset if this
12579         paragraph is inside an inset (only important for InsetERT for now).
12580
12581         * buffer.C (insertErtContents): use new lanugage params in ERT
12582         constructor.
12583
12584         * CutAndPaste.C: commenting out seemingly uneeded code.
12585
12586 2002-02-19  Allan Rae  <rae@lyx.org>
12587
12588         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12589         Iterators might be simple to use but they also get invalidated.
12590         (removeAutoInsets): renamed saved cursor tracking variables and added
12591         some comments to clarify what everything does.
12592
12593 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12594
12595         * Chktex.C:
12596         * LaTeX.C:
12597         * LyXSendto.C:
12598         * converter.C:
12599         * lyx_cb.C:
12600         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12601         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12602
12603         * lyxfunc.C:
12604         * vc-backend.h: remove #include "support/syscall.h"
12605
12606         * LaTeX.C:
12607         * LyXSendto.C:
12608         * converter.C: rearrange #includes in Lars' approved fashion.
12609
12610         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12611         forward declare class Timeout in the header file.
12612
12613         * XFormsView.C: changes due to the above.
12614
12615         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12616         similar to LyXView.
12617
12618         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12619         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12620
12621 2002-02-18  José Matos  <jamatos@fep.up.pt>
12622
12623         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12624         insets contents.
12625
12626 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12627
12628         * a lot of small ws changes
12629         * add a lot of using std::XXX
12630         * use std construcs some places where approp.
12631         * use some exisint stuff from lyxfunctional where approp.
12632         * Make file changes to use partial linking (lets test this now...)
12633
12634 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12635
12636         * Chktex.C:
12637         * buffer.C:
12638         remove #include "support/syscontr.h" as it's redundant. Always has been.
12639
12640         * Chktex.C:
12641         * LaTeX.C:
12642         * LyXSendto.C:
12643         * converter.C:
12644         * lyx_cb.C:
12645         * vc-backend.C:
12646         change Systemcalls::System to Systemcalls::Wait and
12647         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12648         No change of functionality, just reflects the stripped down Systemcalls
12649         class.
12650
12651 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * debug.[Ch]: add a GRAPHICS type to the enum.
12654
12655 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12656
12657         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12658
12659         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12660         there is an inset.
12661
12662 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12663
12664         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12665         match the changes below.
12666
12667         * text2.C (toggleInset): if there is not editable inset at cursor
12668         position, try to see if cursor is _inside_ a collapsable inset
12669         and close it.
12670
12671 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12672
12673         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12674         document menu has a nice checkbox
12675
12676 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * lyxlength.C (asLatexString): change PW to output as percent of
12679         \textwidth.
12680
12681         * lengthcommon.C: change '%' to 't%'
12682
12683         * lyxfunc.C (dispatch): a few comments from Martin
12684
12685 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * WorkArea.h:
12688         * WorkArea.C:
12689         * BufferView_pimpl.h:
12690         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12691           the X selection.
12692
12693 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * vspace.C (inPixels): fix compiler warning
12696
12697 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12698
12699         * lyxfunc.C (getStatus): fix status message for disabled commands.
12700
12701 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * BufferView_pimpl.C: fix crash on close buffer
12704         during selection (#227)
12705
12706 2002-01-27  Herbert Voss  <voss@lyx.org>
12707
12708         * buffer.C: link old Figure to new graphic inset
12709
12710 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12711
12712         * FontLoader.C (getFontinfo): Change the latex font names in order
12713         to match the names of type1inst.
12714
12715 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12716
12717         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12718
12719         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12720         (extchanged): ditto
12721         (ext_exist): ditto
12722         (remove_files_with_extension): ditto
12723         (remove_file): ditto
12724         (write): ditto
12725
12726         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12727         document is smaller than the work area height. Do not initialize
12728         static variables to 0.
12729
12730 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12733
12734         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12735         LFUN_LAYOUT_PARAGRAPHS.
12736
12737         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12738         tabular. It is possible to provide a possible cell, which will
12739         typically be the actcell from the corresponding insettabular
12740
12741         * lyxfunc.C (getStatus): small cleanup; disable
12742         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12743         true
12744
12745 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12748
12749         * paragraph.C (startTeXParParams):
12750         (endTeXParParams): new methods. The LaTeX code to
12751         start/end paragraph formatting
12752         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12753         empty (fixes bug #200)
12754
12755         * vspace.C (inPixels): adapt to the change below
12756         (inPixels): [later] more cleanups (remove unused variables)
12757
12758         * lyxlength.C (inPixels): change to use a width and a height as
12759         parameter.
12760
12761 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12762
12763         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12764         Replaced with \paperwidth
12765
12766         * DepTable.C (insert): add std:: qualifier
12767
12768 2002-01-18  Allan Rae  <rae@lyx.org>
12769
12770         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12771         updated also?
12772
12773         * text.C (drawInset): Turned out I didn't know enough about how
12774         rebreaking worked.  This fixes most of the redraw problems.  I see
12775         an occasional cursor trail when a line is broken now and the cursor
12776         placement can seem out by a few pixels also after a rebreak.
12777
12778 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12779
12780         * buffer.C (parseSingleLyXformat2Token): update because minipage
12781         width is now a LyXLength
12782
12783         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12784
12785         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12786         math insets
12787
12788 2002-01-17  Juergen Vigna  <jug@sad.it>
12789
12790         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12791
12792         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12793         is set correctly and the inset is updated correctly.
12794
12795 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12798         the beginning of the loop.
12799
12800 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * lyxrc.C: improve help for use_scalable_fonts
12803
12804 2002-01-17  Allan Rae  <rae@lyx.org>
12805
12806         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12807
12808 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12809
12810         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12811         make sure to set their inset_owner to the right value (bug #171)
12812
12813 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12814
12815         * DepTable.h
12816         * DepTable.C: Implement mtime checking to reduce time spent doing
12817         CRCs.
12818
12819 2002-01-16  Juergen Vigna  <jug@sad.it>
12820
12821         * tabular.C (GetAdditionalHeight): one of error fixed.
12822
12823         * lyxrc.C (output): small fix in writing use_pspell.
12824
12825 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12826
12827         * sp_base.h: #include LString.h
12828
12829 2002-01-16  Allan Rae  <rae@lyx.org>
12830
12831         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12832         Can someone check this please?
12833
12834         * text.C (drawInset): It was possible that p.row would be removed by
12835         breakAgainOneRow upsetting a few other settings.  There may be another
12836         small tweak possible by setting need_break_row = 0 when p.row has been
12837         removed but I don't know enough about the logic here.
12838
12839 2002-01-15  Allan Rae  <rae@lyx.org>
12840
12841         * text.C (insertChar): removed conditional truism.
12842
12843         * BufferView2.C (removeAutoInsets): More tweaks.
12844         cur_par_prev could be a stray pointer.  Check for trailing empty line
12845         in case last line was cur_par and only had an error inset on it.
12846
12847 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12850         absolute
12851
12852         * vc-backend.C (most methods):
12853         * exporter.C (Export):
12854         * converter.C (convert):
12855         (runLaTeX):
12856         * LyXSendto.C (SendtoApplyCB):
12857         * lyxfunc.C (dispatch):
12858         (menuNew):
12859         (open):
12860         (doImport):
12861         * lyx_cb.C (AutoSave):
12862         (InsertAsciiFile):
12863         * BufferView_pimpl.C (MenuInsertLyXFile):
12864         * buffer.C (runChktex): use Buffer::filePath().
12865
12866         * buffer.h: rename filename to filename_; rename filepath to
12867         filepath_ and make it private
12868         (filePath): new method
12869
12870         * buffer.C (writeFile): use fileName()
12871         (getLatexName):
12872
12873         * lyx_main.C (init): fix starting  of LyX when the binary is a
12874         link from so,ewhere else.
12875
12876         * minibuffer.C: include <cctype> for isprint
12877
12878 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12879
12880         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12881         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12882         name clash with InsetCollapsable's width function.
12883
12884 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * lastfiles.C: include <iterator>
12887
12888 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12889
12890         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12891         std::count.
12892
12893         * buffer.C (makeLaTeXFile): ditto.
12894         Also make loop operation more transparent.
12895
12896 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12897
12898         * ToolbarDefaults.C: remove trailing comma closing namespace.
12899
12900         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12901
12902         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12903         as in WorkArea.
12904
12905         * trans.C (Load): comment out unused variable, allowed.
12906
12907 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12908
12909         * minibuffer.[Ch] (append_char): new method to recieve input from the
12910         drop-down completion browser. If a key was pressed, then recieve this
12911         char and append it to the existing string.
12912         (peek_event): modify the positioning data passed to the completion
12913         browser so that it can be placed above the minibuffer rather than below.
12914 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * LyXAction.C (init): alloe error-next for readonly documents.
12917
12918         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12919         count.
12920
12921 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12922
12923         * bufferlist.C (readFile): create the buffer _after_ checking that
12924         the file exists.
12925
12926         * lyxfunc.C (verboseDispatch): fix handling of arguments
12927
12928         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12929
12930         * lyxrc.C: use string::erase() instead of initializing to "".
12931
12932
12933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * BufferView_pimpl.h:
12936         * BufferView_pimpl.C:
12937         * WorkArea.h:
12938         * WorkArea.C:
12939         * text2.C: tell X when we have made a selection for copying
12940
12941 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12942
12943         * BufferView_pimpl.C (MenuInsertLyXFile):
12944         * lyxfunc.C (menuNew):
12945         (open):
12946         (doImport): add shortcuts to directory buttons
12947
12948         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12949         open a float)
12950
12951         * lyxfunc.C (setStatusMessage):
12952         (getStatusMessage): new methods
12953         (getStatus):use setStatusMessage instead of setErrorMessage
12954         (dispatch): when function is disabled, set error message here
12955         [instead of in getStatus previously]
12956
12957         * BufferView_pimpl.C (workAreaButtonRelease): update
12958         toolbar/menubar here too.
12959
12960 2002-01-13  Allan Rae  <rae@lyx.org>
12961
12962         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12963         Now seems indestructible.  Remaining task is to audit all other
12964         code affected by deleteEmptyParagraphMechanism.  One small quirk
12965         left is that an empty document with an error in the preamble can
12966         be made to report an error but no error box appears.  I don't know
12967         where it goes.
12968         (removeAutoInsets): Improved comments.
12969
12970 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * Thesaurus.h:
12973         * Thesaurus.C: update for Aiksaurus 0.14
12974
12975 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12976
12977         * text2.C (firstParagraph): removed member function, all uses
12978         replaces with ownerParagraph
12979         (redoParagraphs): here
12980         (updateInset): here
12981         (toggleAppendix): here
12982         * BufferView2.C (insertErrors): here
12983         (setCursorFromRow): here
12984
12985 2002-01-13  Allan Rae  <rae@lyx.org>
12986
12987         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12988         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12989         There is still a way to segfault this although you may have to do this
12990         multiple times: Have an InsetERT with an unknown command in it.
12991         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12992         <down-arrow>, <Enter> again, View->DVI, BANG!
12993
12994         * text2.C (setCursor):
12995         (deleteEmptyParagraphMechanism):
12996         * lyxtext.h (setCursor):
12997         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12998         Making use of the return value may help fix other bugs.
12999
13000 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13003
13004         * LyXView.C (updateMenubar): call MenuBar::update here
13005         (updateToolbar): but not here
13006         (showState): do not update toolbar/menubar
13007
13008         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13009         should need to care about that.
13010
13011         * lyxfunc.C (verboseDispatch): simplify a bit
13012         (getStatus): have a version which takes a pseudoaction, and
13013         another which requires a (kb_action,string).
13014
13015         * LyXAction.C (retrieveActionArg): make it work also when action
13016         is not a pseudo-action.
13017         (getActionName): simplify a bit
13018         (helpText):
13019
13020 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13021
13022         * lyxfunc.C (verboseDispatch): new families of methods with
13023         several ways to specify a command and a bool to indicate whether
13024         the command name and shortcut should be displayed in minibuffer
13025         (eventually, we could extend that to a finer bitmask like
13026         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13027         (dispatch): the pristine dispatch command which just, well,
13028         dispatchs! Note it still sets its result to minibuffer; I'm not
13029         sure we want that.
13030
13031         * lyxfunc.h: remove setHintMessage
13032
13033         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13034
13035 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * BufferView_pimpl.C (specialChar): delete new inset if we have
13038         not been able to insert it.
13039
13040         * kbmap.C: revert to using int instead of kb_action, since all we
13041         are dealing with is pseudo-actions.
13042
13043         * LyXAction.C (searchActionArg): change to return int instead of
13044         kb_action, since the result is a pseudoaction.
13045
13046 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13047
13048         * buffer.C (insertErtContents): Fix (partially) the font bug.
13049
13050 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13051
13052         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13053         as the other one is broken on my machine!
13054
13055 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13056
13057         * commandtags.h:
13058         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13059
13060 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13061
13062         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13063         reflect their actual use. Provide compatibility code for older lyxrc
13064         files.
13065
13066         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13067         FL_NORMAL_STYLE.
13068         change names of popup font variables in line with the changes to lyxrc.C
13069
13070 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13071
13072         * buffer.C (asciiParagraph): avoid outputing a word twice after
13073         an inset.
13074
13075         * lyxrc.C (getDescription): document that document_path and
13076         template_path can be empty.
13077
13078 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13079
13080         * LaTeXFeatures.C (getMacros):
13081         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13082
13083         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13084
13085         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13086         getPackages.
13087         (getPackages): rename feature "floats" to "float". Use an array to
13088         iterate over 'simple' features (i.e. just a \usepackage). Add
13089         handling of "amsmath" (renamed from "amsstyle").
13090
13091 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13092
13093         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13094         features list.
13095
13096 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13097
13098         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13099         FuncStaus::FuncStatus & FuncStaus::some_method().
13100
13101 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13102
13103         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13104         of the func_satus stuff. Edited and massaged in various ways by
13105         JMarc.
13106
13107         * lyxfunc.C (getStatus): use FuncStatus
13108
13109 2002-01-08  Juergen Vigna  <jug@sad.it>
13110
13111         * text.C (nextBreakPoint): use function Inset::isChar().
13112
13113         * paragraph.C (TeXOnePar): use function
13114         Inset::forceDefaultParagraphs.
13115
13116         * buffer.C (latexParagraphs): use function
13117         Inset::forceDefaultParagraphs.
13118
13119 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * lyx_gui.C (init): set the style of the menu popups to
13122         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13123
13124 2002-01-07  Juergen Vigna  <jug@sad.it>
13125
13126         * text.C (setHeightOfRow): small fix
13127         (prepareToPrint): don't look at alignment if we don't have the place
13128         for doing it.
13129
13130 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * box.C: New file. Move the Box methods and functions out of box.h,
13133         following Lars' suggestion.
13134
13135 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13136
13137         * box.h: #include "support/LOstream.h", needed for inlined function.
13138
13139         * lyxtextclass.C:
13140         * lyxtextclasslist.C: added some using std declarations.
13141
13142 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * box.h: make signed dimensions to allow insets wider than
13145           the screen (bug #162)
13146
13147         * BufferView_pimpl.C: add some insetHit debug
13148
13149 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * vc-backend.C: add FIXME
13152
13153 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13154
13155         * lyxfunc.C (getStatus): enable code for showing math font status
13156         in toolbar/menu.
13157
13158 2002-01-07  Juergen Vigna  <jug@sad.it>
13159
13160         * text.C (nextBreakPoint): removed debug output not needed anymore.
13161
13162 2002-01-06  Juergen Vigna  <jug@sad.it>
13163
13164         * text.C (nextBreakPoint): fixed up this function we had this bug
13165         since ever but now hopefully we break row better.
13166         (insertChar): we have to check if an inset is the next char as it
13167         could now happen that a large inset is causing a break.
13168
13169 2002-01-05  Juergen Vigna  <jug@sad.it>
13170
13171         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13172         if it doesn't like to be drawed.
13173
13174 2002-01-04  Juergen Vigna  <jug@sad.it>
13175
13176         * BufferView2.C (lockInset): forgot to set a cursor.
13177
13178         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13179
13180 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13181
13182         * FormMathsPanel.C:
13183         * FormMathsPanel.h
13184         * MathsSymbols.C:
13185         * form_maths_panel.C:
13186         * form_maths_panel.h:
13187         * form_maths_panel.fd: implemented sub- and super- buttons in math
13188         panel.
13189
13190         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13191         (or ^ space) to be used as in TeX (req'd by André).
13192
13193         * lyxfunc.C: Allow ^ and _ again to be used both as
13194         super/subscript (mathed) and as themselves (in text).
13195
13196 2002-01-03  Allan Rae  <rae@lyx.org>
13197
13198         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13199         "LyX" or the filename of the current buffer if it has one.  This is a
13200         modified form of John Levon's patch.
13201
13202         * XFormsView.C (setWindowTitle): also set icon title.
13203
13204         * LyXView.h (setWindowTitle): signature changed.
13205         * XFormsView.h (setWindowTitle): ditto.
13206
13207 2002-01-02  Juergen Vigna  <jug@sad.it>
13208
13209         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13210
13211 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * screen.C (topCursorVisible): introduce a temp var for
13214         text->cursor.row(), handle the case where this row is null. (kindo
13215         hachish)
13216
13217         * text2.C (setCursor): add a couple of asserts.
13218
13219         * paragraph.h (inset_iterator): add -> operator
13220
13221         * paragraph.[Ch] (autoDeleteInsets): remove member function
13222
13223         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13224         cursor pos correctly and handle inset deletion by itself.
13225         (insertErrors): move iterator declaration out of for expression
13226
13227         * lyxtextclass.C: add <algorithm>
13228
13229         * Makefile.am: added the new files to sources, removed layout.C
13230
13231         * layout.C: removed file
13232
13233         * layout.h: remove LYX_DUMMY_LAYOUT
13234
13235         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13236         layout.
13237
13238         * lyxlayout.[Ch]:
13239         * lyxtextclass.[Ch]:
13240         * lyxtextclasslist.[Ch]: new files
13241
13242         * include order changes to a lot of files, also changes because of
13243         the six new files.
13244
13245 2001-12-27  Juergen Vigna  <jug@sad.it>
13246
13247         * buffer.C (asciiParagraph): more fixes.
13248
13249         * tabular.C (ascii): make ascii export support export of only the
13250         data separated by a column-delimiter.
13251         (ascii): better support for ascii export.
13252
13253         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13254
13255 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13256
13257         * tabular_funcs.C: use a "using std::getline" instead of the
13258         previous fix from Angus (necessary for cxx + lyxstring)
13259
13260 2001-12-24  Juergen Vigna  <jug@sad.it>
13261
13262         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13263
13264         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13265         problems. First check a minipage also if we have some ert-contents
13266         (not only on par->size(), second set the right depth of the paragraph
13267         on the relink to the root-paragraph-list!
13268
13269         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13270         which then did not anymore update the main paragraphs on undo/redo!
13271
13272 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13273
13274         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13275         code. Support all font-changing funcs (even those which are not in
13276         menu currently). Support for reporting font settings in
13277         mathed (disabled until Andre provides a function on mathed's side).
13278
13279         * func_status.h (toggle): small helper function to set toggle
13280         state on a flag.
13281
13282 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13283
13284         * tabular_funcs.C: getline -> std::getline
13285
13286 2001-12-21  Juergen Vigna  <jug@sad.it>
13287
13288         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13289         accessed and could be 0 (I couldn't generate this but it seems
13290         Michael could!).
13291
13292 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13295         * tabular_funcs.h: here and include iosfwd
13296
13297 2001-12-20  Juergen Vigna  <jug@sad.it>
13298
13299         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13300         inside inset but undo_par was.
13301
13302 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13303
13304         * Thesaurus.C: always include <config.h> in sources.
13305
13306         * Painter.h:
13307         * lyxlookup.h:
13308         * box.h: do not include <config.h> in header files
13309
13310         * text.C (paintLastRow): remove unused variable
13311
13312         * text.C (transformChar):
13313         (insertChar):
13314         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13315
13316         * Painter.C (text):
13317         * font.C (width): rewrite to use uppercase() instead of
13318         islower/toupper.
13319
13320         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13321
13322 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * lyxfind.C: clean up of find failure position change
13325
13326 2001-12-20  Juergen Vigna  <jug@sad.it>
13327
13328         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13329
13330         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13331         (TeXRow): added to LaTeX a single tabular row.
13332         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13333         (Latex): simplified and finally good LT-h/f support.
13334         (various_functions): just small adaptions for LT-h/f support.
13335
13336         * tabular_funcs.[hC]: added and moved here all not classfunctions
13337         of LyXTabular.
13338
13339 2001-12-19  Juergen Vigna  <jug@sad.it>
13340
13341         * tabular.[Ch]: better support for longtabular options (not finished
13342         yet!)
13343
13344 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13345
13346         * text.C (paintLastRow): use the label font instead of the font of
13347         the last character to compute the size of *_BOX. This makes more
13348         sense and avoids a crash with empty paragraphs.
13349         Use Painter::rectangle to draw EMPTY_BOX.
13350
13351 2001-12-19  Juergen Vigna  <jug@sad.it>
13352
13353         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13354         the paragraphs if the replaced paragraph is not the first one!
13355         Tried to delete not used paragraphs but does not work yet so for
13356         now it's inside #ifdef's and by default off!
13357
13358 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * MenuBackend.C: include "lyx_main.h" instead of declaring
13361         lastfiles (actually was declared as LastFiles* instead of a
13362         scoped_ptr).
13363
13364 2001-12-17  Juergen Vigna  <jug@sad.it>
13365
13366         * tabular.C (AppendColumn): applied John's fix
13367
13368 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13369
13370         * BufferView.h:
13371         * BufferView.C:
13372         * BufferView_pimpl.h:
13373         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13374
13375         * Makefile.am:
13376         * box.h: new start of class for above
13377
13378         * lyxfunc.C: ignore space-only minibuffer dispatches.
13379           Show the command name when it doesn't exist
13380
13381         * minibuffer.C: don't add empty lines to the history
13382
13383         * minibuffer.C: add a space on dropdown completion
13384
13385 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * text.C: fix line above/below drawing in insets
13388
13389 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13390
13391         * lyxlength.C (LyXLength): Initialize private variables.
13392
13393 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13396         when inserting error insets.
13397
13398 2001-12-13  Juergen Vigna  <jug@sad.it>
13399
13400         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13401         actually sometimes the before-paragraph.
13402         (setUndo): don't clear the redostack if we're not actually undoing!
13403
13404 2001-12-06  Juergen Vigna  <jug@sad.it>
13405
13406         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13407         and fixed redoing of main paragraph, so we can use it now ;)
13408
13409         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13410
13411 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13412
13413         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13414         Juergen's request
13415
13416 2001-12-13  André Pönitz <poenitz@gmx.net>
13417
13418         * undostack.[Ch]:
13419         * undo_func.C: minor cleanup
13420
13421 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13422
13423         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13424         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13425         font in urw-fonts package which is marked as -urw-fontspecific and
13426         does not work (incidentally, changing the encoding in the
13427         fonts.dir of this package to -adobe-fontspecific fixes the
13428         problem).
13429
13430         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13431         is a crash when undoing first paragraph (Juergen, please take a
13432         look). THis does not mean the undo fix is wrong, just that it
13433         uncovers problems.
13434
13435         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13436         the (Paragraph*) version when needed instead of duplicating the
13437         code.
13438
13439         * text.C (workWidth): use Inset::parOwner to find out where the
13440         inset has been inserted. This is a huge performance gain for large
13441         documents with lots of insets. If Inset::parOwner is not set, fall
13442         back on the brute force method
13443
13444         * paragraph_pimpl.C (insertInset):
13445         * paragraph.C (Paragraph):
13446         (cutIntoMinibuffer): set parOwner of insets when
13447         inserting/removing them
13448
13449         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13450
13451 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13452
13453         * commandtags.h:
13454         * LyXAction.C:
13455         * lyx_main.C:
13456         * lyxfunc.C:
13457         * mathed/formulabase.C:
13458         * mathed/math_cursor.[Ch]:
13459         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13460
13461
13462 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13463
13464         * lyxlength.[Ch] (operator!=): new function
13465
13466 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13467
13468         * text.C (workWidth): use Inset::parOwner to find out where the
13469         inset has been inserted. This is a huge performance gain for large
13470         documents with lots of insets. If Inset::parOwner is not set, fall
13471         back on the brute force method
13472
13473         * paragraph_pimpl.C (insertInset):
13474         * paragraph.C (Paragraph):
13475         (cutIntoMinibuffer): set parOwner of insets when
13476         inserting/removing them
13477
13478         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13479
13480 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13481
13482         * tabular-old.C (getTokenValue):
13483         * tabular.C (getTokenValue):
13484         (write_attribute): new versions for LyXLength
13485         (everywhere): adjust the use of widths
13486
13487         * tabular.h: change the type of widths from string to LyXLength
13488
13489 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13490
13491         * paragraph.C: fixed missing line number count when exporting
13492         Environments to LaTeX file
13493
13494         * buffer.C: added informational message for checking line numbers.
13495
13496 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13497
13498         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13499         paragraph, do the 'double space' part, but not the 'empty
13500         paragraph' one.
13501
13502         * text.C (workWidth): small optimization
13503         (getLengthMarkerHeight): use minimal size for negative lengths.
13504
13505 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13508
13509         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13510
13511 2001-12-11  André Pönitz <poenitz@gmx.net>
13512
13513         * FontLoader.C:
13514         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13515
13516 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * text2.C: keep selection on a setFont()
13519
13520 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * lyx_cb.C: another bv->text misuse, from insert label
13523
13524 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13525
13526         * kbsequence.h:
13527         * kbsequence.C: re-instate nmodifier mask
13528
13529 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * lyx_main.h: make lyxGUI private.
13532
13533 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * lyxfind.C: place the cursor correctly on failed search
13536
13537 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13538
13539         * text.C (getLengthMarkerHeight): for small heights, the arrows
13540         are not always on top/bottom of the text
13541         (drawLengthMarker): smaller arrows; take the left margin in
13542         account; draw also vfills.
13543         (paintFirstRow):
13544         (paintLastRow): remove special code for vfill and standard spaces,
13545         since everything is handled in drawLengthMarker now.
13546
13547 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * buffer.C (insertErtContents): try to handle font and language
13550         interaction a bit better.g
13551
13552         * ColorHandler.C (updateColor): change the hash to cover the whole
13553         LColor enum, ws cleanup
13554         (getGCLinepars): ditto
13555         (getGCLinepars): only lookup in the linecache once.
13556
13557 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13558
13559         * iterators.C (operator++): Make the iterator more robust
13560
13561         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13562         (John's patch)
13563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13564
13565 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * lyxtext.h:
13568         * text.C: better added space drawing
13569
13570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * LyXView.C:
13573         * BufferView2.C: fix layout combo update on inset unlock
13574
13575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * Makefile.am: don't compile unused files
13578
13579 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * lyxfunc.C:
13582         * commandtags.h:
13583         * LyXAction.C: remove old LFUN_LAYOUTNO
13584
13585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * paragraph_pimpl.h:
13588         * paragraph_pimpl.C: isTextAt() doesn't need font param
13589
13590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * lyxlex.h:
13593         * lyxlex.C: little cleanup
13594
13595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * BufferView_pimpl.C: fix insertAscii for insets
13598
13599 2001-12-05  Juergen Vigna  <jug@sad.it>
13600
13601         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13602         set the right font on the "multi" paragraph paste!
13603
13604 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * trans_decl.h:
13607         * trans_mgr.[Ch]:
13608         * trans.[Ch]:
13609         * lyxgluelength.C:
13610         * lyxlength.C: remove out-commented code.
13611
13612         * BufferView_pimpl:
13613         * CutAndPaste.C:
13614         * DepTable.C:
13615         * buffer.C:
13616         * chset.C:
13617         * lastfiles.C:
13618         * lyxlex.C:
13619         * lyxlex_pimpl.C:
13620         * lyxserver.C:
13621         * screen.C:
13622         * tabular-old.C:
13623         * tabular.C:
13624         * text.C:
13625         * trans_mgr.C:
13626         * vc-backend.C: change "while(" to "while ("
13627
13628         * lyxlength.[Ch]: add zero function to check if length is zero or
13629         not
13630         * lyxgluelength.C: use it
13631
13632 2001-12-05  Allan Rae  <rae@lyx.org>
13633
13634         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13635         Works for 2.95.3, from what I understand of Garst's reports this should
13636         work for other g++ versions.  We're screwed if the abs(int) definition
13637         changed between bugfix releases of gcc.
13638
13639 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13640
13641         * text.C: fix chapter label offset !
13642
13643 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * lyxtext.h:
13646         * text.C: fix hfill at end of line, clean up
13647
13648 2001-12-04  Juergen Vigna  <jug@sad.it>
13649
13650         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13651         that we force an update of the inset and it's owners if neccessary.
13652
13653 2001-12-03  Juergen Vigna  <jug@sad.it>
13654
13655         * text.C (rowLast): simplified code
13656
13657 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * lyxfunc.C: fix show options on timeout
13660
13661 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * screen.C (topCursorVisible): scroll half a page when the cursor
13664         reached top of bottom of screen
13665
13666 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * minibuffer.C: deactivate on loss of focus
13669
13670 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * vspace.[Ch] (operator!=): add operator.
13673
13674 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * BufferView_pimpl.C: refuse to open an inset when
13677         there's a selection.
13678
13679 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13680
13681         * BufferView_pimpl.C: allow to click on RHS of full row insets
13682
13683 2001-11-30  Juergen Vigna  <jug@sad.it>
13684
13685         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13686         insets for undo reasons.
13687
13688 2001-11-28  André Pönitz <poenitz@gmx.net>
13689
13690         * vspace.[Ch]: cosmetical changes
13691
13692 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13693
13694         * LyXAction.h:
13695         * LyXAction.C:
13696         * lyxfunc.h:
13697         * lyxfunc.C:
13698         * kbmap.h:
13699         * kbmap.C:
13700         * lyxrc.C:
13701         * kbsequence.h:
13702         * kbsequence.C: part re-write of old kb code
13703
13704         * Painter.C:
13705         * WorkArea.C: remove Lgb_bug_find_hack
13706
13707 2001-11-30  José Matos <jamatos@fep.up.pt>
13708
13709         * buffer.C (makeDocBookFile): add a comment to point a hack.
13710         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13711         Fixed a double write of labels.
13712
13713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13714
13715         * LaTeX.C:
13716         * LaTeX.h Fixed bug in LaTeX class where it would not
13717         re-run latex if no depfiles were changed, but the .dvi was removed.
13718
13719 2001-11-28  André Pönitz <poenitz@gmx.net>
13720
13721         * all the files from the change on 2001/11/26:
13722         use lyx::layout_type instead of LyXTextClass::size_type
13723         use lyx::textclass_type instead of LyXTextClassList::size_type
13724
13725 2001-11-29  Juergen Vigna  <jug@sad.it>
13726
13727         * text.C: added support for paragraph::isFreeSpacing()
13728
13729         * buffer.C: same as above
13730
13731         * paragraph.h: inserted isFreeSpacing() function to enable
13732         FreeSpacing inside InsetERT.
13733
13734         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13735         of the paragraph's in the cut/copy buffer to 0!
13736
13737         * text2.C (removeRow): remove the assert as it can!
13738
13739         * lyxtext.h: added helper function firstRow returning firstrow and
13740         made firstrow private again.
13741
13742         * BufferView2.C (lockInset): don't relock if we're already locked!
13743
13744         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13745         the only paragraph.
13746         (removeRow): added Assert::(firstrow)
13747
13748         * debug.C: forgot to add INSETTEXT here.
13749
13750 2001-11-28  Juergen Vigna  <jug@sad.it>
13751
13752         * sp_spell.C (initialize): changed error text to more general
13753         spellchecker command use (not only ispell!)
13754
13755         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13756
13757         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13758
13759 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * vspace.C: initialise lyxgluelength on failure
13762
13763 2001-11-28  Allan Rae  <rae@lyx.org>
13764
13765         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13766         declaration & definition that looks like a function declaration.
13767
13768 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * BufferView2.C (copy):
13771         (copyEnvironment): do not clear the selection when doing a copy.
13772
13773         * text.C (paintFirstRow): compilation fix
13774
13775 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13776
13777         * tabular.C (Latex): correct line count when writing latex.
13778
13779 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13780
13781         * paragraph_pimpl.h:
13782         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13783           bug a bit
13784
13785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * text.C:
13788         * LColor.h:
13789         * LColor.C: change vfillline->added_space
13790
13791         * text.C: add markers and text for added space
13792
13793         * vspace.C: fix comment
13794
13795 2001-11-28  André Pönitz <poenitz@gmx.net>
13796
13797         * paragraph.C: whitespace changes
13798         * all the other files from the change on 2001/11/26:
13799         change *::pos_type into lyx::pos_type
13800
13801 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13802
13803         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13804         language of the document when inserting error insets.
13805
13806 2001-11-26  André Pönitz <poenitz@gmx.net>
13807
13808         * BufferView_pimpl.[Ch]:
13809         *       CutAndPaste.C:
13810         * buffer.[Ch]:
13811         * lyxcursor.[Ch]:
13812         * lyxfind.C:
13813         * lyxfunc.C:
13814         * lyxrow.[Ch]:
13815         * paragraph.[Ch]:
13816         * paragraph_pimpl.[Ch]:
13817         * sp_spell.C:
13818         * text.C:
13819         * text2.C: reduce header dependencies, introduce type for positions
13820
13821 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * <various>: change to use Alert.h
13824
13825 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13826
13827         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13828         when encountering an unknown token.
13829         (readLyXformat2): Show an error message if there were unknown tokens.
13830
13831 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView2.C:
13834         * BufferView_pimpl.C:
13835         * buffer.C:
13836         * paragraph.h:
13837         * text.C:
13838         * text2.C: use par->isInset()
13839
13840 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * paragraph_pimpl.h:
13843         * paragraph_pimpl.C: cleanup
13844
13845 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * text2.C (removeRow):
13848         * text.C (setHeightOfRow): remove useless (and costly) call to
13849         getRow.
13850
13851 2001-11-20  Allan Rae  <rae@lyx.org>
13852
13853         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13854         Now need Inset*::checkInsertChar() to return true for appropriate
13855         cases so that the characters in the minibuffer will actually be
13856         inserted.
13857
13858 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * text.C: change the order of the includes.
13861         (workWidth): initialize it at once.
13862         (workWidth): make maxw unsigned
13863         (setHeightOfRow): remove unused variable (inset)
13864         (selectSelectedWord): remove unused variable (inset)
13865         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13866
13867 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13868
13869         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13870         server is not running.
13871         (openConnection):
13872         (closeConnection): add debug info when server is disabled.
13873
13874         * ColorHandler.C (getGCForeground): send debug message to GUI
13875         channel.
13876
13877         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13878
13879         * kbmap.C (bind): modify because return conventions of
13880         kb_sequence::parse have changed.
13881
13882         * kbsequence.C (parse): only ignore spaces and not any stupid
13883         control character. This avoids tests like s[i] <= ' ', which are
13884         guaranteed to fail with 8bit characters and signed chars.
13885         Change return code to string::npos when there have been no error
13886         (0 was a bad idea when error is at first character)
13887
13888 2001-11-14  José Matos  <jamatos@fep.up.pt>
13889
13890         * buffer.h:
13891         * buffer.C (simpleDocBookOnePar): removed unused argument.
13892
13893 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13896         insets which are part of a word. Paragraph::isLetter takes care of
13897         that now. Use Paragraph::isInset to identify insets.
13898         (selectSelectedWord): do not test for hyphenation break.
13899
13900         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13901         that protected spaces are considered as spaces.
13902
13903         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13904         Inset::isLetter.
13905
13906 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13907
13908         * lyxserver.h:
13909         * lyxserver.C: fix it. and small cleanup.
13910
13911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * BufferView_pimpl.C: use inline helpers
13914
13915         * LaTeXFeatures.h:
13916         * LaTeXFeatures.C: fix typos
13917
13918         * Spacing.h:
13919         * Spacing.C: move spacing_string into class
13920
13921         * ToolbarDefaults.C: move stuff into namespace anon
13922
13923         * layout.h: update enum
13924
13925         * lyxfunc.C: use better debug
13926
13927         * minibuffer.h: fix typo
13928
13929         * debug.h:
13930         * debug.C:
13931         * WorkArea.C: add and use Debug::WORKAREA
13932
13933         * lyxtext.h:
13934         * text.C:
13935         * text2.C: code re-organisation, inline helpers
13936
13937 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13938
13939         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13940         std::vector.empty().
13941
13942 2001-11-09  Allan Rae  <rae@lyx.org>
13943
13944         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13945         '\n's after tables.  Tabular and ERT inset work now makes this no
13946         longer necessary.
13947
13948 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13949
13950         * minibuffer.h:
13951         * minibuffer.C: fix crash, improve drop-down completion
13952
13953 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13954
13955         * lyxserver.h:
13956         * lyxserver.C: invalidate fd's when doing endPipe()
13957
13958 2001-11-08  José Matos  <jamatos@fep.up.pt>
13959
13960         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13961         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13962
13963         * paragraph.h:
13964         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13965
13966 2001-11-07  José Matos  <jamatos@fep.up.pt>
13967
13968         * buffer.h:
13969         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13970         const qualifier.
13971
13972         * buffer.C (sgmlOpenTag):
13973         * buffer.C (sgmlCloseTag): removed debug info.
13974
13975         * buffer.h (sgmlOpenTag):
13976         * buffer.h (sgmlCloseTag): made public.
13977
13978 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * buffer.C (saveParamsAsDefaults):
13981         * lyx_cb.C (MenuLayoutSave): remove
13982
13983         * LyXAction.C (init):
13984         * commandtags.h:
13985         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13986
13987 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * buffer.C (setPaperStuff): removed from here...
13990
13991         * bufferparams.C (setPaperStuff): ... and moved there.
13992
13993 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * minibuffer.h:
13996         * minibuffer.C:
13997         * XFormsView.C: add support for drop-down completion
13998
13999 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14000
14001         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14002         commands.
14003
14004 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14007         disabled.
14008
14009 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * lyx_main.C: change ref to known bugs
14012
14013 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14014
14015         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14016         to work around older babel problems.
14017
14018 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14019
14020         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14021
14022 2001-10-24  Juergen Vigna  <jug@sad.it>
14023
14024         * tabular-old.C (ReadOld): below variable changes reflected.
14025
14026         * tabular.[Ch]: added ltType struct for longtable header/footer
14027         defines and changed all instances where they are used. Added
14028         future support for double top/bottom rows.
14029
14030 2001-10-24  José Matos  <jamatos@fep.up.pt>
14031
14032         * buffer.h (docbookHandleCaption):
14033         * buffer.C (docbookHandleCaption): removed unused function.
14034         (makeDocBookFile): moved docbook supported version to v4.1.
14035
14036 2001-10-24  José Matos  <jamatos@fep.up.pt>
14037
14038         * tabular.h:
14039         * tabular.C (docbookRow): new function to export docbook code of a row.
14040         (DocBook): now honors the longtable flags.
14041
14042 2001-10-23  José Matos  <jamatos@fep.up.pt>
14043
14044         * LaTeXFeatures.h:
14045         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14046         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14047
14048         * buffer.C (makeLinuxDocFile):
14049         (makeDocBookFile): reworked the preamble, more clean, and with
14050         support for lyx defined entities. Changed the document declaration
14051         to be more XML friendly.
14052
14053         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14054         if we need to output XML that should be done with a filter.
14055
14056 2001-10-22  Juergen Vigna  <jug@sad.it>
14057
14058         * sp_pspell.h (class PSpell): add alive function needed in the
14059         controller to see if the spellchecker could be started.
14060
14061 2001-10-22  Juergen Vigna  <jug@sad.it>
14062
14063         * buffer.C (insertStringAsLines): modify the font for inserting
14064         chars in certain conditions by calling checkInsertChar(font).
14065
14066 2001-10-19  Juergen Vigna  <jug@sad.it>
14067
14068         * text.C (workWidth): use getRow instead of wrong algorithm.
14069         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14070
14071 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14072
14073         * lyxserver.h:
14074         * lyxserver.C:
14075         * lyx_main.h:
14076         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14077
14078 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14079
14080         * text.C (workWidth): do not search for the exact row when
14081         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14082         optimization for big documents.
14083
14084 2001-10-18  Juergen Vigna  <jug@sad.it>
14085
14086         * text.C (workWidth): new function with added Inset * parameter.
14087
14088 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14091
14092         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14093         change return type of getColumnNearX.
14094
14095
14096         * text.C (changeRegionCase): use uppercase/lowercase instead of
14097         toupper/tolower.
14098         (leftMargin):
14099         (rightMargin): simplify code by factoring out the uses of
14100         textclasslist.
14101         (labelFill):
14102         (numberOfHfills):
14103         (setHeightOfRow):
14104         (appendParagraph): use Paragraph::size_type
14105
14106 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14107
14108         * vspace.C (asLatexString): add a missing break
14109
14110 2001-10-15  Herbert Voss  <voss@perce.de>
14111
14112         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14113
14114 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14117         is not available.
14118
14119 2001-10-10  André Pönitz <poenitz@gmx.net>
14120
14121         * lyxfunc.C: removed greek_kb_flag.
14122
14123 2001-10-10  Herbert Voss  <voss@perce.de>
14124
14125         * lyx_main.C: delete global string help_lyxdir.
14126
14127 2001-10-09  Herbert Voss  <voss@perce.de>
14128
14129         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14130
14131         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14132
14133         * lyx_main.C: added global string help_lyxdir.
14134
14135         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14136
14137 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14138
14139         * lyxrc.C (set_font_norm_type): support iso8859-4
14140
14141 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14142
14143         * LaTeX.C (deplog): add another regex for MikTeX
14144
14145 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14146
14147         * lyxrc.C (set_font_norm_type): support iso8859-3
14148
14149 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14150
14151         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14152
14153         * LaTeXFeatures.C: remove special case of french and index
14154
14155         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14156         before \begin{document}). This solves several incompatibilities.
14157
14158 2001-10-03  Garst Reese  <reese@isn.net>
14159
14160         * lyx_cb.C: change CheckTex error msg.
14161
14162 2001-10-03  José Matos  <jamatos@fep.up.pt>
14163
14164         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14165
14166 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14167
14168         * .cvsignore: update
14169
14170         * lyx_main.C (commandLineVersionInfo): use new style version info.
14171
14172         * buffer.C (writeFile):
14173         (makeLaTeXFile):
14174         (makeLinuxDocFile):
14175         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14176
14177         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14178
14179         * version.h: update to use stuff in version.C
14180
14181         * version.C.in: new file. Contains version information determined
14182         at compile time. This is a merging of version.h and
14183         version_info.h.in.
14184
14185 2001-10-03  Juergen Vigna  <jug@sad.it>
14186
14187         * BufferView_pimpl.C (update): don't change "dirty" status in
14188         updateInset call.
14189
14190 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * WorkArea.C (c-tor): re-position version string slightly.
14193
14194 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14197         revert to previous code.
14198
14199         WorkArea.[Ch]: (show, destroySplash): methods removed.
14200
14201         WorkArea.C: rework code so that it's an amalgam of the codes before and
14202         after the splash screen was moved to WorkArea.
14203
14204 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * lyxrc.C (read):
14207         * vspace.C (inPixels):
14208         (lyx_advance):
14209         * kbmap.C (bind):
14210         * buffer.C (insertStringAsLines):
14211         (asciiParagraph): fix types to be large enough
14212
14213         * lyxlex_pimpl.h: change member status from short to int
14214
14215         * layout.h: fix type of endlabeltype
14216
14217         * kbmap.C (bind):
14218         * kbsequence.C (parse): change return type to string::size_type
14219
14220         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14221         variable
14222
14223         * Bullet.C (bulletSize):
14224         (bulletEntry): do not use short ints as parameters
14225
14226         * BufferView2.C (insertLyXFile): change a char to an int.
14227
14228         * WorkArea.C (WorkArea): remove unneeded floats in computation
14229
14230 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14231
14232         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14233
14234         * paragraph.C (asString): Do not ignore newline/hfill chars when
14235         copying to the clipboard.
14236
14237 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14240         after a multi-line inset.
14241
14242 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * paragraph.C (validate): Set NeedLyXFootnoteCode
14245
14246 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14247
14248         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14249         and decrease-error to decrease.
14250
14251 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14252
14253         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14254         it more readable (should be equivalent)
14255
14256 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14257
14258         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14259
14260 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14261
14262         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14263         of a cursor (row, etc.) after a character has been deleted
14264         (deleteEmptyParagraphMechanism): call the method above on _all_
14265         cursors held by the LyXText when a double space has been
14266         detected/deleted.
14267
14268 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14269
14270         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14271         pixmap.
14272         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14273
14274         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14275         background. Use greyOut() and the new show() methods to toggle between
14276         the foreground and background. Add code to remove the splash after
14277         its initial showing.
14278
14279         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14280         (create_forms): no longer call Dialogs::showSplash.
14281
14282 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14283
14284         * .cvsignore: add version_info.h
14285
14286 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14287
14288         * version_info.h.in: new file
14289
14290         * Makefile.am: add version_info.h.in
14291
14292         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14293         version_info.h instead of VERSION_INFO
14294
14295 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14296
14297         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14298         The ERT inset now returns string().
14299
14300 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * lyxtext.h, text.C (selectNextWord): renamed as
14303         selectNextWordToSpellcheck.
14304
14305         * text.C (selectNextWordToSpellcheck): Modified to not select
14306         words inside an ERT inset.
14307
14308 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * lyx_cb.C (MenuLayoutSave): change a bit the question
14311
14312         * sp_base.h: include <sys/types.h>
14313
14314 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14317
14318 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14319
14320         * several files: fix typos in user-visible strings
14321
14322 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14323
14324         * text2.C (pasteSelection): do not set the selection, since it
14325         will be cleared later. Actually, the intent was to fix the way the
14326         selection was set, but I figured rmoving the code was just as good.
14327
14328 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * FontLoader.C (available): Check if font is available without
14331         loading the font.
14332
14333 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14334
14335         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14336
14337 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * lyxrc.[Ch]: added display_graphics variable and associated code.
14340
14341 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * bufferparams.C (hasClassDefaults): new method. Returns true if
14344         the buffer parameters correspond to known class defaults
14345
14346 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14347
14348         * XFormsView.C (show): set minimum size to the main window.
14349
14350 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * text2.C (copySelection):
14353         (cutSelection):
14354         * lyxfind.C (LyXReplace):
14355         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14356         LyXText::selectionAsString.
14357
14358         * paragraph.C (asString): add "label" argument to the second form
14359
14360         * text2.C (selectionAsString): add "label" argument and pass it to
14361         Paragraph::asString.
14362
14363 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14364
14365         * lyx_main.C (commandLineHelp): remove version information
14366
14367 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14368
14369         * lyx_main.C: add -version commandline option
14370
14371 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14372
14373         * paragraph.h: make the optional constructor arg required instead.
14374         some modifications to other files because of this.
14375
14376         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14377
14378         * lyxserver.C (C_LyXComm_callback): make it static
14379
14380         * lyx_main.C (error_handler): make it static
14381
14382         * lyx_gui.C (LyX_XErrHandler): make it static
14383
14384         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14385
14386         * WorkArea.C: make the extern "C" methods static.
14387
14388         * Makefile.am (lyx_LDADD): simplify
14389
14390 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14391
14392         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14393         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14394
14395         * LyXAction.C (init):
14396         * lyxfunc.C (dispatch): associated code removal.
14397
14398 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * lyxfont.h (isSymbolFont): shut off warning
14401
14402         * text.C (setHeightOfRow):
14403         (getVisibleRow): fix crash with empty paragraphs which have a
14404         bottom line
14405
14406 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14407
14408         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14409         code.
14410
14411 2001-09-04  José Matos  <jamatos@fep.up.pt>
14412         * buffer.C
14413         * buffer.h
14414         * tabular.C (docbook): rename docBook method to docbook.
14415
14416 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14417
14418         * Makefile.am: add dependencies to main.o.
14419
14420 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * FontLoader.C (available): Return false if !lyxrc.use_gui
14423
14424 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14425
14426         * FontInfo.C (query):
14427         * converter.C (view):
14428         * importer.C (Import):
14429         * exporter.C (Export): Can not -> cannot.
14430
14431 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * BufferView_pimpl.C: allow to create index inset even if
14434           string is empty
14435
14436 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14437
14438         * buffer.C (getLists): replace boost::tie code with an explicit pair
14439         as boost::tie can break some compilers.
14440
14441         * iterators.h: Added a std:: declaration to the return type of
14442         ParIterator::size.
14443
14444 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14447           case.
14448
14449 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14450
14451         * iterators.[Ch]: New files. Provide paragraph iterators.
14452
14453         * buffer.C (changeLanguage): Use paragraph iterators.
14454         (isMultiLingual): ditto
14455
14456         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14457
14458 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14459
14460         * FontLoader.C: Support for cmr font.
14461
14462 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14465         (available): New method.
14466
14467         * FontInfo.C (getFontname): Use scalable fonts even when
14468         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14469         found.
14470
14471 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * converter.C (Formats::view): reverted! Incorrect fix.
14474
14475 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * converter.C (Formats::view): only output the -paper option
14478         if the dvi viewer is xdvi, thereby fixing bug #233429.
14479
14480 2001-08-23  Herbert Voss  <voss@perce>
14481
14482         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14483
14484 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14485
14486         * Spacing.h (Spacing): Set space to Default on in the default
14487         constructor.
14488
14489 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * vc-backend.h (RCS::versionString): add RCS to version
14492         (CVS::versionString): add CVS to version
14493
14494         * vc-backend.C (scanMaster): do not add CVS to version.
14495         (scanMaster): do not add RCS to version
14496
14497         * lyxvc.C (versionString): new method
14498
14499         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14500
14501 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * Spacing.C (set): initialize fval
14504
14505 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14506
14507         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14508         " or \.
14509
14510 2001-08-16  Juergen Vigna  <jug@sad.it>
14511
14512         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14513
14514 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * BufferView_pimpl.C:
14517         * figureForm.C:
14518         * lyxtext.h:
14519         * text2.C: setParagraph takes linespacing now
14520
14521 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * LyxAction.C: add internal LFUN_CITATION_INSERT
14524
14525         * LyXView.C: actually apply fix
14526
14527         * bufferlist.C: fix open non-existent file
14528
14529         * lyxfind.C: fix indentation
14530
14531         * lyxfunc.C: remove unneeded assert, fix typo
14532
14533 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * MenuBackend.C: use "Floatname List"
14536
14537 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14538
14539         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14540         when converting LaTeX layout to insetERT.
14541         Generate a non-collapsed float when reading old float
14542
14543 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14546         ERT insets.
14547
14548 2001-08-13  Juergen Vigna  <jug@sad.it>
14549
14550         * text.C (fill): return 0 instead of 20 as this seems to be the more
14551         correct value.
14552
14553 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14554
14555         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14556         lyxrc.font_norm.
14557
14558 2001-08-13  Juergen Vigna  <jug@sad.it>
14559
14560         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14561         casesensitive off.
14562         (SearchBackward): comment out the unlocking of the inset_owner this
14563         should not be needed!
14564
14565 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14566
14567         * Many files: Remove inherit_language, and add latex_language
14568
14569         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14570         collapsible insets.
14571
14572 2001-08-10  Juergen Vigna  <jug@sad.it>
14573
14574         * text.C (prepareToPrint): fixed hfill-width in draw!
14575
14576         * BufferView2.C (selectLastWord): save the selection cursor as this
14577         now is cleared in the function LyXText::clearSelection!
14578
14579 2001-08-08  Juergen Vigna  <jug@sad.it>
14580
14581         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14582         BACKSPACE type functions.
14583
14584         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14585         is only cutted from the document but not put in the cut-buffer, where
14586         still the old stuff should be.
14587
14588         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14589
14590         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14591
14592         * tabular.C (SetWidthOfCell): fixed special case where the width
14593         was not updated!
14594         (LeftLine): handle '|' in align_special.
14595         (RightLine): ditto
14596         (LeftAlreadyDrawed): ditto
14597         (SetWidthOfCell): ditto
14598
14599 2001-08-07  Juergen Vigna  <jug@sad.it>
14600
14601         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14602
14603 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14604
14605         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14606         * lyxlex.[hC]: ditto
14607
14608 2001-08-06  Juergen Vigna  <jug@sad.it>
14609
14610         * text.C (getVisibleRow): fix up row clearing a bit.
14611
14612 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14613
14614         * minibuffer.C: make sure the X server sees the changes in the input.
14615
14616 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * paragraph.C (getFont): split into...
14619         (getLabelFont): this
14620         (getLayoutFont): and this
14621         * paragraph_pimpl.C (realizeFont): calling this
14622
14623         * text2.C (getFont): split into...
14624         (getLayoutFont): this
14625         (getLabelFont): and this
14626         (realizeFont): all three calling this
14627
14628         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14629         files where used.
14630
14631 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14634
14635 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14636
14637         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14638         layouts from the Quote inset insertion.
14639
14640 2001-08-03  Juergen Vigna  <jug@sad.it>
14641
14642         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14643
14644         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14645         only if status not is already CHANGED_IN_DRAW (second level).
14646
14647         * text.C (draw): don't set the need_break_row when inside an
14648         InsetText LyXText.
14649
14650 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * buffer.C (parseSingleLyXformat2Token): handle more latex
14653         conversion cases.
14654
14655         * bufferview_funcs.[hC]: change function names to
14656         begin with small char, adjust other files.
14657
14658 2001-08-02  André Pönitz <poenitz@gmx.net>
14659
14660         * lyxfunc.C:
14661         BufferView_pimpl.C: remove broken special code for math-greek
14662
14663 2001-08-02  Juergen Vigna  <jug@sad.it>
14664
14665         * BufferView_pimpl.C (update): redone this function so that we
14666         update the text again if there was a CHANGE_IN_DRAW.
14667
14668         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14669         (drawFromTo): added a new internal bool which is used by draw() and
14670         redraw() function.
14671         (general): some cursor drawing problems fixed.
14672
14673 2001-08-01  Juergen Vigna  <jug@sad.it>
14674
14675         * lyxfind.C (LyXFind): fixed
14676         (SearchForward): ditto
14677         (SearchBackward): ditto
14678
14679         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14680         spurius drawing of the cursor in the main area.
14681
14682         * text2.C (status): small fix which could lead to a segfault!
14683         (clearSelection): remove unneeded BufferView param.
14684
14685 2001-08-01  André Pönitz <poenitz@gmx.net>
14686
14687         * lyxfunc.C: small change due to changed mathed interface
14688
14689 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14692
14693 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * lyxfunc.c: fail gracefully if file doesn't exist
14696
14697         * LyXSendto.C:
14698         * buffer.C:
14699         * lyxfunc.C:
14700         * BufferView_pimpl.C: IsDirWriteable() proto changed
14701
14702         * LyXView.C: fix updateWindowTitle() to store the last title
14703
14704 2001-07-31  Juergen Vigna  <jug@sad.it>
14705
14706         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14707         the font (wrong since using of Paragraph::highestFontInRange).
14708
14709         * paragraph.C (highestFontInRange): added a default_size parameter.
14710
14711         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14712         (setHeightOfRow): reformat
14713
14714 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14715
14716         * converter.[hC] + affected files: move to (inital-char)lowercase
14717         function names.
14718
14719         * ParagraphParameters.C (ParagraphParameters): remove commented code
14720
14721         * PainterBase.[Ch]: remove commented code
14722
14723         * LaTeXFeatures.h: add "bool floats" for float.sty
14724
14725         * LaTeXFeatures.C (LaTeXFeatures): init floats
14726         (require): handle float
14727         (getPackages): do it with floats
14728
14729 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * BufferView_pimpl.C (Dispatch): improve handling of
14732         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14733
14734         * commandtags.h: #include lyxfont.h here temporarily to avoid
14735         keybinding bug.
14736
14737         * bufferlist.h: include LString.h here.
14738
14739 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * text2.C (getStringToIndex): new method.
14742
14743 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14744
14745         * *: Reduced header file dependencies all over.
14746
14747 2001-07-30  Baruch Even  <baruch@lyx.org>
14748
14749         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14750
14751 2001-07-29  Baruch Even  <baruch@lyx.org>
14752
14753         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14754
14755 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14756
14757         * ParameterStruct.h (endif): add a default constructor to make
14758         sure that all variables is initialized.
14759
14760         * ParagraphParameters.C (ParagraphParameters): adjust
14761
14762 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14765         index; also, check that there is something to index, and that it
14766         does not span over several paragraphs.
14767         (doubleClick): use WHOLE_WORD_STRICT for double click.
14768
14769         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14770
14771         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14772         scheme.
14773
14774 2001-07-26  Baruch Even  <baruch@lyx.org>
14775
14776         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14777         an InsetFig figure, backwards compatible reading of old figure code.
14778
14779 2001-07-27  Juergen Vigna  <jug@sad.it>
14780
14781         * text2.C: font.realize function adaption.
14782
14783         * text.C (draw): add a warnings lyxerr text if needed.
14784
14785         * layout.C: font.realize function adaption.
14786
14787         * language.C: add inherit_language and implement it's handlings
14788
14789         * bufferview_funcs.C (StyleReset): remove language parameter from
14790         font creation (should be language_inherit now).
14791
14792         * bufferparams.C (writeFile): handle ignore_language.
14793
14794         * paragraph.C (getFontSettings): the language has to be resolved
14795         otherwise we have problems in LyXFont!
14796
14797         * lyxfont.C (lyxWriteChanges): added document_language parameter
14798         (update): removed unneeded language parameter
14799
14800         * paragraph.C (validate): fixed wrong output of color-package when
14801         using interface colors for certain fonts in certain environments,
14802         which should not seen as that on the final output.
14803
14804 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * BufferView_pimpl.C:
14807         * Thesaurus.h:
14808         * Thesaurus.C:
14809         * Makefile.am:
14810         * commandtags.h:
14811         * LyXAction.C: add thesaurus support
14812
14813         * lyxfind.h:
14814         * lyxfind.C: add "once" parameter, for thesaurus, to not
14815           move to the next match
14816
14817 2001-07-26  Juergen Vigna  <jug@sad.it>
14818
14819         * lyxfont.C (realize): honor ignore_language too!
14820         (resolved): ditto.
14821
14822         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14823
14824         * text.C (draw): one place more for ignore_language to not draw
14825         itself!
14826
14827 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14828
14829         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14830
14831 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14834         the minipage conversion problem.
14835
14836 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14839         insert an inset.
14840
14841 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * BufferView.h: don't forward declare WorkArea
14844
14845         * BufferView.C: don't include WorkArea.h
14846
14847 2001-07-25  André Pönitz <poenitz@gmx.net>
14848
14849         * commandtags.h:
14850         * LyXAction.C:
14851         * lyxfunc.C:  new LFUN 'math-space'
14852
14853         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14854
14855 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * text2.C (toggleInset): call open/close
14858
14859 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14860
14861         * lyxfunc.C (dispatch): add debug for the disabled case
14862
14863         * font.C (buttonText): make similar to rectText
14864
14865         * buffer.C (readInset): comment out parsing of insetlist and
14866         insttheorem
14867
14868         * PainterBase.C (rectText): small correction
14869
14870         * BufferView_pimpl.C: comment out insettheorem and insetlist
14871         * LyXAction.C: ditto
14872         * commandtags.h: ditto
14873
14874 2001-07-24  Juergen Vigna  <jug@sad.it>
14875
14876         * text.C (draw): honor the ignore_language.
14877
14878         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14879
14880 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14881
14882         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14883         char inset.
14884
14885 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14886
14887         * lyxtext.h: remove unused (and unimplemented) methods
14888
14889 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14890
14891         * text.C (getVisibleRow): honor background color
14892
14893         * PainterBase.h:
14894         * Painter.h: remove default color argument for fillRectangle
14895
14896         * text.C (backgroundColor): new method
14897
14898 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * text.C (getVisibleRow): adjust
14901
14902         * font.[Ch] (rectText): new method, metrics
14903         (buttonText): new method, metrics
14904
14905         * PainterBase.[hC]: make rectText and buttonText always draw and take
14906         fewer paramteres.
14907
14908 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14909
14910         * ToolbarDefaults.C (read):
14911         * MenuBackend.C (read): allow escaping in all strings
14912
14913         * BufferView_pimpl.C (insertAndEditInset): new method.
14914         (Dispatch): use insertAndEditInset whenever appropriate.
14915
14916         * BufferView_pimpl.C (insertNote): removed
14917
14918         * BufferView_pimpl.C (smartQuote): new method, moved from
14919         BufferView; if an insetquote cannot be inserted, insert a '"'
14920         character instead.
14921
14922         * BufferView2.C: remove insertCorrectQuote();
14923
14924         * lyxfunc.C (getStatus): Add support for all remaingin
14925         inset-insert lfuns.
14926
14927         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14928
14929         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14930         command (necessary to pass " as parameter of self-insert.
14931
14932         * text.C (selectWordWhenUnderCursor):
14933         (selectWord): add word_location parameter
14934         (selectWordWhenUnderCursor): same + remove special code for word
14935         boundary.
14936         (selectNextWord): use kind() to guess type of insetspecialchar,
14937         not latex().
14938
14939         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14940         (insertErtContents): create ert insets as collapsed.
14941         (readInset): better compatibility code for Info inset.
14942
14943 2001-07-20  Juergen Vigna  <jug@sad.it>
14944
14945         * lyxfunc.C (dispatch): use always LyXFind now!
14946
14947         * text2.C (init): add a reinit flag so that the LyXText can be
14948         reinited instead of deleted and reallocated (used in InsetText).
14949
14950         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14951
14952         * text.C: ditto
14953
14954         * text2.C: ditto
14955
14956 2001-07-18  Juergen Vigna  <jug@sad.it>
14957
14958         * text.C (selectNextWord): handle insets inside inset by calling
14959         always the bv->text functions so that we can go up the_locking_inset!
14960
14961         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14962         in strange locations when inside an inset!
14963
14964         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14965         handling to include insets.
14966
14967         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14968
14969 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * LyXAction.C (init):
14972         * commandtags.h:
14973         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14974         LIGATURE_BREAK, since the name is so stupid.
14975
14976 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14977
14978         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14979         InsetInfos.
14980
14981         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14982
14983         * sp_form.[Ch]: remove.
14984
14985         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14986
14987         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14988         InsetInfo.
14989
14990         * src/buffer.C (readInset): ditto.
14991
14992 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14993
14994         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14995         menuSeparator(), endOfSentenceDot(), ldots() and
14996         hyphenationPoint(), which are therefore removed.
14997         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14998
14999         * LyXAction.C (init):
15000         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15001
15002         * paragraph.C (getWord): removed.
15003
15004         * BufferView_pimpl.C (Dispatch): use last word or selection for
15005         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15006
15007         * lyx_main.C (queryUserLyXDir): do not ask before creating
15008         user_dir, except if it has been named explicitely.
15009
15010 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15011
15012         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15013         a document of zero size.
15014
15015 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15016
15017         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15018         approriately in the c-tor and in require().
15019         (getPackages): output the appropriate LaTeX for natbib support.
15020
15021         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15022         variables "use_natbib" and "use_numerical_citations" when reading the
15023         LyX file.
15024         (readInset): read the various natbib cite commands.
15025         (validate): white-space change.
15026
15027         * bufferparams.[Ch]: new variables "bool use_natbib" and
15028         "bool use_numerical_citations".
15029         (writeFile): output them in the LyX file.
15030
15031 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15032
15033         * lyxfunc.C (getStatus): add support for all the inset insertion
15034         commands.
15035
15036         * text2.C (insertInset):
15037         * paragraph.C (insetAllowed):
15038         * BufferView_pimpl.C (insertInset): update to take in account the
15039         renaming of insertInsetAllowed
15040
15041         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15042
15043         * text2.C (getInset): new method. returns inset at cursor position.
15044
15045         * BufferView_pimpl.C (Dispatch): changes because of this.
15046
15047         * LyXAction.C (init): rename open-stuff to inset-toggle.
15048
15049         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15050
15051         * text2.C (toggleInset): renamed from openStuff; use
15052         Inset::open().
15053
15054 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15055
15056         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15057
15058         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15059
15060 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * buffer.C (readLyXformat2): Add filename to the error dialog
15063
15064 2001-07-18  Juergen Vigna  <jug@sad.it>
15065
15066         * tabular.C (GetCellNumber): put an assert here instead of the check!
15067
15068 2001-07-17  Juergen Vigna  <jug@sad.it>
15069
15070         * BufferView_pimpl.C (toggleSelection): adapted too.
15071
15072         * text.C (selectNextWord): adapted for use with insets.
15073         (selectSelectedWord): ditto
15074
15075 2001-07-17  Juergen Vigna  <jug@sad.it>
15076
15077         * sp_spell.C (PSpell): fix initialitation order.
15078
15079 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * paragraph.C: spacing
15082
15083 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15084
15085         * sp_spell.C: repair language selection for pspell
15086
15087 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * lyxfunc.h: change more methods to begin with lower char.
15090
15091 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15092
15093         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15094         for unknown layouts.
15095
15096 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15097
15098         * buffer.C (readLyXformat2): Generate an error dialog if there are
15099         unknown layouts.
15100
15101 2001-07-16  Juergen Vigna  <jug@sad.it>
15102
15103         * sp_spell.C: always compile ISpell part.
15104
15105         * lyxrc.C: added use_pspell entry and it's handling.
15106
15107 2001-07-13  Juergen Vigna  <jug@sad.it>
15108
15109         * sp_spell.C: removed double includes.
15110
15111 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         Consistent use of Lsstream.h:
15114         * Lsstream.h: added using std::stringstream for consistencies sake.
15115
15116         * buffer.C: removed using std::stringstream
15117
15118         * lyxfont.C (stateText):
15119         * paragraph.C (asString):
15120         * text.C (selectNextWord, selectSelectedWord):
15121         * text2.C (setCounter):
15122         * vspace.C (asString, asLatexString):
15123         std::ostringstream -> ostringstream.
15124
15125 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15126
15127         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15128         * commandtags.h: add LFUN_HELP_ABOUTLYX
15129         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15130
15131 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15132
15133         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15134         cursorToggle()
15135         * lyx_gui_misc.C: remove spellchecker
15136         * lyxfunc.C: showSpellchecker
15137         * sp_base.h: added
15138         * sp_ispell.h: added
15139         * sp_pspell.h: added
15140         * sp_spell.C: added
15141         * sp_form.[Ch]: removed
15142         * spellchecker.[Ch]: removed
15143
15144 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15145
15146         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15147         is set.
15148         (simpleTeXSpecialChars): Simply print the input character without
15149         any special translation if pass_thru is set.
15150
15151         * layout.h: Added bool pass_thru to layout class for being able to
15152         implement pass through of a paragraph for Literate Programming.
15153
15154         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15155         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15156         * layout.C (Read): add "passthru" to list of layout tags and add
15157         code to set the pass_thru boolean when it is read.
15158
15159 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * trans_decl.h: remove allowed from KmodInfo
15162
15163         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15164         remove allowed code
15165         (Load): adjust
15166
15167         * paragraph_pimpl.C (erase): use boost::prior
15168
15169         * Painter.C (text): use data() instead of c_str() when length is
15170         also provided.
15171         * WorkArea.C (putClipboard): ditto
15172         * font.h (width): ditto
15173
15174         * BufferView2.C: use it-> instead of (*it). for iterators
15175         * texrow.C: ditto
15176         * paragraph_pimpl.C: ditto
15177         * paragraph.C: ditto
15178         * minibuffer.C: ditto
15179         * language.C: ditto
15180         * kbmap.C: ditto
15181         * encoding.C: ditto
15182         * counters.C: ditto
15183         * converter.C: ditto
15184         * chset.C: ditto
15185         * Variables.C: ditto
15186         * TextCache.C: ditto
15187         * MenuBackend.C: ditto
15188         * LyXAction.C: ditto
15189         * LColor.C: ditto
15190         * FloatList.C: ditto
15191         * DepTable.C: ditto
15192         * ColorHandler.C (LyXColorHandler): ditto
15193
15194 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15197
15198         * text2.C (openStuff): reintroduce this method (which had been
15199         nuked in NEW_INSETS frenzy).
15200
15201         * lyxfunc.C (Dispatch): when an action has not been handled, use
15202         its name in the error message, not its number.
15203
15204         * paragraph.C (inInset): change method name to begin with lowercase.
15205
15206         * undo_funcs.C:
15207         * text2.C: updates because of this.
15208
15209 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * ToolbarDefaults.C (add): add spaces in error message
15212
15213 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15214
15215         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15216         (readLyXformat2): rename return_par to first_par, use lyxlex's
15217         pushToken and remove the manual push handling.
15218         (parseSingleLyXformat2Token): add another ert comp. variable:
15219         in_tabular, rename return_par to first_par. handle newlines better
15220
15221 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15224
15225 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * text2.C (getParFromID): removed
15228
15229         * buffer.C (getParFromID): new method moved form lyxtext.
15230         * BufferView2.C (insertErrors): adjust
15231         (setCursorFromRow): adjust
15232         * BufferView_pimpl.C (restorePosition): adjust
15233         * lyxfunc.C (Dispatch): adjust
15234         * undo_funcs.C (textUndo): adjust
15235         (textRedo): adjust
15236         (textHandleUndo): adjust
15237         (textHandleUndo): adjust
15238
15239 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15240
15241         * buffer.C: up' the LYX_FORMAT
15242
15243         * lyxfont.h: turn NO_LATEX on as default
15244
15245         * buffer.C (insertErtContents): new methods of tex style compability.
15246         (parseSingleLyXformat2Token): use it several places.
15247         * tabular.C (OldFormatRead): and here
15248
15249 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * text2.C: remove some commented code.
15252         reindent file.
15253
15254         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15255         * trans.C: changes because of the above.
15256
15257 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15258
15259         * text2.C (setCounter): Fix counters bug with bibliography layout.
15260
15261 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15262
15263         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15264         own member functions
15265         (simpleTeXSpecialChars): ditto
15266
15267 2001-07-06  Juergen Vigna  <jug@sad.it>
15268
15269         * a lot of files: changed the access to LyXText::status and the
15270         call of undo-functions.
15271
15272         * undo.[Ch]: added a inset_id to the undo informations.
15273
15274         * undo_funcs.[Ch]: added and moved here all undo functions.
15275
15276         * lyxtext.h: give the status enum a weight, made status_ a private
15277         variable and made accessor functions for it, removed the whole bunch
15278         of undo-functions as they are now in their own file, make some
15279         functions publically available. Added function ownerParagraph with
15280         int parameter.
15281
15282         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15283         made InInset() a const function, added getParFromID() function.
15284
15285         * buffer.[Ch]: added const version for inset_iterator functions,
15286         added getInsetFromID() function.
15287
15288         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15289         changed undo functions for new version.
15290
15291 2001-07-05  Juergen Vigna  <jug@sad.it>
15292
15293         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15294         unknow mechanism does not call the proper constructor but only this
15295         one also if I request the other!?
15296
15297 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15300
15301         * text2.C (LyXText): use initialization lists.
15302
15303         * lyxtext.h (Selection): initialize set_ and mark_
15304         (init): remove method
15305
15306 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15307
15308         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15309
15310 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15311
15312         * screen.[Ch]: change method names to begin with lowercase
15313
15314         * BufferView_pimpl.C (updateScrollbar): simplify further and
15315         hopefully make it a bit faster.
15316
15317 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15318
15319         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15320         calling directly xforms functions.
15321
15322         * Painter.C (Painter):
15323         * lyx_cb.C (MenuWrite):
15324         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15325         fl_display.
15326
15327         * lyx_gui.C: remove bogus guiruntime extern declaration.
15328
15329 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15330
15331         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15332         in NEW_INSETS
15333         (redoDrawingOfParagraph): ditto
15334         (redoParagraphs): ditto
15335         (cutSelection): don't create a object for CutAndPaste use the
15336         static method directly
15337         (pasteSelection): ditto
15338
15339         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15340         LyXview (+ rename)
15341
15342 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * modifications to some other files because of this.
15345
15346         * Makefile.am (lyx_SOURCES): add XFormsView
15347
15348         * XFormsView.[Ch]: new files
15349
15350         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15351         the main window. Move the gui dependent stuff to XFormsView
15352
15353 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * tabular.C (GetCellInset): update cur_cell also in the row/col
15356         version of this function.
15357
15358         * lyxfunc.C: no need to include figure_form.h here.
15359
15360         * FontLoader.h:
15361         * lyxfunc.h:
15362         * lyxscreen.h:
15363         * text2.C:
15364         * lyxvc.C: no need to include forms.h here.
15365
15366 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15369
15370         * lyxfunc.C (Dispatch):
15371         * Spacing.C (set):
15372         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15373         constructor argument.
15374
15375 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * paragraph.C (Paragraph): dont't clear, and just set layout.
15378         (makeSameLayout): use params's copy contructor.
15379
15380         * ParagraphParameters.[Ch] (makeSame): delete method
15381
15382 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * Variables.[Ch]: fix indentation, rename set to isSet
15385
15386 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * lyxfunc.C (Dispatch): fix typo
15389
15390 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15393         upper_bound.
15394
15395         * bufferlist.C: include assert.h for emergencyWrite().
15396
15397 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15398
15399         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15400           give up at last (bug #425202) !
15401
15402 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15403
15404         * lyx_gui_misc.C:
15405         * sp_form.h:
15406         * sp_form.C:
15407         * spellchecker.h:
15408         * spellchecker.C: strip spellchecker options and bring up
15409           preferences tab instead
15410
15411 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15412
15413         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15414         the istringstream constructor
15415
15416 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * paragraph.C (getLayout): fix return value
15419
15420         * paragraph.h: do not declare getLayout as inline.
15421
15422         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15423
15424 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15425
15426         * lyxcursor.h (operator<): new func
15427         (operator>): new func
15428         (operator>=): new func
15429         (operator<=): new func
15430
15431         * text.C (changeCase): use selection.start and selection.end
15432         (changeRegionCase): require from to be <= to. Require par to be a
15433         valid paragraph.
15434
15435         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15436
15437 2001-06-27  Juergen Vigna  <jug@sad.it>
15438
15439         * text.C (cursorLeftOneWord): changed to return the cursor and added
15440         overlay with BufferView * parameter which calls this one.
15441         (getWord): added
15442         (selectWord): use new getWord function.
15443         (changeCase): renamed from changeWordCase as and extended to work
15444         also on selections.
15445
15446         * lyxtext.h: added enum word_location
15447
15448         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15449         changeCase as this operates now also on selections.
15450
15451 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15452
15453         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15454
15455         * many files: send debug output to Debug::INFO instead of
15456         Debug::ANY.
15457
15458         * converter.C (View):
15459         (Convert):
15460         (Move): send debug output to Debug::FILES instead of console.
15461
15462 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15463
15464         * lyxfunc.C (getStatus): use func_status
15465
15466         * func_status.h: new header, describing the results of
15467         LyXFunc::getStatus;
15468
15469         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15470         LFUN_MATH_HALIGN.
15471
15472 2001-06-25  The LyX Project  <jug@sad.it>
15473
15474         * buffer.C (sgmlOpenTag):
15475         (sgmlCloseTag):
15476         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15477
15478 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15479
15480         * text2.C: remove some dead code
15481
15482         * tabular.C (GetCellInset): store the last cell checked (gotten)
15483
15484         * tabular.h: add the helper for the speedup
15485
15486         * lyxtext.h: remove some dead code
15487
15488 2001-06-26  The LyX Project  <Asger>
15489
15490         * paragraph.C: Change export to LaTeX of alignment to
15491         \begin{center} and family for better roundtrip work with reLyX.
15492
15493         * Tune the math drawing a bit.
15494
15495 2001-06-25  The LyX Project  <Asger>
15496
15497         * LColor.C (LColor): New color for math background. New color
15498         for buttons.
15499
15500 2001-06-25  The LyX Project  <jug@sad.it>
15501
15502         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15503
15504         * lyxfunc.C (Open):
15505         * bufferlist.C (newFile): do not restrict to files ending with
15506         .lyx
15507
15508         * BufferView_pimpl.C (MenuInsertLyXFile):
15509
15510 2001-06-24  The LyX Project  <jug@sad.it>
15511
15512         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15513         of compare_no_case
15514
15515 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * lyxtext.h: rename most methods to begin with a small char.
15518         Lots of changes because of this.
15519
15520         * paragraph.C (Paragraph): do not call fitToSize
15521         (erase): call Pimpl::erase
15522         (insertChar): call Pimpl::insertChar
15523         (insertInset): call Pipl::insertInset
15524         (breakParagraph): do not call fitToSize
15525         (breakParagraphConservative): do not call fitToSize
15526         (fitToSize): remove method
15527
15528         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15529
15530 2001-06-24  The LyX Project  <Asger>
15531
15532         * Fix Qt compilation^2
15533
15534 2001-06-24  The LyX Project  <jug@sad.it>
15535
15536         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15537         depthHook(getDepth()-1).
15538
15539         * paragraph.h:
15540         * ParagraphParameters.h:
15541         * ParameterStruct.h: change type of depth to unsigned int ==
15542         depth_type. Many adaptations to other files before of that.
15543
15544 2001-06-24  The LyX Project  <Asger>
15545
15546         * Fix Qt compilation.
15547
15548 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15549
15550         * paragraph.h: renamed several methods to begin with small letter.
15551         several changes to many parts of the code because of this.
15552
15553 2001-06-23  The LyX Project  <jug@sad.it>
15554
15555         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15556         rewritten to discard all double spaces when KeepEmpty is off
15557         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15558         to only handle newlines but not fiddle with spaces and friends.
15559
15560         * lyxfunc.C (MenuNew): when doing 'new from template', use
15561         template_path as default directory
15562
15563 2001-06-23  The LyX Project  <Asger>
15564
15565         * Clean-up of header file includes all over
15566         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15567
15568 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * paragraph.h: renamed from lyxparagraph.h
15571
15572 2001-06-23  Asger  <lyx@violet.home.sad.it>
15573
15574         * Buffer.h: Removed Buffer::resize
15575         * BufferList.h: Removed BufferList::resize
15576         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15577         the document lazily when we change the width, or the font settings.
15578
15579 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15582
15583 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * buffer.h: remove out of date comment
15586
15587 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15588
15589         * lyxscreen.h:
15590         * screen.C: fix "theoretical" GC leak
15591
15592 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * LaTeX.C (scanAuxFile):
15595         (deplog): remove trailing \r when reading stream (useful under
15596         win32)
15597
15598 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15599
15600         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15601         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15602         and BufferView::theLockingInset(Inset*), so should use them and not
15603         access bv_->text->the_locking_inset directly.
15604
15605         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15606
15607 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15608
15609         * Makefile.am:
15610         * tex-defs.h: remove old unused file
15611
15612 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15613
15614         * BufferView_pimpl.C: fix typo, remove minibuffer message
15615           when buffer has loaded
15616
15617 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * lyxfunc.C (Dispatch): use stringstream
15620         (MenuNew): use stringstream
15621         (Open): use stringstream
15622
15623         * importer.C (Import): use stringstream
15624
15625         * bufferview_funcs.C (CurrentState): use stringstream
15626
15627         * LaTeX.C (run): use stringstream
15628
15629         * BufferView_pimpl.C (savePosition): use stringstream
15630         (restorePosition): use stringstream
15631         (MenuInsertLyXFile): use stringstream
15632
15633 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15634
15635         * BufferView.C:
15636         * Bullet.C:
15637         * ColorHandler.C:
15638         * FontInfo.C:
15639         * FontLoader.C:
15640         * LColor.C:
15641         * LaTeXFeatures.C:
15642         * Painter.C:
15643         * gettext.C:
15644         * lyx_gui_misc.C:
15645         * lyxserver.C:
15646         * vspace.C: removed // -*- C++ -*- as first line.
15647
15648         * lyxfind.h:
15649         * version.h: added // -*- C++ -*- as first line.
15650
15651 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15654
15655         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15656         of string
15657
15658 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15659
15660         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15661         of floats.
15662
15663 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * gettext.C: include LString.h even when --disable-nls is on.
15666
15667 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15668
15669         * converter.h (Get): changed argument type from int to
15670         FormatList::size_type to avoid unnecessary conversion.
15671
15672         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15673         before using it.
15674
15675 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * gettext.h: include LString.h even when --disable-nls is on.
15678
15679 2001-06-07  Juergen Vigna  <jug@sad.it>
15680
15681         * text.C (BreakAgain): subst spaces with tabs.
15682
15683         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15684         (resizeInsetsLyXText): set force on resizeLyXText.
15685
15686 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15687
15688         * gettext.h (gettext_init):
15689         (locale_init): use a real definition instead of a macro
15690
15691 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15692
15693         * Bufferview_pimpl.C:
15694         * LColor.h:
15695         * LColor.C: further lcolor tidies
15696
15697 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15698
15699         * BufferView_pimpl.C (updateScrollbar): simplify.
15700
15701         * BufferView2.C: don't include insets/insetinfo.h, change
15702         prototype for insertInset and call the Pimpl version. let
15703         updateInset call Pimpl version.
15704
15705         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15706         gotoInset to BufferView::Pimpl
15707
15708 2001-06-01  Juergen Vigna  <jug@sad.it>
15709
15710         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15711         inside a LockingInset (is the update needed at all?).
15712
15713 2001-05-31  Juergen Vigna  <jug@sad.it>
15714
15715         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15716         here not the old one otherwise how should we compare it afterwards
15717         if it's the same!
15718
15719 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyxfont.C:
15722         * tabular.C:
15723         * tabular-old.C:
15724         * FontInfo.C: bring C functions into global namespace when
15725         necessary
15726
15727 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * LString.h: make sure config.h has been loaded before LString.h.
15730
15731         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15732         (one for each char read by EatLine!).
15733
15734         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15735         variables.
15736
15737 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15740         to the same as the par we break from
15741
15742 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15745
15746         * MenuBackend.C (expand): also create menu entries for wide
15747         versions of the floats.
15748
15749         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15750
15751         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15752
15753         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15754         frontends/Makefile.am
15755
15756         * text2.C: adjust
15757         * text.C: adjust
15758
15759
15760         * tabular.C (getTokenValue): add std::
15761
15762         * tabular-old.C (getTokenValue): add std::
15763         (getTokenValue): ditto
15764         (getTokenValue): ditto
15765
15766         * screen.C (ToggleSelection): adjust
15767
15768         * lyxtext.h: put selection cursors inside a Selection struct.
15769
15770         * lyxfunc.C (moveCursorUpdate): adjust
15771
15772         * lyxfont.C (latexWriteStartChanges): add std::
15773
15774         * lyxfind.C: adjust
15775
15776         * font.h: delete with(char const *, LyXFont const &)
15777
15778         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15779
15780         * FontInfo.C (getFontname): add std::
15781
15782         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15783         (workAreaButtonPress): adjust
15784         (tripleClick): adjust
15785         (update): adjust
15786         (moveCursorUpdate): adjust
15787         (Dispatch): adjust
15788
15789         * BufferView2.C (gotoInset): adjust
15790
15791 2001-05-30  Juergen Vigna  <jug@sad.it>
15792
15793         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15794         to check pspell I add this as default as I now have new pspell
15795         libraries and they seem to use this.
15796
15797 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * text2.C (CutSelection): make the cursor valid before the call to
15800         ClearSelection.
15801
15802 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15805         relied on 0 terminated strings and other horrors. Bug found due to
15806         the new assert in lyxstring!
15807
15808         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15809         KP_ keys.
15810
15811 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15812
15813         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15814         to latinkeys.bind.
15815
15816         * lyxfunc.C (processKeySym): change method of getting to the
15817         self-insert char.
15818
15819         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15820         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15821         * BufferView_pimpl.[Ch]: here as private methods.
15822
15823 2001-05-28  Juergen Vigna  <jug@sad.it>
15824
15825         * text.C (SetHeightOfRow): added the update() call again as it is
15826         needed to initialize inset dimensions!
15827
15828 2001-05-16  Juergen Vigna  <jug@sad.it>
15829
15830         * text2.C (SetCharFont): Add new function with BufferView * and
15831         bool toggleall parameters for setting insets internal fonts.
15832         (SetFont): Freeze the undo as we may change fonts in Insets and
15833         all this change should be inside only one Undo!
15834
15835         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15836         setting font's in insets as for them we have the SetFont function!
15837
15838 2001-05-15  Juergen Vigna  <jug@sad.it>
15839
15840         * text2.C (ClearSelection): to be sure we REALLY don't have any
15841         selection anymore!
15842
15843         * tabular.C (TeXCellPreamble): fixed the left border problem for
15844         multicolumn cells.
15845
15846 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15847
15848         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15849         dependancy file
15850
15851 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15852
15853         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15854         LFUN_BREAKPARAGRAPH.
15855
15856         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15857         help test to "internal only", similar for LFUN_INSERT_URL
15858
15859         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15860         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15861         auto_region_delete and deadkeys.
15862
15863 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15864
15865         * LColor.h:
15866         * LColor.C: remove some dead entries, tidy a little
15867
15868 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15871         commented code.
15872         (Dispatch): implement LFUN_ESCAPE
15873
15874         * commandtags.h: add LFUN_ESCAPE
15875
15876         * LyXAction.C (init): add entry for LFUN_ESCAPE
15877
15878         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15879         Remove commented code.
15880         (insertNote): moved here
15881         (open_new_inset): moved here
15882
15883         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15884         BufferView_pimpl
15885
15886 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * kbmap.C (findbinding): clean it up and make it work correctly.
15889
15890         * lyx_main.C (init): do not pass argc and argv as parameters
15891
15892 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15893
15894         * buffer.C: fix path for OS/2 & Win32
15895
15896         * lyx_gui.C:
15897         * lyx_main:
15898         * lyx_main.C: Added os:: class.
15899
15900         * os2_defines.h: update
15901
15902 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15905         better by trying again with reduced state.
15906
15907 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15908
15909         * lyxrc.C (read): print error about invalid key sequence only when
15910         debugging (because not all latinX keysyms are known to some X
15911         servers)
15912
15913         * kbsequence.C (getiso): add a few std:: qualifiers
15914         (getiso): comment out extra return statement.
15915
15916 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15919         handling.
15920         (Dispatch): enhance the accent inset a bit. (not perfect)
15921
15922 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15925
15926 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * bufferlist.C (emergencyWrite): fix assert() call
15929
15930 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15931
15932         * text.C (InsertChar): Added trivial patch to only send the "you
15933         can not do multiple spaces this way" message once during a
15934         session.
15935
15936 2001-05-08  Baruch Even  <baruch@lyx.org>
15937
15938         * Makefile.am: Changed order of libraries to get LyX to link properly
15939         with the gnome frontend.
15940
15941 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * LaTeXFeatures.h: add a std:: qualifier
15944
15945 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * paragraph.C (String): use stringstream
15948
15949 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * paragraph.C (writeFile): remove footflag arg
15952
15953         * buffer.C (makeLaTeXFile): use stringstream
15954         (latexParagraphs): remove footnot gurba
15955
15956         * LaTeXFeatures.C (getPackages): use stringstream
15957         (getMacros): likewise
15958         (getTClassPreamble): likewise
15959         (getFloatDefinitions): new method
15960
15961         * paragraph.C (writeFile): reindent
15962         (Erase): reindent
15963
15964         * WorkArea.h: revert the xpos + etc changes.
15965
15966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15967
15968         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15969
15970         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15971         (pasteSelection): likewise
15972         * text2.C (CreateUndo): likewise
15973
15974 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15975
15976         * minibuffer.C (peek_event): temporarily reduce the functionality
15977         of the minibuffer (to allow args on lfuns)
15978
15979         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15980         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15981
15982         * buffer.C (readInset): add compability reading of old float
15983         lists, add reading of new style float list.
15984         (readInset): avoid reevaluation of inscmd.getCmdName()
15985         (getLists): reindent
15986
15987         * MenuBackend.C (MenuItem): implement parsing of
15988         md_floatlistinsert and md_floatinsert.
15989         (expand::LastFiles): move initalizaton of iterators out of loop,
15990         avoid reevaluation.
15991         (expand::Documents): introduce typdedef vector<string> Strings,
15992         and use it.
15993         (expand::ExportFormats): introduce typedef vector<Format const *>
15994         Formats, and use it.
15995         (expand): implement FloatListInsert and FloatInsert.
15996
15997         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15998         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15999         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16000
16001         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16002         handling.
16003         (Dispatch::LFUN_FLOAT_LIST): implement
16004
16005 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16006
16007         * LaTeX.C (run): Fix problem with --export code.
16008
16009 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16010
16011         * BufferView.[Ch] (workarea): removed.
16012         (getClipboard) new method; wrapper for workarea()->getClipboard()
16013
16014         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16015         bug.
16016
16017         * WorkArea.h (width, height, xpos, ypos): These methods all
16018         returned the dimensions of the work_area sub-area of WorkArea,
16019         resulting in a position error if the WorkArea were resized. Now
16020         return the dimensions of the entire WorkArea.
16021
16022         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16023
16024 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * LaTeX.C (deplog): correct the syntax of regex reg1
16027
16028 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * undo.C: remove !NEW_INSETS cruft
16031
16032 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * text2.C: remove !NEW_INSETS cruft
16035
16036         * text.C: remove !NEW_INSETS cruft
16037
16038         * tabular.C: remove !NEW_INSETS cruft
16039
16040         * spellchecker.C: remove !NEW_INSETS cruft
16041
16042         * lyxtext.h: remove !NEW_INSETS cruft
16043
16044         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16045
16046         * lyxfunc.C: remove !NEW_INSETS cruft
16047
16048         * lyxfind.C: remove !NEW_INSETS cruft
16049
16050         * lyx_cb.C: remove !NEW_INSETS cruft
16051
16052         * figureForm.C: remove  !NEW_INSETS cruft
16053
16054         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16055
16056         * buffer.[Ch]: remove !NEW_INSETS cruft
16057
16058         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16059
16060         * CutAndPaste.C: remove !NEW_INSETS cruft
16061
16062         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16063
16064         * BufferView2.C: remove !NEW_INSETS cruft
16065
16066         * BufferView.h: remove !NEW_INSETS cruft
16067
16068 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * Lsstream.h: include LString.h before the sstream headers to
16071         fix problem with gcc 2.95.3 and lyxstring
16072
16073 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16074
16075         * lyx_main.C: add using directives when needed for C functions
16076         declared in std:: namespace.
16077
16078 2001-04-27  Juergen Vigna  <jug@sad.it>
16079
16080         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16081         (SetHeightOfRow): comment out the update call should not be needed!
16082
16083 2001-04-13  Juergen Vigna  <jug@sad.it>
16084
16085         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16086         (LyXTabular): tried to minimize operator= operations (and realized
16087         hopfully Lars wish).
16088
16089 2001-04-27  Juergen Vigna  <jug@sad.it>
16090
16091         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16092
16093 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16096
16097         * buffer.C (readInset): hack to make listof algorithm work
16098
16099         * BufferView_pimpl.C: hack to make listof algorithm work
16100
16101 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * LyXAction.C: removed all !NEW_INSETS cruft
16104         (init): moved lfun_item in method
16105
16106         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16107
16108 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16109
16110         * BufferView2.C (theLockingInset): white space.
16111
16112 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * minibuffer.C: include <iostream>
16115
16116         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16117
16118         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16119
16120         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16121
16122         * text.[Ch] (TransposeChars): new method
16123
16124 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * call message directly through LyXView instead of through LyXFunc
16127         * BufferView2.C: adjust
16128         * BufferView_pimpl.C: adjust
16129         * FontLoader.C: adjust
16130         * buffer.C: adjust
16131         * bufferview_funcs.C: adjust
16132         * converter.C: adjust
16133         * figureForm.C: adjust
16134         * importer.C: adjust
16135         * lyx_cb.C: adjust
16136         * lyx_gui_misc.C: adjust
16137         * lyxfunc.C: adjust
16138         * lyxvc.C: adjust
16139         * text2.C: adjust
16140         + more files in subdirs
16141
16142         * lyxparagraph.h (size): move up int file
16143         (GetLayout): ditto
16144
16145         * adjust all uses of Assert to lyx::Assert.
16146
16147         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16148         lyxfunctional in namespace lyx
16149         * layout.C (hasLayout): ditto
16150         (GetLayout): ditto
16151         (GetLayout): ditto
16152         (delete_layout): ditto
16153         (NumberOfClass): ditto
16154         * converter.C (GetFormat): ditto
16155         (GetNumber): ditto
16156         (Add): ditto
16157         (Delete): ditto
16158         (SetViewer): ditto
16159         * bufferlist.C (getFileNames): ditto
16160         (emergencyWriteAll): ditto
16161         (exists): ditto
16162         (getBuffer): ditto
16163         * MenuBackend.C (hasSubmenu): ditto
16164         (hasMenu): ditto
16165         (getMenu): ditto
16166         * BufferView_pimpl.C (getInsetByCode): ditto
16167
16168 2001-04-18  Juergen Vigna  <jug@sad.it>
16169
16170         * vspace.C (asLatexString): fixed the 100% problem.
16171
16172 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16173
16174         * lyxfunc.C (Dispatch):
16175         * minibuffer.C:
16176         * minibuffer.h: add a few std:: qualifiers
16177
16178 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * minibuffer.[Ch]: reimplement so that commands is initiated and
16181         run from lyxfunc, simplified som handling, and made the completion
16182         and history code for complete. wip.
16183
16184         * lyxfunc.C (processKeySym): call message
16185         (miniDispatch): new temporary method
16186         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16187         (LFUN_MESSAGE): implement
16188         (LFUN_MESSAGE_PUSH): implement
16189         (LFUN_MESSAGE_POP): implement
16190         (initMiniBuffer): the initial/defualt minibuffer message.
16191
16192         * lyxfont.[Ch]: inline some more getters
16193
16194         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16195
16196         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16197
16198         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16199         (AutoSave): use LFUN_MESSAGE
16200         (Reconfigure): ditto
16201
16202         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16203
16204         * figureForm.C: use LFUN_MESSAGE
16205
16206         * converter.C (runLaTeX): use LFUN_MESSAGE
16207
16208         * bufferview_funcs.C: use LFUN_MESSAGE
16209         (Melt): ditto
16210         (changeDepth): ditto
16211
16212         * bufferparams.h: use boost::
16213
16214         * bufferlist.h: inherit privately from noncopyable
16215
16216         * bufferlist.C (loadLyXFile): remove some commented code.
16217
16218         * buffer.C (runChktex): use LFUN_MESSAGE
16219
16220         * ShareContainer.h: inherit privately from noncopyable
16221
16222         * ParagraphParameters.[hC] (depth): inline it.
16223
16224         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16225         methods.
16226         (message): new method
16227         (messagePush): ditto
16228         (messagePop): ditto
16229         (show): init minibuffer
16230         (showState): direct call
16231
16232         * LaTeX.[Ch]: inherit privately from noncopyable
16233         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16234         instead of WriteStatus.
16235
16236         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16237
16238         * BufferView_pimpl.C (buffer): don't init minibuffer
16239         (workAreaButtonPress): use LFUN_MESSAGE
16240         (workAreaButtonRelease): ditto
16241         (savePosition): ditto
16242         (restorePosition): ditto
16243         (MenuInsertLyXFile): ditto
16244         (workAreaExpose): don't init minibuffer
16245         (update): remove commented code, simplify
16246
16247         * BufferView2.C (openStuff): use LFUN_MESSAGE
16248         (toggleFloat): ditto
16249         (menuUndo): ditto
16250         (menuRedo): ditto
16251         (copyEnvironment): ditto
16252         (pasteEnvironment): ditto
16253         (copy): ditto
16254         (cut): ditto
16255         (paste): ditto
16256         (gotoInset): ditto
16257         (updateInset): remove some commented code
16258
16259         * lastfiles.h: inherit privately from noncopyable
16260         * layout.h: ditto
16261         * lyx_gui.h: ditto
16262         * lyx_main.h: ditto
16263         * lyxlex.h: ditto
16264         * lyxlex_pimpl.h: ditto
16265
16266         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16267         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16268         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16269
16270         * LyXAction.h: inherit privately from noncopyable, add methods
16271         func_begin, func_end, returning iterators to the func map.
16272
16273         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16274         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16275         (func_begin): new method
16276         (func_end): new method
16277
16278         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16279         and not)
16280         (copySelection): ditto
16281         (pasteSelection): ditto
16282
16283         * BufferView.C: whitespace change
16284         * BufferView.h: inherit privately from noncopyable
16285
16286 2001-04-16  Allan Rae  <rae@lyx.org>
16287
16288         * tabular-old.C (l_getline):
16289         * spellchecker.C (sc_check_word):
16290         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16291         an unrecognised preprocessor directive.  So ensure they're wrapped.
16292
16293 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * src/exporter.C (Export): Give an error message when path to file
16296         contains spaces.
16297
16298 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * LaTeX.C (deplog): Always check that foundfile exists.
16301
16302 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * lyx_main.h:
16305         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16306
16307 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16308
16309         * tabular.[Ch] (getLabelList): implement new method
16310
16311         * minibuffer.h: comment ouf setTiimer
16312
16313         * minibuffer.C (ExecutingCB): constify res
16314         (peek_event): constify s
16315         (Set): constify ntext
16316         (Init): constify nicename
16317
16318         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16319
16320         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16321         (savePosition): use two params to Minibuffer::Set
16322         (restorePosition): ditto
16323
16324 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * lyx_main.C: include language.h
16327
16328         * Makefile.am (lyx_main.o): add language.h
16329
16330 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * exporter.C:
16333         * paragraph.C:
16334         * screen.C:
16335         * tabular.C:
16336         * CutAndPaste.C: include gettext.h
16337
16338         * lyxfont.h: remove old hack with ON and OFF.
16339
16340         * lyxparagraph.h:
16341         * lyxfont.h: do not include language.h...
16342
16343         * BufferView2.C:
16344         * LaTeXFeatures.C:
16345         * Painter.C:
16346         * bufferview_funcs.C:
16347         * font.C:
16348         * lyxfont.C:
16349         * text.C:
16350         * text2.C:
16351         * trans_mgr.C:
16352         * paragraph.C: ... but do it here instead
16353
16354 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16355
16356         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16357
16358         * tabular.C: small reformat
16359
16360         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16361         NEW_INSETS version
16362         (GetChar): ditto
16363         (BreakParagraph): ditto
16364         (SetOnlyLayout): ditto
16365         (SetLayout): ditto
16366
16367         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16368         with one arg less.
16369
16370         * lastfiles.C: removed most using decl, add std:: where needed
16371
16372         * buffer.C: ws changes
16373
16374         * MenuBackend.C (class compare_format): put into anon namespace
16375         (expand): constify label, names, action, action2
16376         (expand):
16377
16378         * text.C (SingleWidth): constify font
16379         (IsBoundary): constify rtl2
16380         (GetVisibleRow): constify ww
16381
16382         * LaTeX.C (deplog): constify logfile
16383
16384         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16385         start_x, end_x
16386         (workAreaExpose): constify widthChange, heightChange
16387
16388         * lyxrow.C (par): moved
16389         (height): moved
16390         (next): moved
16391         * lyxrow.h: as inlines here
16392
16393         * lyxfont.h (shape): moved from lyxfont.C
16394         (emph): moved from lyxfont.C
16395
16396         * lyxfont.C (LyXFont): use initialization list for all
16397         constructors
16398         (shape): move to lyxfont.h as inline
16399         (emph): move to lyxfont.h as inline
16400
16401
16402 2001-04-04  Juergen Vigna  <jug@sad.it>
16403
16404         * vspace.C: had to include stdio.h for use of sscanf
16405
16406 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16407
16408         * BufferView.h:
16409         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16410         independent of xforms.
16411
16412 2001-04-02  Juergen Vigna  <jug@sad.it>
16413
16414         * spellchecker.C: fixed namespace placing!
16415
16416 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16417
16418         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16419         the LyXParagraph * is 0.
16420
16421 2001-03-29  Juergen Vigna  <jug@sad.it>
16422
16423         * vspace.C: added support for %, c%, p%, l%.
16424         (stringFromUnit): added helper function.
16425         (asLatexString): changed to give right results for the %-values.
16426
16427         * buffer.C: convert the widthp in a width%.
16428
16429 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16430
16431         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16432         figureForm.[Ch].
16433
16434         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16435         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16436
16437         * lyx_cb.[Ch]: see above.
16438
16439         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16440         form1.[Ch].
16441
16442         * form1.[Ch]:
16443         * lyx.[Ch]: replaced by figure_form.[Ch].
16444
16445         * lyx_gui.C:
16446         * lyx_gui_misc.C:
16447         * lyxfunc.C: changed headers associated with above changes.
16448
16449 2001-03-27  Juergen Vigna  <jug@sad.it>
16450
16451         * BufferView_pimpl.C: set the temporary cursor right!
16452
16453 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16454
16455         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16456
16457 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16458
16459         * LString.h: removed "using std::getline"!
16460
16461         * BufferView_pimpl.C (Dispatch): changes due to changes in
16462         InsetInclude::Params.
16463
16464         * buffer.C (tag_name): removed redundant break statements as they were
16465         producing lots of warnings with my compiler.
16466
16467 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * LString.h: add "using std::getline" when using the real <string>.
16470
16471 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16472
16473         * buffer.C: removed bitset usage.
16474         PAR_TAG moved to an anonymous name space.
16475         (tag_name): new funtion, also in the anonymous namespace.
16476         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16477         (makeDocBookFile): clean code. Completed transition from string arrays
16478         to string vectors.
16479         (SimpleDocBookOnePar): code clean.
16480
16481 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16482
16483         * tabular.C: add some comments.
16484
16485 2001-03-22  Juergen Vigna  <jug@sad.it>
16486
16487         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16488         compatibility read a bit and fixed bug with minipage in different
16489         depth.
16490
16491 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16492
16493         * buffer.C (pop_tag): removed.
16494         (push_tag): removed.
16495         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16496         array replaced with vector. Added support for CDATA sections.
16497         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16498         at any nest level.
16499         (makeDocBookFile): XML conformant declaration of CDATA section,
16500         fixed bug related to <emphasis> in the first paragraph char.
16501         (sgmlOpenTag): exclude empty tags.
16502         (sgmlCloseTag): ditto.
16503
16504         * buffer.h (pop_tag): removed.
16505         (push_tag): removed.
16506
16507 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * language.h (Languages): added size_type and size().
16510
16511 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16512
16513         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16514         response on compability reading of minipages. One probliem is that
16515         the old usage of minipages was «flertydig»
16516
16517         * several files here and in subdirs: don't use static at file
16518         scope use anon namespaces instead.
16519
16520 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16521
16522         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16523         LaTeX output. This is necessary for Literate document
16524         processing.
16525
16526 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16527
16528         * buffer.C: insert hfill when needed.
16529
16530         * tabular.C (l_getline): use string::erase, small whitespace change.
16531
16532         * BufferView_pimpl.C: try the anon namespace.
16533         * WorkArea.C: ditto
16534
16535 2001-03-16  Juergen Vigna  <jug@sad.it>
16536
16537         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16538         otherwise it won't open options-dialogs.
16539
16540         * buffer.C: honor pextraWidth(p) on converting minipages.
16541
16542         * tabular.C (l_getline): changed the functions to strip trailing \r.
16543
16544 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16545
16546         * BufferView_pimpl.C:
16547         * minibuffer..C: added "using SigC::slot" declaration.
16548
16549 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16550
16551         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16552
16553         * text2.C: ditto
16554
16555         * text.C: ditto
16556
16557         * paragraph.C: ditto
16558
16559         * lyxtext.h: NO_PEXTRA
16560
16561         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16562
16563         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16564         * ParameterStruct.h: ditto
16565         * ParagraphParameters.h: ditto
16566         * lyxparagraph.h: ditto
16567
16568 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16569
16570         * buffer.C: add compability for minipage alignment.
16571         (latexParagraphs): remove unwanted pextra check.
16572
16573         * several files: remove CXX_WORKING_NAMESPACES
16574
16575         * buffer.C (pop_tag): tie is in namespace boost
16576
16577         * BufferView.h: noncopyable is in namespace boost
16578         * lyxlex.h: ditto
16579         * lyx_main.h: ditto
16580         * lyx_gui.h: ditto
16581         * layout.h: ditto
16582         * lastfiles.h: ditto
16583         * bufferlist.h: ditto
16584         * ShareContainer.h: ditto
16585         * LyXView.h: ditto
16586         * LyXAction.h: ditto
16587         * LaTeX.h: ditto
16588
16589 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16590
16591         * Merging changes from BRANCH_MVC back into HEAD.
16592
16593         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16594
16595 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16596
16597         * BufferView_pimpl.C: change from intl.C
16598
16599         * combox.h:
16600         * combox.C:
16601         * Makefile.am: move combox.*
16602
16603         * form1.h:
16604         * form1.C:
16605         * lyx_gui.C:
16606         * intl.h:
16607         * intl.C: remove dialog (covered by prefs)
16608
16609 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16610
16611         * lyxfunc.C (Dispatch): removed redundant break statement.
16612
16613 2001-03-14  Juergen Vigna  <jug@sad.it>
16614
16615         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16616
16617 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16618
16619         * buffer.C: add hack to fix compability reading of minipages.
16620
16621 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16622
16623         * buffer.C (getLists): Cleanup.
16624
16625 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * lyxfont.C (update): don't honor toggleall on font size.
16628
16629 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16630
16631         * bmtable.c:
16632         * bmtable.h:
16633         * Makefile.am: moved to frontends/xforms/
16634
16635         * lyx_gui_misc.C:
16636         * lyxfunc.C:
16637         * BufferView_pimpl.C: changes for moved mathpanel
16638
16639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16640
16641         * gettext.h: fix gettext_init() in --disable-nls
16642
16643 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16644
16645         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16646
16647 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16648
16649         * lyx.C:
16650         * lyx.h: strip external form
16651
16652 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * BufferView_pimpl.C: add comment, destroySplash()
16655
16656 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16657
16658         * BufferView_pimpl.C:
16659         * LyXAction.C:
16660         * buffer.C:
16661         * commandtags.h:
16662         * lyxfunc.C: use re-worked insetinclude
16663
16664 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16665
16666         * buffer.C: add using std::stringstream.
16667
16668         * lyx_cb.C: readd using std::ios.
16669
16670         * buffer.C: add using std::map.
16671
16672         * BufferView_pimpl.C: add using std::vector.
16673
16674         * ShareContainer.h: add std:: to swap.
16675
16676         * buffer.h: add some typedefs
16677         * buffer.C (getLists): use them
16678         (getLists): renamed from getTocList.
16679         add a counter for the different float types and use it in the
16680         generated string.
16681         (getLists): use the same counter for the NEW_INSETS and the "non"
16682         NEW_INSETS
16683
16684         * lyx_cb.h: remove unused items, includes, using etc.
16685
16686         * ShareContainer.h: remove some commented code, add more comments
16687         and "documentation".
16688
16689 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16690
16691         * buffer.C (getTocList): make the list also when NEW_INSETS is
16692         defined.
16693
16694         * buffer.h: remove TocType
16695
16696         * buffer.C (getTocList): change to return a map<string,
16697         vector<TocItem> >, implement for dynamic number of list.
16698
16699         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16700         * text2.C (PasteSelection): adjust
16701         * CutAndPaste.C (pasteSelection): adjust
16702
16703         * FloatList.C (FloatList): update from the new_insets branch.
16704         * Floating.[Ch]: ditto
16705         * LaTeXFeatures.C: ditto
16706         * buffer.C: ditto
16707         * lyxlex_pimpl.C: ditto
16708
16709         * paragraph.C (Last): remove when NEW_INSETS is defined.
16710
16711         * other file: changes because of the above.
16712
16713 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16714
16715         * lyxparagraph.h: rename next to next_, previous to previous_,
16716         make them private for NEW_INSETS. Rename Next() to next(),
16717         Previous() to previous().
16718
16719         * other files: changes because of the above.
16720
16721 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16722
16723         * BufferView.h:
16724         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16725         problem.
16726
16727 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * main.C (main): pass lyx_localedir to gettext_init().
16730
16731         * gettext.h: remove locale_init and gettext_init macros
16732
16733         * gettext.C (locale_init): new function
16734         (gettext_init): new function
16735
16736         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16737         setlocale().
16738
16739 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16740
16741         * Moved credits to frontends:
16742         * credits.[Ch]: removed
16743         * credits_form.[Ch]: removed
16744         * lyx_gui_misc.C: remove credits stuff
16745         * Makefile.am:
16746
16747 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16748
16749         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16750
16751         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16752         unneeded destructor.
16753
16754         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16755         a standalone pointer again.
16756
16757         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16758
16759 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16760
16761         * Makefile.am:
16762         * filedlg.h:
16763         * filedlg.C:
16764         * LyXAction.C:
16765         * ToolbarDefaults.C:
16766         * bufferlist.C:
16767         * commandtags.h:
16768         * form1.C:
16769         * form1.h:
16770         * lyx_cb.C:
16771         * lyx_cb.h:
16772         * lyxfunc.h:
16773         * lyxfunc.C:
16774         * BufferView_pimpl.C: use new file dialog in GUII
16775
16776         * lyx_cb.h:
16777         * lyx_cb.C: remove LayoutsCB to Toolbar
16778
16779 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * ShareContainer.h (get): add std:: qualifier
16782
16783 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16784
16785         * ShareContainer.h: define a proper ShareContainer::value_type
16786         type (and use typename to please compaq cxx)
16787
16788 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16789
16790         * lyxparagraph.h: move serveral local vars to
16791         ParameterStruct/ParagraphParameters., use ShareContainer in
16792         FontTable., make vars in FontTable private and add getter and
16793         setter.
16794
16795         * paragraph.C: changes because of the above.
16796
16797         * lyxfont.h: remove copy constructor and copy assignment. (the
16798         default ones is ok), move number inside FontBits. move inlines to
16799         lyxfont.C
16800
16801         * lyxfont.C: add number to initializaton of statics, move several
16802         inlines here. constify several local vars. some whitespace
16803         cleanup. Dont hide outerscope variables.
16804
16805         * Spacing.h: add two new constructors to match the set methods.
16806
16807         * ShareContainer.h: new file, will perhaps be moved to support
16808
16809         * ParameterStruct.h: new file
16810
16811         * ParagraphParameters.h: new file
16812
16813         * ParagraphParameters.C: new file
16814
16815         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16816         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16817
16818         * BufferView_pimpl.C: ParagraphParameter changes.
16819         * buffer.C: Likewise.
16820         * bufferview_funcs.C: Likewise.
16821         * text.C: Likewise.
16822         * text2.C: Likewise.
16823
16824 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * lyxfind.C (LyXReplace): do not redefine default argument in
16827         implementation.
16828         (IsStringInText): ditto
16829         (SearchForward): ditto
16830         (SearchBackward): ditto
16831
16832 2001-03-06  Juergen Vigna  <jug@sad.it>
16833
16834         * lyxfind.C (IsStringInText): put parentes around expressions.
16835
16836 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16837
16838         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16839
16840 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16841
16842         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16843
16844         * stl_string_fwd.h: add comment
16845
16846         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16847
16848         * tabular.h:
16849         * tabular.C: remove unused DocBook methods
16850
16851         * intl.C:
16852         * language.C:
16853         * paragraph.C:
16854         * buffer.C:
16855         killed DO_USE_DEFAULT_LANGUAGE
16856
16857 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16858
16859         * lyx_gui.C: do not include language.h.
16860
16861         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16862         arguments in function implementation.
16863
16864 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16865
16866         * BufferView_pimpl.C: add <ctime>
16867
16868 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16869
16870         * BufferView_pimpl.C: add using std::find_if
16871
16872 2001-02-27  José Matos  <jamatos@fep.up.pt>
16873
16874         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16875         by OnlyPath.
16876
16877 2001-02-11  José Matos  <jamatos@fep.up.pt>
16878
16879         * buffer.C (makeDocBookFile): command styles now have a parameter as
16880         "title" by default.
16881
16882 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16883
16884         * layout_forms.[Ch]: removed
16885         * lyx_cb.[Ch]: out character
16886         * lyx_gui.C: out character
16887         * lyx_gui_misc.C: out character
16888         * bufferview_funcs.C: : out character,
16889         added toggleall as parameter in ToggleAndShow
16890
16891 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16892
16893         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16894
16895         * text2.C (SetCurrentFont): Disable number property at boundary.
16896
16897 2001-02-26  Juergen Vigna  <jug@sad.it>
16898
16899         * lyxfunc.C (getStatus): added a string argument override function so
16900         that this is correctly called from LyXFunc::Dispatch if it contains a
16901         do_not_use_argument which is used!
16902         (Dispatch): added check for "custom" export and call appropriate func.
16903
16904 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16905
16906         * lyxrc.C: Add language_command_local, language_use_babel and
16907         language_global_options.
16908
16909         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16910
16911         * buffer.C (makeLaTeXFile): Use language_use_babel and
16912         language_global_options.
16913
16914 2001-02-23  Juergen Vigna  <jug@sad.it>
16915
16916         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16917         which works with LyXText and putted it inside BufferView. Here now we
16918         only call for that part the BufferView::Dispatch() function.
16919
16920         * BufferView.C (Dispatch): added.
16921
16922         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16923         functions which needs to use a LyXText over from LyXFunc.
16924         (MenuInsertLyXFile): added
16925         (getInsetByCode): added
16926         (moveCursorUpdate): added
16927         (static TEXT): added
16928
16929 2001-02-22  Juergen Vigna  <jug@sad.it>
16930
16931         * BufferView_pimpl.C (update): call a status update to see if LyXText
16932         needs it.
16933
16934 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16935
16936         * vc-backend.C (revert): implement for CVS
16937         (getLog): implement for CVS
16938
16939 2001-02-20  Juergen Vigna  <jug@sad.it>
16940
16941         * text2.C (ClearSelection): added BufferView param for inset_owner call
16942
16943         * lyxfunc.C (TEXT): added this function and use it instead of
16944         directly owner->view()-text of getLyXText().
16945
16946 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16947
16948         * src/layout_forms.C: out preamble
16949         * src/layout_forms.h: out preamble
16950         * src/lyx_cb.C: out preamble
16951         * src/lyx_cb.h: out preamble
16952         * src/lyx_gui.C: out preamble
16953         * src/lyx_gui_misc.C: out preamble
16954         * src/lyxfunc.C: connect with guii preamble
16955
16956 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16957
16958         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16959
16960 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16961
16962         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16963         whether to run bibtex.
16964
16965 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16966
16967         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16968
16969 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16970
16971         * Makefile.am (lyx_SOURCES): removed bibforms.h
16972
16973         * vspace.h: doxygen
16974
16975         * text.C (GetVisibleRow): make several local vars const
16976
16977         * tabular.C: small cleanup.
16978
16979         * lyxserver.C (callback): use compare instead of strncmp
16980
16981         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16982         inlines to after class or to paragraph.C
16983
16984         * lyxfont.h: remove friend operator!=
16985
16986         * converter.h: move friend bool operator< to non friend and after
16987         class def.
16988
16989         * combox.h: small cleanup
16990
16991         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16992         to inlines after class def.
16993
16994         * buffer.C (pop_tag): use string operations instead of strcmp
16995
16996         * bmtable.c: doxygen, small cleanup
16997
16998         * LaTeX.h: remove friend operator==
16999
17000 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17001
17002         * screen.C:
17003         * lyxrc.[Ch]:
17004         * lyxfunc.C:
17005         * lyxfont.[Ch]:
17006         * lyx_cb.C:
17007         * intl.[Ch]:
17008         * commandtags.h:
17009         * buffer.C:
17010         * WorkArea.[Ch]:
17011         * LyXAction.C:
17012         * BufferView_pimpl.C:
17013         * BufferView.[Ch]: remove cruft
17014
17015 2001-02-14  Juergen Vigna  <jug@sad.it>
17016
17017         * lyxfunc.C: removed #if 0 unused code
17018
17019         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17020
17021         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17022
17023         * text2.C (SetSelection): added a BufferView * parameter
17024
17025 2001-02-13  Juergen Vigna  <jug@sad.it>
17026
17027         * lyxfunc.C (Dispatch): fixed protected blank problem.
17028         * BufferView2.C (protectedBlank): added LyxText * parameter.
17029
17030         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17031         (AppendColumn): same as above for column_info.
17032
17033         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17034         (moveCursorUpdate): use a LyXText param for support of InsetText.
17035
17036         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17037         (tripleClick): ditto
17038
17039         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17040
17041         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17042
17043         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17044
17045         * text2.C (SetSelection): set correct update status if inset_owner
17046         (ToggleFree): ditto
17047
17048 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17049
17050         * tabular.C: remove some commented code.
17051
17052 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17053
17054         * BufferView_pimpl.C: call hideSplash()
17055
17056         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17057
17058         * include_form.h:
17059         * bibforms.h: remove
17060
17061         * lyxfunc.C:
17062         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17063           add LFUN_CHILD_CREATE
17064
17065         * counters.h: fix tiny typo
17066
17067         * lyx_cb.C:
17068         * lyx.h:
17069         * lyx_gui.C:
17070         * lyx.C: move splash to frontends/xforms/
17071
17072         * lyx_gui_misc.C: move Include and Bibform to frontends
17073
17074         * lyxvc.h: clarify comment
17075
17076         * vspace.C: tiny housekeeping
17077
17078 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17079
17080         * text.C (PrepareToPrint): RTL Fix.
17081
17082         * paragraph.C (GetUChar): New method.
17083         (String):  Use GetUChar.
17084
17085         * buffer.C (asciiParagraph): Use GetUChar.
17086
17087 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17088
17089         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17090
17091 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17092
17093         * buffer.h:
17094         * buffer.C: rename to getLogName(), handle
17095           build log / latex log nicely
17096
17097 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * MenuBackend.C:
17100         * MenuBackend.h: remove support for reference menuitem type.
17101
17102 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17103
17104         * BufferView_pimpl.C: housekeeping
17105         * BufferView_pimpl.h:
17106         * LyXView.h:
17107         * Makefile.am:
17108         * Timeout.C:
17109         * Timeout.h:
17110         * minibuffer.h: move Timeout GUI-I
17111
17112 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17113
17114         * lyxrc.C (read): Update converters data-structures.
17115
17116 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17117
17118         * LaTeX.h (operator!=): add operator != for Aux_Info
17119
17120 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17121
17122         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17123
17124         * LaTeXLog.C: deleted, useful code moved to Buffer
17125
17126         * buffer.h:
17127         * buffer.C: new function getLatexLogName()
17128
17129         * lyx_gui_misc.C:
17130         * lyx_gui.C:
17131         * lyxvc.C:
17132         * lyxvc.h:
17133         * lyxfunc.C: use frontends for LaTeX and VC logs
17134
17135 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17136
17137         * LaTeX.h: yet another std:: that Allan forgot.
17138
17139         * Variables.C (set): renamed from isset(), because this clashes
17140         with some HP-UX macros (grr).
17141
17142 2001-02-06  Allan Rae  <rae@lyx.org>
17143
17144         * LaTeX.h: Another bug fix.  Missing std:: this time.
17145
17146 2001-02-04  Allan Rae  <rae@lyx.org>
17147
17148         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17149         floats problem. I've left it commented out because it's not quite
17150         correct.  It should also test that the current object is a table or
17151         figure inset.  But I haven't gotten around to figuring out how to do
17152         that.  I *think* it'll be something like: "table" == inset.type()
17153
17154         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17155         bool.
17156
17157 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17158
17159         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17160         all the citation/databases/styles in the auxilary file.
17161         (run): Rerun latex if there was a babel language error.
17162
17163 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17164
17165         * text.C (Backspace): Preserve the font when changing newline char
17166         with a space.
17167         (BreakParagraph): If the cursor is before a space, delete the space.
17168
17169         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17170
17171 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17172
17173         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17174         new argument (code).
17175         (ChangeCitationsIfUnique): New method.
17176
17177         * paragraph.C (GetPositionOfInset): Handle bibkey.
17178
17179 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17180
17181         * BufferView_pimpl.h: change type of Position::par_pos to
17182         LyXParagraph::size_type.
17183
17184 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17185
17186         * BufferView_pimpl.C (savePosition, restorePosition): Write
17187         messages to minibuffer.
17188
17189 2001-01-28  José Matos  <jamatos@fep.up.pt>
17190
17191         * buffer.C (makeDocBookFile): adds support for document language.
17192         A silly restriction on the name of LatexCommand types where removed.
17193         Added support for CDATA sections, allows to chars unescaped, used
17194         among others in code, to avoid escape < and >.
17195
17196 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17197
17198         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17199         saved positions instrad of a stack. Furthermore, a position is
17200         stored using paragraph id/paragraph position.
17201
17202         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17203         Remove LFUN_REF_BACK.
17204
17205 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17206
17207         * converter.C (dvipdfm_options): New method.
17208
17209 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17210
17211         * vspace.C (isValidLength): Fix for empty input string.
17212
17213 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17214
17215         * LyXAction.C (init): change description of LFUN_FIGURE to
17216         "Insert Graphics"
17217
17218 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17219
17220         * LaTeX.C: add using directive
17221
17222 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17223
17224         * MenuBackend.C (expand): Fix the sorting of the formats.
17225
17226 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17227
17228         * lyx_main.C: tiny error message fix
17229
17230 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17231
17232         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17233         calling fl_initialize(). This fixes the problem with ',' as
17234         decimal separator in text files.
17235
17236 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17237
17238         * trans.C (process): Fix the keymap bug.
17239
17240 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17241
17242         * LaTeX.C (scanAuxFiles): New method. Provides support for
17243         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17244         (scanLogFile) Scan for "run BibTeX" messages.
17245
17246         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17247         OT1 font encoding. Also, load the aecompl package if the ae
17248         package is loaded.
17249
17250         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17251
17252 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17253
17254         * texrow.C (increasePos): turn two error messages into debug
17255         messages.
17256
17257 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17258
17259         * LaTeX.C (scanAux): Handle the \@input macro.
17260         (runBibTeX): Use scanAux().
17261
17262         * language.C (latex_options_): New field.
17263
17264         * LaTeXFeatures.C (getMacros): Add language macros.
17265
17266         * buffer.C (makeLaTeXFile): Small fix.
17267
17268 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17269
17270         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17271
17272         * text2.C: add a using directive.
17273
17274 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17275
17276         * BufferView2.C:
17277         * lyx_gui_misc.h:
17278         * lyxfr1.C:
17279         * lyxfunc.C: kill LyXBell.
17280
17281 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * text.C (IsBoundary): Remove the error message
17284
17285         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17286
17287         * lyxrc.C (setDefaults): Correct initialization value for
17288         font_norm_type.
17289
17290 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17291
17292         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17293         gotoError().
17294
17295         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17296         and GotoNextNote().
17297
17298         * src/LyXAction.C: Added reference-next.
17299
17300         * text.C (InsertChar): Use contains instead of strchr.
17301
17302         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17303
17304 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17305
17306         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17307         alignment commands (when needed).
17308
17309         * text.C (InsertChar): Add ':' to number separator chars.