]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
141f33f0b8944283fd68df0d3bce297c0db1c27b
[lyx.git] / src / ChangeLog
1 2005-02-01  Angus Leeming  <leeming@lyx.org>
2
3         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
4
5 2005-02-01  Angus Leeming  <leeming@lyx.org>
6
7         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
8         calling fs::is_directory().
9
10 2005-01-31  Angus Leeming  <leeming@lyx.org>
11
12         * lyx_main.C (priv_exec): specify explicitly the relative location
13         of the top level build directory when run in-place.
14
15 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
18         LyXText containing the cursor, not the top-level one.
19
20         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
21         true. 
22         (insertStringAsLines): rename par to pit; use temporary variable
23         par to hold a Paragraph; do not store par.layout() in a variable,
24         since the pointer may die when breaking paragraphs; pass pars to
25         breakParagraph() instead of Buffer::paragraphs().
26
27 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
28
29         * lyxlex_pimpl.h: #include <fstream>.
30
31         * BufferView.[Ch] (getLyXText): add a const version.
32
33         * BufferView_pimpl.C: add debug aids.
34
35         * RowList_fwd.h:
36         * buffer.h:
37         * lyxrow.h:
38         * paragraph_funcs.h: add commentary explaining what the class does.
39
40
41         * coordcache.[Ch]: add lots of commentary.
42         (startUpdating, doneUpdating): debug aids.
43         (arrays, insets, parPos, getParPos): accessors to private data.
44
45         * cursor_slice.[Ch] (text): add a const version.
46         * dociterator.[Ch] (text, innerText): add const versions.
47
48         * lyxtext.h (breakParagraph): change the keep_layout arg to a
49         bool.
50
51         * paragraph.C (getRow, pos2ros): add asserts.
52
53         * paragraph.h: add commentary. Lots of.
54
55         * paragraph.[Ch] (metrucs, draw): removed.
56
57         * cursor.C:
58         * rowpainter.[Ch]: const-correct changes.
59
60         * text.C: various obvious clean-ups. Removal of ancient cruft.
61         Bug fixes, even.
62         
63 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
64
65         * vc-backend.C (find_file): rewrite to use boost.filesystem
66         (scanMaster): ditto
67
68         * main.C (main): set default name check for boost.filesystem to
69         no check
70
71         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
72         (open): ditto
73         (doImport): ditto
74         (actOnUpdatedPrefs): ditto
75
76         * lyx_main.C (init): rewrite to use boost.filesystem
77         (queryUserLyXDir): ditto
78
79         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
80         (getContentsOfAsciiFile): ditto
81
82         * lastfiles.C (readFile): rewrite to use boost.filesystem
83
84         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
85
86         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
87         (loadLyXFile): ditto
88
89         * buffer.C (Buffer): adjust for destroydir
90         (getLogName): rewrite to use boost.filesystem
91         (setFileName): ditto
92         (save): use fs::copy_file (from fs_extras)
93
94         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
95
96         * LaTeX.C (run): rewrite to use boost.filesystem
97         (scanAuxFiles): ditto
98         (handleFoundFile): ditto
99
100 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
103
104         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
105
106 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
107
108         * lyxlayout.[Ch]: change some vars from float to double
109
110         * buffer.C (readFile): make a local var const
111
112         * Several files: use convert<> instead of atoi,strToXXX and friends
113
114 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
115
116         * LaTeXFeatures.[Ch]: Add a static list packages_ that
117         holds the contents of packages.lst. New functions getAvailable
118         and isAvailable to parse and check that list, resp.
119
120         * LyXAction.C:
121         * lfuns.h:
122         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
123
124         * bufferparams.[Ch]: new param output_changes.
125
126         * Buffer.C: increase file format to 240.
127         Use output_changes and isVailable.
128
129         * changes.[Ch]:
130         * paragraph.C:
131         * paragraph_pimpl.C: Use output_changes and isVailable.
132
133 2005-01-23  Angus Leeming  <leeming@lyx.org>
134
135         * output_latex.C: #include "insetbibitem.h", rather than
136         forward declare function bibitemWidest.
137
138 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
139
140         * lyx_main.C (init): make it compile on the Mac.
141
142 2005-01-20  Angus Leeming  <leeming@lyx.org>
143
144         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
145         (setLyXMisc): (char string literal) != (char string literal) is
146         performing a comparison on the addresses. Convert one operand
147         explicitly to string to guarantee expected behaviour.
148         From MSVC warning.
149
150 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
151
152         * buffer.C:
153         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
154
155         * output_plaintext.C: remove unneeded #include gzstream.h.
156
157 2005-01-20  Angus Leeming  <leeming@lyx.org>
158
159         * SpellBase.h: rename some of the elements of the Result enum.
160
161         * aspell_local.h:
162         * ispell.h:
163         * pspell.h:
164         * aspell.C (check):
165         * ispell.C (check):
166         * pspell.C (check): ditto
167
168 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
169
170         * buffer.C: add #include <fstream>.
171
172         * lyx_main.C (init): Compile fix.
173
174         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
175
176 2005-01-20  Angus Leeming  <leeming@lyx.org>
177
178         * mover.h: change commentary to reflect the changed meaning of
179         the $$s placeholder.
180
181 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * output_linuxdoc.C (linuxdocParagraphs): silence warning
184
185         * lyxfind.C (MatchString::operator()): remove bogus semicolon
186
187 2005-01-20  Angus Leeming  <leeming@lyx.org>
188
189         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
190         printing diagnostic data by not dereferecing an iterator past the
191         end.
192
193 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
194
195         * buffer.C (readHeader): use "&&" rather than "and".
196
197         * lyxserver.h (inPipeName, outPipeName): make these const.
198
199 2005-01-19  Angus Leeming  <leeming@lyx.org>
200
201         * lyx_main.C (error_handler, init): protect SIGHUP with
202         #ifdef SIGHUP guards.
203
204 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
207
208 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text.C (setHeightOfRow): add a margin at the top and bottom of
211         the document (bug 1761)
212
213 2005-01-17  Angus Leeming  <leeming@lyx.org>
214
215         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
216         with "python ". Workaround for a brain-dead Windows.
217
218 2005-01-16  Angus Leeming  <leeming@lyx.org>
219
220         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
221         for MacOSX and Windows to use prependEnvPath.
222         Strip out the hard-coded block to add elements to the PATH for
223         MacOSX and replace it with a call to prependEnvPath using the
224         contents of LyXRC::path_prefix.
225         (queryUserLyXDir): strip out the code to run reconfigure, instead
226         returning a boolean indicating the necessity to do so.
227         (reconfigureUserLyXDir): contains the code to reconfigure the
228         user support directory. Is now called after the various LyXRC data
229         files have been read.
230
231         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
232
233 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
234
235         * converter.[Ch] (convert): take a new parameter try_default. Use
236         a default converter (imagemagick) if try_default is true.
237
238 2005-01-13  Angus Leeming  <leeming@lyx.org>
239
240         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
241         os::cygwin_path_fix.
242         (write): output LyXRC::cygwin_path_fix as necessary.
243
244 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
245
246         * lyxrc.h:
247         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
248
249 2005-01-12  Angus Leeming  <leeming@lyx.org>
250
251         * lyx_main.C (init): set the PATH variable to include the
252         directory containing the LyX binary when running on Mac or Windows.
253
254 2005-01-12  Angus Leeming  <leeming@lyx.org>
255
256         * lyx_main.C (init): remove cruft that purports to set the locale
257         dir. It doesn't and is not needed anyway.
258
259 2005-01-10  Angus Leeming  <leeming@lyx.org>
260
261         * Makefile.am: remove the lyx_main.C special casing.
262
263         * BufferView_pimpl.C:
264         * bufferlist.C:
265         * exporter.C:
266         * lyx_cb.C:
267         * lyx_main.C:
268         * lyxfunc.C:
269         * messages.C: use support/package.h to provide the paths to the
270         various directories used by LyX.
271
272 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
273
274         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
275         layout if pasting into an empty paragraph)
276
277 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
278
279         * tex-accent.C: add <string>
280
281 2005-01-06  José Matos  <jamatos@lyx.org>
282
283         * ParagraphParameters.C (write): put every parameter in its own line.
284         * paragraph.C (write): reduce number of consecutive empty lines exported.
285         * buffer.C (LYX_FORMAT): increase file format to 239.
286
287 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
288
289         * everywhere: change support/tostr.h -> support/convert.h
290
291         * tabular.C: make all write_attributes templates, tostr -> convert
292
293         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
294         (emptyTag): and -> &&, and fix type for ret from getChar
295         (getFirstWord): fix type for ret from getChar
296         (onlyText): and -> &&
297         (simpleDocBookOnePar): and not -> && !, fix type for ret from
298         getChar
299
300         * toc.C (goTo, action):
301         * text3.C (dispatch):
302         * text.C (currentState):
303         * tex-accent.C (DoAccent):
304         * sgml.C:
305         * lyxrc.C:
306         * lyxfunc.C (menuNew):
307         * lyxfinc.C (replace):
308         * counters.C (laberItem):
309         * bufferview_funcs.C (font2string):
310         * bufferparams.C (writeFile):
311         * buffer.C (readFile):
312         * Spacing.C (set):
313         * MenuBackend.C: tostr -> convert
314
315         * LaTeX.C (runMessage): fix format
316         (scanAuxFiles): tostr -> convert
317
318         * BufferView_pimpl.C (savePosition): fix format
319         (restorePosition): ditto
320         (dispatch): ditto
321
322 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * Spacing.[Ch]: New method getValueAsString().
325
326         * Spacing.[Ch]:
327         * bufferparams.C:
328         * ParagraphParameters.C:
329         * lyxlayout.C:
330         * text.C:
331         * text3.C: store/read spacing value as string.
332
333         * rowpainter.C: change float value (spacing_val) to double.
334
335         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
336         broken custom document spacing).
337
338 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
339
340         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
341         namespace, also more use of temp references and const
342
343         * cursor.[Ch] (getStatus): move to lyxfunc.C
344
345         * bufferparams.C: reformat slightly
346
347         * bufferview_funcs.C (font2string): constify arg
348
349         * changes.C:
350         * converter.C:
351         * counters.C:
352         * bufferlist.C:
353         * buffer_funcs.C: (many funcs): constify arg on function
354         definitions, also make more local vars const, also add ASSERTS on
355         pointer args.
356
357         * buffer.C (LYX_FORMAT): put const in correct place
358         (many funcs): constify arg on function definitions, also make
359         more local vars const
360
361         * aspell_local.h: remove "struct" from typdef setup
362
363         * aspell.C (check): make word_ok const
364         (nextMiss): simplify slightly
365         (error): ditto
366
367 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
368
369         * lyxrc.[Ch]: store all float values as strings.
370         use int (not float) for lyxrc.dpi.
371
372 2005-01-04  Angus Leeming  <leeming@lyx.org>
373
374         * lyx_cb.C (Reconfigure):
375         * lyx_main.C (queryUserLyXDir):
376         to run the <system_lyxdir>/configure correctly on Windows, prefix
377         the path to the script with "sh " when generating the string that
378         is passed to system().
379
380 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
381
382         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
383
384 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * lyxlength.C (asLatexString): get rid of setprecision
387
388 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * text2.C (setLayout): remove unused variable endpit.
391         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
392
393         * paragraph.C (onlyText): remove unused variable style.
394
395         * cursor.C (bruteFind): remove unused variables beg and end.
396
397         * Makefile.am (dist_noinset_DATA): not needed anymore
398
399         * cheaders/*: remove.
400
401 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * text3.C: fix LFUN_MATH_MODE.
404
405 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * buffer_funcs.C (countWords): new function. Counts words between
408         two iterators.
409
410         * BufferView_pimpl.C (getStatus, dispatch): handle
411         LFUN_WORDS_COUNT.
412
413         * LyXAction.C (init):
414         * lfuns.h: add LFUN_WORDS_COUNT.
415
416 2004-12-19  Angus Leeming  <leeming@lyx.org>
417
418         * buffer.C (save): s/slashify_path/internal_path/.
419
420 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * lyxfind.C (findChange): do not search for end of pars, because
423         the change tracker cannot handle this (fixes bug 1719).
424
425 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * paragraph.[Ch] (autoBreakRows): remove
428
429         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
430
431         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
432         avoid using the paragraph one
433
434         * text2.C (LyXText, insertStringAsLines): adjust
435
436 2004-12-16  Angus Leeming  <leeming@lyx.org>
437
438         * bufferlist.C:
439         * lyx_main.C:
440         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
441
442 2004-12-14  Angus Leeming  <leeming@lyx.org>
443
444         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
445
446         * bufferlist.C (emergencyWrite):
447         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
448         GetEnvPath("HOME").
449
450 2004-12-14  Angus Leeming  <leeming@lyx.org>
451
452         * main.C: (main): no longer pass pointers to os::init.
453
454 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * undo.C (textUndoOrRedo): simplify logic, fix a crash
457         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
458
459 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
460
461         * lyxfunc.C:
462         * text3.C: remove selection_possible global flag
463
464 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
465
466         * text2.C (getSelectionSpan): remove
467         (changeDepth, changeDepthAllowed): adjust
468
469 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
470
471         * Makefile.am (BOOST_LIBS): use boost variables
472
473 2004-12-03  José Matos  <jamatos@lyx.org>
474
475         * buffer.C: format up to 238.
476
477 2004-12-03  José Matos  <jamatos@lyx.org>
478
479         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
480
481 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
482
483         * cursor.C (goUpDown): remove call to idxUpDown2
484
485 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
486
487         * tabular.[Ch]: use size_t-like types for cell, row and column
488         indices
489
490 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * lyxfunc.C (getStatus): do not lose previous information when
493         calling BufferView::getStatus; do not set a default "Command
494         disabled" message at the beginning, but just before returning.
495
496 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
497
498         * cursor.h (getStatus): add better comment from src/cursor.C
499
500 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * text3.C (getStatus): return false when the lfun is not handled
503
504 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * broken_headers.h: remove
507
508         * Makefile.am (lyx_SOURCES): remove broken_headers.h
509
510 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
513         offset_ref accessors
514
515         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
516         top_y_, merge fitcursor with update
517         (updateScrollbar, scrollDocView, fitCursor, center, update): new
518         coord scheme
519         (metrics): introduce
520         (workAreaDispatch): adapt to new coord scheme
521         (redoCurrentBuffer): remove
522
523         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
524
525         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
526         CurStatus enum.
527
528         * coordcache.[Ch]: add paragraph cache and helpers
529
530         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
531         adjust everywhere
532
533         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
534         (targetX, setTargetX): introduce
535
536         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
537         baseline -> ascent, as the rest of lyx
538
539         * lyxtext.h: remove redoParagraphs, updateParPositions,
540         fullRebreak, redoParagraphInternal. move dist to anon namespace in
541         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
542         have ascent/descent (ascent is ascent of first par)
543
544         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
545         step of BufferView
546
547         * paragraph.[Ch]: unify dimension handling with the rest of lyx
548
549         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
550
551         * pariterator.C: fix infinite loop introduced in par->pit renaming
552
553         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
554         in insets and LyXText, draw two off-screen paragraphs using
555         NullPainter, and adapt to new coord scheme
556
557         * text.C:
558         * text2.C:
559         * text3.C: adapt lfun handlers to the new coord scheme, which
560         means: there's only guaranteed coord information for onscreen pars
561         plus one above and one below. This implies that one can do search
562         from y coordinates in the range [-1,workHeight]
563
564 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * rename a lot of InsetOld to InsetBase
567
568 2004-11-25  Angus Leeming  <leeming@lyx.org>
569
570         * BufferView_pimpl.C:
571         * lyx_cb.C:
572         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
573
574 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575
576         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
577         call BufferView::getStatus if LCursor::getStatus did nothing
578         (setStatusMessage, getStatusMessage): removed.
579
580         * FuncStatus.C (message): new methods. Used to provide an error
581         message indicating why a command is disabled.
582         (clear, |=, FuncStatus): update for message.
583
584 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
585
586         * lyxfunc.C (dispatch): always call sendDispatchMessage
587
588 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * BufferView.C:
591         * BufferView_pimpl.C:
592         * CutAndPaste.C:
593         * FontIterator.C:
594         * buffer.C:
595         * cursor.C:
596         * cursor_slice.[Ch]:
597         * dociterator.[Ch]:
598         * lyxfind.C:
599         * paragraph_funcs.C:
600         * pariterator.C:
601         * rowpainter.C:
602         * text.C:
603         * text2.C:
604         * text3.C:
605         * undo.C: par->pit renaming
606
607 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
608
609         * tabular.C (cellstruct): use initialization, store a shared_ptr
610         to insettext instead of the insettext directly, adjust to fit.
611         (operator=):  new function
612         (swap): new function
613         (rowstruct): use initialization
614         (columnstruct): use initialization
615         (ltType): use initialization
616
617
618         * lyxlength.h (swap): new function
619
620         * LColor.[Ch] (operator=): use the common semantics
621
622 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * lyxfind.C (findNextChange): update the bufferview after setting
625         the selection.
626
627 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
630         number of InsetOptArgs has already been inserted.
631
632         * output_latex.C (latexOptArgInsets): new method. This outputs all
633         the optarg insets, up to the limit defined in the layout file.
634         (optArgInset): removed
635         (TeXOnePar): call latexOptArgInsets; correctly update texrow
636
637 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * paragraph.C (isLetter): remove special spellchecker-related
640         code; return true also for digits
641         (isWord, isKomma): remove
642
643         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
644         * lyxfind.C (MatchString()): use isLetter instead of isWord
645
646 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
647
648         * pariterator.h (operatir=): comment out un-implemented member
649         function.
650
651         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
652         static cast.
653
654 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * lyxfont.h: include LColor.h to satisfy concept checks.
657
658 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
659
660         * pariterator.h: add typdefs for value_type, difference_type,
661         pointer and reference to satisfy concept checks. Also add default
662         constructor for same reason.
663
664         * pariterator.C (operator++): add post-increment operator to
665         satisfy concept checks.
666
667         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
668         checks.
669
670         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
671
672         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
673         checks. Also rename base_type to BaseType to follow naming
674         standard better.
675
676         * FloatList.h: include Floating.h to satisfy concept checks.
677
678 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * lyxfunc.C (getStatus): when the origin of the request is menu or
681         toolbar, and the LyXView does not have focus, do as if there was
682         no buffer (bug 1720)
683
684         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
685         FuncRequest to individual entries of LFUN_SEQUENCE
686
687 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * output_latex.C (TeXOnePar): override runparams.moving_arg
690         according to the needprotect value of the current paragraph (bug
691         1739)
692
693         * paragraph.C (simpleTeXOnePar): no need to override
694         runparams.moving_args here
695
696 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
697
698         * vspace.C: fix off-by-one-error, related to fix #1682
699
700 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
701
702         * lengthcommon.C: a more general fix for bug 1682
703
704 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
705
706         * text.C (backspace): fix crash
707
708 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * format.[Ch] (getFormatFromFile): new method
711         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
712
713 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
716
717 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxfunc.C (dispatch): remove the verbose argument
720         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
721         instead
722
723         * kbmap.C (defkey): set the origin of func to KEYBOARD
724
725         * MenuBackend.C (MenuItem):
726         * ToolbarBackend.C (add): set the origin of func to UI
727
728         * funcrequest.[Ch]: add origin member, which indicates which part
729         of LyX requests an action
730
731 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
732
733         * converter.C (move): don't lie in the error message
734         * converter.h (isReachable, move): document
735
736 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
737
738         * buffer.C: remove unused using lyx::support::atoi
739         * paragraph_funcs.C: ditto
740
741 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
742
743         * bufferlist.C (exists): use bind and equal_to instead of
744         compare_memfun
745         (getBuffer): ditto
746         * lyxtextclasslist.C (NumberOfClass): ditto
747
748         * cursor.C (insert): use for_each instead of explicit for loop
749
750         * bufferlist.C (getFileNames): use std::transform and
751         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
752
753         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
754         for loop
755
756         * buffer.C (changeLanguage): use for_each instead of explicit for
757         loop
758         (hasParWithID): implement using getParFromID
759
760         * LaTeXFeatures.C: ws change only
761
762         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
763         to cleanup a bit.
764
765         * BufferView_pimpl.C (trackChanges): use for_each instead of
766         expilicit for loop
767
768 2004-11-04  André Pönitz  <poenitz@gmx.net>
769
770         * undo.h:
771         * undo.C (textUndoOrRedo): fix crash when creating undo information.
772
773         * dociterator.C (asDocIterator): use hard assert again.
774
775 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * lyxlength.C (asLatexString): rewrite so that it does not use
778         snprintf anymore
779
780 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * text3.C (specialChar, dispatch): make sure cursor moves to the
783         right after inserting an inset
784
785 2004-11-02  José Matos  <jamatos@lyx.org>
786
787         * output_docbook.C (docbook):
788         * paragraph.C (getID):
789         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
790         garantee that the output is always legal.
791
792         * tabular.C (docbook):
793         * outputprams.[Ch]: remove mixed contents.
794
795 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
796
797         * text2.C (setCounter): prevent endless loop
798
799 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
800
801         * exporter.C (copyFile): use the mover instead of support::copy()
802         * exporter.C (Export): pass format and latex name to copyFile()
803         * exporter.h (addExternalFile): document
804         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
805
806 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
807
808         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
809
810 2004-10-30  José Matos  <jamatos@lyx.org>
811
812         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
813         text and no inset or font change. This allows to use CDATA
814         sections just for the whole paragraph.
815
816 2004-10-30  José Matos  <jamatos@lyx.org>
817
818         * paragraph.C (getFirstWord): remove unused variable.
819
820 2004-10-30  José Matos  <jamatos@lyx.org>
821
822         * paragraph.C (getFirstWord): the content should always be escaped
823         there.
824         (simpleDocBookOnePar):
825         * output_docbook.C (makeEnvironment): replace reference to CDATA
826         to style pass_thru.
827
828 2004-10-30  José Matos  <jamatos@lyx.org>
829
830         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
831
832 2004-10-30  José Matos  <jamatos@lyx.org>
833
834         * output_docbook.C (makeParagraphs):
835         * paragraph.[Ch] (emptyTag): for docbook and company, if the
836         standard paragraph has only a given type of content drop the wrapper.
837
838 2004-10-29  José Matos  <jamatos@lyx.org>
839
840         * output_docbook.C (makeEnvironment):
841         * sgml.C (openTag):
842         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
843
844 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
845
846         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
847         (cleanID): sanitize any id.
848
849 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
850
851         * buffer.C, lyxlex_pimpl.C:
852         * lyxlex_pimpl.C (setFile):
853         s/getExtFromContents/getFormatFromContents/
854
855 2004-10-28  José Matos  <jamatos@lyx.org>
856
857         * output_docbook.C (makeEnvironment): move id to broadest possible
858         scope.
859
860         * sgml.C (openTag): apply substitution of <> for all attributes.
861
862 2004-10-28  José Matos  <jamatos@lyx.org>
863
864         * buffer.C (makeLinuxDocFile, makeDocBookFile):
865         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
866         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
867
868         * sgml.[Ch]: new version for open and closeTag for paragraph and
869         for strings. Now they handle the ids of paragraphs.
870
871 2004-10-26  Angus Leeming  <leeming@lyx.org>
872
873         * Makefile.am: add mover.[Ch].
874
875         * converter.C (convert, move): use the new Movers to move external
876         files to the temp directory.
877
878         * lyx_main.C (init): ensure that the global system_movers data
879         is initialised.
880
881         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
882         preferences file.
883
884         * mover.[Ch]: new files, defining a Mover as a utility to move an
885         external file between directories and, if necessary, manipulate this
886         file using a helper script.
887
888 2004-10-25  José Matos  <jamatos@lyx.org>
889
890         * output_docbook.C (makeCommand): merge two if's that tested the
891         same condition.
892
893 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * sgml.C (escapeString): fix warning in a better way
896
897 2004-10-25  José Matos  <jamatos@lyx.org>
898
899         * sgml.C (escapeString): import the require boosts header file for
900         tie, and avoid a signed unsigned comparison.
901
902 2004-10-25  José Matos  <jamatos@lyx.org>
903
904         * sgml.h: add #include <string>
905
906 2004-10-25  José Matos  <jamatos@lyx.org>
907
908         * sgml.[Ch] (escapeString): new function to escape all the string.
909
910 2004-10-24  José Matos  <jamatos@lyx.org>
911
912         * paragraph.[Ch] (getFirstWord): new function to get the first
913         word. Useful for description.
914         (simpleDocBookOnePar): remove depth argument, add another that
915         says where to start the paragraph.
916
917         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
918         use the new functions to fix cleanly the support for descriptions.
919
920 2004-10-24  José Matos  <jamatos@lyx.org>
921
922         * buffer.C (makeLinuxDocFile, makeDocBookFile):
923         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
924         * output_linuxdoc.C (linuxdocParagraphs):
925         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
926         add buffer as argument.
927
928 2004-10-24  José Matos  <jamatos@lyx.org>
929
930         * output_docbook.C (makeEnvironment, searchEnvironment): place
931         CDATA inside paragraphs and fix scope for listitems.
932
933 2004-10-24  José Matos  <jamatos@lyx.org>
934
935         * output_docbook.C: remove using statement for stack.
936
937 2004-10-23  José Matos  <jamatos@lyx.org>
938
939         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
940         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
941         docbook. The new scheme is recursive and makes use of iterators, the
942         same as latex export works.
943         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
944         directly with the paragraph contents. This code was moved up to
945         output_docbook.C (docbookParagraphs).
946         * sgml.C (openTag, closeTag): removed unneeded newlines.
947         (closeEnvTags) removed.
948
949 2004-10-23  André Pönitz  <poenitz@gmx.net>
950
951         * undo.C (textUndoOrRedo):
952         * dociterator.C (asDocIterator): work around crash
953
954         * cursor.C (getStatus): replace ASSERT by more verbose error message
955           and manual correction of the problem. Should increase stability
956           while providing more sensible information.
957
958 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
961
962         * bufferlist.C (previous, next): new methods
963
964         * lfuns.h:
965         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
966
967 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
968
969         * buffer.C (makeDocBookFile): add dsssl stylesheet control
970         entities to preamble.
971
972 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
973
974         * messages.C (Pimpl): strip off translation context information
975
976 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
979         the cursor is correct (bug 1694)
980
981 2004-10-13  José Matos  <jamatos@lyx.org>
982
983         * output_docbook.C (docbookParagraphs): fix closing tags in the
984         end of the document.
985
986 2004-10-09  José Matos  <jamatos@lyx.org>
987
988         * buffer.C: format up to 237.
989         * bufferparams.C (write): use tostr to convert booleans to strings.
990
991 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
992
993         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
994
995 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
996
997         * LaTeX.C: implement use of babel language in xindy.
998
999 2004-10-05  José Matos  <jamatos@lyx.org>
1000
1001         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1002         Add new translators to help reading and writing the lyx file.
1003
1004 2004-10-05  José Matos  <jamatos@lyx.org>
1005
1006         * ParagraphParameters.C (read):
1007         * text.C (readParToken): replace nexToken by more appropriate lex
1008         methods.
1009
1010 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1011
1012         * LaTeX.C (runMakeIndex):
1013         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1014         (usually 'makeindex') configurable.
1015
1016         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1017         with a variable rather than with a number.
1018
1019 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1020
1021         * output_latex.C (TeXOnePar): make sure font setting is the first
1022         thing that gets output (and the last at the end). Should fix bug
1023         1404.
1024
1025 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1026
1027         * pch.h: use proper signal include
1028
1029         * LaTeX.h: Use preferred calling of Boost.Signal
1030         * buffer.h: ditto
1031
1032 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1033
1034         * pch.h: dont include <boost/function/function0.hpp>
1035
1036         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1037
1038         * paragraph_pimpl.h: remove usage of ShareContainer
1039
1040         * paragraph_pimpl.C: remove initialization of ShareContainer.
1041
1042 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         Fix bug #1666
1045
1046         * BufferView.C (putSelectionAt): change the semantics when
1047         backwards == true: now, this just swaps cursor and anchor wrt the
1048         forward case
1049
1050         * BufferView.h (putSelectionAt): add some documentation
1051
1052         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1053         make sure backwardChar is done at least once (to avoid getting
1054         stuck)
1055         (findNextChange): use putSelectionAt in the forward direction
1056         (operator()): use Paragraph::isWord
1057
1058 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1059
1060         * Spacing.C (set): c_str fix
1061
1062 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * lyx_cb.C (Reconfigure): quote the name of configure script in
1065         case it contains spaces
1066
1067 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1068
1069         * client: new dir
1070
1071         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1072         (BOOST_LIBS): use top_buildir when looking for the file
1073
1074 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1075
1076         * pch.h: do not use include boost/format.hpp, multiple symbols
1077                 will result (gcc bug)
1078
1079
1080 2004-08-23  José Matos  <jamatos@lyx.org>
1081
1082         * bufferparams.C (readToken): fix reading of the author field.
1083
1084 2004-08-20  José Matos  <jamatos@lyx.org>
1085
1086         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1087
1088 2004-08-20  José Matos  <jamatos@lyx.org>
1089
1090         * lyxlex.[Ch] (findToken): remove function.
1091
1092         * ParagraphParameters.C (findToken):
1093         * bufferparams.C (findToken): replace call for previous function
1094         with local copy. This local function has one more argument, the
1095         read string argument.
1096
1097 2004-08-16  José Matos  <jamatos@lyx.org>
1098
1099         * ParagraphParameters.C (write):
1100         * Spacing.C (writeFile):
1101         * bufferparams.C (writeLaTeX):
1102         * lyx_cb.C (Reconfigure):
1103         * paragraph.C (write):
1104         * tabular.C (write): remove unnecessary space at end of line.
1105
1106
1107 2004-08-16  José Matos  <jamatos@lyx.org>
1108
1109         * text.C (readParagraph): remove debug message.
1110
1111 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1112
1113         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1114         crash
1115
1116         * output_plaintext.C (asciiParagraph): set depth correctly
1117
1118         * outputparams.h: add member depth
1119
1120         * paragraph_funcs.C (ownerPar): remove.
1121
1122         * text2.C (setCounter): remove first_pit; comment out some
1123         non-working code that uses ownerPar
1124
1125         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1126         uses ownerPar
1127
1128 2004-08-16  José Matos  <jamatos@lyx.org>
1129
1130         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1131         For the same level of importance use the same chanel to report problems.
1132         (read): add code to deal with \begin_body and \end_body.
1133
1134
1135 2004-08-15  José Matos  <jamatos@lyx.org>
1136
1137         * lyxlex.C (getString): fix comment, buffer::readBody is now
1138         buffer:readDocument.
1139
1140         * tex-strings.C (string_papersize): Default -> default,
1141         Custom -> custom, for consistency with other options.
1142
1143 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1144
1145         * pch.h: new file
1146
1147         * Makefile.am: support pch
1148
1149 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1150
1151         * text.C (readParToken): remove the static LyXFont variable and
1152         pass it as a parameter instead. This fixes a nasty bug where an
1153         inset will be inserted with a bad font in some situations
1154         (readParagraph): adapt
1155
1156         * text2.C (setCounter): reduce number of calls to pars_[pit]
1157
1158         * text.C (singleWidth): add an assert, fix a test
1159
1160         * rowpainter.C (paintText): reduce number of calls to singleWidth
1161
1162         * paragraph.C (isHfill):
1163         (isNewline): ws only
1164
1165 2004-08-14  André Pönitz  <poenitz@gmx.net>
1166
1167         * text.C:
1168         * text2.C:
1169         * rowpainter.C:
1170         * lyxtext.h (several functions): use a Paragraph & argument
1171         instead of par_type
1172
1173 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1176
1177         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1178
1179         * text.C (singleWidth): remove useless test
1180
1181 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * tabular.h: remove bogus comments
1184
1185         * tabular.C (getDescentOfRow):
1186         (isPartOfMultiColumn): add assertions
1187
1188         * lyxlength.C (inPixels): remove #warning
1189
1190 2004-08-14  André Pönitz  <poenitz@gmx.net>
1191
1192         * paragraph.h: inline getChar()
1193
1194         * BufferView.h: remove unused declarations
1195
1196 2004-08-14  José Matos  <jamatos@lyx.org>
1197
1198         * Buffer.[Ch] (readDocument): new name for old readBody.
1199         * Buffer.C: new file format, new keywords: \begin_document,
1200         \begin_header, \begin_body, \end_body.
1201
1202         * bufferparams.C (readToken): replace all calls to lex.nextToken
1203         by lex.next(). Do the same to eatLine except where really needed.
1204
1205         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1206         line when writing to the lyx file.
1207
1208         * output_plaintext.C (asciiParagraph): fix Bibliography style
1209         handling.
1210
1211         * text.C (read): fix end of file handling.
1212
1213 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * MenuBackend.C (Menu::operator[]): new method to access
1216         individual menu items
1217         (Menu::hasFunc): new method. search for an item that corresponds
1218         to a given func
1219         (MenuBackend::specialMenu): new method
1220         (MenuBackend::expand): if a special menu has been set, skip
1221         entries whose func() appears in this menu
1222
1223 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1224
1225         * text3.C: use Debug::DEBUG a bit more
1226
1227         * text.C (leftMargin): try to simplify a tiny bit change var x to
1228         l_margin. Dont output the wide margins always.
1229         (rightMargin): no margin in inner texts
1230
1231         * rowpainter.h (nestMargin): new func
1232         (changebarMargin): new func
1233         (rightMargin): new func
1234
1235         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1236         now functions.
1237         (paintLast): ditto
1238
1239         * factory.C (createInset): modify setDrawFrame
1240
1241         * cursor.C: use Debug::DEBUG a bit more
1242
1243 2004-08-14  André Pönitz  <poenitz@gmx.net>
1244
1245         * coordcache.[Ch]:
1246         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1247         cache for all insets in (at least partially) visible (top-level)
1248         paragraphs.
1249
1250         * BufferView_pimpl.C: reset external coord cache before every update.
1251         This means the coord cache only contains valid entries.
1252
1253 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1254
1255         bug 1096
1256         * BufferView_pimpl.C (getInsetByCode): move function out of class
1257         and change in to a template in anon namespace. Also fix to do what
1258         suits us better.
1259
1260 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1261
1262         bug 1305
1263         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1264         of char
1265         (breakParagraph): rename par to par_offset and use a local
1266         reference. Add code to keep the language over a rebreak.
1267         (breakParagraphConservative): rename par to par_offset, use a
1268         local reference
1269         (mergeParagraph): ditto
1270         (outerHook): ditto
1271         (isFirstInSequence): ditto
1272         (outerFont): rename pit to par_offset
1273
1274         * paragraph.C: ws change
1275         * paragraph.h: ditto
1276         * text3.C: ditto
1277         * text.C: ditto
1278
1279 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1282         treatment for ']'
1283
1284         * paragraph.C (simpleTeXOnePar): when we have a \item with
1285         optional argument, enclose the argument with curly brackets (in
1286         case it contains a closing square bracket)
1287
1288         * text2.C (editXY):
1289         * text2.C (editXY):
1290         * text3.C (checkInsetHit): constify
1291
1292 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1293
1294         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1295         documents (bug 1629)
1296
1297 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         Fix toggling of collapsable insets with the mouse (bug 1558)
1300
1301         * lyxfunc.C (dispatch): adapt to LCursor changes
1302
1303         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1304         make sure that dispatch is not invoked twice
1305
1306         * cursor.C (needsUpdate): new method
1307         (dispatch): return void
1308         (result): new method, to access the DispatchResult of the cursor.
1309
1310 2004-08-13  José Matos  <jamatos@lyx.org>
1311
1312         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1313
1314 2004-08-13  André Pönitz  <poenitz@gmx.net>
1315
1316         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1317
1318         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1319           multiple cells
1320
1321 2004-08-12  André Pönitz  <poenitz@gmx.net>
1322
1323         * text3.C: take out the 'cursor right' form insertInset and only
1324         do it in those places when it is really needed. Fixes crash on
1325         C-m...
1326
1327 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1328
1329         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1330
1331         * BufferView_pimpl.C (setBuffer): initialize the current font of
1332         the underlying LyXText
1333
1334 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * kbsequence.C (print): use UI native formatting for menu
1337         shortcuts
1338
1339         * text.C (insertChar): call Paragraph::insertChar with a font
1340         argument (cosmetic)
1341
1342         * paragraph.C (insertInset, insertChar): the version that takes a
1343         LyXFont argument is now a wrapper around the other one (the
1344         opposite used to be true).
1345
1346         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1347         argument. Font setting is done in Paragraph now.
1348
1349 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * outputparams.h: add new members intitle and lang.
1352
1353         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1354         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1355
1356 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1357
1358         * text3.C (dispatch): remove special handling of button 4 and 5,
1359         it is now taken care of in the frontend code.
1360
1361 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1362
1363         * Spacing.h: add <string> (STLPort compile fix)
1364
1365 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1366
1367         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1368
1369 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1370
1371         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1372         to bool.
1373
1374         * converter.C (showMessage): inherit from unary_function, make
1375         operator() const.
1376
1377         * buffer.C (writeFile): initialize retval
1378
1379         * InsetList.h: rename private variable list to list_
1380         * InsetList.[Ch]: adjust accordingly.
1381
1382 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1385         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1386         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1387         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1388         * ParagraphParameters.C, LaTeXFeatures.C: replace
1389         "support/std_sstream.h" with <sstream>
1390
1391 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1392
1393         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1394         * lyxsocket.C (LyXServerSocket): ditto
1395         (serverCallback): ditto
1396
1397 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1398
1399         * LaTeXFeatures.C: check release date when loading jurabib.
1400
1401 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1402
1403         * lyxserver.C (startPipe): call register_socket_callback
1404         (endPipe): call unregister_socket_callback
1405
1406 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1407
1408         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1409         (LyXServerSocket): register the callback
1410         (LyXServerSocket): unregister the callback
1411         (fd): delete function
1412         (serverCallback): improve error checking and setup the callbacks.
1413         (dataCallback): change arg to fd.
1414         (writeln): new func (copied fro the client socket) used for server
1415         write to client.
1416         (LyXDataSocket): simplify
1417         (~LyXDataSocket): close ann unregiser callback
1418         (server): delete function
1419         (fd): delete function
1420         (readln): small changes, improve some std::string usage
1421         (writeln): constify a bit
1422
1423 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1426         Qt frontend
1427
1428 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1431         after it has been populated
1432
1433 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * text2.C (insertInset): move cursor when inserting inset.
1436
1437 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * kbmap.C (findbindings): a couple of new methods. returns a
1440         container of kb_sequence objects. The real work is done by the
1441         private recursive version
1442         (printbindings): uses findbindings to print out a bracketed list
1443         of bindings (renamed from findbinding).
1444
1445         * MenuBackend.C (binding): use kb_keymap::findbindings
1446
1447         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1448
1449 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1450
1451         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1452
1453 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1454
1455         * paragraph.C (isWord): return true on insets that report
1456         isLetter().
1457
1458         * text.C (getWord): use Paragraph::isWord to decide what is in a
1459         word and what is not; fix bug 1609.
1460
1461 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1462
1463         * tex-strings.C: add "none" to string_paperpackages[], fixes
1464         off-by-one-error in the paperpackage selection.
1465
1466         * lyxlex.[Ch]:
1467         * tex-strings.[Ch]: char const * string[n]
1468         -> char const * const string[]
1469
1470 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1473         command, return early.
1474
1475 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1476
1477         * debug.h: add DEBUG to enum and fix size of ANY.
1478
1479         * debug.C: add support for Debug::DEBUG
1480         (showTags): cast errorTags.level to unsigned int
1481
1482         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1483         (redoCurrentBuffer): ditto
1484         (updateScrollbar): ditto
1485         * cursor.C (dispatch): ditto
1486         * text2.C (setLayout): ditto
1487         (setFont): ditto
1488         (updateCounters): ditto
1489         (editXY): ditto
1490         (deleteEmptyParagraphMechanism): ditto
1491
1492 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1493
1494         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1495         annotations to cleanup the Makefile slightly.
1496
1497 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * lyxrc.C: do not set user_email to a default value but use empty
1500         instead. The entry used to be translated, which does not work
1501         since at the point where lyxrc is constructed there is no
1502         translation service available
1503
1504         * messages.C (getLocaleDir): remove and use directly
1505         lyx_localedir() instead
1506
1507 2004-06-02  Angus Leeming  <leeming@lyx.org>
1508
1509         Fix crash caused by dereferencing null pointer 'exportdata' in
1510         OutputParams by creating a new ExportData variable on the heap,
1511         storing it in a boost::shared_ptr.
1512         The crash was triggered when generating an Instant Preview
1513         of an external inset.
1514
1515         * Makefile.am: add outputparams.C
1516
1517         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1518         (c-tor): allocate memory to it.
1519
1520         * exporter.C (c-tor): associated changes.
1521
1522 2004-06-01  Angus Leeming  <leeming@lyx.org>
1523
1524         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1525         contains data before calling isInset(0). (Bug 1513.)
1526
1527 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1528
1529         * exporter.C (checkOverwrite): new method
1530         * exporter.C (copyFile): new method
1531         * exporter.C (Export): copy referenced files to the document dir
1532         * exporter.[Ch]: new class ExportedFile
1533         * exporter.[Ch]: new class ExportData. Contains currently the
1534         names of referenced external files
1535         * outputparams.h: add exportdata member.
1536
1537 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1538
1539         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1540         version.C-tmp
1541
1542 2004-05-19  Angus Leeming  <leeming@lyx.org>
1543
1544         * LaTeXFeatures.C:
1545         * ToolbarBackend.C:
1546         * bufferparams.C:
1547         * lyxfunc.C: small changes due to the introduction of namespace
1548         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1549
1550 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1551
1552         * text3.C (dispatch): supress update when only moving the cursor
1553         * cursor.C (selHandle): remove commented code
1554
1555 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1556
1557         * paragraph.C (startTeXParParams): correct column count
1558         * CutAndPaste.C (pasteSelection): remove const_cast
1559         * output_docbook.C (docbookParagraphs): remove const_cast
1560         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1561         const_cast and return ParagraphList::const_iterator
1562         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1563         * output_plaintext.C (writeFileAscii): remove const_cast
1564         * paragraph.[Ch] (simpleTeXOnePar): make const
1565         * paragraph_funcs.C (outerPar): use const iterators
1566         * paragraph_pimpl.C (validate): use const iterators
1567         * text.C (setHeightOfRow): use const iterators
1568
1569 2004-05-17  Angus Leeming  <leeming@lyx.org>
1570
1571         * lfuns.h:
1572         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1573
1574         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1575         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1576         if the citation engine has changed.
1577
1578 2004-05-14  José Matos  <jamatos@lyx.org>
1579
1580         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1581         if the textclass does not provide it. Have it different for sgml and
1582         xml.
1583         support the language of document.
1584         * output_docbook.C (docbookParagraphs):
1585         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1586         first anchor as the id of the paragraph, remove special case code.
1587         * sgml.C (escapeChar): escape only < & >.
1588
1589 2004-05-14  Angus Leeming  <leeming@lyx.org>
1590
1591         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1592         dependencies on src/frontends/controllers/biblio.h. Define a
1593         CiteEngine_enum wrapper class to enable the enum to be forward
1594         declared.
1595
1596 2004-05-12  Angus Leeming  <leeming@lyx.org>
1597
1598         * buffer.C: up LYX_FORMAT to 234.
1599         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1600         use_numerical_citations with a single biblio::CiteEngine cite_engine
1601         variable.
1602         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1603
1604 2004-05-13  José Matos  <jamatos@lyx.org>
1605
1606         * converter.h:
1607         * converter.C (Converter, readFlags): add xml member.
1608         * outputparams.h: add XML flavor.
1609         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1610
1611 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1612
1613         * lyxfunc.C (dispatch):
1614         (getStatus): fix handling of LFUN_SEQUENCE
1615
1616 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * debug.C (showLevel): do not forget the end-of-line marker
1619
1620 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * kbmap.C (read): do not stop parsing a bind file when an error
1623         occurs (bug 1575)
1624
1625 2004-04-29  Angus Leeming  <leeming@lyx.org>
1626
1627         * cursor.C:
1628         * factory.C:
1629         * pariterator.C:
1630         * text2.C: wrap a bunch of #warning statements
1631         inside #ifdef WITH_WARNINGS blocks.
1632
1633 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1634
1635         * buffer.C: increment format to 233.
1636
1637 2004-04-28  Angus Leeming  <leeming@lyx.org>
1638
1639         * BufferView_pimpl.C:
1640         * lyxfunc.C:
1641         * text3.C:
1642         s/updateToolbar()/updateToolbars()/
1643         s/Toolbar.h/Toolbars.h/
1644
1645 2004-04-28  Angus Leeming  <leeming@lyx.org>
1646
1647         * BufferView.[Ch] (c-tor):
1648         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1649         No longer passes these data to the WorkArea generator.
1650
1651 2004-04-28  Angus Leeming  <leeming@lyx.org>
1652
1653         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1654
1655 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1656
1657         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1658
1659 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * output_latex.C (TeXEnvironment): make sure that there is a line
1662         break before \end{foo} for the last paragraph of a document
1663         (TeXOnePar): if the paragraph is at the end of the document (or
1664         inset) and the language has to be reset, then make sure that the
1665         line break is _before_ the language command, not after (fixes bug
1666         1225); also make sure that the language reset command is the first
1667         thing after the paragraph (to ensure proper nesting of
1668         environments and thus fix bug 1404)
1669
1670 2004-04-21  John Levon  <levon@movementarian.org>
1671
1672         * ToolbarBackend.h:
1673         * ToolbarBackend.C: make "name" be a programmatic name
1674         and a gui_name field.
1675
1676         * lyxfunc.C: display the minibuffer on M-x
1677
1678 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1681         (bug 1526)
1682
1683 2004-04-19  Angus Leeming  <leeming@lyx.org>
1684
1685         * BufferView_pimpl.C (setBuffer): changed preview interface.
1686
1687         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1688         possible values.
1689
1690 2004-04-19  John Levon  <levon@movementarian.org>
1691
1692         * BufferView_pimpl.C:
1693         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1694
1695 2004-04-05  Angus Leeming  <leeming@lyx.org>
1696
1697         * text.C (redoParagraphs): add call to updateCounters(), thereby
1698         fixing the missing "Figure #:" label from the caption of a
1699         figure float.
1700
1701 2004-04-13  Angus Leeming  <leeming@lyx.org>
1702
1703         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1704         cursor is clicked out of an inset.
1705
1706 2004-04-13  Angus Leeming  <leeming@lyx.org>
1707
1708         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1709         than an InsetOld one.
1710
1711 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1712
1713         * format.[Ch]: add editor to Format
1714         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1715         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1716
1717 2004-04-08  André Pönitz  <poenitz@gmx.net>
1718
1719         * metricsinfo.h: remove PainterInfo::width member
1720
1721 2004-04-08  Angus Leeming  <leeming@lyx.org>
1722
1723         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1724         "\providecommand" rather than "\newcommand", thereby preventing
1725         clashes with packages that define "\boldsymbol" themselves.
1726         Eg, beamer.
1727
1728 2004-04-08  Angus Leeming  <leeming@lyx.org>
1729
1730         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1731         thereby squashing an unnecessary warning.
1732
1733 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1734
1735         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1736         setBuffer()
1737
1738 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1739
1740         * BufferView.C (setCursor): call redoParagraph (some insets could
1741         have been opened)
1742         (putSelectionAt): remove the 'double update' trick
1743
1744         * BufferView_pimpl.C (fitCursor): call refreshPar
1745         (workAreaDispatch): remove an uneeded update call
1746         (dispatch): remove some manual update calls
1747
1748         * cursor.[Ch]: remove cached_y_, updatePos
1749         (selHandle): set noUpdate when appropriate
1750
1751         * lyxfunc.C (dispatch): track if we need an update
1752
1753         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1754
1755         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1756         (paintSelection): cheap optimization, do not call cursorX when not
1757         needed
1758         (paintPars): change signature
1759         (refreshPar): add
1760         (paintText): adjust
1761         (paintTextInset): adjust
1762
1763         * text.C: adjust
1764
1765 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * lengthcommon.C: compilation fix: remove explicit array size from
1768         unit_name[] and friends
1769
1770 2004-04-05  Angus Leeming  <leeming@lyx.org>
1771
1772         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1773
1774         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1775         present only for the preferences dialog.
1776         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1777
1778 2004-04-05  Angus Leeming  <leeming@lyx.org>
1779
1780         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1781         to enable the frontends to export changes to lyxrc correctly.
1782
1783         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1784
1785 2004-04-07  André Pönitz  <poenitz@gmx.net>
1786
1787         * cursor.[Ch] (selClear, adjust): remove math
1788
1789         * cursor_slice.C: more agressive assert
1790
1791         * lyxfunc.C:
1792         * BufferView_pimpl.C: rework mouse event dispatch
1793
1794         * dociterator.C:
1795         * paragraph.C:
1796         * text2.C:
1797         * text3.C: adjust
1798
1799 2004-04-05  André Pönitz  <poenitz@gmx.net>
1800
1801         * cursor.[Ch] (valign, halign...): remove unneeded functions
1802
1803 2004-04-05  Angus Leeming  <leeming@lyx.org>
1804
1805         * lyxlength.[Ch] (unit_name et al.): const-correct.
1806
1807 2004-04-05  Angus Leeming  <leeming@lyx.org>
1808
1809         * BufferView_pimpl.C:
1810         * buffer.C:
1811         * counters.C:
1812         * cursor.C:
1813         * lyxfunc.C
1814         * paragraph.C:
1815         * pariterator.C:
1816         * text.C:
1817         * text2.C:
1818         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1819
1820 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1823
1824 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1827         * BufferView_pimpl.[Ch] (getStatus)
1828         * BufferView.[Ch] (getStatus): add
1829         * lyxfunc.C (getStatus): move lfuns handled in
1830         BufferView::dispatch to te function above
1831         * Cursor.C (setSelection): set selection() = true
1832
1833 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1836
1837 2004-03-31  Angus Leeming  <leeming@lyx.org>
1838
1839         * lyxfunc.C (dispatch): Fall through to the generic
1840         Dialogs::show("preamble").
1841
1842 2004-03-31  Angus Leeming  <leeming@lyx.org>
1843
1844         * lyxfunc.C (dispatch): Fall through to the generic
1845         Dialogs::show("spellchecker").
1846
1847 2004-03-31  Angus Leeming  <leeming@lyx.org>
1848
1849         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1850         preferences dialog.
1851
1852 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1853
1854         * BufferView.C
1855         * cursor.[Ch]
1856         * dociterator.[Ch]:
1857         * insetiterator.[Ch]:
1858         * lyxfind.C:
1859         * lyxfunc.C:
1860         * pariterator.[Ch]:
1861         * text2.C:
1862         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1863
1864 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1867         insets where we are putting the cursor.
1868
1869 2004-03-31  Angus Leeming  <leeming@lyx.org>
1870
1871         * lfuns.h:
1872         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1873
1874         * lyxrc.[Ch] (read, write): overloaded member functions taking
1875         a std::[io]stream arguments.
1876
1877         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1878
1879 2004-03-31  Angus Leeming  <leeming@lyx.org>
1880
1881         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1882         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1883
1884         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1885         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1886
1887 2004-03-31  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1890         the LFUN_ALL_INSETS_TOGGLE code.
1891
1892 2004-03-30  Angus Leeming  <leeming@lyx.org>
1893
1894         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1895         has died. Fall through to the generic Dialogs::show("document").
1896
1897 2004-03-30  Angus Leeming  <leeming@lyx.org>
1898
1899         * lfuns.h:
1900         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1901         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1902
1903         * lyxfunc.C (getStatus, dispatch): define the actions for these
1904         lfuns. Little more than a cut and pste job from ControlDocument.C
1905
1906         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1907
1908 2004-03-30  Angus Leeming  <leeming@lyx.org>
1909
1910         * lfuns.h:
1911         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1912         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1913
1914         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1915         open/closed state of ollapsable insets. Usage:
1916
1917         all-inset-toggle <state> <name>, where
1918         <state> == "open" || "closed" || "toggle" and
1919         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1920
1921         * lyxtext.h, text2.C (toggleInset): removed.
1922
1923         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1924         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1925         now passes LFUN_INSET_TOGGLE to the found inset.
1926
1927         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1928         is now invoked as "all-insets-toggle toggle branch".
1929
1930 2004-03-30  Angus Leeming  <leeming@lyx.org>
1931
1932         * dociterator.C:
1933         * insetiterator.C:
1934         * pariterator.[Ch]: added/corrected header blurb.
1935
1936 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1937
1938         * dociterator.[Ch]: add an inset_ member
1939         (backwardPos): implemented
1940         (backwardPos, forwardPos): use inset_ when the stack is empty.
1941         (doc_iterator_begin, doc_iterator_end): implemented
1942         * pariterator.[Ch]: adjust, add begin, end
1943         * insetiterator.[Ch]: adjust, add begin, end
1944         * cursor.C:
1945         * document.C:
1946         * BufferView.C:
1947         * BufferView_pimpl.C:
1948         * CutAndPaste.C: adjust
1949
1950 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1951
1952         * buffer.C: increment file format to 232.
1953         * LaTeXFeatures.C: add bibtopic package.
1954         * bufferparams.[Ch]: param \use_bibtopic.
1955
1956         * lyxrc.[Ch]: add lyxrc bibtex_command
1957         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1958
1959         * buffer.C: increment file format to 231.
1960
1961 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1962
1963         * dociterator.C: implement forwardPar
1964         * iterators.[Ch]: remove, replaced by
1965         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1966         * BufferView.C:
1967         * BufferView_pimpl.C:
1968         * CutAndPaste.C:
1969         * buffer.C:
1970         * bufferview_funcs.C:
1971         * cursor.C:
1972         * lyxfind.C
1973         * lyxfunc.C
1974         * paragraph_funcs.C
1975         * toc.C:
1976         * Makefile.am: adjust
1977
1978 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1979
1980         * CutAndPaste.C (pasteSelection): fix 2 crashes
1981         (eraseSelection): fix a crash
1982         * paragraph_funcs.C: remove a warning
1983
1984 2004-03-28  Angus Leeming  <leeming@lyx.org>
1985
1986         * lfuns.h:
1987         * LyXAction.C (init): new LFUN_PRINT.
1988
1989         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1990
1991 2004-03-27  Angus Leeming  <leeming@lyx.org>
1992
1993         * lfuns.h:
1994         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1995
1996         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1997
1998 2004-03-27  Angus Leeming  <leeming@lyx.org>
1999
2000         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2001         insetlist always contains non-null pointers to insets.
2002
2003 2004-03-26  Angus Leeming  <leeming@lyx.org>
2004
2005         * src/BufferView_pimpl.C:
2006         * src/CutAndPaste.C:
2007         * src/buffer.C:
2008         * src/iterators.C:
2009         * src/output_plaintext.C:
2010         * src/outputparams.h:
2011         * src/paragraph_funcs.C:
2012         * src/rowpainter.C:
2013         * src/text.C:
2014         * src/text2.C:
2015         * src/frontends/controllers/ControlErrorList.C:
2016         * src/frontends/gtk/FileDialogPrivate.C:
2017         * src/frontends/gtk/GPainter.C:
2018         * src/frontends/gtk/GToolbar.C:
2019         * src/frontends/qt2/QRef.C:
2020         * src/mathed/math_scriptinset.C: squash compiler warnings.
2021
2022 2004-03-26  Angus Leeming  <leeming@lyx.org>
2023
2024         * ispell.C (LaunchIspell::start):
2025         * lyx_cb.C (AutoSaveBuffer::start):
2026         invoke run(DontWait) rather than runNonBlocking().
2027
2028 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2031
2032 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2033
2034         * kbsequence.C (print): adjust
2035
2036         * kbmap.C (printKeySym): rename and change signature
2037         (printKey): use LyXKeySym::print()
2038
2039 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2040
2041         * undo.C: add using std::advance to compile for stlport
2042
2043 2004-03-24  Angus Leeming  <leeming@lyx.org>
2044
2045         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2046         it leads to a crash when no buffer is present.
2047
2048 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049             Martin Vermeer  <martin.vermeer@hut.fi>
2050
2051         * lyxfunc.C (dispatch):
2052         * bufferparams.C (readToken): use the new LColor::setColor
2053
2054         * LColor.[Ch] (setColor): new version that takes two strings as
2055         argument and creates a new color entry if necessary
2056
2057 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2058
2059         * buffer.C (makeLaTeXFile): if the main latex file that is
2060         processed is usually a subdocument of some master, then pretend
2061         for a while that it is actually the master
2062
2063 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2064
2065         * buffer.C (getLabelList):
2066         (getBibkeyList): use getMasterBuffer()
2067         (getMasterBuffer): new method. Returns the main document in the
2068         case where one is using included documents.
2069
2070 2004-03-25  André Pönitz  <poenitz@gmx.net>
2071
2072         * Makefile.am:
2073         * iterators.[Ch]:
2074         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2075
2076         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2077
2078         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2079         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2080
2081         * ParameterStruct.h: merge with ParagraphParameters
2082
2083         * lyxtext.h: remove LyXText::parOffset() and getPar()
2084
2085         * text3.C: Remove all 'manual' update calls. We do now one per user
2086         interaction which is completely sufficient.
2087
2088         * Bidi.C:
2089         * BufferView.[Ch]:
2090         * BufferView_pimpl.C:
2091         * FontIterator.[Ch]:
2092         * MenuBackend.C:
2093         * ParagraphParameters.[Ch]:
2094         * buffer.C:
2095         * buffer.h:
2096         * bufferlist.C:
2097         * cursor.[Ch]:
2098         * cursor_slice.[Ch]:
2099         * dociterator.[Ch]:
2100         * errorlist.[Ch]:
2101         * factory.C:
2102         * lfuns.h:
2103         * lyxfind.C:
2104         * lyxfunc.C:
2105         * output_docbook.[Ch]:
2106         * output_latex.[Ch]:
2107         * output_linuxdoc.[Ch]:
2108         * output_plaintext.[Ch]:
2109         * paragraph.[Ch]:
2110         * paragraph_funcs.[Ch]:
2111         * paragraph_pimpl.[Ch]:
2112         * rowpainter.C:
2113         * tabular.[Ch]:
2114         * text.C:
2115         * text2.C:
2116         * toc.C:
2117         * undo.[Ch]: adjust
2118
2119         * frontends/controllers/ControlDocument.C:
2120         * frontends/controllers/ControlErrorList.C:
2121         * frontends/controllers/ControlSpellchecker.C:
2122         * insets/inset.C:
2123         * insets/inset.h:
2124         * insets/insetbase.h:
2125         * insets/insetbibitem.C:
2126         * insets/insetbox.C:
2127         * insets/insetbranch.C:
2128         * insets/insetcaption.C:
2129         * insets/insetcharstyle.C:
2130         * insets/insetcharstyle.h:
2131         * insets/insetcollapsable.C:
2132         * insets/insetcollapsable.h:
2133         * insets/insetert.C:
2134         * insets/insetfloat.C:
2135         * insets/insetfoot.C:
2136         * insets/insetmarginal.C:
2137         * insets/insetnote.C:
2138         * insets/insetoptarg.C:
2139         * insets/insettabular.C:
2140         * insets/insettext.C:
2141         * insets/insettext.h:
2142         * insets/insetwrap.C:
2143         * mathed/math_mboxinset.C:
2144         * mathed/math_nestinset.C:
2145         * mathed/math_scriptinset.C:
2146         * mathed/math_scriptinset.h:
2147         * support/types.h:
2148
2149 2004-03-24  Angus Leeming  <leeming@lyx.org>
2150
2151         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2152         deal with any child processes that have finished but are waiting to
2153         communicate this fact to the rest of LyX.
2154
2155 2004-03-24  Angus Leeming  <leeming@lyx.org>
2156
2157         64-bit compile fixes.
2158
2159         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2160         (c-tor): pass lyx::pos_types rather than ints.
2161
2162         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2163         lyx::pos_type.
2164
2165         * text.C (Delete): compile fix.
2166         (getPar): ensure that function declaration is the same as that in
2167         the header file.
2168
2169 2004-03-23  Angus Leeming  <leeming@lyx.org>
2170
2171         * ispell.C (LaunchIspell):
2172         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2173         a boost::shred_ptr rather than a std::auto_ptr.
2174
2175 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2178         handle LFUN_FILE_INSERT_*
2179
2180         * lyxrc.C (setDefaults, getDescription, output, read):
2181         * lyxrc.h: remove ps_command
2182
2183 2004-03-22  Angus Leeming  <leeming@lyx.org>
2184
2185         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2186         Ensure that error_handler is processed once only and that all data
2187         is saved before attempting to output any warning messages.
2188
2189         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2190
2191 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2194
2195 2004-03-19  André Pönitz  <poenitz@gmx.net>
2196
2197         * cursor.[Ch] (reset): take main text inset as argument
2198
2199         * BufferView: adjust
2200         * BufferView_pimpl.C: adjust
2201
2202         * paragraph.[Ch]: fix completely broken operator=()
2203
2204 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2205
2206         * LColor.C (getFromLyXName): make sure that the color name is used
2207         as lowercase.
2208
2209 2004-03-17  Angus Leeming  <leeming@lyx.org>
2210
2211         * lfuns.h:
2212         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2213
2214         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2215         dialog and to kill a forked process.
2216
2217 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * text2.C (setCursorFromCoordinates): fix font problem
2220
2221 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2224         bogus "rebuild cursor" code
2225
2226 2004-03-11  André Pönitz  <poenitz@gmx.net>
2227
2228         * buffer.[Ch]: use InsetText instead of LyXText as container for
2229         the main lyx text.
2230
2231         * dociterator.[Ch]: drop the BufferView * member which is not needed
2232         anymore after the change to buffer.C
2233
2234         * paragraph_funcs.C:
2235         * text.C:
2236         * text2.C:
2237         * BufferView.[Ch]:
2238         * BufferView_pimpl.[Ch]:
2239         * cursor.[Ch]:
2240         * cursor_slice.[Ch]: adjust
2241
2242         * text3.C: fix bug in mathDispatch
2243
2244 2004-03-08  André Pönitz  <poenitz@gmx.net>
2245
2246         * undo.[Ch]: use 'StableDocumentIterator' as base for
2247         the Undo struct.
2248
2249 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2250
2251         * LaTeXFeatures.C:
2252         * bufferparams.[Ch]: add jurabib support and param.
2253
2254         * LaTeX.C: add FIXME/comment.
2255
2256 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2257
2258         * buffer.C: increment file format to 230.
2259
2260 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * cursor.C (dispatch): avoid infinite loops
2263
2264 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * rowpainter.C (paintSelection): fix x coordinates
2267
2268 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * text.C (rowBreakPoint): fix breaking before displayed insets
2271
2272 2004-03-01  André Pönitz  <poenitz@gmx.net>
2273
2274         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2275
2276         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2277
2278         * Makefile.am:
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * buffer.C:
2282         * lyxfind.C:
2283         * lyxfunc.C:
2284         * text.C:
2285         * text2.C:
2286         * text3.C: adjust
2287
2288 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * lyxtext.h:
2291         * text.C:
2292         * text2.C:
2293         * rowpainter.C:
2294         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2295         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2296
2297 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * Bidi.[Ch] (computeTables): const correctness
2300         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2301         fill_hfill, fill_label_hfill and x from Row
2302         * lyxtext.h: prepareToPrint returns a RowMetrics
2303         * rowPainter.C: adjust
2304         * text.C (prepareToPrint): use width, not textWidth. adjust
2305         (redoParagraphInternal, cursorX): adjust
2306         * text2.C (getColumnNearX): adjust
2307         (init): put a default value to the top LyXText::width
2308
2309 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2312
2313 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2314
2315         * lyxtext.h: add FontIterator class
2316
2317         * text.C (FontIterator, operator*, operator->, operator++): add
2318         (rowBreakPoint, setRowWidth): adjust (fixing a
2319         rebreaking bug)
2320
2321 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2322
2323         * BufferView_pimpl.C (workAreaDispatch): allow also
2324         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2325
2326 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * text.C (rowBreakPoint): fix a bug showing with very large insets
2329
2330 2004-02-25  André Pönitz  <poenitz@gmx.net>
2331
2332         * text3.C:
2333         * cursor.[Ch]: move some mathed specific code to mathed
2334
2335 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2336
2337         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2338         use_tempdir in preferences
2339         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2340         tempfile creation
2341         * lyx_main.C: ensure that tempdir is valid
2342         * lyxlex.h: correct typo
2343         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2344         * paragraph.[Ch] (isMultiLingual): make const
2345         * cursor.[Ch] (openable): make const
2346
2347 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2348
2349         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2350
2351 2004-02-20  André Pönitz  <poenitz@gmx.net>
2352
2353         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2354
2355         * cursor.[Ch]: prepare for localized getStatus()
2356
2357         * lyxtext.h:
2358         * tabular.C:
2359         * text.C:
2360         * text2.C:
2361         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2362
2363 2004-02-20  André Pönitz  <poenitz@gmx.net>
2364
2365         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2366
2367 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2368
2369         * text2.C (setCursorFromCoordinates): switch to absolute coords
2370         (cursorUp): adjust
2371         (cursorDown): adjust
2372         * text3.C (dispatch): adjust
2373
2374 2004-02-16  André Pönitz  <poenitz@gmx.net>
2375
2376         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2377           insets/ChangeLog)
2378
2379         * cursor_slice.[Ch]: remove unneeded acessor function
2380
2381         * lyxtext.h: rename rtl() to isRTL()
2382
2383         * rowpainter.C:
2384         * tabular.C:
2385         * text.C:
2386         * text2.C:
2387         * text3.C: adjust
2388
2389 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2390
2391         * rowpainter.C (paintSelection): coord fix
2392
2393 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2394
2395         * Spacing.C: compile fix
2396
2397 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * cursor.C (dispatch): restore current_ before returning
2400
2401 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * text2.C (cursorUp, cursorDown): fix coords
2404         (moveUp): fix crash
2405
2406 2004-02-12  André Pönitz  <poenitz@gmx.net>
2407
2408         * lyxtext.h:
2409         * text.C:
2410         * text2.C:
2411         * text3.C: add LCursor & parameter to most cursor movement functions
2412           remove usage of LyXText::cursorRow() and cursorPar()
2413
2414         * cursor.[Ch]: add textRow() needed members
2415
2416         * BufferView.C:
2417         * BufferView_pimpl.C:
2418         * paragraph.[Ch]:
2419         * BufferView.C:
2420         * BufferView_pimpl.C: adjust
2421
2422 2004-02-11  André Pönitz  <poenitz@gmx.net>
2423
2424         * lyxfunc.C:
2425         * BufferView.[Ch]:
2426         * BufferView_pimpl.C: shift undo/redo handling
2427
2428         * cursor.[Ch]: fix mathed crash
2429
2430         * lyxfind.C:
2431         * lyxtext.h: move selectionAsText to LCursor
2432
2433         * output_latex.C:
2434         * paragraph.C:
2435         * text.C:
2436         * text2.C:
2437         * text3.C: adjust
2438
2439         * rowpainter.C: fix excessive drawing
2440
2441 2004-02-06  André Pönitz  <poenitz@gmx.net>
2442
2443         * BufferView.[Ch]:
2444         * BufferView_pimpl.[Ch]:
2445         * text3.C: move some text specific LFUN handling
2446
2447 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * text3.C (checkInsetHit): adjust coords
2450         * text2.C (getColumnNearX): adjust coords
2451         (edit): adjust coords
2452         * text.C (getRowNearY): add two asserts
2453
2454 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2455
2456         * converter.C:
2457         * format.C: add using std::distance to compile on gcc 2.95/stlport
2458
2459 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2460
2461         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2462
2463 2004-02-04  André Pönitz  <poenitz@gmx.net>
2464
2465         * BufferView.[Ch] (insertInset):
2466         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2467
2468         * text2.C:
2469         * text3.C: adjust
2470
2471 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2474         on the default clause of the switch
2475         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2476         wasn't catched by LCursor::dispatch
2477
2478 2004-02-03  André Pönitz  <poenitz@gmx.net>
2479
2480         * BufferView.C:
2481         * cursor.[Ch]: some additional asserts
2482
2483         * undo.[Ch]: remove LyXText dependency in interface
2484
2485         * lyxfunc.C: adjust
2486
2487         * lyxtext.h (firstPar, lastPar): remove dead functions
2488
2489         * text.C:
2490         * text2.C:
2491         * text3.C:
2492         * paragraph.[Ch]: adjust
2493
2494 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * lyxfind.C (find): fix argument order in call to ::find
2497
2498 2004-02-02  André Pönitz  <poenitz@gmx.net>
2499
2500         * cursor.[Ch]: remove direct access to anchor
2501
2502         * text.C: remove findText() hack
2503
2504 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2505
2506         * iterators.[Ch] (lockPath): remove in favour of...
2507         * BufferView.[Ch] (setCursor): this addition
2508         * BufferView.C (putSelectionAt): adjust
2509         * undo.C (performUndoOrRedo): adjust
2510         * lyxfunc.C (dispatch): adjust
2511
2512 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * iterators.C (lockPath): add a missing slice
2515         * undo.C (performUndoOrRedo): remove redundant positioning code
2516
2517 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2518
2519         * vc-backend.C (scanMaster): ";" -> ';'
2520
2521 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2522
2523         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2524         std::binary_function
2525
2526         * lyxtextclass.C (compare_name): rename to...
2527         (LayoutNamesEqual): ...this
2528
2529         * lyxlex_pimpl.C (compare_tags): inherit from
2530         std::binary_function, put back into anon namespace
2531
2532         * lyxfind.C (MatchString): inherig from std::binary_function
2533         (findChange): use empty() istead of !size()
2534
2535         * format.C (FormatNamesEqual): new functor
2536         (getFormat): use it
2537         (getNumber): use it
2538         (add): use it
2539         (erase): use it
2540         (setViewer): use it
2541
2542         * converter.C (compare_Converter): rename to...
2543         (ConverterEqual): ...this, and fixup a bit.
2544         (getConverter): use it, and make function const
2545         (getNumber): use it, and make function const
2546         (add): use it
2547         (erase): use it:
2548
2549         * bufferlist.C: add using boost::bind
2550
2551         * MenuBackend.C (MenuNamesEqual): new functor
2552         (hasMenu): use it, and make function const
2553         (hasSubmenu): use nested bind to get rid of compare_memfun.
2554
2555 2004-01-30  André Pönitz  <poenitz@gmx.net>
2556
2557         * BufferView_pimpl.C:
2558         * cursor.C:
2559         * cursor.h:
2560         * cursor_slice.[Ch]:
2561         * lyxfunc.C:
2562         * lyxtext.h:
2563         * paragraph_funcs.C:
2564         * paragraph_funcs.h:
2565         * rowpainter.C:
2566         * text.C:
2567         * text2.C:
2568         * text3.C: move some of the edit(x,y) handling to the insets
2569         some coordinate changes.
2570
2571 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2572
2573         * text.C: add using statements for std::advance and std::distance
2574
2575         * paragraph.C: add using statement for std::distance
2576
2577         * lyxfind.C: add using statement for std::advance
2578
2579         * cursor.C (region): remove std:: from swap
2580         (openable): use nucleus in stead of operator->
2581
2582         * BufferView.C: add using statements for std::distance and std::swap
2583
2584 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2585
2586         * iterators.C: Remove the pimple, move the needed structures to
2587         the header file. Create accessor for the positions stack.
2588         (asPosIterator): remove function
2589
2590         * PosIterator.C (PosIterator): move constructors to top of file
2591         (PosIterator): reimplement the constructor taking a ParIterator in
2592         terms of setFrom.
2593         (setFrom): new function
2594         (operator!=): inline it
2595
2596 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2597
2598         * lyxfind.C (replaceAll): use std::advance
2599
2600         * iterators.h: inherit from std::iterator.
2601
2602         * PosIterator.C (advance, distance): remove
2603         * PosIterator.h: interit from std::iterator.
2604
2605 2004-01-26  André Pönitz  <poenitz@gmx.net>
2606
2607         * BufferView.[Ch]:
2608         * BufferView_pimpl.[Ch]:
2609         * InsetList.[Ch]:
2610         * PosIterator.[Ch]:
2611         * buffer.h:
2612         * bufferview_funcs.C:
2613         * cursor.[Ch]:
2614         * cursor_slice.h:
2615         * factory.[Ch]:
2616         * iterators.[Ch]:
2617         * lyxfind.C:
2618         * lyxfunc.C:
2619         * lyxtext.h:
2620         * output_docbook.C:
2621         * output_latex.C:
2622         * output_linuxdoc.C:
2623         * output_plaintext.C:
2624         * paragraph.[Ch]:
2625         * paragraph_funcs.[Ch]:
2626         * paragraph_pimpl.[Ch]:
2627         * rowpainter.C:
2628         * tabular.C:
2629         * tabular.h:
2630         * text.C:
2631         * text2.C:
2632         * text3.C: more IU:  dumps most of the rest of the mathcursor
2633     implementation into cursor.[Ch]; "globalize" a bit of it.
2634
2635 2004-01-25  Angus Leeming  <leeming@lyx.org>
2636
2637         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2638
2639 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2640
2641         * LaTeXFeatures.h: add nice_ and nice() const
2642         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2643
2644 2004-01-20  André Pönitz  <poenitz@gmx.net>
2645
2646         * BufferView.[Ch]:
2647         * BufferView_pimpl.C:
2648         * PosIterator.C:
2649         * bufferview_funcs.C:
2650         * cursor.[Ch]:
2651         * cursor_slice.[Ch]:
2652         * factory.C:
2653         * iterators.C:
2654         * lyx_cb.C:
2655         * lyxfind.C:
2656         * lyxfunc.C:
2657         * lyxtext.h:
2658         * rowpainter.C:
2659         * text.C:
2660         * text2.C:
2661         * text3.C:
2662         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2663           LCursor and mathcursor parts to LCursor and InsetBase.
2664
2665 2004-01-15  André Pönitz  <poenitz@gmx.net>
2666
2667         * cursor_slice.[Ch]: add a few covienience functions
2668
2669         * funcrequest.[Ch]: remove BufferView * member
2670
2671         * BufferView_pimpl.C:
2672         * cursor.C:
2673         * factory.[Ch]:
2674         * lyxfind.[Ch]:
2675         * lyxfunc.C:
2676         * lyxtext.h:
2677         * text3.C:
2678         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2679
2680 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2683         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2684
2685 2004-01-13  André Pönitz  <poenitz@gmx.net>
2686
2687         * textcursor.[Ch]:
2688         * lyxtext.h: hide cursor and selection anchor behind accessor function
2689
2690         * BufferView.C:
2691         * BufferView_pimpl.[Ch]:
2692         * PosIterator.C:
2693         * bufferview_funcs.C:
2694         * cursor.h:
2695         * lyxfind.C:
2696         * lyxfunc.C:
2697         * text.C:
2698         * text2.C:
2699         * text3.C:
2700         * undo.C: adjust
2701
2702         * cursor.h:
2703         * cursor_slice.[Ch]: some integer type changes for inset unification
2704
2705         * lyxcursor.[hC]: remove, it's CursorSlice now.
2706
2707         * Makefile.am:
2708         * BufferView_pimpl.[Ch]:
2709         * bufferview_funcs.C:
2710         * cursor_slice.C:
2711         * lyxtext.h:
2712         * text.C:
2713         * text2.C:
2714         * text3.C:
2715         * textcursor.[Ch]: adjust
2716
2717 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2718
2719         * text2.C (undoSpan): add and use
2720         * text.C (breakParagraph): use undoSpan (fix bug 578)
2721         * lyxtext.h: adjust
2722
2723 2004-01-08  Angus Leeming  <leeming@lyx.org>
2724
2725         * BufferView_pimpl.C (MenuInsertLyXFile):
2726         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2727         * lyxfunc.C (menuNew, open, doImport):
2728         FileFilterList change to the FileDialog open and save functions.
2729
2730 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2731
2732         * ShareContainer.h: make isEqual and isUnique adaptable
2733
2734         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2735
2736 2004-01-07  Angus Leeming  <leeming@lyx.org>
2737
2738         * LyXAction.C:
2739         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2740
2741         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2742
2743         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2744         functions replacing find, replace and replaceAll.
2745
2746         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2747         LFUN_WORDFIND(FORWARD|BACKWARD).
2748
2749 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * text.C (breakParagraph): remove an outdated #warning
2752
2753 2004-01-07  André Pönitz  <poenitz@gmx.net>
2754
2755         * lyxfind.C: somewhat clearer logic
2756
2757         * text.C: prevent crash in cursorX on unitialized row cache
2758
2759 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * lyxcursor.[Ch] (operator>): add
2762         * textcursor.C (selStart, selEnd): use std::min and std::max
2763
2764 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2765
2766         * Chktex.C: include boost/format.hpp
2767
2768 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2769
2770         * InsetList.C: replace functor MathcIt with adaptable functor
2771         InsetTablePosLess
2772         (insetIterator): modify accordingly
2773
2774         * BranchList.h: move the BranchNamesEqual functor here from...
2775         * BranchList.C: ... to here
2776
2777         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2778         SameName and match.
2779         (add): replace a finding loop with std::find_if.
2780
2781 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * output_docbook.C: moving LatexParam functionality into
2784         .layout files
2785
2786 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2787
2788         * buffer.C: increment format to 229.
2789
2790 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2791
2792         * LaTeXFeatures.C:
2793         * lyx_sty.[Ch]: remove minipageindent_def
2794
2795         * LyXAction.C:
2796         * factory.C:
2797         * lfuns.h:
2798         * lyxfunc.C:
2799         * text3.C: remove LFUN_INSET_MINIPAGE
2800
2801 2003-12-28  Angus Leeming  <leeming@lyx.org>
2802
2803         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2804
2805 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2806
2807         * text2.C (setParagraph): fix off-by-one crash
2808
2809 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * output_docbook.C: header stuff for AGU
2812
2813 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2814
2815         * text2.C (redoCursor): remove
2816         * text.C:
2817         * text3.C:
2818         * BufferView_pimpl.C: remove calls to redoCursor and
2819         setCursor(cursor.par(), cursor.pos()) all around
2820
2821 2003-12-15  Angus Leeming  <leeming@lyx.org>
2822
2823         * buffer.C: up the format to 228.
2824
2825 2003-12-15  André Pönitz  <poenitz@gmx.net>
2826
2827         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2828         slices
2829
2830         * Makefile.am:
2831
2832         * BufferView_pimpl.C:
2833         * cursor.[Ch]:
2834         * lyxcursor.[Ch]:
2835         * rowpainter.[Ch]:
2836         * lyxtext.h:
2837         * text.C:
2838         * text2.C:
2839         * text3.C: adjust
2840
2841 2003-12-15  Angus Leeming  <leeming@lyx.org>
2842
2843         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2844         than getFromGUIName to manipulate the color.
2845
2846 2003-12-14  Angus Leeming  <leeming@lyx.org>
2847
2848         * BranchList.[Ch]: minimize the API.
2849         (Branch::getBranch, getColor): now return a 'const &'.
2850         (Branch::setSelected) now returns a bool set to true if the
2851         selection status changes.
2852         (BranchList::clear, size, getColor, setColor, setSelected,
2853         allBranches, allSelected, separator): removed.
2854         (BranchList::find): new functions, returning the Branch with
2855         the given name.
2856         (BranchList::add, remove): return a bool indicating that
2857         the operation was successful.
2858
2859         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2860         new InsetBranch::isBranchSlected member function.
2861
2862         * LColor.[Ch]: mimimize the API.
2863         (fill): renamed as addColor and made private.
2864         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2865         versions of these functions taking a string arg have been removed.
2866
2867         * bufferparams.C (readToken):
2868         * lyxfunc.C (dispatch):
2869         * lyxrc.C (read): changes due to the altered BranchList and
2870         LColor APIs.
2871
2872         * factory.C (createInset, readInset): changes due to altered
2873         InsetBranch c-tor.
2874
2875 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2876
2877         * factory.C:
2878         * lyxfunc.C: remove insetminipage. "minipage-insert"
2879         now produces a frameless minipage box inset.
2880
2881 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2882
2883         * textcursor.[Ch] (selStart,selEnd): add new methods
2884         remove selection::start, end, use LyXCursor::operator<
2885         * lyxcursor.[Ch] (operator<): add
2886         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2887         * BufferView.[Ch] (unsetXSel): add
2888         * text2.C (clearSelection): use unsetXSel,adjust
2889         * text.C: adjust
2890         * text3.C: adjust
2891         * rowpainter.C: adjust
2892         * bufferview_funcs.C (put_selection_at): adjust
2893
2894 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2895
2896         * BufferView_pimpl.C: small coord. correction
2897
2898 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2899
2900         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2901         dragging over the splash screen.
2902
2903 2003-12-11  Angus Leeming  <leeming@lyx.org>
2904
2905         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2906         as it is now handled in LyXText::dispatch.
2907
2908         * text3.C (doInsertInset): remove a level of nesting.
2909
2910 2003-12-11  Angus Leeming  <leeming@lyx.org>
2911
2912         * factory.C (createInset): changes due to the changed interface to
2913         InsetCommandMailer::string2params.
2914
2915 2003-12-10  Angus Leeming  <leeming@lyx.org>
2916
2917         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2918         'dialog-show-new-inset <inset name>'
2919
2920 2003-12-10  Angus Leeming  <leeming@lyx.org>
2921
2922         * buffer.C: up the format to 227.
2923
2924         * factory.C: the box inset is now identified simply by 'Box'.
2925
2926 2003-12-10  Angus Leeming  <leeming@lyx.org>
2927
2928         * buffer.C: up the format to 226.
2929
2930         * factory.C: the note inset is now identified simply by 'Note'.
2931
2932 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2933
2934         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2935         when a pit is enough. Standarize a couple of loops.
2936
2937 2003-12-05  Angus Leeming  <leeming@lyx.org>
2938
2939         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2940         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2941         data to the re-worked "log" dialog.
2942
2943 2003-12-03  André Pönitz  <poenitz@gmx.net>
2944
2945         * PosIterator.C:
2946         * iterators.C:
2947         * lyxtext.h:
2948         * output_latex.C:
2949         * paragraph_funcs.C:
2950         * text.C:
2951         * text2.C: use Inset::getText instead of Inset::getParagraph
2952
2953 2003-12-03  André Pönitz  <poenitz@gmx.net>
2954
2955         * buffer.[Ch]:
2956         * lyxtext.h:
2957         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2958         InsetText::read() as LyXText::read()
2959
2960 2003-12-02  Angus Leeming  <leeming@lyx.org>
2961
2962         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2963         type. Add a comment in the implementation that the function uses
2964         the stream's bad() function rather than fail() as the std::streams
2965         would do.
2966
2967 2003-12-02  André Pönitz  <poenitz@gmx.net>
2968
2969         * lyxlex.[Ch]: make interface more similar to std::stream
2970
2971         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2972
2973 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2974
2975         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2976
2977 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2978
2979         * vspace.[Ch]: remove VSpace::NONE
2980
2981 2003-12-01  André Pönitz  <poenitz@gmx.net>
2982
2983         * buffer.[Ch]:
2984         * lyxtext.h: move ParagraphList member to LyXText
2985         rename LyXText::ownerParagraphs to LyXText::paragraph
2986
2987         * CutAndPaste.C:
2988         * bufferview_funcs.C:
2989         * iterators.[Ch]:
2990         * lyx_cb.C:
2991         * paragraph.C:
2992         * rowpainter.C:
2993         * tabular.C:
2994         * text.C:
2995         * text2.C:
2996         * text3.C: adjust
2997
2998         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2999
3000         * undo.C: fix cursor positioning
3001
3002 2003-12-01  John Levon  <levon@movementarian.org>
3003
3004         * BufferView_pimpl.C: fix a crash on exit with
3005         a buffer open
3006
3007 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3008
3009         * BranchList.C: fix setSelected() method.
3010
3011 2003-11-28  André Pönitz  <poenitz@gmx.net>
3012
3013         * ParagraphParameters.[Ch]:
3014         * ParameterStruct.h: remove space above/below from Paragraph to
3015          InsetVSpace
3016
3017         * BufferView_pimpl.C:
3018         * factory.C:
3019         * lyxfunc.C:
3020         * lyxtext.h:
3021         * output_latex.C:
3022         * paragraph.C:
3023         * paragraph_funcs.C:
3024         * rowpainter.[Ch]:
3025         * text.C:
3026         * text2.C:
3027         * text3.C: adjust
3028
3029 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3030
3031         * factory.C: Syntax change for CharStyles
3032
3033 2003-11-28  André Pönitz  <poenitz@gmx.net>
3034
3035         * BufferView.[Ch]:
3036         * BufferView.[Ch]:
3037         * buffer.[Ch]:
3038         * buffer.[Ch]: move LyXText member
3039
3040 2003-11-28  André Pönitz  <poenitz@gmx.net>
3041
3042         * BufferView.[Ch]: make LyXText * text a private member
3043
3044         * BufferView_pimpl.C:
3045         * cursor.C:
3046         * iterators.C:
3047         * lyx_cb.C:
3048         * lyxfind.C:
3049         * lyxtext.h:
3050         * rowpainter.[Ch]:
3051         * text.C:
3052         * text2.C:
3053         * undo.C: adjust
3054
3055         * output_plaintext.C: cleanup
3056
3057 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3058
3059         * buffer.C:
3060         * lyxtextclass.[Ch]: parametrize SGML document header
3061
3062 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3063
3064         * converter.[Ch]:
3065         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3066         getFlavor().
3067
3068 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * text2.C (setFont): rework using PosIterator (no more recursive)
3071         (setCharFont): no more needed
3072         (setLayout): no more selection cursors fiddling (done by redoCursor)
3073         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3074         destroy remaining ones)
3075
3076 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3079         * lyxtext.h: ditto
3080         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3081         selection cursors
3082         * lyxfunc.C: adjust
3083         * text3.C: adjust + re-allow multi par depth changes
3084         * textcursor.C: simplify a bit
3085
3086 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * src/buffer.C:
3089         * src/lyxlayout.C:
3090         * src/lyxlayout.h:
3091         * src/lyxtext.h:
3092         * src/output_docbook.C:
3093         * src/output_latex.C:
3094         * src/paragraph.C:
3095         * src/paragraph.h:
3096         * src/sgml.C:
3097         * src/sgml.h:
3098         * src/text2.C: Introducing a number of tags parametrizing various
3099         XML formats that we may want to support
3100
3101 2003-11-25  André Pönitz  <poenitz@gmx.net>
3102
3103         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3104
3105         * lyxtext.h (leftMargin/rightMargin): simplify interface
3106
3107         * rowpainter.C:
3108         * text.C:
3109         * text2.C:
3110         * text3.C: adjust
3111
3112 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3113
3114         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3115         master file to any child files. Fixes bug 546.
3116
3117 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3118
3119         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3120
3121 2003-11-24  André Pönitz  <poenitz@gmx.net>
3122
3123         * rowpainter.C: simplification
3124
3125         * text2.C (updateCounters): remove call to redoParagraph on
3126         changed labels as this is far too expensive.
3127
3128 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3129
3130         * converter.C (convert): fix a crash: this function gets
3131         called with buffer == 0 from importer code.
3132
3133 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3134
3135         * text3.C (cursorPrevious): make sure that we do not compare
3136         iterators form different containers.
3137         (cursorNext): ditto
3138
3139         * rowpainter.C (paintSelection): make sure that we do not compare
3140         iterators from different containers.
3141
3142         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3143         iterators from different ParagraphList containers.
3144         [NEXT] ditto
3145
3146         * text2.C (LyXText): change order of initialization slightly
3147         (operator=): new function. copy all variables except cache_par_
3148         (moveUp): make sure that we do not compare iterators from
3149         different ParagraphList constainers.
3150         (moveDown): ditto
3151
3152         * text.C (firstPar): new function
3153         (lastPar): new function
3154         (endPar): new function
3155
3156         * lyxtext.h: move things around and group public functions, public
3157         variables, private functions, private variables
3158
3159 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3160
3161         * factory.C: change call to InsetERT constructor to avoid
3162         additional invocation of method status
3163         * text2.C (toggleInset): remove redundant update() call
3164         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3165         instead of a Bufferview pointer
3166
3167 2003-11-21  André Pönitz  <poenitz@gmx.net>
3168
3169         * rowpainter.C: simplification
3170
3171 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * text3.C (dispatch): make possible to extend a word/row selection
3174         with the mouse
3175
3176 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3177
3178         * lyxtext.h: x0_,y0_ -> xo_,yo_
3179         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3180         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3181         * rowpainter.C (paintRows): paint full paragraphs
3182
3183 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3186         screen coordinates)
3187
3188 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3189
3190         * lyxtext.h: add x0_, y0_
3191         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3192         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3193
3194 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3195
3196         * text2.C (setCursorIntern): move the x_target update here *
3197         * text3.C: change some bv() to true/false in calls to
3198         cursorUp/Down/Right/Left
3199         * cursor.C: use helper function.
3200
3201 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3204         * paragraph_funcs.[Ch]: correct comment
3205         * rowpainter.C: do not paint selections away from bv->cursor()
3206         Fix a long standing selection painting bug.
3207         * text3.C: generalize mouse-selection code to LyXTexts other that
3208         top one
3209         * textcursor.C: do not use y coords if we can use par offsets
3210
3211 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3212
3213         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3214         cursor position after e.g. inset insert)
3215
3216 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * lyxfind.C (replace): adjust to locking removal + some
3219         code simplification
3220
3221 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3222
3223         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3224         of the path
3225
3226 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3227
3228         * lyxlayout.[Ch]:
3229         * output_docbook.C: XML sanitation: new layout
3230         parameters InnerTag and CommandDepth
3231
3232 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3233
3234         * BufferView_pimpl.C:
3235         * factory.C:
3236         * text3.C: Fix the insertion and modification of button-style
3237         insets
3238
3239 2003-11-13  André Pönitz  <poenitz@gmx.net>
3240
3241         * InsetList.[Ch]: remove deleteLyXText
3242
3243         * paragraph.[Ch]: cache beginOfBody position
3244
3245         * Bidi.C:
3246         * text.C:
3247         * text2.C:
3248         * text3.C: remove superfluous update() calls
3249
3250         * vspace.C: cleanup
3251
3252 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3253
3254         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3255         * BufferView.C (fitLockedInsetCursor): remove
3256         * cursor.[Ch] (getDim): add
3257         * text.C (getRowNearY): add faster version
3258         * text3.C: remove some update calls
3259
3260 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3261
3262         * LaTeXFeatures.C:
3263         * LyXAction.C:
3264         * MenuBackend.C:
3265         * MenuBackend.h:
3266         * dispatchresult.h:
3267         * factory.C:
3268         * lfuns.h:
3269         * lyxfunc.C:
3270         * lyxtextclass.C:
3271         * lyxtextclass.h:
3272         * text3.C: The Character Style /XML short element patch.
3273
3274 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * text3.C:
3277         * factory.C: Small step to solving 'unable to insert some insets'
3278         problem
3279
3280 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * cursor.[Ch] (updatePos): new function for updating the y
3283         position of the tip inset
3284         * bufferview_funcs.C (put_selection_at):
3285         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3286
3287 2003-11-11  André Pönitz  <poenitz@gmx.net>
3288
3289         * text.C: remove big comment on invalid Paragraph pointers as it is
3290         not valid anymore
3291
3292 2003-11-11  André Pönitz  <poenitz@gmx.net>
3293
3294         * text_funcs.[Ch]: merge with ...
3295
3296         * text.C: ... this
3297
3298         * lyxtext.h:
3299         * text2.C:
3300         * text3.C: adjust
3301
3302         * Makefile.am: remove text_funcs.[Ch]
3303
3304 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3305
3306         * cursor.C (getPos): return absolute cached y coord
3307
3308         * BufferView_pimpl.C (fitCursor): new simplistic code
3309         (workAreaDispatch): add a fitCursor call
3310
3311 2003-11-10  André Pönitz  <poenitz@gmx.net>
3312
3313         * BufferView.[Ch]:
3314         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3315
3316 2003-11-10  André Pönitz  <poenitz@gmx.net>
3317
3318         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3319         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3320         indicate that the cursor needs to leave an inset
3321
3322         * lyxtext.h: remove inset locking
3323
3324         * cursor.[Ch]: re-implement functionality provided by inset locking
3325
3326         * BufferView.[Ch]:
3327         * BufferView_pimpl.[Ch]:
3328         * LyXAction.C:
3329         * bufferview_funcs.[Ch]:
3330         * factory.C:
3331         * funcrequest.[Ch]:
3332         * iterators.C:
3333         * lyx_cb.C:
3334         * lyxfind.C:
3335         * lyxfunc.C:
3336         * text.C:
3337         * text2.C:
3338         * text3.C:
3339         * undo.C: adjust
3340
3341 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * PosIterator.[Ch]: replace the stack with a vector, add inset
3344         accesor
3345         * iterators.[C]: adjust
3346
3347 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3350         replaced
3351         * paragraph_funcs.C (readParToken): put the correct id in the
3352         error item, not the id of the top paragraph
3353
3354 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3357         * bufferview_funcs.C (put_selection_at): use the above
3358
3359 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3360
3361         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3362
3363 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3364
3365         * output_linuxdoc.h:
3366         * output_plaintext.h:
3367         * output.h:
3368         * output_docbook.h: add #include statements
3369
3370 2003-11-05  José Matos  <jamatos@lyx.org>
3371
3372         * output_docbook.[Ch]:
3373         * output_latex.[Ch]:
3374         * output_linuxdoc.[Ch]:
3375         * output_plaintext.[Ch]: New files for output formats.
3376         * output.[Ch]: New file for helper functions.
3377
3378         * buffer.[Ch]:
3379         * paragraph_funcs.[Ch]: output functions moved to new files.
3380
3381         * outputparams.h: rename of latexrunparams.h
3382
3383         * LaTeX.[Ch]:
3384         * buffer.[Ch]:
3385         * bufferlist.[Ch]:
3386         * converter.[Ch]:
3387         * exporter.C:
3388         * paragraph.[Ch]:
3389         * paragraph_funcs.[Ch]:
3390         * paragraph_pimpl.[Ch]:
3391         * tabular.[Ch]: rename ascii to plaintext
3392         and LatexRunParams to OutputParams.
3393
3394 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * iterators.[Ch] (text): require bv argument
3397         * undo.C (recordUndo):
3398         * lyxfunc.C (dispatch):
3399         * bufferview_funcs.C (put_selection_at): adjust
3400
3401 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3402
3403         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3404
3405 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3408         nestings
3409
3410 2003-11-04  André Pönitz  <poenitz@gmx.net>
3411
3412         * cursor.[Ch]: restructure
3413
3414         * BufferView.[Ch]:
3415         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3416
3417         * iterators.[Ch] (asCursor): remove
3418
3419         * lfuns.h: remove LFUN_INSET_EDIT
3420
3421         * lyxfunc.C:
3422         * tabular.C:
3423         * text.C:
3424         * text2.C:
3425         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3426
3427 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * lyxfind.[Ch]: complete overhaul
3430         * BufferView_pimpl.C:
3431         * lyxfunc.C: adjust
3432         * paragraph.[Ch] (insert): add
3433
3434 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * BufferView.[Ch]:
3437         * lyxtext.h:
3438         * text.C: remove dead spellcheck code
3439
3440 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * dispatchresult.h: add a val setter
3443
3444         * cursor.C (dispatch): use a tempvar for data_[i]
3445
3446 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * PosIterator.[Ch]: compile fix
3449
3450 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * text.C (cursorPar): deactivate the cursor cache
3453
3454 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3455
3456         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3457
3458 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3459
3460         * text3.C (dispatch): adjust for new DisptchResult semantics.
3461
3462         * lyxfunc.C (dispatch): handle update when return from
3463         Cursor::dispatch, adjust for new DispatchResult semantics.
3464
3465         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3466         DispatchResult(true) mean to not update. Add class functions for
3467         setting dispatched and update, as well as reading.
3468
3469         * cursor.C (dispatch): don't handle update here
3470
3471 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3474         * trans_mgr.C: adjust
3475
3476         * paragraph_funcs.C (readParToken): exception safety
3477
3478         * lyxvc.h: store the vcs pointer in a scoped_ptr
3479         * lyxvc.C: adjust
3480
3481         * lyxsocket.C (serverCallback): exception safety
3482
3483         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3484
3485         * ispell.C (clone): make it return a auto_ptr
3486
3487         * factory.C (createInset): exception safety
3488         (readInset): exception safety
3489
3490         * bufferlist.C (newBuffer): exception safety
3491
3492         * Thesaurus.C (Thesaurus): use initialization for aik_
3493
3494         * MenuBackend.C (expandToc): exception safety.
3495
3496 2003-11-03  André Pönitz  <poenitz@gmx.net>
3497
3498         * buffer.C:
3499         * buffer.h:
3500         * bufferview_funcs.C: remove getInsetFromId()
3501
3502         * lyxcursor.[Ch]:
3503         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3504
3505         * lyxfunc.C:
3506         * text2.C:
3507         * text3.C: adjust
3508
3509 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3510
3511         * PosIterator.C (distance, advance): new
3512         * bufferview_funcs.[Ch] (put_selection_at): new
3513         * iterators.[Ch] (lockPath): new
3514
3515 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3516
3517         * iterators.[Ch] (asPosIterator): added
3518         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3519         * PosIterator.[Ch]: added
3520
3521 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * text3.C:
3524         * lyxfunc.C:
3525         * cursor.C (dispatch):
3526         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3527
3528         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3529         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3530         contructor, add a class function dispatched. Remove operator>=
3531
3532 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3533
3534         * debug.C: only use the default constructor for debugstream
3535         (lyxerr) here.
3536
3537         * main.C (main): include debug.h and setup the lyxerr streambuf
3538         here.
3539
3540 2003-10-31  José Matos  <jamatos@lyx.org>
3541
3542         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3543
3544         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3545         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3546         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3547         * paragraph_pimpl.C (simpleTeXSpecialC):
3548         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3549         add LatexRunParams argument.
3550
3551         * exporter.C (Export): change call accordingly.
3552
3553         * latexrunparams.h: add new member to take care of the other backends.
3554 2003-10-30  José Matos  <jamatos@lyx.org>
3555
3556         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3557         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3558         factorise code for paragraph output.
3559         * buffer.[Ch]:
3560         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3561         move functions.
3562
3563 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * text3.C (dispatch):
3566         * lyxfunc.C (dispatch):
3567         * cursor.C (dispatch):
3568         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3569
3570         * dispatchresult.h: make the dispatch_result_t ctor explicit
3571
3572 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3573
3574         * sgml.[Ch]:
3575         * buffer.C: small refactoring of docbook stuff
3576
3577 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3580         meaning.
3581
3582 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3583
3584         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3585         operator dispatch_result_t, and operators for == != and >=
3586
3587         * cursor.C (dispatch): adjust for operator dispatch_result_t
3588         removal. comment out call to update
3589
3590         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3591
3592 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * text3.C:
3595         * text2.C:
3596         * text.C:
3597         * lyxtext.h:
3598         * lyxfunc.C:
3599         * cursor.C:
3600         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3601         (dispatch):
3602
3603         * dispatchresult.h: new file, DispatchResult broken out of
3604         insets/insetbase.h
3605
3606         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3607
3608 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * text.C (rowBreakPoint): put a hack inside #if 0
3611
3612 2003-10-28  André Pönitz  <poenitz@gmx.net>
3613
3614         * lyxtext.h:
3615         * metricsinfo.C:
3616         * paragraph_funcs.C:
3617         * rowpainter.C:
3618         * text.C:
3619         * text2.C: general cleanup (lots of small stuff)
3620
3621 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3622
3623         * text2.C (cursorEnd): simple fix to the "end key goes to one
3624         before the end on last row" bug
3625
3626 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * text.C (backspace): fix the "zombie characters"
3629
3630 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3633
3634 2003-10-27  André Pönitz  <poenitz@gmx.net>
3635
3636         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3637
3638         * factory.C: handle new InsetPagebreak, InsetLine
3639
3640         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3641         and move handling into new InsetPagebreak, InsetLine
3642
3643         * BufferView_pimpl.C:
3644         * LyXAction.C:
3645         * ParagraphParameters.C:
3646         * ParameterStruct.h:
3647         * lyxfunc.C:
3648         * lyxtext.h:
3649         * paragraph.C:
3650         * paragraph.h:
3651         * paragraph_funcs.C:
3652         * paragraph_pimpl.C:
3653         * rowpainter.C:
3654         * text.C:
3655         * text2.C:
3656         * text3.C: adjust
3657
3658 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3659
3660         * text.C:
3661         * lyxrow_funcs.[Ch]:
3662         * Bidi.C:
3663         * paragraph.C:
3664         * lyxtext.h:
3665         * rowpainter.C:
3666         * text2.C:
3667         * text3.C: remove lastPos uses in favour of Row::endpos
3668
3669 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * undo.C (performUndoOrRedo): fix two crashes by setting a
3672         cursor by hand and reordering some calls. Use bv->lockInset instead
3673         of inset->edit because the latter loses cursor information
3674
3675 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3678         by Martin
3679         (rowBreakPoint): fix width. change point to point + 1.
3680         Add a missing check.
3681
3682 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3683
3684         * MenuBackend.C:
3685         * lyxfunc.C: fix (at least partly) the problems
3686         with the Nav menu and headers inside branch insets
3687         reported by Kayvan
3688
3689 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * paragraph.C (getChar): add strong asserts
3692
3693         * lyxrow_funcs.C (lastPos): remove hideous hack
3694
3695         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3696         (fill): adjust to that (avoid an infinite loop)
3697
3698 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3699
3700         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3701
3702 2003-10-23  André Pönitz  <poenitz@gmx.net>
3703
3704         * RowList_fwd.h: change list<> to vector<> to gain speed
3705         after suggestion from Alfredo
3706
3707 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * lyxtext.h: move the bidi stuff from here...
3710         * text.C: and here
3711         * text2.C: and here
3712         * Bidi.[Ch]: ... to here
3713
3714 2003-10-23  André Pönitz  <poenitz@gmx.net>
3715
3716         * lyxtext.h:
3717         * text.C (isLastRow, isFirstRow): new functions
3718
3719         * paragraph.h: new width cache member
3720
3721         * rowpainter.C: replace RowList::iterator with Row & where possible
3722
3723         * lyxfunc.C: replace several view()->text with a single call
3724
3725         * toc.C: fix 'unused' warning
3726
3727 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3730         when woring with stream::pos_type
3731         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3732
3733 2003-10-22  André Pönitz  <poenitz@gmx.net>
3734
3735         * lyxtext.h:
3736         * text.C: use Row & instead of RowList::iterator
3737
3738         * lyxrow.h: rename end() to endpos()
3739
3740         * rowpainter.C:
3741         * text.C:
3742         * text2.C: adjust
3743
3744 2003-10-22  Angus Leeming  <leeming@lyx.org>
3745
3746         * buffer.[Ch] (fully_loaded): new member function, returning true
3747         only when the file has been loaded fully.
3748         Used to prevent the premature generation of previews and by the
3749         citation inset to prevent computation of the natbib-style label.
3750
3751         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3752         templates are all set up.
3753
3754         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3755
3756 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3757
3758         * text.C: fixed an "oops" in the "is a bit silly"
3759         bug fix
3760
3761 2003-10-21  André Pönitz  <poenitz@gmx.net>
3762
3763         * FuncStatus.[Ch]: small stuff, whitespace
3764
3765         * lyxfont.[Ch]: operator<<() for debug reasons
3766
3767         * lyxfunc.C:
3768         * lyxrow_funcs.C:
3769         * lyxtext.h: whitespace, spelling
3770
3771         * paragraph.C: naming of variables
3772
3773         * text.C:
3774         * text2.C: small stuff
3775
3776
3777 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3778
3779         * text.C: (1) finish off the inset display() work;
3780         (2) fix the "is a bit silly" bug (accessing char
3781         past end of par).
3782
3783 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3784
3785         * text.C: re-introduce display() for insets, fixing the
3786         various bugs (stretch of line above, math inset
3787         positioning, ...)
3788
3789 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3790
3791         * text.C (rightMargin): remove spurious semicolon
3792
3793         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3794         1415)
3795
3796 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3797
3798         * text3.C: fix one crash due to wrong cursor def
3799
3800 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * vc-backend.C (scanMaster): make the regex static
3803
3804         * LaTeX.C (scanAuxFile): make the regexs static
3805
3806         * text3.C (doInsertInset, dispatch, dispatch):
3807         * text2.C (cursorUp, cursorDown):
3808         * text.C (selectNextWordToSpellcheck):
3809         * BufferView_pimpl.C (dispatch):
3810         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3811
3812 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3813
3814         * lyxsocket.C: include <cerrno>
3815
3816 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * lyxfunc.C (dispatch): remove textcache stuff
3819
3820         * bufferlist.C (release): remove textcache stuff
3821         (closeAll): ditto
3822
3823         * TextCache.C: delete file
3824         * TextCache.h: delete file
3825
3826         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3827
3828         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3829         delete of the bv_->text.
3830         (resizeCurrentBuffer): remove texcache stuff
3831         (workAreaResize): ditto
3832
3833 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3834
3835         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3836         action.
3837
3838 2003-10-16  André Pönitz  <poenitz@gmx.net>
3839
3840         * lyxrow.[Ch]:
3841         * paragraph.h:
3842         * rowpainter.C:
3843         * text.C:
3844         * text2.C:
3845         * text3.C: speed up by storing y positions per paragraph plus per-row
3846         offset instead of having a 'full' y position in the row.
3847
3848 2003-10-15  André Pönitz  <poenitz@gmx.net>
3849
3850         * iterators.[Ch]:
3851         * iterators.[Ch]:
3852         * undo.[Ch]: make undo aware of inner insets
3853
3854 2003-10-14  Angus Leeming  <leeming@lyx.org>
3855
3856         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3857         static member functions LyX::ref() and LyX::cref.
3858         (lastfiles): new accessor functions for the new lastfiles_ member var.
3859         (addLyXView, views_): add a new LyXView to the list of views_.
3860         (updateInset): loop over all LyXViews to call their own updateInset
3861         member function, returning a pointer to the Buffer owning the inset.
3862
3863         * BufferView_pimpl.C (loadLyXFile):
3864         * MenuBackend.C (expandLastfiles):
3865         * bufferlist.C (MenuWrite, QuitLyX):
3866         lastfiles is no longer a global variable.
3867         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3868
3869         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3870         static function. Access through LyX::cref().emergencyCleanup().
3871
3872 2003-10-14  André Pönitz  <poenitz@gmx.net>
3873
3874         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3875
3876         * undo.[Ch]: restoring part of 'undo in insets'
3877
3878         * Makefile.am:
3879         * undo_funcs.[Ch]: merge with undo.[Ch]
3880
3881         * tabular.C: small cleansing stuff
3882
3883 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3884
3885         * paragraph_funcs.C (readParToken): report unknown insets as error
3886         boxes. Use the outer paragraph as location (also for unknown
3887         tokens).
3888
3889         * factory.C (readInset): do not abort on reading an unknown inset.
3890         Eat it and return 0.
3891
3892 2003-10-13  Angus Leeming  <leeming@lyx.org>
3893
3894         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3895
3896         * lyxrc.C: displayTranslator is now a function,
3897         declared in GraphicsTypes.h.
3898
3899 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3900
3901         * format.C: new placeholder $$a to pass the socket address.
3902
3903         * bufferlist.[Ch]: new function getBufferFromTmp.
3904
3905         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3906           files in the temporary dir.
3907
3908 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3909
3910         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3911
3912         * Makefile.am: add lyxsocket.[Ch].
3913
3914         * lyx_main.C (error_handler): handle SIGPIPE.
3915
3916 2003-10-13  André Pönitz  <poenitz@gmx.net>
3917
3918         * BufferView_pimpl.C:
3919         * lyxtext.h:
3920         * text.C:
3921         * text2.C:
3922         * text3.C:
3923         * undo_funcs.[Ch]: use paroffset_type instead of
3924           ParagraphList::iterators to prevent multiple conversion
3925           (and get a more robust interface)
3926
3927 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3930         * lyxtext.h: ditto
3931         * text3.C (dispatch): ditto
3932
3933 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3936         move the onlyfile, use onlyfile instead of foundfile in a couple
3937         of places.
3938
3939         * DepTable.C (update): flush the error stream a bit more
3940
3941 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * lyxserver.C (callback): adjust
3944
3945         * lyxfunc.C (getStatus): add a missing brace in commented code
3946         (ensureBufferClean): reindent
3947         (dispatch): delete version taking a string
3948
3949 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * LaTeX.C (deplog): move found file handlig from here...
3952         (handleFoundFile): .. to new function here.
3953         (deplog): make sure to discover several files mentioned on the
3954         same log line.
3955
3956 2003-10-10  André Pönitz  <poenitz@gmx.net>
3957
3958         * lyxfunc.C:
3959         * lyxtext.h:
3960         * tabular.C:
3961         * text.C:
3962         * text2.C:
3963         * text3.C: fix some of the tabular crashes
3964
3965 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3966
3967         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3968
3969         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3970
3971 2003-10-09  André Pönitz  <poenitz@gmx.net>
3972
3973         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3974
3975         * BufferView.C:
3976         * BufferView_pimpl.C:
3977         * bufferview_funcs.C:
3978         * lyx_cb.C:
3979         * lyxcursor.C:
3980         * lyxfind.C:
3981         * lyxfunc.C:
3982         * lyxtext.h:
3983         * text.C:
3984         * text2.C:
3985         * text3.C:
3986         * text_funcs.[Ch]:
3987         * textcursor.[Ch]:
3988         * undo_funcs.C: adjust
3989
3990 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * text2.C (incrementItemDepth): new function, use a backtracking
3993         algorithm to discover the correct item depth.
3994         (resetEnumCounterIfNeeded): new function, use a backtracking
3995         algorithm to discover if counter reset is needed.
3996         (setCounter): use them. Simplify a bit. Add different labels for
3997         different item depths for itemize.
3998
3999         * paragraph.C (Paragraph): remove initialization of enumdepth
4000         (operator=): ditto
4001
4002         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4003         enumerate and itemize. Change the type of itemdepth to signed char.
4004
4005 2003-10-08  André Pönitz  <poenitz@gmx.net>
4006
4007         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4008           thing assignable.
4009         * text.C:
4010         * text2.C: adjust
4011
4012         * tabular.[Ch]: fix crash after 'row-insert'
4013
4014 2003-10-08  Angus Leeming  <leeming@lyx.org>
4015
4016         Fix doxygen warnings.
4017
4018         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4019         Remove CutAndPaste:: prefix from header file declaration.
4020
4021         * LColor.h (fill): remove LColor:: prefix from declaration.
4022
4023         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4024         use lyx::depth_type rather than Paragraph::depth_type so that
4025         header file and .C file match.
4026
4027         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4028
4029         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4030         * aspell.C: \file aspell_local.C -> \file aspell.C
4031         * gettext.C: \file gettext.C -> \file src/gettext.C
4032         * gettext.h: \file gettext.h -> \file src/gettext.h
4033         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4034         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4035         * text.C: \file text.C -> \file src/text.C
4036
4037         * toc.C: move comment so that doxygen is not confused.
4038
4039 2003-10-07  Angus Leeming  <leeming@lyx.org>
4040
4041         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4042
4043 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4044
4045         * aspell.C:
4046         * aspell_local.h: add forgotten std::string's.
4047
4048 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4049
4050         * LaTeXFeatures.C:
4051         * LyXAction.C:
4052         * factory.C:
4053         * lfuns.h:
4054         * lyxfunc.C:
4055         * text3.C: The Box patch. Fancybox support, minipage, parbox
4056
4057 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4058
4059         * CutAndPaste.h:
4060         * DepTable.h:
4061         * FloatList.h:
4062         * LaTeXFeatures.h:
4063         * ParagraphParameters.h:
4064         * TextCache.h:
4065         * Thesaurus.h:
4066         * bufferlist.h:
4067         * exporter.h:
4068         * importer.h:
4069         * lastfiles.h:
4070         * lyxfind.h:
4071         * lyxfont.h:
4072         * lyxlex.h:
4073         * lyxtextclasslist.h:
4074         * messages.h:
4075         * paragraph.h:
4076         * paragraph_pimpl.C:
4077         * textcursor.h: add <string> and other small fixes to make Lars'
4078         std::string patch compile with STLport.
4079
4080 2003-10-06  Angus Leeming  <leeming@lyx.org>
4081
4082         * LColor.h: Add missing #include <string>.
4083
4084 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * All most all file in all subdirs: Make <string> be the prefered
4087         way of getting to std::string, add using declarations.
4088
4089 2003-10-06  André Pönitz  <poenitz@gmx.net>
4090
4091         * metricsinfo.C: initialize LyXFont before changing attribute.
4092         (fixes the 'math in \emph is upright' bug)
4093
4094 2003-10-06  André Pönitz  <poenitz@gmx.net>
4095
4096         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4097
4098 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4099
4100         * graph.C:
4101         * paragraph_pimpl.C: Small fixes to build using STLport
4102
4103 2003-10-02  André Pönitz  <poenitz@gmx.net>
4104
4105         * lyxfunc.C:
4106         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4107
4108 2003-10-01  André Pönitz  <poenitz@gmx.net>
4109
4110         * factory.C: assert early
4111
4112 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * lyx_main.C: remove the global debug object
4115
4116         * debug.h: adjust for new debugstream
4117
4118         * debug.C: adjust for new debugstream and keep the global debug
4119         object here.
4120
4121 2003-09-22  Angus Leeming  <leeming@lyx.org>
4122
4123         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4124         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4125         an incomplete class LyXFont.
4126
4127 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4128
4129         * factory.C: bug fix in branches
4130
4131 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * lyxfunc.C (processKeySym): adjust
4134         (dispatch): adjust
4135         (dispatch): change arg name from ev to func, adjust
4136         (sendDispatchMessage): ditto
4137
4138         * lyx_main.C (defaultKeyBindings): adjust keybindings
4139         (deadKeyBindings): ditto
4140
4141         * kbsequence.C (addkey): return a FuncRequest
4142
4143         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4144
4145         * kbmap.C (bind): take a FuncRequest as arg, adjust
4146         (read): adjust
4147         (lookup): adjust
4148         (defkey): change to take a FuncRequest as arg, adjust
4149         (findbinding): take a FuncRequest as arg, adjust.
4150
4151         * funcrequest.h (operator=): added
4152
4153         * funcrequest.C (FuncRequest): default kb_action changed from
4154         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4155
4156         * buffer.C (dispatch): simplify
4157         (dispatch): adjust to take a FuncRequest as arg, adjust
4158
4159         * boost.C (assertion_failed): change assertion message slightly
4160
4161         * ToolbarBackend.C (read): simplify
4162
4163         * MenuBackend.C (binding): adjust call to findbinding, add a
4164         message if no binding is found.
4165         (read): simplify
4166         (expandToc): correct by adding a empty FuncRequest
4167
4168         * LyXAction.C: include <boost/assert.hpp>
4169         (isPseudoAction): delete function
4170         (LookupFunc): change name to...
4171         (lookupFunc): this. change return type to FuncRequest.
4172         (getActionName): take kb_action as arg, simplify
4173         (funcHasFlag): add an assert, simplify.
4174
4175 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * toc.C (action): return a FuncRequest, simplify
4178
4179         * lyxfunc.C (processKeySym): adjust
4180         (getStatus): delete version that takes an int.
4181         (getStatus): adjust
4182         (dispatch): delete version that takes action as int
4183         (dispatch): adjust
4184         (sendDispatchMessage): simplify and adjust
4185
4186         * funcrequest.C (getArg): take unsigned int as arg
4187
4188         * ToolbarBackend.C (read): adjust
4189         (add): delete version that takes func as a string.
4190         (getIton): take a FuncRequest as arg
4191
4192         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4193         action.
4194
4195         * MenuBackend.C (MenuItem): add a new construct that only takes a
4196         Kind, simplify the constructor use for submenus.
4197         (add): adjust
4198         (expandLastfiles): adjust
4199         (expandDocuments): adjust
4200         (expandFormats): adjust
4201         (expandFloatListInsert): adjust
4202         (expandFloatInsert): adjust
4203         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4204
4205         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4206         Remove class variables lyx_pseudo_map and lyx_arg_map
4207
4208         * LyXAction.C (searchActionArg): delete function
4209         (getPseudoAction): delete function
4210         (retrieveActionArg): delete function
4211         (LookupFunc): make it return kb_action, simplify.
4212         (getActionName): simplify
4213
4214         * factory.C (createInset): fix new bug
4215
4216 2003-09-19  Angus Leeming  <leeming@lyx.org>
4217
4218         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4219         masterFilename_ parameter in the include inset.
4220
4221         * factory.C (createInset): changes due to the changes to InsetInclude.
4222
4223 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4224
4225         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4226
4227 2003-09-18  Angus Leeming  <leeming@lyx.org>
4228
4229         * buffer.C:
4230         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4231         Inset::fillWithBibKeys.
4232         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4233
4234 2003-09-18  Angus Leeming  <leeming@lyx.org>
4235
4236         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4237         variables.
4238         (ctor): pass and store a 'Buffer const &'
4239         (buffer): new member function.
4240
4241         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4242         '*this' to the LaTeXFeatures ctor.
4243
4244 2003-09-18  Angus Leeming  <leeming@lyx.org>
4245
4246         * LColor.h:
4247         * lyxfont.C:
4248         * lyxfont.h:
4249         * lyxtext.h:
4250         * text.C: rename EnumLColor as LColor_color.
4251
4252 2003-09-18  Angus Leeming  <leeming@lyx.org>
4253
4254         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4255         remove #include "insets/insetbase.h" from cursor.h.
4256
4257 2003-09-18  Angus Leeming  <leeming@lyx.org>
4258
4259         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4260         InsetOld_code to remove #include "inset.h".
4261
4262         * iterators.C: add #include "insets/inset.h"
4263
4264 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4265
4266         * BufferView.C: remove more locking stuff that apparently doesn't
4267         do anything sensible.
4268
4269 2003-09-16  André Pönitz  <poenitz@gmx.net>
4270
4271         * paragraph.[Ch]:
4272         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4273           performance boost.
4274
4275 2003-09-16  Angus Leeming  <leeming@lyx.org>
4276
4277         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4278
4279         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4280         arg/return type.
4281
4282         * paragraph.h: remove #include "lyxfont.h". Forward declare
4283         LyXFont_size.
4284
4285 2003-09-16  Angus Leeming  <leeming@lyx.org>
4286
4287         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4288         of support/textutils.h.
4289         (isWord): move the contents of support/textutils.h's IsWordChar here.
4290
4291         * buffer.C:
4292         * lyxfind.C:
4293         * rowpainter.C:
4294         * text.C:
4295         * text2.C: add #include "paragraph.h".
4296
4297         * rowpainter.C:
4298         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4299
4300 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * main.C:
4303         * lyx_main.C:
4304         * lyx_cb.C:
4305         * buffer.C:
4306         * LaTeX.C: use namespace alias for lyx::support::os
4307
4308 2003-09-16  Angus Leeming  <leeming@lyx.org>
4309
4310         * bufferparams.C:
4311         * bufferview_funcs.C:
4312         * factory.C:
4313         * lyxfunc.C:
4314         * paragraph_pimpl.C:
4315         * rowpainter.C:
4316         * text.C: add #include "LColor.h".
4317
4318 2003-09-16  Angus Leeming  <leeming@lyx.org>
4319
4320         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4321         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4322         return LyXFont &.
4323         Store the FontBits::color variable as an int rather than as an
4324         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4325         file.
4326
4327         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4328         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4329         string calls together.
4330
4331         * lyxrc.C: add #include "LColor.h".
4332
4333 2003-09-15  Angus Leeming  <leeming@lyx.org>
4334
4335         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4336         a cow_ptr.
4337
4338 2003-09-15  Angus Leeming  <leeming@lyx.org>
4339
4340         * LColor.h: add an EnumLColor wrapper for LColor::color.
4341
4342         * lyxfont.[Ch] (color, setColor, realColor):
4343         * lyxtext.h, text.C (backgroundColor):
4344         pass EnumLColor args to/from the functions, rather than LColor::color
4345         ones.
4346
4347         * lyxfont.h:
4348         * lyxtext.h: forward declare EnumLColor.
4349
4350         * lyx_main.C: add #include "LColor.h".
4351
4352 2003-09-15  Angus Leeming  <leeming@lyx.org>
4353
4354         * .cvsignore: add lyx-gtk.
4355
4356 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * Chktex.C
4359         * LaTeX.C
4360         * LaTeXFeatures.C
4361         * ParagraphParameters.C
4362         * Spacing.C
4363         * buffer.C
4364         * bufferparams.C
4365         * bufferview_funcs.C
4366         * chset.C
4367         * counters.C
4368         * funcrequest.C
4369         * lyxfont.C
4370         * lyxgluelength.C
4371         * lyxlength.C
4372         * paragraph.C
4373         * paragraph_funcs.C
4374         * text3.C
4375         * vc-backend.C: remove usage of STRCONV
4376
4377 2003-09-15  Angus Leeming  <leeming@lyx.org>
4378
4379         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4380         explicitly define the color passed to the painter.
4381
4382 2003-09-15  Angus Leeming  <leeming@lyx.org>
4383
4384         * bufferparams.C (BufferParams): reorder member initializers to avoid
4385         compiler warning.
4386
4387 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4390         * text.C (updateRowPositions): remove an unusual nop
4391
4392 2003-09-12  André Pönitz  <poenitz@gmx.net>
4393
4394         * BufferView_pimpl.C:
4395         * Bullet.C:
4396         * layout.h:
4397         * lyxfunc.C:
4398         * lyxlayout.[Ch]:
4399         * lyxtextclass.C:
4400         * rowpainter.C:
4401         * text.C:
4402         * text2.C:
4403         * Counters.[Ch]: finish the 'automatic counters' job
4404
4405 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4406
4407         * aspell.C: include <boost/assert.cpp> (compile fix)
4408
4409 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4410
4411         * boost.C (assertion_failed): use lyx::support::abort instead of
4412         assert.
4413
4414 2003-09-10  Angus Leeming  <leeming@lyx.org>
4415
4416         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4417         with their _fwd progeny.
4418
4419 2003-09-09  Angus Leeming  <leeming@lyx.org>
4420
4421         134 files throughtout the source tree: replace 'using namespace abc;'
4422         directives with the appropriate 'using abc::xyz;' declarations.
4423
4424 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4425
4426         * boost.C (emergencyCleanup): moved here from LAssert.c
4427         (assertion_failed): new function, called by BOOST_ASSERT
4428
4429         * several files: change Assert to BOOST_ASSERT
4430
4431 2003-09-09  Angus Leeming  <leeming@lyx.org>
4432
4433         * buffer.[Ch]: Add an Impl class and move Buffer's member
4434         variables into it. As a result move several header files out of
4435         buffer.h.
4436
4437         Add header files to lots of .C files all over the tree as a result.
4438
4439 2003-09-09  Angus Leeming  <leeming@lyx.org>
4440
4441         * buffer.[Ch]: make Buffer's member variables private. Add
4442         accessor functions.
4443
4444         Lots of changes all over the tree as a result.
4445
4446 2003-09-08  Angus Leeming  <leeming@lyx.org>
4447
4448         * graph.C: #include <config.h>.
4449
4450 2003-09-08  Angus Leeming  <leeming@lyx.org>
4451
4452         * BranchList.C:
4453         * BufferView.C:
4454         * BufferView_pimpl.C:
4455         * CutAndPaste.C:
4456         * DepTable.C:
4457         * LaTeX.C:
4458         * LaTeXFeatures.C:
4459         * LyXAction.C:
4460         * MenuBackend.C:
4461         * TextCache.C:
4462         * aspell.C:
4463         * buffer.C:
4464         * bufferlist.C:
4465         * changes.C:
4466         * chset.C:
4467         * converter.C:
4468         * counters.C:
4469         * debug.C:
4470         * graph.C:
4471         * ispell.C:
4472         * lyx_cb.C:
4473         * lyxfind.C:
4474         * lyxfunc.C:
4475         * lyxlex_pimpl.C:
4476         * lyxrc.C:
4477         * lyxrow.C:
4478         * paragraph.C:
4479         * rowpainter.C:
4480         * texrow.C:
4481         * text.C:
4482         * text2.C:
4483         * toc.C: remove redundant using directives.
4484
4485 2003-09-07  Angus Leeming  <leeming@lyx.org>
4486
4487         * LaTeXFeatures.h: remove #include "support/types.h".
4488         * ToolbarBackend.h: remove #include <algorithm>.
4489         * changes.h: remove #include <ctime>.
4490         * debug.h: remove #include <iosfwd>.
4491         * graph.h: remove #include "support/std_string.h".
4492         * lyx_main.h: remove #include <csignal>.
4493         * lyxlex_pimpl.h: remove #include <fstream>.
4494         * sgml.h: remove #include <algorithm>, <utility>.
4495         * toc.h: remove #include "support/std_ostream.h".
4496         Add #include <iosfwd>.
4497
4498 2003-09-07  Angus Leeming  <leeming@lyx.org>
4499
4500         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4501
4502         * converter.h: forward declare LatexRunParams.
4503         * encoding.h: remove #include "lyxrc.h".
4504         * lyxtext.h: remove #include "LColor.h".
4505         * lyxtextclass.h: remove #include "support/types.h".
4506         * trans.h: remove #include "tex-accent.h".
4507         * trans_mgr.h: remove #include "tex-accent.h".
4508         * insets/inset.h: remove #include "support/types.h", <vector>.
4509         * insets/insetcollapsable.h: remove #include "LColor.h".
4510         * insets/insetinclude.h: remove #include "dimension.h".
4511         * insets/insetlatexaccent.h: remove #include "dimension.h".
4512         * insets/insetoptarg.h:: remove #include "insettext.h".
4513         * insets/insettext.h: remove #include "dimension.h",
4514         <boost/shared_ptr.hpp>
4515
4516         * insets/renderers.h: add #include "dimension.h".
4517         * insets/updatableinset.h: add #include "support/types.h".
4518
4519         * many .C files: Associated changes.
4520
4521 2003-09-06  Angus Leeming  <leeming@lyx.org>
4522
4523         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4524         one, inside testInvariant.
4525
4526         * PrinterParams.C: new file.
4527         * PrinterParams.[Ch]: move the function bodies out of line.
4528
4529 2003-09-06  Angus Leeming  <leeming@lyx.org>
4530
4531         * ParagraphParameters.h: forward declare ParameterStruct rather than
4532         including its header file.
4533         (depth): moved out-of-line.
4534
4535 2003-09-06  Angus Leeming  <leeming@lyx.org>
4536
4537         * BufferView_pimpl.h:
4538         * kbmap.h:
4539         * kbsequence.h:
4540         * lyxfunc.h: forward declare LyXKeySym rather than
4541         #include "frontends/LyXKeySym.h".
4542
4543         * BufferView_pimpl.C:
4544         * kbmap.C:
4545         * kbsequence.C:
4546         * lyxfunc.C: associated changes.
4547
4548 2003-09-06  Angus Leeming  <leeming@lyx.org>
4549
4550         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4551         As a result, can remove the #include "insets/inset.h" from BufferView.h
4552
4553 2003-09-06  Angus Leeming  <leeming@lyx.org>
4554
4555         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4556         As a result, can remove the #include "insets/inset.h" from BufferView.h
4557
4558 2003-09-06  Angus Leeming  <leeming@lyx.org>
4559
4560         * buffer_funcs.C:
4561         * buffer.h:
4562         * bufferlist.C:
4563         * BufferView.C:
4564         * bufferview_funcs.C:
4565         * BufferView_pimpl.C:
4566         * CutAndPaste.C:
4567         * lyx_cb.C:
4568         * lyxfunc.C:
4569         * paragraph.h:
4570         * ParagraphParameters.C:
4571         * tabular.C:
4572         * text3.C:
4573         * toc.C:
4574         * undo_funcs.C:
4575         * frontends/controllers/ControlDocument.C:
4576         * insets/insetcaption.C: rearrange the #includes into some sort of
4577         coherent order.
4578
4579         * buffer.h: remove #includes ErrorList.h, undo.h
4580
4581 2003-09-06  Angus Leeming  <leeming@lyx.org>
4582
4583         * support/types.h: add a 'depth_type' typedef, used to store the
4584         nesting depth of a paragraph.
4585
4586         * paragraph.h:
4587         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4588         defining explicitly.
4589
4590         * buffer.h:
4591         * paragraph_funcs.h:
4592         * ParagraphParameters.h:
4593         * sgml.h: use lyx::depth_type rather than Paragraph or
4594         ParameterStruct's depth_type.
4595
4596         * buffer.h
4597         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4598
4599         * BufferView.C:
4600         * BufferView_pimpl.C:
4601         * CutAndPaste.C:
4602         * ParagraphParameters.C:
4603         * buffer_funcs.C:
4604         * bufferlist.C:
4605         * bufferview_funcs.C:
4606         * lyx_cb.C:
4607         * lyxfunc.C:
4608         * tabular.C:
4609         * text3.C:
4610         * toc.C:
4611         * undo_funcs.C:
4612         * frontends/LyXView.C:
4613         * frontends/controllers/ControlDocument.C:
4614         * frontends/controllers/ControlErrorList.C:
4615         * insets/insetbibitem.C:
4616         * insets/insetbranch.C:
4617         * insets/insetcaption.C:
4618         * insets/insetcollapsable.C:
4619         * insets/insetenv.C:
4620         * insets/insetert.C:
4621         * insets/insetfloat.C:
4622         * insets/insetfoot.C:
4623         * insets/insetfootlike.C:
4624         * insets/insetnewline.C:
4625         * insets/insetquotes.C:
4626         * insets/insettabular.C:
4627         * insets/insettext.C:
4628         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4629
4630         * frontends/controllers/ControlChanges.C: #include "changes.h".
4631
4632 2003-09-06  Angus Leeming  <leeming@lyx.org>
4633
4634         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4635         than #including paragraph.h.
4636
4637         * ParagraphList.h:
4638         * RowList.h: deleted. Superfluous.
4639
4640         * CutAndPaste.h:
4641         * iterators.h:
4642         * lyxcursor.h:
4643         * lyxtext.h:
4644         * text_funcs.h:
4645         * undo.h:
4646         * undo_funcs.h:
4647         * insets/inset.h:
4648         * insets/insettext.h: use ParagraphList_fwd.h rather than
4649         ParagraphList.h.
4650
4651         * paragraph.h: don't forward declare ParagraphList.
4652
4653         * buffer.h:
4654         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4655         rather than ParagraphList.h. paragraph.h is still needed for the
4656         Paragraph::depth_type parameters.
4657
4658         * textcursor.h: enable it to compile stand-alone in light of the
4659         above changes.
4660
4661         * bufferview_funcs.C:
4662         * iterators.C:
4663         * lyxfunc.C:
4664         * lyxrow_funcs.C:
4665         * paragraph.C:
4666         * rowpainter.C:
4667         * text.C:
4668         * text2.C:
4669         * text3.C:
4670         * text_funcs.C:
4671         * textcursor.C:
4672         * undo.C:
4673         * frontends/controllers/ControlParagraph.C:
4674         * frontends/controllers/ControlTabular.C:
4675         * insets/insetmarginal.C:
4676         * insets/insetminipage.C:
4677         * insets/insetnote.C:
4678         * insets/insetoptarg.C: add header files needed to compile again.
4679
4680 2003-09-06  Angus Leeming  <leeming@lyx.org>
4681
4682         * RowList_fwd.h: new file, forward-declaring Row rather than
4683         #including lyxrow.h.
4684
4685         * lyxrow_funcs.h:
4686         * lyxtext.h:
4687         * paragraph.h:
4688         * insets/insettext.h: use it instead of RowList.h
4689
4690         * bufferview_funcs.C:
4691         * lyxfunc.C:
4692         * lyxrow_funcs.C:
4693         * paragraph.C:
4694         * rowpainter.C:
4695         * text.C:
4696         * text2.C:
4697         * text3.C: #include "RowList.h".
4698
4699 2003-09-05  Angus Leeming  <leeming@lyx.org>
4700
4701         * factory.C (createInset):
4702         * vspace.C (c-tor): replace sscanf call with an istringstream.
4703         * ispell.C: re-add missing HP/UX headers.
4704         * lyxserver.C: re-add missing  os2 headers.
4705
4706 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4707
4708         * BranchList.C:
4709         * graph.C:
4710         * ispell.C:
4711         * lastfiles.C:
4712         * lyx_cb.C:
4713         * lyxserver.C:
4714         * texrow.C:
4715         * text3.C: re-add missing system headers, needed for 2.95.2.
4716
4717 2003-09-05  Angus Leeming  <leeming@lyx.org>
4718
4719         Changes most place everywhere due to the removal of using directives
4720         from support/std_sstream.h.
4721
4722 2003-09-05  Angus Leeming  <leeming@lyx.org>
4723
4724         Replace LString.h with support/std_string.h,
4725         Lsstream.h with support/std_sstream.h,
4726         support/LIstream.h with support/std_istream.h,
4727         support/LOstream.h with support/std_ostream.h.
4728
4729         Changes resulting throughout the tree.
4730
4731 2003-09-05  Angus Leeming  <leeming@lyx.org>
4732
4733         * sgml.h: ensure that the header file can be compiled stand-alone.
4734         * *.C: strip out redundant #includes. (320 in total.)
4735
4736 2003-09-04  Angus Leeming  <leeming@lyx.org>
4737
4738         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4739         here (from getPackages).
4740
4741         * debug.[Ch]: add a new EXTERNAL tag.
4742
4743 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4744
4745         * text2.C (cursorEnd): simplify
4746         (setCursor): adjust
4747         (getColumnNearX): adjust
4748
4749         * text.C (computeBidiTables): adjust
4750         (fill): adjust
4751
4752         * rowpainter.C (paintChars): adjust
4753         (paintSelection): adjust
4754         (paintChangeBar): adjust
4755         (paintText): adjust
4756
4757         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4758         lastPos instead.
4759         (numberOfSeparators): adjust
4760
4761 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4762
4763         * LyXAction.C:
4764         * box.[Ch]:
4765         * lfuns.h:
4766         * lyxfunc.C:
4767         * text3.C: Restricts the mouse click functionality
4768         of insets like bibtex, include, toc and floatlist to the visible
4769         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4770         up the dialogs. Cursor has to be in front of the inset (i.e.
4771         start of row) for this to function.
4772
4773 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4774
4775         * bufferview_funcs.C (currentState): output row information
4776
4777 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4778
4779         * bufferview_funcs.C (currentState): output paragraph position
4780
4781 2003-09-04  Angus Leeming  <leeming@lyx.org>
4782
4783         * FloatList.h: move out #include "Floating.h".
4784         * LaTeX.h: move out #include "DepTable.h".
4785         * LyXAction.h: move out #include "funcrequest.h".
4786         * buffer.h: move out #include "author.h", "iterators.h".
4787         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4788         * lyx_main.h: move out #include "errorlist.h".
4789         * lyxfunc.h: move out #include "FuncStatus.h".
4790         * lyxtext: move out #include "lyxcursor.h".
4791         * paragraph_pimpl.h: move out #include "counters.h".
4792
4793 2003-09-03  Angus Leeming  <leeming@lyx.org>
4794
4795         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4796         preamble_snippets list, enabling us to add snippets to the preamble
4797         only if the snippet was not there already.
4798
4799 2003-09-04  Angus Leeming  <leeming@lyx.org>
4800
4801         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4802
4803 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4806         update
4807
4808 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4809
4810         * BranchList.C: point fix, earlier forgotten
4811
4812 2003-09-02  Angus Leeming  <leeming@lyx.org>
4813
4814         * box.C (contains): renamed from 'contained' after a fantastic
4815         amount of hot air.
4816
4817 2003-09-02  John Levon  <levon@movementarian.org>
4818
4819         * BufferView.C:
4820         * lyxcursor.h:
4821         * lyxcursor.C:
4822         * lyxfunc.C:
4823         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4824
4825 2003-09-02  John Levon  <levon@movementarian.org>
4826
4827         * text2.C: simplification of cursorEnd(), including partial
4828         fix for bug 1376
4829
4830 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * buffer.C (readFile): add a space
4833
4834 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4837
4838 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * buffer.C (readFile): new function, take a filename and a
4841         ParagraphList::iterator
4842         (readFile): adjust
4843         (readFile): adjust, make it private. don't use setStream, make
4844         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4845         always contain the filename.
4846
4847         * BufferView.C (insertLyXFile): simplify and make it work for
4848         gzipped files.
4849
4850 2003-08-30  John Levon  <levon@movementarian.org>
4851
4852         * Makefile.am: fix dist (from Kayvan)
4853
4854 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * most files: change to use const Buffer refs
4857
4858 2003-08-27  André Pönitz  <poenitz@gmx.net>
4859
4860         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4861         on top of ownerPar().
4862
4863 2003-08-27  John Levon  <levon@movementarian.org>
4864
4865         * funcrequest.C: properly initialise POD members
4866
4867 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * lyxtext.h (top_y): move top_y from here
4870         * text.C:
4871         * text2.C:
4872         * text3.C:
4873         * BufferView.[Ch]:
4874         * BufferView_pimpl.[Ch]: to here
4875         * frontends/screen.C:
4876         * insets/insettabular.C:
4877         * insets/insettext.C: adjust
4878         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4879
4880 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * BufferView.[Ch]:
4883         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4884
4885 2003-08-26  André Pönitz  <poenitz@gmx.net>
4886
4887         * paragraph_func.[Ch] (outerPar): new function
4888
4889         * paragraph.C:
4890         * paragraph_funcs.C:
4891         * paragraph_funcs.h:
4892         * paragraph_pimpl.C:
4893         * text2.C: remove Inset::par_owner
4894
4895 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4896
4897         * lyxrow_funcs.C:
4898         * lyxtext.h:
4899         * text.C:
4900         * text2.C: eliminates the needFullRow/display() stuff
4901         altogether, putting the logic in metrics/draw in the insets.
4902
4903 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4904
4905         * text2.C (redoParagraphInternal, redoParagraphs):
4906         * text.C (redoParagraph): add a call to updateRowPositions at the
4907         end of each 'metrics-like' call. Remove all others.
4908         (getRow): remove the 'y-computing' version.
4909         (getRowNearY): do not compute nor return the real y. Solve the
4910         'y < 0' problem and simplify.
4911
4912 2003-08-22  Angus Leeming  <leeming@lyx.org>
4913
4914         * *.[Ch]: clean-up of licence and author blurbs.
4915         Also move config.h out of a few .h files and into a few .C files.
4916
4917 2003-08-22  André Pönitz  <poenitz@gmx.net>
4918
4919         * lyxrow.[Ch]: add x_ and *fill_ members
4920
4921         * lyxtext.h:
4922         * text.C:
4923         * rowpainter.C:
4924         * text2.C: adjust/remove prepareToPrint() calls
4925
4926 2003-08-22  André Pönitz  <poenitz@gmx.net>
4927
4928         * lyxrow.[Ch]: add  end_ member
4929
4930         * lyxrow_funcs.C: use LyXRow::end_
4931
4932         * lyxtext.h (singleWidth): add LyXFont parameter
4933
4934         * rowpainter.C:
4935         * text2.C: adjust LyXText::singleWidth() calls
4936
4937         * text.C (redoParagraph): simplify row breaking logic
4938
4939
4940 2003-08-19  André Pönitz  <poenitz@gmx.net>
4941
4942         * funcrequest.C: initialize button_ member
4943
4944         * text3.C:
4945         * rowpainter.[Ch]: interface consolidation
4946
4947 2003-08-18  André Pönitz  <poenitz@gmx.net>
4948
4949         * BufferView.C:
4950         * BufferView_pimpl.C:
4951         * lyxfind.C:
4952         * paragraph_funcs.C:
4953         * rowpainter.C:
4954         * text3.C: remove LyXScreen::draw() and fitCursor calls
4955
4956         * BranchList.h: remove spurious semicolons
4957
4958         * MenuBackend.C: fix branchlist related crash
4959
4960 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4961
4962         * BranchList.[Ch]:
4963         * InsetList.[Ch]:
4964         * LColor.[Ch]:
4965         * LyXAction.C:
4966         * Makefile.am:
4967         * MenuBackend.[Ch]:
4968         * bufferparams.[Ch]:
4969         * factory.C:
4970         * lfuns.h:
4971         * lyxfunc.C:
4972         * text3.C: implements the 'branch inset'
4973         idea. This allows the output of various versions of a document
4974         from a single source version, selectively outputing or suppressing
4975         output of parts of the text.
4976         This implementation contains a 'branch list editor' in a separate
4977         tab of the document settings dialog. Branches are user definable
4978         and have a "display colour" to distinguish them on-screen.
4979
4980         ColorHandler was somewhat cleaned up.
4981         (1) make possible a dynamically growing LColor list by allowing
4982         the graphic context cache to grow along (vector);
4983         (2) eliminate an IMHO unnecessary step in colour allocation.
4984
4985 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4986
4987         * BufferView_pimpl.C: compile fix
4988
4989 2003-08-15  André Pönitz  <poenitz@gmx.net>
4990
4991         * rowpainter.C: remove extra metrics calls
4992
4993         * lyxtext.h: merge the two constructors into a single one,
4994           pass reference to owner's par list
4995
4996         * BufferView_pimpl.C:
4997         * text.C:
4998         * text2.C: adjust
4999
5000 2003-08-15  André Pönitz  <poenitz@gmx.net>
5001
5002         * lyxrow_funcs.[Ch]:
5003         * lyxtext.h:
5004         * paragraph.h:
5005         * paragraph_funcs.C:
5006         * rowpainter.C:
5007         * text.C:
5008         * text2.C:
5009         * text3.C:
5010         * text_funcs.C: split LyXText::rowlist_ into individual
5011         Paragraph::rows_ chunks
5012
5013         * BufferView.[Ch]:
5014         * BufferView_pimpl.[Ch]:
5015         * lyxfind.C:
5016         * lyxtext.h:
5017         * text3.C: remove toggleSelection()
5018
5019 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5020
5021         * bufferlist.C: beautify two alerts (shorter text of buttons)
5022         * buffer.C: Remove redundant ' ' from message
5023         * tabular.h:
5024         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5025         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5026         rename VALIGN_CENTER to VALIGN_MIDDLE
5027
5028 2003-08-11  André Pönitz  <poenitz@gmx.net>
5029
5030         * lyxtext.h (getPar):
5031         * text.C: new function
5032
5033 2003-08-11  André Pönitz  <poenitz@gmx.net>
5034
5035         * Makefile.am:
5036         * tracer.[Ch]: remove unneeded files
5037
5038         * InsetList.[Ch]: remove resizeInsetsLyXText()
5039
5040         * lyxtext.h:
5041         * text.C:
5042         * text2.C:
5043         * text3.C: merge insertParagraphs() and appendParagraph()
5044         remove breakAgain(), update()
5045
5046         * BufferView_pimpl.[Ch]:
5047         * bufferview_funcs.[Ch]:
5048         * lyxfunc.C:
5049         * paragraph.[Ch]:
5050         * rowpainter.C:
5051         * tabular.C: adjust after text & InsetList changes.
5052
5053 2003-08-08  André Pönitz  <poenitz@gmx.net>
5054
5055         * text.C (insertChar, backspace): replace rowlist fiddling
5056         with rebreak of full par
5057
5058         * lyxtext.h:
5059         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5060         checkParagraph, updateInset): removed
5061
5062 2003-08-07  André Pönitz  <poenitz@gmx.net>
5063
5064         * paragraph.C:
5065         * text3.C: merge some LFUN handlers, remove dead code
5066
5067 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5068
5069         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5070
5071 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * text2.C (DEPM): fix part of bug 1255 and 1256
5074
5075 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5076
5077         * BufferView_pimpl.C (workAreaDispatch): change to use
5078         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5079         that are no mouse related.
5080
5081 2003-08-05  André Pönitz  <poenitz@gmx.net>
5082
5083         * BufferView.[Ch]:
5084         * BufferView_pimpl.[Ch]:
5085         * bufferview_funcs.C:
5086         * text2.C:
5087         * text3.C: rip out "deep update"
5088
5089         * textcursor.[Ch] (last_sel_cursor): remove unused member
5090
5091 2003-08-04  André Pönitz  <poenitz@gmx.net>
5092
5093         * BufferView.[Ch]:
5094         * BufferView_pimpl.[Ch]:
5095         * ParagraphParameters.C:
5096         * bufferview_funcs.C:
5097         * lyx_cb.C:
5098         * lyxfind.C:
5099         * lyxfunc.C:
5100         * text.C:
5101         * text2.C:
5102         * text3.C: replace "complicated" BufferView::update(...) calls with
5103         simpler ones.
5104
5105         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5106
5107 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5108
5109         * Makefile.am (lyx_SOURCES): add paper.h
5110
5111 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5112
5113         * Makefile.am: move things around so that both lyx-qt and
5114         lyx-xforms can be built (according to --with-frontend). Then lyx
5115         is a symbolic link to lyx-[firstfrontend]
5116
5117 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5118
5119         * Always use std::endl with lyxerr
5120
5121 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5122
5123         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5124
5125 2003-08-01  André Pönitz  <poenitz@gmx.net>
5126
5127         * BufferView.[Ch]:
5128         * BufferView_pimpl.[Ch]:
5129         * lyxfunc.C:
5130         * text3.C: merge BufferView::repaint() and BufferView::update()
5131
5132 2003-08-01  José Matos  <jamatos@lyx.org>
5133
5134         * buffer.[Ch]: file_format is no longer a buffer data element.
5135
5136 2003-08-01  André Pönitz  <poenitz@gmx.net>
5137
5138         * BufferView.C:
5139         * lyxtext.h:
5140         * text.C:
5141         * text2.C: make redoParagraph more independent of current cursor
5142
5143         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5144         * text.C:
5145         * text2.C: remove unneeded members
5146
5147 2003-07-30  André Pönitz  <poenitz@gmx.net>
5148
5149         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5150
5151         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5152           create a single function...
5153
5154         * paragraph_funcs.C (moveItem): ... here.
5155
5156         * text.C:
5157           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5158
5159 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5160
5161         * LColor.[Ch]: Add comment and greyedout logical colors.
5162
5163 2003-07-30  André Pönitz  <poenitz@gmx.net>
5164
5165         * tabular.C: don't use Assert too heavily. This crashes where it
5166           shouldn't
5167
5168 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5171         is disabled (bug 1232)
5172
5173 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5174
5175         * factory.C: limited 'arg' scope
5176
5177 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5178
5179         * factory.C: fixed Note submenu issues
5180
5181 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5182
5183         * factory.C: submenu for Note/Comment/Greyedout
5184
5185 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5186
5187         * lyx_main.C (LyX):
5188         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5189
5190 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5191
5192         * LaTeXFeatures.C:
5193         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5194         greyedout. Patch provided by Jürgen Spitzmüller.
5195
5196 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5197
5198         * kbmap.C (read): fix error message when reading bind files
5199
5200 2003-07-29  Angus Leeming  <leeming@lyx.org>
5201
5202         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5203         certainly does not do what it purports to do. I am doing it, and
5204         us, a favour by killing it.
5205
5206 2003-07-28  José Matos  <jamatos@lyx.org>
5207
5208         * buffer.C (readBody, do_writeFile):
5209         * paragraph.C(readParagraph): \end_document replaces \the_end.
5210
5211 2003-07-29  André Pönitz  <poenitz@gmx.net>
5212
5213         * BufferView.[Ch]:
5214         * BufferView_pimpl.[Ch]:
5215         * lyxfunc.C:
5216         * text2.C:
5217         * text3.C:
5218         * textcursor.[Ch]: remove toggleToggle & Co
5219
5220 2003-07-28  José Matos  <jamatos@fep.up.pt>
5221
5222         * buffer.C (readParagraph):
5223         * params_func (readParToken, readParagraph):
5224         * paragraph.C (write): \layout -> \begin_layout.
5225
5226 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * lyxlex_pimpl.C (setFile): clean up slightly.
5229
5230         * bufferparams.h: add compressed var
5231
5232         * buffer_funcs.C (readFile): adjust for LyXLex change
5233         (newFile): ditto + simplify
5234
5235         * buffer.C (writeFile): handle writing of compressed files
5236
5237         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5238         Check if the file is compressed and set a bufferparm if so.
5239
5240         * Makefile.am (lyx_LDADD): remove explicit -lz
5241
5242 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5243
5244         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5245         makeDocBookFile): put the real LyX version in the first line of
5246         the file
5247
5248         * version.h:
5249         * version.C.in: remove lyx_docversion
5250
5251         * tabular.C (write_attribute): add a template-based version to
5252         write enums properly
5253
5254 2003-07-28  André Pönitz  <poenitz@gmx.net>
5255
5256         * lyxtext.h:
5257         * text.C:
5258         * text2.C:
5259         * text3.C: use doubles again for x-coordinates. They are needed.
5260
5261 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * messages.C (getLocaleDir): use lyx_localedir()
5264
5265         * lyxlex_pimpl.C (setFile): compress stuff
5266
5267         * buffer.C (writeFile): add some compression stuff
5268         (do_writeFile): new func, dont call expliti close... will this
5269         breake anything?
5270
5271         * Makefile.am (lyx_LDADD): add -lz
5272
5273 2003-07-28  José Matos  <jamatos@fep.up.pt>
5274
5275         * buffer.C: increment file format.
5276         * paragraph_funcs (readParagraph, readParToken):
5277         * paragraph.C (readParagraph): add \end_layout.
5278
5279 2003-07-27  Angus Leeming  <leeming@lyx.org>
5280
5281         * Makefile.am: remove special casing for configure-time setting of
5282         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5283
5284         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5285         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5286
5287 2003-07-26  André Pönitz  <poenitz@gmx.net>
5288
5289         * paragraph_func.[Ch]:
5290         * paragraph.C (realizeFont): inline it whereever it is used
5291
5292         * rowpainter.C:
5293         * text.C:
5294         * text2.C:
5295         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5296
5297
5298 2003-07-26  André Pönitz  <poenitz@gmx.net>
5299
5300         *       lyxtext.h:
5301         * text.C:
5302         * text2.C: get rid of LyXText::need_break_row
5303
5304 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * toc.[Ch]: put namespace toc inside namespace lyx
5307
5308         * MenuBackend.C (expandToc2): adjust for lyx::toc
5309         (expandToc): ditto
5310
5311         * lyxfunc.C (dispatch): adjust for lyx::find
5312
5313         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5314         lyx::find instead. Reorganize a bit.
5315         (LyXReplace): rename to replace
5316         (LyXFind): rename to find
5317
5318         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5319         (dispatch): ditto
5320
5321 2003-07-26  André Pönitz  <poenitz@gmx.net>
5322
5323         * text.C (setHeightOfRow): restrict scope of temporary variable
5324
5325         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5326           code (never has been used?)
5327
5328 2003-07-27  Asger Alstrup  <alstrup@local>
5329
5330         * text.C (fill): Optimise algorithm to exploit that we can reuse
5331         the LyXFont for many characters.
5332         (setHeightOfRow): Same thing.
5333         (rowBreakPoint): Same thing.
5334
5335 2003-07-26  Asger Alstrup  <alstrup@local>
5336
5337         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5338
5339         * text.C (singleWidth): Spurious font copying in hot-spot
5340         singleWidth avoided. Reorder tests for arabic for efficiency.
5341
5342         * text.C (fill): handle empty paragraphs better.
5343
5344 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5345
5346         * ispell.C:
5347         * encoding.h: add includes
5348
5349         * lyxrc.C: remove reading of bind files
5350
5351         * lyx_main.C (init): setup bindings and menus only if we have a
5352         gui.
5353
5354         * kbmap.C (read): new method. Do the actual reading of bind
5355         files.
5356
5357         * converter.C (dvipdfm_options):
5358         * bufferparams.C:
5359         * lyxrc.C (read):
5360         (output): adapt PAPER_* enums.
5361
5362         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5363
5364         * bufferparams.h: remove paper-related enums from there
5365
5366         * paper.h: New file. A trivial header file to hold paper-related
5367         enums. It should later expand to contain many paper-related
5368         horrors access.
5369
5370         * lyxrc.C: declare extern displayTranslator
5371
5372 2003-07-27  José Matos  <jamatos@fep.up.pt>
5373
5374         * tabular.[Ch] (linuxdoc): add support for tables and figures
5375         (linuxdoc).
5376
5377 2003-07-27  José Matos  <jamatos@fep.up.pt>
5378
5379         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5380         consistency in both functions.
5381         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5382
5383 2003-07-26  Asger Alstrup  <alstrup@local>
5384
5385         * rowpainter.C (paintRows): Change algorithm to work directly on
5386         the insets rather than asking every character in the document
5387         whether its an inset.
5388
5389 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5390
5391         * buffer.C (openFileWrite): factorize some code
5392
5393 2003-07-26  Angus Leeming  <leeming@lyx.org>
5394
5395         * lyx_cb.C:
5396         * lyx_main.[Ch]: replace occurances of system_tempdir with
5397         os::getTmpDir().
5398
5399 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * rename Inset to InsetOld
5402
5403 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5404
5405         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5406         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5407         which I think is a bit clearer. EDIT is gone, since it was
5408         premature optimisation, and broken for mathed anyway.
5409         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5410         with cursor positioning in insets as well (math insets still do not
5411         work, but that's a different story anyway.) It mysteriously
5412         crashes sometimes with undo in the first paragraph, but I'm fairly
5413         confident that this is a compiler bug.
5414
5415 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * paragraph.C (Paragraph): adjust for new clone return type
5418         (operator==): ditto
5419         (copyIntoMinibuffer): ditto
5420
5421 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5422
5423         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5424         by not having a special case, and always doing a full rebreak of
5425         the document after undo.
5426
5427 2003-07-23  Angus Leeming  <leeming@lyx.org>
5428
5429         * factory.C (createInset): InsetExternal::setParams now takes a
5430         Buffer const * arg.
5431
5432 2003-07-23  Angus Leeming  <leeming@lyx.org>
5433
5434         * factory.C (createInset): changed interface to the external and
5435         graphics mailers' string2params functions.
5436
5437 2003-07-23  Angus Leeming  <leeming@lyx.org>
5438
5439         * factory.C (createInset): pass a
5440         Buffer const * parameter to InsetExternalMailer's string2params.
5441
5442 2003-07-22  John Levon  <levon@movementarian.org>
5443
5444         * Thesaurus.h: include the right aiksaurus header
5445
5446 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5447
5448         * MenuBackend.C (expand): check menu shortcuts unconditionally
5449
5450 2003-07-21  Angus Leeming  <leeming@lyx.org>
5451
5452         * factory.C (createInset): pass a
5453         buffer_path parameter to InsetGraphicsMailer's string2params.
5454
5455 2003-07-21  Angus Leeming  <leeming@lyx.org>
5456
5457         * BufferView_pimpl.C (buffer):
5458         * buffer.C (d-tor):
5459         * lyx_main.C (LyX):
5460         * lyxfunc.C (dispatch):
5461         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5462         rather than the grfx shortcut.
5463
5464 2003-07-21  André Pönitz  <poenitz@gmx.net>
5465
5466         * rowpainter.C: remove unused variables
5467
5468         * tabular_funcs.C:
5469         * tabular_funcs.h: move to tabular.C
5470         * Makefile.am: adjust
5471
5472         * tabular.[Ch]: basic optical cleaning
5473
5474         * author.h: pass references, not values
5475
5476 2003-07-18  André Pönitz  <poenitz@gmx.net>
5477
5478         * lyxtext.h:
5479         * metricsinfo.C:
5480         * metricsinfo.h:
5481         * rowpainter.C:
5482         * text.C:
5483         * text2.C:
5484         * text3.C: two-phase drawing for InsetText and InsetTabular
5485         some float -> int changes.
5486
5487 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * lyx_main.C: fix the fix
5490
5491 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * lyx_main.C: fix a crash in batch mode if no files specified
5494         * converter.C: ws
5495
5496 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5497
5498         * format.[Ch] (papersize): moved to BufferParams
5499         * converter.[Ch] (dvips_options): moved to BufferParams
5500         (dvipdfm_options): moved to anon namespace
5501         * bufferparams.[Ch]: added above functions.
5502
5503 2003-07-17  André Pönitz  <poenitz@gmx.net>
5504
5505         * lyxtext.h:
5506         * rowpainter.C:
5507         * text2.C: don't call inset->update() anymore
5508
5509         * metricsinfo.[Ch]: add convenience constructor
5510
5511 2003-07-16  André Pönitz  <poenitz@gmx.net>
5512
5513         * lyxcursor.[Ch]:
5514         * lyxfunc.[Ch]:
5515         * text.C:
5516         * text2.C: replace the LyXCursor::irow_ member with
5517          on-demand computation of the value
5518
5519 2003-07-16  John Levon  <levon@movementarian.org>
5520
5521         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5522
5523 2003-07-15  André Pönitz  <poenitz@gmx.net>
5524
5525         * text.C:
5526         * text2.C: remove no more needed refresh_row
5527
5528 2003-07-15  André Pönitz  <poenitz@gmx.net>
5529
5530         * lyxtext.h:
5531         * rowpainter.C:
5532         * text2.C:
5533         * text3.C: refresh_status tristate -> need_update bool
5534
5535 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5536
5537         * lyxtext.h (init): remove reinit argument (act as if always true)
5538         * text2.C: adjust to that
5539
5540 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5541
5542         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5543         * text3.C: use it to delete selections in some cases
5544         (bugs 441, 673, 702, 954).
5545
5546 2003-07-14  André Pönitz  <poenitz@gmx.net>
5547
5548         * rowpainter.[Ch]: reduce interface
5549
5550 2003-07-14  André Pönitz  <poenitz@gmx.net>
5551
5552         * BufferView_pimpl.C:
5553         * text2.C: adjust after removing unused BufferView * argument
5554
5555 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5556
5557         * text2.C (init): fix a crash fired on resize
5558
5559 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * buffer.[Ch]: added new closing signal
5562         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5563         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5564         BufferView::Pimpl via the closing the signal
5565
5566 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5567
5568         * buffer.[Ch]: take out all bv-related from buffer
5569         * BufferView.C:
5570         * BufferView_pimpl.[Ch]: connect to new signals
5571         * CutAndPaste.C: removed useless asserts
5572         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5573         * lyxvc.[Ch]:
5574         * vc-backend.[Ch]:
5575         * lyxfunc.C: moved view-related funciontality from vc here
5576         * paragraph.C: removed outdated comments
5577         * text.C: ws
5578
5579 2003-07-10  André Pönitz  <poenitz@gmx.net>
5580
5581         * BufferView_pimpl.C:
5582         * tabular.h:
5583         * tabular_funcs.C:
5584         * text.C:
5585         * text2.C: remove InsetText::InnerCache, clean up consequences
5586
5587 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5588
5589         * ispell.C: fix two typos in error messages
5590
5591 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5592
5593         * Extend Note inset to other forms of annotation like Comment
5594         and Greyedout. Right button click gives dialog.
5595
5596         Files modified or added (+):
5597
5598         * insetnote.[Ch]
5599         * FormNote.[Ch]      +
5600         * ControlNote.[Ch]   +
5601         * form_note.fd       +
5602         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5603         frontends/controllers
5604         * xforms/Dialogs.C
5605         * factory.C
5606
5607 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5608
5609         * aspell.C: add missing namespace lyx::support
5610
5611 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5612
5613         * BufferView.[Ch] (newFile): Add
5614         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5615         * LaTeX.[Ch] (message): added this signal and use it
5616         * buffer.[Ch] (busy, message): added these signals and use them
5617         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5618         * converter.C:
5619         * exporter.C:
5620         * format.C:
5621         * importer.C: use buffer signals instead of direct bv calling
5622         * lyx_cb.[Ch] (ShowMessage): removed
5623         * lyx_main.C:
5624         * lyxfunc.C:
5625         * paragraph_funcs.C:
5626         * text2.C: use buffer signals
5627
5628 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * introduce namespace lyx::graphics
5631
5632 2003-07-02  André Pönitz  <poenitz@gmx.net>
5633
5634         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5635
5636 2003-07-01  André Pönitz  <poenitz@gmx.net>
5637
5638         * text.C:
5639         * text2.C:
5640         * text3.C:
5641         * text_funcs.[Ch]:
5642         * textcursor.h:
5643         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5644           text*.C to text_func.C
5645
5646 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * introduce namespace lyx::support
5649
5650 2003-06-30  André Pönitz  <poenitz@gmx.net>
5651
5652         * Chktex.C:
5653         * funcrequest.C:
5654         * lyxtext.h:
5655         * text.C: re-enable --with-included-string
5656
5657 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * textcursor.C: add <config.h>
5660
5661         * text.C (getWord): remove const from word_location arg
5662
5663         * lyxvc.C (getLogFile): fix const type order
5664
5665         * lyxtext.h: remove const from word_location arg, add arg name
5666
5667         * lyxlayout.h: currect type on labeltype.
5668
5669         * importer.C: correct \file
5670
5671         * converter.C (intToFormat): use std:: on ret val, ws changes
5672
5673         * bufferlist.h: correct \file
5674
5675         * buffer.C (makeLinuxDocFile): fix const type order
5676         (makeDocBookFile): ditto
5677         (fillWithBibKeys): use std:: on stdlib args.
5678
5679         * CutAndPaste.C: fix authors.
5680         (availableSelections): use std:: on return vector
5681
5682 2003-06-27  André Pönitz  <poenitz@gmx.net>
5683
5684         * BufferView_pimpl.C:
5685         * bufferview_funcs.C:
5686         * lyxcursor.C:
5687         * lyxcursor.h:
5688         * lyxfunc.C:
5689         * lyxtext.h:
5690         * rowpainter.C:
5691         * text.C:
5692         * text2.C:
5693         * text3.C: remove LyXCursor::row_ member
5694
5695         * lyxtext.h:
5696         * text.C: rename fullRebreak() to partialRebreak() and implement
5697           a fullRebreak() that really bereks fully
5698
5699         * textcursor.h: new struct for cursor-related data
5700
5701 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5702
5703         * lyx_main.C (LyX): get full path of document loaded on the
5704         command line
5705
5706 2003-06-26  André Pönitz  <poenitz@gmx.net>
5707
5708         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5709           remove unused/broken operator>,<,>=.
5710
5711         *       text.C: remove only use of broken operator<= in an Assert().
5712
5713 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5714
5715         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5716         moved errorlist_.clear to showErrorList
5717
5718 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5719
5720         * converter.C (scanLog, runLaTeX):
5721         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5722         move the bv->showErrorList call to the callers
5723         * lyxfunc.C: i.e. here...
5724         * text2.C: and here
5725         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5726         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5727         namespace, the second to...
5728         * buffer_funcs (BufferFormat, parseErrors): added
5729         * errorlist.C (ErrorList(TeXErrors const &)): removed
5730
5731 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5732
5733         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5734
5735 2003-06-24  "Garst R. Reese" <reese@isn.net>
5736
5737         * debug.C: fix typo
5738
5739 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5740
5741         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5742
5743         * version.C.in: change docversion to 1.4
5744
5745 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5746
5747         * buffer.C: fix a bug just introduced
5748
5749 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * buffer.[Ch]: added the parseError signal and use it, removed
5752         sgmlError
5753         * BufferView.[Ch] (addError): moved to ...
5754         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5755         to the Buffer::parseError signal to catch (guess what) parse errors
5756         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5757
5758 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5759
5760         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5761         ability to create a buffer and to return an existing one from
5762         the list. Moved these functions to...
5763         * buffer_funcs.[Ch]: added
5764         * BufferView.[Ch] (loadLyXFile): added
5765         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5766         job removed from bufferlist::loadLyXFile.
5767         * buffer.C (setReadOnly): make it work without view
5768         (i.e added an if (users))
5769
5770 2003-06-19  Angus Leeming  <leeming@lyx.org>
5771
5772         * lfuns.h:
5773         * LyXAction.C (init):
5774         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5775         with LFUN_DIALOG_SHOW <name> <data>.
5776
5777 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5778
5779         * CutAndPaste.C (availableSelections): small compilation fix for
5780         ancient (gcc 2.9x) compilers
5781
5782 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * text3.C (cursorNext): add tmp var
5785
5786         * text2.C (updateCounters): for function calling out of for clause
5787         (replaceSelectionWithString): ditto
5788         (insertStringAsParagraphs): ditto
5789         (getColumnNearX): add tmp var
5790         (setCursorFromCoordinates): add tmp var
5791         (cursorDownParagraph): add tmp var
5792         (deleteEmptyParagraphMechanism): add tmp var
5793
5794         * text.C (insertChar): add tmp var
5795
5796         * rowpainter.C (paintDepthBar): add tmp var
5797
5798         * CutAndPaste.C (availableSelections): potentially check all
5799         paragraphs in a cut to fill the shown strings.
5800
5801 2003-06-18  André Pönitz  <poenitz@gmx.net>
5802
5803         * kbmap.[Ch]: use vector<> instead of list<>
5804
5805 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5806
5807         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5808         pasteSelection with index
5809
5810         * text2.C (pasteSelection): modify, call pasteSelection with index
5811
5812         * paragraph.C (asString): reimplement version with no interval to
5813         call the one with interval.
5814
5815         * lyxtext.h: add index arg to pasteSelection
5816
5817         * MenuBackend.C (MenuItem): handle PasteRecent
5818         (Menu::read::Menutags): add md_pasterecent
5819         (read): handle it
5820         (expandPasteRecent): new function
5821         (expand): use it
5822
5823         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5824
5825         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5826         the limited stack
5827         (availableSelections): new function
5828
5829 2003-06-17  Angus Leeming  <leeming@lyx.org>
5830
5831         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5832
5833 2003-06-17  Angus Leeming  <leeming@lyx.org>
5834
5835         * lfuns.h:
5836         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5837
5838         * lyxfunc.C (dispatch): invoke it.
5839
5840 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5841
5842         * iterators.C (operator++, ParPosition): reintroduce some
5843         const_cast for the benefit of older compilers.
5844
5845 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5846
5847         * text3.C (dispatch): do not modify clipboard when doing
5848         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5849         LFUN_DELETE_SKIP on a selection selection
5850
5851 2003-06-16  André Pönitz  <poenitz@gmx.net>
5852
5853         * BufferView.C:
5854         * buffer.C:
5855         * buffer.h:
5856         * paragraph.C:
5857         * tabular.[Ch]: IU of clone() and getLabelList();
5858
5859 2003-06-13  André Pönitz  <poenitz@gmx.net>
5860
5861         * tabular.h: compactification
5862
5863 2003-06-12  André Pönitz  <poenitz@gmx.net>
5864
5865         * tabular.C:
5866         * tabular.h:
5867         * tabular_funcs.h: some renaming plus whitespace
5868
5869 2003-06-12  André Pönitz  <poenitz@gmx.net>
5870
5871         * BufferView.C:
5872         * BufferView_pimpl.C:
5873         * CutAndPaste.C:
5874         * buffer.C:
5875         * iterators.[Ch]:
5876         * lyxfunc.C:
5877         * text.C:
5878         * toc.C: Return a Paragraph & for ParIterator::operator*()
5879
5880 2003-06-11  John Levon  <levon@movementarian.org>
5881
5882         * lyx_main.C:
5883         * ToolbarBackend.h:
5884         * ToolbarBackend.C: add "Toolbars" section and
5885         put the flags there
5886
5887 2003-06-10  Angus Leeming  <leeming@lyx.org>
5888
5889         * lfuns.h:
5890         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5891
5892         * lyxfunc.C (dispatch): invoke it.
5893
5894 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * main.C: protect <ios> with HAVE_IOS
5897         (main): protect sync_with_stdio with HAVE_IOS
5898
5899 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5900
5901         * text2.C (cutSelection): adjust
5902         (pasteSelection): adjust
5903
5904         * messages.C: handle get of empty string
5905
5906         * main.C (main): use sync_with_stdio(false)
5907
5908         * lyxfunc.C (dispatch): adjust
5909
5910         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5911         (WriteAs): remove unneeded BufferView arg.
5912
5913         * bufferparams.h: use correct types on papersize, papersize2 and
5914         paperpackage.
5915
5916         * bufferparams.C (readToken): adjust for type
5917         (writeLaTeX): add missing cases to switch.
5918
5919         * bufferlist.C (quitWriteBuffer): adjust
5920         (close): adjust
5921
5922         * buffer.C (asciiParagraph): remove some commented code.
5923
5924         * CutAndPaste.C: remove current_view extern variable.
5925         (cutSelection): add BufferParams arg.
5926         (eraseSelection): add BufferParams arg.
5927         (pasteSelection): add Buffer const & arg
5928
5929 2003-06-07  John Levon  <levon@movementarian.org>
5930
5931         * buffer.C:
5932         * paragraph_funcs.C:
5933         * paragraph_pimpl.C:
5934         * text.C:
5935         * text2.C:
5936         * paragraph.h:
5937         * paragraph.C: allow InsetERT to freely space lines,
5938         and some consolidation of code
5939
5940 2003-06-06  José Matos  <jamatos@fep.up.pt>
5941
5942         * buffer.C (makeDocBookFile): fix bug #821
5943
5944 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5947
5948 2003-06-04  Angus Leeming  <leeming@lyx.org>
5949
5950         * buffer.C: bump format to 224.
5951
5952 2003-06-05  André Pönitz  <poenitz@gmx.net>
5953
5954         * text2.C (redoParagraphs): remove two const_cast<>
5955
5956 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5957
5958         * ParagraphList.h: remove last remnants of NO_STD_LIST
5959
5960 2003-06-03  Angus Leeming  <leeming@lyx.org>
5961
5962         * factory.C (createInset): small change to the way InsetExternal's params
5963         are set.
5964
5965 2003-06-04  André Pönitz  <poenitz@gmx.net>
5966
5967         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5968
5969         * paragraph_pimpl.h:
5970         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5971
5972         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5973
5974         * undo_funcs.C: make some simple cases of undo work again
5975
5976 2003-06-03  John Levon  <levon@movementarian.org>
5977
5978         * ispell.C: HPUX doesn't have sys/select.h
5979         (from Albert Chin)
5980
5981 2003-06-03  John Levon  <levon@movementarian.org>
5982
5983         * CutAndPaste.C: update tabular and include inset
5984         buffer references
5985
5986         * buffer.h:
5987         * paragraph.h:
5988         * paragraph.C: remove owningBuffer(), don't pass Buffer
5989         to clone()
5990
5991         * factory.C: insetGraphicsParams changed
5992
5993 2003-06-02  John Levon  <levon@movementarian.org>
5994
5995         * LyXAction.C:
5996         * factory.C:
5997         * lfuns.h:
5998         * lyxfunc.C:
5999         * text3.C: remove insetparent
6000
6001 2003-06-02  John Levon  <levon@movementarian.org>
6002
6003         * buffer.h:
6004         * buffer.C: fix inset_iterator.end(), move out of line
6005         (bug 1149)
6006
6007 2003-06-01  John Levon  <levon@movementarian.org>
6008
6009         * text3.C: use a proper cut/paste when doing inset
6010         insert (from Jürgen Spitzmüller)
6011
6012 2003-06-01  John Levon  <levon@movementarian.org>
6013
6014         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6015
6016 2003-05-30  André Pönitz  <poenitz@gmx.net>
6017
6018         * rowpainter.C: unify second drawing phase
6019
6020 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * trans_mgr.C: remove one case of current_view
6023
6024         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6025
6026         * paragraph_funcs.h: remove paragraph.h include
6027
6028         * paragraph.h: delete NO_STD_LIST stuff
6029
6030         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6031
6032         * buffer.h: remove paragraph.h include
6033
6034         * ParagraphList.C: delete file
6035
6036         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6037
6038         * toc.C (getTocList): adjust
6039
6040         * paragraph_pimpl.C (validate): adjust
6041
6042         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6043
6044         * paragraph.C (Paragraph): adjust
6045         (getPositionOfInset): use const_iterator, adjust
6046         (bibitem): use const_iterator, adjust
6047         (setInsetOwner): adjust
6048
6049         * iterators.C (operator++): adjust
6050
6051         * InsetList.[Ch]: Replace selfmade iterator with standard
6052         vector::iterator also introduce const_iterator. Remove getPos,
6053         getInset and setInset from InsetTable. Adjust accordingly.
6054
6055         * BufferView.C (lockInset): adjust
6056         (ChangeInsets): adjust
6057
6058         * tabular.[Ch]: delete commented same_id functions
6059
6060 2003-05-28  John Levon  <levon@movementarian.org>
6061
6062         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6063
6064 2003-05-28  André Pönitz  <poenitz@gmx.net>
6065
6066         * metricsinfo.[Ch]: remove 'fullredraw' member
6067
6068 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6069
6070         * lyxtextclass.C (operator): remove caching.
6071
6072 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * text3.C: adjust
6075
6076         * text2.C (cursorBottom): adjust
6077         (setCounter): use ParagraphList::find, adjust
6078
6079         * text.C (workWidth): use ParagraphList::find, adjust
6080
6081         * lyxcursor.C (LyXCursor): adjust
6082
6083         * buffer.C (inset_iterator): adjust
6084
6085         * ParagraphList.h: make iterator(value_type) private, make
6086         ParagraphList a friend of iterator.
6087
6088         * ParagraphList.C (find): new function
6089
6090         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6091
6092 2003-05-27  André Pönitz  <poenitz@gmx.net>
6093
6094         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6095
6096 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6097
6098         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6099
6100 2003-05-26  John Levon  <levon@movementarian.org>
6101
6102         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6103
6104 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * remove same_id from function signatures, adjust.
6107
6108 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6111
6112         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6113
6114         * paragraph.C (Paragraph): get rid of same_ids parameter
6115
6116         * ParagraphList.C (insert): adjust
6117         (push_back): adjust
6118
6119 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * paragraph_funcs.C (breakParagraph): adjust
6122         (breakParagraphConservative): adjust
6123
6124         * buffer.C (readParagraph): adjust
6125
6126         * ParagraphList.C (insert): take a reference instead of a pointer
6127         (insert): adjust
6128
6129         * paragraph.[Ch] (id): new function
6130
6131         * bufferlist.C (newFile): adjust
6132
6133         * ParagraphList.C (ParagraphList): adjust
6134         (assign): adjust
6135         (push_back): take a reference instead of a pointer.
6136
6137         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6138
6139         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6140         instead.
6141
6142         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6143         set else use old code.
6144
6145         * ParagraphList.C: remove all NO_NEXT code and only compile this
6146         code of NO_STD_LIST is set.
6147
6148 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6149
6150         * BufferView_pimpl.C:
6151         * TextCache.C:
6152         * TextCache.h:
6153         * bufferlist.C:
6154         * errorlist.h:
6155         * format.C:
6156         * format.h:
6157         * graph.C:
6158         * lyxfunc.C:
6159         * lyxrc.C:
6160         * graphics/GraphicsConverter.C:
6161         * graphics/PreviewLoader.C: header adjustment
6162
6163 2003-05-23  Angus Leeming  <leeming@lyx.org>
6164
6165         * LaTeXFeatures.[Ch] (useBabel): new method.
6166         * bufferparams.C (writeLaTeX): use it.
6167
6168 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * ParagraphList.h (set): remove unused function.
6171
6172 2003-05-23  André Pönitz  <poenitz@gmx.net>
6173
6174         * BufferView.C:
6175         * BufferView_pimpl.C:
6176         * buffer.C:
6177         * buffer.h:
6178         * lyxfunc.C:
6179         * undo_funcs.C: setUndo reworked
6180
6181         * iterators.[Ch]: add access to topmost ParagraphList
6182
6183         * lyxtext.[Ch] (workWidth): add a const
6184
6185 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6186
6187         * texrow.[Ch] (increasePos): remove function
6188         * exporter.C (export): removed unused var and outdated comment
6189
6190 2003-05-23  Angus Leeming  <leeming@lyx.org>
6191
6192         * latexrunparams.h: rename fragile as moving_arg.
6193         * paragraph.C (simpleTeXOnePar): ditto.
6194         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6195
6196 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6199         (createUndo): ditto
6200         (textUndoOrRedo): comment out a currently unused var.
6201
6202         * paragraph.h (NO_NEXT): enable NO_NEXT
6203
6204         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6205
6206         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6207
6208         * exporter.C (Export): adjust for removeAutoInsets removal.
6209
6210         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6211
6212         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6213
6214         * BufferView.[Ch] (removeAutoInsets): delete function
6215
6216 2003-05-22  Angus Leeming  <leeming@lyx.org>
6217
6218         * latexrunparams.h: add a free_spacing variable.
6219
6220         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6221         to pass moving_arg, as the data is stored in runparams.fragile.
6222
6223         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6224         to Inset::latexOptional or to simpleTeXOnePar.
6225
6226         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6227         free_spacing arg to Inset::latexOptional.
6228
6229         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6230         free_spacing arg.
6231
6232 2003-05-22  Angus Leeming  <leeming@lyx.org>
6233
6234         * latexrunparams.h: add fragile and use_babel variables.
6235
6236         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6237         * buffer.C (makeLaTeXFile): store this returned value in
6238         runparams.use_babel, thus passing it to the inset::latex methods.
6239
6240         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6241         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6242
6243         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6244         longer has a fragile arg, as it is stored in runparams.fragile.
6245
6246         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6247         moving_arg parameter as the data is stored in runparams.fragile.
6248
6249         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6250         a fragile parameter as the data is stored in runparams.fragile.
6251
6252 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6255
6256 2003-05-22  Angus Leeming  <leeming@lyx.org>
6257
6258         * latexrunparams.h: add a 'bool nice' which defaults to false.
6259
6260         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6261         now encapsulated within runparams.
6262
6263         * bufferlist.C (updateIncludedTeXfiles):
6264         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6265
6266 2003-05-22  Angus Leeming  <leeming@lyx.org>
6267
6268         * latexrunparams.h: new file containing struct LatexRunParams.
6269         * Makefile.am: add new file.
6270
6271         * LaTeX.[Ch] (c-tor, run):
6272         * buffer.[Ch] (makeLaTeXFile):
6273         * bufferlist.[Ch] (updateIncludedTeXfiles):
6274         * converter.C (convert, scanLog):
6275         * converter.[Ch] (runLaTeX):
6276         * exporter.C (Export):
6277         * paragraph.[Ch] (simpleTeXOnePar):
6278         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6279         * paragraph_funcs.[Ch] (latexParagraphs):
6280         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6281         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6282         pass around a LatexRunParams parameter.
6283
6284 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * paragraph.[Ch]: remove unused constructor
6287
6288         * ParagraphList.C (erase): new function, taking two iterators
6289
6290 2003-05-22  André Pönitz  <poenitz@gmx.net>
6291
6292         * undo_funcs.C: remove duplicated code
6293
6294         * iterator.[Ch]: operator=
6295
6296 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * tabular.C (SetMultiColumn): ws changes
6299
6300         * rowpainter.C (paintFirst): get rid of a ->previous
6301
6302         * lyx_cb.C (getPossibleLabel): parlist simplification
6303
6304         * BufferView.C (ChangeInsets): simplify slightly.
6305
6306 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6307
6308         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6309         * lfuns.h: new LFUN_SPACE
6310         * lyxfunc.C: protected space has a new lfun
6311         * paragraph_funcs.C: read new space insets
6312         * text3.C:
6313         * factory.C: handle new space insets
6314
6315 2003-05-22  André Pönitz  <poenitz@gmx.net>
6316
6317         * BufferView.C:
6318         * BufferView_pimpl.C:
6319         * buffer.[Ch]:
6320         * lyxfunc.C:
6321         * undo_funcs.C: return a ParIterator from getParFromID.
6322
6323         * iterators.[Ch]: add two const's
6324
6325 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * toc.C (getTocList): adjust
6328
6329         * iterators.[Ch]: rework for parlist
6330
6331         * buffer.C (par_iterator_begin): adjust
6332         (par_iterator_end): adjust
6333
6334         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6335
6336         * BufferView.C (removeAutoInsets): adjust
6337         (ChangeInsets): adjust
6338
6339 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * text.C (top_y): fix bug 1110
6342
6343 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * errorlist.[Ch]: added
6346         * buffer.C:
6347         * BufferView.[Ch]:
6348         * BufferView_pimpl.C:
6349         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6350         instead
6351
6352 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * Makefile.am: ensure that lyx is relinked upon changes to the
6355         various "convenience" libs.
6356
6357 2003-05-20  Angus Leeming  <leeming@lyx.org>
6358
6359         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6360         files are compiled in alphabetical order again.
6361
6362         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6363
6364 2003-05-19  Angus Leeming  <leeming@lyx.org>
6365
6366         * gettext.[Ch]: remove "char const * _(char const *)".
6367
6368 2003-05-19  André Pönitz  <poenitz@gmx.net>
6369
6370         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6371
6372         * Makefile.am:
6373         * BufferView.C:
6374         * DepTable.h:
6375         * LaTeXFeatures.C:
6376         * buffer.C:
6377         * lyxfont.C:
6378         * lyxlex.h:
6379         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6380
6381 2003-05-19  André Pönitz  <poenitz@gmx.net>
6382
6383         * buffer.C:
6384         * lyxlayout.[Ch]:
6385         * lyxtextclass.[Ch]:
6386         * paragraph.C:
6387         * paragraph_funcs.[Ch]:
6388         * text2.C:
6389         * text3.C: more insetenv work
6390
6391 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6392
6393         * ParagraphParameters.C (params2string): small bug fixed
6394
6395 2003-05-16  André Pönitz  <poenitz@gmx.net>
6396
6397         * debug.C:
6398         * bufferview_funcs.C: patch from Kornel Benko to prevent
6399           crash when _(...) is called twice in a statement
6400
6401 2003-05-16  André Pönitz  <poenitz@gmx.net>
6402
6403         * BufferView.C:
6404         * lyxfunc.C:
6405         * text.C:
6406         * text2.C:
6407         * text3.C:
6408         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6409
6410 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * lyx_main.C (init): remove spurious static_cast
6413
6414 2003-05-14  André Pönitz  <poenitz@gmx.net>
6415
6416         * BufferView.C: fix format string
6417
6418 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * BufferView.[Ch] (insertErrors): removed
6421         * BufferView.[Ch] (showErrorList): added
6422         * buffer.C (runChkTeX):
6423         * converter.C (scanLog): call showErrorList instead of inserterrors
6424
6425 2003-05-13  André Pönitz  <poenitz@gmx.net>
6426
6427         * BufferView_pimpl.C:
6428         * buffer.C:
6429         * bufferview_func.C:
6430         * MenuBackend.C:
6431         * lyxfunc.C:
6432         * lyxrc.C:
6433         * tex-accent.C:
6434         * text3.C:
6435         * toc.C:
6436         * tabular_funcs.h: tostr() from its own header
6437
6438         * ParagraphParameters.C:
6439         * ToolbarBackend.C:
6440         * bufferparams.C:
6441         * format.C:
6442         * lyxlex_pimpl.C:
6443         * text3.C: STRCONV()
6444
6445 2003-05-12  André Pönitz  <poenitz@gmx.net>
6446
6447         * BufferView.C:
6448         * BufferView_pimpl.C:
6449         * CutAndPaste.C:
6450         * LaTeX.C:
6451         * LaTeXFeatures.C:
6452         * ParagraphParameters.C:
6453         * buffer.C:
6454         * bufferlist.C:
6455         * bufferparams.C:
6456         * bufferview_funcs.C:
6457         * converter.C:
6458         * counters.C:
6459         * debug.C:
6460         * exporter.C:
6461         * format.C:
6462         * importer.C:
6463         * lyx_cb.C:
6464         * lyx_main.C:
6465         * lyxfont.C:
6466         * lyxfunc.C:
6467         * lyxvc.C:
6468         * paragraph.C:
6469         * paragraph_funcs.C:
6470         * tabular.C:
6471         * tabular_funcs.C:
6472         * text2.C:
6473         * text3.C:  boost::format -> bformat  all over the place
6474
6475
6476 2003-05-09  André Pönitz  <poenitz@gmx.net>
6477
6478         * LColor.[Ch]: Pimpl the #include <map> away
6479
6480 2003-05-09  John Levon  <levon@movementarian.org>
6481
6482         * bufferlist.C: never remove emergency saves
6483
6484 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * Makefile.am: better lib building
6487
6488 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6491         instead.
6492         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6493         (simpleTeXSpecialChars): adjust
6494         (simpleTeXSpecialChars): adjust
6495         * paragraph.C (simpleTeXOnePar): adjust
6496         * buffer.C (makeLaTeXFile): adjust
6497
6498         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6499
6500         * text2.C (changeDepth): parlist cleanup
6501         (getColumnNearX): ditto
6502
6503         * rowpainter.C (getLabelFont): parlist cleanup
6504
6505         * bufferlist.C (newFile): parlist cleanup
6506
6507         * CutAndPaste.C (eraseSelection): parlist cleanup
6508
6509         * BufferView_pimpl.C (trackChanges): parlist cleanup
6510         (dispatch): ditto
6511
6512         * BufferView.C (lockInset): parlist cleanup.
6513         (ChangeInsets): ditto
6514
6515 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * CutAndPaste.h: Update file header.
6518
6519         * CutAndPaste.C: Update file header.
6520         Store the parts cut out of the Document in a limited_stack.
6521         (copySelection): adjust
6522         (pasteSelection): new function, takes the index in the limited stack.
6523         (nrOfParagraphs): adjust
6524         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6525         simplify error inset insertion.
6526         (checkPastePossible): adjust
6527
6528 2003-05-06  John Levon  <levon@movementarian.org>
6529
6530         * text2.C: don't cast wrap inset to float
6531
6532 2003-05-05  André Pönitz  <poenitz@gmx.net>
6533
6534         * iterator.C:
6535         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6536
6537         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6538           few naked Paragraph *.
6539
6540 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6541
6542         * bufferparams.C: Output warning if a document with missing
6543         TeX document class is loaded
6544         * exporter.C: Disable TeX exports if the document class is missing
6545         * lyxtextclass.C:
6546         * lyxtextclass.h:
6547         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6548         isTeXClassAvailable()
6549
6550 2003-05-03  John Levon  <levon@movementarian.org>
6551
6552         * BufferView.h:
6553         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6554         explicit cursor show/hide
6555
6556         * BufferView_pimpl.h:
6557         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6558         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6559
6560         * lyxfunc.C: hide cursor before dispatching.
6561
6562         * lyx_cb.C:
6563         * lyxfind.C:
6564         * text.C:
6565         * text3.C: remove explicit cursor hides
6566
6567 2003-05-02  André Pönitz  <poenitz@gmx.net>
6568
6569         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6570
6571         * undo_funcs.C:
6572         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6573           linked lists
6574
6575         * text2.C: tiny whitespace
6576
6577 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * undo_funcs.C: almost only ws changes.
6580
6581         * ParagraphList.C (splice): just return if pl is empty.
6582
6583 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * ParagraphList.C (splice): new function.
6586
6587         * CutAndPaste.C (pasteSelection): use it
6588
6589 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * CutAndPaste.C (pasteSelection): remove the last next and
6592         previous from this file.
6593
6594 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * CutAndPaste.C (pasteSelection): more clean up, user proper
6597         ParagraphList functions for pasteing.
6598
6599         * ParagraphList.C (insert): new function, three arg insert
6600
6601 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * ParagraphList.C (insert): new function, three arg insert
6604
6605         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6606         not on paragraphs.
6607
6608 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6611
6612 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6615
6616 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6619         (copySelection): clean up a bit.
6620         (pasteSelection): use make_pair
6621
6622         * ParagraphList.C (ParagraphList): implement copy constructor
6623         (operator=): implement, base on copy constructor.
6624         (assign): new func
6625
6626         * paragraph.C (erase): return a bool
6627
6628         * paragraph_pimpl.C (erasePos): remove function, move contents...
6629         (erase): ... here. Return a bool.
6630         (erase): call erase instead of erasePos.
6631
6632 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6633
6634         * ParagraphList.h: define PitPosPair
6635         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6636         ParagraphList, fix a bug on pasting multiple pars
6637         * text2.C: change interface to C&P
6638
6639 2003-04-30  André Pönitz  <poenitz@gmx.net>
6640
6641         * undo_func.C: revert part of yesterday's patch 2
6642
6643 2003-04-30  John Levon  <levon@movementarian.org>
6644
6645         * LColor.C: s/tabular/table/
6646
6647 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * text3.C (dispatch): do not convert iterator -> pointer
6650         * undo_funcs.C (setCursorParUndo): ditto
6651         * text_funcs.C (transposeChars): ditto
6652
6653         * text2.C (setLayout): ws changes only
6654
6655         * text.C (breakParagraph): do not convert iterator -> pointer
6656         (insertChar): ditto
6657         (acceptChange): ditto
6658         (rejectChange): ditto
6659         (changeCase): ditto
6660         (Delete): ditto
6661         (backspace): ditto
6662
6663         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6664         pointer
6665
6666 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6667
6668         * text3.C (gotoInset): YABG (yet another bad getChar)
6669
6670 2003-04-29  André Pönitz  <poenitz@gmx.net>
6671
6672         * paragraph.h: make operator= private unimplemented as long as
6673           it is unusable
6674
6675         * ParagraphList.C: whitespace
6676
6677         * paragraph.[Ch]:
6678         * paragraph_pimpl.[Ch]:
6679         * paragraph_funcs.C:
6680         * CutAndPaste.C:
6681         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6682
6683         * text2.C:
6684           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6685
6686 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6687
6688         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6689         * paragraph.[Ch] (erase):
6690         * paragraph_pimpl.[Ch] (erase): change return type and value
6691         * text2.C (cutSelection): some rework
6692
6693 2003-04-28  John Levon  <levon@movementarian.org>
6694
6695         * bufferlist.C: changes for unsaved changes dialog
6696
6697 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * bufferlist.C (newFile): set language (messages_) for new
6700         documents also.
6701
6702         * buffer.C (readFile): ws changes only.
6703
6704 2003-04-28  André Pönitz  <poenitz@gmx.net>
6705
6706         * undo_funcs.C:
6707         * lyxfunc.C:
6708         * buffer.[Ch]:
6709         * BufferView_pimpl.C:
6710         * BufferView.C: getParFromID related ParagraphList::iterator changes
6711
6712 2003-04-28  André Pönitz  <poenitz@gmx.net>
6713
6714         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6715           Changes
6716
6717 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * messages.C: remove one more localedir class variable.
6720
6721 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * messages.C (getLocaleDir): singleton generation function
6724         (Pimpl): use it.
6725         (Messages): add a default constructor.
6726
6727         * main.C (main): do not setup localedir here, do not call
6728         gettext_init.
6729
6730         * gettext.C (_): use it.
6731         (gettext_init): delete funciton
6732
6733 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * gettext.C (getLyXMessages): new singleton generating function.
6736
6737         * buffer.C (updateDocLang): adjust
6738
6739         * Makefile.am (messages.o): add target
6740         (main.o): remove target
6741
6742 2003-04-27  John Levon  <levon@movementarian.org>
6743
6744         * bufferlist.C:
6745         * lyx_cb.C:
6746         * lyxfunc.C:
6747         * lyxvc.C: specify cancel button in Alert::prompt
6748
6749 2003-04-26  John Levon  <levon@movementarian.org>
6750
6751         * text3.C:
6752         * lyxfunc.C:
6753         * lfuns.h:
6754         * LyXAction.C: add LFUN_INSET_SETTINGS
6755
6756         * lyxfunc.C: don't enable tabular-feature when there's
6757         just any locking inset
6758
6759 2003-04-26  John Levon  <levon@movementarian.org>
6760
6761         * bufferlist.C: re-add Cancel to buffer close question
6762
6763         * lyxfunc.C: fix import UI a bit
6764
6765 2003-04-25  John Levon  <levon@movementarian.org>
6766
6767         * gettext.C: remove the broken asserts for now
6768
6769 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * messages.C: make case where setlocale cannot comply work better.
6772
6773         * buffer.C (updateDocLang): new function
6774         (changeLanguage): use it
6775         (readFile): use it
6776
6777         * text2.C (setCounter): use B_ a bit.
6778
6779         * lyxlayout.C (Read): be sure to trim the label strings.
6780
6781         * messages.C (Messages): fix typo in comment
6782
6783         * buffer.C (readFile): set message_ after file is loaded.
6784         (makeDocBookFile): remove double return
6785         (changeLanguage): reset message_ upon language change.
6786         (B_): new func, use this to get translated buffer strings.
6787
6788         * main.C: add myself and Jean Marc as authors.
6789
6790 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6791
6792         * messages.[hC]: pimplify Messages, and three different pimpls to be
6793         used in different circumstances.
6794
6795         * gettext.[Ch]: change for use with new message code.
6796
6797 2003-04-24 André Pönitz <poenitz@gmx.net>
6798
6799         * factory.C: support for eqref
6800
6801 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * messages.[Ch]: add missing char
6804
6805         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6806
6807         * messages.[Ch]: New files
6808
6809 2003-04-18  John Levon  <levon@movementarian.org>
6810
6811         * BufferView.h:
6812         * BufferView.C:
6813         * BufferView_pimpl.C:
6814         * lfuns.h:
6815         * LyXAction.C:
6816         * lyxtext.h:
6817         * text2.C: remove layout-copy/paste (bug 778)
6818
6819 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6822
6823 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6824
6825         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6826         if they succeed. Act accordingly.
6827
6828 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * text2.C (setCharFont): adjust
6831         (setCounter): adjust
6832         (insertStringAsLines): adjust
6833
6834         * text.C (leftMargin): adjust
6835         (setHeightOfRow): adjust
6836
6837         * rowpainter.C (paintFirst): adjust
6838         (paintLast): adjust
6839
6840         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6841         (outerHook): ditto
6842         (isFirstInSequence): ditto
6843         (getEndLabel): ditto
6844         (outerFont): adjust
6845
6846         * paragraph.C (getParLanguage): comment out some hard stuff.
6847
6848         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6849         (sgmlError): ditto
6850         (simpleDocBookOnePar): ditto
6851         (makeDocBookFile): use ParagraphList::iterator
6852
6853         * CutAndPaste.C (pasteSelection): adjust
6854
6855 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * text2.C (getFont): adjust
6858         (getLayoutFont): adjust
6859         (getLabelFont): adjust
6860
6861         * paragraph_funcs.C (TeXOnePar): adjust
6862
6863         * buffer.C (simpleLinuxDocOnePar): adjust
6864         (simpleDocBookOnePar): adjust
6865
6866         * CutAndPaste.C (pasteSelection): adjust
6867
6868         * BufferView.C (getEncoding): adjust
6869
6870         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6871
6872 2003-04-16  John Levon  <levon@movementarian.org>
6873
6874         * lyxfind.C: use parlist stuff for search/changes
6875
6876 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6879
6880         * text2.C (deleteEmptyParagraphMechanism): adjust
6881
6882         * text2.[Ch] (ownerParagraph): delete func (both of them
6883
6884 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6887
6888 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * ParagraphList.C: prepare for NO_NEXT
6891
6892 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * text2.C (getFont): adjust
6895         (getLayoutFont): adjust
6896         (getLabelFont): adjust
6897
6898         * paragraph.C (getFont): adjust
6899         (getLabelFont): adjust
6900         (getLayoutFont): adjust
6901
6902         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6903
6904 2003-04-15  John Levon  <levon@movementarian.org>
6905
6906         From Angus Leeming
6907
6908         * lyx_main.C: handle Include in .ui files
6909
6910 2003-04-15  John Levon  <levon@movementarian.org>
6911
6912         * MenuBackend.C: make the doc files length shorter
6913
6914         * ToolbarBackend.h:
6915         * ToolbarBackend.C: handle toolbar placement flags,
6916         Minibuffer
6917
6918 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6921         adjust
6922
6923         * paragraph_funcs.C (TeXOnePar): adjust
6924
6925         * paragraph.C (getLabelFont): add outerfont arg, adjust
6926         (getLayoutFont): ditto
6927         (simpleTeXOnePar): adjust
6928
6929         * paragraph_pimpl.C (realizeFont): delete func
6930
6931 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6934         row argument, constify cur argument.
6935
6936 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * text2.C (getFont): adjust
6939         (getLayoutFont): adjust
6940         (getLabelFont): adjust
6941
6942         * paragraph_funcs.C (TeXOnePar): adjust
6943         (outerFont): new func...
6944         (realizeFont): ...moved out from here, changed this to facilitate
6945         transition
6946
6947         * paragraph.C (getFont): take outerfont as arg, adjust
6948         (simpleTeXOnePar): add outerfont arg, adjust
6949
6950         * buffer.C (simpleLinuxDocOnePar): adjust
6951         (simpleDocBookOnePar): adjust
6952
6953         * CutAndPaste.C (pasteSelection): adjust
6954
6955         * BufferView.C (getEncoding): adjust
6956
6957 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * text2.C (setCharFont): adjust
6960         (setCounter): adjust
6961
6962         * text.C (leftMargin): adjust
6963         (setHeightOfRow): adjust
6964
6965         * rowpainter.C (paintFirst): adjust
6966         (paintLast): adjust
6967
6968         * paragraph_pimpl.C (realizeFont): adjust
6969
6970         * paragraph.C (isFirstInSequence): move from here...
6971         * paragraph_funcs.C (isFirstInSequence): ...to here
6972
6973         * paragraph.C (outerHook): move from here...
6974         * paragraph_funcs.C (outerHook): ...to here
6975
6976         * paragraph.C (depthHook): move from here...
6977         * paragraph_funcs.C (depthHook): ...to here
6978
6979         * paragraph.C (getEndLabel): move from here...
6980         * paragraph_funcs.C (getEndLabel): ...to here
6981
6982         * text2.C (realizeFont): move from here...
6983         * paragraph_funcs.C (realizeFont): ...to here
6984
6985 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6988
6989 2003-04-14  Angus Leeming  <leeming@lyx.org>
6990
6991         * LColor.[Ch]: scrap LColor mathcursor.
6992
6993 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * lyxlex.[Ch] (text): delete function
6996         * trans.C (Load): adjust
6997         * paragraph_funcs.C (readParToken): adjust
6998
6999 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7002         vector<char> instead of a char[].
7003
7004         * lyxlex_pimpl.C (getString): adjust
7005         (next): adjust
7006         (lex): use getString
7007         (eatLine): adjust
7008         (nextToken): adjust
7009
7010         * lyxlex.C (text): use pimpl_->getString()
7011         (getBool): ditto
7012         (findToken): ditto
7013
7014 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7017         (makeFontEntriesLayoutSpecific): temp var for par.size()
7018         (setLayout): temp var for ownerParagraphs().end()
7019         (fullRebreak): temp var for rows().end()
7020         (selectionAsString): temp var for boost::next(startpit), realize
7021         that the while really is a regular for loop.
7022         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7023         setCursor in one place.
7024         (setParagraph): temp vr for ownerParagraphs().end()
7025         (updateCounters): make the while loop a for loop
7026         (cutSelection): temp var for ownerParagraphs().end()
7027         (updateInset): make the do {} while() a regular for loop
7028         (getCursorX): use temp vars
7029         (setCurrentFont): use temp vars
7030         (getColumnNearX): use temp vars
7031
7032 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * text.C (transformChar): use temp var for getChar
7035         (computeBidiTables): use temp var for row->par()
7036         (fill): move temp vars for row->par() and pit->layout() earlier in
7037         the function.
7038         (labelFill): use temp var for row->par()
7039         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7040         asc and desc, realize that pit never changes and that firstpit is
7041         just a duplicate and not needed. Exchange rit->par() with pit in a
7042         lot of places.
7043         (breakAgain): use a temp var for boost::next(rit)
7044         (breakAgainOneRow): ditto
7045         (breakParagraph): use a temp var for rows().begin()
7046         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7047         (cursorRightOneWord): use temp var for cursor.par() and
7048         cursor.pos(), remove usage of tmpcursor.
7049         (cursorLeftOneWord): use temp var for cursor.par() and
7050         cursor.pos() only set cur at end of function.
7051
7052 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * text.C, text2.C: exchange all usage of Paragraph::next with
7055         boost::next(ParagraphList::iterator)
7056
7057         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7058
7059         * text2.C (cursorTop): simplify implementation
7060         (cursorBottom): ditto
7061         (setParagraph): use ParagraphList::iterator
7062         (setCurrentFont): adjust
7063         (getColumnNearX): adjust
7064         (cursorRight): adjust
7065         (cursorLeft): remove usage of Paragraph::previous
7066         (cursorUpParagraph): ditto
7067         (deleteEmptyParagraphMechanism): slight cleanup
7068
7069         * text.C (isBoundary): take a Paragraph const & instead of a
7070         pointer as arg.
7071         (addressBreakPoint): ditto
7072         (leftMargin): remove usage of Paragraph::previous.
7073         (setHeightOfRow): ditto
7074         (cursorLeftOneWord): ditto
7075         (selectNextWordToSpellcheck): ditto
7076         (Delete): ditto
7077         (backspace): ditto
7078         (breakParagraph): remove one usage of Paragraph::next
7079         (redoParagraph): ditto
7080         (acceptChange): ditto
7081         (insertChar): adjust
7082         (rowBreakPoint): adjust
7083
7084         * bufferview_funcs.C (toggleAndShow): adjust
7085
7086 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7087
7088         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7089         methods to access it.
7090         * lyxtext.h:
7091         * text.C: Added updateRowPositions to compute all row positions.
7092         Make top_y and getRowNearY() to use the cached y position
7093
7094 2003-04-11  John Levon  <levon@movementarian.org>
7095
7096         * text.C (rowBreakPoint): reintroduce the labelEnd
7097         checks, code copied from the row fill stuff. Deep voodoo.
7098
7099         * text.C (fill): add a comment and debugging for the
7100         next poor soul.
7101
7102 2003-04-11  John Levon  <levon@movementarian.org>
7103
7104         * text.C: make sure fullrow insets get wrapped to the next line,
7105         even when they're in a manual label
7106
7107 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * text2.C (insertParagraph): make it take ParagraphList::iterator
7110         as arg.
7111         (setLayout): make it return ParagraphList::iterator
7112         (redoParagraphs): ditto
7113         (setCounter): ditto
7114         (checkParagraph): ditto
7115
7116         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7117
7118         * text2.C: adjust several funcs.
7119         (realizeFont): take a ParagraphList::iterator as arg.
7120         (getLayoutFont): ditto
7121         (getLabelFont): ditto
7122         (setCharFont): ditto
7123
7124         * text.C: adjust several funcs.
7125
7126 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7127
7128         * text.C (selectNextWordToSpellcheck): don't accidentally
7129         skip insets
7130
7131 2003-04-10  John Levon  <levon@movementarian.org>
7132
7133         * ToolbarBackend.C (getIcon): special handling for
7134         LFUN_MATH_DELIM
7135
7136 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7137
7138         * text2.C (cursorRight): a getChar assert fixed
7139
7140 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * text2.C (getFont): change to take a ParagraphList::iterator
7143         instead of Paragraph*
7144         Adjust several functions.
7145
7146         * text.C (transformChar): change to take a ParagraphList::iterator
7147         instead of Paragraph*
7148         (singleWidth): ditto
7149         Adjust several functions.
7150
7151         * rowpainter.C: adjust several functions
7152         * rowpainter.h:store a ParagraphList::iterator and not a
7153         Paragraph&.
7154
7155
7156 2003-04-09  John Levon  <levon@movementarian.org>
7157
7158         * lyxfunc.C:
7159         * lfuns.h:
7160         * LyXAction.h:
7161         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7162         and the "help" bits as well
7163
7164 2003-04-09  John Levon  <levon@movementarian.org>
7165
7166         * ToolbarBackend.h:
7167         * ToolbarBackend.C: allow multiple toolbars
7168
7169 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * undo_funcs.C (setCursorParUndo): adjust
7172
7173         * text_funcs.C (transposeChars): adjust
7174
7175         * text3.C (gotoNextInset): adjust
7176         (dispatch): adjust
7177
7178         * text2.C (setLayout): adjust
7179         (changeDepth): adjust
7180         (setFont): adjust
7181         (redoParagraphs): adjust
7182         (selectionAsString): adjust
7183         (setParagraph): adjust
7184         (insertInset): adjust
7185         (cutSelection): adjust
7186         (copySelection): adjust
7187         (pasteSelection): adjust
7188         (insertStringAsLines): adjust
7189         (updateInset): adjust
7190         (setCursor): change to take a ParagraphList::iterator parameter
7191         (setCursorIntern): change to take a ParagraphList::iterator parameter
7192         (setCurrentFont): adjust
7193         (cursorLeft): adjust
7194         (cursorRight): adjust
7195         (deleteEmptyParagraphMechanism): adjust
7196
7197         * text.C (breakParagraph): adjust
7198         (insertChar): adjust
7199         (acceptChange): adjust
7200         (rejectChange): adjust
7201         (selectNextWordToSpellcheck): adjust
7202         (changeCase): adjust
7203         (Delete): adjust
7204         (backspace): adjust
7205
7206         * lyxfind.C (SearchForward): adjust
7207         (SearchBackward): adjust
7208         (nextChange): adjust
7209
7210         * lyxcursor.C (par): adjust
7211
7212         * lyxcursor.h: store a ParagraphList::iterator instead of a
7213         Paragraph*
7214
7215         * lyx_cb.C (getPossibleLabel): adjust
7216
7217         * bufferview_funcs.C (toggleAndShow): adjust
7218
7219         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7220         (dispatch): adjust
7221
7222         * BufferView.C (removeAutoInsets): adjust
7223         (lockedInsetStoreUndo): adjust
7224
7225 2003-04-09  John Levon  <levon@movementarian.org>
7226
7227         * ToolbarBackend.C: try icon without argument
7228         if with argument fails
7229
7230 2003-04-08  John Levon  <levon@movementarian.org>
7231
7232         * ToolbarBackend.h:
7233         * ToolbarBackend.C: add getIcon(), handle tooltip,
7234         and change from "Icon" to "Item".
7235
7236 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7237
7238         * BufferView.C (lockInset): another bad getchar crunched
7239
7240 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7241
7242         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7243         again)
7244
7245 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7246
7247         * lyxfind.C (searchForward, searchBackwards): bug 782
7248
7249 2003-04-07  John Levon  <levon@movementarian.org>
7250
7251         * paragraph.C: remove dead comment
7252
7253         * text.C: remove troublesome depth-fiddling code
7254         in leftMargin() and rightMargin() (bug 1017)
7255
7256         * text.C: fix breaking of rows in nested lists
7257         (bug 1004)
7258
7259         * text2.C (updateCounters): fix up depth values
7260         (bug 1013)
7261
7262 2003-04-07  John Levon  <levon@movementarian.org>
7263
7264         * BufferView_pimpl.C: clear message when doc finishes resizing,
7265         and after a mouse event
7266
7267         * lyxfunc.C: clear message after exiting inset
7268
7269 2003-04-07  John Levon  <levon@movementarian.org>
7270
7271         * bufferview_funcs.C: show math status not outside
7272         status in the statusbar
7273
7274 2003-04-07  John Levon  <levon@movementarian.org>
7275
7276         * lyxfunc.C: note status changed after a depth change
7277
7278 2003-04-04  Angus Leeming  <leeming@lyx.org>
7279
7280         * LaTeX.h: move AuxInfo operator==, != out of line.
7281         Remove LaTeX virtual destructor; nothing derives from it.
7282         Move operator()() out of public area and rename it startscript().
7283         Change protected for private.
7284
7285 2003-04-04  Angus Leeming  <leeming@lyx.org>
7286
7287         * lyxfunc.C:
7288         * text2.C: remove unneeded #includes.
7289
7290 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7291
7292         * text2.C (dEPM): fix the heigth of the next row
7293
7294 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7295
7296         * text.C: squashed an invalid getChar requester + some ws changes
7297
7298 2003-04-03  John Levon  <levon@movementarian.org>
7299
7300         * bufferview_funcs.h:
7301         * bufferview_funcs.C:
7302         * lyxfunc.C:
7303         * lyxtext.h:
7304         * text2.C: make getStatus work for the env depth lfuns
7305
7306 2003-04-03  John Levon  <levon@movementarian.org>
7307
7308         * bufferview_funcs.h:
7309         * bufferview_funcs.C:
7310         * lyxfunc.C:
7311         * lyxtext.h:
7312         * text2.C: parlistize decDepth(), by merging it with incDepth()
7313
7314 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * lyxrow.h: store a ParagraphList::iterator instead of a
7317         Paragraph* and adjust other class functions to suit.
7318
7319         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7320         above.
7321
7322 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * text2.C (setCursor): do not anchor to cursor row for the time being
7325
7326 2003-04-02  John Levon  <levon@movementarian.org>
7327
7328         * LyXAction.C:
7329         * lfuns.h:
7330         * lyx_main.C:
7331         * lyxtext.h:
7332         * text.C:
7333         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7334
7335 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * paragraph.h: make ParagraphList and ParagraphList::iterator
7338         friends of Paragraph.
7339
7340         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7341
7342         * ParagraphList.C: Use the private next_ and previous_ from
7343         Paragraph.
7344
7345 2003-04-01  John Levon  <levon@movementarian.org>
7346
7347         * ToolbarBackend.h:
7348         * ToolbarBackend.C:
7349         * Makefile.am: rename, remove defaults gunk
7350
7351         * MenuBackend.h:
7352         * MenuBackend.C: remove defaults gunk
7353
7354         * Languages.h:
7355         * Languages.C: remove defaults gunk
7356
7357         * lyx_main.h:
7358         * lyx_main.C: error out if files couldn't be found.
7359
7360 2003-04-02  John Levon  <levon@movementarian.org>
7361
7362         * text2.C: make incDepth() use parlist
7363
7364 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * undo_funcs.C (firstUndoParagraph): adjust
7367
7368         * text3.C (gotoInset): adjust
7369         (dispatch): adjust, and rewrite loop.
7370
7371         * text2.C (init): adjust, and rewrite loop.
7372         (redoParagraphs): adjust
7373         (updateInset): adjust, and rewrite loop.
7374         (deleteEmptyParagraphMechanism): adjust
7375
7376         * tabular.C (LyXTabular): adjust
7377         (SetMultiColumn): adjust
7378         (TeXRow): adjust
7379
7380         * lyxtext.[Ch] (ownerParagraph): delete function
7381         (ownerParagraphs): new function returns a ParagraphList.
7382
7383         * BufferView.C (removeAutoInsets): adjust
7384         (insertErrors): adjust
7385         (setCursorFromRow): adjust
7386
7387 2003-04-01  Angus Leeming  <leeming@lyx.org>
7388
7389         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7390         in the frontends.
7391
7392 2003-04-02  John Levon  <levon@movementarian.org>
7393
7394         * lyxtext.h:
7395         * text.C:
7396         * Makefile.am:
7397         * text_funcs.h:
7398         * text_funcs.C: make transposeChars a free function
7399
7400         * lyxrow_funcs.C: remove wrong comment
7401
7402 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * lyxtext.h: adjust
7405         * rowpainter.C: adjust
7406         * text.C: adjust
7407         * text2.C: adjust
7408         * text3.C: adjust
7409
7410         * lyxrow_funcs. [Ch]: new files
7411
7412         * lyxrow.[Ch]: remove next and previous pointers
7413         (next,previous): remove accessor functions
7414         (isParEnd): move to lyxrow_funcs
7415         (lastPos): move to lyxrow_funcs
7416         (nextRowIsAllInset): move to lyxrow_funcs
7417         (lastPrintablePos): move to lyxrow_funcs
7418         (numberOfSeparators): move to lyxrow_funcs
7419         (numberOfHfills): move to lyxrow_funcs
7420         (numberOfLabelHfills): move to lyxrow_funcs
7421         (hfillExpansion): move to lyxrow_funcs
7422
7423         * lyxfunc.C: adjust
7424
7425         * bufferview_funcs.C (toggleAndShow): adjust
7426
7427         * RowList.h: Remove class RowList from file leave just a
7428         std::list<Row>.
7429
7430         * RowList.C: delete file
7431
7432         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7433         and lyxrow_funcs.h
7434
7435 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * text3.C (cursorPrevious): adjust
7438         (cursorNext): adjust
7439         (dispatch): adjust
7440
7441         * text2.C (redoHeightOfParagraph): adjust
7442         (redoDrawingOfParagraph): adjust
7443         (setCursor): adjust
7444
7445         * text.C (breakParagraph): adjust
7446         (insertChar): adjust
7447         (backspace): adjust
7448
7449         * rowpainter.C (RowPainter): adjust
7450         (leftMargin): simplify and adjust
7451         (most rowpainter functions): adjust.
7452
7453         * rowpainter.h: store the row as RowList::iterator not as Row*
7454
7455         * lyxcursor.C (row): taka RowList::iterator as arg
7456         (irow): ditto
7457
7458         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7459         of Row*.
7460
7461 2003-04-01  Angus Leeming  <leeming@lyx.org>
7462
7463         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7464         stuff like bool Bool.
7465
7466 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7467
7468         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7469         rewrite a loop
7470
7471 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7472
7473         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7474         RowList::iterator.
7475
7476         * lyxtext.h (rows): drop one version and leve a const variant that
7477         returns a RowList::iterator.
7478
7479 2003-03-31  Angus Leeming  <leeming@lyx.org>
7480
7481         * text.C (fill): ensure that the signature is the same as that in the
7482         header file.
7483
7484 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * text2.C (redoParagraphs): adjust
7487         (updateCounters): adjust
7488         (checkParagraph): adjust
7489         (getColumnNearX): adjust and reformat a bit.
7490
7491         * text.C (top_y): adjust
7492         (workWidth): adjust
7493         (leftMargin): adjust
7494         (prepareToPrint): adjust
7495         (getRow): adjust
7496         (getRowNearY): adjust
7497
7498         * lyxtext.h: make rowlist_ mutable.
7499
7500         * RowList.h: add const_iterator
7501         * RowList.C: adjust for RowList::const_iterator.
7502
7503         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7504         adjust.
7505
7506 2003-03-31  John Levon  <levon@movementarian.org>
7507
7508         * lyxrc.h:
7509         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7510
7511         * lyx_main.C: set default fonts from using lyx_gui funcs
7512
7513         * exporter.C: pdf_mode moved from lyxrc
7514
7515         * lyx_cb.C:
7516         * lyxfunc.C: changes from above
7517
7518 2003-03-31  John Levon  <levon@movementarian.org>
7519
7520         * lyx_main.C: fix to the last fix
7521
7522 2003-03-31  John Levon  <levon@movementarian.org>
7523
7524         * bufferlist.C: "Load original" -> "Load Original"
7525
7526         * converter.C:
7527         * exporter.C:
7528         * importer.C:
7529         * lyx_main.C:
7530         * format.C: more Alert cleanups
7531
7532 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * text2.C (removeParagraph): make it take a RowList::iterator as
7535         arg, adjust.
7536         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7537         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7538
7539         * text.C (anchor_row): make it take a RowList::iterator as arg,
7540         adjust.
7541         (computeBidiTables): make it take a const reference to Row instead
7542         of Row pointer, adjust.
7543         (leftMargin): make it take a RowList::iterator as arg, adjust.
7544         (rowBreakPoint): adjust
7545         (breakAgainOneRow): make it take a RowList::iterator as arg,
7546         adjust.
7547         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7548
7549         * bufferview_funcs.C (toggleAndShow): adjust
7550
7551 2003-03-30  John Levon  <levon@movementarian.org>
7552
7553         * Makefile.am:
7554         * BoostFormat.h:
7555         * boost-inst.C: moved to support
7556
7557         * several files: changes as a result
7558
7559 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * text2.C (LyXText): adjust.
7562         (init): adjust
7563         (removeRow): make it take a RowList::iterator as arg, adjust.
7564         (fullRebreak): adjust
7565         (deleteEmptyParagraphMechanism): adjust
7566         (clearPaint): adjust
7567         (postPaint): adjust
7568
7569         * text.C (top_y): adjust
7570         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7571         (breakAgain): make it take a RowList::iterator as arg, adjust.
7572         (breakParagraph): adjust
7573         (insertChar): adjust
7574         (backspace): adjust
7575
7576         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7577         need_break_row, and refresh_row.
7578
7579         * text3.C (dispatch): adjust
7580
7581         * text2.C (checkParagraph): adjust
7582         (setCursor): adjust
7583         (setCursorFromCoordinates): adjust
7584
7585         * text.C (top_y): adjust
7586         (workWidth): adjust
7587         (getRow): make it return a RowList::iterator, adjust
7588         (getRowNearY): make it return a RowList::iterator, adjust
7589
7590         * text2.C (init): adjust
7591         (insertRow): remove function
7592         (insertParagraph): adjust
7593         (redoParagraphs): adjust
7594         (fullRebreak): adjust
7595         (updateCounters): adjust
7596
7597         * text.C (top_y): rewrite to use RowList iterators.
7598         (top_y): adjust
7599         (setHeightOfRow): rewrite to sue RowList iterators.
7600         (appendParagraph): adjust
7601         (breakAgain): adjust
7602         (breakAgainOneRow): adjust
7603         (breakParagraph): adjust
7604         (getRow): adjust
7605         (getRowNearY): adjust, and remove commented code.
7606
7607         * lyxtext.h (firstRow): delete function
7608         (lastRow): delete function
7609         (rows): new function (const and non-const versions.)
7610         (insertRow): delete function
7611
7612         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7613
7614 2003-03-29  John Levon  <levon@movementarian.org>
7615
7616         * BufferView_pimpl.C: always update scrollbar top
7617         because pasting text when we're anchored could mean we
7618         miss an update altogether
7619
7620 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7621
7622         * text2.C (init): use rowlist_.end() and not 0.
7623         (insertRow): change to take a RowList::iterator as arg, adjust
7624         for this.
7625         (insertParagraph): change to take a RowList::iterator as arg,
7626         adjust for this.
7627         (redoParagraphs): remove some debug msgs.
7628
7629         * text.C (appendParagraph): change to take a RowList::iterator
7630         arg, adjust for this.
7631         (breakAgain): add an assert
7632         (breakAgainOneRow): ditto
7633
7634 2003-03-29  John Levon  <levon@movementarian.org>
7635
7636         * text2.C: do not clear selection after inc/decDepth
7637         (bug 550)
7638
7639 2003-03-29  John Levon  <levon@movementarian.org>
7640
7641         * BufferView.C:
7642         * buffer.C: fix broken strerrors according to Lars
7643
7644 2003-03-29  John Levon  <levon@movementarian.org>
7645
7646         * converters.C: more Alert cleanups
7647
7648 2003-03-29  John Levon  <levon@movementarian.org>
7649
7650         * bufferview_funcs.C: remove pointless Alert
7651
7652         * buffer.C: fix confusing error message when
7653         a template is chmoded 000
7654
7655 2003-03-29  John Levon  <levon@movementarian.org>
7656
7657         * BufferView.C:
7658         * BufferView.h:
7659         * BufferView_pimpl.C: Alert fixes
7660
7661         * Makefile.am:
7662         * tabular.C:
7663         * tabular-old.C: remove unused table compat reading
7664
7665 2003-03-29  John Levon  <levon@movementarian.org>
7666
7667         * BufferView.C:
7668         * buffer.C:
7669         * lyx_cb.h:
7670         * lyx_cb.C: more Alert cleanups
7671
7672         * lyxfunc.C: don't allow chktex if not latex document
7673
7674 2003-03-29  John Levon  <levon@movementarian.org>
7675
7676         * lyx_cb.C:
7677         * BufferView.C:
7678         * buffer.C: warnings pushed down from support/,
7679         kill err_alert
7680
7681 2003-03-29  John Levon  <levon@movementarian.org>
7682
7683         * lyxfunc.C: safety check for C-r (revert)
7684
7685 2003-03-29  John Levon  <levon@movementarian.org>
7686
7687         * bufferlist.h:
7688         * bufferlist.C: several UI fixes using Alert::prompt.
7689         Fix the pointless looping quit code. Fix stupid revert
7690         behaviour (bug 938)
7691
7692         * lyxvc.h:
7693         * lyxvc.C:
7694         * lyx_cb.C: use Alert::prompt
7695
7696         * lyx_main.C: remove a silly question
7697
7698         * lyxfunc.C: remove a couple of silly questions,
7699         use Alert::prompt
7700
7701 2003-03-28  John Levon  <levon@movementarian.org>
7702
7703         * text2.C: fix bug 974 (End on empty par)
7704
7705 2003-03-28  John Levon  <levon@movementarian.org>
7706
7707         * BufferView_pimpl.C:
7708         * LyXAction.C:
7709         * lfuns.h: remove do-nothing math greek lfuns
7710
7711 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * lyxgluelength.h (isValidGlueLength): add default arg on
7714         parameter 2. Remove default arg from friend in class.
7715
7716         * lyxlength.h (isValidLength): add default arg on parameter 2.
7717         Remove default arg from friend in class.
7718
7719         * text2.C (LyXText): adjust, initialize refresh_row.
7720         (init): adjust
7721         (removeRow): adjust
7722         (insertRow): adjust
7723         (insertParagraph): adjst
7724         (redoParagraphs): adjust
7725         (fullRebreak): adjust
7726         (updateCounters): adjust
7727         (deleteEmptyParagraphMechanism): first attempt at fixing a
7728         crashing bug.
7729
7730         * text.C (top_y): adjust
7731         (setHeightOfRow): adjust
7732         (getRow): adjust
7733         (getRowNearY): adjust
7734
7735         * lyxtext.h: include RowList.h
7736         (~LyXText): not needed anymore, deleted.
7737         (firstRow): modify for RowList
7738         (lastRow): new function
7739         Delete firstrow and lastrow class variables, add a Rowlist
7740         rowlist_ class variable.
7741
7742         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7743         paragraph is empty.
7744
7745         * RowList.C (insert): fix case where it == begin().
7746
7747 2003-03-26  Angus Leeming  <leeming@lyx.org>
7748
7749         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7750         the thesaurus dialog.
7751
7752 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7755
7756         * RowList.[Ch]: new files
7757
7758         * ParagraphList.C (erase): handle the case where it == begin
7759         correctly.
7760
7761 2003-03-25  John Levon  <levon@movementarian.org>
7762
7763         * Makefile.am:
7764         * aspell_local.h:
7765         * aspell.C: add new aspell support
7766
7767         * lyxrc.h:
7768         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7769         have it accessible.
7770
7771 2003-03-25  Angus Leeming  <leeming@lyx.org>
7772
7773         * lfuns.h:
7774         * LyXAction.C (init): new LFUN_INSET_INSERT.
7775
7776         * BufferView_pimpl.C (dispatch): split out part of the
7777         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7778
7779         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7780         LFUN_INSET_APPLY.
7781
7782 2003-03-25  Angus Leeming  <leeming@lyx.org>
7783
7784         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7785
7786 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7787
7788         * text2.C:
7789         * text3.C: remove useless row->height(0)
7790
7791 2003-03-25  John Levon  <levon@movementarian.org>
7792
7793         * lyxtext.h:
7794         * text2.C:
7795         * text3.C: rename the refreshing stuff to better names
7796
7797 2003-03-24  John Levon  <levon@movementarian.org>
7798
7799         * BufferView_pimpl.h:
7800         * BufferView_pimpl.C: update layout choice on a mouse
7801         press/release
7802
7803 2003-03-23  John Levon  <levon@movementarian.org>
7804
7805         * Makefile.am: fix commandtags.h reference
7806
7807 2003-03-22  John Levon  <levon@movementarian.org>
7808
7809         * BufferView_pimpl.C:
7810         * lyxtext.h:
7811         * rowpainter.C:
7812         * rowpainter.h:
7813         * text.C:
7814         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7815
7816 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7817
7818         * lyxtext.h:
7819         * text.C: take the rtl methods out of line
7820
7821 2003-03-21 André Pönitz <poenitz@gmx.net>
7822
7823         * metricsinfo.[Ch]: new files containing structures to be passed around
7824         during the two-phase-drawing...
7825
7826 2003-03-21 André Pönitz <poenitz@gmx.net>
7827
7828         * lyxtextclass.C: read 'environment' tag.
7829
7830 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7831
7832         * text2.C (removeRow): fix bug 964
7833
7834 2003-03-20  John Levon  <levon@movementarian.org>
7835
7836         * rowpainter.C:
7837         * text.C:
7838         * text2.C: paint cleanups. Inset::update() dropped font
7839         parameter
7840
7841 2003-03-19  John Levon  <levon@movementarian.org>
7842
7843         * lyxfunc.C: only fitcursor/markDirty if available()
7844
7845 2003-03-19  John Levon  <levon@movementarian.org>
7846
7847         * commandtags.h: rename to ...
7848
7849         * lfuns.h: ... this, and renumber / cleanup
7850
7851 2003-03-19  John Levon  <levon@movementarian.org>
7852
7853         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7854         fit the cursor after an lfun
7855
7856         * BufferView.h:
7857         * BufferView.C:
7858         * BufferView_pimpl.h:
7859         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7860
7861         * LyXAction.C: layout-character should have ReadOnly
7862
7863         * ParagraphParameters.C:
7864         * buffer.C:
7865         * bufferview_funcs.C:
7866         * lyx_cb.C:
7867         * lyxfind.C:
7868         * lyxtext.h:
7869         * text.C:
7870         * text2.C:
7871         * text3.C:
7872         * undo_funcs.C: changes from above
7873
7874 2003-03-18  John Levon  <levon@movementarian.org>
7875
7876         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7877         remove it from update()
7878
7879         * lyxfunc.C: update layout choice after an lfun
7880
7881         * text3.C: remove extra updateLayoutChoice()s
7882
7883 2003-03-18  John Levon  <levon@movementarian.org>
7884
7885         * text.C: top_y change means full repaint, fix
7886         a drawing bug with cursor movement
7887
7888 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7889
7890         * lyxtext.h:
7891         * text.C:
7892         * text2.C: anchor row on setCursor
7893
7894 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7895
7896         * lyxtext.h: remove almost all mutable keywords
7897         * text.C:
7898         * text2.C:
7899         * text3.C: remove const keywords accordingly
7900
7901 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7904         anon namespace
7905         (TeXEnvironment): ditto
7906         (TeXOnePar): ditto
7907
7908 2003-03-17  John Levon  <levon@movementarian.org>
7909
7910         * text.C (rowBreakPoint): remove attempt to fix displayed
7911         math insets inside a manual label
7912
7913 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * lyxtext.h: remove BufferView* as first arg from almost all class
7916         functions.
7917         * other files: adjust.
7918
7919 2003-03-17  John Levon  <levon@movementarian.org>
7920
7921         * lyxtext.h:
7922         * undo_funcs.C:
7923         * text2.C: more paint cleanups
7924
7925         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7926
7927         * rowpainter.h:
7928         * rowpainter.C: remove "smart" background painting code
7929
7930 2003-03-16  John Levon  <levon@movementarian.org>
7931
7932         * lyxtext.h:
7933         * text.C:
7934         * text2.C:
7935         * text3.C: add helper functions for setting refresh_row/y
7936
7937 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7938
7939         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7940         newline inset which *can* get inserted in the pass_thru layouts.
7941         This is primarily for literate documents.
7942
7943 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7944
7945         * buffer.C: increment LYX_FORMAT to 223
7946
7947 2003-03-14 André Pönitz <poenitz@gmx.net>
7948
7949         * textclass.h: prepare for environment handling, ws changes
7950         * lyxlayout.C: read latexheader and latexfooter tags
7951
7952 2003-03-14  John Levon  <levon@movementarian.org>
7953
7954         * text2.C: rewrite ::status() a bit
7955
7956 2003-03-13  John Levon  <levon@movementarian.org>
7957
7958         * lyxtext.h: add some docs
7959
7960 2003-03-13  John Levon  <levon@movementarian.org>
7961
7962         * lyxtext.h:
7963         * text.C:
7964         * text2.C:
7965         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7966
7967 2003-03-13  John Levon  <levon@movementarian.org>
7968
7969         * text3.C: fix appendix redrawing
7970
7971 2003-03-13  John Levon  <levon@movementarian.org>
7972
7973         * text.C (setHeightOfRow):
7974         * rowpainter.h:
7975         * rowpainter.C: make appendix mark have the text
7976           "Appendix" so the user knows what it is
7977
7978         * LColor.h:
7979         * LColor.C: s/appendixline/appendix/ from above
7980
7981 2003-03-13  John Levon  <levon@movementarian.org>
7982
7983         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7984
7985         * text.C: fix a getChar(pos) bug properly
7986
7987 2003-03-13  Angus Leeming  <leeming@lyx.org>
7988
7989         * commandtags.h:
7990         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7991         Probably only temporary. Let's see how things pan out.
7992
7993         * BufferView.C (unlockInset):
7994         * BufferView_pimpl.C (fitCursor):
7995         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7996
7997         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7998         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7999
8000         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8001         new functions that convert ParagraphParameters to and from a string.
8002
8003         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8004         BufferView::Pimpl's dispatch.
8005         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8006
8007 2003-03-13 André Pönitz <poenitz@gmx.net>
8008
8009         * lyxfunc.C:
8010         * text3.C:
8011         * factory.C: make it aware of InsetEnv
8012
8013 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * text2.C (setCursor): never ask for one past last
8016         (setCursor): add some debugging messages.
8017
8018         * text.C (singleWidth): never ask for one past last
8019         (singleWidth): ditto
8020         (leftMargin): ditto
8021         (rightMargin): ditto
8022         (rowBreakPoint): ditto
8023         (setHeightOfRow): ditto
8024         (prepareToPrint): ditto
8025
8026         * rowpainter.C (paintBackground): never ask for one past last
8027         (paintText): never ask for one past last
8028
8029         * paragraph_pimpl.C (getChar): make the assert stricter, never
8030         allow the one past last pos to be taken
8031
8032         * paragraph.C (getChar): ws changes only
8033
8034         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8035         (numberOfSeparators): ditto
8036         (numberOfHfills): ditto
8037
8038 2003-03-12  John Levon  <levon@movementarian.org>
8039
8040         * author.h:
8041         * author.C:
8042         * bufferparams.h:
8043         * bufferparams.C:
8044         * paragraph_funcs.C: fix per-buffer authorlists
8045
8046 2003-03-12  John Levon  <levon@movementarian.org>
8047
8048         * text.C: fix newline in right address
8049
8050 2003-03-12  Angus Leeming  <leeming@lyx.org>
8051
8052         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8053         duplicate those in LyXFunc::dispatch.
8054
8055         * commandtags.h:
8056         * LyXAction.C:
8057         * ToolbarDefaults.C:
8058         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8059         Add LFUN_FONTFREE_UPDATE.
8060
8061         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8062         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8063
8064         * bufferview_func.[Ch]: several new functions to facilliate
8065         transfer of data to and from the character dialog.
8066
8067 2003-03-12  John Levon  <levon@movementarian.org>
8068
8069         * buffer.C:
8070         * paragraph.h:
8071         * paragraph.C:
8072         * paragraph_funcs.C:
8073         * paragraph_pimpl.C:
8074         * sgml.C:
8075         * tabular.C:
8076         * text.C:
8077         * text3.C: remove META_NEWLINE in favour of an inset
8078
8079         * rowpainter.h:
8080         * rowpainter.C: remove paintNewline (done by inset)
8081
8082 2003-03-12  John Levon  <levon@movementarian.org>
8083
8084         * paragraph_pimpl.C: complain about bad getChar()s
8085         for a while at least
8086
8087 2003-03-12  John Levon  <levon@movementarian.org>
8088
8089         * buffer.h:
8090         * buffer.C: move paragraph read into a separate function,
8091         a little renaming to reflect that.
8092
8093         * bufferparams.h:
8094         * bufferparams.C: remove the author_ids map, not necessary now
8095
8096         * factory.h:
8097         * factory.C: moved Buffer::readInset to here
8098
8099         * paragraph_funcs.h:
8100         * paragraph_funcs.C: readParagraph free function moved from
8101         buffer.C
8102
8103         * tabular.C: name change
8104
8105 2003-03-12  John Levon  <levon@movementarian.org>
8106
8107         * buffer.C:
8108         * ParagraphParameters.C: move par params input to
8109         a read() method
8110
8111         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8112         behave like a normal read from the stream wrt reading
8113         a line vs. a \\token
8114
8115 2003-03-12  John Levon  <levon@movementarian.org>
8116
8117         * paragraph.C:
8118         * ParagraphParameters.h:
8119         * ParagraphParameters.C: move output code to a
8120         ::write() method
8121
8122 2003-03-12  John Levon  <levon@movementarian.org>
8123
8124         * BufferView.C (insertLyXFile):
8125         * buffer.h:
8126         * buffer.C:
8127         * tabular.C: use a parlist iterator for creating the
8128           document.
8129
8130 2003-03-12  John Levon  <levon@movementarian.org>
8131
8132         * buffer.C: make current_change static local not
8133           static file-scope
8134
8135 2003-03-12  John Levon  <levon@movementarian.org>
8136
8137         * buffer.C: fix insertStringAsLines for change tracking
8138
8139 2003-03-12  John Levon  <levon@movementarian.org>
8140
8141         * BufferView.C:
8142         * tabular.C:
8143         * buffer.h:
8144         * buffer.C:
8145         * bufferparams.h:
8146         * bufferparams.C: move author list into params. Rename some
8147           functions. Move the header reading into a separate token
8148           loop. Move the header token reading into BufferParams.
8149
8150 2003-03-12  John Levon  <levon@movementarian.org>
8151
8152         * changes.C: put debug inside lyxerr.debugging() checks
8153
8154 2003-03-11 André Pönitz <poenitz@gmx.net>
8155
8156         * factory.C: make it aware of InsetHFill
8157
8158 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8159
8160         * buffer.C (latexParagraphs): move function from here...
8161         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8162         args.
8163
8164 2003-03-10  Angus Leeming  <leeming@lyx.org>
8165
8166         * LyXAction.C (init): fix bug in poplating array with multiple entries
8167         with the same LFUN (spotted by JMarc).
8168
8169 2003-03-10  John Levon  <levon@movementarian.org>
8170
8171         * text.C:
8172         * text2.C: move getColumnNearX() near its
8173         only call site
8174
8175 2003-03-10  John Levon  <levon@movementarian.org>
8176
8177         * text.C: fix break before a minipage
8178
8179 2003-03-10  John Levon  <levon@movementarian.org>
8180
8181         * text.C: fix the last commit
8182
8183 2003-03-09  John Levon  <levon@movementarian.org>
8184
8185         * lyxtext.h:
8186         * text.C:
8187         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8188         bug 365 (don't break before insets unless needed). Don't
8189         return a value > last under any circumstances.
8190
8191 2003-03-09  Angus Leeming  <leeming@lyx.org>
8192
8193         * BufferView_pimpl.C (trackChanges, dispatch): call
8194         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8195
8196 2003-03-09  Angus Leeming  <leeming@lyx.org>
8197
8198         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8199         than Dialogs::showAboutlyx().
8200
8201 2003-03-09  Angus Leeming  <leeming@lyx.org>
8202
8203         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8204         than Dialogs::showTabularCreate().
8205
8206 2003-03-09  John Levon  <levon@movementarian.org>
8207
8208         * lyxtext.h:
8209         * text.C:
8210         * text2.C: 3rd arg to nextBreakPoint was always the same.
8211           Use references.
8212
8213 2003-03-08  John Levon  <levon@movementarian.org>
8214
8215         * lyxrow.C:
8216         * paragraph.C:
8217         * paragraph.h:
8218         * rowpainter.C:
8219         * text.C:
8220         * text2.C: Remove the "main" bit from the "main body"
8221           notion.
8222
8223 2003-03-08  John Levon  <levon@movementarian.org>
8224
8225         * text.C (leftMargin): The left margin of an empty
8226         manual label paragraph should not include the label width
8227         string length.
8228
8229         * text.C (prepareToPrint): don't attempt to measure hfills
8230         for empty manual label paragraphs - the answer should be 0
8231
8232 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * CutAndPaste.C: remove commented code and reindent.
8235
8236 2003-03-08  John Levon  <levon@movementarian.org>
8237
8238         * lyxfunc.h:
8239         * lyxfunc.C: move reloadBuffer()
8240
8241         * BufferView.h:
8242         * BufferView.C: to here
8243
8244         * lyxvc.C: add comment
8245
8246         * vc-backend.h:
8247         * vc-backend.C: call bv->reload() to avoid
8248           getStatus() check on MENURELOAD
8249
8250 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8251
8252         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8253         to an old format .dep file.
8254
8255 2003-03-07  Angus Leeming  <leeming@lyx.org>
8256
8257         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8258         when the LFUN_MOUSE_RELEASE should have been handled by
8259         inset->localDispatch.
8260
8261 2003-03-07  Angus Leeming  <leeming@lyx.org>
8262
8263         * BufferView_pimpl.C (dispatch):
8264         * LyXAction.C (init):
8265         * ToolbarDefaults.C (init):
8266         * commandtags.h:
8267         * lyxfunc.C (getStatus):
8268         remove LFUN_INSET_GRAPHICS.
8269
8270         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8271
8272 2003-03-07  Angus Leeming  <leeming@lyx.org>
8273
8274         * commandtags.h:
8275         * LyXAction.C (init):
8276         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8277
8278         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8279
8280         * commandtags.h:
8281         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8282
8283         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8284         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8285
8286 2003-03-07  Angus Leeming  <leeming@lyx.org>
8287
8288         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8289         remove "ert".
8290
8291 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * ParagraphList.C (front): new function
8294         (back): implement
8295
8296 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8297
8298         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8299         and top_row_offset_. removed var first_y.
8300         * text.C (top_y):
8301         * text2.C (LyXText, removeRow):
8302         * text3.C:
8303         * BufferView_pimpl.C:
8304         use these methods instead of using first_y
8305
8306 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * text2.C (pasteSelection): adjust for checkPastePossible
8309
8310         * CutAndPaste.C: remove Paragraph * buf and replace with
8311         ParagraphList paragraphs.
8312         (DeleteBuffer): delete
8313         (cutSelection): change the tc type to textclass_type
8314         (copySelection): change the tc type to textclass_type
8315         (copySelection): adjust for ParagraphList
8316         (pasteSelection): change the tc type to textclass_type
8317         (pasteSelection): adjust for Paragraphlist
8318         (nrOfParagraphs): simplify for ParagraphList
8319         (checkPastePossible): simplify for ParagraphList
8320         (checkPastePossible): remove unused arg
8321
8322         * ParagraphList.C (insert): handle the case where there are no
8323         paragraphs yet.
8324
8325         * CutAndPaste.h: make CutAndPaste a namespace.
8326
8327         * text3.C (dispatch): adjust
8328
8329         * text.C (breakParagraph): add a ParagraphList as arg
8330
8331         * paragraph_funcs.C (breakParagraph): change to take a
8332         BufferParams and a ParagraphList as args.
8333         (breakParagraphConservative): ditto
8334         (mergeParagraph): ditto
8335         (TeXDeeper): add a ParagraphList arg
8336         (TeXEnvironment): ditto
8337         (TeXOnePar): ditto
8338
8339         * buffer.C (readLyXformat2): adjust
8340         (insertStringAsLines): adjust
8341         (latexParagraphs): adjust
8342
8343         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8344         (cutSelection): adjust
8345         (pasteSelection): adjust
8346
8347         * BufferView_pimpl.C (insertInset): adjust
8348
8349 2003-03-05  Angus Leeming  <leeming@lyx.org>
8350
8351         * commandtags.h:
8352         * LyXAction.C (init):
8353         * BufferView_pimpl.C (dispatch):
8354         * lyxfunc.C (getStatus):
8355         remove LFUN_CHILD_INSERT.
8356
8357         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8358
8359 2003-03-05  Angus Leeming  <leeming@lyx.org>
8360
8361         * commandtags.h:
8362         * LyXAction.C (init):
8363         * src/factory.C (createInset):
8364         * lyxfunc.C (getStatus):
8365         * text3.C (dispatch):
8366         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8367
8368         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8369
8370 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * ParagraphList.C (insert): handle insert right before end()
8373         (erase): fix cases where it can be first or last paragraph.
8374
8375 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8376
8377         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8378         Paragraph::next and Paragraph::previous
8379         (TeXOnePar): ditto
8380
8381         * text.C (breakParagraph): adjust
8382
8383         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8384         BufferParams& as arg.
8385         (breakParagraph): use ParagraphList::insert
8386         (breakParagraphConservative): take a Buffer* instead of a
8387         BufferParams& as arg.
8388         (breakParagraphConservative): use ParagraphList::insert.
8389
8390         * buffer.C (insertStringAsLines): un-const it
8391         (insertStringAsLines): adjust
8392
8393         * ParagraphList.C (insert): new function
8394
8395         * CutAndPaste.C (pasteSelection): adjust
8396
8397         * text.C (backspace): adjust
8398
8399         * tabular.C (SetMultiColumn): adjust
8400
8401         * CutAndPaste.C (cutSelection): adjust
8402         (pasteSelection): adjust
8403
8404         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8405         Buffer const * as arg
8406
8407         * ParagraphList.C (erase): new function
8408         * paragraph_funcs.C (mergeParagraph): use it
8409         (mergeParagraph): make it take a Buffer* instead of a
8410         BufferParams* as arg
8411
8412         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8413         as arg
8414         (breakParagraphConservative): ditto
8415
8416         * paragraph.h: remove the breakParagraph friend
8417
8418         * paragraph.C (eraseIntern): new function
8419         (setChange): new function
8420
8421         * paragraph_funcs.C (mergeParagraph): make it take a
8422         ParagraphList::iterator instead of a Paragraph *, adjust
8423         accordingly.
8424
8425         * paragraph.h: move an #endif so that the change tracking stuff
8426         also works in the NO_NEXT case.
8427
8428 2003-03-04  Angus Leeming  <leeming@lyx.org>
8429
8430         * commandtags.h:
8431         * LyXAction.C: new LFUN_INSET_MODIFY.
8432
8433         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8434         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8435
8436 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8437
8438         * several files: ws changes only
8439
8440         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8441         (TeXEnvironment): ditto
8442         (TeXDeeper): ditto
8443
8444         * buffer.C (makeLaTeXFile): adjust
8445         (latexParagraphs): make it take ParagraphList::iterator as args
8446
8447 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * buffer.C (latexParagraphs): adjust
8450
8451         * paragraph.C (TeXOnePar): move function...
8452         (optArgInset): move function...
8453         (TeXEnvironment): move function...
8454         * paragraph_pimpl.C (TeXDeeper): move function...
8455         * paragraph_funcs.C: ...here
8456
8457         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8458
8459 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * buffer.C (readInset): remove compability code for old Figure and
8462         InsetInfo insets
8463
8464 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * buffer.C: ws changes
8467         (readInset):
8468
8469         * BufferView_pimpl.C: ditto
8470         * author.C: ditto
8471         * buffer.h: ditto
8472         * bufferlist.h: ditto
8473         * changes.h: ditto
8474         * lyxfunc.C: ditto
8475
8476 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8477
8478         * converter.[Ch]: split into itself +
8479         * graph.[Ch]
8480         * format.[Ch]
8481         * Makefile.am: += graph.[Ch] + format.[Ch]
8482         * MenuBackend.C
8483         * buffer.C
8484         * exporter.C
8485         * importer.C
8486         * lyx_main.C
8487         * lyxfunc.C
8488         * lyxrc.C: added #include "format.h"
8489
8490 2003-02-27  Angus Leeming  <leeming@lyx.org>
8491
8492         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8493           a label.
8494
8495         * factory.C (createInset): add "label" to the factory.
8496
8497         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8498           string and do no more.
8499
8500 2003-02-27  Angus Leeming  <leeming@lyx.org>
8501
8502         * commandtags.h:
8503         * LyXAction.C (init):
8504         * factory.C (createInset):
8505         * BufferView_pimpl.C (dispatch):
8506           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8507
8508         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8509
8510         * lyxfunc.C (dispatch):
8511         * text3.C (dispatch): pass name to params2string.
8512
8513 2003-02-26  Angus Leeming  <leeming@lyx.org>
8514
8515         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8516           blocks together.
8517           Rearrange the ~includes. Strip out the unnecessary ones.
8518
8519         * factory.C (createInset): reformat.
8520           create new insets for the various LFUN_XYZ_APPLY lfuns.
8521
8522 2003-02-26  John Levon  <levon@movementarian.org>
8523
8524         * lyxrow.h:
8525         * lyxrow.C: add isParStart,isParEnd helpers
8526
8527         * paragraph.h: make isInserted/DeletedText take refs
8528
8529         * paragraph_funcs.h:
8530         * paragraph_funcs.C: remove #if 0'd code
8531
8532         * lyxtext.h:
8533         * text3.C:
8534         * text2.C:
8535         * text.C: use lyxrow helpers above.
8536           Move draw and paint routines to RowPainter.
8537           Make several methods use refs not pointers.
8538           Make backgroundColor() const.
8539           Add markChangeInDraw(), isInInset().
8540           Merge changeRegionCase into changeCase.
8541           Make workWidth() shouldn't-happen code into an Assert.
8542
8543         * rowpainter.h:
8544         * rowpainter.C: new class for painting a row.
8545
8546         * vspace.h:
8547         * vspace.C: make inPixels take a ref
8548
8549 2003-02-26  Angus Leeming  <leeming@lyx.org>
8550
8551         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8552         LFUN_REF_APPLY.
8553
8554 2003-02-25  John Levon  <levon@movementarian.org>
8555
8556         * ispell.C: give the forked command a more accurate name
8557
8558 2003-02-22  John Levon  <levon@movementarian.org>
8559
8560         * toc.h:
8561         * toc.C: make TocItem store an id not a Paragraph *
8562           (bug #913)
8563
8564 2003-02-21  Angus Leeming  <leeming@lyx.org>
8565
8566         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8567           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8568           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8569           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8570           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8571           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8572
8573         * BufferView_pimpl.C (dispatch):
8574         * LyXAction.C (init):
8575         * factory.C (createInset):
8576         * lyxfunc.C (getStatus, dispatch):
8577         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8578
8579 2003-02-21  Angus Leeming  <leeming@lyx.org>
8580
8581         * BufferView_pimpl.C (MenuInsertLyXFile):
8582         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8583         * lyxfunc.C (menuNew, open, doImport):
8584           no longer pass a LyXView & to fileDlg.
8585
8586 2003-02-21  Angus Leeming  <leeming@lyx.org>
8587
8588         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8589         * LyXAction.C: change, BIBKEY to BIBITEM.
8590         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8591         Change InsetBibKey to InsetBibitem.
8592         Change BIBKEY_CODE to BIBITEM_CODE.
8593         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8594         * factory.C: replace insetbib.h with insetbibitem.h.
8595         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8596         * paragraph.C: replace insetbib.h with insetbibitem.h.
8597         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8598         Change bibkey() to bibitem().
8599         * text.C: remove insetbib.h.
8600         * text2.C: replace insetbib.h with insetbibitem.h.
8601         change bibkey() to bibitem().
8602         * text3.C: remove insetbib.h.
8603         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8604
8605 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8606
8607         * lyxrc.C (output): enclose user email in quotes (in case there are
8608         several words)
8609
8610 2003-02-18  John Levon  <levon@movementarian.org>
8611
8612         * buffer.h: add std::
8613
8614 2003-02-17  John Levon  <levon@movementarian.org>
8615
8616         * SpellBase.h:
8617         * ispell.h:
8618         * ispell.C:
8619         * pspell.h:
8620         * pspell.C: reworking. Especially in ispell, a large
8621           number of clean ups and bug fixes.
8622
8623         * lyxfunc.C: fix revert to behave sensibly
8624
8625 2003-02-17 André Pönitz <poenitz@gmx.net>
8626
8627         * LyXAction.C:
8628         * commandtags.h: new LFUN_INSERT_BIBKEY
8629
8630         * layout.h:
8631         * lyxlayout.C:
8632         * buffer.C:
8633         * factory.C:
8634         * text.C:
8635         * text2.C:
8636         * text3.C:
8637         * paragraph.[Ch]:
8638         * paragraph_func.C: remove special bibkey handling
8639
8640 2003-02-17  John Levon  <levon@movementarian.org>
8641
8642         * text.C (Delete): fix case where delete at the end of
8643           the very first paragraph would not merge the pars
8644
8645 2003-02-17  John Levon  <levon@movementarian.org>
8646
8647         * lyxrow.C: fix lastPrintablePos()
8648
8649 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8650
8651         * bufferparams.C (writeLaTeX): add a std:here
8652
8653         * buffer.C: and remove a using directive there
8654
8655 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8656
8657         * buffer.C (makeLaTeXFile): move the code that generates the
8658           preamble...
8659
8660         * bufferparams.C (writeLaTeX): ... in this new method
8661
8662         * LaTeXFeatures.C (getEncodingSet): make const
8663           (getLanguages): make const
8664
8665         * MenuBackend.C (binding): returns the binding associated to this
8666           action
8667           (add): sets the status of each item by calling getStatus. Adds
8668           some intelligence.
8669           (read): add support for OptSubMenu
8670           (expand): remove extra separator at the end of expanded menu
8671
8672 2003-02-15  John Levon  <levon@movementarian.org>
8673
8674         * BufferView.C:
8675         * BufferView_pimpl.C:
8676         * bufferlist.h:
8677         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8678           inset code that had no actual effect. Remove unneeded status
8679           code.
8680
8681 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8684           in preamble
8685
8686 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8687
8688         * text.C (drawLengthMarker): also draw an arrow marker for
8689           symbolic lengths (medskip...)
8690
8691 2003-02-14  John Levon  <levon@movementarian.org>
8692
8693         * tabular.h:
8694         * tabular.C: better method names
8695
8696 2003-02-14  John Levon  <levon@movementarian.org>
8697
8698         * BufferView_pimpl.C:
8699         * bufferlist.C:
8700         * buffer.C:
8701         * converter.C:
8702         * lyx_cb.C:
8703         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8704           it's a more accurate name. Remove some pointless uses.
8705
8706 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8707
8708         * text2.C (LyXText): change order of initilizers to shut off
8709           warnings
8710
8711 2003-02-14  John Levon  <levon@movementarian.org>
8712
8713         * buffer.C: use ParIterator for getParFromID()
8714
8715         * paragraph.h:
8716         * paragraph.C:
8717         * paragraph_pimpl.h:
8718         * paragraph_pimpl.C: remove unused getParFromID()
8719
8720 2003-02-14  John Levon  <levon@movementarian.org>
8721
8722         * buffer.C: remove some very old #if 0'd parse code
8723
8724 2003-02-13  John Levon  <levon@movementarian.org>
8725
8726         * text.h:
8727         * text.C:
8728         * text2.C: move hfillExpansion(), numberOfSeparators(),
8729           rowLast(), rowLastPrintable(), numberofHfills(),
8730           numberOfLabelHfills() ...
8731
8732         * lyxrow.h:
8733         * lyxrow.C: ... to member functions here.
8734
8735         * paragraph.h:
8736         * paragraph.C:
8737         * lyxtext.h:
8738         * text.C: remove LyXText::beginningOfMainBody(), and call
8739           p->beginningOfMainBody() directly. Move the check for
8740           LABEL_MANUAL into the latter.
8741
8742         * text.h:
8743         * text.C:
8744         * text2.C:
8745         * vspace.C:
8746         * BufferView.h:
8747         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8748
8749         * text.h:
8750         * text.C:
8751         * text2.C:
8752         * text3.C:
8753         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8754           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8755
8756 2003-02-13  John Levon  <levon@movementarian.org>
8757
8758         * CutAndPaste.C: remove debug
8759
8760 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * paragraph.C (asString): remove two unused variables
8763
8764         * lyxtextclass.C (readTitleType):
8765           (Read):
8766           (LyXTextClass): handle new members titletype_ and titlename_
8767
8768         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8769
8770 2003-02-09  John Levon  <levon@movementarian.org>
8771
8772         * buffer.h:
8773         * buffer.C: replace hand-coded list with a map for the dep clean
8774
8775 2003-02-08  John Levon  <levon@movementarian.org>
8776
8777         * LaTeX.C: consolidate code into showRunMessage() helper
8778
8779 2003-02-08  John Levon  <levon@movementarian.org>
8780
8781         * lyxfind.C:
8782         * lyxtext.h:
8783         * text2.C:
8784         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8785           and pass the size in explicitly
8786
8787         * BufferView_pimpl.h:
8788         * BufferView_pimpl.C:
8789         * BufferView.h:
8790         * BufferView.C: add getCurrentChange()
8791
8792         * BufferView_pimpl.h:
8793         * BufferView_pimpl.C: handle change lfuns
8794
8795         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8796           for changes. Mark pasted paragraphs as new.
8797
8798         * support/lyxtime.h:
8799         * support/lyxtime.C:
8800         * DepTable.C: abstract time_t as lyx::time_type
8801
8802         * LColor.h:
8803         * LColor.C: add colours for new text, deleted text, changebars
8804
8805         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8806           package use "usenames" option.
8807
8808         * commandtags.h:
8809         * lyxfunc.C:
8810         * LyXAction.C: add change lfuns
8811
8812         * Makefile.am:
8813         * author.h:
8814         * author.C: author handling
8815
8816         * buffer.h:
8817         * buffer.C: add a per-buffer author list, with first entry as
8818           current author. Handle new .lyx tokens for change tracking. Output
8819           author list to .lyx file. Output dvipost stuff to .tex preamble.
8820           Bump lyx format to 222.
8821
8822         * bufferlist.h:
8823         * bufferlist.C: add setCurrentAuthor() to reset current author details
8824           in all buffers.
8825
8826         * bufferparams.h:
8827         * bufferparams.C: add param for tracking
8828
8829         * bufferview_funcs.C: output change info in minibuffer
8830
8831         * Makefile.am:
8832         * changes.h:
8833         * changes.C: add change-tracking structure
8834
8835         * debug.h:
8836         * debug.C: add CHANGES debug flag
8837
8838         * lyxfind.h:
8839         * lyxfind.C: add code for finding the next change piece
8840
8841         * lyxrc.h:
8842         * lyxrc.C: add user_name and user_email
8843
8844         * lyxrow.h:
8845         * lyxrow.C: add a metric for the top of the text line
8846
8847         * lyxtext.h:
8848         * text.C: implement accept/rejectChange()
8849
8850         * lyxtext.h:
8851         * text.C: paint changebars. Paint new/deleted text in the chosen
8852         colours. Strike through deleted text.
8853
8854         * paragraph.h:
8855         * paragraph.C:
8856         * paragraph_pimpl.h:
8857         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8858           in the current change to the insert functions. Rework erase to
8859           mark text as deleted, adding an eraseIntern() and a range-based
8860           erase(). Implement per-paragraph change lookup and
8861           accept/reject.
8862
8863         * paragraph_funcs.C: Fixup paste for change tracking.
8864
8865         * tabular.C: mark added row/columns as new.
8866
8867         * text.C: fix rowLast() to never return -1. Don't allow
8868           spellchecking of deleted text. Track transpose changes. Don't
8869           allow paragraph break or merge where appropriate.
8870
8871         * text2.C: leave cursor at end of selection after a cut.
8872
8873 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8874
8875         * text.C (getLengthMarkerHeight):
8876         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8877         visible on screen too.
8878
8879 2003-02-07  John Levon  <levon@movementarian.org>
8880
8881         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8882
8883 2003-02-05  Angus Leeming  <leeming@lyx.org>
8884
8885         * lyxserver.C (read_ready): revert my patch of 11 September last year
8886         as it sends PC cpu through the roof. Presumably this means that
8887         the lyxserver will no longer run on an Alpha...
8888
8889 2003-01-30  Angus Leeming  <leeming@lyx.org>
8890
8891         * factory.C (createInset): create an InsetCommandParam of type "index"
8892         and use it to 'do the right thing'.
8893
8894         * text2.C (getStringToIndex): ensure that cursor position is always
8895         reset to the reset_cursor position.
8896
8897 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8898
8899         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8900         disabled.
8901
8902 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8903
8904         * bufferview.C:
8905         * lyxcb.C:
8906         * lyxfunc.C: Output messages with identical spelling, punctuation,
8907         and spaces
8908
8909 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8910
8911         * MenuBackend.C (expandFormats): List only viewable export formats
8912         in "View" menu
8913
8914         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8915         message
8916
8917         * lyxfunc.C (getStatus): Make sure that formats other than
8918         "fax" can also be disabled
8919
8920 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8921
8922         * text3.C (dispatch): put the lfuns that insert insets in 3
8923         groups, and call doInsertInset with appropriate arguments.
8924         (doInsertInset): new function, that creates an inset and inserts
8925         it according to some boolean parameters.
8926
8927 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8928
8929         * buffer.C (readFile): remember to pass on 'par' when calling
8930         readFile recursively.
8931
8932 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8933
8934         * MenuBackend.C (expandFormats): add "..." to import formats.
8935
8936 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8937
8938         * paragraph.C (asString): Remove XForms RTL hacks.
8939
8940 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8941         * buffer.C: fix typo
8942
8943 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * Makefile.am (LIBS): delete var
8946         (lyx_LDADD): add @LIBS@ here instead.
8947
8948 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8949
8950         * Clarify the meaning of "wheel mouse jump"
8951
8952 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8953
8954         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8955         tabular in a float
8956
8957 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8958
8959         * importer.C (Loaders): do not preallocate 3 elements in the
8960         vector, since one ends up with 6 elements otherwise
8961
8962 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8963
8964         * DepTable.C (write): write the file name as last element of the
8965         .dep file (because it may contain spaces)
8966         (read): read info in the right order
8967
8968 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8969
8970         * paragraph_pimpl.C (simpleTeXBlanks):
8971         (simpleTeXSpecialChars):
8972         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8973
8974         * tabular.C (latex): add some missing case statements. Reindent.
8975
8976         * MenuBackend.C (expandToc): remove unused variable.
8977
8978 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8979
8980         * LColor.C:
8981         * LaTeX.C:
8982         * LyXAction.C:
8983         * MenuBackend.C:
8984         * buffer.C:
8985         * exporter.C:
8986         * lyxfunc.C:
8987         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8988         and the like.
8989
8990 2003-01-05  John Levon  <levon@movementarian.org>
8991
8992         * BufferView.h:
8993         * BufferView.C: add getEncoding()
8994
8995         * kbsequence.h:
8996         * kbsequence.C: do not store last keypress
8997
8998         * lyxfunc.h:
8999         * lyxfunc.C: store last keypress here instead. Pass encoding
9000           to getISOEncoded()
9001
9002 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9003
9004         * lyx_main.C (init): remove annoying error message when following
9005         symbolic links (bug #780)
9006
9007 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9008
9009         * text.C (insertChar):
9010         * lyxrc.C (getDescription): remove extra spaces
9011
9012 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9013
9014         * lyxrc.C (getDescription): remove extra spaces
9015
9016 2002-12-20  John Levon  <levon@movementarian.org>
9017
9018         * text3.C: hack fix for page up/down across tall rows
9019
9020 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9021
9022         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9023         not been invoked
9024
9025 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9026
9027         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9028         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9029         thesaurus is not compiled in
9030
9031 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9032
9033         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9034
9035 2002-12-16  Angus Leeming  <leeming@lyx.org>
9036
9037         * lyxrc.[Ch]:
9038         * lyx_main.C (init): remove override_x_deadkeys stuff.
9039
9040 2002-12-12  John Levon  <levon@movementarian.org>
9041
9042         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9043           insert. Only remove shift modifier under strict
9044           circumstances.
9045
9046 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9047
9048         * MenuBackend.C (expandToc): fix crash.
9049
9050 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * MenuBackend.C (expandToc): gettext on float names.
9053
9054 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9055
9056         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9057         implement bool empty() [bug 490]
9058
9059 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9060
9061         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9062
9063 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9064
9065         * several files: ws changes
9066
9067 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9068
9069         * text2.C (setCounter): clean up a bit, use boost.format.
9070         (updateCounters): initialize par upon declaration.
9071
9072         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9073         if the layout exists. We do not just store the layout any more.
9074         (SwitchLayoutsBetweenClasses): use boost.format
9075
9076 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9077
9078         * converter.C (convert): if from and to files are the same, use a
9079         temporary files as intermediary
9080
9081 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9082
9083         * commandtags.h:
9084         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9085
9086 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9087
9088         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9089
9090 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * tabular.C (asciiPrintCell): use string(size, char) instead of
9093         explicit loop.
9094
9095         * sgml.C (openTag): fix order of arguments to string constructor
9096         (closeTag): ditto
9097
9098         * lyxfunc.C (dispatch): use boost.format
9099
9100         * lots of files: change "c" -> 'c'
9101
9102 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9105
9106 2002-11-25  Angus Leeming  <leeming@lyx.org>
9107
9108         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9109
9110         * lyx_main.C (init): compile fix.
9111
9112 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9113
9114         * lyx_cb.C (start): boost.formatify
9115         do not include <iostream>
9116
9117         * lengthcommon.C: ws only
9118
9119         * boost-inst.C,BoostFormat.h: add more explict instantations
9120
9121 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * lots of files: handle USE_BOOST_FORMAT
9124
9125 2002-11-21  John Levon  <levon@movementarian.org>
9126
9127         * pspell.C: fix compile
9128
9129 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9130
9131         * lyxfunc.C (dispatch): use boost::format
9132         (open): ditto
9133         (doImport): ditto
9134
9135         * lyxfont.C (stateText): use boost::format
9136
9137         * lyx_main.C (LyX): use boost::format
9138         (init): ditto
9139         (queryUserLyXDir): ditto
9140         (readRcFile): ditto
9141         (parse_dbg): ditto
9142         (typedef boost::function): use the recommened syntax.
9143
9144         * importer.C (Import): use boost::format
9145
9146         * debug.C (showLevel): use boost::format
9147
9148         * converter.C (view): use boost::format
9149         (convert): ditto
9150         (move): ditto
9151         (scanLog): ditto
9152
9153         * bufferview_funcs.C (currentState): use boost::format
9154
9155         * bufferlist.C (emergencyWrite): use boost::format
9156
9157         * buffer.C (readLyXformat2): use boost::format
9158         (parseSingleLyXformat2Token): ditto
9159
9160         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9161
9162         * LaTeX.C (run): use boost::format
9163
9164         * Chktex.C (scanLogFile): use boost::format
9165
9166         * BufferView_pimpl.C (savePosition): use boost::format
9167         (restorePosition): ditto
9168         (MenuInsertLyXFile): ditto
9169
9170         * BoostFormat.h: help file for explicit instation.
9171
9172 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9173
9174         * tabular.C (latex): Support for block alignment in fixed width
9175         columns.
9176
9177 2002-11-17  John Levon  <levon@movementarian.org>
9178
9179         * BufferView_pimpl.C:
9180         * lyx_cb.C:
9181         * lyxfunc.C: split filedialog into open/save
9182
9183 2002-11-08  Juergen Vigna  <jug@sad.it>
9184
9185         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9186         by my last patch (hopefully).
9187
9188 2002-11-08  John Levon  <levon@movementarian.org>
9189
9190         * iterators.h:
9191         * iterators.C:
9192         * buffer.h:
9193         * buffer.C:
9194         * paragraph.h:
9195         * paragraph.C:
9196         * toc.h:
9197         * toc.C: ParConstIterator, and use it (from Lars)
9198
9199 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9200
9201         * lyxtextclass.[Ch]: revise and add doxygen comments
9202
9203 2002-11-07  John Levon  <levon@movementarian.org>
9204
9205         * text.C: fix progress value for spellchecker
9206
9207         * toc.C: fix navigate menu for insetwrap inside minipage
9208
9209         * paragraph_funcs.C: added FIXME for suspect code
9210
9211 2002-11-07  John Levon  <levon@movementarian.org>
9212
9213         * BufferView_pimpl.C: fix redrawing of insets
9214           on buffer switch
9215
9216 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9217
9218         * text2.C (updateCounters): fix bug 668
9219
9220 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9221
9222         * text3.C (dispatch): Do not make the buffer dirty when moving the
9223         cursor.
9224
9225 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9226
9227         * vc-backend.C: STRCONV
9228         (scanMaster): ditto
9229
9230         * text2.C (setCounter): STRCONV
9231
9232         * paragraph.C (asString): STRCONV
9233
9234         * lyxlength.C (asString): STRCONV
9235         (asLatexString): ditto
9236
9237         * lyxgluelength.C (asString): STRCONV
9238         (asLatexString): ditto
9239
9240         * lyxfunc.C (dispatch): STRCONV
9241         (open): ditto
9242
9243         * lyxfont.C (stateText): STRCONV
9244
9245         * importer.C (Import): STRCONV
9246
9247         * counters.C (labelItem): STRCONV
9248         (numberLabel): ditto
9249         (numberLabel): remove unused ostringstream o
9250
9251         * chset.C: STRCONV
9252         (loadFile): ditto
9253
9254         * bufferview_funcs.C (currentState): STRCONV
9255
9256         * buffer.C (readFile): STRCONV
9257         (asciiParagraph): ditto
9258         (makeLaTeXFile): ditto
9259
9260         * Spacing.C (writeEnvirBegin): STRCONV
9261
9262         * LaTeXFeatures.C (getLanguages): STRCONV
9263         (getPackages): ditto
9264         (getMacros): ditto
9265         (getBabelOptions): ditto
9266         (getTClassPreamble): ditto
9267         (getLyXSGMLEntities): ditto
9268         (getIncludedFiles): ditto
9269
9270         * LaTeX.C: STRCONV
9271         (run): ditto
9272         (scanAuxFile): ditto
9273         (deplog): ditto
9274
9275         * LString.h: add the STRCONV macros
9276
9277         * BufferView_pimpl.C (savePosition): STRCONV
9278         (restorePosition): ditto
9279         (MenuInsertLyXFile): ditto
9280
9281         * vc-backend.C (scanMaster): change from submatch[...] to
9282         submatch.str(...)
9283
9284         * funcrequest.C: include config.h
9285
9286         * factory.C: include config.h
9287
9288         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9289
9290         * box.C: include config.h
9291
9292         * LaTeX.C (scanAuxFile): change from submatch[...] to
9293         submatch.str(...)
9294         (deplog): ditto
9295
9296 2002-10-25  Angus Leeming  <leeming@lyx.org>
9297
9298         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9299
9300         * ispell.[Ch] (setError): new method.
9301         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9302         Use setError() insetead of goto END.
9303
9304         * lyx_cb.C (AutoSave): move out child process into new class
9305         AutoSaveBuffer.
9306
9307 2002-10-30  John Levon  <levon@movementarian.org>
9308
9309         * text3.C: make start appendix undoable
9310
9311 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9312
9313         * lyxlength.C (inPixels): Fix returned value.
9314
9315         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9316         environment.
9317
9318 2002-10-24  Angus Leeming  <leeming@lyx.org>
9319
9320         * lyxgluelength.h: no need to forward declare BufferParams
9321         or BufferView, so don't.
9322
9323 2002-10-21  John Levon  <levon@movementarian.org>
9324
9325         * BufferView.C: menuUndo ->undo, redo
9326
9327         * BufferView.h: document, remove dead, make some methods private
9328
9329         * paragraph_funcs.h:
9330         * paragraph_funcs.C:
9331         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9332
9333         * buffer.h:
9334         * buffer.C:
9335         * sgml.h:
9336         * sgml.C: move sgml open/close tag into sgml.C
9337
9338         * bufferview_funcs.h: unused prototype
9339
9340         * lyxfunc.h:
9341         * lyxfunc.C: remove unused
9342
9343         * lyxtext.h:
9344         * text.C: remove unused
9345
9346 2002-10-21  John Levon  <levon@movementarian.org>
9347
9348         * BufferView.h:
9349         * BufferView.C:
9350         * BufferView_pimpl.h:
9351         * BufferView_pimpl.C: fix mouse wheel handling based on
9352           patch from Darren Freeman
9353
9354 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9355
9356         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9357
9358 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9359
9360         * lyxlength.C (inPixels): Fix hanfling of negative length.
9361         Fix LyXLength::MU case.
9362
9363 2002-10-16  John Levon  <levon@movementarian.org>
9364
9365         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9366
9367 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9368
9369         * converter.C (view): add support for $$i (file name) and $$p
9370         (file path) for the viewer command. If $$i is not specified, then
9371         it is appended to the command (for compatibility with old syntax)
9372
9373 2002-10-14  Juergen Vigna  <jug@sad.it>
9374
9375         * undo_funcs.C (textHandleUndo): alter the order in which the
9376         new undopar is added to the LyXText, as we have to set first
9377         the right prev/next and then add it as otherwise the rebuild of
9378         LyXText is not correct. Also reset the cursor to the right paragraph,
9379         with this IMO we could remove the hack in "redoParagraphs()".
9380
9381 2002-10-09  Angus Leeming  <leeming@lyx.org>
9382
9383         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9384         to turn off an optimisation if a new inset is to be inserted.
9385
9386 2002-10-11 André Pönitz <poenitz@gmx.net>
9387
9388         * lyxtext.h: make some functions public to allow access
9389         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9390
9391 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9392
9393         * text3.C (dispatch): when changing layout, avoid an infinite loop
9394         [bug #652]
9395
9396 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9397
9398         * lyxrc.C (read): treat a viewer or converter command of "none" as
9399         if it were empty.
9400
9401         * MenuBackend.C (expandFormats): for an update, also allow the
9402         formats that are not viewable
9403
9404         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9405         script if it is newer than the lyxrc.defaults in user directory
9406
9407 2002-10-07 André Pönitz <poenitz@gmx.net>
9408
9409         * text.C: Vitaly Lipatov's small i18n fix
9410
9411 2002-09-25  Angus Leeming  <leeming@lyx.org>
9412
9413         * ispell.h: doxygen fix.
9414
9415 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9416
9417         * buffer.h (readFile): Add a new argument to the method, to allow
9418         reading of old-format templates.
9419
9420 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9421
9422         * toc.C (getTocList): Get TOC from InsetWrap.
9423
9424 2002-09-16  John Levon  <levon@movementarian.org>
9425
9426         * lyxfunc.C: check tabular for cut/copy too
9427
9428 2002-09-12  John Levon  <levon@movementarian.org>
9429
9430         * LyXAction.C: tidy
9431
9432         * factory.h:
9433         * factory.C: add header
9434
9435         * paragraph_funcs.h:
9436         * paragraph_funcs.C: cleanup
9437
9438 2002-09-11  John Levon  <levon@movementarian.org>
9439
9440         * PrinterParams.h: odd/even default to true
9441
9442 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9443
9444         * PrinterParams.h: update printer parameters for new xforms dialog
9445
9446 2002-09-11  Angus Leeming  <leeming@lyx.org>
9447
9448         * lyxserver.C (read_ready): re-write to make it more transparent
9449         and to make it work in coherent fashion under Tru64 Unix.
9450
9451 2002-09-11  André Pönitz <poenitz@gmx.net>
9452
9453         * commandtags.h:
9454         * LyXAction.C:
9455         * text3.C: implement LFUN_WORDSEL
9456
9457 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9458
9459         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9460         make floatlist_ a boost::shared_ptr<FloatList>
9461
9462         * lyxtextclass.C: include FloatList.h
9463         (LyXTextClass): initialize floatlist_
9464         (TextClassTags): add TC_NOFLOAT
9465         (Read): match "nofloat" to TC_NOFLOAT and use it.
9466         (readFloat): modify call to floatlist_
9467         (floats): ditto
9468         (floats): ditto
9469
9470         * FloatList.[Ch] (FloatList): remove commented out float
9471         initialization.
9472         (erase): new function
9473
9474 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9475
9476         * MenuBackend.C (expandToc): fix crash when there is no document
9477         open
9478
9479 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9480
9481         * many files: Add insetwrap.
9482
9483 2002-09-09  John Levon  <levon@movementarian.org>
9484
9485         * text2.C: remove confusing and awkward depth wraparound
9486
9487 2002-09-09  John Levon  <levon@movementarian.org>
9488
9489         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9490
9491         * buffer.h:
9492         * buffer.C: remove getIncludeonlyList()
9493
9494         * paragraph.C:
9495         * lyxfunc.C: remove headers
9496
9497 2002-09-09  Juergen Vigna  <jug@sad.it>
9498
9499         * text.C (getColumnNearX): fix form Michael this is most
9500         probably a cut&paste bug.
9501
9502 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9503
9504         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9505
9506         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9507         references, ws changes.
9508
9509         * text2.C (init): update counters after init
9510         (insertParagraph): no need to set counter on idividual paragraphs.
9511         (setCounter): access the counters object in the textclass object
9512         on in the buffer object.
9513         (updateCounters): ditto
9514
9515         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9516         shared_ptr<Counters> to avoid loading counters.h in all
9517         compilation units.
9518         (LyXTextClass): initialize ctrs_
9519         (TextClassTags): add TC_COUNTER, and ...
9520         (Read): use it here.
9521         (CounterTags): new tags
9522         (readCounter): new function
9523         (counters): new funtion
9524         (defaultLayoutName): return a const reference
9525
9526         * counters.C (Counters): remove contructor
9527         (newCounter): remove a couple of unneeded statements.
9528         (newCounter): simplify a bit.
9529         (numberLabel): some small formatting changes.
9530
9531         * buffer.[Ch]: remove all traces of counters, move the Counters
9532         object to the LyXTextClass.
9533
9534 2002-09-06  Alain Castera  <castera@in2p3.fr>
9535
9536         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9537         package to set the horizontal alignment on fixed width columns.
9538
9539         * lyx_sty.C:
9540         * lyx_sty.h: added tabularnewline macro def.
9541
9542         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9543
9544 2002-09-06  John Levon  <levon@movementarian.org>
9545
9546         * LyXAction.C: tooltips for sub/superscript
9547
9548         * MenuBackend.C: a bit more verbose
9549
9550         * lyxfunc.C: tiny clean
9551
9552         * undo_funcs.C: document undo_frozen
9553
9554 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9555
9556         * counters.C (Counters): add missing algorithm counter.
9557
9558         * text2.C (setCounter): lookup the counter with layouts latexname
9559         instead of by section number.
9560         (setCounter): use a hackish way to lookup the correct enum
9561         counter.
9562         a float name->type change
9563         reset enum couners with counter name directly instead of depth value.
9564
9565         * counters.C (Counters): remove the push_backs, change to use the
9566         float type not the float name.
9567         (labelItem): remove unused string, float name->type change
9568
9569         * counters.h: don't include vector, loose the enums and sects vectors
9570
9571 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9572
9573         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9574         (Read): add float->TC_FLOAT to textclassTags
9575         (Read): and handle it in the switch
9576         (readFloat): new function
9577
9578         * FloatList.C (FloatList): comment out the hardcoded float
9579         definitions.
9580
9581         * lyxlayout.h: ws change.
9582
9583 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9586
9587 2002-09-03  Angus Leeming  <leeming@lyx.org>
9588
9589         * BufferView_pimpl.h: qualified name is not allowed in member
9590         declaration: WorkArea & Pimpl::workarea() const;
9591
9592         * factory.C: added using std::endl directive.
9593
9594         * text3.C: added using std::find and std::vector directives.
9595
9596 2002-08-29  André Pönitz <poenitz@gmx.net>
9597
9598         * lyxtext.h:
9599         * text2.C: remove unused member number_of_rows
9600
9601         * Makefile.am:
9602         * BufferView2.C: remove file, move contents to...
9603         * BufferView.C: ... here
9604
9605         * BufferView_pimpl.C:
9606         * factory.C: move more inset creation to factory
9607
9608         * vspace.C: avoid direct usage of LyXText, ws changes
9609
9610         * BufferView.[Ch]:
9611                 don't provide direct access to WorkArea, use two simple
9612                 acessors haveSelction() and workHeight() instead
9613
9614
9615 2002-08-29  John Levon  <levon@movementarian.org>
9616
9617         * BufferView_pimpl.C (dispatch): do not continue when
9618           no buffer
9619
9620 2002-08-28  André Pönitz <poenitz@gmx.net>
9621
9622         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9623
9624         * BufferView.h:
9625         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9626
9627 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9628
9629         * buffer.C: increment LYX_FORMAT to 221
9630
9631         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9632         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9633
9634         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9635
9636         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9637
9638 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * factory.C (createInset): use LyXTextClass::floats
9641
9642         * MenuBackend.C (expandFloatListInsert):
9643         (expandFloatInsert):
9644         (expandToc):
9645
9646         * text2.C (setCounter):
9647
9648         * LaTeXFeatures.C (useFloat):
9649         (getFloatDefinitions):
9650
9651         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9652
9653         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9654         floatlist_, with accessor floats().
9655
9656         * FloatList.h: remove global FloatList
9657
9658 2002-08-26  André Pönitz <poenitz@gmx.net>
9659
9660         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9661
9662         * BufferView.h:
9663         * BufferView2.C:
9664         * BufferView_pimpl.C:
9665         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9666
9667 2002-08-25  John Levon  <levon@movementarian.org>
9668
9669         * LyXAction.C: fix margin note description
9670
9671 2002-08-24  John Levon  <levon@movementarian.org>
9672
9673         * buffer.C:
9674         * bufferlist.C:
9675         * bufferview_funcs.C:
9676         * lyxfont.C:
9677         * undo_funcs.C: cleanups
9678
9679         * lyxfunc.C: disable CUT/COPY when no selection
9680
9681 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9682
9683         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9684         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9685
9686         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9687         Add backward compatibility to "mono", "gray" and "no".
9688
9689 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9692         (and file_format >= 200).
9693
9694 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9695
9696         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9697
9698 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9699
9700         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9701
9702 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9703
9704         * BufferView_pimpl.C:
9705         * LyXAction.C:
9706         * buffer.C:
9707         * commandtags.h:
9708         * lyxfunc.C:
9709         * paragraph.[Ch]:
9710         * text2.C:
9711         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9712         inset and code to make it  work with the paragraph code. The inset
9713         can be anywhere in the paragraph, but will only do the expected
9714         thing in LaTeX if the layout file contains the parameter line
9715                         OptionalArgs    1
9716         (or more generally, a nonzero value) for that layout.
9717
9718 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * paragraph.h: remove the declaration of undefined counters class
9721         function.
9722
9723 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9724
9725         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9726         Dr. Richard Hawkins.
9727
9728 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9729
9730         * paragraph_funcs.h: remove some unneeded includes
9731
9732         * text.C (backspace): pasteParagraph now in global scipe
9733
9734         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9735         (pasteSelection): ditto
9736
9737         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9738         * paragraph_funcs.C (pasteParagraph): ... here
9739
9740 2002-08-20  André Pönitz <poenitz@gmx.net>
9741
9742         * commandtags.h: new LFUNs for swapping/copying table row/colums
9743
9744         * LyXAction.C:
9745         * lyxfunc.C: support for new lfuns
9746
9747 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * tabular.C:
9750         * buffer.[Ch]: remove NO_COMPABILITY stuff
9751
9752 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9753
9754         * boost.C (throw_exception): new file, with helper function for
9755         boost compiled without exceptions.
9756
9757         * paragraph.h:
9758         * lyxlength.C:
9759         * buffer.C:
9760         * ParameterStruct.h:
9761         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9762
9763         * bufferlist.C (emergencyWriteAll): use boost bind
9764
9765         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9766
9767         * text.C: include paragraph_funcs.h
9768         (breakParagraph): breakParagraph is now in global scope
9769
9770         * paragraph_funcs.[Ch]: new files
9771
9772         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9773         global scope
9774
9775         * buffer.C: include paragraph_funcs.h
9776         (insertStringAsLines): breakParagraph is now in global scope
9777
9778         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9779         paragraph_funcs.C
9780
9781         * CutAndPaste.C: include paragraph_funcs.h
9782         (cutSelection): breakParagraphConservative is now in global scope
9783         (pasteSelection): ditto
9784
9785         * buffer.h: declare oprator== and operator!= for
9786         Buffer::inset_iterator
9787
9788         * bufferlist.C (emergencyWrite): don't use fmt(...)
9789
9790         * text3.C: add using std::endl
9791
9792         * BufferView.C (moveCursorUpdate): remove default arg
9793
9794 2002-08-20  André Pönitz <poenitz@gmx.net>
9795
9796         * buffer.[Ch]: move inline functions to .C
9797
9798         * BufferView2.C:
9799         * BufferView_pimpl.C:
9800         * text.C:
9801         * buffer.[Ch]: use improved inset_iterator
9802
9803         * buffer.C:
9804         * paragraph.[Ch]: write one paragraph at a time
9805
9806 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9807
9808         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9809         style if style is not specified.
9810
9811 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * text2.C (setCounter): when searching for right label for a
9814         caption, make sure to recurse to parent insets (so that a caption
9815         in a minipage in a figure float works) (bug #568)
9816
9817 2002-08-20  André Pönitz <poenitz@gmx.net>
9818
9819         * text3.C: new file for LyXText::dispatch() and helpers
9820
9821         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9822
9823         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9824
9825 2002-08-19  André Pönitz <poenitz@gmx.net>
9826
9827         * lyxtext.h:
9828         * text.C: new LyXText::dispatch()
9829
9830         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9831
9832 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9833
9834         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9835
9836         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9837         Hebrew text.
9838
9839 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * Makefile.am: use $(variables) instead of @substitutions@
9842
9843 2002-08-15  André Pönitz <poenitz@gmx.net>
9844
9845         * lyxfunc.C:
9846         * BufferView_pimpl.C: streamlining mathed <-> outer world
9847         interaction
9848
9849         * commandtags.h:
9850         * LyXAction.C: remove unused LFUN_MATH
9851
9852 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9853
9854         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9855
9856 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * paragraph.C (Paragraph): reformat a bit
9859         (cutIntoMinibuffer): use builtin InsetList function instad of
9860         doing it manually.
9861         (getInset): ditto
9862
9863         * buffer.C: include boost/bind.hpp, add using std::for_each
9864         (writeFileAscii): use ParagraphList iterators
9865         (validate): use for_each for validate traversal of paragraphs
9866         (getBibkeyList): use ParagraphList iterators
9867         (resizeInsets): use for_each to resizeInsetsLyXText for all
9868         paragraphs.
9869         (getParFromID): use ParagraphList iterators
9870
9871         * BufferView2.C (lockInset): use paragraph list and iterators
9872
9873 2002-08-14  John Levon  <levon@movementarian.org>
9874
9875         * lyxserver.C: remove spurious xforms include
9876
9877 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9880
9881 2002-08-13  André Pönitz <poenitz@gmx.net>
9882
9883         * LyXAction.[Ch]:
9884         * lyxfunc.C: further cleaning
9885
9886 2002-08-13  André Pönitz <poenitz@gmx.net>
9887
9888         * funcrequest.h: new constructor
9889
9890         * funcrequest.C: move stuff here from .h
9891
9892         * Makefile.am:
9893         * BufferView_pimpl.C:
9894         * LyXAction.C:
9895         * toc.C:
9896         * lyxfunc.C: subsequent changes
9897
9898         * lyxfunc.h: new view() member function
9899
9900         * lyxfunc.C: subsequent changes
9901
9902 2002-08-13  Angus Leeming  <leeming@lyx.org>
9903
9904         * BufferView2.C:
9905         * BufferView_pimpl.C:
9906         * buffer.C:
9907         * converter.C:
9908         * importer.C:
9909         * lyxfunc.C:
9910         * lyxvc.C:
9911         * toc.C:
9912         * vc-backend.C:
9913         changes due to the changed LyXView interface that now returns references
9914         to member variables not pointers.
9915
9916 2002-08-13  Angus Leeming  <leeming@lyx.org>
9917
9918         * WordLangTuple (word, lang_code): return references to strings,
9919         not strings.
9920
9921         * BufferView.h:
9922         * SpellBase.h:
9923         * lyxtext.h: forward-declare WordLangTuple.
9924
9925         * BufferView2.C:
9926         * ispell.C:
9927         * pspell.C:
9928         * text.C: #include "WordLangTuple.h".
9929
9930         * lyxtext.h:
9931         * text.C: (selectNextWordToSpellcheck): constify return type.
9932
9933 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9934
9935         * buffer.C:
9936         * buffer.h:
9937         * lyxtext.h:
9938         * paragraph.C:
9939         * paragraph_pimpl.h:
9940         * text.C:
9941         * text2.C:
9942         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9943         suggested by Angus.
9944         Made updateCounter always count from start of buffer, and removed
9945         second argument (par).
9946         Reverted floats number display to '#'. Perhaps I'll try again when the
9947         code base is sanitized a bit.
9948
9949 2002-08-12  Angus Leeming  <leeming@lyx.org>
9950
9951         * buffer.[Ch] (getLabelList): constify.
9952
9953 2002-08-07  André Pönitz <poenitz@gmx.net>
9954
9955         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9956
9957         * funcrequest.h: extension to keep mouse (x,y) position
9958
9959 2002-08-12  Juergen Vigna  <jug@sad.it>
9960
9961         * BufferView2.C (insertErrors): forbid undo when inserting error
9962         insets.
9963
9964         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9965
9966 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9967
9968         * ParagraphList.[Ch]: new files
9969
9970         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9971
9972         * BufferView2.C (lockInset): ParagraphList changes
9973         * toc.C: ditto
9974         * text2.C: ditto
9975         * bufferlist.C: ditto
9976         * buffer.h: ditto
9977         * buffer.C: ditto
9978
9979 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9980
9981         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9982         unused class variable counter_,
9983
9984         * paragraph.[Ch] (getFirstCounter): delete unused function
9985
9986         * counters.C: include LAssert.h
9987         (reset): add a new function with no arg, change other version to
9988         not have def. arg and to not allow empty arg.
9989
9990         * text2.C (setCounter): remove empty arg from call to Counters::reset
9991
9992 2002-08-11  John Levon  <levon@movementarian.org>
9993
9994         * Makefile.am: add WordLangTuple.h
9995
9996 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9997
9998         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9999         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10000
10001         * insets/insettext.C: InsetList changes
10002
10003         * graphics/GraphicsSupport.C (operator()): InsetList changes
10004
10005         * toc.C (getTocList): InsetList changes
10006
10007         * paragraph_pimpl.[Ch]: InsetList changes
10008
10009         * paragraph.[Ch]: InsetList changes
10010
10011         * buffer.C (inset_iterator): InsetList changes
10012         (setParagraph): ditto
10013         * buffer.h (inset_iterator): ditto
10014         * iterators.C (operator++): ditto
10015         * iterators.h: ditto
10016
10017         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10018
10019         * InsetList.[Ch]: new files, most InsetList handling moved out of
10020         paragraph.C.
10021
10022         * BufferView2.C (removeAutoInsets): InsetList changes
10023         (lockInset): ditto
10024         (ChangeInsets): ditto
10025
10026 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10027
10028         * paragraph_pimpl.h (empty): new function
10029
10030         * paragraph.[Ch] (empty): new function
10031
10032         * other files: use the new Paragraph::empty function
10033
10034 2002-08-09  John Levon  <levon@movementarian.org>
10035
10036         * lyxtext.h: remove unused refresh_height
10037
10038 2002-08-09  John Levon  <levon@movementarian.org>
10039
10040         * Makefile.am:
10041         * sgml.h:
10042         * sgml.C:
10043         * buffer.C:
10044         * paragraph.h:
10045         * paragraph.C: move sgml char escaping out of paragraph
10046
10047         * paragraph.h:
10048         * paragraph.C: remove id setter
10049
10050         * buffer.C:
10051         * paragraph.C:
10052         * paragraph_pimpl.C: remove dead tex_code_break_column
10053
10054         * bufferview_funcs.C: small cleanup
10055
10056         * lyxfunc.C: remove dead proto
10057
10058         * lyxtext.h: make some stuff private. Remove some dead stuff.
10059
10060         * lyxgluelength.C: make as[LyX]String() readable
10061
10062 2002-08-08  John Levon  <levon@movementarian.org>
10063
10064         * LyXAction.h:
10065         * LyXAction.C:
10066         * MenuBackend.C:
10067         * ToolbarDefaults.C:
10068         * lyxfunc.C:
10069         * lyxrc.C:
10070         * toc.C: lyxaction cleanup
10071
10072 2002-08-08  John Levon  <levon@movementarian.org>
10073
10074         * BufferView2.C: small cleanup
10075
10076         * lyxfind.h:
10077         * lyxfind.C: move unnecessary header into the .C
10078
10079 2002-08-08  John Levon  <levon@movementarian.org>
10080
10081         * funcrequest.h: just tedious nonsense
10082
10083         * lyx_main.h:
10084         * lyx_main.C: cleanups
10085
10086         * buffer.C:
10087         * vspace.C: remove dead header lyx_main.h
10088
10089 2002-08-07  Angus Leeming  <leeming@lyx.org>
10090
10091         * Paragraph.[Ch]:
10092         * paragraph_pimpl.h:
10093         Forward declare class Counters in paragraph.h by moving the ctrs member
10094         variable into Paragraph::Pimpl.
10095         (counters): new method, returning a reference to pimpl_->ctrs.
10096
10097         * text2.C: ensuing changes.
10098
10099 2002-08-07  John Levon  <levon@movementarian.org>
10100
10101         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10102
10103         * BufferView_pimpl.C: announce X selection on double/triple
10104           click
10105
10106         * lyx_main.C: use correct bool in batch dispatch
10107
10108         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10109
10110 2002-08-07  André Pönitz <poenitz@gmx.net>
10111
10112         * funcrequest.h: new class to wrap a kb_action and its argument
10113
10114         * BufferView.[Ch]:
10115         * BufferView_pimpl[Ch]:
10116         * LaTeX.C:
10117         * LyXAction.[Ch]:
10118         * lyxfunc.[Ch]:
10119         * lyxrc.C: subsequent changes
10120
10121
10122 2002-08-07  John Levon  <levon@movementarian.org>
10123
10124         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10125           document options change.
10126
10127 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10128
10129         * counters.[Ch]
10130         * text2.C
10131         * paragraph.[Ch]
10132         * makefile.am: move counters functionality over from
10133         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10134
10135 2002-08-06  John Levon  <levon@movementarian.org>
10136
10137         * WordLangTuple.h: new file for word + language code tuple
10138
10139         * SpellBase.h:
10140         * pspell.h:
10141         * pspell.C:
10142         * ispell.h:
10143         * ispell.C:
10144         * lyxtext.h:
10145         * text.C:
10146         * text2.C:
10147         * BufferView.h:
10148         * BufferView2.C: use WordLangTuple
10149
10150         * layout.h:
10151         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10152
10153 2002-08-06  John Levon  <levon@movementarian.org>
10154
10155         * lyx_main.C: fix cmdline batch handling
10156
10157 2002-08-06  André Pönitz <poenitz@gmx.net>
10158
10159         * lyxrc.C: set default for show_banner to true
10160
10161 2002-08-06  John Levon  <levon@movementarian.org>
10162
10163         * pspell.C: fix a crash, and allow new aspell to work
10164
10165 2002-08-06  John Levon  <levon@movementarian.org>
10166
10167         * lyxfunc.C:
10168         * kbmap.C: small cleanup
10169
10170         * vspace.h:
10171         * vspace.C: add const
10172
10173 2002-08-05  John Levon  <levon@movementarian.org>
10174
10175         * LyXAction.C: back to tabular-insert
10176
10177 2002-08-04  John Levon  <levon@movementarian.org>
10178
10179         * BufferView.h:
10180         * BufferView.C: cosmetic change
10181
10182         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10183
10184         * bufferlist.C:
10185         * buffer.h:
10186         * buffer.C:
10187         * lyxcb.h:
10188         * lyxcb.C:
10189         * lyxserver.C:
10190         * lyxvc.C:
10191         * vc-backend.C:
10192         * BufferView2.C: purge all "Lyx" not "LyX" strings
10193
10194         * lyxcursor.h:
10195         * lyxcursor.C: attempt to add some documentation
10196
10197         * lyxfunc.C:
10198         * commandtags.h:
10199         * LyXAction.C:
10200         * ToolbarDefaults.C:
10201         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10202           merge with LFUN_TABULAR_INSERT
10203
10204         * Makefile.am:
10205         * SpellBase.h:
10206         * ispell.h:
10207         * ispell.C:
10208         * pspell.h:
10209         * pspell.C: split up i/pspell implementations into separate
10210           files, many cleanups
10211
10212         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10213
10214         * text2.C: some cleanup
10215
10216         * lyxfunc.C: don't check for isp_command == "none" any more, it
10217           didn't make any sense
10218
10219 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10220
10221         * counters.[Ch]
10222         * text2.C
10223         * paragraph.[Ch]
10224         * makefile.am: move counters functionality over
10225         from text2.C/paragraph.[Ch] to counters.[Ch], and
10226         make proper C++.
10227 2002-08-02  John Levon  <levon@movementarian.org>
10228
10229         * buffer.C: s/lyxconvert/lyx2lyx/
10230
10231 2002-08-02  Angus Leeming  <leeming@lyx.org>
10232
10233         * lyxlex.C: revert John's change as it breaks reading of the user
10234         preamble.
10235
10236 2002-08-02  Angus Leeming  <leeming@lyx.org>
10237
10238         * importer.C (Import):
10239         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10240         changes due to LyXView::view() now returning a boost::shared_ptr.
10241
10242 2002-08-02  John Levon  <levon@movementarian.org>
10243
10244         * lyxlex.C: small cleanup
10245
10246 2002-08-02  John Levon  <levon@movementarian.org>
10247
10248         * text2.C (status): small cleanup, no logic change
10249
10250 2002-08-01  John Levon  <levon@movementarian.org>
10251
10252         * buffer.h:
10253         * buffer.C (writeFile): don't output alerts, caller
10254           handles this
10255
10256         * bufferlist.C:
10257         * lyx_cb.C: from above
10258
10259         * lyxfunc.C: allow to open non-existent files
10260
10261 2002-07-31  John Levon  <levon@movementarian.org>
10262
10263         * lyxserver.C: don't let incidental errors get
10264           in the way (errno)
10265
10266 2002-07-30  John Levon  <levon@movementarian.org>
10267
10268         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10269
10270 2002-07-30  John Levon  <levon@movementarian.org>
10271
10272         * lyxserver.h:
10273         * lyxserver.C: remove I/O callback too
10274
10275 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10278         log.
10279
10280 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10281
10282         * many files: strip,frontStrip -> trim,ltrim,rtrim
10283
10284 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10285
10286         * PrinterParams.h: remove extern containsOnly, and include
10287         support/lstrings.h instead.
10288
10289         * LaTeX.C (scanAuxFile): modify because of strip changes
10290         (deplog): ditto
10291         * buffer.C (makeLaTeXFile): ditto
10292         * bufferparams.C (writeFile): ditt
10293         * lyxfont.C (stateText): ditto
10294         * lyxserver.C (read_ready): ditto
10295         * vc-backend.C (scanMaster): ditto
10296
10297         * BufferView_pimpl.h: ws changes
10298
10299         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10300
10301 2002-07-26  André Pönitz <poenitz@gmx.net>
10302
10303         * kb_sequence.C: remove unnedred usings
10304
10305 2002-07-26  Juergen Vigna  <jug@sad.it>
10306
10307         * lyxfind.C (LyXReplace): we have to check better if the returned
10308         text is not of theLockingInset()->getLockingInset().
10309
10310 2002-07-25  Juergen Vigna  <jug@sad.it>
10311
10312         * lyxfind.C (LyXReplace): don't replace if we don't get the
10313         right LyXText.
10314
10315         * undo_funcs.C (createUndo): remove debugging code.
10316
10317 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * buffer.C (parseSingleLyXformat2Token): Use default placement
10320         when reading old floats.
10321
10322         * FloatList.C (FloatList): Change the default placement of figure
10323         and tables to "tbp".
10324
10325 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * MenuBackend.C: using std::max
10328
10329 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * MenuBackend.C (expandToc):
10332         (expandToc2): code moved from xforms menu frontend. It is now
10333         generic and TOCs are transparent to menu frontends.
10334
10335 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10336
10337         * toc.C (getTocList): protect against buf=0
10338
10339         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10340         Menu as first parameter. Now, this calls itself recursively to
10341         expand a whole tree (this will be useful for TOC handling)
10342         (expandFloatInsert): remove 'wide' version of floats
10343
10344         * MenuBackend.h (submenuname): returns the name of the submenu.
10345         (submenu): returns the submenu itself, provided it has been
10346         created by MenuBackend::expand
10347
10348 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10351         insets which have noFontChange == true. (bug #172)
10352
10353 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * BufferView_pimpl.C: add connection objects and use them...
10356         (Pimpl): here.
10357
10358 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * MenuBackend.C (expandLastfiles):
10361         (expandDocuments):
10362         (expandFormats):
10363         (expandFloatListInsert):
10364         (expandFloatInsert):
10365         (expand): split expand in parts
10366
10367 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * lyx_gui.C: use lyx_gui::exit()
10370
10371 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * LyXAction.C: show the failing pseudo action
10374
10375 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10376
10377         * buffer.C (readFile): Run the lyxconvert script in order to read
10378         old files.
10379
10380 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * LyXAction.C:
10383         * commandtags.h:
10384         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10385
10386 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10387
10388         * LyXAction.C:
10389         * commandtags.h:
10390         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10391
10392 2002-07-22  Herbert Voss  <voss@lyx.org>
10393
10394         * lengthcommon.C:
10395         * lyxlength.[Ch]: add support for the vertical lengths
10396
10397 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * toc.[Ch]: std:: fixes
10400
10401 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * lyxrc.C: do not include lyx_main.h
10404
10405         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10406         for layouts
10407
10408         * lyxrc.C:
10409         * encoding.C:
10410         * bufferlist.C:
10411         * BufferView2.C: include "lyxlex.h"
10412
10413         * tabular.h:
10414         * bufferparams.h: do not #include "lyxlex.h"
10415
10416         * lyxtextclasslist.C (Add): remove method
10417         (classlist): renamed to classlist_
10418
10419         * paragraph_pimpl.C:
10420         * paragraph.C:
10421         * text2.C:
10422         * CutAndPaste.C:
10423         * bufferview_funcs.C:
10424         * bufferlist.C:
10425         * text.C:
10426         * LaTeXFeatures.C:
10427         * buffer.C:
10428         * toc.C (getTocList): use BufferParams::getLyXTextClass
10429
10430         * toc.C (getTocList): use InsetFloat::addToToc
10431
10432         * toc.[Ch]: new files, containing helper functions to handle table
10433         of contents
10434
10435         * lyxfunc.C (dispatch): no need to remove spaces around command
10436         given as a string
10437         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10438         first command of the sequence; it is not very clever, but I do not
10439         have a better idea, actually
10440
10441         * LyXAction.C (LookupFunc): make sure to remove space at the
10442         beginning and end of the command
10443
10444 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * MenuBackend.C (getMenubar): new method: return the menubar of
10447         this menu set
10448         (read): treat differently reading of menu and menubar (in
10449         particular, the menubar has no name now)
10450         (Menu::menubar): remove
10451
10452         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10453         saving is finished
10454
10455 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10456
10457         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10458         a bibitem inset in a RTL paragraph.
10459
10460 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * paragraph_pimpl.C: constify
10463
10464         * BufferView_pimpl.C:
10465         * LaTeX.C:
10466         * lyxfunc.C: fix dispatch in a nicer way
10467
10468 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * lyxfunc.C (dispatch):
10471         * BufferView_pimpl.C:
10472         * BufferView_pimpl.h:
10473         * BufferView.C:
10474         * BufferView.h: rename Dispatch() to dispatch()
10475
10476         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10477
10478         * lyxlayout.C (Read): honor DependsOn tag
10479
10480         * lyxlayout.[Ch] (depends_on): new method
10481
10482         * version.C.in: update lyx_docversion
10483
10484         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10485
10486         * paragraph.C (validate): remove from here...
10487         * paragraph_pimpl.C (validate): ... and move here
10488         (isTextAt): make it const
10489
10490         * buffer.C (getLists): ws cleanup
10491
10492 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10493
10494         * language.C (read): Use iso8859-1 encoding in latex_lang
10495         (this prevents LyX from crashing when using iso10646-1 encoding).
10496
10497 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10498
10499         * text2.C (toggleInset): if cursor is inside an inset, close the
10500         inset and leave cursor _after_ it
10501
10502 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * lyxfunc.C: move minibuffer completion handling out of here
10505
10506 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10507
10508         * BufferView_pimpl.C:
10509         * LaTeX.C: fix dispatch calls
10510
10511 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10512
10513         * text.C (drawChars): Fix Arabic text rendering.
10514
10515 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * LyXAction.C:
10518         * commandtags.h:
10519         * lyxfunc.C: remove message-push/pop
10520
10521         * lyxserver.C:
10522         * lyxfunc.h:
10523         * lyxfunc.C: rationalise some code by removing verboseDispatch
10524           in favour of a bool argument to dispatch()
10525
10526 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * lyx_main.C (init): make sure to read symlinks as absolute paths
10529
10530 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * lyxfunc.h:
10533         * lyxfunc.C: no need for commandshortcut to be a member
10534
10535 2002-07-15  André Pönitz <poenitz@gmx.net>
10536
10537         * converter.C: add support for $$s (scripts from lib/scripts dir)
10538         * lyx_main.C: white space
10539
10540 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * bufferlist.C:
10543         * lyxrc.h:
10544         * lyxrc.C: remove second exit confirmation
10545
10546 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * BufferView.h:
10549         * BufferView.C:
10550         * BufferView2.C:
10551         * BufferView_pimpl.h:
10552         * BufferView_pimpl.C:
10553         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10554
10555 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10556
10557         * MenuBackend.C (expand): add numeric shortcuts to document menu
10558
10559         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10560
10561 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * lyxfont.C (setLyXFamily):
10564         (setLyXSeries):
10565         (setLyXShape):
10566         (setLyXSize):
10567         (setLyXMisc):
10568         (lyxRead):
10569         * debug.C (value):
10570         * buffer.C (asciiParagraph): use ascii_lowercase
10571
10572 2002-07-15  Mike Fabian  <mfabian@suse.de>
10573
10574         * lyxlex_pimpl.C (search_kw):
10575         * lyxlex.C (getLongString):
10576         * converter.h (operator<):
10577         * converter.C (operator<):
10578         * buffer.C (parseSingleLyXformat2Token):
10579         (asciiParagraph):
10580         * ToolbarDefaults.C (read):
10581         * MenuBackend.C (checkShortcuts):
10582         (read):
10583         * LColor.C (getFromGUIName):
10584         (getFromLyXName): use the compare_ascii_no_case instead of
10585         compare_no_case, because in turkish, 'i' is not the lowercase
10586         version of 'I', and thus turkish locale breaks parsing of tags.
10587
10588 2002-07-16  Angus Leeming  <leeming@lyx.org>
10589
10590         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10591         now takes a Buffer const & argument.
10592
10593 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * BufferView.C (resize): check there's a buffer to resize
10596
10597 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * lyxfunc.C: remove dead code
10600
10601         * lyxserver.h:
10602         * lyxserver.C: use lyx_guii::set_read_callback
10603
10604 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10605
10606         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10607         an inset in a RTL paragraph.
10608
10609 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * lyxfunc.C: repaint after a font size update
10612
10613 2002-07-15  André Pönitz <poenitz@gmx.net>
10614
10615         * lyxlength.C: inBP should be able to return negative values
10616
10617 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxfunc.C: use lyx_gui::update_fonts()
10620
10621 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfunc.C: use lyx_gui::update_color()
10624
10625 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * bufferlist.C:
10628         * lyxfunc.h:
10629         * lyxfunc.C:
10630         * lyxrc.h:
10631         * lyxrc.C: remove file->new asks for name option, and let
10632           buffer-new take an argument
10633
10634 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * BufferView_pimpl.C: remove unneeded extra repaint()
10637
10638 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * LyXAction.C: allow command-sequence with NoBuffer
10641
10642         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10643
10644 2002-07-10  Angus Leeming  <leeming@lyx.org>
10645
10646         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10647
10648 2002-07-09  Angus Leeming  <leeming@lyx.org>
10649
10650         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10651
10652 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * lengthcommon.h: whitespace
10655
10656         * lyxfunc.C: update scrollbar after goto paragraph
10657
10658         * lyxtext.h: factor out page break drawing, and fix it so
10659           page break/added space paints as selected nicely
10660
10661 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10662
10663         * BufferView_pimpl.C: add FIXMEs, clean up a little
10664
10665 2002-07-09  André Pönitz <poenitz@gmx.net>
10666
10667         * lyxfont.[Ch]: support for wasy symbols
10668
10669 2002-07-08  André Pönitz <poenitz@gmx.net>
10670
10671         * BufferView_pimpl.C: apply John's patch for #93.
10672
10673 2002-07-05  Angus Leeming  <leeming@lyx.org>
10674
10675         * BufferView_pimpl.C (buffer): generate previews if desired.
10676
10677         * LColor.h: add "preview" to the color enum.
10678
10679         * LColor.C (LColor): add a corresponding entry to the items array.
10680
10681         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10682         with this buffer.
10683
10684 2002-07-05  Angus Leeming  <leeming@lyx.org>
10685
10686         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10687         The body of the code is now in the method that is passed an ostream &
10688         rather than a file name.
10689         Pass an additional only_preamble parameter, useful for the forthcoming
10690         preview stuff.
10691
10692 2002-07-03  André Pönitz <poenitz@gmx.net>
10693
10694         * lyxfunc.C: simplify getStatus() a bit for math stuff
10695
10696 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10697
10698         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10699
10700 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * text.C (changeRegionCase): do not change case of all the
10703         document when region ends at paragraph end (bug #461)
10704
10705 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10706
10707         * paragraph.C (startTeXParParams):
10708         (endTeXParParams): add \protect when necessary
10709
10710 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * BufferView_pimpl.C (workAreaExpose): remove warning
10713
10714 2002-06-27  Angus Leeming  <leeming@lyx.org>
10715
10716         * Makefile.am: add lyxlayout_ptr_fwd.h.
10717
10718 2002-06-26  André Pönitz <poenitz@gmx.net>
10719
10720         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10721
10722 2002-06-25  Angus Leeming  <leeming@lyx.org>
10723
10724         * lyxfunc.C (dispatch): Comment out the call to
10725         grfx::GCache::changeDisplay. The method no longer exists now that the
10726         pixmap generation part of the graphics loader has been moved into
10727         InsetGraphics.
10728
10729 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * text2.C: layout as layout
10732
10733         * text.C: layout as layout
10734
10735         * tabular.C (OldFormatRead): layout as layout
10736
10737         * paragraph_pimpl.C (TeXDeeper): layout as layout
10738         (realizeFont): layout as layout
10739
10740         * paragraph.C (writeFile): layout as layout
10741         (validate): layout as layout
10742         (getFont): layout as layout
10743         (getLabelFont): layout as layout
10744         (getLayoutFont): layout as layout
10745         (breakParagraph): layout as layout
10746         (stripLeadingSpaces): layout as layout
10747         (getEndLabel): layout as layout
10748         (getMaxDepthAfter): layout as layout
10749         (applyLayout): layout as layout
10750         (TeXOnePar): layout as layout
10751         (simpleTeXOnePar): layout as layout
10752         (TeXEnvironment): layout as layout
10753         (layout): layout as layout
10754         (layout): layout as layout
10755
10756         * lyxtextclass.C (compare_name): new functor to work with
10757         shared_ptr, layout as layout
10758         (Read): layout as layout
10759         (hasLayout): layout as layout
10760         (operator): layout as layout
10761         (delete_layout): layout as layout
10762         (defaultLayout): layout as layout
10763
10764         * lyxlayout_ptr_fwd.h: new file
10765
10766         * lyxlayout.C (Read): layout as layout
10767
10768         * lyx_cb.C (MenuInsertLabel): layout as layout
10769
10770         * bufferlist.C (newFile): layout as layout
10771
10772         * buffer.C (readLyXformat2): layout as layout
10773         (parseSingleLyXformat2Token): layout as layout
10774         (insertStringAsLines): layout as layout
10775         (asciiParagraph): layout as layout
10776         (latexParagraphs): layout as layout
10777         (makeLinuxDocFile): layout as layout
10778         (simpleLinuxDocOnePar): layout as layout
10779         (makeDocBookFile): layout as layout
10780         (simpleDocBookOnePar): layout as layout
10781         (getLists): layout as layout
10782
10783         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10784
10785         * CutAndPaste.C (cutSelection): layout as layout
10786         (pasteSelection): layout as layout
10787         (SwitchLayoutsBetweenClasses): layout as layout
10788
10789         * BufferView_pimpl.C (Dispatch): layout as layout
10790         (smartQuote): layout as layout
10791
10792         * BufferView2.C (unlockInset): layout as layout
10793
10794 2002-06-24  André Pönitz <poenitz@gmx.net>
10795
10796         * lyxfunc.C: fix #487
10797
10798 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * lyxrc.h:
10801         * lyxrc.C:
10802         * lyxfunc.C: remove display_shortcuts, show_banner
10803
10804 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * Buffer_pimpl.C: oops, update on resize
10807
10808 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * buffer.C:
10811         * converter.C:
10812         * exporter.C:
10813         * lyxfunc.C:
10814         * BufferView.h:
10815         * BufferView.C: use repaint()
10816
10817         * BufferView_pimpl.h:
10818         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10819           as it's a clearer description. Remove superfluous
10820           redraws.
10821
10822 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * text.C: fix bug 488. Not ideal, but getting
10825           getWord() to work properly for the insets that
10826           matter is more difficult ...
10827
10828 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView_pimpl.C:
10831         * LyXAction.C:
10832         * commandtags.h:
10833         * lyxfunc.C: remove the six million index lyxfuncs to just
10834           one, and DTRT (bug 458)
10835
10836 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView.h:
10839         * BufferView.C:
10840         * BufferView_pimpl.h:
10841         * BufferView_pimpl.C: clean up resize() stuff,
10842           and unnecessary updateScreen()s
10843
10844 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * BufferView.h:
10847         * BufferView.C:
10848         * BufferView_pimpl.h:
10849         * BufferView_pimpl.C:
10850         * lyxfind.h:
10851         * lyxfind.C:
10852         * minibuffer.C: remove focus management of workarea,
10853           not needed. Use screen's greyOut()
10854
10855 2002-06-17  Herbert Voss  <voss@lyx.org>
10856
10857         * converter.C: (convert) do not post a message, when converting
10858         fails, let the calling function decide what to do in this case
10859
10860 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * lyxfunc.C: tidy up a little
10863
10864 2002-06-16    <alstrup@diku.dk>
10865
10866         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10867         Got rid of FORMS_H_LOCATION include. Now we are
10868         GUII.
10869
10870 2002-06-15  LyX Development team  <lyx@rilke>
10871
10872         * buffer.[Ch] (sgmlOpenTag):
10873         (sgmlCloseTag): Added support for avoiding pernicious mixed
10874         content. Return number of lines written.
10875
10876         (makeLinuxDocFile):
10877         (makeDocBookFile): Fixed calls to sgml*Tag.
10878         Simple white space clean.
10879
10880         (simpleDocBookOnePar): Simple white space clean.
10881
10882         * tabular.[Ch] (docBook): Renamed to docbook and got another
10883         argument to related with the pernicious mixed content.
10884
10885         (docbookRow): Fixed calls for docbook inset method.
10886
10887 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10888
10889         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10890         so it's X11 independent.
10891
10892         * kb*.[Ch]: ditto.
10893
10894         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10895
10896 2002-06-15  Lyx Development team  <lyx@electronia>
10897
10898         * intl.h: Renamed getTrans to getTransManager.
10899
10900 2002-06-14  Angus Leeming  <leeming@lyx.org>
10901
10902         * Makefile.am: nuke forgotten stl_string_fwd.h.
10903
10904 2002-06-12  Angus Leeming  <leeming@lyx.org>
10905
10906         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10907
10908 2002-06-13  Angus Leeming  <leeming@lyx.org>
10909
10910         * LaTeX.C:
10911         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10912
10913 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10914
10915         * kbmap.C (getiso): add support for cyrillic and greek
10916
10917 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * BufferView.h:
10920         * BufferView.C:
10921         * BufferView_pimpl.h:
10922         * BufferView_pimpl.C: move bogus scrolling logic
10923           to xforms
10924
10925 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * lyxfunc.C:
10928         * BufferView_pimpl.C: view->resize() change
10929
10930 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * BufferView_pimpl.C: topCursorVisible
10933           prototype change
10934
10935 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * Makefile.am:
10938         * lyx_gui.h:
10939         * lyx_gui.C: move to frontends/
10940
10941         * main.C:
10942         * lyx_main.h:
10943         * lyx_main.C: changes from above
10944
10945 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10946
10947         * intl.C:
10948         * intl.h:
10949         * kbmap.C:
10950         * kbsequence.C:
10951         * lyx_cb.C:
10952         * lyx_main.C: minor tidy
10953
10954 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * BufferView_pimpl.h:
10957         * BufferView_pimpl.C:
10958         * BufferView.h:
10959         * BufferView.C: make painter() const,
10960           remove dead code
10961
10962         * BufferView2.C: use screen() accessor
10963
10964         * lyx_main.h:
10965         * lyx_main.C: some minor cleanup
10966
10967 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * BufferView_pimpl.h:
10970         * BufferView_pimpl.C: remove enter/leaveView,
10971           use workHeight()
10972
10973 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * BufferView.h:
10976         * BufferView.C:
10977         * BufferView2.C:
10978         * BufferView_pimpl.h:
10979         * BufferView_pimpl.C: only construct screen once,
10980           rename
10981
10982         * lyxrc.C: remove pointless comment
10983
10984 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * BufferView.h:
10987         * BufferView.C: remove active() and belowMouse()
10988
10989         * BufferView_pimpl.h:
10990         * BufferView_pimpl.C: use workarea() not workarea_,
10991           and make it use a scoped_ptr instead
10992
10993 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * lyx_gui.C: add debug message on BadWindow
10996
10997 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10998
10999         * sp_spell.C: fdopen is not part of the C++ standard.
11000
11001         * paragraph.C (InsetIterator): use >= instead of ==
11002
11003 2002-06-07  Angus Leeming  <leeming@lyx.org>
11004
11005         Fixes needed to compile with Compaq cxx 6.5.
11006         * BufferView_pimpl.C:
11007         * DepTable.C:
11008         * buffer.C:
11009         * converter.C:
11010         * encoding.C:
11011         * lyx_gui.C:
11012         * lyx_main.C:
11013         * lyxtextclasslist.C:
11014         * minibuffer.C:
11015         * sp_spell.C:
11016         * tabular_funcs.C:
11017         * vc-backend.C:
11018         all c-library variables have been moved into namespace std. Wrap
11019         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11020
11021         * lyxlength.C:
11022         * tabular-old.C:
11023         * tabular.C:
11024         Add a using std::abs declaration.
11025
11026         * kbmap.h (modifier_pair):
11027         * paragraph.h (InsetTable, InsetList):
11028         * lyxfont.h (FontBits):
11029         type definition made public.
11030
11031         * bufferlist.C (emergencyWriteAll): the compiler complains that
11032         there is more than one possible lyx::class_fun template to choose from.
11033         I re-named the void specialisation as lyx::void_class_fun.
11034
11035         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11036
11037         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11038         the compiler is is unable to find tostr in write_attribute.
11039
11040 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11041
11042         * buffer.C (sgmlError): hide #warning
11043
11044 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11045
11046         * xtl/*: get rid of xtl, which is not in use anyway
11047
11048         * LyXAction.C (init):
11049         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11050         were unimplemented xtl experimentation
11051
11052 2002-06-04  André Pönitz <poenitz@gmx.net>
11053
11054         * lyxfunc.C: disable array operation on simple formulae
11055
11056 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * converter.C: constify a bit
11059
11060 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * lyx_gui.C: check xforms version correctly
11063
11064 2002-04-30  Herbert Voss  <voss@lyx.org>
11065
11066         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11067         "keep" option
11068
11069 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11070
11071         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11072           attempt to register it with a VCS)
11073
11074 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * lyx_main.C (init): honor variables LYX_DIR_13x and
11077         LYX_USERDIR_13x
11078
11079 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * buffer.h:
11082         * buffer.C:
11083         * lyx_main.C: fix a crash on bad command line,
11084           and give a useful exit status on error
11085
11086         * lyxfunc.C (doImport): allow -i lyx to work
11087
11088 2002-03-30  André Pönitz <poenitz@gmx.net>
11089
11090         * lyxfunc.C: mathed font changes
11091
11092 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * LaTeX.C:
11095         * importer.h:
11096         * importer.C:
11097         * lyx_sty.h:
11098         * lyx_sty.C:
11099         * lyxlex.C:
11100         * lyxrow.h:
11101         * lyxtext.h:
11102         * paragraph.h:
11103         * paragraph.C:
11104         * texrow.h:
11105         * texrow.C:
11106         * text.C:
11107         * trans_mgr.h: srcdocs, and some minor cleanups
11108
11109 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11112         call getFont all the time)
11113
11114 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11115
11116         * switch from SigC signals to boost::signals
11117
11118 2002-05-29  André Pönitz <poenitz@gmx.net>
11119
11120         * paragraph_pimpl.C (getChar): don't call size() too often...
11121
11122 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * paragraph_pimpl.C (insertChar): do not try to update tables when
11125         appending (pos == size())
11126
11127         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11128         in order to reduce drastically the number of comparisons needed to
11129         parse a large document
11130
11131 2002-05-29  André Pönitz <poenitz@gmx.net>
11132
11133         * text.C:
11134         * text2.C:
11135         * lyxtextclass.C:
11136         * sp_pspell.h:
11137         * textclasslist.[Ch]:
11138         * sp_ispell.h: whitespace change
11139
11140 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11141
11142         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11143         lyxaction directly now.
11144
11145 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * trans.C:
11148         * lyxfont.C:
11149         * lyxvc.C: remove unused headers
11150
11151 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * Makefile.am:
11154         * buffer.h:
11155         * undostack.h:
11156         * undostack.C:
11157         * undo_funcs.h:
11158         * undo_funcs.C: some cleanups. Use shared_ptr
11159           and a template for the undo stacks.
11160
11161 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * BufferView_pimpl.h:
11164         * BufferView_pimpl.C:
11165         * kbmap.h:
11166         * kbmap.C:
11167         * kbsequence.h:
11168         * kbsequence.C:
11169         * lyxfunc.h:
11170         * lyxfunc.C:
11171         * text2.C: use key_state/mouse_state
11172
11173 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11174
11175         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11176         and LSubstring
11177
11178         * chset.C: change include order
11179         (loadFile): use boost regex and get rid of LRegex and LSubstring
11180
11181         * Makefile.am (BOOST_LIBS): new variable
11182         (lyx_LDADD): use it
11183
11184         * LaTeX.C: change include order.
11185         (scanAuxFile): use boost regex and get rid of LRegex and
11186         LSubstring
11187         (deplog): ditto
11188
11189 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * ColorHandler.h:
11192         * ColorHandler.C:
11193         * FontInfo.h:
11194         * FontInfo.C: moved to frontends/xforms/
11195
11196         * FontLoader.h:
11197         * FontLoader.C: moved into frontends for GUIIzation
11198
11199         * Makefile.am:
11200         * lyx_gui.C:
11201         * lyxfont.C:
11202         * lyxfunc.C: changes from above
11203
11204 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * LColor.C: remove spurious X include
11207
11208         * BufferView_pimpl.C:
11209         * Makefile.am:
11210         * font.h:
11211         * font.C:
11212         * text.C:
11213         * text2.C: move font metrics to frontends/
11214
11215 2002-05-24  Juergen Vigna  <jug@sad.it>
11216
11217         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11218         setting the undo_cursor.
11219
11220         * ParagraphParameters.h: include local includes first.
11221
11222 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * BufferView_pimpl.C:
11225         * BufferView_pimpl.h:
11226         * Makefile.am:
11227         * WorkArea.h:
11228         * WorkArea.C:
11229         * screen.C: move WorkArea into frontends/
11230
11231         * lyxscreen.h:
11232         * screen.C:
11233         * text.C:
11234         * BufferView.C:
11235         * BufferView2.C: move LyXScreen into frontends/
11236
11237         * lyxlookup.h:
11238         * lyxlookup.C:
11239         * lyx_gui.C: move lyxlookup into frontends/xforms/
11240
11241 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * BufferView2.C:
11244         * BufferView_pimpl.C:
11245         * FontLoader.C:
11246         * LyXView.h:
11247         * LyXView.C:
11248         * Makefile.am:
11249         * WorkArea.C:
11250         * XFormsView.h:
11251         * XFormsView.C:
11252         * buffer.C:
11253         * bufferlist.C:
11254         * bufferview_funcs.C:
11255         * converter.C:
11256         * importer.C:
11257         * lyx_cb.C:
11258         * lyx_gui.C:
11259         * lyx_main.C:
11260         * lyx_find.C:
11261         * lyxfunc.C:
11262         * lyxvc.C:
11263         * minibuffer.C:
11264         * text.C:
11265         * text2.C:
11266         * trans.C:
11267         * vc-backend.C: move LyX/XFormsView into frontends/
11268
11269 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * Makefile.am:
11272         * PainterBase.C:
11273         * PainterBase.h:
11274         * Painter.C:
11275         * Painter.h:
11276         * WorkArea.C:
11277         * WorkArea.h:
11278         * screen.C:
11279         * tabular.C:
11280         * text.C:
11281         * text2.C: move Painter to frontends/
11282
11283 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11284
11285         * buffer.C: comment out some some code that depend upon lyx_format
11286         < 220
11287
11288         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11289         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11290
11291         * buffer.h (NO_COMPABILITY): turn off compability
11292
11293         * ColorHandler.C: include scoped_array.hpp
11294
11295         * font.C: Use more specific smart_ptr header.
11296         * Painter.C: ditto
11297         * gettext.C: ditto
11298         * ShareContainer.h: ditto
11299         * lyx_main.h: ditto
11300         * kbmap.h: ditto
11301         * FontInfo.h: ditto
11302         * BufferView_pimpl.h: ditto
11303         * ColorHandler.h: ditto
11304
11305         * kbmap.C (defkey): change call to shared_ptr::reset
11306
11307 2002-05-21  Juergen Vigna  <jug@sad.it>
11308
11309         * buffer.C (insertErtContents): fix to insert ert asis if it is
11310         non empty. Skip it completely if it contains only whitespaces.
11311
11312 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * BufferView_pimpl.C:
11315         * BufferView2.C: clear selection on paste (bug 393)
11316
11317 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11318
11319         * DepTable.C: include ctime
11320
11321 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11322
11323         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11324
11325 2002-05-14  Juergen Vigna  <jug@sad.it>
11326
11327         * text.C (breakParagraph): fixed function to honor the keepempty
11328         layout in the right maner and also to permit the right breaking
11329         algorithm on empty or non empyt keepempty paragraphs.
11330
11331         * paragraph.C (breakParagraph): we have to check also if the par
11332         is really empty (!size()) for isempty otherwise we do the wrong
11333         paragraph break.
11334
11335 2002-05-10  Juergen Vigna  <jug@sad.it>
11336
11337         * buffer.[Ch] : The following are only changes to the ert
11338         compatibility read reading old LaTeX layout and font stuff and
11339         convert it to ERTInsets.
11340
11341         * buffer.h: added isErtInset().
11342
11343         * buffer.C (struct ErtComp): add a fromlayout bool to check
11344         if we're inside a LaTeX layout.
11345         (isErtInset): new helper function.
11346         (insertErtContents): look for other ert insets before this one
11347         and insert the contents there, so that we don't have subsequent
11348         ERT insets with nothing between them. This way we create only one
11349         inset with multiple paragraphs. Also check if we don't insert only
11350         spaces ' ' as they are ignored anyway afterwards in the .tex file
11351         so if we have only spaces we will ignore this latex part in the
11352         new file.
11353         (parseSingleLyXformat2Token \\layout): better compatibility when
11354         reading layout-latex stuff.
11355         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11356         language tag.
11357         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11358         stuff after reading the inset only get the information back from
11359         the stack.
11360
11361 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11362
11363         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11364
11365         * LaTeXFeatures.C (getBabelOptions): New method.
11366
11367 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * BufferView_pimpl.C (Dispatch): work around missing argument for
11370         'layout'
11371
11372 2002-05-08  Juergen Vigna  <jug@sad.it>
11373
11374         * text.C (leftMargin): handle paragraph leftindent.
11375
11376         * paragraph.C (writeFile): write the new \\leftindent tag.
11377         (validate): handle leftindent code.
11378         (TeXEnvironment): handle paragraphleftindent code again.
11379
11380         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11381
11382         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11383         for paragrap_extra indent code and new token \\leftindent.
11384         (latexParagraphs): handle the leftindent as environment.
11385
11386         * ParameterStruct.h: added leftindent support.
11387
11388         * ParagraphParameters.C (leftIndent): added support functions for
11389         the paragraph left indent.
11390
11391         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11392         more appropriate.
11393
11394 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11395
11396         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11397         inside insetERT.
11398
11399         * text.C (computeBidiTables): No bidi in insetERT.
11400
11401         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11402         in RTL documents.
11403
11404 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * version.C.in: pre 5
11407
11408 2002-05-02  José Matos  <jamatos@fep.up.pt>
11409         * buffer.C (makeDocBookFile): white space changes, add newline to
11410         command styles.
11411         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11412
11413         * tabular.C (docBook): fix typo.
11414
11415 2002-05-03  Juergen Vigna  <jug@sad.it>
11416
11417         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11418         change in LyXText as we can not be sure it was not freed.
11419         (drawOneRow): remove unused code.
11420
11421         * text.C (drawInset): redo the calculation of the need_break_row as
11422         it could have a row which was already freed.
11423         (draw): look at the return value of drawInset and return false if
11424         it also returned false.
11425         (paintRowText): look at the return value of draw and return false if
11426         it also returned false.
11427
11428         * lyxtext.h: added bool return type to drawInset() and draw() so that
11429         if we have a change in the row so that the rowbreak has to be redone
11430         we abort drawing as it will be called again.
11431
11432 2002-05-02  Juergen Vigna  <jug@sad.it>
11433
11434         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11435         a change in the maintext also if we're inside an inset.
11436         (Dispatch): set the cursor again after a break line and after the
11437         screen has been updated as it could be we're in a different row.
11438
11439         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11440         to set the cursor behind the pargraph with > size().
11441         (setCursor): check also for the same paragraph when checking where
11442         to put the cursor if we have a NFR inset.
11443
11444         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11445         parts of layout read further up as it still was in the wrong
11446         position.
11447
11448 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * screen.C (drawFromTo): change sine fullRebreak always return
11451         true.
11452
11453         * buffer.C (parseSingleLyXformat2Token): reindent some
11454
11455         * BufferView_pimpl.C (update): change since fullRebreak always
11456         return true.
11457         (Dispatch): git rid of the last hardcoded "Standard"s.
11458
11459 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11460
11461         * text2.[Ch] (fullRebreak): make it return void now that we always
11462         returned true.
11463
11464 2002-04-30  Juergen Vigna  <jug@sad.it>
11465
11466         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11467         ert compatibility check for "latex" layout.
11468
11469 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11472         minipages: use col% instead of p%, and also use the current font.
11473         (makeLaTeXFile): Fix use babel condition.
11474         (parseSingleLyXformat2Token): Correct font when reading old floats.
11475
11476 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11477
11478         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11479         inserting list of floats.
11480
11481 2002-04-25  Herbert Voss  <voss@lyx.org>
11482
11483         * MenuBackend.C (expand): don't add the graphics extensions to the
11484         export menu
11485
11486 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11487
11488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11489         non-existing layout, do not complain if it was the default layout
11490         of the original class (bug #342)
11491
11492 2002-04-24  Juergen Vigna  <jug@sad.it>
11493
11494         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11495         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11496
11497 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11498
11499         * buffer.C (getBibkeyList): If using \bibliography, return the
11500         option field with the reference itself. Enables us to provide natbib
11501         support when using \bibliography.
11502
11503 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11504
11505         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11506
11507         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11508         natbib is provided by the LaTeX class.
11509
11510 2002-04-23  Juergen Vigna  <jug@sad.it>
11511
11512         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11513         Wakeup functions.
11514
11515         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11516
11517 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11520
11521         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11522         ensuremath around textordmasculine, textordfeminine and
11523         textdegree.
11524
11525 2002-04-19  Juergen Vigna  <jug@sad.it>
11526
11527         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11528         reinitializing the buffer otherwise row-dimensions may be wrong.
11529         (update): reset also the selection cursors if they do exits otherwise
11530         their x/y positions may be wrong.
11531
11532         * text2.C (cursorDown): don't enter the inset if we came from a row
11533         above and are one row over the inset.
11534
11535         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11536         really leaving an inset.
11537
11538 2002-04-18  Juergen Vigna  <jug@sad.it>
11539
11540         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11541         of the selected paragraph does not have the selected layout also if
11542         the last one had!
11543
11544         * text2.C (setLayout): fixed bug which did not change last selected
11545         paragraph.
11546
11547         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11548         changed the read and substituted \\end_float with \\end_inset!
11549
11550         * BufferView_pimpl.C (cursorPrevious):
11551         (cursorNext): fixed to make it work with rows heigher than the work
11552         area without moving the cursor only the draw of the row.
11553         (workAreaMotionNotify): fix jumping over high rows.
11554
11555 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11556
11557         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11558         Ressler.
11559
11560 2002-04-16  Juergen Vigna  <jug@sad.it>
11561
11562         * text2.C (setCursor): set also the irow().
11563         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11564         (cursorUp):
11565         (cursorDown): support for locking an inset if the x_fix value goes
11566         inside it. That way I can transverse insets too with cursor up/down.
11567
11568         * lyxrow.h: added irow helper function same as other (i) functions.
11569
11570         * BufferView_pimpl.C (cursorPrevious):
11571         (cursorNext): fixed for insets!
11572
11573 2002-04-15  Juergen Vigna  <jug@sad.it>
11574
11575         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11576         position otherwise it is wrong in some cases.
11577
11578         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11579         inside the inset before the call.
11580
11581 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11582
11583         * buffer.[Ch] (getBibkeyList): make it const.
11584
11585 2002-04-12  Juergen Vigna  <jug@sad.it>
11586
11587         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11588
11589         * text2.C (getCursorX): new helper function
11590         (setCursor): compute also ix_
11591         (setCursorFromCoordinates): set also ix.
11592
11593         * lyxcursor.h: added ix_ and helper functions.
11594
11595         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11596
11597         * buffer.C (insertStringAsLines): dont break paragraph if the this
11598         paragraph is inside an inset which does not permit it!
11599
11600         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11601         also with no chars on this paragraph.
11602         (paintRowText): only paint stuff if it's inside the workarea!
11603
11604         * paragraph.C (breakParagraph): honor keepempty flag and break the
11605         paragraph always below not above.
11606
11607         * BufferView2.C (unlockInset): update the paragraph layout on inset
11608         unlock as we changed paragraph in such a case.
11609
11610         * lyxfind.C (LyXFind): clear the former selection if not found!
11611
11612         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11613         again called in insertChar().
11614
11615         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11616         an inset which uses the whole row!
11617         (rightMargin): ditto.
11618         (insertChar): force a rebreak if we inserted an inset!
11619
11620 2002-03-28  Herbert Voss  <voss@lyx.org>
11621
11622         * lyxlength.[Ch]: add inBP() to get the right PS-point
11623         units (BigPoint). With inPixels we have rounding errors
11624
11625 2002-04-11  Juergen Vigna  <jug@sad.it>
11626
11627         * text2.C (setCursorFromCoordinates): set iy to the right value.
11628         (setCursor): add check if row->previous exists!
11629
11630         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11631         an old float_type as this was the case in the old code!
11632
11633         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11634
11635         * BufferView2.C (showLockedInsetCursor): use iy
11636         (fitLockedInsetCursor): ditto
11637
11638         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11639         locked insets as there we have the right value now.
11640
11641         * lyxcursor.C: added iy_ variable and iy functions to set to the
11642         baseline of cursor-y of the locked inset.
11643
11644         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11645         (setCursor): fixed for insets which need a full row.
11646
11647         * text.C (rowLastPrintable): don't ignore the last space when before
11648         an inset which needs a full row.
11649         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11650         as last character of a row when before a inset which needs a full row.
11651
11652 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * version.C.in: update date
11655
11656         * text2.C (fullRebreak): try to always return true and see what
11657         happens...
11658
11659 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11660
11661         * MenuBackend.C (expand): use Floating::listName
11662
11663         * FloatList.C (FloatList): add listName argument to the built-in
11664         floats
11665
11666         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11667         text associated with the float.
11668
11669 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11672
11673 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11674
11675         * ShareContainer.h: add a couple of missing typenames.
11676
11677 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * lyxrc.C (getDescription): use _() correctly rather than N_().
11680
11681 2002-03-28  Herbert Voss  <voss@lyx.org>
11682
11683         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11684         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11685
11686 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11687
11688         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11689         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11690
11691 2002-03-29  Juergen Vigna  <jug@sad.it>
11692
11693         * lyxfunc.C (dispatch): add a missing fitCursor call.
11694
11695         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11696         it was scrolled by a cursor move, so return the bool status.
11697
11698         * BufferView.C (fitCursor): return the bool flag also to the outside
11699         world as this is needed.
11700
11701         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11702
11703         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11704         call the edit() as it is not needed (and wrong) IMO.
11705         (workAreaButtonPress): set the screen_first variable before evt.
11706         unlock the inset as this may change screen_first and then we have
11707         a wrong y position for the click!
11708
11709 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11710
11711         * MenuBackend.C (expand): another translation that I missed
11712
11713 2002-03-28  Juergen Vigna  <jug@sad.it>
11714
11715         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11716
11717         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11718
11719 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11720
11721         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11722
11723         * MenuBackend.C (expand): fix export/view/update when there is no
11724         document open.
11725
11726 2002-03-27  Herbert Voss  <voss@lyx.org>
11727
11728         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11729         and text%
11730
11731 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * bufferview_funcs.C (currentState): only show paragraph number
11734         for is DEVEL_VERSION is set.
11735
11736         * lyxfunc.C (dispatch): put warning in INFO channel
11737
11738         * MenuBackend.C (expand): translate the name of floats
11739
11740         * FloatList.C (FloatList): mark the float names for translation
11741
11742         * converter.C (convert): use LibScriptSearch
11743
11744 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11745
11746         * MenuBackend.C (defaults): fix default menu (we might as well get
11747         rid of it...)
11748
11749 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11752         directory.
11753
11754 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11755
11756         * lyxvc.C: reorder includes.
11757
11758 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11761           properly
11762
11763 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * CutAndPaste.C: change layouts earlier on paste
11766           to avoid crashing when calling getFont()
11767
11768 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11769
11770         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11771         irritating #error.
11772
11773 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * WorkArea.C: remove 'Pending' debug message.
11776
11777         * most files: ws cleanup
11778
11779         * buffer.[Ch]: ws changes
11780
11781         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11782
11783 2002-03-21  Juergen Vigna  <jug@sad.it>
11784
11785         * tabular.C (SetMultiColumn): collapse also the contents of the
11786         cells and set the last border right. Added a Buffer const * param.
11787
11788 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11791         linking or not.
11792
11793 2002-03-19  Juergen Vigna  <jug@sad.it>
11794
11795         * text2.C (clearSelection): reset also xsel_cache.
11796
11797         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11798         where it needs to be called (John tells us to do so too :)
11799         (selectionLost): reset sel_cache.
11800
11801         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11802
11803 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * text2.C (setCursorIntern): put debuging code in INSETS channel
11806
11807 2002-03-19  André Pönitz <poenitz@gmx.net>
11808
11809         * lyxfunc.C: tiny whitespace change
11810
11811 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * ToolbarDefaults.C (init):
11814         * LyXAction.C (init):
11815         * commandtags.h:
11816         * BufferView_pimpl.C (Dispatch):
11817         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11818
11819 2002-03-19  Allan Rae  <rae@lyx.org>
11820
11821         * exporter.C (Export): removeAutoInsets before doing anything else.
11822         While I've just introduced a dependency on BufferView this really is
11823         the best place to clean the buffer otherwise you need to cleanup in
11824         a dozen places before calling export or cleanup in a dozen functions
11825         that export calls.
11826
11827         * converter.C (runLaTeX):
11828         (scanLog): Better handling of removeAutoInsets and screen updates.
11829
11830         * lyxfunc.C (dispatch): small whitespace changes
11831
11832 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11833
11834         * WorkArea.C (C_WorkAreaEvent): return a value.
11835         (event_cb): return 1 if we handled the event, 0 otherwise.
11836
11837         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11838
11839 2002-03-18  Juergen Vigna  <jug@sad.it>
11840
11841         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11842         (GetAdditionalWidth): ditto.
11843         (RightLine): ditto.
11844         (LeftLine): ditto.
11845
11846         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11847         inset if we're there actually (probably not used right now but this
11848         is the direction to go for unifying code).
11849         (paste): disable code to clear the selection.
11850
11851         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11852         inside an InsetText and move the check further up as it is in the
11853         wrong place.
11854
11855         * text2.C (pasteSelection): set a selection over the pasted text.
11856
11857 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11858
11859         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11860         and libgraphics to build on Cygwin.
11861
11862 2002-03-15  Juergen Vigna  <jug@sad.it>
11863
11864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11865         inserting an Inset into the paragraph. I know this is not the best
11866         fix but we already use current_view in CutAndPaste so we will remove
11867         all of it's using at the same time.
11868
11869         * buffer.C (sgmlError): deactivated function till it is rewritten in
11870         the right mode, now it can create problems.
11871
11872         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11873         before accessing it.
11874
11875 2002-03-14  Juergen Vigna  <jug@sad.it>
11876
11877         * undo_funcs.C (textHandleUndo): do the right thing when updating
11878         the inset after the undo/redo.
11879
11880         * text2.C (setCursor): just some testcode for #44 not ready yet.
11881
11882         * undo_funcs.C (textHandleUndo): set the next() and previous()
11883         pointers of the paragraph to 0 before deleting otherwise we have
11884         problems with the Paragraph::[destructor].
11885
11886         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11887         on a paragraph insertion.
11888
11889 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * buffer.C (asciiParagraph): use += operator for char append to
11892         string.
11893
11894         * paragraph.C (getFontSettings): compare >= not just >
11895         (highestFontInRange): ditto
11896         (setFont): ditto
11897
11898 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11899
11900         * paragraph.C: change several algorithm to be more appripriate for
11901         the problem domain. This is lookip in FontList and in the InsetList.
11902
11903 2002-03-13  André Pönitz <poenitz@gmx.net>
11904
11905         * commandtags.h:
11906         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11907
11908 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * commandtags.h:
11911         * LyXAction.C:
11912         * lyxfunc.C:
11913         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11914
11915 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * Painter.C (display): anon helper function, adjust code for this
11918         change.
11919         (pixmap): remove function.
11920
11921         * Painter.h: remove private display variable.
11922
11923         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11924
11925 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11926
11927         * WorkArea.[Ch]: remove figinset_canvas cruft.
11928
11929 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * lyxtextclass.C (operator): add one item cache optimization.
11932
11933         * bufferlist.h: doxy changes
11934
11935         * bufferlist.C: ws changes
11936
11937         * DepTable.[Ch] (ext_exist): place const in the right spot.
11938
11939         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11940         call resizeInsets.
11941         (workAreaExpose): call resizeInsets when the with BufferView changes.
11942         (Dispatch): adjust for protectedBlank removal
11943         (specialChar): call updateInset if the insert went ok.
11944
11945         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11946         specialChar instead.
11947
11948         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11949
11950         * BufferView.h: doxy change
11951
11952         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11953
11954         * lyxtextclass.C (operator[]): remove non-const version
11955         (defaultLayout): remove non-const version
11956
11957 2002-03-12  Juergen Vigna  <jug@sad.it>
11958
11959         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11960         did resize the LyXText too.
11961
11962         * buffer.C (readLyXformat2): set layout information on newly allocated
11963         paragraphs.
11964
11965         * tabular.C (OldFormatRead): set layout information on the paragraph.
11966
11967 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11968
11969         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11970
11971 2002-03-11  Juergen Vigna  <jug@sad.it>
11972
11973         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11974         plainly wrong.
11975         (resizeCurrentBuffer): force also the insets to resize themselfes.
11976         (moveCursorUpdate): fixed up for InsetText.
11977
11978 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * commandtags.h:
11981         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11982         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11983         value of Dialogs::tooltipsEnabled().
11984         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11985
11986 2002-03-08  Juergen Vigna  <jug@sad.it>
11987
11988         * BufferView_pimpl.C (updateInset): update inset inside inset also
11989         if it isn't inside theLockingInset().
11990
11991 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * buffer.C (asciiParagraph): redo some of the word and line length
11994         handling.
11995         (getLists): look for Caption instead of caption.
11996
11997 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * buffer.C (Buffer): initialize niceFile to true
12000         (makeLaTeXFile):
12001         (makeLinuxDocFile):
12002         (makeDocBookFile): make sure niceFile is true on exit
12003
12004 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12005
12006         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12007
12008 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * LyXSendto.C: remove.
12011         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12012         * lyx_gui.C: remove now-redundant comment.
12013         * ColorHandler.h: remove forward declaration of class WorkArea.
12014         * lyxfunc.C: remove #include "WorkArea.h".
12015
12016 2002-03-07  Juergen Vigna  <jug@sad.it>
12017
12018         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12019         got moved away with the DEPM and also set the inset_owner always
12020         right which before could have been omitted.
12021
12022 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12025         wanted layout is not found.
12026
12027 2002-03-07  Juergen Vigna  <jug@sad.it>
12028
12029         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12030
12031 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * paragraph.C (breakParagraph): use default layout not layout of
12034         prev paragraph.
12035         (Paragraph): clear ParagraphParameters.
12036
12037 2002-03-06  Juergen Vigna  <jug@sad.it>
12038
12039         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12040         otherwise it would not be a valid lenght. Fixed a special case in
12041         the minipage compatibility read where we end the document with a
12042         minipage.
12043
12044         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12045         was set as it could be 0 for InsetTexts first entry.
12046
12047 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * paragraph.C (writeFile): if layout is empty write out
12050         defaultLayoutName().
12051
12052         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12053         file without named layout we set layout to defaultLayoutName().
12054
12055 2002-03-06  Juergen Vigna  <jug@sad.it>
12056
12057         * CutAndPaste.C (copySelection): set layout for new paragraph.
12058
12059         * text.C (prepareToPrint): leave ERT inset left aligned
12060         (leftMargin): don't indent paragraphs inside ERT insets
12061
12062 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * paragraph.C (breakParagraph): dont call clear do the work manually
12065
12066         * paragraph.[Ch] (clear): remove function
12067
12068 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * paragraph.C (Paragraph): dont call clear, the work has already
12071         been done.
12072
12073         * lyxtextclass.C (operator): assert if n is empty
12074
12075         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12076         work manually instead.
12077
12078 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * BufferView_pimpl.C: protect selectionLost against text == 0
12081
12082 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * text.C (breakParagraph): fix a setting layout to '0' problem.
12085
12086 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12087
12088         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12089         final location of file, for the included files, and graphics.
12090
12091 2002-03-05  Juergen Vigna  <jug@sad.it>
12092
12093         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12094
12095 2002-03-04  Juergen Vigna  <jug@sad.it>
12096
12097         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12098
12099         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12100         last column of multicolumn cells.
12101         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12102
12103 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12104
12105         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12106         file if it doesn't go to a temporary file.
12107
12108         * buffer.C (sgmlOpenTag):
12109         (sgmlCloseTag):  remove extra newline insertion.
12110
12111 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * text.C (getRowNearY): comment out debug msg
12114
12115 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * text2.C: first -> first_y
12118
12119         * text.C (getRowNearY): add some attemts at a possible
12120         optimization, not working.
12121
12122         * tabular.[Ch]: add BufferParams to several function so that newly
12123         created paragraph can be initialized to he default layotu for the
12124         buffers textclass.
12125
12126         * tabular-old.C (ReadOld): add buf->params to call of Init
12127
12128         * screen.C: rename text->first to text->first_y
12129
12130         * paragraph.C (breakParagraph): always set layout in the broken
12131         paragraph
12132
12133         * lyxtextclass.C (Read): remove lowercase
12134         (hasLayout): ditto
12135         (operator): ditto
12136         (delete_layout): ditto
12137
12138         * lyxtext.h: rename first -> first_y
12139
12140         * lyxlayout.C (Read): remove lowercase
12141         (name): ditto
12142         (setName): ditto
12143         (obsoleted_by): ditto
12144
12145         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12146
12147         * buffer.C (insertErtContents): add params are to InsetERT
12148         (parseSingleLyXformat2Token): add code to check if a paragraphs
12149         layout really exist.
12150         (parseSingleLyXformat2Token): add params to several inset
12151         constructors
12152         (asciiParagraph): remove lowercase, do the layout comparisons with
12153         no_case
12154
12155         * BufferView_pimpl.C (cursorNext): first -> first_y
12156         (resizeCurrentBuffer): first -> first_y
12157         (updateScrollbar): first -> first_y
12158         (scrollCB): first -> first_y
12159         (workAreaMotionNotify): first -> first_y
12160         (workAreaButtonPress): first -> first_y
12161         (checkInsetHit): first -> first_y
12162         (cursorPrevious): first -> first_y
12163         (cursorNext): first -> first_y
12164         (Dispatch): add buffer_->params to severl inset contructors
12165
12166 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * lyxlayout.C (Read): remove some debug info that I forgot.
12169
12170         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12171         clean up the code slightly.
12172         (makeLinuxDocFile): ditto
12173         (makeDocBookFile): ditto
12174
12175         * text2.C: layout as string
12176
12177         * text.C: layout as string
12178
12179         * paragraph_pimpl.C: layout as string
12180
12181         * paragraph.[Ch]: layout as string
12182
12183         * lyxtextclasslist.[Ch]: layout as string
12184
12185         * lyxtextclass.[Ch]: layout as string
12186
12187         * lyxtext.h: layout as string
12188
12189         * lyxlayout.[Ch]: layout as string
12190
12191         * lyx_cb.C: layout as string
12192
12193         * bufferview_funcs.C: layout as string
12194
12195         * bufferparams.C: layout as string
12196
12197         * buffer.C: layout as string
12198
12199         * LyXView.[Ch]: layout as string
12200
12201         * LaTeXFeatures.[Ch]: layout as string
12202
12203         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12204
12205         * BufferView_pimpl.C: change current_layout to string, remove
12206         lyx::layout_type.
12207         (Dispatch):
12208         (smartQuote):
12209         (insertInset):
12210         (workAreaButtonRelease): layout as string
12211
12212         * BufferView2.C (unlockInset): adjust
12213
12214         * vspace.C (asLatexCommand): use an explict temp variable.
12215
12216 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * Makefile.am: use FRONTEND_*
12219
12220 2002-03-01  Juergen Vigna  <jug@sad.it>
12221
12222         * tabular.C (SetWidthOfMulticolCell): changed to something better
12223         I hope but still work in progress.
12224         (recalculateMulticolumnsOfColumn): renamed function from
12225         recalculateMulticolCells as it is more appropriate now.
12226         (SetWidthOfCell): calculate multicols better.
12227
12228 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12229
12230         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12231
12232         * lyxfunc.C (processKeySym): print sequence also if it is
12233         `deleted' (complete)
12234
12235         * kbsequence.C (print): print sequence even if it is deleted
12236         (complete would be a better word, actually).
12237
12238         * lyxfunc.C (dispatch): print complete options after a prefix key
12239
12240         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12241
12242 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12243
12244         * text2.C (setCharFont): eliminate setCharFont code duplication.
12245
12246 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12247
12248         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12249         LFUN_TABULAR_FEATURE (bug #177)
12250
12251 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * Makefile.am: remove figure.h
12254
12255 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12256
12257         * Bufferview_pimpl.C:
12258         * CutAndPasteC:
12259         * LaTeX.C:
12260         * LyXSendto.C:
12261         * buffer.C:
12262         * bufferlist.C:
12263         * converter.C:
12264         * language.C:
12265         * lyxfunc.C:
12266         * lyxvc.C:
12267         * paragraph.C:
12268         * text.C:
12269         * text2.C: remove #include "lyx_gui_misc.h".
12270
12271         * LaTeX.C: added #include <cstdio>
12272
12273 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12276         that the paragraph following this one can have.
12277
12278         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12279
12280         * vspace.C (asLatexCommand): fix bogus gcc warning
12281
12282         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12283
12284 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12285
12286         * text2.C (setLayout): get rid of redundant code
12287
12288 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12289
12290         * text2.C (incDepth): make sure depth cannot be increased beyond
12291         reasonable values.
12292
12293 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12294
12295         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12296         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12297
12298         * PainterBase.h (image):
12299         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12300         a LyXImage const *.
12301
12302 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView.C:
12305         * BufferView.h:
12306         * BufferView_pimpl.C:
12307         * BufferView_pimpl.h:
12308         * LaTeXFeatures.C:
12309         * LyXAction.C:
12310         * LyXView.C:
12311         * Makefile.am:
12312         * UpdateList.h:
12313         * UpdateList.C:
12314         * buffer.C:
12315         * figure.h:
12316         * figureForm.C:
12317         * figureForm.h:
12318         * figure_form.C:
12319         * figure_form.h:
12320         * lyx_cb.C:
12321         * lyx_gui.C:
12322         * lyx_gui_misc.C:
12323         * lyxfunc.C:
12324         * sp_base.h:
12325         * sp_ispell.h:
12326         * sp_pspell.h:
12327         * sp_spell.C: remove fig inset, and the crap house of
12328           cards that follows it
12329
12330 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * Makefile.am:
12333         * lyxserver.C:
12334         * os2_defines.h:
12335         * os2_errortable.h:
12336         * nt_defines.h: move .h into support/
12337
12338         * vms_defines.h: remove
12339
12340         * WorkArea.C: add space in debug output
12341
12342         * text2.C:
12343         * paragraph.C:
12344         * buffer.C: add WITH_WARNINGS
12345
12346         * vc-backend.h:
12347         * vc-backend.C:
12348         * bufferlist.C: s/retrive/retrieve/, add docs
12349
12350         * vspace.h:
12351         * vspace.C:
12352         * kbmap.h:
12353         * lyxlength.h:
12354         * lyxgluelength.h:
12355         * length_common.h:
12356         * chset.h:
12357         * chset.C: add docs
12358
12359         * lyxgui.C: add ID to X error handler
12360
12361         * lyxtestclass.c: fix typo
12362
12363 2002-02-26  Juergen Vigna  <jug@sad.it>
12364
12365         * tabular_funcs.C (write_attribute): changed so that some default
12366         attributes are not written at all.
12367         (getTokenValue): set default values before trying to read the
12368         value so we have the return value always set as default if we don't
12369         find the token we search for.
12370
12371         * tabular.C (Write): write bools as bools not as strings!
12372
12373 2002-02-22  Juergen Vigna  <jug@sad.it>
12374
12375         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12376         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12377
12378         * text.C (leftMargin): don't add an indent for paragraphs inside
12379         tabular cells (fix #208).
12380
12381 2002-02-21  José Matos  <jamatos@fep.up.pt>
12382
12383         * tabular.C (docBook): fixed support for long tables.
12384
12385 2002-02-20  Juergen Vigna  <jug@sad.it>
12386
12387         * text2.C (getFont): get the drawing font of the Inset if this
12388         paragraph is inside an inset (only important for InsetERT for now).
12389
12390         * buffer.C (insertErtContents): use new lanugage params in ERT
12391         constructor.
12392
12393         * CutAndPaste.C: commenting out seemingly uneeded code.
12394
12395 2002-02-19  Allan Rae  <rae@lyx.org>
12396
12397         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12398         Iterators might be simple to use but they also get invalidated.
12399         (removeAutoInsets): renamed saved cursor tracking variables and added
12400         some comments to clarify what everything does.
12401
12402 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * Chktex.C:
12405         * LaTeX.C:
12406         * LyXSendto.C:
12407         * converter.C:
12408         * lyx_cb.C:
12409         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12410         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12411
12412         * lyxfunc.C:
12413         * vc-backend.h: remove #include "support/syscall.h"
12414
12415         * LaTeX.C:
12416         * LyXSendto.C:
12417         * converter.C: rearrange #includes in Lars' approved fashion.
12418
12419         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12420         forward declare class Timeout in the header file.
12421
12422         * XFormsView.C: changes due to the above.
12423
12424         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12425         similar to LyXView.
12426
12427         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12428         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12429
12430 2002-02-18  José Matos  <jamatos@fep.up.pt>
12431
12432         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12433         insets contents.
12434
12435 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12436
12437         * a lot of small ws changes
12438         * add a lot of using std::XXX
12439         * use std construcs some places where approp.
12440         * use some exisint stuff from lyxfunctional where approp.
12441         * Make file changes to use partial linking (lets test this now...)
12442
12443 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12444
12445         * Chktex.C:
12446         * buffer.C:
12447         remove #include "support/syscontr.h" as it's redundant. Always has been.
12448
12449         * Chktex.C:
12450         * LaTeX.C:
12451         * LyXSendto.C:
12452         * converter.C:
12453         * lyx_cb.C:
12454         * vc-backend.C:
12455         change Systemcalls::System to Systemcalls::Wait and
12456         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12457         No change of functionality, just reflects the stripped down Systemcalls
12458         class.
12459
12460 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * debug.[Ch]: add a GRAPHICS type to the enum.
12463
12464 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12465
12466         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12467
12468         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12469         there is an inset.
12470
12471 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12472
12473         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12474         match the changes below.
12475
12476         * text2.C (toggleInset): if there is not editable inset at cursor
12477         position, try to see if cursor is _inside_ a collapsable inset
12478         and close it.
12479
12480 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12483         document menu has a nice checkbox
12484
12485 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12486
12487         * lyxlength.C (asLatexString): change PW to output as percent of
12488         \textwidth.
12489
12490         * lengthcommon.C: change '%' to 't%'
12491
12492         * lyxfunc.C (dispatch): a few comments from Martin
12493
12494 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * WorkArea.h:
12497         * WorkArea.C:
12498         * BufferView_pimpl.h:
12499         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12500           the X selection.
12501
12502 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * vspace.C (inPixels): fix compiler warning
12505
12506 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12507
12508         * lyxfunc.C (getStatus): fix status message for disabled commands.
12509
12510 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * BufferView_pimpl.C: fix crash on close buffer
12513         during selection (#227)
12514
12515 2002-01-27  Herbert Voss  <voss@lyx.org>
12516
12517         * buffer.C: link old Figure to new graphic inset
12518
12519 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12520
12521         * FontLoader.C (getFontinfo): Change the latex font names in order
12522         to match the names of type1inst.
12523
12524 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12525
12526         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12527
12528         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12529         (extchanged): ditto
12530         (ext_exist): ditto
12531         (remove_files_with_extension): ditto
12532         (remove_file): ditto
12533         (write): ditto
12534
12535         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12536         document is smaller than the work area height. Do not initialize
12537         static variables to 0.
12538
12539 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12540
12541         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12542
12543         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12544         LFUN_LAYOUT_PARAGRAPHS.
12545
12546         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12547         tabular. It is possible to provide a possible cell, which will
12548         typically be the actcell from the corresponding insettabular
12549
12550         * lyxfunc.C (getStatus): small cleanup; disable
12551         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12552         true
12553
12554 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12555
12556         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12557
12558         * paragraph.C (startTeXParParams):
12559         (endTeXParParams): new methods. The LaTeX code to
12560         start/end paragraph formatting
12561         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12562         empty (fixes bug #200)
12563
12564         * vspace.C (inPixels): adapt to the change below
12565         (inPixels): [later] more cleanups (remove unused variables)
12566
12567         * lyxlength.C (inPixels): change to use a width and a height as
12568         parameter.
12569
12570 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12573         Replaced with \paperwidth
12574
12575         * DepTable.C (insert): add std:: qualifier
12576
12577 2002-01-18  Allan Rae  <rae@lyx.org>
12578
12579         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12580         updated also?
12581
12582         * text.C (drawInset): Turned out I didn't know enough about how
12583         rebreaking worked.  This fixes most of the redraw problems.  I see
12584         an occasional cursor trail when a line is broken now and the cursor
12585         placement can seem out by a few pixels also after a rebreak.
12586
12587 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12588
12589         * buffer.C (parseSingleLyXformat2Token): update because minipage
12590         width is now a LyXLength
12591
12592         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12593
12594         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12595         math insets
12596
12597 2002-01-17  Juergen Vigna  <jug@sad.it>
12598
12599         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12600
12601         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12602         is set correctly and the inset is updated correctly.
12603
12604 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12607         the beginning of the loop.
12608
12609 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * lyxrc.C: improve help for use_scalable_fonts
12612
12613 2002-01-17  Allan Rae  <rae@lyx.org>
12614
12615         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12616
12617 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12620         make sure to set their inset_owner to the right value (bug #171)
12621
12622 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12623
12624         * DepTable.h
12625         * DepTable.C: Implement mtime checking to reduce time spent doing
12626         CRCs.
12627
12628 2002-01-16  Juergen Vigna  <jug@sad.it>
12629
12630         * tabular.C (GetAdditionalHeight): one of error fixed.
12631
12632         * lyxrc.C (output): small fix in writing use_pspell.
12633
12634 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12635
12636         * sp_base.h: #include LString.h
12637
12638 2002-01-16  Allan Rae  <rae@lyx.org>
12639
12640         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12641         Can someone check this please?
12642
12643         * text.C (drawInset): It was possible that p.row would be removed by
12644         breakAgainOneRow upsetting a few other settings.  There may be another
12645         small tweak possible by setting need_break_row = 0 when p.row has been
12646         removed but I don't know enough about the logic here.
12647
12648 2002-01-15  Allan Rae  <rae@lyx.org>
12649
12650         * text.C (insertChar): removed conditional truism.
12651
12652         * BufferView2.C (removeAutoInsets): More tweaks.
12653         cur_par_prev could be a stray pointer.  Check for trailing empty line
12654         in case last line was cur_par and only had an error inset on it.
12655
12656 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12659         absolute
12660
12661         * vc-backend.C (most methods):
12662         * exporter.C (Export):
12663         * converter.C (convert):
12664         (runLaTeX):
12665         * LyXSendto.C (SendtoApplyCB):
12666         * lyxfunc.C (dispatch):
12667         (menuNew):
12668         (open):
12669         (doImport):
12670         * lyx_cb.C (AutoSave):
12671         (InsertAsciiFile):
12672         * BufferView_pimpl.C (MenuInsertLyXFile):
12673         * buffer.C (runChktex): use Buffer::filePath().
12674
12675         * buffer.h: rename filename to filename_; rename filepath to
12676         filepath_ and make it private
12677         (filePath): new method
12678
12679         * buffer.C (writeFile): use fileName()
12680         (getLatexName):
12681
12682         * lyx_main.C (init): fix starting  of LyX when the binary is a
12683         link from so,ewhere else.
12684
12685         * minibuffer.C: include <cctype> for isprint
12686
12687 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12690         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12691         name clash with InsetCollapsable's width function.
12692
12693 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * lastfiles.C: include <iterator>
12696
12697 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12698
12699         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12700         std::count.
12701
12702         * buffer.C (makeLaTeXFile): ditto.
12703         Also make loop operation more transparent.
12704
12705 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12706
12707         * ToolbarDefaults.C: remove trailing comma closing namespace.
12708
12709         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12710
12711         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12712         as in WorkArea.
12713
12714         * trans.C (Load): comment out unused variable, allowed.
12715
12716 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12717
12718         * minibuffer.[Ch] (append_char): new method to recieve input from the
12719         drop-down completion browser. If a key was pressed, then recieve this
12720         char and append it to the existing string.
12721         (peek_event): modify the positioning data passed to the completion
12722         browser so that it can be placed above the minibuffer rather than below.
12723 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * LyXAction.C (init): alloe error-next for readonly documents.
12726
12727         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12728         count.
12729
12730 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * bufferlist.C (readFile): create the buffer _after_ checking that
12733         the file exists.
12734
12735         * lyxfunc.C (verboseDispatch): fix handling of arguments
12736
12737         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12738
12739         * lyxrc.C: use string::erase() instead of initializing to "".
12740
12741
12742 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * BufferView_pimpl.h:
12745         * BufferView_pimpl.C:
12746         * WorkArea.h:
12747         * WorkArea.C:
12748         * text2.C: tell X when we have made a selection for copying
12749
12750 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * BufferView_pimpl.C (MenuInsertLyXFile):
12753         * lyxfunc.C (menuNew):
12754         (open):
12755         (doImport): add shortcuts to directory buttons
12756
12757         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12758         open a float)
12759
12760         * lyxfunc.C (setStatusMessage):
12761         (getStatusMessage): new methods
12762         (getStatus):use setStatusMessage instead of setErrorMessage
12763         (dispatch): when function is disabled, set error message here
12764         [instead of in getStatus previously]
12765
12766         * BufferView_pimpl.C (workAreaButtonRelease): update
12767         toolbar/menubar here too.
12768
12769 2002-01-13  Allan Rae  <rae@lyx.org>
12770
12771         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12772         Now seems indestructible.  Remaining task is to audit all other
12773         code affected by deleteEmptyParagraphMechanism.  One small quirk
12774         left is that an empty document with an error in the preamble can
12775         be made to report an error but no error box appears.  I don't know
12776         where it goes.
12777         (removeAutoInsets): Improved comments.
12778
12779 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * Thesaurus.h:
12782         * Thesaurus.C: update for Aiksaurus 0.14
12783
12784 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * text2.C (firstParagraph): removed member function, all uses
12787         replaces with ownerParagraph
12788         (redoParagraphs): here
12789         (updateInset): here
12790         (toggleAppendix): here
12791         * BufferView2.C (insertErrors): here
12792         (setCursorFromRow): here
12793
12794 2002-01-13  Allan Rae  <rae@lyx.org>
12795
12796         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12797         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12798         There is still a way to segfault this although you may have to do this
12799         multiple times: Have an InsetERT with an unknown command in it.
12800         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12801         <down-arrow>, <Enter> again, View->DVI, BANG!
12802
12803         * text2.C (setCursor):
12804         (deleteEmptyParagraphMechanism):
12805         * lyxtext.h (setCursor):
12806         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12807         Making use of the return value may help fix other bugs.
12808
12809 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12812
12813         * LyXView.C (updateMenubar): call MenuBar::update here
12814         (updateToolbar): but not here
12815         (showState): do not update toolbar/menubar
12816
12817         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12818         should need to care about that.
12819
12820         * lyxfunc.C (verboseDispatch): simplify a bit
12821         (getStatus): have a version which takes a pseudoaction, and
12822         another which requires a (kb_action,string).
12823
12824         * LyXAction.C (retrieveActionArg): make it work also when action
12825         is not a pseudo-action.
12826         (getActionName): simplify a bit
12827         (helpText):
12828
12829 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12830
12831         * lyxfunc.C (verboseDispatch): new families of methods with
12832         several ways to specify a command and a bool to indicate whether
12833         the command name and shortcut should be displayed in minibuffer
12834         (eventually, we could extend that to a finer bitmask like
12835         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12836         (dispatch): the pristine dispatch command which just, well,
12837         dispatchs! Note it still sets its result to minibuffer; I'm not
12838         sure we want that.
12839
12840         * lyxfunc.h: remove setHintMessage
12841
12842         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12843
12844 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12845
12846         * BufferView_pimpl.C (specialChar): delete new inset if we have
12847         not been able to insert it.
12848
12849         * kbmap.C: revert to using int instead of kb_action, since all we
12850         are dealing with is pseudo-actions.
12851
12852         * LyXAction.C (searchActionArg): change to return int instead of
12853         kb_action, since the result is a pseudoaction.
12854
12855 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12856
12857         * buffer.C (insertErtContents): Fix (partially) the font bug.
12858
12859 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12862         as the other one is broken on my machine!
12863
12864 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12865
12866         * commandtags.h:
12867         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12868
12869 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12872         reflect their actual use. Provide compatibility code for older lyxrc
12873         files.
12874
12875         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12876         FL_NORMAL_STYLE.
12877         change names of popup font variables in line with the changes to lyxrc.C
12878
12879 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * buffer.C (asciiParagraph): avoid outputing a word twice after
12882         an inset.
12883
12884         * lyxrc.C (getDescription): document that document_path and
12885         template_path can be empty.
12886
12887 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * LaTeXFeatures.C (getMacros):
12890         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12891
12892         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12893
12894         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12895         getPackages.
12896         (getPackages): rename feature "floats" to "float". Use an array to
12897         iterate over 'simple' features (i.e. just a \usepackage). Add
12898         handling of "amsmath" (renamed from "amsstyle").
12899
12900 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12901
12902         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12903         features list.
12904
12905 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12908         FuncStaus::FuncStatus & FuncStaus::some_method().
12909
12910 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12911
12912         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12913         of the func_satus stuff. Edited and massaged in various ways by
12914         JMarc.
12915
12916         * lyxfunc.C (getStatus): use FuncStatus
12917
12918 2002-01-08  Juergen Vigna  <jug@sad.it>
12919
12920         * text.C (nextBreakPoint): use function Inset::isChar().
12921
12922         * paragraph.C (TeXOnePar): use function
12923         Inset::forceDefaultParagraphs.
12924
12925         * buffer.C (latexParagraphs): use function
12926         Inset::forceDefaultParagraphs.
12927
12928 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12929
12930         * lyx_gui.C (init): set the style of the menu popups to
12931         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12932
12933 2002-01-07  Juergen Vigna  <jug@sad.it>
12934
12935         * text.C (setHeightOfRow): small fix
12936         (prepareToPrint): don't look at alignment if we don't have the place
12937         for doing it.
12938
12939 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12940
12941         * box.C: New file. Move the Box methods and functions out of box.h,
12942         following Lars' suggestion.
12943
12944 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12945
12946         * box.h: #include "support/LOstream.h", needed for inlined function.
12947
12948         * lyxtextclass.C:
12949         * lyxtextclasslist.C: added some using std declarations.
12950
12951 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12952
12953         * box.h: make signed dimensions to allow insets wider than
12954           the screen (bug #162)
12955
12956         * BufferView_pimpl.C: add some insetHit debug
12957
12958 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12959
12960         * vc-backend.C: add FIXME
12961
12962 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12963
12964         * lyxfunc.C (getStatus): enable code for showing math font status
12965         in toolbar/menu.
12966
12967 2002-01-07  Juergen Vigna  <jug@sad.it>
12968
12969         * text.C (nextBreakPoint): removed debug output not needed anymore.
12970
12971 2002-01-06  Juergen Vigna  <jug@sad.it>
12972
12973         * text.C (nextBreakPoint): fixed up this function we had this bug
12974         since ever but now hopefully we break row better.
12975         (insertChar): we have to check if an inset is the next char as it
12976         could now happen that a large inset is causing a break.
12977
12978 2002-01-05  Juergen Vigna  <jug@sad.it>
12979
12980         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12981         if it doesn't like to be drawed.
12982
12983 2002-01-04  Juergen Vigna  <jug@sad.it>
12984
12985         * BufferView2.C (lockInset): forgot to set a cursor.
12986
12987         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12988
12989 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12990
12991         * FormMathsPanel.C:
12992         * FormMathsPanel.h
12993         * MathsSymbols.C:
12994         * form_maths_panel.C:
12995         * form_maths_panel.h:
12996         * form_maths_panel.fd: implemented sub- and super- buttons in math
12997         panel.
12998
12999         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13000         (or ^ space) to be used as in TeX (req'd by André).
13001
13002         * lyxfunc.C: Allow ^ and _ again to be used both as
13003         super/subscript (mathed) and as themselves (in text).
13004
13005 2002-01-03  Allan Rae  <rae@lyx.org>
13006
13007         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13008         "LyX" or the filename of the current buffer if it has one.  This is a
13009         modified form of John Levon's patch.
13010
13011         * XFormsView.C (setWindowTitle): also set icon title.
13012
13013         * LyXView.h (setWindowTitle): signature changed.
13014         * XFormsView.h (setWindowTitle): ditto.
13015
13016 2002-01-02  Juergen Vigna  <jug@sad.it>
13017
13018         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13019
13020 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * screen.C (topCursorVisible): introduce a temp var for
13023         text->cursor.row(), handle the case where this row is null. (kindo
13024         hachish)
13025
13026         * text2.C (setCursor): add a couple of asserts.
13027
13028         * paragraph.h (inset_iterator): add -> operator
13029
13030         * paragraph.[Ch] (autoDeleteInsets): remove member function
13031
13032         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13033         cursor pos correctly and handle inset deletion by itself.
13034         (insertErrors): move iterator declaration out of for expression
13035
13036         * lyxtextclass.C: add <algorithm>
13037
13038         * Makefile.am: added the new files to sources, removed layout.C
13039
13040         * layout.C: removed file
13041
13042         * layout.h: remove LYX_DUMMY_LAYOUT
13043
13044         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13045         layout.
13046
13047         * lyxlayout.[Ch]:
13048         * lyxtextclass.[Ch]:
13049         * lyxtextclasslist.[Ch]: new files
13050
13051         * include order changes to a lot of files, also changes because of
13052         the six new files.
13053
13054 2001-12-27  Juergen Vigna  <jug@sad.it>
13055
13056         * buffer.C (asciiParagraph): more fixes.
13057
13058         * tabular.C (ascii): make ascii export support export of only the
13059         data separated by a column-delimiter.
13060         (ascii): better support for ascii export.
13061
13062         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13063
13064 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * tabular_funcs.C: use a "using std::getline" instead of the
13067         previous fix from Angus (necessary for cxx + lyxstring)
13068
13069 2001-12-24  Juergen Vigna  <jug@sad.it>
13070
13071         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13072
13073         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13074         problems. First check a minipage also if we have some ert-contents
13075         (not only on par->size(), second set the right depth of the paragraph
13076         on the relink to the root-paragraph-list!
13077
13078         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13079         which then did not anymore update the main paragraphs on undo/redo!
13080
13081 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13082
13083         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13084         code. Support all font-changing funcs (even those which are not in
13085         menu currently). Support for reporting font settings in
13086         mathed (disabled until Andre provides a function on mathed's side).
13087
13088         * func_status.h (toggle): small helper function to set toggle
13089         state on a flag.
13090
13091 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * tabular_funcs.C: getline -> std::getline
13094
13095 2001-12-21  Juergen Vigna  <jug@sad.it>
13096
13097         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13098         accessed and could be 0 (I couldn't generate this but it seems
13099         Michael could!).
13100
13101 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13102
13103         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13104         * tabular_funcs.h: here and include iosfwd
13105
13106 2001-12-20  Juergen Vigna  <jug@sad.it>
13107
13108         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13109         inside inset but undo_par was.
13110
13111 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13112
13113         * Thesaurus.C: always include <config.h> in sources.
13114
13115         * Painter.h:
13116         * lyxlookup.h:
13117         * box.h: do not include <config.h> in header files
13118
13119         * text.C (paintLastRow): remove unused variable
13120
13121         * text.C (transformChar):
13122         (insertChar):
13123         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13124
13125         * Painter.C (text):
13126         * font.C (width): rewrite to use uppercase() instead of
13127         islower/toupper.
13128
13129         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13130
13131 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * lyxfind.C: clean up of find failure position change
13134
13135 2001-12-20  Juergen Vigna  <jug@sad.it>
13136
13137         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13138
13139         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13140         (TeXRow): added to LaTeX a single tabular row.
13141         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13142         (Latex): simplified and finally good LT-h/f support.
13143         (various_functions): just small adaptions for LT-h/f support.
13144
13145         * tabular_funcs.[hC]: added and moved here all not classfunctions
13146         of LyXTabular.
13147
13148 2001-12-19  Juergen Vigna  <jug@sad.it>
13149
13150         * tabular.[Ch]: better support for longtabular options (not finished
13151         yet!)
13152
13153 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13154
13155         * text.C (paintLastRow): use the label font instead of the font of
13156         the last character to compute the size of *_BOX. This makes more
13157         sense and avoids a crash with empty paragraphs.
13158         Use Painter::rectangle to draw EMPTY_BOX.
13159
13160 2001-12-19  Juergen Vigna  <jug@sad.it>
13161
13162         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13163         the paragraphs if the replaced paragraph is not the first one!
13164         Tried to delete not used paragraphs but does not work yet so for
13165         now it's inside #ifdef's and by default off!
13166
13167 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13168
13169         * MenuBackend.C: include "lyx_main.h" instead of declaring
13170         lastfiles (actually was declared as LastFiles* instead of a
13171         scoped_ptr).
13172
13173 2001-12-17  Juergen Vigna  <jug@sad.it>
13174
13175         * tabular.C (AppendColumn): applied John's fix
13176
13177 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * BufferView.h:
13180         * BufferView.C:
13181         * BufferView_pimpl.h:
13182         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13183
13184         * Makefile.am:
13185         * box.h: new start of class for above
13186
13187         * lyxfunc.C: ignore space-only minibuffer dispatches.
13188           Show the command name when it doesn't exist
13189
13190         * minibuffer.C: don't add empty lines to the history
13191
13192         * minibuffer.C: add a space on dropdown completion
13193
13194 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * text.C: fix line above/below drawing in insets
13197
13198 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13199
13200         * lyxlength.C (LyXLength): Initialize private variables.
13201
13202 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13203
13204         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13205         when inserting error insets.
13206
13207 2001-12-13  Juergen Vigna  <jug@sad.it>
13208
13209         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13210         actually sometimes the before-paragraph.
13211         (setUndo): don't clear the redostack if we're not actually undoing!
13212
13213 2001-12-06  Juergen Vigna  <jug@sad.it>
13214
13215         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13216         and fixed redoing of main paragraph, so we can use it now ;)
13217
13218         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13219
13220 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13223         Juergen's request
13224
13225 2001-12-13  André Pönitz <poenitz@gmx.net>
13226
13227         * undostack.[Ch]:
13228         * undo_func.C: minor cleanup
13229
13230 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13231
13232         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13233         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13234         font in urw-fonts package which is marked as -urw-fontspecific and
13235         does not work (incidentally, changing the encoding in the
13236         fonts.dir of this package to -adobe-fontspecific fixes the
13237         problem).
13238
13239         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13240         is a crash when undoing first paragraph (Juergen, please take a
13241         look). THis does not mean the undo fix is wrong, just that it
13242         uncovers problems.
13243
13244         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13245         the (Paragraph*) version when needed instead of duplicating the
13246         code.
13247
13248         * text.C (workWidth): use Inset::parOwner to find out where the
13249         inset has been inserted. This is a huge performance gain for large
13250         documents with lots of insets. If Inset::parOwner is not set, fall
13251         back on the brute force method
13252
13253         * paragraph_pimpl.C (insertInset):
13254         * paragraph.C (Paragraph):
13255         (cutIntoMinibuffer): set parOwner of insets when
13256         inserting/removing them
13257
13258         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13259
13260 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13261
13262         * commandtags.h:
13263         * LyXAction.C:
13264         * lyx_main.C:
13265         * lyxfunc.C:
13266         * mathed/formulabase.C:
13267         * mathed/math_cursor.[Ch]:
13268         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13269
13270
13271 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * lyxlength.[Ch] (operator!=): new function
13274
13275 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * text.C (workWidth): use Inset::parOwner to find out where the
13278         inset has been inserted. This is a huge performance gain for large
13279         documents with lots of insets. If Inset::parOwner is not set, fall
13280         back on the brute force method
13281
13282         * paragraph_pimpl.C (insertInset):
13283         * paragraph.C (Paragraph):
13284         (cutIntoMinibuffer): set parOwner of insets when
13285         inserting/removing them
13286
13287         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13288
13289 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13290
13291         * tabular-old.C (getTokenValue):
13292         * tabular.C (getTokenValue):
13293         (write_attribute): new versions for LyXLength
13294         (everywhere): adjust the use of widths
13295
13296         * tabular.h: change the type of widths from string to LyXLength
13297
13298 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13299
13300         * paragraph.C: fixed missing line number count when exporting
13301         Environments to LaTeX file
13302
13303         * buffer.C: added informational message for checking line numbers.
13304
13305 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13308         paragraph, do the 'double space' part, but not the 'empty
13309         paragraph' one.
13310
13311         * text.C (workWidth): small optimization
13312         (getLengthMarkerHeight): use minimal size for negative lengths.
13313
13314 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13317
13318         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13319
13320 2001-12-11  André Pönitz <poenitz@gmx.net>
13321
13322         * FontLoader.C:
13323         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13324
13325 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * text2.C: keep selection on a setFont()
13328
13329 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * lyx_cb.C: another bv->text misuse, from insert label
13332
13333 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * kbsequence.h:
13336         * kbsequence.C: re-instate nmodifier mask
13337
13338 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13339
13340         * lyx_main.h: make lyxGUI private.
13341
13342 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * lyxfind.C: place the cursor correctly on failed search
13345
13346 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13347
13348         * text.C (getLengthMarkerHeight): for small heights, the arrows
13349         are not always on top/bottom of the text
13350         (drawLengthMarker): smaller arrows; take the left margin in
13351         account; draw also vfills.
13352         (paintFirstRow):
13353         (paintLastRow): remove special code for vfill and standard spaces,
13354         since everything is handled in drawLengthMarker now.
13355
13356 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * buffer.C (insertErtContents): try to handle font and language
13359         interaction a bit better.g
13360
13361         * ColorHandler.C (updateColor): change the hash to cover the whole
13362         LColor enum, ws cleanup
13363         (getGCLinepars): ditto
13364         (getGCLinepars): only lookup in the linecache once.
13365
13366 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13367
13368         * iterators.C (operator++): Make the iterator more robust
13369
13370         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13371         (John's patch)
13372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13373
13374 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13375
13376         * lyxtext.h:
13377         * text.C: better added space drawing
13378
13379 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13380
13381         * LyXView.C:
13382         * BufferView2.C: fix layout combo update on inset unlock
13383
13384 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13385
13386         * Makefile.am: don't compile unused files
13387
13388 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * lyxfunc.C:
13391         * commandtags.h:
13392         * LyXAction.C: remove old LFUN_LAYOUTNO
13393
13394 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13395
13396         * paragraph_pimpl.h:
13397         * paragraph_pimpl.C: isTextAt() doesn't need font param
13398
13399 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13400
13401         * lyxlex.h:
13402         * lyxlex.C: little cleanup
13403
13404 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13405
13406         * BufferView_pimpl.C: fix insertAscii for insets
13407
13408 2001-12-05  Juergen Vigna  <jug@sad.it>
13409
13410         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13411         set the right font on the "multi" paragraph paste!
13412
13413 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13414
13415         * trans_decl.h:
13416         * trans_mgr.[Ch]:
13417         * trans.[Ch]:
13418         * lyxgluelength.C:
13419         * lyxlength.C: remove out-commented code.
13420
13421         * BufferView_pimpl:
13422         * CutAndPaste.C:
13423         * DepTable.C:
13424         * buffer.C:
13425         * chset.C:
13426         * lastfiles.C:
13427         * lyxlex.C:
13428         * lyxlex_pimpl.C:
13429         * lyxserver.C:
13430         * screen.C:
13431         * tabular-old.C:
13432         * tabular.C:
13433         * text.C:
13434         * trans_mgr.C:
13435         * vc-backend.C: change "while(" to "while ("
13436
13437         * lyxlength.[Ch]: add zero function to check if length is zero or
13438         not
13439         * lyxgluelength.C: use it
13440
13441 2001-12-05  Allan Rae  <rae@lyx.org>
13442
13443         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13444         Works for 2.95.3, from what I understand of Garst's reports this should
13445         work for other g++ versions.  We're screwed if the abs(int) definition
13446         changed between bugfix releases of gcc.
13447
13448 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13449
13450         * text.C: fix chapter label offset !
13451
13452 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * lyxtext.h:
13455         * text.C: fix hfill at end of line, clean up
13456
13457 2001-12-04  Juergen Vigna  <jug@sad.it>
13458
13459         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13460         that we force an update of the inset and it's owners if neccessary.
13461
13462 2001-12-03  Juergen Vigna  <jug@sad.it>
13463
13464         * text.C (rowLast): simplified code
13465
13466 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * lyxfunc.C: fix show options on timeout
13469
13470 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * screen.C (topCursorVisible): scroll half a page when the cursor
13473         reached top of bottom of screen
13474
13475 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13476
13477         * minibuffer.C: deactivate on loss of focus
13478
13479 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * vspace.[Ch] (operator!=): add operator.
13482
13483 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * BufferView_pimpl.C: refuse to open an inset when
13486         there's a selection.
13487
13488 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * BufferView_pimpl.C: allow to click on RHS of full row insets
13491
13492 2001-11-30  Juergen Vigna  <jug@sad.it>
13493
13494         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13495         insets for undo reasons.
13496
13497 2001-11-28  André Pönitz <poenitz@gmx.net>
13498
13499         * vspace.[Ch]: cosmetical changes
13500
13501 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * LyXAction.h:
13504         * LyXAction.C:
13505         * lyxfunc.h:
13506         * lyxfunc.C:
13507         * kbmap.h:
13508         * kbmap.C:
13509         * lyxrc.C:
13510         * kbsequence.h:
13511         * kbsequence.C: part re-write of old kb code
13512
13513         * Painter.C:
13514         * WorkArea.C: remove Lgb_bug_find_hack
13515
13516 2001-11-30  José Matos <jamatos@fep.up.pt>
13517
13518         * buffer.C (makeDocBookFile): add a comment to point a hack.
13519         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13520         Fixed a double write of labels.
13521
13522 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13523
13524         * LaTeX.C:
13525         * LaTeX.h Fixed bug in LaTeX class where it would not
13526         re-run latex if no depfiles were changed, but the .dvi was removed.
13527
13528 2001-11-28  André Pönitz <poenitz@gmx.net>
13529
13530         * all the files from the change on 2001/11/26:
13531         use lyx::layout_type instead of LyXTextClass::size_type
13532         use lyx::textclass_type instead of LyXTextClassList::size_type
13533
13534 2001-11-29  Juergen Vigna  <jug@sad.it>
13535
13536         * text.C: added support for paragraph::isFreeSpacing()
13537
13538         * buffer.C: same as above
13539
13540         * paragraph.h: inserted isFreeSpacing() function to enable
13541         FreeSpacing inside InsetERT.
13542
13543         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13544         of the paragraph's in the cut/copy buffer to 0!
13545
13546         * text2.C (removeRow): remove the assert as it can!
13547
13548         * lyxtext.h: added helper function firstRow returning firstrow and
13549         made firstrow private again.
13550
13551         * BufferView2.C (lockInset): don't relock if we're already locked!
13552
13553         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13554         the only paragraph.
13555         (removeRow): added Assert::(firstrow)
13556
13557         * debug.C: forgot to add INSETTEXT here.
13558
13559 2001-11-28  Juergen Vigna  <jug@sad.it>
13560
13561         * sp_spell.C (initialize): changed error text to more general
13562         spellchecker command use (not only ispell!)
13563
13564         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13565
13566         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13567
13568 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * vspace.C: initialise lyxgluelength on failure
13571
13572 2001-11-28  Allan Rae  <rae@lyx.org>
13573
13574         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13575         declaration & definition that looks like a function declaration.
13576
13577 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13578
13579         * BufferView2.C (copy):
13580         (copyEnvironment): do not clear the selection when doing a copy.
13581
13582         * text.C (paintFirstRow): compilation fix
13583
13584 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13585
13586         * tabular.C (Latex): correct line count when writing latex.
13587
13588 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * paragraph_pimpl.h:
13591         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13592           bug a bit
13593
13594 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * text.C:
13597         * LColor.h:
13598         * LColor.C: change vfillline->added_space
13599
13600         * text.C: add markers and text for added space
13601
13602         * vspace.C: fix comment
13603
13604 2001-11-28  André Pönitz <poenitz@gmx.net>
13605
13606         * paragraph.C: whitespace changes
13607         * all the other files from the change on 2001/11/26:
13608         change *::pos_type into lyx::pos_type
13609
13610 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13613         language of the document when inserting error insets.
13614
13615 2001-11-26  André Pönitz <poenitz@gmx.net>
13616
13617         * BufferView_pimpl.[Ch]:
13618         *       CutAndPaste.C:
13619         * buffer.[Ch]:
13620         * lyxcursor.[Ch]:
13621         * lyxfind.C:
13622         * lyxfunc.C:
13623         * lyxrow.[Ch]:
13624         * paragraph.[Ch]:
13625         * paragraph_pimpl.[Ch]:
13626         * sp_spell.C:
13627         * text.C:
13628         * text2.C: reduce header dependencies, introduce type for positions
13629
13630 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13631
13632         * <various>: change to use Alert.h
13633
13634 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13637         when encountering an unknown token.
13638         (readLyXformat2): Show an error message if there were unknown tokens.
13639
13640 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * BufferView2.C:
13643         * BufferView_pimpl.C:
13644         * buffer.C:
13645         * paragraph.h:
13646         * text.C:
13647         * text2.C: use par->isInset()
13648
13649 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * paragraph_pimpl.h:
13652         * paragraph_pimpl.C: cleanup
13653
13654 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * text2.C (removeRow):
13657         * text.C (setHeightOfRow): remove useless (and costly) call to
13658         getRow.
13659
13660 2001-11-20  Allan Rae  <rae@lyx.org>
13661
13662         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13663         Now need Inset*::checkInsertChar() to return true for appropriate
13664         cases so that the characters in the minibuffer will actually be
13665         inserted.
13666
13667 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * text.C: change the order of the includes.
13670         (workWidth): initialize it at once.
13671         (workWidth): make maxw unsigned
13672         (setHeightOfRow): remove unused variable (inset)
13673         (selectSelectedWord): remove unused variable (inset)
13674         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13675
13676 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13679         server is not running.
13680         (openConnection):
13681         (closeConnection): add debug info when server is disabled.
13682
13683         * ColorHandler.C (getGCForeground): send debug message to GUI
13684         channel.
13685
13686         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13687
13688         * kbmap.C (bind): modify because return conventions of
13689         kb_sequence::parse have changed.
13690
13691         * kbsequence.C (parse): only ignore spaces and not any stupid
13692         control character. This avoids tests like s[i] <= ' ', which are
13693         guaranteed to fail with 8bit characters and signed chars.
13694         Change return code to string::npos when there have been no error
13695         (0 was a bad idea when error is at first character)
13696
13697 2001-11-14  José Matos  <jamatos@fep.up.pt>
13698
13699         * buffer.h:
13700         * buffer.C (simpleDocBookOnePar): removed unused argument.
13701
13702 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13705         insets which are part of a word. Paragraph::isLetter takes care of
13706         that now. Use Paragraph::isInset to identify insets.
13707         (selectSelectedWord): do not test for hyphenation break.
13708
13709         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13710         that protected spaces are considered as spaces.
13711
13712         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13713         Inset::isLetter.
13714
13715 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13716
13717         * lyxserver.h:
13718         * lyxserver.C: fix it. and small cleanup.
13719
13720 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13721
13722         * BufferView_pimpl.C: use inline helpers
13723
13724         * LaTeXFeatures.h:
13725         * LaTeXFeatures.C: fix typos
13726
13727         * Spacing.h:
13728         * Spacing.C: move spacing_string into class
13729
13730         * ToolbarDefaults.C: move stuff into namespace anon
13731
13732         * layout.h: update enum
13733
13734         * lyxfunc.C: use better debug
13735
13736         * minibuffer.h: fix typo
13737
13738         * debug.h:
13739         * debug.C:
13740         * WorkArea.C: add and use Debug::WORKAREA
13741
13742         * lyxtext.h:
13743         * text.C:
13744         * text2.C: code re-organisation, inline helpers
13745
13746 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13747
13748         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13749         std::vector.empty().
13750
13751 2001-11-09  Allan Rae  <rae@lyx.org>
13752
13753         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13754         '\n's after tables.  Tabular and ERT inset work now makes this no
13755         longer necessary.
13756
13757 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * minibuffer.h:
13760         * minibuffer.C: fix crash, improve drop-down completion
13761
13762 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * lyxserver.h:
13765         * lyxserver.C: invalidate fd's when doing endPipe()
13766
13767 2001-11-08  José Matos  <jamatos@fep.up.pt>
13768
13769         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13770         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13771
13772         * paragraph.h:
13773         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13774
13775 2001-11-07  José Matos  <jamatos@fep.up.pt>
13776
13777         * buffer.h:
13778         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13779         const qualifier.
13780
13781         * buffer.C (sgmlOpenTag):
13782         * buffer.C (sgmlCloseTag): removed debug info.
13783
13784         * buffer.h (sgmlOpenTag):
13785         * buffer.h (sgmlCloseTag): made public.
13786
13787 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * buffer.C (saveParamsAsDefaults):
13790         * lyx_cb.C (MenuLayoutSave): remove
13791
13792         * LyXAction.C (init):
13793         * commandtags.h:
13794         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13795
13796 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * buffer.C (setPaperStuff): removed from here...
13799
13800         * bufferparams.C (setPaperStuff): ... and moved there.
13801
13802 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13803
13804         * minibuffer.h:
13805         * minibuffer.C:
13806         * XFormsView.C: add support for drop-down completion
13807
13808 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13809
13810         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13811         commands.
13812
13813 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13816         disabled.
13817
13818 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * lyx_main.C: change ref to known bugs
13821
13822 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13823
13824         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13825         to work around older babel problems.
13826
13827 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13828
13829         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13830
13831 2001-10-24  Juergen Vigna  <jug@sad.it>
13832
13833         * tabular-old.C (ReadOld): below variable changes reflected.
13834
13835         * tabular.[Ch]: added ltType struct for longtable header/footer
13836         defines and changed all instances where they are used. Added
13837         future support for double top/bottom rows.
13838
13839 2001-10-24  José Matos  <jamatos@fep.up.pt>
13840
13841         * buffer.h (docbookHandleCaption):
13842         * buffer.C (docbookHandleCaption): removed unused function.
13843         (makeDocBookFile): moved docbook supported version to v4.1.
13844
13845 2001-10-24  José Matos  <jamatos@fep.up.pt>
13846
13847         * tabular.h:
13848         * tabular.C (docbookRow): new function to export docbook code of a row.
13849         (DocBook): now honors the longtable flags.
13850
13851 2001-10-23  José Matos  <jamatos@fep.up.pt>
13852
13853         * LaTeXFeatures.h:
13854         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13855         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13856
13857         * buffer.C (makeLinuxDocFile):
13858         (makeDocBookFile): reworked the preamble, more clean, and with
13859         support for lyx defined entities. Changed the document declaration
13860         to be more XML friendly.
13861
13862         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13863         if we need to output XML that should be done with a filter.
13864
13865 2001-10-22  Juergen Vigna  <jug@sad.it>
13866
13867         * sp_pspell.h (class PSpell): add alive function needed in the
13868         controller to see if the spellchecker could be started.
13869
13870 2001-10-22  Juergen Vigna  <jug@sad.it>
13871
13872         * buffer.C (insertStringAsLines): modify the font for inserting
13873         chars in certain conditions by calling checkInsertChar(font).
13874
13875 2001-10-19  Juergen Vigna  <jug@sad.it>
13876
13877         * text.C (workWidth): use getRow instead of wrong algorithm.
13878         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13879
13880 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * lyxserver.h:
13883         * lyxserver.C:
13884         * lyx_main.h:
13885         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13886
13887 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13888
13889         * text.C (workWidth): do not search for the exact row when
13890         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13891         optimization for big documents.
13892
13893 2001-10-18  Juergen Vigna  <jug@sad.it>
13894
13895         * text.C (workWidth): new function with added Inset * parameter.
13896
13897 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13900
13901         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13902         change return type of getColumnNearX.
13903
13904
13905         * text.C (changeRegionCase): use uppercase/lowercase instead of
13906         toupper/tolower.
13907         (leftMargin):
13908         (rightMargin): simplify code by factoring out the uses of
13909         textclasslist.
13910         (labelFill):
13911         (numberOfHfills):
13912         (setHeightOfRow):
13913         (appendParagraph): use Paragraph::size_type
13914
13915 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13916
13917         * vspace.C (asLatexString): add a missing break
13918
13919 2001-10-15  Herbert Voss  <voss@perce.de>
13920
13921         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13922
13923 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13926         is not available.
13927
13928 2001-10-10  André Pönitz <poenitz@gmx.net>
13929
13930         * lyxfunc.C: removed greek_kb_flag.
13931
13932 2001-10-10  Herbert Voss  <voss@perce.de>
13933
13934         * lyx_main.C: delete global string help_lyxdir.
13935
13936 2001-10-09  Herbert Voss  <voss@perce.de>
13937
13938         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13939
13940         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13941
13942         * lyx_main.C: added global string help_lyxdir.
13943
13944         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13945
13946 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13947
13948         * lyxrc.C (set_font_norm_type): support iso8859-4
13949
13950 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13951
13952         * LaTeX.C (deplog): add another regex for MikTeX
13953
13954 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13955
13956         * lyxrc.C (set_font_norm_type): support iso8859-3
13957
13958 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13961
13962         * LaTeXFeatures.C: remove special case of french and index
13963
13964         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13965         before \begin{document}). This solves several incompatibilities.
13966
13967 2001-10-03  Garst Reese  <reese@isn.net>
13968
13969         * lyx_cb.C: change CheckTex error msg.
13970
13971 2001-10-03  José Matos  <jamatos@fep.up.pt>
13972
13973         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13974
13975 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * .cvsignore: update
13978
13979         * lyx_main.C (commandLineVersionInfo): use new style version info.
13980
13981         * buffer.C (writeFile):
13982         (makeLaTeXFile):
13983         (makeLinuxDocFile):
13984         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13985
13986         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13987
13988         * version.h: update to use stuff in version.C
13989
13990         * version.C.in: new file. Contains version information determined
13991         at compile time. This is a merging of version.h and
13992         version_info.h.in.
13993
13994 2001-10-03  Juergen Vigna  <jug@sad.it>
13995
13996         * BufferView_pimpl.C (update): don't change "dirty" status in
13997         updateInset call.
13998
13999 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * WorkArea.C (c-tor): re-position version string slightly.
14002
14003 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14004
14005         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14006         revert to previous code.
14007
14008         WorkArea.[Ch]: (show, destroySplash): methods removed.
14009
14010         WorkArea.C: rework code so that it's an amalgam of the codes before and
14011         after the splash screen was moved to WorkArea.
14012
14013 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * lyxrc.C (read):
14016         * vspace.C (inPixels):
14017         (lyx_advance):
14018         * kbmap.C (bind):
14019         * buffer.C (insertStringAsLines):
14020         (asciiParagraph): fix types to be large enough
14021
14022         * lyxlex_pimpl.h: change member status from short to int
14023
14024         * layout.h: fix type of endlabeltype
14025
14026         * kbmap.C (bind):
14027         * kbsequence.C (parse): change return type to string::size_type
14028
14029         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14030         variable
14031
14032         * Bullet.C (bulletSize):
14033         (bulletEntry): do not use short ints as parameters
14034
14035         * BufferView2.C (insertLyXFile): change a char to an int.
14036
14037         * WorkArea.C (WorkArea): remove unneeded floats in computation
14038
14039 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14042
14043         * paragraph.C (asString): Do not ignore newline/hfill chars when
14044         copying to the clipboard.
14045
14046 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14047
14048         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14049         after a multi-line inset.
14050
14051 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * paragraph.C (validate): Set NeedLyXFootnoteCode
14054
14055 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14056
14057         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14058         and decrease-error to decrease.
14059
14060 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14063         it more readable (should be equivalent)
14064
14065 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14066
14067         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14068
14069 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14072         of a cursor (row, etc.) after a character has been deleted
14073         (deleteEmptyParagraphMechanism): call the method above on _all_
14074         cursors held by the LyXText when a double space has been
14075         detected/deleted.
14076
14077 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14080         pixmap.
14081         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14082
14083         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14084         background. Use greyOut() and the new show() methods to toggle between
14085         the foreground and background. Add code to remove the splash after
14086         its initial showing.
14087
14088         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14089         (create_forms): no longer call Dialogs::showSplash.
14090
14091 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * .cvsignore: add version_info.h
14094
14095 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * version_info.h.in: new file
14098
14099         * Makefile.am: add version_info.h.in
14100
14101         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14102         version_info.h instead of VERSION_INFO
14103
14104 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14105
14106         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14107         The ERT inset now returns string().
14108
14109 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * lyxtext.h, text.C (selectNextWord): renamed as
14112         selectNextWordToSpellcheck.
14113
14114         * text.C (selectNextWordToSpellcheck): Modified to not select
14115         words inside an ERT inset.
14116
14117 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * lyx_cb.C (MenuLayoutSave): change a bit the question
14120
14121         * sp_base.h: include <sys/types.h>
14122
14123 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14124
14125         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14126
14127 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14128
14129         * several files: fix typos in user-visible strings
14130
14131 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * text2.C (pasteSelection): do not set the selection, since it
14134         will be cleared later. Actually, the intent was to fix the way the
14135         selection was set, but I figured rmoving the code was just as good.
14136
14137 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14138
14139         * FontLoader.C (available): Check if font is available without
14140         loading the font.
14141
14142 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14143
14144         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14145
14146 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14147
14148         * lyxrc.[Ch]: added display_graphics variable and associated code.
14149
14150 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14151
14152         * bufferparams.C (hasClassDefaults): new method. Returns true if
14153         the buffer parameters correspond to known class defaults
14154
14155 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14156
14157         * XFormsView.C (show): set minimum size to the main window.
14158
14159 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * text2.C (copySelection):
14162         (cutSelection):
14163         * lyxfind.C (LyXReplace):
14164         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14165         LyXText::selectionAsString.
14166
14167         * paragraph.C (asString): add "label" argument to the second form
14168
14169         * text2.C (selectionAsString): add "label" argument and pass it to
14170         Paragraph::asString.
14171
14172 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * lyx_main.C (commandLineHelp): remove version information
14175
14176 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14177
14178         * lyx_main.C: add -version commandline option
14179
14180 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * paragraph.h: make the optional constructor arg required instead.
14183         some modifications to other files because of this.
14184
14185         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14186
14187         * lyxserver.C (C_LyXComm_callback): make it static
14188
14189         * lyx_main.C (error_handler): make it static
14190
14191         * lyx_gui.C (LyX_XErrHandler): make it static
14192
14193         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14194
14195         * WorkArea.C: make the extern "C" methods static.
14196
14197         * Makefile.am (lyx_LDADD): simplify
14198
14199 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14202         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14203
14204         * LyXAction.C (init):
14205         * lyxfunc.C (dispatch): associated code removal.
14206
14207 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14208
14209         * lyxfont.h (isSymbolFont): shut off warning
14210
14211         * text.C (setHeightOfRow):
14212         (getVisibleRow): fix crash with empty paragraphs which have a
14213         bottom line
14214
14215 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14216
14217         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14218         code.
14219
14220 2001-09-04  José Matos  <jamatos@fep.up.pt>
14221         * buffer.C
14222         * buffer.h
14223         * tabular.C (docbook): rename docBook method to docbook.
14224
14225 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * Makefile.am: add dependencies to main.o.
14228
14229 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14230
14231         * FontLoader.C (available): Return false if !lyxrc.use_gui
14232
14233 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14234
14235         * FontInfo.C (query):
14236         * converter.C (view):
14237         * importer.C (Import):
14238         * exporter.C (Export): Can not -> cannot.
14239
14240 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * BufferView_pimpl.C: allow to create index inset even if
14243           string is empty
14244
14245 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * buffer.C (getLists): replace boost::tie code with an explicit pair
14248         as boost::tie can break some compilers.
14249
14250         * iterators.h: Added a std:: declaration to the return type of
14251         ParIterator::size.
14252
14253 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14256           case.
14257
14258 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14259
14260         * iterators.[Ch]: New files. Provide paragraph iterators.
14261
14262         * buffer.C (changeLanguage): Use paragraph iterators.
14263         (isMultiLingual): ditto
14264
14265         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14266
14267 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * FontLoader.C: Support for cmr font.
14270
14271 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14274         (available): New method.
14275
14276         * FontInfo.C (getFontname): Use scalable fonts even when
14277         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14278         found.
14279
14280 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14281
14282         * converter.C (Formats::view): reverted! Incorrect fix.
14283
14284 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14285
14286         * converter.C (Formats::view): only output the -paper option
14287         if the dvi viewer is xdvi, thereby fixing bug #233429.
14288
14289 2001-08-23  Herbert Voss  <voss@perce>
14290
14291         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14292
14293 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14294
14295         * Spacing.h (Spacing): Set space to Default on in the default
14296         constructor.
14297
14298 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * vc-backend.h (RCS::versionString): add RCS to version
14301         (CVS::versionString): add CVS to version
14302
14303         * vc-backend.C (scanMaster): do not add CVS to version.
14304         (scanMaster): do not add RCS to version
14305
14306         * lyxvc.C (versionString): new method
14307
14308         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14309
14310 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * Spacing.C (set): initialize fval
14313
14314 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14315
14316         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14317         " or \.
14318
14319 2001-08-16  Juergen Vigna  <jug@sad.it>
14320
14321         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14322
14323 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * BufferView_pimpl.C:
14326         * figureForm.C:
14327         * lyxtext.h:
14328         * text2.C: setParagraph takes linespacing now
14329
14330 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * LyxAction.C: add internal LFUN_CITATION_INSERT
14333
14334         * LyXView.C: actually apply fix
14335
14336         * bufferlist.C: fix open non-existent file
14337
14338         * lyxfind.C: fix indentation
14339
14340         * lyxfunc.C: remove unneeded assert, fix typo
14341
14342 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14343
14344         * MenuBackend.C: use "Floatname List"
14345
14346 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14349         when converting LaTeX layout to insetERT.
14350         Generate a non-collapsed float when reading old float
14351
14352 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14353
14354         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14355         ERT insets.
14356
14357 2001-08-13  Juergen Vigna  <jug@sad.it>
14358
14359         * text.C (fill): return 0 instead of 20 as this seems to be the more
14360         correct value.
14361
14362 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14363
14364         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14365         lyxrc.font_norm.
14366
14367 2001-08-13  Juergen Vigna  <jug@sad.it>
14368
14369         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14370         casesensitive off.
14371         (SearchBackward): comment out the unlocking of the inset_owner this
14372         should not be needed!
14373
14374 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * Many files: Remove inherit_language, and add latex_language
14377
14378         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14379         collapsible insets.
14380
14381 2001-08-10  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (prepareToPrint): fixed hfill-width in draw!
14384
14385         * BufferView2.C (selectLastWord): save the selection cursor as this
14386         now is cleared in the function LyXText::clearSelection!
14387
14388 2001-08-08  Juergen Vigna  <jug@sad.it>
14389
14390         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14391         BACKSPACE type functions.
14392
14393         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14394         is only cutted from the document but not put in the cut-buffer, where
14395         still the old stuff should be.
14396
14397         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14398
14399         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14400
14401         * tabular.C (SetWidthOfCell): fixed special case where the width
14402         was not updated!
14403         (LeftLine): handle '|' in align_special.
14404         (RightLine): ditto
14405         (LeftAlreadyDrawed): ditto
14406         (SetWidthOfCell): ditto
14407
14408 2001-08-07  Juergen Vigna  <jug@sad.it>
14409
14410         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14411
14412 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14415         * lyxlex.[hC]: ditto
14416
14417 2001-08-06  Juergen Vigna  <jug@sad.it>
14418
14419         * text.C (getVisibleRow): fix up row clearing a bit.
14420
14421 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * minibuffer.C: make sure the X server sees the changes in the input.
14424
14425 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * paragraph.C (getFont): split into...
14428         (getLabelFont): this
14429         (getLayoutFont): and this
14430         * paragraph_pimpl.C (realizeFont): calling this
14431
14432         * text2.C (getFont): split into...
14433         (getLayoutFont): this
14434         (getLabelFont): and this
14435         (realizeFont): all three calling this
14436
14437         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14438         files where used.
14439
14440 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14443
14444 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14445
14446         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14447         layouts from the Quote inset insertion.
14448
14449 2001-08-03  Juergen Vigna  <jug@sad.it>
14450
14451         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14452
14453         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14454         only if status not is already CHANGED_IN_DRAW (second level).
14455
14456         * text.C (draw): don't set the need_break_row when inside an
14457         InsetText LyXText.
14458
14459 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14460
14461         * buffer.C (parseSingleLyXformat2Token): handle more latex
14462         conversion cases.
14463
14464         * bufferview_funcs.[hC]: change function names to
14465         begin with small char, adjust other files.
14466
14467 2001-08-02  André Pönitz <poenitz@gmx.net>
14468
14469         * lyxfunc.C:
14470         BufferView_pimpl.C: remove broken special code for math-greek
14471
14472 2001-08-02  Juergen Vigna  <jug@sad.it>
14473
14474         * BufferView_pimpl.C (update): redone this function so that we
14475         update the text again if there was a CHANGE_IN_DRAW.
14476
14477         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14478         (drawFromTo): added a new internal bool which is used by draw() and
14479         redraw() function.
14480         (general): some cursor drawing problems fixed.
14481
14482 2001-08-01  Juergen Vigna  <jug@sad.it>
14483
14484         * lyxfind.C (LyXFind): fixed
14485         (SearchForward): ditto
14486         (SearchBackward): ditto
14487
14488         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14489         spurius drawing of the cursor in the main area.
14490
14491         * text2.C (status): small fix which could lead to a segfault!
14492         (clearSelection): remove unneeded BufferView param.
14493
14494 2001-08-01  André Pönitz <poenitz@gmx.net>
14495
14496         * lyxfunc.C: small change due to changed mathed interface
14497
14498 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14501
14502 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14503
14504         * lyxfunc.c: fail gracefully if file doesn't exist
14505
14506         * LyXSendto.C:
14507         * buffer.C:
14508         * lyxfunc.C:
14509         * BufferView_pimpl.C: IsDirWriteable() proto changed
14510
14511         * LyXView.C: fix updateWindowTitle() to store the last title
14512
14513 2001-07-31  Juergen Vigna  <jug@sad.it>
14514
14515         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14516         the font (wrong since using of Paragraph::highestFontInRange).
14517
14518         * paragraph.C (highestFontInRange): added a default_size parameter.
14519
14520         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14521         (setHeightOfRow): reformat
14522
14523 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14524
14525         * converter.[hC] + affected files: move to (inital-char)lowercase
14526         function names.
14527
14528         * ParagraphParameters.C (ParagraphParameters): remove commented code
14529
14530         * PainterBase.[Ch]: remove commented code
14531
14532         * LaTeXFeatures.h: add "bool floats" for float.sty
14533
14534         * LaTeXFeatures.C (LaTeXFeatures): init floats
14535         (require): handle float
14536         (getPackages): do it with floats
14537
14538 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * BufferView_pimpl.C (Dispatch): improve handling of
14541         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14542
14543         * commandtags.h: #include lyxfont.h here temporarily to avoid
14544         keybinding bug.
14545
14546         * bufferlist.h: include LString.h here.
14547
14548 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * text2.C (getStringToIndex): new method.
14551
14552 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14553
14554         * *: Reduced header file dependencies all over.
14555
14556 2001-07-30  Baruch Even  <baruch@lyx.org>
14557
14558         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14559
14560 2001-07-29  Baruch Even  <baruch@lyx.org>
14561
14562         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14563
14564 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14565
14566         * ParameterStruct.h (endif): add a default constructor to make
14567         sure that all variables is initialized.
14568
14569         * ParagraphParameters.C (ParagraphParameters): adjust
14570
14571 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14574         index; also, check that there is something to index, and that it
14575         does not span over several paragraphs.
14576         (doubleClick): use WHOLE_WORD_STRICT for double click.
14577
14578         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14579
14580         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14581         scheme.
14582
14583 2001-07-26  Baruch Even  <baruch@lyx.org>
14584
14585         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14586         an InsetFig figure, backwards compatible reading of old figure code.
14587
14588 2001-07-27  Juergen Vigna  <jug@sad.it>
14589
14590         * text2.C: font.realize function adaption.
14591
14592         * text.C (draw): add a warnings lyxerr text if needed.
14593
14594         * layout.C: font.realize function adaption.
14595
14596         * language.C: add inherit_language and implement it's handlings
14597
14598         * bufferview_funcs.C (StyleReset): remove language parameter from
14599         font creation (should be language_inherit now).
14600
14601         * bufferparams.C (writeFile): handle ignore_language.
14602
14603         * paragraph.C (getFontSettings): the language has to be resolved
14604         otherwise we have problems in LyXFont!
14605
14606         * lyxfont.C (lyxWriteChanges): added document_language parameter
14607         (update): removed unneeded language parameter
14608
14609         * paragraph.C (validate): fixed wrong output of color-package when
14610         using interface colors for certain fonts in certain environments,
14611         which should not seen as that on the final output.
14612
14613 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * BufferView_pimpl.C:
14616         * Thesaurus.h:
14617         * Thesaurus.C:
14618         * Makefile.am:
14619         * commandtags.h:
14620         * LyXAction.C: add thesaurus support
14621
14622         * lyxfind.h:
14623         * lyxfind.C: add "once" parameter, for thesaurus, to not
14624           move to the next match
14625
14626 2001-07-26  Juergen Vigna  <jug@sad.it>
14627
14628         * lyxfont.C (realize): honor ignore_language too!
14629         (resolved): ditto.
14630
14631         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14632
14633         * text.C (draw): one place more for ignore_language to not draw
14634         itself!
14635
14636 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14637
14638         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14639
14640 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14641
14642         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14643         the minipage conversion problem.
14644
14645 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14646
14647         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14648         insert an inset.
14649
14650 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * BufferView.h: don't forward declare WorkArea
14653
14654         * BufferView.C: don't include WorkArea.h
14655
14656 2001-07-25  André Pönitz <poenitz@gmx.net>
14657
14658         * commandtags.h:
14659         * LyXAction.C:
14660         * lyxfunc.C:  new LFUN 'math-space'
14661
14662         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14663
14664 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14665
14666         * text2.C (toggleInset): call open/close
14667
14668 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * lyxfunc.C (dispatch): add debug for the disabled case
14671
14672         * font.C (buttonText): make similar to rectText
14673
14674         * buffer.C (readInset): comment out parsing of insetlist and
14675         insttheorem
14676
14677         * PainterBase.C (rectText): small correction
14678
14679         * BufferView_pimpl.C: comment out insettheorem and insetlist
14680         * LyXAction.C: ditto
14681         * commandtags.h: ditto
14682
14683 2001-07-24  Juergen Vigna  <jug@sad.it>
14684
14685         * text.C (draw): honor the ignore_language.
14686
14687         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14688
14689 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14692         char inset.
14693
14694 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14695
14696         * lyxtext.h: remove unused (and unimplemented) methods
14697
14698 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14699
14700         * text.C (getVisibleRow): honor background color
14701
14702         * PainterBase.h:
14703         * Painter.h: remove default color argument for fillRectangle
14704
14705         * text.C (backgroundColor): new method
14706
14707 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14708
14709         * text.C (getVisibleRow): adjust
14710
14711         * font.[Ch] (rectText): new method, metrics
14712         (buttonText): new method, metrics
14713
14714         * PainterBase.[hC]: make rectText and buttonText always draw and take
14715         fewer paramteres.
14716
14717 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14718
14719         * ToolbarDefaults.C (read):
14720         * MenuBackend.C (read): allow escaping in all strings
14721
14722         * BufferView_pimpl.C (insertAndEditInset): new method.
14723         (Dispatch): use insertAndEditInset whenever appropriate.
14724
14725         * BufferView_pimpl.C (insertNote): removed
14726
14727         * BufferView_pimpl.C (smartQuote): new method, moved from
14728         BufferView; if an insetquote cannot be inserted, insert a '"'
14729         character instead.
14730
14731         * BufferView2.C: remove insertCorrectQuote();
14732
14733         * lyxfunc.C (getStatus): Add support for all remaingin
14734         inset-insert lfuns.
14735
14736         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14737
14738         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14739         command (necessary to pass " as parameter of self-insert.
14740
14741         * text.C (selectWordWhenUnderCursor):
14742         (selectWord): add word_location parameter
14743         (selectWordWhenUnderCursor): same + remove special code for word
14744         boundary.
14745         (selectNextWord): use kind() to guess type of insetspecialchar,
14746         not latex().
14747
14748         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14749         (insertErtContents): create ert insets as collapsed.
14750         (readInset): better compatibility code for Info inset.
14751
14752 2001-07-20  Juergen Vigna  <jug@sad.it>
14753
14754         * lyxfunc.C (dispatch): use always LyXFind now!
14755
14756         * text2.C (init): add a reinit flag so that the LyXText can be
14757         reinited instead of deleted and reallocated (used in InsetText).
14758
14759         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14760
14761         * text.C: ditto
14762
14763         * text2.C: ditto
14764
14765 2001-07-18  Juergen Vigna  <jug@sad.it>
14766
14767         * text.C (selectNextWord): handle insets inside inset by calling
14768         always the bv->text functions so that we can go up the_locking_inset!
14769
14770         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14771         in strange locations when inside an inset!
14772
14773         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14774         handling to include insets.
14775
14776         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14777
14778 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * LyXAction.C (init):
14781         * commandtags.h:
14782         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14783         LIGATURE_BREAK, since the name is so stupid.
14784
14785 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14786
14787         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14788         InsetInfos.
14789
14790         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14791
14792         * sp_form.[Ch]: remove.
14793
14794         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14795
14796         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14797         InsetInfo.
14798
14799         * src/buffer.C (readInset): ditto.
14800
14801 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14802
14803         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14804         menuSeparator(), endOfSentenceDot(), ldots() and
14805         hyphenationPoint(), which are therefore removed.
14806         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14807
14808         * LyXAction.C (init):
14809         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14810
14811         * paragraph.C (getWord): removed.
14812
14813         * BufferView_pimpl.C (Dispatch): use last word or selection for
14814         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14815
14816         * lyx_main.C (queryUserLyXDir): do not ask before creating
14817         user_dir, except if it has been named explicitely.
14818
14819 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14822         a document of zero size.
14823
14824 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14825
14826         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14827         approriately in the c-tor and in require().
14828         (getPackages): output the appropriate LaTeX for natbib support.
14829
14830         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14831         variables "use_natbib" and "use_numerical_citations" when reading the
14832         LyX file.
14833         (readInset): read the various natbib cite commands.
14834         (validate): white-space change.
14835
14836         * bufferparams.[Ch]: new variables "bool use_natbib" and
14837         "bool use_numerical_citations".
14838         (writeFile): output them in the LyX file.
14839
14840 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14841
14842         * lyxfunc.C (getStatus): add support for all the inset insertion
14843         commands.
14844
14845         * text2.C (insertInset):
14846         * paragraph.C (insetAllowed):
14847         * BufferView_pimpl.C (insertInset): update to take in account the
14848         renaming of insertInsetAllowed
14849
14850         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14851
14852         * text2.C (getInset): new method. returns inset at cursor position.
14853
14854         * BufferView_pimpl.C (Dispatch): changes because of this.
14855
14856         * LyXAction.C (init): rename open-stuff to inset-toggle.
14857
14858         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14859
14860         * text2.C (toggleInset): renamed from openStuff; use
14861         Inset::open().
14862
14863 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14864
14865         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14866
14867         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14868
14869 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14870
14871         * buffer.C (readLyXformat2): Add filename to the error dialog
14872
14873 2001-07-18  Juergen Vigna  <jug@sad.it>
14874
14875         * tabular.C (GetCellNumber): put an assert here instead of the check!
14876
14877 2001-07-17  Juergen Vigna  <jug@sad.it>
14878
14879         * BufferView_pimpl.C (toggleSelection): adapted too.
14880
14881         * text.C (selectNextWord): adapted for use with insets.
14882         (selectSelectedWord): ditto
14883
14884 2001-07-17  Juergen Vigna  <jug@sad.it>
14885
14886         * sp_spell.C (PSpell): fix initialitation order.
14887
14888 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14889
14890         * paragraph.C: spacing
14891
14892 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14893
14894         * sp_spell.C: repair language selection for pspell
14895
14896 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * lyxfunc.h: change more methods to begin with lower char.
14899
14900 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14901
14902         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14903         for unknown layouts.
14904
14905 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * buffer.C (readLyXformat2): Generate an error dialog if there are
14908         unknown layouts.
14909
14910 2001-07-16  Juergen Vigna  <jug@sad.it>
14911
14912         * sp_spell.C: always compile ISpell part.
14913
14914         * lyxrc.C: added use_pspell entry and it's handling.
14915
14916 2001-07-13  Juergen Vigna  <jug@sad.it>
14917
14918         * sp_spell.C: removed double includes.
14919
14920 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14921
14922         Consistent use of Lsstream.h:
14923         * Lsstream.h: added using std::stringstream for consistencies sake.
14924
14925         * buffer.C: removed using std::stringstream
14926
14927         * lyxfont.C (stateText):
14928         * paragraph.C (asString):
14929         * text.C (selectNextWord, selectSelectedWord):
14930         * text2.C (setCounter):
14931         * vspace.C (asString, asLatexString):
14932         std::ostringstream -> ostringstream.
14933
14934 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14935
14936         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14937         * commandtags.h: add LFUN_HELP_ABOUTLYX
14938         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14939
14940 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14941
14942         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14943         cursorToggle()
14944         * lyx_gui_misc.C: remove spellchecker
14945         * lyxfunc.C: showSpellchecker
14946         * sp_base.h: added
14947         * sp_ispell.h: added
14948         * sp_pspell.h: added
14949         * sp_spell.C: added
14950         * sp_form.[Ch]: removed
14951         * spellchecker.[Ch]: removed
14952
14953 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14954
14955         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14956         is set.
14957         (simpleTeXSpecialChars): Simply print the input character without
14958         any special translation if pass_thru is set.
14959
14960         * layout.h: Added bool pass_thru to layout class for being able to
14961         implement pass through of a paragraph for Literate Programming.
14962
14963         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14964         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14965         * layout.C (Read): add "passthru" to list of layout tags and add
14966         code to set the pass_thru boolean when it is read.
14967
14968 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14969
14970         * trans_decl.h: remove allowed from KmodInfo
14971
14972         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14973         remove allowed code
14974         (Load): adjust
14975
14976         * paragraph_pimpl.C (erase): use boost::prior
14977
14978         * Painter.C (text): use data() instead of c_str() when length is
14979         also provided.
14980         * WorkArea.C (putClipboard): ditto
14981         * font.h (width): ditto
14982
14983         * BufferView2.C: use it-> instead of (*it). for iterators
14984         * texrow.C: ditto
14985         * paragraph_pimpl.C: ditto
14986         * paragraph.C: ditto
14987         * minibuffer.C: ditto
14988         * language.C: ditto
14989         * kbmap.C: ditto
14990         * encoding.C: ditto
14991         * counters.C: ditto
14992         * converter.C: ditto
14993         * chset.C: ditto
14994         * Variables.C: ditto
14995         * TextCache.C: ditto
14996         * MenuBackend.C: ditto
14997         * LyXAction.C: ditto
14998         * LColor.C: ditto
14999         * FloatList.C: ditto
15000         * DepTable.C: ditto
15001         * ColorHandler.C (LyXColorHandler): ditto
15002
15003 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15004
15005         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15006
15007         * text2.C (openStuff): reintroduce this method (which had been
15008         nuked in NEW_INSETS frenzy).
15009
15010         * lyxfunc.C (Dispatch): when an action has not been handled, use
15011         its name in the error message, not its number.
15012
15013         * paragraph.C (inInset): change method name to begin with lowercase.
15014
15015         * undo_funcs.C:
15016         * text2.C: updates because of this.
15017
15018 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * ToolbarDefaults.C (add): add spaces in error message
15021
15022 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15025         (readLyXformat2): rename return_par to first_par, use lyxlex's
15026         pushToken and remove the manual push handling.
15027         (parseSingleLyXformat2Token): add another ert comp. variable:
15028         in_tabular, rename return_par to first_par. handle newlines better
15029
15030 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15033
15034 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * text2.C (getParFromID): removed
15037
15038         * buffer.C (getParFromID): new method moved form lyxtext.
15039         * BufferView2.C (insertErrors): adjust
15040         (setCursorFromRow): adjust
15041         * BufferView_pimpl.C (restorePosition): adjust
15042         * lyxfunc.C (Dispatch): adjust
15043         * undo_funcs.C (textUndo): adjust
15044         (textRedo): adjust
15045         (textHandleUndo): adjust
15046         (textHandleUndo): adjust
15047
15048 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * buffer.C: up' the LYX_FORMAT
15051
15052         * lyxfont.h: turn NO_LATEX on as default
15053
15054         * buffer.C (insertErtContents): new methods of tex style compability.
15055         (parseSingleLyXformat2Token): use it several places.
15056         * tabular.C (OldFormatRead): and here
15057
15058 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * text2.C: remove some commented code.
15061         reindent file.
15062
15063         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15064         * trans.C: changes because of the above.
15065
15066 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * text2.C (setCounter): Fix counters bug with bibliography layout.
15069
15070 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15073         own member functions
15074         (simpleTeXSpecialChars): ditto
15075
15076 2001-07-06  Juergen Vigna  <jug@sad.it>
15077
15078         * a lot of files: changed the access to LyXText::status and the
15079         call of undo-functions.
15080
15081         * undo.[Ch]: added a inset_id to the undo informations.
15082
15083         * undo_funcs.[Ch]: added and moved here all undo functions.
15084
15085         * lyxtext.h: give the status enum a weight, made status_ a private
15086         variable and made accessor functions for it, removed the whole bunch
15087         of undo-functions as they are now in their own file, make some
15088         functions publically available. Added function ownerParagraph with
15089         int parameter.
15090
15091         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15092         made InInset() a const function, added getParFromID() function.
15093
15094         * buffer.[Ch]: added const version for inset_iterator functions,
15095         added getInsetFromID() function.
15096
15097         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15098         changed undo functions for new version.
15099
15100 2001-07-05  Juergen Vigna  <jug@sad.it>
15101
15102         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15103         unknow mechanism does not call the proper constructor but only this
15104         one also if I request the other!?
15105
15106 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15107
15108         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15109
15110         * text2.C (LyXText): use initialization lists.
15111
15112         * lyxtext.h (Selection): initialize set_ and mark_
15113         (init): remove method
15114
15115 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15116
15117         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15118
15119 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * screen.[Ch]: change method names to begin with lowercase
15122
15123         * BufferView_pimpl.C (updateScrollbar): simplify further and
15124         hopefully make it a bit faster.
15125
15126 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15127
15128         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15129         calling directly xforms functions.
15130
15131         * Painter.C (Painter):
15132         * lyx_cb.C (MenuWrite):
15133         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15134         fl_display.
15135
15136         * lyx_gui.C: remove bogus guiruntime extern declaration.
15137
15138 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15141         in NEW_INSETS
15142         (redoDrawingOfParagraph): ditto
15143         (redoParagraphs): ditto
15144         (cutSelection): don't create a object for CutAndPaste use the
15145         static method directly
15146         (pasteSelection): ditto
15147
15148         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15149         LyXview (+ rename)
15150
15151 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15152
15153         * modifications to some other files because of this.
15154
15155         * Makefile.am (lyx_SOURCES): add XFormsView
15156
15157         * XFormsView.[Ch]: new files
15158
15159         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15160         the main window. Move the gui dependent stuff to XFormsView
15161
15162 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * tabular.C (GetCellInset): update cur_cell also in the row/col
15165         version of this function.
15166
15167         * lyxfunc.C: no need to include figure_form.h here.
15168
15169         * FontLoader.h:
15170         * lyxfunc.h:
15171         * lyxscreen.h:
15172         * text2.C:
15173         * lyxvc.C: no need to include forms.h here.
15174
15175 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15176
15177         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15178
15179         * lyxfunc.C (Dispatch):
15180         * Spacing.C (set):
15181         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15182         constructor argument.
15183
15184 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * paragraph.C (Paragraph): dont't clear, and just set layout.
15187         (makeSameLayout): use params's copy contructor.
15188
15189         * ParagraphParameters.[Ch] (makeSame): delete method
15190
15191 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15192
15193         * Variables.[Ch]: fix indentation, rename set to isSet
15194
15195 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15196
15197         * lyxfunc.C (Dispatch): fix typo
15198
15199 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15202         upper_bound.
15203
15204         * bufferlist.C: include assert.h for emergencyWrite().
15205
15206 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15209           give up at last (bug #425202) !
15210
15211 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15212
15213         * lyx_gui_misc.C:
15214         * sp_form.h:
15215         * sp_form.C:
15216         * spellchecker.h:
15217         * spellchecker.C: strip spellchecker options and bring up
15218           preferences tab instead
15219
15220 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15223         the istringstream constructor
15224
15225 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * paragraph.C (getLayout): fix return value
15228
15229         * paragraph.h: do not declare getLayout as inline.
15230
15231         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15232
15233 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * lyxcursor.h (operator<): new func
15236         (operator>): new func
15237         (operator>=): new func
15238         (operator<=): new func
15239
15240         * text.C (changeCase): use selection.start and selection.end
15241         (changeRegionCase): require from to be <= to. Require par to be a
15242         valid paragraph.
15243
15244         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15245
15246 2001-06-27  Juergen Vigna  <jug@sad.it>
15247
15248         * text.C (cursorLeftOneWord): changed to return the cursor and added
15249         overlay with BufferView * parameter which calls this one.
15250         (getWord): added
15251         (selectWord): use new getWord function.
15252         (changeCase): renamed from changeWordCase as and extended to work
15253         also on selections.
15254
15255         * lyxtext.h: added enum word_location
15256
15257         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15258         changeCase as this operates now also on selections.
15259
15260 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15261
15262         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15263
15264         * many files: send debug output to Debug::INFO instead of
15265         Debug::ANY.
15266
15267         * converter.C (View):
15268         (Convert):
15269         (Move): send debug output to Debug::FILES instead of console.
15270
15271 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15272
15273         * lyxfunc.C (getStatus): use func_status
15274
15275         * func_status.h: new header, describing the results of
15276         LyXFunc::getStatus;
15277
15278         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15279         LFUN_MATH_HALIGN.
15280
15281 2001-06-25  The LyX Project  <jug@sad.it>
15282
15283         * buffer.C (sgmlOpenTag):
15284         (sgmlCloseTag):
15285         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15286
15287 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15288
15289         * text2.C: remove some dead code
15290
15291         * tabular.C (GetCellInset): store the last cell checked (gotten)
15292
15293         * tabular.h: add the helper for the speedup
15294
15295         * lyxtext.h: remove some dead code
15296
15297 2001-06-26  The LyX Project  <Asger>
15298
15299         * paragraph.C: Change export to LaTeX of alignment to
15300         \begin{center} and family for better roundtrip work with reLyX.
15301
15302         * Tune the math drawing a bit.
15303
15304 2001-06-25  The LyX Project  <Asger>
15305
15306         * LColor.C (LColor): New color for math background. New color
15307         for buttons.
15308
15309 2001-06-25  The LyX Project  <jug@sad.it>
15310
15311         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15312
15313         * lyxfunc.C (Open):
15314         * bufferlist.C (newFile): do not restrict to files ending with
15315         .lyx
15316
15317         * BufferView_pimpl.C (MenuInsertLyXFile):
15318
15319 2001-06-24  The LyX Project  <jug@sad.it>
15320
15321         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15322         of compare_no_case
15323
15324 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * lyxtext.h: rename most methods to begin with a small char.
15327         Lots of changes because of this.
15328
15329         * paragraph.C (Paragraph): do not call fitToSize
15330         (erase): call Pimpl::erase
15331         (insertChar): call Pimpl::insertChar
15332         (insertInset): call Pipl::insertInset
15333         (breakParagraph): do not call fitToSize
15334         (breakParagraphConservative): do not call fitToSize
15335         (fitToSize): remove method
15336
15337         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15338
15339 2001-06-24  The LyX Project  <Asger>
15340
15341         * Fix Qt compilation^2
15342
15343 2001-06-24  The LyX Project  <jug@sad.it>
15344
15345         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15346         depthHook(getDepth()-1).
15347
15348         * paragraph.h:
15349         * ParagraphParameters.h:
15350         * ParameterStruct.h: change type of depth to unsigned int ==
15351         depth_type. Many adaptations to other files before of that.
15352
15353 2001-06-24  The LyX Project  <Asger>
15354
15355         * Fix Qt compilation.
15356
15357 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15358
15359         * paragraph.h: renamed several methods to begin with small letter.
15360         several changes to many parts of the code because of this.
15361
15362 2001-06-23  The LyX Project  <jug@sad.it>
15363
15364         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15365         rewritten to discard all double spaces when KeepEmpty is off
15366         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15367         to only handle newlines but not fiddle with spaces and friends.
15368
15369         * lyxfunc.C (MenuNew): when doing 'new from template', use
15370         template_path as default directory
15371
15372 2001-06-23  The LyX Project  <Asger>
15373
15374         * Clean-up of header file includes all over
15375         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15376
15377 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15378
15379         * paragraph.h: renamed from lyxparagraph.h
15380
15381 2001-06-23  Asger  <lyx@violet.home.sad.it>
15382
15383         * Buffer.h: Removed Buffer::resize
15384         * BufferList.h: Removed BufferList::resize
15385         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15386         the document lazily when we change the width, or the font settings.
15387
15388 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15391
15392 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * buffer.h: remove out of date comment
15395
15396 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15397
15398         * lyxscreen.h:
15399         * screen.C: fix "theoretical" GC leak
15400
15401 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15402
15403         * LaTeX.C (scanAuxFile):
15404         (deplog): remove trailing \r when reading stream (useful under
15405         win32)
15406
15407 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15408
15409         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15410         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15411         and BufferView::theLockingInset(Inset*), so should use them and not
15412         access bv_->text->the_locking_inset directly.
15413
15414         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15415
15416 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15417
15418         * Makefile.am:
15419         * tex-defs.h: remove old unused file
15420
15421 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15422
15423         * BufferView_pimpl.C: fix typo, remove minibuffer message
15424           when buffer has loaded
15425
15426 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * lyxfunc.C (Dispatch): use stringstream
15429         (MenuNew): use stringstream
15430         (Open): use stringstream
15431
15432         * importer.C (Import): use stringstream
15433
15434         * bufferview_funcs.C (CurrentState): use stringstream
15435
15436         * LaTeX.C (run): use stringstream
15437
15438         * BufferView_pimpl.C (savePosition): use stringstream
15439         (restorePosition): use stringstream
15440         (MenuInsertLyXFile): use stringstream
15441
15442 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15443
15444         * BufferView.C:
15445         * Bullet.C:
15446         * ColorHandler.C:
15447         * FontInfo.C:
15448         * FontLoader.C:
15449         * LColor.C:
15450         * LaTeXFeatures.C:
15451         * Painter.C:
15452         * gettext.C:
15453         * lyx_gui_misc.C:
15454         * lyxserver.C:
15455         * vspace.C: removed // -*- C++ -*- as first line.
15456
15457         * lyxfind.h:
15458         * version.h: added // -*- C++ -*- as first line.
15459
15460 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15461
15462         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15463
15464         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15465         of string
15466
15467 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15468
15469         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15470         of floats.
15471
15472 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * gettext.C: include LString.h even when --disable-nls is on.
15475
15476 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15477
15478         * converter.h (Get): changed argument type from int to
15479         FormatList::size_type to avoid unnecessary conversion.
15480
15481         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15482         before using it.
15483
15484 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * gettext.h: include LString.h even when --disable-nls is on.
15487
15488 2001-06-07  Juergen Vigna  <jug@sad.it>
15489
15490         * text.C (BreakAgain): subst spaces with tabs.
15491
15492         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15493         (resizeInsetsLyXText): set force on resizeLyXText.
15494
15495 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * gettext.h (gettext_init):
15498         (locale_init): use a real definition instead of a macro
15499
15500 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15501
15502         * Bufferview_pimpl.C:
15503         * LColor.h:
15504         * LColor.C: further lcolor tidies
15505
15506 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * BufferView_pimpl.C (updateScrollbar): simplify.
15509
15510         * BufferView2.C: don't include insets/insetinfo.h, change
15511         prototype for insertInset and call the Pimpl version. let
15512         updateInset call Pimpl version.
15513
15514         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15515         gotoInset to BufferView::Pimpl
15516
15517 2001-06-01  Juergen Vigna  <jug@sad.it>
15518
15519         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15520         inside a LockingInset (is the update needed at all?).
15521
15522 2001-05-31  Juergen Vigna  <jug@sad.it>
15523
15524         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15525         here not the old one otherwise how should we compare it afterwards
15526         if it's the same!
15527
15528 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * lyxfont.C:
15531         * tabular.C:
15532         * tabular-old.C:
15533         * FontInfo.C: bring C functions into global namespace when
15534         necessary
15535
15536 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * LString.h: make sure config.h has been loaded before LString.h.
15539
15540         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15541         (one for each char read by EatLine!).
15542
15543         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15544         variables.
15545
15546 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15549         to the same as the par we break from
15550
15551 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15554
15555         * MenuBackend.C (expand): also create menu entries for wide
15556         versions of the floats.
15557
15558         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15559
15560         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15561
15562         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15563         frontends/Makefile.am
15564
15565         * text2.C: adjust
15566         * text.C: adjust
15567
15568
15569         * tabular.C (getTokenValue): add std::
15570
15571         * tabular-old.C (getTokenValue): add std::
15572         (getTokenValue): ditto
15573         (getTokenValue): ditto
15574
15575         * screen.C (ToggleSelection): adjust
15576
15577         * lyxtext.h: put selection cursors inside a Selection struct.
15578
15579         * lyxfunc.C (moveCursorUpdate): adjust
15580
15581         * lyxfont.C (latexWriteStartChanges): add std::
15582
15583         * lyxfind.C: adjust
15584
15585         * font.h: delete with(char const *, LyXFont const &)
15586
15587         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15588
15589         * FontInfo.C (getFontname): add std::
15590
15591         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15592         (workAreaButtonPress): adjust
15593         (tripleClick): adjust
15594         (update): adjust
15595         (moveCursorUpdate): adjust
15596         (Dispatch): adjust
15597
15598         * BufferView2.C (gotoInset): adjust
15599
15600 2001-05-30  Juergen Vigna  <jug@sad.it>
15601
15602         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15603         to check pspell I add this as default as I now have new pspell
15604         libraries and they seem to use this.
15605
15606 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15607
15608         * text2.C (CutSelection): make the cursor valid before the call to
15609         ClearSelection.
15610
15611 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15614         relied on 0 terminated strings and other horrors. Bug found due to
15615         the new assert in lyxstring!
15616
15617         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15618         KP_ keys.
15619
15620 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15623         to latinkeys.bind.
15624
15625         * lyxfunc.C (processKeySym): change method of getting to the
15626         self-insert char.
15627
15628         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15629         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15630         * BufferView_pimpl.[Ch]: here as private methods.
15631
15632 2001-05-28  Juergen Vigna  <jug@sad.it>
15633
15634         * text.C (SetHeightOfRow): added the update() call again as it is
15635         needed to initialize inset dimensions!
15636
15637 2001-05-16  Juergen Vigna  <jug@sad.it>
15638
15639         * text2.C (SetCharFont): Add new function with BufferView * and
15640         bool toggleall parameters for setting insets internal fonts.
15641         (SetFont): Freeze the undo as we may change fonts in Insets and
15642         all this change should be inside only one Undo!
15643
15644         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15645         setting font's in insets as for them we have the SetFont function!
15646
15647 2001-05-15  Juergen Vigna  <jug@sad.it>
15648
15649         * text2.C (ClearSelection): to be sure we REALLY don't have any
15650         selection anymore!
15651
15652         * tabular.C (TeXCellPreamble): fixed the left border problem for
15653         multicolumn cells.
15654
15655 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15658         dependancy file
15659
15660 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15663         LFUN_BREAKPARAGRAPH.
15664
15665         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15666         help test to "internal only", similar for LFUN_INSERT_URL
15667
15668         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15669         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15670         auto_region_delete and deadkeys.
15671
15672 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15673
15674         * LColor.h:
15675         * LColor.C: remove some dead entries, tidy a little
15676
15677 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15678
15679         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15680         commented code.
15681         (Dispatch): implement LFUN_ESCAPE
15682
15683         * commandtags.h: add LFUN_ESCAPE
15684
15685         * LyXAction.C (init): add entry for LFUN_ESCAPE
15686
15687         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15688         Remove commented code.
15689         (insertNote): moved here
15690         (open_new_inset): moved here
15691
15692         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15693         BufferView_pimpl
15694
15695 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * kbmap.C (findbinding): clean it up and make it work correctly.
15698
15699         * lyx_main.C (init): do not pass argc and argv as parameters
15700
15701 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15702
15703         * buffer.C: fix path for OS/2 & Win32
15704
15705         * lyx_gui.C:
15706         * lyx_main:
15707         * lyx_main.C: Added os:: class.
15708
15709         * os2_defines.h: update
15710
15711 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15712
15713         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15714         better by trying again with reduced state.
15715
15716 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15717
15718         * lyxrc.C (read): print error about invalid key sequence only when
15719         debugging (because not all latinX keysyms are known to some X
15720         servers)
15721
15722         * kbsequence.C (getiso): add a few std:: qualifiers
15723         (getiso): comment out extra return statement.
15724
15725 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15728         handling.
15729         (Dispatch): enhance the accent inset a bit. (not perfect)
15730
15731 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15732
15733         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15734
15735 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15736
15737         * bufferlist.C (emergencyWrite): fix assert() call
15738
15739 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15740
15741         * text.C (InsertChar): Added trivial patch to only send the "you
15742         can not do multiple spaces this way" message once during a
15743         session.
15744
15745 2001-05-08  Baruch Even  <baruch@lyx.org>
15746
15747         * Makefile.am: Changed order of libraries to get LyX to link properly
15748         with the gnome frontend.
15749
15750 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * LaTeXFeatures.h: add a std:: qualifier
15753
15754 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * paragraph.C (String): use stringstream
15757
15758 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * paragraph.C (writeFile): remove footflag arg
15761
15762         * buffer.C (makeLaTeXFile): use stringstream
15763         (latexParagraphs): remove footnot gurba
15764
15765         * LaTeXFeatures.C (getPackages): use stringstream
15766         (getMacros): likewise
15767         (getTClassPreamble): likewise
15768         (getFloatDefinitions): new method
15769
15770         * paragraph.C (writeFile): reindent
15771         (Erase): reindent
15772
15773         * WorkArea.h: revert the xpos + etc changes.
15774
15775         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15776
15777         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15778
15779         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15780         (pasteSelection): likewise
15781         * text2.C (CreateUndo): likewise
15782
15783 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * minibuffer.C (peek_event): temporarily reduce the functionality
15786         of the minibuffer (to allow args on lfuns)
15787
15788         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15789         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15790
15791         * buffer.C (readInset): add compability reading of old float
15792         lists, add reading of new style float list.
15793         (readInset): avoid reevaluation of inscmd.getCmdName()
15794         (getLists): reindent
15795
15796         * MenuBackend.C (MenuItem): implement parsing of
15797         md_floatlistinsert and md_floatinsert.
15798         (expand::LastFiles): move initalizaton of iterators out of loop,
15799         avoid reevaluation.
15800         (expand::Documents): introduce typdedef vector<string> Strings,
15801         and use it.
15802         (expand::ExportFormats): introduce typedef vector<Format const *>
15803         Formats, and use it.
15804         (expand): implement FloatListInsert and FloatInsert.
15805
15806         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15807         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15808         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15809
15810         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15811         handling.
15812         (Dispatch::LFUN_FLOAT_LIST): implement
15813
15814 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15815
15816         * LaTeX.C (run): Fix problem with --export code.
15817
15818 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15819
15820         * BufferView.[Ch] (workarea): removed.
15821         (getClipboard) new method; wrapper for workarea()->getClipboard()
15822
15823         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15824         bug.
15825
15826         * WorkArea.h (width, height, xpos, ypos): These methods all
15827         returned the dimensions of the work_area sub-area of WorkArea,
15828         resulting in a position error if the WorkArea were resized. Now
15829         return the dimensions of the entire WorkArea.
15830
15831         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15832
15833 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15834
15835         * LaTeX.C (deplog): correct the syntax of regex reg1
15836
15837 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15838
15839         * undo.C: remove !NEW_INSETS cruft
15840
15841 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15842
15843         * text2.C: remove !NEW_INSETS cruft
15844
15845         * text.C: remove !NEW_INSETS cruft
15846
15847         * tabular.C: remove !NEW_INSETS cruft
15848
15849         * spellchecker.C: remove !NEW_INSETS cruft
15850
15851         * lyxtext.h: remove !NEW_INSETS cruft
15852
15853         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15854
15855         * lyxfunc.C: remove !NEW_INSETS cruft
15856
15857         * lyxfind.C: remove !NEW_INSETS cruft
15858
15859         * lyx_cb.C: remove !NEW_INSETS cruft
15860
15861         * figureForm.C: remove  !NEW_INSETS cruft
15862
15863         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15864
15865         * buffer.[Ch]: remove !NEW_INSETS cruft
15866
15867         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15868
15869         * CutAndPaste.C: remove !NEW_INSETS cruft
15870
15871         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15872
15873         * BufferView2.C: remove !NEW_INSETS cruft
15874
15875         * BufferView.h: remove !NEW_INSETS cruft
15876
15877 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15878
15879         * Lsstream.h: include LString.h before the sstream headers to
15880         fix problem with gcc 2.95.3 and lyxstring
15881
15882 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * lyx_main.C: add using directives when needed for C functions
15885         declared in std:: namespace.
15886
15887 2001-04-27  Juergen Vigna  <jug@sad.it>
15888
15889         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15890         (SetHeightOfRow): comment out the update call should not be needed!
15891
15892 2001-04-13  Juergen Vigna  <jug@sad.it>
15893
15894         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15895         (LyXTabular): tried to minimize operator= operations (and realized
15896         hopfully Lars wish).
15897
15898 2001-04-27  Juergen Vigna  <jug@sad.it>
15899
15900         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15901
15902 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15905
15906         * buffer.C (readInset): hack to make listof algorithm work
15907
15908         * BufferView_pimpl.C: hack to make listof algorithm work
15909
15910 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * LyXAction.C: removed all !NEW_INSETS cruft
15913         (init): moved lfun_item in method
15914
15915         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15916
15917 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15918
15919         * BufferView2.C (theLockingInset): white space.
15920
15921 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * minibuffer.C: include <iostream>
15924
15925         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15926
15927         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15928
15929         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15930
15931         * text.[Ch] (TransposeChars): new method
15932
15933 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15934
15935         * call message directly through LyXView instead of through LyXFunc
15936         * BufferView2.C: adjust
15937         * BufferView_pimpl.C: adjust
15938         * FontLoader.C: adjust
15939         * buffer.C: adjust
15940         * bufferview_funcs.C: adjust
15941         * converter.C: adjust
15942         * figureForm.C: adjust
15943         * importer.C: adjust
15944         * lyx_cb.C: adjust
15945         * lyx_gui_misc.C: adjust
15946         * lyxfunc.C: adjust
15947         * lyxvc.C: adjust
15948         * text2.C: adjust
15949         + more files in subdirs
15950
15951         * lyxparagraph.h (size): move up int file
15952         (GetLayout): ditto
15953
15954         * adjust all uses of Assert to lyx::Assert.
15955
15956         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15957         lyxfunctional in namespace lyx
15958         * layout.C (hasLayout): ditto
15959         (GetLayout): ditto
15960         (GetLayout): ditto
15961         (delete_layout): ditto
15962         (NumberOfClass): ditto
15963         * converter.C (GetFormat): ditto
15964         (GetNumber): ditto
15965         (Add): ditto
15966         (Delete): ditto
15967         (SetViewer): ditto
15968         * bufferlist.C (getFileNames): ditto
15969         (emergencyWriteAll): ditto
15970         (exists): ditto
15971         (getBuffer): ditto
15972         * MenuBackend.C (hasSubmenu): ditto
15973         (hasMenu): ditto
15974         (getMenu): ditto
15975         * BufferView_pimpl.C (getInsetByCode): ditto
15976
15977 2001-04-18  Juergen Vigna  <jug@sad.it>
15978
15979         * vspace.C (asLatexString): fixed the 100% problem.
15980
15981 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * lyxfunc.C (Dispatch):
15984         * minibuffer.C:
15985         * minibuffer.h: add a few std:: qualifiers
15986
15987 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15988
15989         * minibuffer.[Ch]: reimplement so that commands is initiated and
15990         run from lyxfunc, simplified som handling, and made the completion
15991         and history code for complete. wip.
15992
15993         * lyxfunc.C (processKeySym): call message
15994         (miniDispatch): new temporary method
15995         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15996         (LFUN_MESSAGE): implement
15997         (LFUN_MESSAGE_PUSH): implement
15998         (LFUN_MESSAGE_POP): implement
15999         (initMiniBuffer): the initial/defualt minibuffer message.
16000
16001         * lyxfont.[Ch]: inline some more getters
16002
16003         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16004
16005         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16006
16007         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16008         (AutoSave): use LFUN_MESSAGE
16009         (Reconfigure): ditto
16010
16011         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16012
16013         * figureForm.C: use LFUN_MESSAGE
16014
16015         * converter.C (runLaTeX): use LFUN_MESSAGE
16016
16017         * bufferview_funcs.C: use LFUN_MESSAGE
16018         (Melt): ditto
16019         (changeDepth): ditto
16020
16021         * bufferparams.h: use boost::
16022
16023         * bufferlist.h: inherit privately from noncopyable
16024
16025         * bufferlist.C (loadLyXFile): remove some commented code.
16026
16027         * buffer.C (runChktex): use LFUN_MESSAGE
16028
16029         * ShareContainer.h: inherit privately from noncopyable
16030
16031         * ParagraphParameters.[hC] (depth): inline it.
16032
16033         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16034         methods.
16035         (message): new method
16036         (messagePush): ditto
16037         (messagePop): ditto
16038         (show): init minibuffer
16039         (showState): direct call
16040
16041         * LaTeX.[Ch]: inherit privately from noncopyable
16042         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16043         instead of WriteStatus.
16044
16045         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16046
16047         * BufferView_pimpl.C (buffer): don't init minibuffer
16048         (workAreaButtonPress): use LFUN_MESSAGE
16049         (workAreaButtonRelease): ditto
16050         (savePosition): ditto
16051         (restorePosition): ditto
16052         (MenuInsertLyXFile): ditto
16053         (workAreaExpose): don't init minibuffer
16054         (update): remove commented code, simplify
16055
16056         * BufferView2.C (openStuff): use LFUN_MESSAGE
16057         (toggleFloat): ditto
16058         (menuUndo): ditto
16059         (menuRedo): ditto
16060         (copyEnvironment): ditto
16061         (pasteEnvironment): ditto
16062         (copy): ditto
16063         (cut): ditto
16064         (paste): ditto
16065         (gotoInset): ditto
16066         (updateInset): remove some commented code
16067
16068         * lastfiles.h: inherit privately from noncopyable
16069         * layout.h: ditto
16070         * lyx_gui.h: ditto
16071         * lyx_main.h: ditto
16072         * lyxlex.h: ditto
16073         * lyxlex_pimpl.h: ditto
16074
16075         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16076         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16077         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16078
16079         * LyXAction.h: inherit privately from noncopyable, add methods
16080         func_begin, func_end, returning iterators to the func map.
16081
16082         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16083         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16084         (func_begin): new method
16085         (func_end): new method
16086
16087         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16088         and not)
16089         (copySelection): ditto
16090         (pasteSelection): ditto
16091
16092         * BufferView.C: whitespace change
16093         * BufferView.h: inherit privately from noncopyable
16094
16095 2001-04-16  Allan Rae  <rae@lyx.org>
16096
16097         * tabular-old.C (l_getline):
16098         * spellchecker.C (sc_check_word):
16099         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16100         an unrecognised preprocessor directive.  So ensure they're wrapped.
16101
16102 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16103
16104         * src/exporter.C (Export): Give an error message when path to file
16105         contains spaces.
16106
16107 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16108
16109         * LaTeX.C (deplog): Always check that foundfile exists.
16110
16111 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16112
16113         * lyx_main.h:
16114         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16115
16116 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * tabular.[Ch] (getLabelList): implement new method
16119
16120         * minibuffer.h: comment ouf setTiimer
16121
16122         * minibuffer.C (ExecutingCB): constify res
16123         (peek_event): constify s
16124         (Set): constify ntext
16125         (Init): constify nicename
16126
16127         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16128
16129         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16130         (savePosition): use two params to Minibuffer::Set
16131         (restorePosition): ditto
16132
16133 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16134
16135         * lyx_main.C: include language.h
16136
16137         * Makefile.am (lyx_main.o): add language.h
16138
16139 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * exporter.C:
16142         * paragraph.C:
16143         * screen.C:
16144         * tabular.C:
16145         * CutAndPaste.C: include gettext.h
16146
16147         * lyxfont.h: remove old hack with ON and OFF.
16148
16149         * lyxparagraph.h:
16150         * lyxfont.h: do not include language.h...
16151
16152         * BufferView2.C:
16153         * LaTeXFeatures.C:
16154         * Painter.C:
16155         * bufferview_funcs.C:
16156         * font.C:
16157         * lyxfont.C:
16158         * text.C:
16159         * text2.C:
16160         * trans_mgr.C:
16161         * paragraph.C: ... but do it here instead
16162
16163 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16164
16165         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16166
16167         * tabular.C: small reformat
16168
16169         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16170         NEW_INSETS version
16171         (GetChar): ditto
16172         (BreakParagraph): ditto
16173         (SetOnlyLayout): ditto
16174         (SetLayout): ditto
16175
16176         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16177         with one arg less.
16178
16179         * lastfiles.C: removed most using decl, add std:: where needed
16180
16181         * buffer.C: ws changes
16182
16183         * MenuBackend.C (class compare_format): put into anon namespace
16184         (expand): constify label, names, action, action2
16185         (expand):
16186
16187         * text.C (SingleWidth): constify font
16188         (IsBoundary): constify rtl2
16189         (GetVisibleRow): constify ww
16190
16191         * LaTeX.C (deplog): constify logfile
16192
16193         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16194         start_x, end_x
16195         (workAreaExpose): constify widthChange, heightChange
16196
16197         * lyxrow.C (par): moved
16198         (height): moved
16199         (next): moved
16200         * lyxrow.h: as inlines here
16201
16202         * lyxfont.h (shape): moved from lyxfont.C
16203         (emph): moved from lyxfont.C
16204
16205         * lyxfont.C (LyXFont): use initialization list for all
16206         constructors
16207         (shape): move to lyxfont.h as inline
16208         (emph): move to lyxfont.h as inline
16209
16210
16211 2001-04-04  Juergen Vigna  <jug@sad.it>
16212
16213         * vspace.C: had to include stdio.h for use of sscanf
16214
16215 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16216
16217         * BufferView.h:
16218         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16219         independent of xforms.
16220
16221 2001-04-02  Juergen Vigna  <jug@sad.it>
16222
16223         * spellchecker.C: fixed namespace placing!
16224
16225 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16226
16227         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16228         the LyXParagraph * is 0.
16229
16230 2001-03-29  Juergen Vigna  <jug@sad.it>
16231
16232         * vspace.C: added support for %, c%, p%, l%.
16233         (stringFromUnit): added helper function.
16234         (asLatexString): changed to give right results for the %-values.
16235
16236         * buffer.C: convert the widthp in a width%.
16237
16238 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16239
16240         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16241         figureForm.[Ch].
16242
16243         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16244         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16245
16246         * lyx_cb.[Ch]: see above.
16247
16248         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16249         form1.[Ch].
16250
16251         * form1.[Ch]:
16252         * lyx.[Ch]: replaced by figure_form.[Ch].
16253
16254         * lyx_gui.C:
16255         * lyx_gui_misc.C:
16256         * lyxfunc.C: changed headers associated with above changes.
16257
16258 2001-03-27  Juergen Vigna  <jug@sad.it>
16259
16260         * BufferView_pimpl.C: set the temporary cursor right!
16261
16262 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16265
16266 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16267
16268         * LString.h: removed "using std::getline"!
16269
16270         * BufferView_pimpl.C (Dispatch): changes due to changes in
16271         InsetInclude::Params.
16272
16273         * buffer.C (tag_name): removed redundant break statements as they were
16274         producing lots of warnings with my compiler.
16275
16276 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * LString.h: add "using std::getline" when using the real <string>.
16279
16280 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16281
16282         * buffer.C: removed bitset usage.
16283         PAR_TAG moved to an anonymous name space.
16284         (tag_name): new funtion, also in the anonymous namespace.
16285         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16286         (makeDocBookFile): clean code. Completed transition from string arrays
16287         to string vectors.
16288         (SimpleDocBookOnePar): code clean.
16289
16290 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16291
16292         * tabular.C: add some comments.
16293
16294 2001-03-22  Juergen Vigna  <jug@sad.it>
16295
16296         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16297         compatibility read a bit and fixed bug with minipage in different
16298         depth.
16299
16300 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16301
16302         * buffer.C (pop_tag): removed.
16303         (push_tag): removed.
16304         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16305         array replaced with vector. Added support for CDATA sections.
16306         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16307         at any nest level.
16308         (makeDocBookFile): XML conformant declaration of CDATA section,
16309         fixed bug related to <emphasis> in the first paragraph char.
16310         (sgmlOpenTag): exclude empty tags.
16311         (sgmlCloseTag): ditto.
16312
16313         * buffer.h (pop_tag): removed.
16314         (push_tag): removed.
16315
16316 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16317
16318         * language.h (Languages): added size_type and size().
16319
16320 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16321
16322         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16323         response on compability reading of minipages. One probliem is that
16324         the old usage of minipages was «flertydig»
16325
16326         * several files here and in subdirs: don't use static at file
16327         scope use anon namespaces instead.
16328
16329 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16330
16331         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16332         LaTeX output. This is necessary for Literate document
16333         processing.
16334
16335 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16336
16337         * buffer.C: insert hfill when needed.
16338
16339         * tabular.C (l_getline): use string::erase, small whitespace change.
16340
16341         * BufferView_pimpl.C: try the anon namespace.
16342         * WorkArea.C: ditto
16343
16344 2001-03-16  Juergen Vigna  <jug@sad.it>
16345
16346         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16347         otherwise it won't open options-dialogs.
16348
16349         * buffer.C: honor pextraWidth(p) on converting minipages.
16350
16351         * tabular.C (l_getline): changed the functions to strip trailing \r.
16352
16353 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16354
16355         * BufferView_pimpl.C:
16356         * minibuffer..C: added "using SigC::slot" declaration.
16357
16358 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16359
16360         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16361
16362         * text2.C: ditto
16363
16364         * text.C: ditto
16365
16366         * paragraph.C: ditto
16367
16368         * lyxtext.h: NO_PEXTRA
16369
16370         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16371
16372         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16373         * ParameterStruct.h: ditto
16374         * ParagraphParameters.h: ditto
16375         * lyxparagraph.h: ditto
16376
16377 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16378
16379         * buffer.C: add compability for minipage alignment.
16380         (latexParagraphs): remove unwanted pextra check.
16381
16382         * several files: remove CXX_WORKING_NAMESPACES
16383
16384         * buffer.C (pop_tag): tie is in namespace boost
16385
16386         * BufferView.h: noncopyable is in namespace boost
16387         * lyxlex.h: ditto
16388         * lyx_main.h: ditto
16389         * lyx_gui.h: ditto
16390         * layout.h: ditto
16391         * lastfiles.h: ditto
16392         * bufferlist.h: ditto
16393         * ShareContainer.h: ditto
16394         * LyXView.h: ditto
16395         * LyXAction.h: ditto
16396         * LaTeX.h: ditto
16397
16398 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16399
16400         * Merging changes from BRANCH_MVC back into HEAD.
16401
16402         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16403
16404 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16405
16406         * BufferView_pimpl.C: change from intl.C
16407
16408         * combox.h:
16409         * combox.C:
16410         * Makefile.am: move combox.*
16411
16412         * form1.h:
16413         * form1.C:
16414         * lyx_gui.C:
16415         * intl.h:
16416         * intl.C: remove dialog (covered by prefs)
16417
16418 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16419
16420         * lyxfunc.C (Dispatch): removed redundant break statement.
16421
16422 2001-03-14  Juergen Vigna  <jug@sad.it>
16423
16424         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16425
16426 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16427
16428         * buffer.C: add hack to fix compability reading of minipages.
16429
16430 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16431
16432         * buffer.C (getLists): Cleanup.
16433
16434 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16435
16436         * lyxfont.C (update): don't honor toggleall on font size.
16437
16438 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16439
16440         * bmtable.c:
16441         * bmtable.h:
16442         * Makefile.am: moved to frontends/xforms/
16443
16444         * lyx_gui_misc.C:
16445         * lyxfunc.C:
16446         * BufferView_pimpl.C: changes for moved mathpanel
16447
16448 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16449
16450         * gettext.h: fix gettext_init() in --disable-nls
16451
16452 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16453
16454         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16455
16456 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16457
16458         * lyx.C:
16459         * lyx.h: strip external form
16460
16461 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16462
16463         * BufferView_pimpl.C: add comment, destroySplash()
16464
16465 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16466
16467         * BufferView_pimpl.C:
16468         * LyXAction.C:
16469         * buffer.C:
16470         * commandtags.h:
16471         * lyxfunc.C: use re-worked insetinclude
16472
16473 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16474
16475         * buffer.C: add using std::stringstream.
16476
16477         * lyx_cb.C: readd using std::ios.
16478
16479         * buffer.C: add using std::map.
16480
16481         * BufferView_pimpl.C: add using std::vector.
16482
16483         * ShareContainer.h: add std:: to swap.
16484
16485         * buffer.h: add some typedefs
16486         * buffer.C (getLists): use them
16487         (getLists): renamed from getTocList.
16488         add a counter for the different float types and use it in the
16489         generated string.
16490         (getLists): use the same counter for the NEW_INSETS and the "non"
16491         NEW_INSETS
16492
16493         * lyx_cb.h: remove unused items, includes, using etc.
16494
16495         * ShareContainer.h: remove some commented code, add more comments
16496         and "documentation".
16497
16498 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16499
16500         * buffer.C (getTocList): make the list also when NEW_INSETS is
16501         defined.
16502
16503         * buffer.h: remove TocType
16504
16505         * buffer.C (getTocList): change to return a map<string,
16506         vector<TocItem> >, implement for dynamic number of list.
16507
16508         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16509         * text2.C (PasteSelection): adjust
16510         * CutAndPaste.C (pasteSelection): adjust
16511
16512         * FloatList.C (FloatList): update from the new_insets branch.
16513         * Floating.[Ch]: ditto
16514         * LaTeXFeatures.C: ditto
16515         * buffer.C: ditto
16516         * lyxlex_pimpl.C: ditto
16517
16518         * paragraph.C (Last): remove when NEW_INSETS is defined.
16519
16520         * other file: changes because of the above.
16521
16522 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16523
16524         * lyxparagraph.h: rename next to next_, previous to previous_,
16525         make them private for NEW_INSETS. Rename Next() to next(),
16526         Previous() to previous().
16527
16528         * other files: changes because of the above.
16529
16530 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16531
16532         * BufferView.h:
16533         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16534         problem.
16535
16536 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * main.C (main): pass lyx_localedir to gettext_init().
16539
16540         * gettext.h: remove locale_init and gettext_init macros
16541
16542         * gettext.C (locale_init): new function
16543         (gettext_init): new function
16544
16545         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16546         setlocale().
16547
16548 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16549
16550         * Moved credits to frontends:
16551         * credits.[Ch]: removed
16552         * credits_form.[Ch]: removed
16553         * lyx_gui_misc.C: remove credits stuff
16554         * Makefile.am:
16555
16556 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16557
16558         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16559
16560         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16561         unneeded destructor.
16562
16563         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16564         a standalone pointer again.
16565
16566         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16567
16568 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16569
16570         * Makefile.am:
16571         * filedlg.h:
16572         * filedlg.C:
16573         * LyXAction.C:
16574         * ToolbarDefaults.C:
16575         * bufferlist.C:
16576         * commandtags.h:
16577         * form1.C:
16578         * form1.h:
16579         * lyx_cb.C:
16580         * lyx_cb.h:
16581         * lyxfunc.h:
16582         * lyxfunc.C:
16583         * BufferView_pimpl.C: use new file dialog in GUII
16584
16585         * lyx_cb.h:
16586         * lyx_cb.C: remove LayoutsCB to Toolbar
16587
16588 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * ShareContainer.h (get): add std:: qualifier
16591
16592 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16593
16594         * ShareContainer.h: define a proper ShareContainer::value_type
16595         type (and use typename to please compaq cxx)
16596
16597 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16598
16599         * lyxparagraph.h: move serveral local vars to
16600         ParameterStruct/ParagraphParameters., use ShareContainer in
16601         FontTable., make vars in FontTable private and add getter and
16602         setter.
16603
16604         * paragraph.C: changes because of the above.
16605
16606         * lyxfont.h: remove copy constructor and copy assignment. (the
16607         default ones is ok), move number inside FontBits. move inlines to
16608         lyxfont.C
16609
16610         * lyxfont.C: add number to initializaton of statics, move several
16611         inlines here. constify several local vars. some whitespace
16612         cleanup. Dont hide outerscope variables.
16613
16614         * Spacing.h: add two new constructors to match the set methods.
16615
16616         * ShareContainer.h: new file, will perhaps be moved to support
16617
16618         * ParameterStruct.h: new file
16619
16620         * ParagraphParameters.h: new file
16621
16622         * ParagraphParameters.C: new file
16623
16624         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16625         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16626
16627         * BufferView_pimpl.C: ParagraphParameter changes.
16628         * buffer.C: Likewise.
16629         * bufferview_funcs.C: Likewise.
16630         * text.C: Likewise.
16631         * text2.C: Likewise.
16632
16633 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16634
16635         * lyxfind.C (LyXReplace): do not redefine default argument in
16636         implementation.
16637         (IsStringInText): ditto
16638         (SearchForward): ditto
16639         (SearchBackward): ditto
16640
16641 2001-03-06  Juergen Vigna  <jug@sad.it>
16642
16643         * lyxfind.C (IsStringInText): put parentes around expressions.
16644
16645 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16646
16647         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16648
16649 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16650
16651         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16652
16653         * stl_string_fwd.h: add comment
16654
16655         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16656
16657         * tabular.h:
16658         * tabular.C: remove unused DocBook methods
16659
16660         * intl.C:
16661         * language.C:
16662         * paragraph.C:
16663         * buffer.C:
16664         killed DO_USE_DEFAULT_LANGUAGE
16665
16666 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16667
16668         * lyx_gui.C: do not include language.h.
16669
16670         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16671         arguments in function implementation.
16672
16673 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16674
16675         * BufferView_pimpl.C: add <ctime>
16676
16677 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16678
16679         * BufferView_pimpl.C: add using std::find_if
16680
16681 2001-02-27  José Matos  <jamatos@fep.up.pt>
16682
16683         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16684         by OnlyPath.
16685
16686 2001-02-11  José Matos  <jamatos@fep.up.pt>
16687
16688         * buffer.C (makeDocBookFile): command styles now have a parameter as
16689         "title" by default.
16690
16691 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16692
16693         * layout_forms.[Ch]: removed
16694         * lyx_cb.[Ch]: out character
16695         * lyx_gui.C: out character
16696         * lyx_gui_misc.C: out character
16697         * bufferview_funcs.C: : out character,
16698         added toggleall as parameter in ToggleAndShow
16699
16700 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16701
16702         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16703
16704         * text2.C (SetCurrentFont): Disable number property at boundary.
16705
16706 2001-02-26  Juergen Vigna  <jug@sad.it>
16707
16708         * lyxfunc.C (getStatus): added a string argument override function so
16709         that this is correctly called from LyXFunc::Dispatch if it contains a
16710         do_not_use_argument which is used!
16711         (Dispatch): added check for "custom" export and call appropriate func.
16712
16713 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16714
16715         * lyxrc.C: Add language_command_local, language_use_babel and
16716         language_global_options.
16717
16718         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16719
16720         * buffer.C (makeLaTeXFile): Use language_use_babel and
16721         language_global_options.
16722
16723 2001-02-23  Juergen Vigna  <jug@sad.it>
16724
16725         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16726         which works with LyXText and putted it inside BufferView. Here now we
16727         only call for that part the BufferView::Dispatch() function.
16728
16729         * BufferView.C (Dispatch): added.
16730
16731         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16732         functions which needs to use a LyXText over from LyXFunc.
16733         (MenuInsertLyXFile): added
16734         (getInsetByCode): added
16735         (moveCursorUpdate): added
16736         (static TEXT): added
16737
16738 2001-02-22  Juergen Vigna  <jug@sad.it>
16739
16740         * BufferView_pimpl.C (update): call a status update to see if LyXText
16741         needs it.
16742
16743 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16744
16745         * vc-backend.C (revert): implement for CVS
16746         (getLog): implement for CVS
16747
16748 2001-02-20  Juergen Vigna  <jug@sad.it>
16749
16750         * text2.C (ClearSelection): added BufferView param for inset_owner call
16751
16752         * lyxfunc.C (TEXT): added this function and use it instead of
16753         directly owner->view()-text of getLyXText().
16754
16755 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16756
16757         * src/layout_forms.C: out preamble
16758         * src/layout_forms.h: out preamble
16759         * src/lyx_cb.C: out preamble
16760         * src/lyx_cb.h: out preamble
16761         * src/lyx_gui.C: out preamble
16762         * src/lyx_gui_misc.C: out preamble
16763         * src/lyxfunc.C: connect with guii preamble
16764
16765 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16766
16767         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16768
16769 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16770
16771         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16772         whether to run bibtex.
16773
16774 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16775
16776         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16777
16778 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16779
16780         * Makefile.am (lyx_SOURCES): removed bibforms.h
16781
16782         * vspace.h: doxygen
16783
16784         * text.C (GetVisibleRow): make several local vars const
16785
16786         * tabular.C: small cleanup.
16787
16788         * lyxserver.C (callback): use compare instead of strncmp
16789
16790         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16791         inlines to after class or to paragraph.C
16792
16793         * lyxfont.h: remove friend operator!=
16794
16795         * converter.h: move friend bool operator< to non friend and after
16796         class def.
16797
16798         * combox.h: small cleanup
16799
16800         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16801         to inlines after class def.
16802
16803         * buffer.C (pop_tag): use string operations instead of strcmp
16804
16805         * bmtable.c: doxygen, small cleanup
16806
16807         * LaTeX.h: remove friend operator==
16808
16809 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16810
16811         * screen.C:
16812         * lyxrc.[Ch]:
16813         * lyxfunc.C:
16814         * lyxfont.[Ch]:
16815         * lyx_cb.C:
16816         * intl.[Ch]:
16817         * commandtags.h:
16818         * buffer.C:
16819         * WorkArea.[Ch]:
16820         * LyXAction.C:
16821         * BufferView_pimpl.C:
16822         * BufferView.[Ch]: remove cruft
16823
16824 2001-02-14  Juergen Vigna  <jug@sad.it>
16825
16826         * lyxfunc.C: removed #if 0 unused code
16827
16828         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16829
16830         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16831
16832         * text2.C (SetSelection): added a BufferView * parameter
16833
16834 2001-02-13  Juergen Vigna  <jug@sad.it>
16835
16836         * lyxfunc.C (Dispatch): fixed protected blank problem.
16837         * BufferView2.C (protectedBlank): added LyxText * parameter.
16838
16839         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16840         (AppendColumn): same as above for column_info.
16841
16842         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16843         (moveCursorUpdate): use a LyXText param for support of InsetText.
16844
16845         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16846         (tripleClick): ditto
16847
16848         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16849
16850         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16851
16852         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16853
16854         * text2.C (SetSelection): set correct update status if inset_owner
16855         (ToggleFree): ditto
16856
16857 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16858
16859         * tabular.C: remove some commented code.
16860
16861 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16862
16863         * BufferView_pimpl.C: call hideSplash()
16864
16865         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16866
16867         * include_form.h:
16868         * bibforms.h: remove
16869
16870         * lyxfunc.C:
16871         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16872           add LFUN_CHILD_CREATE
16873
16874         * counters.h: fix tiny typo
16875
16876         * lyx_cb.C:
16877         * lyx.h:
16878         * lyx_gui.C:
16879         * lyx.C: move splash to frontends/xforms/
16880
16881         * lyx_gui_misc.C: move Include and Bibform to frontends
16882
16883         * lyxvc.h: clarify comment
16884
16885         * vspace.C: tiny housekeeping
16886
16887 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16888
16889         * text.C (PrepareToPrint): RTL Fix.
16890
16891         * paragraph.C (GetUChar): New method.
16892         (String):  Use GetUChar.
16893
16894         * buffer.C (asciiParagraph): Use GetUChar.
16895
16896 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16897
16898         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16899
16900 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16901
16902         * buffer.h:
16903         * buffer.C: rename to getLogName(), handle
16904           build log / latex log nicely
16905
16906 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16907
16908         * MenuBackend.C:
16909         * MenuBackend.h: remove support for reference menuitem type.
16910
16911 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16912
16913         * BufferView_pimpl.C: housekeeping
16914         * BufferView_pimpl.h:
16915         * LyXView.h:
16916         * Makefile.am:
16917         * Timeout.C:
16918         * Timeout.h:
16919         * minibuffer.h: move Timeout GUI-I
16920
16921 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16922
16923         * lyxrc.C (read): Update converters data-structures.
16924
16925 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16926
16927         * LaTeX.h (operator!=): add operator != for Aux_Info
16928
16929 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16930
16931         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16932
16933         * LaTeXLog.C: deleted, useful code moved to Buffer
16934
16935         * buffer.h:
16936         * buffer.C: new function getLatexLogName()
16937
16938         * lyx_gui_misc.C:
16939         * lyx_gui.C:
16940         * lyxvc.C:
16941         * lyxvc.h:
16942         * lyxfunc.C: use frontends for LaTeX and VC logs
16943
16944 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16945
16946         * LaTeX.h: yet another std:: that Allan forgot.
16947
16948         * Variables.C (set): renamed from isset(), because this clashes
16949         with some HP-UX macros (grr).
16950
16951 2001-02-06  Allan Rae  <rae@lyx.org>
16952
16953         * LaTeX.h: Another bug fix.  Missing std:: this time.
16954
16955 2001-02-04  Allan Rae  <rae@lyx.org>
16956
16957         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16958         floats problem. I've left it commented out because it's not quite
16959         correct.  It should also test that the current object is a table or
16960         figure inset.  But I haven't gotten around to figuring out how to do
16961         that.  I *think* it'll be something like: "table" == inset.type()
16962
16963         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16964         bool.
16965
16966 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16967
16968         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16969         all the citation/databases/styles in the auxilary file.
16970         (run): Rerun latex if there was a babel language error.
16971
16972 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16973
16974         * text.C (Backspace): Preserve the font when changing newline char
16975         with a space.
16976         (BreakParagraph): If the cursor is before a space, delete the space.
16977
16978         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16979
16980 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16981
16982         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16983         new argument (code).
16984         (ChangeCitationsIfUnique): New method.
16985
16986         * paragraph.C (GetPositionOfInset): Handle bibkey.
16987
16988 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16989
16990         * BufferView_pimpl.h: change type of Position::par_pos to
16991         LyXParagraph::size_type.
16992
16993 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16994
16995         * BufferView_pimpl.C (savePosition, restorePosition): Write
16996         messages to minibuffer.
16997
16998 2001-01-28  José Matos  <jamatos@fep.up.pt>
16999
17000         * buffer.C (makeDocBookFile): adds support for document language.
17001         A silly restriction on the name of LatexCommand types where removed.
17002         Added support for CDATA sections, allows to chars unescaped, used
17003         among others in code, to avoid escape < and >.
17004
17005 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17008         saved positions instrad of a stack. Furthermore, a position is
17009         stored using paragraph id/paragraph position.
17010
17011         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17012         Remove LFUN_REF_BACK.
17013
17014 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17015
17016         * converter.C (dvipdfm_options): New method.
17017
17018 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17019
17020         * vspace.C (isValidLength): Fix for empty input string.
17021
17022 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17023
17024         * LyXAction.C (init): change description of LFUN_FIGURE to
17025         "Insert Graphics"
17026
17027 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17028
17029         * LaTeX.C: add using directive
17030
17031 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17032
17033         * MenuBackend.C (expand): Fix the sorting of the formats.
17034
17035 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17036
17037         * lyx_main.C: tiny error message fix
17038
17039 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17040
17041         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17042         calling fl_initialize(). This fixes the problem with ',' as
17043         decimal separator in text files.
17044
17045 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17046
17047         * trans.C (process): Fix the keymap bug.
17048
17049 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17050
17051         * LaTeX.C (scanAuxFiles): New method. Provides support for
17052         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17053         (scanLogFile) Scan for "run BibTeX" messages.
17054
17055         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17056         OT1 font encoding. Also, load the aecompl package if the ae
17057         package is loaded.
17058
17059         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17060
17061 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17062
17063         * texrow.C (increasePos): turn two error messages into debug
17064         messages.
17065
17066 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17067
17068         * LaTeX.C (scanAux): Handle the \@input macro.
17069         (runBibTeX): Use scanAux().
17070
17071         * language.C (latex_options_): New field.
17072
17073         * LaTeXFeatures.C (getMacros): Add language macros.
17074
17075         * buffer.C (makeLaTeXFile): Small fix.
17076
17077 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17078
17079         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17080
17081         * text2.C: add a using directive.
17082
17083 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17084
17085         * BufferView2.C:
17086         * lyx_gui_misc.h:
17087         * lyxfr1.C:
17088         * lyxfunc.C: kill LyXBell.
17089
17090 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17091
17092         * text.C (IsBoundary): Remove the error message
17093
17094         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17095
17096         * lyxrc.C (setDefaults): Correct initialization value for
17097         font_norm_type.
17098
17099 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17100
17101         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17102         gotoError().
17103
17104         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17105         and GotoNextNote().
17106
17107         * src/LyXAction.C: Added reference-next.
17108
17109         * text.C (InsertChar): Use contains instead of strchr.
17110
17111         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17112
17113 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17114
17115         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17116         alignment commands (when needed).
17117
17118         * text.C (InsertChar): Add ':' to number separator chars.