]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ws changes mostly
[lyx.git] / src / ChangeLog
1 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * buffer.C: format up to 241.
4         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
5         break if pasting into ERT
6         * lyxfunc.C (getStatus): suppress mathpanel and
7         LFUN_DIALOG_SHOW_NEW_INSET in ERT 
8
9 2005-02-01  Angus Leeming  <leeming@lyx.org>
10
11         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
12
13 2005-02-01  Angus Leeming  <leeming@lyx.org>
14
15         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
16         calling fs::is_directory().
17
18 2005-01-31  Angus Leeming  <leeming@lyx.org>
19
20         * lyx_main.C (priv_exec): specify explicitly the relative location
21         of the top level build directory when run in-place.
22
23 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
26         LyXText containing the cursor, not the top-level one.
27
28         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
29         true. 
30         (insertStringAsLines): rename par to pit; use temporary variable
31         par to hold a Paragraph; do not store par.layout() in a variable,
32         since the pointer may die when breaking paragraphs; pass pars to
33         breakParagraph() instead of Buffer::paragraphs().
34
35 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
36
37         * lyxlex_pimpl.h: #include <fstream>.
38
39         * BufferView.[Ch] (getLyXText): add a const version.
40
41         * BufferView_pimpl.C: add debug aids.
42
43         * RowList_fwd.h:
44         * buffer.h:
45         * lyxrow.h:
46         * paragraph_funcs.h: add commentary explaining what the class does.
47
48
49         * coordcache.[Ch]: add lots of commentary.
50         (startUpdating, doneUpdating): debug aids.
51         (arrays, insets, parPos, getParPos): accessors to private data.
52
53         * cursor_slice.[Ch] (text): add a const version.
54         * dociterator.[Ch] (text, innerText): add const versions.
55
56         * lyxtext.h (breakParagraph): change the keep_layout arg to a
57         bool.
58
59         * paragraph.C (getRow, pos2ros): add asserts.
60
61         * paragraph.h: add commentary. Lots of.
62
63         * paragraph.[Ch] (metrucs, draw): removed.
64
65         * cursor.C:
66         * rowpainter.[Ch]: const-correct changes.
67
68         * text.C: various obvious clean-ups. Removal of ancient cruft.
69         Bug fixes, even.
70         
71 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
72
73         * vc-backend.C (find_file): rewrite to use boost.filesystem
74         (scanMaster): ditto
75
76         * main.C (main): set default name check for boost.filesystem to
77         no check
78
79         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
80         (open): ditto
81         (doImport): ditto
82         (actOnUpdatedPrefs): ditto
83
84         * lyx_main.C (init): rewrite to use boost.filesystem
85         (queryUserLyXDir): ditto
86
87         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
88         (getContentsOfAsciiFile): ditto
89
90         * lastfiles.C (readFile): rewrite to use boost.filesystem
91
92         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
93
94         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
95         (loadLyXFile): ditto
96
97         * buffer.C (Buffer): adjust for destroydir
98         (getLogName): rewrite to use boost.filesystem
99         (setFileName): ditto
100         (save): use fs::copy_file (from fs_extras)
101
102         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
103
104         * LaTeX.C (run): rewrite to use boost.filesystem
105         (scanAuxFiles): ditto
106         (handleFoundFile): ditto
107
108 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
111
112         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
113
114 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
115
116         * lyxlayout.[Ch]: change some vars from float to double
117
118         * buffer.C (readFile): make a local var const
119
120         * Several files: use convert<> instead of atoi,strToXXX and friends
121
122 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
123
124         * LaTeXFeatures.[Ch]: Add a static list packages_ that
125         holds the contents of packages.lst. New functions getAvailable
126         and isAvailable to parse and check that list, resp.
127
128         * LyXAction.C:
129         * lfuns.h:
130         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
131
132         * bufferparams.[Ch]: new param output_changes.
133
134         * Buffer.C: increase file format to 240.
135         Use output_changes and isVailable.
136
137         * changes.[Ch]:
138         * paragraph.C:
139         * paragraph_pimpl.C: Use output_changes and isVailable.
140
141 2005-01-23  Angus Leeming  <leeming@lyx.org>
142
143         * output_latex.C: #include "insetbibitem.h", rather than
144         forward declare function bibitemWidest.
145
146 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
147
148         * lyx_main.C (init): make it compile on the Mac.
149
150 2005-01-20  Angus Leeming  <leeming@lyx.org>
151
152         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
153         (setLyXMisc): (char string literal) != (char string literal) is
154         performing a comparison on the addresses. Convert one operand
155         explicitly to string to guarantee expected behaviour.
156         From MSVC warning.
157
158 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
159
160         * buffer.C:
161         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
162
163         * output_plaintext.C: remove unneeded #include gzstream.h.
164
165 2005-01-20  Angus Leeming  <leeming@lyx.org>
166
167         * SpellBase.h: rename some of the elements of the Result enum.
168
169         * aspell_local.h:
170         * ispell.h:
171         * pspell.h:
172         * aspell.C (check):
173         * ispell.C (check):
174         * pspell.C (check): ditto
175
176 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
177
178         * buffer.C: add #include <fstream>.
179
180         * lyx_main.C (init): Compile fix.
181
182         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
183
184 2005-01-20  Angus Leeming  <leeming@lyx.org>
185
186         * mover.h: change commentary to reflect the changed meaning of
187         the $$s placeholder.
188
189 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * output_linuxdoc.C (linuxdocParagraphs): silence warning
192
193         * lyxfind.C (MatchString::operator()): remove bogus semicolon
194
195 2005-01-20  Angus Leeming  <leeming@lyx.org>
196
197         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
198         printing diagnostic data by not dereferecing an iterator past the
199         end.
200
201 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
202
203         * buffer.C (readHeader): use "&&" rather than "and".
204
205         * lyxserver.h (inPipeName, outPipeName): make these const.
206
207 2005-01-19  Angus Leeming  <leeming@lyx.org>
208
209         * lyx_main.C (error_handler, init): protect SIGHUP with
210         #ifdef SIGHUP guards.
211
212 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
213
214         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
215
216 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * text.C (setHeightOfRow): add a margin at the top and bottom of
219         the document (bug 1761)
220
221 2005-01-17  Angus Leeming  <leeming@lyx.org>
222
223         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
224         with "python ". Workaround for a brain-dead Windows.
225
226 2005-01-16  Angus Leeming  <leeming@lyx.org>
227
228         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
229         for MacOSX and Windows to use prependEnvPath.
230         Strip out the hard-coded block to add elements to the PATH for
231         MacOSX and replace it with a call to prependEnvPath using the
232         contents of LyXRC::path_prefix.
233         (queryUserLyXDir): strip out the code to run reconfigure, instead
234         returning a boolean indicating the necessity to do so.
235         (reconfigureUserLyXDir): contains the code to reconfigure the
236         user support directory. Is now called after the various LyXRC data
237         files have been read.
238
239         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
240
241 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
242
243         * converter.[Ch] (convert): take a new parameter try_default. Use
244         a default converter (imagemagick) if try_default is true.
245
246 2005-01-13  Angus Leeming  <leeming@lyx.org>
247
248         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
249         os::cygwin_path_fix.
250         (write): output LyXRC::cygwin_path_fix as necessary.
251
252 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
253
254         * lyxrc.h:
255         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
256
257 2005-01-12  Angus Leeming  <leeming@lyx.org>
258
259         * lyx_main.C (init): set the PATH variable to include the
260         directory containing the LyX binary when running on Mac or Windows.
261
262 2005-01-12  Angus Leeming  <leeming@lyx.org>
263
264         * lyx_main.C (init): remove cruft that purports to set the locale
265         dir. It doesn't and is not needed anyway.
266
267 2005-01-10  Angus Leeming  <leeming@lyx.org>
268
269         * Makefile.am: remove the lyx_main.C special casing.
270
271         * BufferView_pimpl.C:
272         * bufferlist.C:
273         * exporter.C:
274         * lyx_cb.C:
275         * lyx_main.C:
276         * lyxfunc.C:
277         * messages.C: use support/package.h to provide the paths to the
278         various directories used by LyX.
279
280 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
281
282         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
283         layout if pasting into an empty paragraph)
284
285 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
286
287         * tex-accent.C: add <string>
288
289 2005-01-06  José Matos  <jamatos@lyx.org>
290
291         * ParagraphParameters.C (write): put every parameter in its own line.
292         * paragraph.C (write): reduce number of consecutive empty lines exported.
293         * buffer.C (LYX_FORMAT): increase file format to 239.
294
295 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * everywhere: change support/tostr.h -> support/convert.h
298
299         * tabular.C: make all write_attributes templates, tostr -> convert
300
301         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
302         (emptyTag): and -> &&, and fix type for ret from getChar
303         (getFirstWord): fix type for ret from getChar
304         (onlyText): and -> &&
305         (simpleDocBookOnePar): and not -> && !, fix type for ret from
306         getChar
307
308         * toc.C (goTo, action):
309         * text3.C (dispatch):
310         * text.C (currentState):
311         * tex-accent.C (DoAccent):
312         * sgml.C:
313         * lyxrc.C:
314         * lyxfunc.C (menuNew):
315         * lyxfinc.C (replace):
316         * counters.C (laberItem):
317         * bufferview_funcs.C (font2string):
318         * bufferparams.C (writeFile):
319         * buffer.C (readFile):
320         * Spacing.C (set):
321         * MenuBackend.C: tostr -> convert
322
323         * LaTeX.C (runMessage): fix format
324         (scanAuxFiles): tostr -> convert
325
326         * BufferView_pimpl.C (savePosition): fix format
327         (restorePosition): ditto
328         (dispatch): ditto
329
330 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
331
332         * Spacing.[Ch]: New method getValueAsString().
333
334         * Spacing.[Ch]:
335         * bufferparams.C:
336         * ParagraphParameters.C:
337         * lyxlayout.C:
338         * text.C:
339         * text3.C: store/read spacing value as string.
340
341         * rowpainter.C: change float value (spacing_val) to double.
342
343         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
344         broken custom document spacing).
345
346 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
347
348         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
349         namespace, also more use of temp references and const
350
351         * cursor.[Ch] (getStatus): move to lyxfunc.C
352
353         * bufferparams.C: reformat slightly
354
355         * bufferview_funcs.C (font2string): constify arg
356
357         * changes.C:
358         * converter.C:
359         * counters.C:
360         * bufferlist.C:
361         * buffer_funcs.C: (many funcs): constify arg on function
362         definitions, also make more local vars const, also add ASSERTS on
363         pointer args.
364
365         * buffer.C (LYX_FORMAT): put const in correct place
366         (many funcs): constify arg on function definitions, also make
367         more local vars const
368
369         * aspell_local.h: remove "struct" from typdef setup
370
371         * aspell.C (check): make word_ok const
372         (nextMiss): simplify slightly
373         (error): ditto
374
375 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
376
377         * lyxrc.[Ch]: store all float values as strings.
378         use int (not float) for lyxrc.dpi.
379
380 2005-01-04  Angus Leeming  <leeming@lyx.org>
381
382         * lyx_cb.C (Reconfigure):
383         * lyx_main.C (queryUserLyXDir):
384         to run the <system_lyxdir>/configure correctly on Windows, prefix
385         the path to the script with "sh " when generating the string that
386         is passed to system().
387
388 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
389
390         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
391
392 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxlength.C (asLatexString): get rid of setprecision
395
396 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text2.C (setLayout): remove unused variable endpit.
399         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
400
401         * paragraph.C (onlyText): remove unused variable style.
402
403         * cursor.C (bruteFind): remove unused variables beg and end.
404
405         * Makefile.am (dist_noinset_DATA): not needed anymore
406
407         * cheaders/*: remove.
408
409 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * text3.C: fix LFUN_MATH_MODE.
412
413 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * buffer_funcs.C (countWords): new function. Counts words between
416         two iterators.
417
418         * BufferView_pimpl.C (getStatus, dispatch): handle
419         LFUN_WORDS_COUNT.
420
421         * LyXAction.C (init):
422         * lfuns.h: add LFUN_WORDS_COUNT.
423
424 2004-12-19  Angus Leeming  <leeming@lyx.org>
425
426         * buffer.C (save): s/slashify_path/internal_path/.
427
428 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
429
430         * lyxfind.C (findChange): do not search for end of pars, because
431         the change tracker cannot handle this (fixes bug 1719).
432
433 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * paragraph.[Ch] (autoBreakRows): remove
436
437         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
438
439         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
440         avoid using the paragraph one
441
442         * text2.C (LyXText, insertStringAsLines): adjust
443
444 2004-12-16  Angus Leeming  <leeming@lyx.org>
445
446         * bufferlist.C:
447         * lyx_main.C:
448         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
449
450 2004-12-14  Angus Leeming  <leeming@lyx.org>
451
452         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
453
454         * bufferlist.C (emergencyWrite):
455         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
456         GetEnvPath("HOME").
457
458 2004-12-14  Angus Leeming  <leeming@lyx.org>
459
460         * main.C: (main): no longer pass pointers to os::init.
461
462 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * undo.C (textUndoOrRedo): simplify logic, fix a crash
465         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
466
467 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * lyxfunc.C:
470         * text3.C: remove selection_possible global flag
471
472 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * text2.C (getSelectionSpan): remove
475         (changeDepth, changeDepthAllowed): adjust
476
477 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
478
479         * Makefile.am (BOOST_LIBS): use boost variables
480
481 2004-12-03  José Matos  <jamatos@lyx.org>
482
483         * buffer.C: format up to 238.
484
485 2004-12-03  José Matos  <jamatos@lyx.org>
486
487         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
488
489 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
490
491         * cursor.C (goUpDown): remove call to idxUpDown2
492
493 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
494
495         * tabular.[Ch]: use size_t-like types for cell, row and column
496         indices
497
498 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * lyxfunc.C (getStatus): do not lose previous information when
501         calling BufferView::getStatus; do not set a default "Command
502         disabled" message at the beginning, but just before returning.
503
504 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
505
506         * cursor.h (getStatus): add better comment from src/cursor.C
507
508 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * text3.C (getStatus): return false when the lfun is not handled
511
512 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * broken_headers.h: remove
515
516         * Makefile.am (lyx_SOURCES): remove broken_headers.h
517
518 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
521         offset_ref accessors
522
523         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
524         top_y_, merge fitcursor with update
525         (updateScrollbar, scrollDocView, fitCursor, center, update): new
526         coord scheme
527         (metrics): introduce
528         (workAreaDispatch): adapt to new coord scheme
529         (redoCurrentBuffer): remove
530
531         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
532
533         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
534         CurStatus enum.
535
536         * coordcache.[Ch]: add paragraph cache and helpers
537
538         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
539         adjust everywhere
540
541         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
542         (targetX, setTargetX): introduce
543
544         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
545         baseline -> ascent, as the rest of lyx
546
547         * lyxtext.h: remove redoParagraphs, updateParPositions,
548         fullRebreak, redoParagraphInternal. move dist to anon namespace in
549         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
550         have ascent/descent (ascent is ascent of first par)
551
552         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
553         step of BufferView
554
555         * paragraph.[Ch]: unify dimension handling with the rest of lyx
556
557         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
558
559         * pariterator.C: fix infinite loop introduced in par->pit renaming
560
561         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
562         in insets and LyXText, draw two off-screen paragraphs using
563         NullPainter, and adapt to new coord scheme
564
565         * text.C:
566         * text2.C:
567         * text3.C: adapt lfun handlers to the new coord scheme, which
568         means: there's only guaranteed coord information for onscreen pars
569         plus one above and one below. This implies that one can do search
570         from y coordinates in the range [-1,workHeight]
571
572 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
573
574         * rename a lot of InsetOld to InsetBase
575
576 2004-11-25  Angus Leeming  <leeming@lyx.org>
577
578         * BufferView_pimpl.C:
579         * lyx_cb.C:
580         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
581
582 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
585         call BufferView::getStatus if LCursor::getStatus did nothing
586         (setStatusMessage, getStatusMessage): removed.
587
588         * FuncStatus.C (message): new methods. Used to provide an error
589         message indicating why a command is disabled.
590         (clear, |=, FuncStatus): update for message.
591
592 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
593
594         * lyxfunc.C (dispatch): always call sendDispatchMessage
595
596 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
597
598         * BufferView.C:
599         * BufferView_pimpl.C:
600         * CutAndPaste.C:
601         * FontIterator.C:
602         * buffer.C:
603         * cursor.C:
604         * cursor_slice.[Ch]:
605         * dociterator.[Ch]:
606         * lyxfind.C:
607         * paragraph_funcs.C:
608         * pariterator.C:
609         * rowpainter.C:
610         * text.C:
611         * text2.C:
612         * text3.C:
613         * undo.C: par->pit renaming
614
615 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
616
617         * tabular.C (cellstruct): use initialization, store a shared_ptr
618         to insettext instead of the insettext directly, adjust to fit.
619         (operator=):  new function
620         (swap): new function
621         (rowstruct): use initialization
622         (columnstruct): use initialization
623         (ltType): use initialization
624
625
626         * lyxlength.h (swap): new function
627
628         * LColor.[Ch] (operator=): use the common semantics
629
630 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * lyxfind.C (findNextChange): update the bufferview after setting
633         the selection.
634
635 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
638         number of InsetOptArgs has already been inserted.
639
640         * output_latex.C (latexOptArgInsets): new method. This outputs all
641         the optarg insets, up to the limit defined in the layout file.
642         (optArgInset): removed
643         (TeXOnePar): call latexOptArgInsets; correctly update texrow
644
645 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * paragraph.C (isLetter): remove special spellchecker-related
648         code; return true also for digits
649         (isWord, isKomma): remove
650
651         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
652         * lyxfind.C (MatchString()): use isLetter instead of isWord
653
654 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * pariterator.h (operatir=): comment out un-implemented member
657         function.
658
659         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
660         static cast.
661
662 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
663
664         * lyxfont.h: include LColor.h to satisfy concept checks.
665
666 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * pariterator.h: add typdefs for value_type, difference_type,
669         pointer and reference to satisfy concept checks. Also add default
670         constructor for same reason.
671
672         * pariterator.C (operator++): add post-increment operator to
673         satisfy concept checks.
674
675         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
676         checks.
677
678         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
679
680         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
681         checks. Also rename base_type to BaseType to follow naming
682         standard better.
683
684         * FloatList.h: include Floating.h to satisfy concept checks.
685
686 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * lyxfunc.C (getStatus): when the origin of the request is menu or
689         toolbar, and the LyXView does not have focus, do as if there was
690         no buffer (bug 1720)
691
692         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
693         FuncRequest to individual entries of LFUN_SEQUENCE
694
695 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * output_latex.C (TeXOnePar): override runparams.moving_arg
698         according to the needprotect value of the current paragraph (bug
699         1739)
700
701         * paragraph.C (simpleTeXOnePar): no need to override
702         runparams.moving_args here
703
704 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
705
706         * vspace.C: fix off-by-one-error, related to fix #1682
707
708 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * lengthcommon.C: a more general fix for bug 1682
711
712 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * text.C (backspace): fix crash
715
716 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * format.[Ch] (getFormatFromFile): new method
719         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
720
721 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
724
725 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * lyxfunc.C (dispatch): remove the verbose argument
728         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
729         instead
730
731         * kbmap.C (defkey): set the origin of func to KEYBOARD
732
733         * MenuBackend.C (MenuItem):
734         * ToolbarBackend.C (add): set the origin of func to UI
735
736         * funcrequest.[Ch]: add origin member, which indicates which part
737         of LyX requests an action
738
739 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
740
741         * converter.C (move): don't lie in the error message
742         * converter.h (isReachable, move): document
743
744 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
745
746         * buffer.C: remove unused using lyx::support::atoi
747         * paragraph_funcs.C: ditto
748
749 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
750
751         * bufferlist.C (exists): use bind and equal_to instead of
752         compare_memfun
753         (getBuffer): ditto
754         * lyxtextclasslist.C (NumberOfClass): ditto
755
756         * cursor.C (insert): use for_each instead of explicit for loop
757
758         * bufferlist.C (getFileNames): use std::transform and
759         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
760
761         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
762         for loop
763
764         * buffer.C (changeLanguage): use for_each instead of explicit for
765         loop
766         (hasParWithID): implement using getParFromID
767
768         * LaTeXFeatures.C: ws change only
769
770         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
771         to cleanup a bit.
772
773         * BufferView_pimpl.C (trackChanges): use for_each instead of
774         expilicit for loop
775
776 2004-11-04  André Pönitz  <poenitz@gmx.net>
777
778         * undo.h:
779         * undo.C (textUndoOrRedo): fix crash when creating undo information.
780
781         * dociterator.C (asDocIterator): use hard assert again.
782
783 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * lyxlength.C (asLatexString): rewrite so that it does not use
786         snprintf anymore
787
788 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * text3.C (specialChar, dispatch): make sure cursor moves to the
791         right after inserting an inset
792
793 2004-11-02  José Matos  <jamatos@lyx.org>
794
795         * output_docbook.C (docbook):
796         * paragraph.C (getID):
797         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
798         garantee that the output is always legal.
799
800         * tabular.C (docbook):
801         * outputprams.[Ch]: remove mixed contents.
802
803 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
804
805         * text2.C (setCounter): prevent endless loop
806
807 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * exporter.C (copyFile): use the mover instead of support::copy()
810         * exporter.C (Export): pass format and latex name to copyFile()
811         * exporter.h (addExternalFile): document
812         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
813
814 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
815
816         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
817
818 2004-10-30  José Matos  <jamatos@lyx.org>
819
820         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
821         text and no inset or font change. This allows to use CDATA
822         sections just for the whole paragraph.
823
824 2004-10-30  José Matos  <jamatos@lyx.org>
825
826         * paragraph.C (getFirstWord): remove unused variable.
827
828 2004-10-30  José Matos  <jamatos@lyx.org>
829
830         * paragraph.C (getFirstWord): the content should always be escaped
831         there.
832         (simpleDocBookOnePar):
833         * output_docbook.C (makeEnvironment): replace reference to CDATA
834         to style pass_thru.
835
836 2004-10-30  José Matos  <jamatos@lyx.org>
837
838         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
839
840 2004-10-30  José Matos  <jamatos@lyx.org>
841
842         * output_docbook.C (makeParagraphs):
843         * paragraph.[Ch] (emptyTag): for docbook and company, if the
844         standard paragraph has only a given type of content drop the wrapper.
845
846 2004-10-29  José Matos  <jamatos@lyx.org>
847
848         * output_docbook.C (makeEnvironment):
849         * sgml.C (openTag):
850         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
851
852 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
853
854         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
855         (cleanID): sanitize any id.
856
857 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
858
859         * buffer.C, lyxlex_pimpl.C:
860         * lyxlex_pimpl.C (setFile):
861         s/getExtFromContents/getFormatFromContents/
862
863 2004-10-28  José Matos  <jamatos@lyx.org>
864
865         * output_docbook.C (makeEnvironment): move id to broadest possible
866         scope.
867
868         * sgml.C (openTag): apply substitution of <> for all attributes.
869
870 2004-10-28  José Matos  <jamatos@lyx.org>
871
872         * buffer.C (makeLinuxDocFile, makeDocBookFile):
873         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
874         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
875
876         * sgml.[Ch]: new version for open and closeTag for paragraph and
877         for strings. Now they handle the ids of paragraphs.
878
879 2004-10-26  Angus Leeming  <leeming@lyx.org>
880
881         * Makefile.am: add mover.[Ch].
882
883         * converter.C (convert, move): use the new Movers to move external
884         files to the temp directory.
885
886         * lyx_main.C (init): ensure that the global system_movers data
887         is initialised.
888
889         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
890         preferences file.
891
892         * mover.[Ch]: new files, defining a Mover as a utility to move an
893         external file between directories and, if necessary, manipulate this
894         file using a helper script.
895
896 2004-10-25  José Matos  <jamatos@lyx.org>
897
898         * output_docbook.C (makeCommand): merge two if's that tested the
899         same condition.
900
901 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * sgml.C (escapeString): fix warning in a better way
904
905 2004-10-25  José Matos  <jamatos@lyx.org>
906
907         * sgml.C (escapeString): import the require boosts header file for
908         tie, and avoid a signed unsigned comparison.
909
910 2004-10-25  José Matos  <jamatos@lyx.org>
911
912         * sgml.h: add #include <string>
913
914 2004-10-25  José Matos  <jamatos@lyx.org>
915
916         * sgml.[Ch] (escapeString): new function to escape all the string.
917
918 2004-10-24  José Matos  <jamatos@lyx.org>
919
920         * paragraph.[Ch] (getFirstWord): new function to get the first
921         word. Useful for description.
922         (simpleDocBookOnePar): remove depth argument, add another that
923         says where to start the paragraph.
924
925         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
926         use the new functions to fix cleanly the support for descriptions.
927
928 2004-10-24  José Matos  <jamatos@lyx.org>
929
930         * buffer.C (makeLinuxDocFile, makeDocBookFile):
931         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
932         * output_linuxdoc.C (linuxdocParagraphs):
933         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
934         add buffer as argument.
935
936 2004-10-24  José Matos  <jamatos@lyx.org>
937
938         * output_docbook.C (makeEnvironment, searchEnvironment): place
939         CDATA inside paragraphs and fix scope for listitems.
940
941 2004-10-24  José Matos  <jamatos@lyx.org>
942
943         * output_docbook.C: remove using statement for stack.
944
945 2004-10-23  José Matos  <jamatos@lyx.org>
946
947         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
948         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
949         docbook. The new scheme is recursive and makes use of iterators, the
950         same as latex export works.
951         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
952         directly with the paragraph contents. This code was moved up to
953         output_docbook.C (docbookParagraphs).
954         * sgml.C (openTag, closeTag): removed unneeded newlines.
955         (closeEnvTags) removed.
956
957 2004-10-23  André Pönitz  <poenitz@gmx.net>
958
959         * undo.C (textUndoOrRedo):
960         * dociterator.C (asDocIterator): work around crash
961
962         * cursor.C (getStatus): replace ASSERT by more verbose error message
963           and manual correction of the problem. Should increase stability
964           while providing more sensible information.
965
966 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
969
970         * bufferlist.C (previous, next): new methods
971
972         * lfuns.h:
973         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
974
975 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
976
977         * buffer.C (makeDocBookFile): add dsssl stylesheet control
978         entities to preamble.
979
980 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * messages.C (Pimpl): strip off translation context information
983
984 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
987         the cursor is correct (bug 1694)
988
989 2004-10-13  José Matos  <jamatos@lyx.org>
990
991         * output_docbook.C (docbookParagraphs): fix closing tags in the
992         end of the document.
993
994 2004-10-09  José Matos  <jamatos@lyx.org>
995
996         * buffer.C: format up to 237.
997         * bufferparams.C (write): use tostr to convert booleans to strings.
998
999 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1002
1003 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * LaTeX.C: implement use of babel language in xindy.
1006
1007 2004-10-05  José Matos  <jamatos@lyx.org>
1008
1009         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1010         Add new translators to help reading and writing the lyx file.
1011
1012 2004-10-05  José Matos  <jamatos@lyx.org>
1013
1014         * ParagraphParameters.C (read):
1015         * text.C (readParToken): replace nexToken by more appropriate lex
1016         methods.
1017
1018 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1019
1020         * LaTeX.C (runMakeIndex):
1021         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1022         (usually 'makeindex') configurable.
1023
1024         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1025         with a variable rather than with a number.
1026
1027 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1028
1029         * output_latex.C (TeXOnePar): make sure font setting is the first
1030         thing that gets output (and the last at the end). Should fix bug
1031         1404.
1032
1033 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1034
1035         * pch.h: use proper signal include
1036
1037         * LaTeX.h: Use preferred calling of Boost.Signal
1038         * buffer.h: ditto
1039
1040 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1041
1042         * pch.h: dont include <boost/function/function0.hpp>
1043
1044         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1045
1046         * paragraph_pimpl.h: remove usage of ShareContainer
1047
1048         * paragraph_pimpl.C: remove initialization of ShareContainer.
1049
1050 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         Fix bug #1666
1053
1054         * BufferView.C (putSelectionAt): change the semantics when
1055         backwards == true: now, this just swaps cursor and anchor wrt the
1056         forward case
1057
1058         * BufferView.h (putSelectionAt): add some documentation
1059
1060         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1061         make sure backwardChar is done at least once (to avoid getting
1062         stuck)
1063         (findNextChange): use putSelectionAt in the forward direction
1064         (operator()): use Paragraph::isWord
1065
1066 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1067
1068         * Spacing.C (set): c_str fix
1069
1070 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * lyx_cb.C (Reconfigure): quote the name of configure script in
1073         case it contains spaces
1074
1075 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1076
1077         * client: new dir
1078
1079         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1080         (BOOST_LIBS): use top_buildir when looking for the file
1081
1082 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1083
1084         * pch.h: do not use include boost/format.hpp, multiple symbols
1085                 will result (gcc bug)
1086
1087
1088 2004-08-23  José Matos  <jamatos@lyx.org>
1089
1090         * bufferparams.C (readToken): fix reading of the author field.
1091
1092 2004-08-20  José Matos  <jamatos@lyx.org>
1093
1094         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1095
1096 2004-08-20  José Matos  <jamatos@lyx.org>
1097
1098         * lyxlex.[Ch] (findToken): remove function.
1099
1100         * ParagraphParameters.C (findToken):
1101         * bufferparams.C (findToken): replace call for previous function
1102         with local copy. This local function has one more argument, the
1103         read string argument.
1104
1105 2004-08-16  José Matos  <jamatos@lyx.org>
1106
1107         * ParagraphParameters.C (write):
1108         * Spacing.C (writeFile):
1109         * bufferparams.C (writeLaTeX):
1110         * lyx_cb.C (Reconfigure):
1111         * paragraph.C (write):
1112         * tabular.C (write): remove unnecessary space at end of line.
1113
1114
1115 2004-08-16  José Matos  <jamatos@lyx.org>
1116
1117         * text.C (readParagraph): remove debug message.
1118
1119 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1120
1121         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1122         crash
1123
1124         * output_plaintext.C (asciiParagraph): set depth correctly
1125
1126         * outputparams.h: add member depth
1127
1128         * paragraph_funcs.C (ownerPar): remove.
1129
1130         * text2.C (setCounter): remove first_pit; comment out some
1131         non-working code that uses ownerPar
1132
1133         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1134         uses ownerPar
1135
1136 2004-08-16  José Matos  <jamatos@lyx.org>
1137
1138         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1139         For the same level of importance use the same chanel to report problems.
1140         (read): add code to deal with \begin_body and \end_body.
1141
1142
1143 2004-08-15  José Matos  <jamatos@lyx.org>
1144
1145         * lyxlex.C (getString): fix comment, buffer::readBody is now
1146         buffer:readDocument.
1147
1148         * tex-strings.C (string_papersize): Default -> default,
1149         Custom -> custom, for consistency with other options.
1150
1151 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1152
1153         * pch.h: new file
1154
1155         * Makefile.am: support pch
1156
1157 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * text.C (readParToken): remove the static LyXFont variable and
1160         pass it as a parameter instead. This fixes a nasty bug where an
1161         inset will be inserted with a bad font in some situations
1162         (readParagraph): adapt
1163
1164         * text2.C (setCounter): reduce number of calls to pars_[pit]
1165
1166         * text.C (singleWidth): add an assert, fix a test
1167
1168         * rowpainter.C (paintText): reduce number of calls to singleWidth
1169
1170         * paragraph.C (isHfill):
1171         (isNewline): ws only
1172
1173 2004-08-14  André Pönitz  <poenitz@gmx.net>
1174
1175         * text.C:
1176         * text2.C:
1177         * rowpainter.C:
1178         * lyxtext.h (several functions): use a Paragraph & argument
1179         instead of par_type
1180
1181 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1184
1185         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1186
1187         * text.C (singleWidth): remove useless test
1188
1189 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * tabular.h: remove bogus comments
1192
1193         * tabular.C (getDescentOfRow):
1194         (isPartOfMultiColumn): add assertions
1195
1196         * lyxlength.C (inPixels): remove #warning
1197
1198 2004-08-14  André Pönitz  <poenitz@gmx.net>
1199
1200         * paragraph.h: inline getChar()
1201
1202         * BufferView.h: remove unused declarations
1203
1204 2004-08-14  José Matos  <jamatos@lyx.org>
1205
1206         * Buffer.[Ch] (readDocument): new name for old readBody.
1207         * Buffer.C: new file format, new keywords: \begin_document,
1208         \begin_header, \begin_body, \end_body.
1209
1210         * bufferparams.C (readToken): replace all calls to lex.nextToken
1211         by lex.next(). Do the same to eatLine except where really needed.
1212
1213         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1214         line when writing to the lyx file.
1215
1216         * output_plaintext.C (asciiParagraph): fix Bibliography style
1217         handling.
1218
1219         * text.C (read): fix end of file handling.
1220
1221 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * MenuBackend.C (Menu::operator[]): new method to access
1224         individual menu items
1225         (Menu::hasFunc): new method. search for an item that corresponds
1226         to a given func
1227         (MenuBackend::specialMenu): new method
1228         (MenuBackend::expand): if a special menu has been set, skip
1229         entries whose func() appears in this menu
1230
1231 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1232
1233         * text3.C: use Debug::DEBUG a bit more
1234
1235         * text.C (leftMargin): try to simplify a tiny bit change var x to
1236         l_margin. Dont output the wide margins always.
1237         (rightMargin): no margin in inner texts
1238
1239         * rowpainter.h (nestMargin): new func
1240         (changebarMargin): new func
1241         (rightMargin): new func
1242
1243         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1244         now functions.
1245         (paintLast): ditto
1246
1247         * factory.C (createInset): modify setDrawFrame
1248
1249         * cursor.C: use Debug::DEBUG a bit more
1250
1251 2004-08-14  André Pönitz  <poenitz@gmx.net>
1252
1253         * coordcache.[Ch]:
1254         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1255         cache for all insets in (at least partially) visible (top-level)
1256         paragraphs.
1257
1258         * BufferView_pimpl.C: reset external coord cache before every update.
1259         This means the coord cache only contains valid entries.
1260
1261 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1262
1263         bug 1096
1264         * BufferView_pimpl.C (getInsetByCode): move function out of class
1265         and change in to a template in anon namespace. Also fix to do what
1266         suits us better.
1267
1268 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1269
1270         bug 1305
1271         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1272         of char
1273         (breakParagraph): rename par to par_offset and use a local
1274         reference. Add code to keep the language over a rebreak.
1275         (breakParagraphConservative): rename par to par_offset, use a
1276         local reference
1277         (mergeParagraph): ditto
1278         (outerHook): ditto
1279         (isFirstInSequence): ditto
1280         (outerFont): rename pit to par_offset
1281
1282         * paragraph.C: ws change
1283         * paragraph.h: ditto
1284         * text3.C: ditto
1285         * text.C: ditto
1286
1287 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1290         treatment for ']'
1291
1292         * paragraph.C (simpleTeXOnePar): when we have a \item with
1293         optional argument, enclose the argument with curly brackets (in
1294         case it contains a closing square bracket)
1295
1296         * text2.C (editXY):
1297         * text2.C (editXY):
1298         * text3.C (checkInsetHit): constify
1299
1300 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1301
1302         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1303         documents (bug 1629)
1304
1305 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1306
1307         Fix toggling of collapsable insets with the mouse (bug 1558)
1308
1309         * lyxfunc.C (dispatch): adapt to LCursor changes
1310
1311         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1312         make sure that dispatch is not invoked twice
1313
1314         * cursor.C (needsUpdate): new method
1315         (dispatch): return void
1316         (result): new method, to access the DispatchResult of the cursor.
1317
1318 2004-08-13  José Matos  <jamatos@lyx.org>
1319
1320         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1321
1322 2004-08-13  André Pönitz  <poenitz@gmx.net>
1323
1324         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1325
1326         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1327           multiple cells
1328
1329 2004-08-12  André Pönitz  <poenitz@gmx.net>
1330
1331         * text3.C: take out the 'cursor right' form insertInset and only
1332         do it in those places when it is really needed. Fixes crash on
1333         C-m...
1334
1335 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1338
1339         * BufferView_pimpl.C (setBuffer): initialize the current font of
1340         the underlying LyXText
1341
1342 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * kbsequence.C (print): use UI native formatting for menu
1345         shortcuts
1346
1347         * text.C (insertChar): call Paragraph::insertChar with a font
1348         argument (cosmetic)
1349
1350         * paragraph.C (insertInset, insertChar): the version that takes a
1351         LyXFont argument is now a wrapper around the other one (the
1352         opposite used to be true).
1353
1354         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1355         argument. Font setting is done in Paragraph now.
1356
1357 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         * outputparams.h: add new members intitle and lang.
1360
1361         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1362         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1363
1364 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1365
1366         * text3.C (dispatch): remove special handling of button 4 and 5,
1367         it is now taken care of in the frontend code.
1368
1369 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1370
1371         * Spacing.h: add <string> (STLPort compile fix)
1372
1373 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1374
1375         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1376
1377 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1378
1379         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1380         to bool.
1381
1382         * converter.C (showMessage): inherit from unary_function, make
1383         operator() const.
1384
1385         * buffer.C (writeFile): initialize retval
1386
1387         * InsetList.h: rename private variable list to list_
1388         * InsetList.[Ch]: adjust accordingly.
1389
1390 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1391
1392         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1393         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1394         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1395         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1396         * ParagraphParameters.C, LaTeXFeatures.C: replace
1397         "support/std_sstream.h" with <sstream>
1398
1399 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1400
1401         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1402         * lyxsocket.C (LyXServerSocket): ditto
1403         (serverCallback): ditto
1404
1405 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1406
1407         * LaTeXFeatures.C: check release date when loading jurabib.
1408
1409 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1410
1411         * lyxserver.C (startPipe): call register_socket_callback
1412         (endPipe): call unregister_socket_callback
1413
1414 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1415
1416         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1417         (LyXServerSocket): register the callback
1418         (LyXServerSocket): unregister the callback
1419         (fd): delete function
1420         (serverCallback): improve error checking and setup the callbacks.
1421         (dataCallback): change arg to fd.
1422         (writeln): new func (copied fro the client socket) used for server
1423         write to client.
1424         (LyXDataSocket): simplify
1425         (~LyXDataSocket): close ann unregiser callback
1426         (server): delete function
1427         (fd): delete function
1428         (readln): small changes, improve some std::string usage
1429         (writeln): constify a bit
1430
1431 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1434         Qt frontend
1435
1436 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1439         after it has been populated
1440
1441 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * text2.C (insertInset): move cursor when inserting inset.
1444
1445 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * kbmap.C (findbindings): a couple of new methods. returns a
1448         container of kb_sequence objects. The real work is done by the
1449         private recursive version
1450         (printbindings): uses findbindings to print out a bracketed list
1451         of bindings (renamed from findbinding).
1452
1453         * MenuBackend.C (binding): use kb_keymap::findbindings
1454
1455         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1456
1457 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1458
1459         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1460
1461 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * paragraph.C (isWord): return true on insets that report
1464         isLetter().
1465
1466         * text.C (getWord): use Paragraph::isWord to decide what is in a
1467         word and what is not; fix bug 1609.
1468
1469 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1470
1471         * tex-strings.C: add "none" to string_paperpackages[], fixes
1472         off-by-one-error in the paperpackage selection.
1473
1474         * lyxlex.[Ch]:
1475         * tex-strings.[Ch]: char const * string[n]
1476         -> char const * const string[]
1477
1478 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1481         command, return early.
1482
1483 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1484
1485         * debug.h: add DEBUG to enum and fix size of ANY.
1486
1487         * debug.C: add support for Debug::DEBUG
1488         (showTags): cast errorTags.level to unsigned int
1489
1490         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1491         (redoCurrentBuffer): ditto
1492         (updateScrollbar): ditto
1493         * cursor.C (dispatch): ditto
1494         * text2.C (setLayout): ditto
1495         (setFont): ditto
1496         (updateCounters): ditto
1497         (editXY): ditto
1498         (deleteEmptyParagraphMechanism): ditto
1499
1500 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1503         annotations to cleanup the Makefile slightly.
1504
1505 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * lyxrc.C: do not set user_email to a default value but use empty
1508         instead. The entry used to be translated, which does not work
1509         since at the point where lyxrc is constructed there is no
1510         translation service available
1511
1512         * messages.C (getLocaleDir): remove and use directly
1513         lyx_localedir() instead
1514
1515 2004-06-02  Angus Leeming  <leeming@lyx.org>
1516
1517         Fix crash caused by dereferencing null pointer 'exportdata' in
1518         OutputParams by creating a new ExportData variable on the heap,
1519         storing it in a boost::shared_ptr.
1520         The crash was triggered when generating an Instant Preview
1521         of an external inset.
1522
1523         * Makefile.am: add outputparams.C
1524
1525         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1526         (c-tor): allocate memory to it.
1527
1528         * exporter.C (c-tor): associated changes.
1529
1530 2004-06-01  Angus Leeming  <leeming@lyx.org>
1531
1532         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1533         contains data before calling isInset(0). (Bug 1513.)
1534
1535 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1536
1537         * exporter.C (checkOverwrite): new method
1538         * exporter.C (copyFile): new method
1539         * exporter.C (Export): copy referenced files to the document dir
1540         * exporter.[Ch]: new class ExportedFile
1541         * exporter.[Ch]: new class ExportData. Contains currently the
1542         names of referenced external files
1543         * outputparams.h: add exportdata member.
1544
1545 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1548         version.C-tmp
1549
1550 2004-05-19  Angus Leeming  <leeming@lyx.org>
1551
1552         * LaTeXFeatures.C:
1553         * ToolbarBackend.C:
1554         * bufferparams.C:
1555         * lyxfunc.C: small changes due to the introduction of namespace
1556         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1557
1558 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * text3.C (dispatch): supress update when only moving the cursor
1561         * cursor.C (selHandle): remove commented code
1562
1563 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1564
1565         * paragraph.C (startTeXParParams): correct column count
1566         * CutAndPaste.C (pasteSelection): remove const_cast
1567         * output_docbook.C (docbookParagraphs): remove const_cast
1568         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1569         const_cast and return ParagraphList::const_iterator
1570         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1571         * output_plaintext.C (writeFileAscii): remove const_cast
1572         * paragraph.[Ch] (simpleTeXOnePar): make const
1573         * paragraph_funcs.C (outerPar): use const iterators
1574         * paragraph_pimpl.C (validate): use const iterators
1575         * text.C (setHeightOfRow): use const iterators
1576
1577 2004-05-17  Angus Leeming  <leeming@lyx.org>
1578
1579         * lfuns.h:
1580         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1581
1582         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1583         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1584         if the citation engine has changed.
1585
1586 2004-05-14  José Matos  <jamatos@lyx.org>
1587
1588         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1589         if the textclass does not provide it. Have it different for sgml and
1590         xml.
1591         support the language of document.
1592         * output_docbook.C (docbookParagraphs):
1593         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1594         first anchor as the id of the paragraph, remove special case code.
1595         * sgml.C (escapeChar): escape only < & >.
1596
1597 2004-05-14  Angus Leeming  <leeming@lyx.org>
1598
1599         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1600         dependencies on src/frontends/controllers/biblio.h. Define a
1601         CiteEngine_enum wrapper class to enable the enum to be forward
1602         declared.
1603
1604 2004-05-12  Angus Leeming  <leeming@lyx.org>
1605
1606         * buffer.C: up LYX_FORMAT to 234.
1607         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1608         use_numerical_citations with a single biblio::CiteEngine cite_engine
1609         variable.
1610         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1611
1612 2004-05-13  José Matos  <jamatos@lyx.org>
1613
1614         * converter.h:
1615         * converter.C (Converter, readFlags): add xml member.
1616         * outputparams.h: add XML flavor.
1617         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1618
1619 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * lyxfunc.C (dispatch):
1622         (getStatus): fix handling of LFUN_SEQUENCE
1623
1624 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * debug.C (showLevel): do not forget the end-of-line marker
1627
1628 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * kbmap.C (read): do not stop parsing a bind file when an error
1631         occurs (bug 1575)
1632
1633 2004-04-29  Angus Leeming  <leeming@lyx.org>
1634
1635         * cursor.C:
1636         * factory.C:
1637         * pariterator.C:
1638         * text2.C: wrap a bunch of #warning statements
1639         inside #ifdef WITH_WARNINGS blocks.
1640
1641 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1642
1643         * buffer.C: increment format to 233.
1644
1645 2004-04-28  Angus Leeming  <leeming@lyx.org>
1646
1647         * BufferView_pimpl.C:
1648         * lyxfunc.C:
1649         * text3.C:
1650         s/updateToolbar()/updateToolbars()/
1651         s/Toolbar.h/Toolbars.h/
1652
1653 2004-04-28  Angus Leeming  <leeming@lyx.org>
1654
1655         * BufferView.[Ch] (c-tor):
1656         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1657         No longer passes these data to the WorkArea generator.
1658
1659 2004-04-28  Angus Leeming  <leeming@lyx.org>
1660
1661         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1662
1663 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1664
1665         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1666
1667 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1668
1669         * output_latex.C (TeXEnvironment): make sure that there is a line
1670         break before \end{foo} for the last paragraph of a document
1671         (TeXOnePar): if the paragraph is at the end of the document (or
1672         inset) and the language has to be reset, then make sure that the
1673         line break is _before_ the language command, not after (fixes bug
1674         1225); also make sure that the language reset command is the first
1675         thing after the paragraph (to ensure proper nesting of
1676         environments and thus fix bug 1404)
1677
1678 2004-04-21  John Levon  <levon@movementarian.org>
1679
1680         * ToolbarBackend.h:
1681         * ToolbarBackend.C: make "name" be a programmatic name
1682         and a gui_name field.
1683
1684         * lyxfunc.C: display the minibuffer on M-x
1685
1686 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1689         (bug 1526)
1690
1691 2004-04-19  Angus Leeming  <leeming@lyx.org>
1692
1693         * BufferView_pimpl.C (setBuffer): changed preview interface.
1694
1695         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1696         possible values.
1697
1698 2004-04-19  John Levon  <levon@movementarian.org>
1699
1700         * BufferView_pimpl.C:
1701         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1702
1703 2004-04-05  Angus Leeming  <leeming@lyx.org>
1704
1705         * text.C (redoParagraphs): add call to updateCounters(), thereby
1706         fixing the missing "Figure #:" label from the caption of a
1707         figure float.
1708
1709 2004-04-13  Angus Leeming  <leeming@lyx.org>
1710
1711         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1712         cursor is clicked out of an inset.
1713
1714 2004-04-13  Angus Leeming  <leeming@lyx.org>
1715
1716         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1717         than an InsetOld one.
1718
1719 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1720
1721         * format.[Ch]: add editor to Format
1722         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1723         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1724
1725 2004-04-08  André Pönitz  <poenitz@gmx.net>
1726
1727         * metricsinfo.h: remove PainterInfo::width member
1728
1729 2004-04-08  Angus Leeming  <leeming@lyx.org>
1730
1731         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1732         "\providecommand" rather than "\newcommand", thereby preventing
1733         clashes with packages that define "\boldsymbol" themselves.
1734         Eg, beamer.
1735
1736 2004-04-08  Angus Leeming  <leeming@lyx.org>
1737
1738         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1739         thereby squashing an unnecessary warning.
1740
1741 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1742
1743         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1744         setBuffer()
1745
1746 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * BufferView.C (setCursor): call redoParagraph (some insets could
1749         have been opened)
1750         (putSelectionAt): remove the 'double update' trick
1751
1752         * BufferView_pimpl.C (fitCursor): call refreshPar
1753         (workAreaDispatch): remove an uneeded update call
1754         (dispatch): remove some manual update calls
1755
1756         * cursor.[Ch]: remove cached_y_, updatePos
1757         (selHandle): set noUpdate when appropriate
1758
1759         * lyxfunc.C (dispatch): track if we need an update
1760
1761         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1762
1763         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1764         (paintSelection): cheap optimization, do not call cursorX when not
1765         needed
1766         (paintPars): change signature
1767         (refreshPar): add
1768         (paintText): adjust
1769         (paintTextInset): adjust
1770
1771         * text.C: adjust
1772
1773 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1774
1775         * lengthcommon.C: compilation fix: remove explicit array size from
1776         unit_name[] and friends
1777
1778 2004-04-05  Angus Leeming  <leeming@lyx.org>
1779
1780         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1781
1782         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1783         present only for the preferences dialog.
1784         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1785
1786 2004-04-05  Angus Leeming  <leeming@lyx.org>
1787
1788         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1789         to enable the frontends to export changes to lyxrc correctly.
1790
1791         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1792
1793 2004-04-07  André Pönitz  <poenitz@gmx.net>
1794
1795         * cursor.[Ch] (selClear, adjust): remove math
1796
1797         * cursor_slice.C: more agressive assert
1798
1799         * lyxfunc.C:
1800         * BufferView_pimpl.C: rework mouse event dispatch
1801
1802         * dociterator.C:
1803         * paragraph.C:
1804         * text2.C:
1805         * text3.C: adjust
1806
1807 2004-04-05  André Pönitz  <poenitz@gmx.net>
1808
1809         * cursor.[Ch] (valign, halign...): remove unneeded functions
1810
1811 2004-04-05  Angus Leeming  <leeming@lyx.org>
1812
1813         * lyxlength.[Ch] (unit_name et al.): const-correct.
1814
1815 2004-04-05  Angus Leeming  <leeming@lyx.org>
1816
1817         * BufferView_pimpl.C:
1818         * buffer.C:
1819         * counters.C:
1820         * cursor.C:
1821         * lyxfunc.C
1822         * paragraph.C:
1823         * pariterator.C:
1824         * text.C:
1825         * text2.C:
1826         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1827
1828 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1829
1830         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1831
1832 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1833
1834         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1835         * BufferView_pimpl.[Ch] (getStatus)
1836         * BufferView.[Ch] (getStatus): add
1837         * lyxfunc.C (getStatus): move lfuns handled in
1838         BufferView::dispatch to te function above
1839         * Cursor.C (setSelection): set selection() = true
1840
1841 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1844
1845 2004-03-31  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyxfunc.C (dispatch): Fall through to the generic
1848         Dialogs::show("preamble").
1849
1850 2004-03-31  Angus Leeming  <leeming@lyx.org>
1851
1852         * lyxfunc.C (dispatch): Fall through to the generic
1853         Dialogs::show("spellchecker").
1854
1855 2004-03-31  Angus Leeming  <leeming@lyx.org>
1856
1857         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1858         preferences dialog.
1859
1860 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * BufferView.C
1863         * cursor.[Ch]
1864         * dociterator.[Ch]:
1865         * insetiterator.[Ch]:
1866         * lyxfind.C:
1867         * lyxfunc.C:
1868         * pariterator.[Ch]:
1869         * text2.C:
1870         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1871
1872 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1875         insets where we are putting the cursor.
1876
1877 2004-03-31  Angus Leeming  <leeming@lyx.org>
1878
1879         * lfuns.h:
1880         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1881
1882         * lyxrc.[Ch] (read, write): overloaded member functions taking
1883         a std::[io]stream arguments.
1884
1885         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1886
1887 2004-03-31  Angus Leeming  <leeming@lyx.org>
1888
1889         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1890         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1891
1892         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1893         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1894
1895 2004-03-31  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1898         the LFUN_ALL_INSETS_TOGGLE code.
1899
1900 2004-03-30  Angus Leeming  <leeming@lyx.org>
1901
1902         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1903         has died. Fall through to the generic Dialogs::show("document").
1904
1905 2004-03-30  Angus Leeming  <leeming@lyx.org>
1906
1907         * lfuns.h:
1908         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1909         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1910
1911         * lyxfunc.C (getStatus, dispatch): define the actions for these
1912         lfuns. Little more than a cut and pste job from ControlDocument.C
1913
1914         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1915
1916 2004-03-30  Angus Leeming  <leeming@lyx.org>
1917
1918         * lfuns.h:
1919         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1920         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1921
1922         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1923         open/closed state of ollapsable insets. Usage:
1924
1925         all-inset-toggle <state> <name>, where
1926         <state> == "open" || "closed" || "toggle" and
1927         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1928
1929         * lyxtext.h, text2.C (toggleInset): removed.
1930
1931         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1932         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1933         now passes LFUN_INSET_TOGGLE to the found inset.
1934
1935         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1936         is now invoked as "all-insets-toggle toggle branch".
1937
1938 2004-03-30  Angus Leeming  <leeming@lyx.org>
1939
1940         * dociterator.C:
1941         * insetiterator.C:
1942         * pariterator.[Ch]: added/corrected header blurb.
1943
1944 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * dociterator.[Ch]: add an inset_ member
1947         (backwardPos): implemented
1948         (backwardPos, forwardPos): use inset_ when the stack is empty.
1949         (doc_iterator_begin, doc_iterator_end): implemented
1950         * pariterator.[Ch]: adjust, add begin, end
1951         * insetiterator.[Ch]: adjust, add begin, end
1952         * cursor.C:
1953         * document.C:
1954         * BufferView.C:
1955         * BufferView_pimpl.C:
1956         * CutAndPaste.C: adjust
1957
1958 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1959
1960         * buffer.C: increment file format to 232.
1961         * LaTeXFeatures.C: add bibtopic package.
1962         * bufferparams.[Ch]: param \use_bibtopic.
1963
1964         * lyxrc.[Ch]: add lyxrc bibtex_command
1965         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1966
1967         * buffer.C: increment file format to 231.
1968
1969 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1970
1971         * dociterator.C: implement forwardPar
1972         * iterators.[Ch]: remove, replaced by
1973         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1974         * BufferView.C:
1975         * BufferView_pimpl.C:
1976         * CutAndPaste.C:
1977         * buffer.C:
1978         * bufferview_funcs.C:
1979         * cursor.C:
1980         * lyxfind.C
1981         * lyxfunc.C
1982         * paragraph_funcs.C
1983         * toc.C:
1984         * Makefile.am: adjust
1985
1986 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1987
1988         * CutAndPaste.C (pasteSelection): fix 2 crashes
1989         (eraseSelection): fix a crash
1990         * paragraph_funcs.C: remove a warning
1991
1992 2004-03-28  Angus Leeming  <leeming@lyx.org>
1993
1994         * lfuns.h:
1995         * LyXAction.C (init): new LFUN_PRINT.
1996
1997         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1998
1999 2004-03-27  Angus Leeming  <leeming@lyx.org>
2000
2001         * lfuns.h:
2002         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2003
2004         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2005
2006 2004-03-27  Angus Leeming  <leeming@lyx.org>
2007
2008         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2009         insetlist always contains non-null pointers to insets.
2010
2011 2004-03-26  Angus Leeming  <leeming@lyx.org>
2012
2013         * src/BufferView_pimpl.C:
2014         * src/CutAndPaste.C:
2015         * src/buffer.C:
2016         * src/iterators.C:
2017         * src/output_plaintext.C:
2018         * src/outputparams.h:
2019         * src/paragraph_funcs.C:
2020         * src/rowpainter.C:
2021         * src/text.C:
2022         * src/text2.C:
2023         * src/frontends/controllers/ControlErrorList.C:
2024         * src/frontends/gtk/FileDialogPrivate.C:
2025         * src/frontends/gtk/GPainter.C:
2026         * src/frontends/gtk/GToolbar.C:
2027         * src/frontends/qt2/QRef.C:
2028         * src/mathed/math_scriptinset.C: squash compiler warnings.
2029
2030 2004-03-26  Angus Leeming  <leeming@lyx.org>
2031
2032         * ispell.C (LaunchIspell::start):
2033         * lyx_cb.C (AutoSaveBuffer::start):
2034         invoke run(DontWait) rather than runNonBlocking().
2035
2036 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2039
2040 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2041
2042         * kbsequence.C (print): adjust
2043
2044         * kbmap.C (printKeySym): rename and change signature
2045         (printKey): use LyXKeySym::print()
2046
2047 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2048
2049         * undo.C: add using std::advance to compile for stlport
2050
2051 2004-03-24  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2054         it leads to a crash when no buffer is present.
2055
2056 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057             Martin Vermeer  <martin.vermeer@hut.fi>
2058
2059         * lyxfunc.C (dispatch):
2060         * bufferparams.C (readToken): use the new LColor::setColor
2061
2062         * LColor.[Ch] (setColor): new version that takes two strings as
2063         argument and creates a new color entry if necessary
2064
2065 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2066
2067         * buffer.C (makeLaTeXFile): if the main latex file that is
2068         processed is usually a subdocument of some master, then pretend
2069         for a while that it is actually the master
2070
2071 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2072
2073         * buffer.C (getLabelList):
2074         (getBibkeyList): use getMasterBuffer()
2075         (getMasterBuffer): new method. Returns the main document in the
2076         case where one is using included documents.
2077
2078 2004-03-25  André Pönitz  <poenitz@gmx.net>
2079
2080         * Makefile.am:
2081         * iterators.[Ch]:
2082         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2083
2084         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2085
2086         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2087         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2088
2089         * ParameterStruct.h: merge with ParagraphParameters
2090
2091         * lyxtext.h: remove LyXText::parOffset() and getPar()
2092
2093         * text3.C: Remove all 'manual' update calls. We do now one per user
2094         interaction which is completely sufficient.
2095
2096         * Bidi.C:
2097         * BufferView.[Ch]:
2098         * BufferView_pimpl.C:
2099         * FontIterator.[Ch]:
2100         * MenuBackend.C:
2101         * ParagraphParameters.[Ch]:
2102         * buffer.C:
2103         * buffer.h:
2104         * bufferlist.C:
2105         * cursor.[Ch]:
2106         * cursor_slice.[Ch]:
2107         * dociterator.[Ch]:
2108         * errorlist.[Ch]:
2109         * factory.C:
2110         * lfuns.h:
2111         * lyxfind.C:
2112         * lyxfunc.C:
2113         * output_docbook.[Ch]:
2114         * output_latex.[Ch]:
2115         * output_linuxdoc.[Ch]:
2116         * output_plaintext.[Ch]:
2117         * paragraph.[Ch]:
2118         * paragraph_funcs.[Ch]:
2119         * paragraph_pimpl.[Ch]:
2120         * rowpainter.C:
2121         * tabular.[Ch]:
2122         * text.C:
2123         * text2.C:
2124         * toc.C:
2125         * undo.[Ch]: adjust
2126
2127         * frontends/controllers/ControlDocument.C:
2128         * frontends/controllers/ControlErrorList.C:
2129         * frontends/controllers/ControlSpellchecker.C:
2130         * insets/inset.C:
2131         * insets/inset.h:
2132         * insets/insetbase.h:
2133         * insets/insetbibitem.C:
2134         * insets/insetbox.C:
2135         * insets/insetbranch.C:
2136         * insets/insetcaption.C:
2137         * insets/insetcharstyle.C:
2138         * insets/insetcharstyle.h:
2139         * insets/insetcollapsable.C:
2140         * insets/insetcollapsable.h:
2141         * insets/insetert.C:
2142         * insets/insetfloat.C:
2143         * insets/insetfoot.C:
2144         * insets/insetmarginal.C:
2145         * insets/insetnote.C:
2146         * insets/insetoptarg.C:
2147         * insets/insettabular.C:
2148         * insets/insettext.C:
2149         * insets/insettext.h:
2150         * insets/insetwrap.C:
2151         * mathed/math_mboxinset.C:
2152         * mathed/math_nestinset.C:
2153         * mathed/math_scriptinset.C:
2154         * mathed/math_scriptinset.h:
2155         * support/types.h:
2156
2157 2004-03-24  Angus Leeming  <leeming@lyx.org>
2158
2159         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2160         deal with any child processes that have finished but are waiting to
2161         communicate this fact to the rest of LyX.
2162
2163 2004-03-24  Angus Leeming  <leeming@lyx.org>
2164
2165         64-bit compile fixes.
2166
2167         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2168         (c-tor): pass lyx::pos_types rather than ints.
2169
2170         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2171         lyx::pos_type.
2172
2173         * text.C (Delete): compile fix.
2174         (getPar): ensure that function declaration is the same as that in
2175         the header file.
2176
2177 2004-03-23  Angus Leeming  <leeming@lyx.org>
2178
2179         * ispell.C (LaunchIspell):
2180         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2181         a boost::shred_ptr rather than a std::auto_ptr.
2182
2183 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2186         handle LFUN_FILE_INSERT_*
2187
2188         * lyxrc.C (setDefaults, getDescription, output, read):
2189         * lyxrc.h: remove ps_command
2190
2191 2004-03-22  Angus Leeming  <leeming@lyx.org>
2192
2193         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2194         Ensure that error_handler is processed once only and that all data
2195         is saved before attempting to output any warning messages.
2196
2197         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2198
2199 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2202
2203 2004-03-19  André Pönitz  <poenitz@gmx.net>
2204
2205         * cursor.[Ch] (reset): take main text inset as argument
2206
2207         * BufferView: adjust
2208         * BufferView_pimpl.C: adjust
2209
2210         * paragraph.[Ch]: fix completely broken operator=()
2211
2212 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * LColor.C (getFromLyXName): make sure that the color name is used
2215         as lowercase.
2216
2217 2004-03-17  Angus Leeming  <leeming@lyx.org>
2218
2219         * lfuns.h:
2220         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2221
2222         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2223         dialog and to kill a forked process.
2224
2225 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2226
2227         * text2.C (setCursorFromCoordinates): fix font problem
2228
2229 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2232         bogus "rebuild cursor" code
2233
2234 2004-03-11  André Pönitz  <poenitz@gmx.net>
2235
2236         * buffer.[Ch]: use InsetText instead of LyXText as container for
2237         the main lyx text.
2238
2239         * dociterator.[Ch]: drop the BufferView * member which is not needed
2240         anymore after the change to buffer.C
2241
2242         * paragraph_funcs.C:
2243         * text.C:
2244         * text2.C:
2245         * BufferView.[Ch]:
2246         * BufferView_pimpl.[Ch]:
2247         * cursor.[Ch]:
2248         * cursor_slice.[Ch]: adjust
2249
2250         * text3.C: fix bug in mathDispatch
2251
2252 2004-03-08  André Pönitz  <poenitz@gmx.net>
2253
2254         * undo.[Ch]: use 'StableDocumentIterator' as base for
2255         the Undo struct.
2256
2257 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2258
2259         * LaTeXFeatures.C:
2260         * bufferparams.[Ch]: add jurabib support and param.
2261
2262         * LaTeX.C: add FIXME/comment.
2263
2264 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2265
2266         * buffer.C: increment file format to 230.
2267
2268 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * cursor.C (dispatch): avoid infinite loops
2271
2272 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2273
2274         * rowpainter.C (paintSelection): fix x coordinates
2275
2276 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * text.C (rowBreakPoint): fix breaking before displayed insets
2279
2280 2004-03-01  André Pönitz  <poenitz@gmx.net>
2281
2282         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2283
2284         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2285
2286         * Makefile.am:
2287         * BufferView.C:
2288         * BufferView_pimpl.C:
2289         * buffer.C:
2290         * lyxfind.C:
2291         * lyxfunc.C:
2292         * text.C:
2293         * text2.C:
2294         * text3.C: adjust
2295
2296 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2297
2298         * lyxtext.h:
2299         * text.C:
2300         * text2.C:
2301         * rowpainter.C:
2302         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2303         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2304
2305 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * Bidi.[Ch] (computeTables): const correctness
2308         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2309         fill_hfill, fill_label_hfill and x from Row
2310         * lyxtext.h: prepareToPrint returns a RowMetrics
2311         * rowPainter.C: adjust
2312         * text.C (prepareToPrint): use width, not textWidth. adjust
2313         (redoParagraphInternal, cursorX): adjust
2314         * text2.C (getColumnNearX): adjust
2315         (init): put a default value to the top LyXText::width
2316
2317 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2318
2319         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2320
2321 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * lyxtext.h: add FontIterator class
2324
2325         * text.C (FontIterator, operator*, operator->, operator++): add
2326         (rowBreakPoint, setRowWidth): adjust (fixing a
2327         rebreaking bug)
2328
2329 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2330
2331         * BufferView_pimpl.C (workAreaDispatch): allow also
2332         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2333
2334 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * text.C (rowBreakPoint): fix a bug showing with very large insets
2337
2338 2004-02-25  André Pönitz  <poenitz@gmx.net>
2339
2340         * text3.C:
2341         * cursor.[Ch]: move some mathed specific code to mathed
2342
2343 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2344
2345         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2346         use_tempdir in preferences
2347         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2348         tempfile creation
2349         * lyx_main.C: ensure that tempdir is valid
2350         * lyxlex.h: correct typo
2351         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2352         * paragraph.[Ch] (isMultiLingual): make const
2353         * cursor.[Ch] (openable): make const
2354
2355 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2356
2357         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2358
2359 2004-02-20  André Pönitz  <poenitz@gmx.net>
2360
2361         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2362
2363         * cursor.[Ch]: prepare for localized getStatus()
2364
2365         * lyxtext.h:
2366         * tabular.C:
2367         * text.C:
2368         * text2.C:
2369         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2370
2371 2004-02-20  André Pönitz  <poenitz@gmx.net>
2372
2373         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2374
2375 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * text2.C (setCursorFromCoordinates): switch to absolute coords
2378         (cursorUp): adjust
2379         (cursorDown): adjust
2380         * text3.C (dispatch): adjust
2381
2382 2004-02-16  André Pönitz  <poenitz@gmx.net>
2383
2384         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2385           insets/ChangeLog)
2386
2387         * cursor_slice.[Ch]: remove unneeded acessor function
2388
2389         * lyxtext.h: rename rtl() to isRTL()
2390
2391         * rowpainter.C:
2392         * tabular.C:
2393         * text.C:
2394         * text2.C:
2395         * text3.C: adjust
2396
2397 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * rowpainter.C (paintSelection): coord fix
2400
2401 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2402
2403         * Spacing.C: compile fix
2404
2405 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * cursor.C (dispatch): restore current_ before returning
2408
2409 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * text2.C (cursorUp, cursorDown): fix coords
2412         (moveUp): fix crash
2413
2414 2004-02-12  André Pönitz  <poenitz@gmx.net>
2415
2416         * lyxtext.h:
2417         * text.C:
2418         * text2.C:
2419         * text3.C: add LCursor & parameter to most cursor movement functions
2420           remove usage of LyXText::cursorRow() and cursorPar()
2421
2422         * cursor.[Ch]: add textRow() needed members
2423
2424         * BufferView.C:
2425         * BufferView_pimpl.C:
2426         * paragraph.[Ch]:
2427         * BufferView.C:
2428         * BufferView_pimpl.C: adjust
2429
2430 2004-02-11  André Pönitz  <poenitz@gmx.net>
2431
2432         * lyxfunc.C:
2433         * BufferView.[Ch]:
2434         * BufferView_pimpl.C: shift undo/redo handling
2435
2436         * cursor.[Ch]: fix mathed crash
2437
2438         * lyxfind.C:
2439         * lyxtext.h: move selectionAsText to LCursor
2440
2441         * output_latex.C:
2442         * paragraph.C:
2443         * text.C:
2444         * text2.C:
2445         * text3.C: adjust
2446
2447         * rowpainter.C: fix excessive drawing
2448
2449 2004-02-06  André Pönitz  <poenitz@gmx.net>
2450
2451         * BufferView.[Ch]:
2452         * BufferView_pimpl.[Ch]:
2453         * text3.C: move some text specific LFUN handling
2454
2455 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * text3.C (checkInsetHit): adjust coords
2458         * text2.C (getColumnNearX): adjust coords
2459         (edit): adjust coords
2460         * text.C (getRowNearY): add two asserts
2461
2462 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2463
2464         * converter.C:
2465         * format.C: add using std::distance to compile on gcc 2.95/stlport
2466
2467 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2468
2469         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2470
2471 2004-02-04  André Pönitz  <poenitz@gmx.net>
2472
2473         * BufferView.[Ch] (insertInset):
2474         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2475
2476         * text2.C:
2477         * text3.C: adjust
2478
2479 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2480
2481         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2482         on the default clause of the switch
2483         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2484         wasn't catched by LCursor::dispatch
2485
2486 2004-02-03  André Pönitz  <poenitz@gmx.net>
2487
2488         * BufferView.C:
2489         * cursor.[Ch]: some additional asserts
2490
2491         * undo.[Ch]: remove LyXText dependency in interface
2492
2493         * lyxfunc.C: adjust
2494
2495         * lyxtext.h (firstPar, lastPar): remove dead functions
2496
2497         * text.C:
2498         * text2.C:
2499         * text3.C:
2500         * paragraph.[Ch]: adjust
2501
2502 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * lyxfind.C (find): fix argument order in call to ::find
2505
2506 2004-02-02  André Pönitz  <poenitz@gmx.net>
2507
2508         * cursor.[Ch]: remove direct access to anchor
2509
2510         * text.C: remove findText() hack
2511
2512 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * iterators.[Ch] (lockPath): remove in favour of...
2515         * BufferView.[Ch] (setCursor): this addition
2516         * BufferView.C (putSelectionAt): adjust
2517         * undo.C (performUndoOrRedo): adjust
2518         * lyxfunc.C (dispatch): adjust
2519
2520 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2521
2522         * iterators.C (lockPath): add a missing slice
2523         * undo.C (performUndoOrRedo): remove redundant positioning code
2524
2525 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2526
2527         * vc-backend.C (scanMaster): ";" -> ';'
2528
2529 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2530
2531         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2532         std::binary_function
2533
2534         * lyxtextclass.C (compare_name): rename to...
2535         (LayoutNamesEqual): ...this
2536
2537         * lyxlex_pimpl.C (compare_tags): inherit from
2538         std::binary_function, put back into anon namespace
2539
2540         * lyxfind.C (MatchString): inherig from std::binary_function
2541         (findChange): use empty() istead of !size()
2542
2543         * format.C (FormatNamesEqual): new functor
2544         (getFormat): use it
2545         (getNumber): use it
2546         (add): use it
2547         (erase): use it
2548         (setViewer): use it
2549
2550         * converter.C (compare_Converter): rename to...
2551         (ConverterEqual): ...this, and fixup a bit.
2552         (getConverter): use it, and make function const
2553         (getNumber): use it, and make function const
2554         (add): use it
2555         (erase): use it:
2556
2557         * bufferlist.C: add using boost::bind
2558
2559         * MenuBackend.C (MenuNamesEqual): new functor
2560         (hasMenu): use it, and make function const
2561         (hasSubmenu): use nested bind to get rid of compare_memfun.
2562
2563 2004-01-30  André Pönitz  <poenitz@gmx.net>
2564
2565         * BufferView_pimpl.C:
2566         * cursor.C:
2567         * cursor.h:
2568         * cursor_slice.[Ch]:
2569         * lyxfunc.C:
2570         * lyxtext.h:
2571         * paragraph_funcs.C:
2572         * paragraph_funcs.h:
2573         * rowpainter.C:
2574         * text.C:
2575         * text2.C:
2576         * text3.C: move some of the edit(x,y) handling to the insets
2577         some coordinate changes.
2578
2579 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2580
2581         * text.C: add using statements for std::advance and std::distance
2582
2583         * paragraph.C: add using statement for std::distance
2584
2585         * lyxfind.C: add using statement for std::advance
2586
2587         * cursor.C (region): remove std:: from swap
2588         (openable): use nucleus in stead of operator->
2589
2590         * BufferView.C: add using statements for std::distance and std::swap
2591
2592 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2593
2594         * iterators.C: Remove the pimple, move the needed structures to
2595         the header file. Create accessor for the positions stack.
2596         (asPosIterator): remove function
2597
2598         * PosIterator.C (PosIterator): move constructors to top of file
2599         (PosIterator): reimplement the constructor taking a ParIterator in
2600         terms of setFrom.
2601         (setFrom): new function
2602         (operator!=): inline it
2603
2604 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2605
2606         * lyxfind.C (replaceAll): use std::advance
2607
2608         * iterators.h: inherit from std::iterator.
2609
2610         * PosIterator.C (advance, distance): remove
2611         * PosIterator.h: interit from std::iterator.
2612
2613 2004-01-26  André Pönitz  <poenitz@gmx.net>
2614
2615         * BufferView.[Ch]:
2616         * BufferView_pimpl.[Ch]:
2617         * InsetList.[Ch]:
2618         * PosIterator.[Ch]:
2619         * buffer.h:
2620         * bufferview_funcs.C:
2621         * cursor.[Ch]:
2622         * cursor_slice.h:
2623         * factory.[Ch]:
2624         * iterators.[Ch]:
2625         * lyxfind.C:
2626         * lyxfunc.C:
2627         * lyxtext.h:
2628         * output_docbook.C:
2629         * output_latex.C:
2630         * output_linuxdoc.C:
2631         * output_plaintext.C:
2632         * paragraph.[Ch]:
2633         * paragraph_funcs.[Ch]:
2634         * paragraph_pimpl.[Ch]:
2635         * rowpainter.C:
2636         * tabular.C:
2637         * tabular.h:
2638         * text.C:
2639         * text2.C:
2640         * text3.C: more IU:  dumps most of the rest of the mathcursor
2641     implementation into cursor.[Ch]; "globalize" a bit of it.
2642
2643 2004-01-25  Angus Leeming  <leeming@lyx.org>
2644
2645         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2646
2647 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2648
2649         * LaTeXFeatures.h: add nice_ and nice() const
2650         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2651
2652 2004-01-20  André Pönitz  <poenitz@gmx.net>
2653
2654         * BufferView.[Ch]:
2655         * BufferView_pimpl.C:
2656         * PosIterator.C:
2657         * bufferview_funcs.C:
2658         * cursor.[Ch]:
2659         * cursor_slice.[Ch]:
2660         * factory.C:
2661         * iterators.C:
2662         * lyx_cb.C:
2663         * lyxfind.C:
2664         * lyxfunc.C:
2665         * lyxtext.h:
2666         * rowpainter.C:
2667         * text.C:
2668         * text2.C:
2669         * text3.C:
2670         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2671           LCursor and mathcursor parts to LCursor and InsetBase.
2672
2673 2004-01-15  André Pönitz  <poenitz@gmx.net>
2674
2675         * cursor_slice.[Ch]: add a few covienience functions
2676
2677         * funcrequest.[Ch]: remove BufferView * member
2678
2679         * BufferView_pimpl.C:
2680         * cursor.C:
2681         * factory.[Ch]:
2682         * lyxfind.[Ch]:
2683         * lyxfunc.C:
2684         * lyxtext.h:
2685         * text3.C:
2686         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2687
2688 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2689
2690         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2691         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2692
2693 2004-01-13  André Pönitz  <poenitz@gmx.net>
2694
2695         * textcursor.[Ch]:
2696         * lyxtext.h: hide cursor and selection anchor behind accessor function
2697
2698         * BufferView.C:
2699         * BufferView_pimpl.[Ch]:
2700         * PosIterator.C:
2701         * bufferview_funcs.C:
2702         * cursor.h:
2703         * lyxfind.C:
2704         * lyxfunc.C:
2705         * text.C:
2706         * text2.C:
2707         * text3.C:
2708         * undo.C: adjust
2709
2710         * cursor.h:
2711         * cursor_slice.[Ch]: some integer type changes for inset unification
2712
2713         * lyxcursor.[hC]: remove, it's CursorSlice now.
2714
2715         * Makefile.am:
2716         * BufferView_pimpl.[Ch]:
2717         * bufferview_funcs.C:
2718         * cursor_slice.C:
2719         * lyxtext.h:
2720         * text.C:
2721         * text2.C:
2722         * text3.C:
2723         * textcursor.[Ch]: adjust
2724
2725 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * text2.C (undoSpan): add and use
2728         * text.C (breakParagraph): use undoSpan (fix bug 578)
2729         * lyxtext.h: adjust
2730
2731 2004-01-08  Angus Leeming  <leeming@lyx.org>
2732
2733         * BufferView_pimpl.C (MenuInsertLyXFile):
2734         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2735         * lyxfunc.C (menuNew, open, doImport):
2736         FileFilterList change to the FileDialog open and save functions.
2737
2738 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2739
2740         * ShareContainer.h: make isEqual and isUnique adaptable
2741
2742         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2743
2744 2004-01-07  Angus Leeming  <leeming@lyx.org>
2745
2746         * LyXAction.C:
2747         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2748
2749         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2750
2751         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2752         functions replacing find, replace and replaceAll.
2753
2754         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2755         LFUN_WORDFIND(FORWARD|BACKWARD).
2756
2757 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * text.C (breakParagraph): remove an outdated #warning
2760
2761 2004-01-07  André Pönitz  <poenitz@gmx.net>
2762
2763         * lyxfind.C: somewhat clearer logic
2764
2765         * text.C: prevent crash in cursorX on unitialized row cache
2766
2767 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2768
2769         * lyxcursor.[Ch] (operator>): add
2770         * textcursor.C (selStart, selEnd): use std::min and std::max
2771
2772 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2773
2774         * Chktex.C: include boost/format.hpp
2775
2776 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2777
2778         * InsetList.C: replace functor MathcIt with adaptable functor
2779         InsetTablePosLess
2780         (insetIterator): modify accordingly
2781
2782         * BranchList.h: move the BranchNamesEqual functor here from...
2783         * BranchList.C: ... to here
2784
2785         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2786         SameName and match.
2787         (add): replace a finding loop with std::find_if.
2788
2789 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2790
2791         * output_docbook.C: moving LatexParam functionality into
2792         .layout files
2793
2794 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2795
2796         * buffer.C: increment format to 229.
2797
2798 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2799
2800         * LaTeXFeatures.C:
2801         * lyx_sty.[Ch]: remove minipageindent_def
2802
2803         * LyXAction.C:
2804         * factory.C:
2805         * lfuns.h:
2806         * lyxfunc.C:
2807         * text3.C: remove LFUN_INSET_MINIPAGE
2808
2809 2003-12-28  Angus Leeming  <leeming@lyx.org>
2810
2811         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2812
2813 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2814
2815         * text2.C (setParagraph): fix off-by-one crash
2816
2817 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2818
2819         * output_docbook.C: header stuff for AGU
2820
2821 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * text2.C (redoCursor): remove
2824         * text.C:
2825         * text3.C:
2826         * BufferView_pimpl.C: remove calls to redoCursor and
2827         setCursor(cursor.par(), cursor.pos()) all around
2828
2829 2003-12-15  Angus Leeming  <leeming@lyx.org>
2830
2831         * buffer.C: up the format to 228.
2832
2833 2003-12-15  André Pönitz  <poenitz@gmx.net>
2834
2835         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2836         slices
2837
2838         * Makefile.am:
2839
2840         * BufferView_pimpl.C:
2841         * cursor.[Ch]:
2842         * lyxcursor.[Ch]:
2843         * rowpainter.[Ch]:
2844         * lyxtext.h:
2845         * text.C:
2846         * text2.C:
2847         * text3.C: adjust
2848
2849 2003-12-15  Angus Leeming  <leeming@lyx.org>
2850
2851         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2852         than getFromGUIName to manipulate the color.
2853
2854 2003-12-14  Angus Leeming  <leeming@lyx.org>
2855
2856         * BranchList.[Ch]: minimize the API.
2857         (Branch::getBranch, getColor): now return a 'const &'.
2858         (Branch::setSelected) now returns a bool set to true if the
2859         selection status changes.
2860         (BranchList::clear, size, getColor, setColor, setSelected,
2861         allBranches, allSelected, separator): removed.
2862         (BranchList::find): new functions, returning the Branch with
2863         the given name.
2864         (BranchList::add, remove): return a bool indicating that
2865         the operation was successful.
2866
2867         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2868         new InsetBranch::isBranchSlected member function.
2869
2870         * LColor.[Ch]: mimimize the API.
2871         (fill): renamed as addColor and made private.
2872         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2873         versions of these functions taking a string arg have been removed.
2874
2875         * bufferparams.C (readToken):
2876         * lyxfunc.C (dispatch):
2877         * lyxrc.C (read): changes due to the altered BranchList and
2878         LColor APIs.
2879
2880         * factory.C (createInset, readInset): changes due to altered
2881         InsetBranch c-tor.
2882
2883 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2884
2885         * factory.C:
2886         * lyxfunc.C: remove insetminipage. "minipage-insert"
2887         now produces a frameless minipage box inset.
2888
2889 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2890
2891         * textcursor.[Ch] (selStart,selEnd): add new methods
2892         remove selection::start, end, use LyXCursor::operator<
2893         * lyxcursor.[Ch] (operator<): add
2894         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2895         * BufferView.[Ch] (unsetXSel): add
2896         * text2.C (clearSelection): use unsetXSel,adjust
2897         * text.C: adjust
2898         * text3.C: adjust
2899         * rowpainter.C: adjust
2900         * bufferview_funcs.C (put_selection_at): adjust
2901
2902 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2903
2904         * BufferView_pimpl.C: small coord. correction
2905
2906 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2907
2908         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2909         dragging over the splash screen.
2910
2911 2003-12-11  Angus Leeming  <leeming@lyx.org>
2912
2913         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2914         as it is now handled in LyXText::dispatch.
2915
2916         * text3.C (doInsertInset): remove a level of nesting.
2917
2918 2003-12-11  Angus Leeming  <leeming@lyx.org>
2919
2920         * factory.C (createInset): changes due to the changed interface to
2921         InsetCommandMailer::string2params.
2922
2923 2003-12-10  Angus Leeming  <leeming@lyx.org>
2924
2925         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2926         'dialog-show-new-inset <inset name>'
2927
2928 2003-12-10  Angus Leeming  <leeming@lyx.org>
2929
2930         * buffer.C: up the format to 227.
2931
2932         * factory.C: the box inset is now identified simply by 'Box'.
2933
2934 2003-12-10  Angus Leeming  <leeming@lyx.org>
2935
2936         * buffer.C: up the format to 226.
2937
2938         * factory.C: the note inset is now identified simply by 'Note'.
2939
2940 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2941
2942         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2943         when a pit is enough. Standarize a couple of loops.
2944
2945 2003-12-05  Angus Leeming  <leeming@lyx.org>
2946
2947         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2948         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2949         data to the re-worked "log" dialog.
2950
2951 2003-12-03  André Pönitz  <poenitz@gmx.net>
2952
2953         * PosIterator.C:
2954         * iterators.C:
2955         * lyxtext.h:
2956         * output_latex.C:
2957         * paragraph_funcs.C:
2958         * text.C:
2959         * text2.C: use Inset::getText instead of Inset::getParagraph
2960
2961 2003-12-03  André Pönitz  <poenitz@gmx.net>
2962
2963         * buffer.[Ch]:
2964         * lyxtext.h:
2965         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2966         InsetText::read() as LyXText::read()
2967
2968 2003-12-02  Angus Leeming  <leeming@lyx.org>
2969
2970         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2971         type. Add a comment in the implementation that the function uses
2972         the stream's bad() function rather than fail() as the std::streams
2973         would do.
2974
2975 2003-12-02  André Pönitz  <poenitz@gmx.net>
2976
2977         * lyxlex.[Ch]: make interface more similar to std::stream
2978
2979         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2980
2981 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2982
2983         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2984
2985 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2986
2987         * vspace.[Ch]: remove VSpace::NONE
2988
2989 2003-12-01  André Pönitz  <poenitz@gmx.net>
2990
2991         * buffer.[Ch]:
2992         * lyxtext.h: move ParagraphList member to LyXText
2993         rename LyXText::ownerParagraphs to LyXText::paragraph
2994
2995         * CutAndPaste.C:
2996         * bufferview_funcs.C:
2997         * iterators.[Ch]:
2998         * lyx_cb.C:
2999         * paragraph.C:
3000         * rowpainter.C:
3001         * tabular.C:
3002         * text.C:
3003         * text2.C:
3004         * text3.C: adjust
3005
3006         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3007
3008         * undo.C: fix cursor positioning
3009
3010 2003-12-01  John Levon  <levon@movementarian.org>
3011
3012         * BufferView_pimpl.C: fix a crash on exit with
3013         a buffer open
3014
3015 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * BranchList.C: fix setSelected() method.
3018
3019 2003-11-28  André Pönitz  <poenitz@gmx.net>
3020
3021         * ParagraphParameters.[Ch]:
3022         * ParameterStruct.h: remove space above/below from Paragraph to
3023          InsetVSpace
3024
3025         * BufferView_pimpl.C:
3026         * factory.C:
3027         * lyxfunc.C:
3028         * lyxtext.h:
3029         * output_latex.C:
3030         * paragraph.C:
3031         * paragraph_funcs.C:
3032         * rowpainter.[Ch]:
3033         * text.C:
3034         * text2.C:
3035         * text3.C: adjust
3036
3037 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * factory.C: Syntax change for CharStyles
3040
3041 2003-11-28  André Pönitz  <poenitz@gmx.net>
3042
3043         * BufferView.[Ch]:
3044         * BufferView.[Ch]:
3045         * buffer.[Ch]:
3046         * buffer.[Ch]: move LyXText member
3047
3048 2003-11-28  André Pönitz  <poenitz@gmx.net>
3049
3050         * BufferView.[Ch]: make LyXText * text a private member
3051
3052         * BufferView_pimpl.C:
3053         * cursor.C:
3054         * iterators.C:
3055         * lyx_cb.C:
3056         * lyxfind.C:
3057         * lyxtext.h:
3058         * rowpainter.[Ch]:
3059         * text.C:
3060         * text2.C:
3061         * undo.C: adjust
3062
3063         * output_plaintext.C: cleanup
3064
3065 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3066
3067         * buffer.C:
3068         * lyxtextclass.[Ch]: parametrize SGML document header
3069
3070 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3071
3072         * converter.[Ch]:
3073         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3074         getFlavor().
3075
3076 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * text2.C (setFont): rework using PosIterator (no more recursive)
3079         (setCharFont): no more needed
3080         (setLayout): no more selection cursors fiddling (done by redoCursor)
3081         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3082         destroy remaining ones)
3083
3084 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3087         * lyxtext.h: ditto
3088         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3089         selection cursors
3090         * lyxfunc.C: adjust
3091         * text3.C: adjust + re-allow multi par depth changes
3092         * textcursor.C: simplify a bit
3093
3094 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3095
3096         * src/buffer.C:
3097         * src/lyxlayout.C:
3098         * src/lyxlayout.h:
3099         * src/lyxtext.h:
3100         * src/output_docbook.C:
3101         * src/output_latex.C:
3102         * src/paragraph.C:
3103         * src/paragraph.h:
3104         * src/sgml.C:
3105         * src/sgml.h:
3106         * src/text2.C: Introducing a number of tags parametrizing various
3107         XML formats that we may want to support
3108
3109 2003-11-25  André Pönitz  <poenitz@gmx.net>
3110
3111         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3112
3113         * lyxtext.h (leftMargin/rightMargin): simplify interface
3114
3115         * rowpainter.C:
3116         * text.C:
3117         * text2.C:
3118         * text3.C: adjust
3119
3120 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3121
3122         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3123         master file to any child files. Fixes bug 546.
3124
3125 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3128
3129 2003-11-24  André Pönitz  <poenitz@gmx.net>
3130
3131         * rowpainter.C: simplification
3132
3133         * text2.C (updateCounters): remove call to redoParagraph on
3134         changed labels as this is far too expensive.
3135
3136 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * converter.C (convert): fix a crash: this function gets
3139         called with buffer == 0 from importer code.
3140
3141 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3142
3143         * text3.C (cursorPrevious): make sure that we do not compare
3144         iterators form different containers.
3145         (cursorNext): ditto
3146
3147         * rowpainter.C (paintSelection): make sure that we do not compare
3148         iterators from different containers.
3149
3150         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3151         iterators from different ParagraphList containers.
3152         [NEXT] ditto
3153
3154         * text2.C (LyXText): change order of initialization slightly
3155         (operator=): new function. copy all variables except cache_par_
3156         (moveUp): make sure that we do not compare iterators from
3157         different ParagraphList constainers.
3158         (moveDown): ditto
3159
3160         * text.C (firstPar): new function
3161         (lastPar): new function
3162         (endPar): new function
3163
3164         * lyxtext.h: move things around and group public functions, public
3165         variables, private functions, private variables
3166
3167 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3168
3169         * factory.C: change call to InsetERT constructor to avoid
3170         additional invocation of method status
3171         * text2.C (toggleInset): remove redundant update() call
3172         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3173         instead of a Bufferview pointer
3174
3175 2003-11-21  André Pönitz  <poenitz@gmx.net>
3176
3177         * rowpainter.C: simplification
3178
3179 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * text3.C (dispatch): make possible to extend a word/row selection
3182         with the mouse
3183
3184 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3185
3186         * lyxtext.h: x0_,y0_ -> xo_,yo_
3187         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3188         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3189         * rowpainter.C (paintRows): paint full paragraphs
3190
3191 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3194         screen coordinates)
3195
3196 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3197
3198         * lyxtext.h: add x0_, y0_
3199         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3200         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3201
3202 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * text2.C (setCursorIntern): move the x_target update here *
3205         * text3.C: change some bv() to true/false in calls to
3206         cursorUp/Down/Right/Left
3207         * cursor.C: use helper function.
3208
3209 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3212         * paragraph_funcs.[Ch]: correct comment
3213         * rowpainter.C: do not paint selections away from bv->cursor()
3214         Fix a long standing selection painting bug.
3215         * text3.C: generalize mouse-selection code to LyXTexts other that
3216         top one
3217         * textcursor.C: do not use y coords if we can use par offsets
3218
3219 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3222         cursor position after e.g. inset insert)
3223
3224 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * lyxfind.C (replace): adjust to locking removal + some
3227         code simplification
3228
3229 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3230
3231         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3232         of the path
3233
3234 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * lyxlayout.[Ch]:
3237         * output_docbook.C: XML sanitation: new layout
3238         parameters InnerTag and CommandDepth
3239
3240 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3241
3242         * BufferView_pimpl.C:
3243         * factory.C:
3244         * text3.C: Fix the insertion and modification of button-style
3245         insets
3246
3247 2003-11-13  André Pönitz  <poenitz@gmx.net>
3248
3249         * InsetList.[Ch]: remove deleteLyXText
3250
3251         * paragraph.[Ch]: cache beginOfBody position
3252
3253         * Bidi.C:
3254         * text.C:
3255         * text2.C:
3256         * text3.C: remove superfluous update() calls
3257
3258         * vspace.C: cleanup
3259
3260 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3261
3262         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3263         * BufferView.C (fitLockedInsetCursor): remove
3264         * cursor.[Ch] (getDim): add
3265         * text.C (getRowNearY): add faster version
3266         * text3.C: remove some update calls
3267
3268 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3269
3270         * LaTeXFeatures.C:
3271         * LyXAction.C:
3272         * MenuBackend.C:
3273         * MenuBackend.h:
3274         * dispatchresult.h:
3275         * factory.C:
3276         * lfuns.h:
3277         * lyxfunc.C:
3278         * lyxtextclass.C:
3279         * lyxtextclass.h:
3280         * text3.C: The Character Style /XML short element patch.
3281
3282 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * text3.C:
3285         * factory.C: Small step to solving 'unable to insert some insets'
3286         problem
3287
3288 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3289
3290         * cursor.[Ch] (updatePos): new function for updating the y
3291         position of the tip inset
3292         * bufferview_funcs.C (put_selection_at):
3293         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3294
3295 2003-11-11  André Pönitz  <poenitz@gmx.net>
3296
3297         * text.C: remove big comment on invalid Paragraph pointers as it is
3298         not valid anymore
3299
3300 2003-11-11  André Pönitz  <poenitz@gmx.net>
3301
3302         * text_funcs.[Ch]: merge with ...
3303
3304         * text.C: ... this
3305
3306         * lyxtext.h:
3307         * text2.C:
3308         * text3.C: adjust
3309
3310         * Makefile.am: remove text_funcs.[Ch]
3311
3312 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3313
3314         * cursor.C (getPos): return absolute cached y coord
3315
3316         * BufferView_pimpl.C (fitCursor): new simplistic code
3317         (workAreaDispatch): add a fitCursor call
3318
3319 2003-11-10  André Pönitz  <poenitz@gmx.net>
3320
3321         * BufferView.[Ch]:
3322         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3323
3324 2003-11-10  André Pönitz  <poenitz@gmx.net>
3325
3326         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3327         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3328         indicate that the cursor needs to leave an inset
3329
3330         * lyxtext.h: remove inset locking
3331
3332         * cursor.[Ch]: re-implement functionality provided by inset locking
3333
3334         * BufferView.[Ch]:
3335         * BufferView_pimpl.[Ch]:
3336         * LyXAction.C:
3337         * bufferview_funcs.[Ch]:
3338         * factory.C:
3339         * funcrequest.[Ch]:
3340         * iterators.C:
3341         * lyx_cb.C:
3342         * lyxfind.C:
3343         * lyxfunc.C:
3344         * text.C:
3345         * text2.C:
3346         * text3.C:
3347         * undo.C: adjust
3348
3349 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3350
3351         * PosIterator.[Ch]: replace the stack with a vector, add inset
3352         accesor
3353         * iterators.[C]: adjust
3354
3355 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3358         replaced
3359         * paragraph_funcs.C (readParToken): put the correct id in the
3360         error item, not the id of the top paragraph
3361
3362 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3365         * bufferview_funcs.C (put_selection_at): use the above
3366
3367 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3368
3369         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3370
3371 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3372
3373         * output_linuxdoc.h:
3374         * output_plaintext.h:
3375         * output.h:
3376         * output_docbook.h: add #include statements
3377
3378 2003-11-05  José Matos  <jamatos@lyx.org>
3379
3380         * output_docbook.[Ch]:
3381         * output_latex.[Ch]:
3382         * output_linuxdoc.[Ch]:
3383         * output_plaintext.[Ch]: New files for output formats.
3384         * output.[Ch]: New file for helper functions.
3385
3386         * buffer.[Ch]:
3387         * paragraph_funcs.[Ch]: output functions moved to new files.
3388
3389         * outputparams.h: rename of latexrunparams.h
3390
3391         * LaTeX.[Ch]:
3392         * buffer.[Ch]:
3393         * bufferlist.[Ch]:
3394         * converter.[Ch]:
3395         * exporter.C:
3396         * paragraph.[Ch]:
3397         * paragraph_funcs.[Ch]:
3398         * paragraph_pimpl.[Ch]:
3399         * tabular.[Ch]: rename ascii to plaintext
3400         and LatexRunParams to OutputParams.
3401
3402 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * iterators.[Ch] (text): require bv argument
3405         * undo.C (recordUndo):
3406         * lyxfunc.C (dispatch):
3407         * bufferview_funcs.C (put_selection_at): adjust
3408
3409 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3410
3411         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3412
3413 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3416         nestings
3417
3418 2003-11-04  André Pönitz  <poenitz@gmx.net>
3419
3420         * cursor.[Ch]: restructure
3421
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3424
3425         * iterators.[Ch] (asCursor): remove
3426
3427         * lfuns.h: remove LFUN_INSET_EDIT
3428
3429         * lyxfunc.C:
3430         * tabular.C:
3431         * text.C:
3432         * text2.C:
3433         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3434
3435 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3436
3437         * lyxfind.[Ch]: complete overhaul
3438         * BufferView_pimpl.C:
3439         * lyxfunc.C: adjust
3440         * paragraph.[Ch] (insert): add
3441
3442 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3443
3444         * BufferView.[Ch]:
3445         * lyxtext.h:
3446         * text.C: remove dead spellcheck code
3447
3448 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * dispatchresult.h: add a val setter
3451
3452         * cursor.C (dispatch): use a tempvar for data_[i]
3453
3454 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3455
3456         * PosIterator.[Ch]: compile fix
3457
3458 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * text.C (cursorPar): deactivate the cursor cache
3461
3462 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3465
3466 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3467
3468         * text3.C (dispatch): adjust for new DisptchResult semantics.
3469
3470         * lyxfunc.C (dispatch): handle update when return from
3471         Cursor::dispatch, adjust for new DispatchResult semantics.
3472
3473         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3474         DispatchResult(true) mean to not update. Add class functions for
3475         setting dispatched and update, as well as reading.
3476
3477         * cursor.C (dispatch): don't handle update here
3478
3479 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3482         * trans_mgr.C: adjust
3483
3484         * paragraph_funcs.C (readParToken): exception safety
3485
3486         * lyxvc.h: store the vcs pointer in a scoped_ptr
3487         * lyxvc.C: adjust
3488
3489         * lyxsocket.C (serverCallback): exception safety
3490
3491         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3492
3493         * ispell.C (clone): make it return a auto_ptr
3494
3495         * factory.C (createInset): exception safety
3496         (readInset): exception safety
3497
3498         * bufferlist.C (newBuffer): exception safety
3499
3500         * Thesaurus.C (Thesaurus): use initialization for aik_
3501
3502         * MenuBackend.C (expandToc): exception safety.
3503
3504 2003-11-03  André Pönitz  <poenitz@gmx.net>
3505
3506         * buffer.C:
3507         * buffer.h:
3508         * bufferview_funcs.C: remove getInsetFromId()
3509
3510         * lyxcursor.[Ch]:
3511         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3512
3513         * lyxfunc.C:
3514         * text2.C:
3515         * text3.C: adjust
3516
3517 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * PosIterator.C (distance, advance): new
3520         * bufferview_funcs.[Ch] (put_selection_at): new
3521         * iterators.[Ch] (lockPath): new
3522
3523 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3524
3525         * iterators.[Ch] (asPosIterator): added
3526         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3527         * PosIterator.[Ch]: added
3528
3529 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * text3.C:
3532         * lyxfunc.C:
3533         * cursor.C (dispatch):
3534         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3535
3536         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3537         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3538         contructor, add a class function dispatched. Remove operator>=
3539
3540 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * debug.C: only use the default constructor for debugstream
3543         (lyxerr) here.
3544
3545         * main.C (main): include debug.h and setup the lyxerr streambuf
3546         here.
3547
3548 2003-10-31  José Matos  <jamatos@lyx.org>
3549
3550         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3551
3552         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3553         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3554         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3555         * paragraph_pimpl.C (simpleTeXSpecialC):
3556         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3557         add LatexRunParams argument.
3558
3559         * exporter.C (Export): change call accordingly.
3560
3561         * latexrunparams.h: add new member to take care of the other backends.
3562 2003-10-30  José Matos  <jamatos@lyx.org>
3563
3564         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3565         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3566         factorise code for paragraph output.
3567         * buffer.[Ch]:
3568         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3569         move functions.
3570
3571 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * text3.C (dispatch):
3574         * lyxfunc.C (dispatch):
3575         * cursor.C (dispatch):
3576         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3577
3578         * dispatchresult.h: make the dispatch_result_t ctor explicit
3579
3580 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3581
3582         * sgml.[Ch]:
3583         * buffer.C: small refactoring of docbook stuff
3584
3585 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3588         meaning.
3589
3590 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3593         operator dispatch_result_t, and operators for == != and >=
3594
3595         * cursor.C (dispatch): adjust for operator dispatch_result_t
3596         removal. comment out call to update
3597
3598         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3599
3600 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * text3.C:
3603         * text2.C:
3604         * text.C:
3605         * lyxtext.h:
3606         * lyxfunc.C:
3607         * cursor.C:
3608         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3609         (dispatch):
3610
3611         * dispatchresult.h: new file, DispatchResult broken out of
3612         insets/insetbase.h
3613
3614         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3615
3616 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3617
3618         * text.C (rowBreakPoint): put a hack inside #if 0
3619
3620 2003-10-28  André Pönitz  <poenitz@gmx.net>
3621
3622         * lyxtext.h:
3623         * metricsinfo.C:
3624         * paragraph_funcs.C:
3625         * rowpainter.C:
3626         * text.C:
3627         * text2.C: general cleanup (lots of small stuff)
3628
3629 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3630
3631         * text2.C (cursorEnd): simple fix to the "end key goes to one
3632         before the end on last row" bug
3633
3634 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3635
3636         * text.C (backspace): fix the "zombie characters"
3637
3638 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3641
3642 2003-10-27  André Pönitz  <poenitz@gmx.net>
3643
3644         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3645
3646         * factory.C: handle new InsetPagebreak, InsetLine
3647
3648         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3649         and move handling into new InsetPagebreak, InsetLine
3650
3651         * BufferView_pimpl.C:
3652         * LyXAction.C:
3653         * ParagraphParameters.C:
3654         * ParameterStruct.h:
3655         * lyxfunc.C:
3656         * lyxtext.h:
3657         * paragraph.C:
3658         * paragraph.h:
3659         * paragraph_funcs.C:
3660         * paragraph_pimpl.C:
3661         * rowpainter.C:
3662         * text.C:
3663         * text2.C:
3664         * text3.C: adjust
3665
3666 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * text.C:
3669         * lyxrow_funcs.[Ch]:
3670         * Bidi.C:
3671         * paragraph.C:
3672         * lyxtext.h:
3673         * rowpainter.C:
3674         * text2.C:
3675         * text3.C: remove lastPos uses in favour of Row::endpos
3676
3677 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * undo.C (performUndoOrRedo): fix two crashes by setting a
3680         cursor by hand and reordering some calls. Use bv->lockInset instead
3681         of inset->edit because the latter loses cursor information
3682
3683 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3686         by Martin
3687         (rowBreakPoint): fix width. change point to point + 1.
3688         Add a missing check.
3689
3690 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3691
3692         * MenuBackend.C:
3693         * lyxfunc.C: fix (at least partly) the problems
3694         with the Nav menu and headers inside branch insets
3695         reported by Kayvan
3696
3697 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * paragraph.C (getChar): add strong asserts
3700
3701         * lyxrow_funcs.C (lastPos): remove hideous hack
3702
3703         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3704         (fill): adjust to that (avoid an infinite loop)
3705
3706 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3707
3708         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3709
3710 2003-10-23  André Pönitz  <poenitz@gmx.net>
3711
3712         * RowList_fwd.h: change list<> to vector<> to gain speed
3713         after suggestion from Alfredo
3714
3715 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3716
3717         * lyxtext.h: move the bidi stuff from here...
3718         * text.C: and here
3719         * text2.C: and here
3720         * Bidi.[Ch]: ... to here
3721
3722 2003-10-23  André Pönitz  <poenitz@gmx.net>
3723
3724         * lyxtext.h:
3725         * text.C (isLastRow, isFirstRow): new functions
3726
3727         * paragraph.h: new width cache member
3728
3729         * rowpainter.C: replace RowList::iterator with Row & where possible
3730
3731         * lyxfunc.C: replace several view()->text with a single call
3732
3733         * toc.C: fix 'unused' warning
3734
3735 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3738         when woring with stream::pos_type
3739         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3740
3741 2003-10-22  André Pönitz  <poenitz@gmx.net>
3742
3743         * lyxtext.h:
3744         * text.C: use Row & instead of RowList::iterator
3745
3746         * lyxrow.h: rename end() to endpos()
3747
3748         * rowpainter.C:
3749         * text.C:
3750         * text2.C: adjust
3751
3752 2003-10-22  Angus Leeming  <leeming@lyx.org>
3753
3754         * buffer.[Ch] (fully_loaded): new member function, returning true
3755         only when the file has been loaded fully.
3756         Used to prevent the premature generation of previews and by the
3757         citation inset to prevent computation of the natbib-style label.
3758
3759         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3760         templates are all set up.
3761
3762         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3763
3764 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3765
3766         * text.C: fixed an "oops" in the "is a bit silly"
3767         bug fix
3768
3769 2003-10-21  André Pönitz  <poenitz@gmx.net>
3770
3771         * FuncStatus.[Ch]: small stuff, whitespace
3772
3773         * lyxfont.[Ch]: operator<<() for debug reasons
3774
3775         * lyxfunc.C:
3776         * lyxrow_funcs.C:
3777         * lyxtext.h: whitespace, spelling
3778
3779         * paragraph.C: naming of variables
3780
3781         * text.C:
3782         * text2.C: small stuff
3783
3784
3785 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3786
3787         * text.C: (1) finish off the inset display() work;
3788         (2) fix the "is a bit silly" bug (accessing char
3789         past end of par).
3790
3791 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3792
3793         * text.C: re-introduce display() for insets, fixing the
3794         various bugs (stretch of line above, math inset
3795         positioning, ...)
3796
3797 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3798
3799         * text.C (rightMargin): remove spurious semicolon
3800
3801         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3802         1415)
3803
3804 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3805
3806         * text3.C: fix one crash due to wrong cursor def
3807
3808 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * vc-backend.C (scanMaster): make the regex static
3811
3812         * LaTeX.C (scanAuxFile): make the regexs static
3813
3814         * text3.C (doInsertInset, dispatch, dispatch):
3815         * text2.C (cursorUp, cursorDown):
3816         * text.C (selectNextWordToSpellcheck):
3817         * BufferView_pimpl.C (dispatch):
3818         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3819
3820 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3821
3822         * lyxsocket.C: include <cerrno>
3823
3824 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * lyxfunc.C (dispatch): remove textcache stuff
3827
3828         * bufferlist.C (release): remove textcache stuff
3829         (closeAll): ditto
3830
3831         * TextCache.C: delete file
3832         * TextCache.h: delete file
3833
3834         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3835
3836         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3837         delete of the bv_->text.
3838         (resizeCurrentBuffer): remove texcache stuff
3839         (workAreaResize): ditto
3840
3841 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3844         action.
3845
3846 2003-10-16  André Pönitz  <poenitz@gmx.net>
3847
3848         * lyxrow.[Ch]:
3849         * paragraph.h:
3850         * rowpainter.C:
3851         * text.C:
3852         * text2.C:
3853         * text3.C: speed up by storing y positions per paragraph plus per-row
3854         offset instead of having a 'full' y position in the row.
3855
3856 2003-10-15  André Pönitz  <poenitz@gmx.net>
3857
3858         * iterators.[Ch]:
3859         * iterators.[Ch]:
3860         * undo.[Ch]: make undo aware of inner insets
3861
3862 2003-10-14  Angus Leeming  <leeming@lyx.org>
3863
3864         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3865         static member functions LyX::ref() and LyX::cref.
3866         (lastfiles): new accessor functions for the new lastfiles_ member var.
3867         (addLyXView, views_): add a new LyXView to the list of views_.
3868         (updateInset): loop over all LyXViews to call their own updateInset
3869         member function, returning a pointer to the Buffer owning the inset.
3870
3871         * BufferView_pimpl.C (loadLyXFile):
3872         * MenuBackend.C (expandLastfiles):
3873         * bufferlist.C (MenuWrite, QuitLyX):
3874         lastfiles is no longer a global variable.
3875         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3876
3877         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3878         static function. Access through LyX::cref().emergencyCleanup().
3879
3880 2003-10-14  André Pönitz  <poenitz@gmx.net>
3881
3882         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3883
3884         * undo.[Ch]: restoring part of 'undo in insets'
3885
3886         * Makefile.am:
3887         * undo_funcs.[Ch]: merge with undo.[Ch]
3888
3889         * tabular.C: small cleansing stuff
3890
3891 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3892
3893         * paragraph_funcs.C (readParToken): report unknown insets as error
3894         boxes. Use the outer paragraph as location (also for unknown
3895         tokens).
3896
3897         * factory.C (readInset): do not abort on reading an unknown inset.
3898         Eat it and return 0.
3899
3900 2003-10-13  Angus Leeming  <leeming@lyx.org>
3901
3902         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3903
3904         * lyxrc.C: displayTranslator is now a function,
3905         declared in GraphicsTypes.h.
3906
3907 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3908
3909         * format.C: new placeholder $$a to pass the socket address.
3910
3911         * bufferlist.[Ch]: new function getBufferFromTmp.
3912
3913         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3914           files in the temporary dir.
3915
3916 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3917
3918         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3919
3920         * Makefile.am: add lyxsocket.[Ch].
3921
3922         * lyx_main.C (error_handler): handle SIGPIPE.
3923
3924 2003-10-13  André Pönitz  <poenitz@gmx.net>
3925
3926         * BufferView_pimpl.C:
3927         * lyxtext.h:
3928         * text.C:
3929         * text2.C:
3930         * text3.C:
3931         * undo_funcs.[Ch]: use paroffset_type instead of
3932           ParagraphList::iterators to prevent multiple conversion
3933           (and get a more robust interface)
3934
3935 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3938         * lyxtext.h: ditto
3939         * text3.C (dispatch): ditto
3940
3941 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3944         move the onlyfile, use onlyfile instead of foundfile in a couple
3945         of places.
3946
3947         * DepTable.C (update): flush the error stream a bit more
3948
3949 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * lyxserver.C (callback): adjust
3952
3953         * lyxfunc.C (getStatus): add a missing brace in commented code
3954         (ensureBufferClean): reindent
3955         (dispatch): delete version taking a string
3956
3957 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * LaTeX.C (deplog): move found file handlig from here...
3960         (handleFoundFile): .. to new function here.
3961         (deplog): make sure to discover several files mentioned on the
3962         same log line.
3963
3964 2003-10-10  André Pönitz  <poenitz@gmx.net>
3965
3966         * lyxfunc.C:
3967         * lyxtext.h:
3968         * tabular.C:
3969         * text.C:
3970         * text2.C:
3971         * text3.C: fix some of the tabular crashes
3972
3973 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3974
3975         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3976
3977         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3978
3979 2003-10-09  André Pönitz  <poenitz@gmx.net>
3980
3981         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3982
3983         * BufferView.C:
3984         * BufferView_pimpl.C:
3985         * bufferview_funcs.C:
3986         * lyx_cb.C:
3987         * lyxcursor.C:
3988         * lyxfind.C:
3989         * lyxfunc.C:
3990         * lyxtext.h:
3991         * text.C:
3992         * text2.C:
3993         * text3.C:
3994         * text_funcs.[Ch]:
3995         * textcursor.[Ch]:
3996         * undo_funcs.C: adjust
3997
3998 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3999
4000         * text2.C (incrementItemDepth): new function, use a backtracking
4001         algorithm to discover the correct item depth.
4002         (resetEnumCounterIfNeeded): new function, use a backtracking
4003         algorithm to discover if counter reset is needed.
4004         (setCounter): use them. Simplify a bit. Add different labels for
4005         different item depths for itemize.
4006
4007         * paragraph.C (Paragraph): remove initialization of enumdepth
4008         (operator=): ditto
4009
4010         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4011         enumerate and itemize. Change the type of itemdepth to signed char.
4012
4013 2003-10-08  André Pönitz  <poenitz@gmx.net>
4014
4015         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4016           thing assignable.
4017         * text.C:
4018         * text2.C: adjust
4019
4020         * tabular.[Ch]: fix crash after 'row-insert'
4021
4022 2003-10-08  Angus Leeming  <leeming@lyx.org>
4023
4024         Fix doxygen warnings.
4025
4026         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4027         Remove CutAndPaste:: prefix from header file declaration.
4028
4029         * LColor.h (fill): remove LColor:: prefix from declaration.
4030
4031         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4032         use lyx::depth_type rather than Paragraph::depth_type so that
4033         header file and .C file match.
4034
4035         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4036
4037         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4038         * aspell.C: \file aspell_local.C -> \file aspell.C
4039         * gettext.C: \file gettext.C -> \file src/gettext.C
4040         * gettext.h: \file gettext.h -> \file src/gettext.h
4041         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4042         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4043         * text.C: \file text.C -> \file src/text.C
4044
4045         * toc.C: move comment so that doxygen is not confused.
4046
4047 2003-10-07  Angus Leeming  <leeming@lyx.org>
4048
4049         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4050
4051 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4052
4053         * aspell.C:
4054         * aspell_local.h: add forgotten std::string's.
4055
4056 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4057
4058         * LaTeXFeatures.C:
4059         * LyXAction.C:
4060         * factory.C:
4061         * lfuns.h:
4062         * lyxfunc.C:
4063         * text3.C: The Box patch. Fancybox support, minipage, parbox
4064
4065 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4066
4067         * CutAndPaste.h:
4068         * DepTable.h:
4069         * FloatList.h:
4070         * LaTeXFeatures.h:
4071         * ParagraphParameters.h:
4072         * TextCache.h:
4073         * Thesaurus.h:
4074         * bufferlist.h:
4075         * exporter.h:
4076         * importer.h:
4077         * lastfiles.h:
4078         * lyxfind.h:
4079         * lyxfont.h:
4080         * lyxlex.h:
4081         * lyxtextclasslist.h:
4082         * messages.h:
4083         * paragraph.h:
4084         * paragraph_pimpl.C:
4085         * textcursor.h: add <string> and other small fixes to make Lars'
4086         std::string patch compile with STLport.
4087
4088 2003-10-06  Angus Leeming  <leeming@lyx.org>
4089
4090         * LColor.h: Add missing #include <string>.
4091
4092 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * All most all file in all subdirs: Make <string> be the prefered
4095         way of getting to std::string, add using declarations.
4096
4097 2003-10-06  André Pönitz  <poenitz@gmx.net>
4098
4099         * metricsinfo.C: initialize LyXFont before changing attribute.
4100         (fixes the 'math in \emph is upright' bug)
4101
4102 2003-10-06  André Pönitz  <poenitz@gmx.net>
4103
4104         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4105
4106 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4107
4108         * graph.C:
4109         * paragraph_pimpl.C: Small fixes to build using STLport
4110
4111 2003-10-02  André Pönitz  <poenitz@gmx.net>
4112
4113         * lyxfunc.C:
4114         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4115
4116 2003-10-01  André Pönitz  <poenitz@gmx.net>
4117
4118         * factory.C: assert early
4119
4120 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * lyx_main.C: remove the global debug object
4123
4124         * debug.h: adjust for new debugstream
4125
4126         * debug.C: adjust for new debugstream and keep the global debug
4127         object here.
4128
4129 2003-09-22  Angus Leeming  <leeming@lyx.org>
4130
4131         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4132         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4133         an incomplete class LyXFont.
4134
4135 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4136
4137         * factory.C: bug fix in branches
4138
4139 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * lyxfunc.C (processKeySym): adjust
4142         (dispatch): adjust
4143         (dispatch): change arg name from ev to func, adjust
4144         (sendDispatchMessage): ditto
4145
4146         * lyx_main.C (defaultKeyBindings): adjust keybindings
4147         (deadKeyBindings): ditto
4148
4149         * kbsequence.C (addkey): return a FuncRequest
4150
4151         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4152
4153         * kbmap.C (bind): take a FuncRequest as arg, adjust
4154         (read): adjust
4155         (lookup): adjust
4156         (defkey): change to take a FuncRequest as arg, adjust
4157         (findbinding): take a FuncRequest as arg, adjust.
4158
4159         * funcrequest.h (operator=): added
4160
4161         * funcrequest.C (FuncRequest): default kb_action changed from
4162         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4163
4164         * buffer.C (dispatch): simplify
4165         (dispatch): adjust to take a FuncRequest as arg, adjust
4166
4167         * boost.C (assertion_failed): change assertion message slightly
4168
4169         * ToolbarBackend.C (read): simplify
4170
4171         * MenuBackend.C (binding): adjust call to findbinding, add a
4172         message if no binding is found.
4173         (read): simplify
4174         (expandToc): correct by adding a empty FuncRequest
4175
4176         * LyXAction.C: include <boost/assert.hpp>
4177         (isPseudoAction): delete function
4178         (LookupFunc): change name to...
4179         (lookupFunc): this. change return type to FuncRequest.
4180         (getActionName): take kb_action as arg, simplify
4181         (funcHasFlag): add an assert, simplify.
4182
4183 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * toc.C (action): return a FuncRequest, simplify
4186
4187         * lyxfunc.C (processKeySym): adjust
4188         (getStatus): delete version that takes an int.
4189         (getStatus): adjust
4190         (dispatch): delete version that takes action as int
4191         (dispatch): adjust
4192         (sendDispatchMessage): simplify and adjust
4193
4194         * funcrequest.C (getArg): take unsigned int as arg
4195
4196         * ToolbarBackend.C (read): adjust
4197         (add): delete version that takes func as a string.
4198         (getIton): take a FuncRequest as arg
4199
4200         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4201         action.
4202
4203         * MenuBackend.C (MenuItem): add a new construct that only takes a
4204         Kind, simplify the constructor use for submenus.
4205         (add): adjust
4206         (expandLastfiles): adjust
4207         (expandDocuments): adjust
4208         (expandFormats): adjust
4209         (expandFloatListInsert): adjust
4210         (expandFloatInsert): adjust
4211         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4212
4213         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4214         Remove class variables lyx_pseudo_map and lyx_arg_map
4215
4216         * LyXAction.C (searchActionArg): delete function
4217         (getPseudoAction): delete function
4218         (retrieveActionArg): delete function
4219         (LookupFunc): make it return kb_action, simplify.
4220         (getActionName): simplify
4221
4222         * factory.C (createInset): fix new bug
4223
4224 2003-09-19  Angus Leeming  <leeming@lyx.org>
4225
4226         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4227         masterFilename_ parameter in the include inset.
4228
4229         * factory.C (createInset): changes due to the changes to InsetInclude.
4230
4231 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4232
4233         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4234
4235 2003-09-18  Angus Leeming  <leeming@lyx.org>
4236
4237         * buffer.C:
4238         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4239         Inset::fillWithBibKeys.
4240         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4241
4242 2003-09-18  Angus Leeming  <leeming@lyx.org>
4243
4244         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4245         variables.
4246         (ctor): pass and store a 'Buffer const &'
4247         (buffer): new member function.
4248
4249         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4250         '*this' to the LaTeXFeatures ctor.
4251
4252 2003-09-18  Angus Leeming  <leeming@lyx.org>
4253
4254         * LColor.h:
4255         * lyxfont.C:
4256         * lyxfont.h:
4257         * lyxtext.h:
4258         * text.C: rename EnumLColor as LColor_color.
4259
4260 2003-09-18  Angus Leeming  <leeming@lyx.org>
4261
4262         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4263         remove #include "insets/insetbase.h" from cursor.h.
4264
4265 2003-09-18  Angus Leeming  <leeming@lyx.org>
4266
4267         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4268         InsetOld_code to remove #include "inset.h".
4269
4270         * iterators.C: add #include "insets/inset.h"
4271
4272 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * BufferView.C: remove more locking stuff that apparently doesn't
4275         do anything sensible.
4276
4277 2003-09-16  André Pönitz  <poenitz@gmx.net>
4278
4279         * paragraph.[Ch]:
4280         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4281           performance boost.
4282
4283 2003-09-16  Angus Leeming  <leeming@lyx.org>
4284
4285         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4286
4287         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4288         arg/return type.
4289
4290         * paragraph.h: remove #include "lyxfont.h". Forward declare
4291         LyXFont_size.
4292
4293 2003-09-16  Angus Leeming  <leeming@lyx.org>
4294
4295         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4296         of support/textutils.h.
4297         (isWord): move the contents of support/textutils.h's IsWordChar here.
4298
4299         * buffer.C:
4300         * lyxfind.C:
4301         * rowpainter.C:
4302         * text.C:
4303         * text2.C: add #include "paragraph.h".
4304
4305         * rowpainter.C:
4306         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4307
4308 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * main.C:
4311         * lyx_main.C:
4312         * lyx_cb.C:
4313         * buffer.C:
4314         * LaTeX.C: use namespace alias for lyx::support::os
4315
4316 2003-09-16  Angus Leeming  <leeming@lyx.org>
4317
4318         * bufferparams.C:
4319         * bufferview_funcs.C:
4320         * factory.C:
4321         * lyxfunc.C:
4322         * paragraph_pimpl.C:
4323         * rowpainter.C:
4324         * text.C: add #include "LColor.h".
4325
4326 2003-09-16  Angus Leeming  <leeming@lyx.org>
4327
4328         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4329         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4330         return LyXFont &.
4331         Store the FontBits::color variable as an int rather than as an
4332         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4333         file.
4334
4335         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4336         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4337         string calls together.
4338
4339         * lyxrc.C: add #include "LColor.h".
4340
4341 2003-09-15  Angus Leeming  <leeming@lyx.org>
4342
4343         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4344         a cow_ptr.
4345
4346 2003-09-15  Angus Leeming  <leeming@lyx.org>
4347
4348         * LColor.h: add an EnumLColor wrapper for LColor::color.
4349
4350         * lyxfont.[Ch] (color, setColor, realColor):
4351         * lyxtext.h, text.C (backgroundColor):
4352         pass EnumLColor args to/from the functions, rather than LColor::color
4353         ones.
4354
4355         * lyxfont.h:
4356         * lyxtext.h: forward declare EnumLColor.
4357
4358         * lyx_main.C: add #include "LColor.h".
4359
4360 2003-09-15  Angus Leeming  <leeming@lyx.org>
4361
4362         * .cvsignore: add lyx-gtk.
4363
4364 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * Chktex.C
4367         * LaTeX.C
4368         * LaTeXFeatures.C
4369         * ParagraphParameters.C
4370         * Spacing.C
4371         * buffer.C
4372         * bufferparams.C
4373         * bufferview_funcs.C
4374         * chset.C
4375         * counters.C
4376         * funcrequest.C
4377         * lyxfont.C
4378         * lyxgluelength.C
4379         * lyxlength.C
4380         * paragraph.C
4381         * paragraph_funcs.C
4382         * text3.C
4383         * vc-backend.C: remove usage of STRCONV
4384
4385 2003-09-15  Angus Leeming  <leeming@lyx.org>
4386
4387         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4388         explicitly define the color passed to the painter.
4389
4390 2003-09-15  Angus Leeming  <leeming@lyx.org>
4391
4392         * bufferparams.C (BufferParams): reorder member initializers to avoid
4393         compiler warning.
4394
4395 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4398         * text.C (updateRowPositions): remove an unusual nop
4399
4400 2003-09-12  André Pönitz  <poenitz@gmx.net>
4401
4402         * BufferView_pimpl.C:
4403         * Bullet.C:
4404         * layout.h:
4405         * lyxfunc.C:
4406         * lyxlayout.[Ch]:
4407         * lyxtextclass.C:
4408         * rowpainter.C:
4409         * text.C:
4410         * text2.C:
4411         * Counters.[Ch]: finish the 'automatic counters' job
4412
4413 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4414
4415         * aspell.C: include <boost/assert.cpp> (compile fix)
4416
4417 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4418
4419         * boost.C (assertion_failed): use lyx::support::abort instead of
4420         assert.
4421
4422 2003-09-10  Angus Leeming  <leeming@lyx.org>
4423
4424         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4425         with their _fwd progeny.
4426
4427 2003-09-09  Angus Leeming  <leeming@lyx.org>
4428
4429         134 files throughtout the source tree: replace 'using namespace abc;'
4430         directives with the appropriate 'using abc::xyz;' declarations.
4431
4432 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4433
4434         * boost.C (emergencyCleanup): moved here from LAssert.c
4435         (assertion_failed): new function, called by BOOST_ASSERT
4436
4437         * several files: change Assert to BOOST_ASSERT
4438
4439 2003-09-09  Angus Leeming  <leeming@lyx.org>
4440
4441         * buffer.[Ch]: Add an Impl class and move Buffer's member
4442         variables into it. As a result move several header files out of
4443         buffer.h.
4444
4445         Add header files to lots of .C files all over the tree as a result.
4446
4447 2003-09-09  Angus Leeming  <leeming@lyx.org>
4448
4449         * buffer.[Ch]: make Buffer's member variables private. Add
4450         accessor functions.
4451
4452         Lots of changes all over the tree as a result.
4453
4454 2003-09-08  Angus Leeming  <leeming@lyx.org>
4455
4456         * graph.C: #include <config.h>.
4457
4458 2003-09-08  Angus Leeming  <leeming@lyx.org>
4459
4460         * BranchList.C:
4461         * BufferView.C:
4462         * BufferView_pimpl.C:
4463         * CutAndPaste.C:
4464         * DepTable.C:
4465         * LaTeX.C:
4466         * LaTeXFeatures.C:
4467         * LyXAction.C:
4468         * MenuBackend.C:
4469         * TextCache.C:
4470         * aspell.C:
4471         * buffer.C:
4472         * bufferlist.C:
4473         * changes.C:
4474         * chset.C:
4475         * converter.C:
4476         * counters.C:
4477         * debug.C:
4478         * graph.C:
4479         * ispell.C:
4480         * lyx_cb.C:
4481         * lyxfind.C:
4482         * lyxfunc.C:
4483         * lyxlex_pimpl.C:
4484         * lyxrc.C:
4485         * lyxrow.C:
4486         * paragraph.C:
4487         * rowpainter.C:
4488         * texrow.C:
4489         * text.C:
4490         * text2.C:
4491         * toc.C: remove redundant using directives.
4492
4493 2003-09-07  Angus Leeming  <leeming@lyx.org>
4494
4495         * LaTeXFeatures.h: remove #include "support/types.h".
4496         * ToolbarBackend.h: remove #include <algorithm>.
4497         * changes.h: remove #include <ctime>.
4498         * debug.h: remove #include <iosfwd>.
4499         * graph.h: remove #include "support/std_string.h".
4500         * lyx_main.h: remove #include <csignal>.
4501         * lyxlex_pimpl.h: remove #include <fstream>.
4502         * sgml.h: remove #include <algorithm>, <utility>.
4503         * toc.h: remove #include "support/std_ostream.h".
4504         Add #include <iosfwd>.
4505
4506 2003-09-07  Angus Leeming  <leeming@lyx.org>
4507
4508         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4509
4510         * converter.h: forward declare LatexRunParams.
4511         * encoding.h: remove #include "lyxrc.h".
4512         * lyxtext.h: remove #include "LColor.h".
4513         * lyxtextclass.h: remove #include "support/types.h".
4514         * trans.h: remove #include "tex-accent.h".
4515         * trans_mgr.h: remove #include "tex-accent.h".
4516         * insets/inset.h: remove #include "support/types.h", <vector>.
4517         * insets/insetcollapsable.h: remove #include "LColor.h".
4518         * insets/insetinclude.h: remove #include "dimension.h".
4519         * insets/insetlatexaccent.h: remove #include "dimension.h".
4520         * insets/insetoptarg.h:: remove #include "insettext.h".
4521         * insets/insettext.h: remove #include "dimension.h",
4522         <boost/shared_ptr.hpp>
4523
4524         * insets/renderers.h: add #include "dimension.h".
4525         * insets/updatableinset.h: add #include "support/types.h".
4526
4527         * many .C files: Associated changes.
4528
4529 2003-09-06  Angus Leeming  <leeming@lyx.org>
4530
4531         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4532         one, inside testInvariant.
4533
4534         * PrinterParams.C: new file.
4535         * PrinterParams.[Ch]: move the function bodies out of line.
4536
4537 2003-09-06  Angus Leeming  <leeming@lyx.org>
4538
4539         * ParagraphParameters.h: forward declare ParameterStruct rather than
4540         including its header file.
4541         (depth): moved out-of-line.
4542
4543 2003-09-06  Angus Leeming  <leeming@lyx.org>
4544
4545         * BufferView_pimpl.h:
4546         * kbmap.h:
4547         * kbsequence.h:
4548         * lyxfunc.h: forward declare LyXKeySym rather than
4549         #include "frontends/LyXKeySym.h".
4550
4551         * BufferView_pimpl.C:
4552         * kbmap.C:
4553         * kbsequence.C:
4554         * lyxfunc.C: associated changes.
4555
4556 2003-09-06  Angus Leeming  <leeming@lyx.org>
4557
4558         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4559         As a result, can remove the #include "insets/inset.h" from BufferView.h
4560
4561 2003-09-06  Angus Leeming  <leeming@lyx.org>
4562
4563         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4564         As a result, can remove the #include "insets/inset.h" from BufferView.h
4565
4566 2003-09-06  Angus Leeming  <leeming@lyx.org>
4567
4568         * buffer_funcs.C:
4569         * buffer.h:
4570         * bufferlist.C:
4571         * BufferView.C:
4572         * bufferview_funcs.C:
4573         * BufferView_pimpl.C:
4574         * CutAndPaste.C:
4575         * lyx_cb.C:
4576         * lyxfunc.C:
4577         * paragraph.h:
4578         * ParagraphParameters.C:
4579         * tabular.C:
4580         * text3.C:
4581         * toc.C:
4582         * undo_funcs.C:
4583         * frontends/controllers/ControlDocument.C:
4584         * insets/insetcaption.C: rearrange the #includes into some sort of
4585         coherent order.
4586
4587         * buffer.h: remove #includes ErrorList.h, undo.h
4588
4589 2003-09-06  Angus Leeming  <leeming@lyx.org>
4590
4591         * support/types.h: add a 'depth_type' typedef, used to store the
4592         nesting depth of a paragraph.
4593
4594         * paragraph.h:
4595         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4596         defining explicitly.
4597
4598         * buffer.h:
4599         * paragraph_funcs.h:
4600         * ParagraphParameters.h:
4601         * sgml.h: use lyx::depth_type rather than Paragraph or
4602         ParameterStruct's depth_type.
4603
4604         * buffer.h
4605         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4606
4607         * BufferView.C:
4608         * BufferView_pimpl.C:
4609         * CutAndPaste.C:
4610         * ParagraphParameters.C:
4611         * buffer_funcs.C:
4612         * bufferlist.C:
4613         * bufferview_funcs.C:
4614         * lyx_cb.C:
4615         * lyxfunc.C:
4616         * tabular.C:
4617         * text3.C:
4618         * toc.C:
4619         * undo_funcs.C:
4620         * frontends/LyXView.C:
4621         * frontends/controllers/ControlDocument.C:
4622         * frontends/controllers/ControlErrorList.C:
4623         * insets/insetbibitem.C:
4624         * insets/insetbranch.C:
4625         * insets/insetcaption.C:
4626         * insets/insetcollapsable.C:
4627         * insets/insetenv.C:
4628         * insets/insetert.C:
4629         * insets/insetfloat.C:
4630         * insets/insetfoot.C:
4631         * insets/insetfootlike.C:
4632         * insets/insetnewline.C:
4633         * insets/insetquotes.C:
4634         * insets/insettabular.C:
4635         * insets/insettext.C:
4636         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4637
4638         * frontends/controllers/ControlChanges.C: #include "changes.h".
4639
4640 2003-09-06  Angus Leeming  <leeming@lyx.org>
4641
4642         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4643         than #including paragraph.h.
4644
4645         * ParagraphList.h:
4646         * RowList.h: deleted. Superfluous.
4647
4648         * CutAndPaste.h:
4649         * iterators.h:
4650         * lyxcursor.h:
4651         * lyxtext.h:
4652         * text_funcs.h:
4653         * undo.h:
4654         * undo_funcs.h:
4655         * insets/inset.h:
4656         * insets/insettext.h: use ParagraphList_fwd.h rather than
4657         ParagraphList.h.
4658
4659         * paragraph.h: don't forward declare ParagraphList.
4660
4661         * buffer.h:
4662         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4663         rather than ParagraphList.h. paragraph.h is still needed for the
4664         Paragraph::depth_type parameters.
4665
4666         * textcursor.h: enable it to compile stand-alone in light of the
4667         above changes.
4668
4669         * bufferview_funcs.C:
4670         * iterators.C:
4671         * lyxfunc.C:
4672         * lyxrow_funcs.C:
4673         * paragraph.C:
4674         * rowpainter.C:
4675         * text.C:
4676         * text2.C:
4677         * text3.C:
4678         * text_funcs.C:
4679         * textcursor.C:
4680         * undo.C:
4681         * frontends/controllers/ControlParagraph.C:
4682         * frontends/controllers/ControlTabular.C:
4683         * insets/insetmarginal.C:
4684         * insets/insetminipage.C:
4685         * insets/insetnote.C:
4686         * insets/insetoptarg.C: add header files needed to compile again.
4687
4688 2003-09-06  Angus Leeming  <leeming@lyx.org>
4689
4690         * RowList_fwd.h: new file, forward-declaring Row rather than
4691         #including lyxrow.h.
4692
4693         * lyxrow_funcs.h:
4694         * lyxtext.h:
4695         * paragraph.h:
4696         * insets/insettext.h: use it instead of RowList.h
4697
4698         * bufferview_funcs.C:
4699         * lyxfunc.C:
4700         * lyxrow_funcs.C:
4701         * paragraph.C:
4702         * rowpainter.C:
4703         * text.C:
4704         * text2.C:
4705         * text3.C: #include "RowList.h".
4706
4707 2003-09-05  Angus Leeming  <leeming@lyx.org>
4708
4709         * factory.C (createInset):
4710         * vspace.C (c-tor): replace sscanf call with an istringstream.
4711         * ispell.C: re-add missing HP/UX headers.
4712         * lyxserver.C: re-add missing  os2 headers.
4713
4714 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4715
4716         * BranchList.C:
4717         * graph.C:
4718         * ispell.C:
4719         * lastfiles.C:
4720         * lyx_cb.C:
4721         * lyxserver.C:
4722         * texrow.C:
4723         * text3.C: re-add missing system headers, needed for 2.95.2.
4724
4725 2003-09-05  Angus Leeming  <leeming@lyx.org>
4726
4727         Changes most place everywhere due to the removal of using directives
4728         from support/std_sstream.h.
4729
4730 2003-09-05  Angus Leeming  <leeming@lyx.org>
4731
4732         Replace LString.h with support/std_string.h,
4733         Lsstream.h with support/std_sstream.h,
4734         support/LIstream.h with support/std_istream.h,
4735         support/LOstream.h with support/std_ostream.h.
4736
4737         Changes resulting throughout the tree.
4738
4739 2003-09-05  Angus Leeming  <leeming@lyx.org>
4740
4741         * sgml.h: ensure that the header file can be compiled stand-alone.
4742         * *.C: strip out redundant #includes. (320 in total.)
4743
4744 2003-09-04  Angus Leeming  <leeming@lyx.org>
4745
4746         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4747         here (from getPackages).
4748
4749         * debug.[Ch]: add a new EXTERNAL tag.
4750
4751 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4752
4753         * text2.C (cursorEnd): simplify
4754         (setCursor): adjust
4755         (getColumnNearX): adjust
4756
4757         * text.C (computeBidiTables): adjust
4758         (fill): adjust
4759
4760         * rowpainter.C (paintChars): adjust
4761         (paintSelection): adjust
4762         (paintChangeBar): adjust
4763         (paintText): adjust
4764
4765         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4766         lastPos instead.
4767         (numberOfSeparators): adjust
4768
4769 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4770
4771         * LyXAction.C:
4772         * box.[Ch]:
4773         * lfuns.h:
4774         * lyxfunc.C:
4775         * text3.C: Restricts the mouse click functionality
4776         of insets like bibtex, include, toc and floatlist to the visible
4777         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4778         up the dialogs. Cursor has to be in front of the inset (i.e.
4779         start of row) for this to function.
4780
4781 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4782
4783         * bufferview_funcs.C (currentState): output row information
4784
4785 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4786
4787         * bufferview_funcs.C (currentState): output paragraph position
4788
4789 2003-09-04  Angus Leeming  <leeming@lyx.org>
4790
4791         * FloatList.h: move out #include "Floating.h".
4792         * LaTeX.h: move out #include "DepTable.h".
4793         * LyXAction.h: move out #include "funcrequest.h".
4794         * buffer.h: move out #include "author.h", "iterators.h".
4795         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4796         * lyx_main.h: move out #include "errorlist.h".
4797         * lyxfunc.h: move out #include "FuncStatus.h".
4798         * lyxtext: move out #include "lyxcursor.h".
4799         * paragraph_pimpl.h: move out #include "counters.h".
4800
4801 2003-09-03  Angus Leeming  <leeming@lyx.org>
4802
4803         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4804         preamble_snippets list, enabling us to add snippets to the preamble
4805         only if the snippet was not there already.
4806
4807 2003-09-04  Angus Leeming  <leeming@lyx.org>
4808
4809         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4810
4811 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4814         update
4815
4816 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4817
4818         * BranchList.C: point fix, earlier forgotten
4819
4820 2003-09-02  Angus Leeming  <leeming@lyx.org>
4821
4822         * box.C (contains): renamed from 'contained' after a fantastic
4823         amount of hot air.
4824
4825 2003-09-02  John Levon  <levon@movementarian.org>
4826
4827         * BufferView.C:
4828         * lyxcursor.h:
4829         * lyxcursor.C:
4830         * lyxfunc.C:
4831         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4832
4833 2003-09-02  John Levon  <levon@movementarian.org>
4834
4835         * text2.C: simplification of cursorEnd(), including partial
4836         fix for bug 1376
4837
4838 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * buffer.C (readFile): add a space
4841
4842 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4843
4844         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4845
4846 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * buffer.C (readFile): new function, take a filename and a
4849         ParagraphList::iterator
4850         (readFile): adjust
4851         (readFile): adjust, make it private. don't use setStream, make
4852         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4853         always contain the filename.
4854
4855         * BufferView.C (insertLyXFile): simplify and make it work for
4856         gzipped files.
4857
4858 2003-08-30  John Levon  <levon@movementarian.org>
4859
4860         * Makefile.am: fix dist (from Kayvan)
4861
4862 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * most files: change to use const Buffer refs
4865
4866 2003-08-27  André Pönitz  <poenitz@gmx.net>
4867
4868         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4869         on top of ownerPar().
4870
4871 2003-08-27  John Levon  <levon@movementarian.org>
4872
4873         * funcrequest.C: properly initialise POD members
4874
4875 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4876
4877         * lyxtext.h (top_y): move top_y from here
4878         * text.C:
4879         * text2.C:
4880         * text3.C:
4881         * BufferView.[Ch]:
4882         * BufferView_pimpl.[Ch]: to here
4883         * frontends/screen.C:
4884         * insets/insettabular.C:
4885         * insets/insettext.C: adjust
4886         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4887
4888 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * BufferView.[Ch]:
4891         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4892
4893 2003-08-26  André Pönitz  <poenitz@gmx.net>
4894
4895         * paragraph_func.[Ch] (outerPar): new function
4896
4897         * paragraph.C:
4898         * paragraph_funcs.C:
4899         * paragraph_funcs.h:
4900         * paragraph_pimpl.C:
4901         * text2.C: remove Inset::par_owner
4902
4903 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4904
4905         * lyxrow_funcs.C:
4906         * lyxtext.h:
4907         * text.C:
4908         * text2.C: eliminates the needFullRow/display() stuff
4909         altogether, putting the logic in metrics/draw in the insets.
4910
4911 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * text2.C (redoParagraphInternal, redoParagraphs):
4914         * text.C (redoParagraph): add a call to updateRowPositions at the
4915         end of each 'metrics-like' call. Remove all others.
4916         (getRow): remove the 'y-computing' version.
4917         (getRowNearY): do not compute nor return the real y. Solve the
4918         'y < 0' problem and simplify.
4919
4920 2003-08-22  Angus Leeming  <leeming@lyx.org>
4921
4922         * *.[Ch]: clean-up of licence and author blurbs.
4923         Also move config.h out of a few .h files and into a few .C files.
4924
4925 2003-08-22  André Pönitz  <poenitz@gmx.net>
4926
4927         * lyxrow.[Ch]: add x_ and *fill_ members
4928
4929         * lyxtext.h:
4930         * text.C:
4931         * rowpainter.C:
4932         * text2.C: adjust/remove prepareToPrint() calls
4933
4934 2003-08-22  André Pönitz  <poenitz@gmx.net>
4935
4936         * lyxrow.[Ch]: add  end_ member
4937
4938         * lyxrow_funcs.C: use LyXRow::end_
4939
4940         * lyxtext.h (singleWidth): add LyXFont parameter
4941
4942         * rowpainter.C:
4943         * text2.C: adjust LyXText::singleWidth() calls
4944
4945         * text.C (redoParagraph): simplify row breaking logic
4946
4947
4948 2003-08-19  André Pönitz  <poenitz@gmx.net>
4949
4950         * funcrequest.C: initialize button_ member
4951
4952         * text3.C:
4953         * rowpainter.[Ch]: interface consolidation
4954
4955 2003-08-18  André Pönitz  <poenitz@gmx.net>
4956
4957         * BufferView.C:
4958         * BufferView_pimpl.C:
4959         * lyxfind.C:
4960         * paragraph_funcs.C:
4961         * rowpainter.C:
4962         * text3.C: remove LyXScreen::draw() and fitCursor calls
4963
4964         * BranchList.h: remove spurious semicolons
4965
4966         * MenuBackend.C: fix branchlist related crash
4967
4968 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4969
4970         * BranchList.[Ch]:
4971         * InsetList.[Ch]:
4972         * LColor.[Ch]:
4973         * LyXAction.C:
4974         * Makefile.am:
4975         * MenuBackend.[Ch]:
4976         * bufferparams.[Ch]:
4977         * factory.C:
4978         * lfuns.h:
4979         * lyxfunc.C:
4980         * text3.C: implements the 'branch inset'
4981         idea. This allows the output of various versions of a document
4982         from a single source version, selectively outputing or suppressing
4983         output of parts of the text.
4984         This implementation contains a 'branch list editor' in a separate
4985         tab of the document settings dialog. Branches are user definable
4986         and have a "display colour" to distinguish them on-screen.
4987
4988         ColorHandler was somewhat cleaned up.
4989         (1) make possible a dynamically growing LColor list by allowing
4990         the graphic context cache to grow along (vector);
4991         (2) eliminate an IMHO unnecessary step in colour allocation.
4992
4993 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4994
4995         * BufferView_pimpl.C: compile fix
4996
4997 2003-08-15  André Pönitz  <poenitz@gmx.net>
4998
4999         * rowpainter.C: remove extra metrics calls
5000
5001         * lyxtext.h: merge the two constructors into a single one,
5002           pass reference to owner's par list
5003
5004         * BufferView_pimpl.C:
5005         * text.C:
5006         * text2.C: adjust
5007
5008 2003-08-15  André Pönitz  <poenitz@gmx.net>
5009
5010         * lyxrow_funcs.[Ch]:
5011         * lyxtext.h:
5012         * paragraph.h:
5013         * paragraph_funcs.C:
5014         * rowpainter.C:
5015         * text.C:
5016         * text2.C:
5017         * text3.C:
5018         * text_funcs.C: split LyXText::rowlist_ into individual
5019         Paragraph::rows_ chunks
5020
5021         * BufferView.[Ch]:
5022         * BufferView_pimpl.[Ch]:
5023         * lyxfind.C:
5024         * lyxtext.h:
5025         * text3.C: remove toggleSelection()
5026
5027 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5028
5029         * bufferlist.C: beautify two alerts (shorter text of buttons)
5030         * buffer.C: Remove redundant ' ' from message
5031         * tabular.h:
5032         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5033         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5034         rename VALIGN_CENTER to VALIGN_MIDDLE
5035
5036 2003-08-11  André Pönitz  <poenitz@gmx.net>
5037
5038         * lyxtext.h (getPar):
5039         * text.C: new function
5040
5041 2003-08-11  André Pönitz  <poenitz@gmx.net>
5042
5043         * Makefile.am:
5044         * tracer.[Ch]: remove unneeded files
5045
5046         * InsetList.[Ch]: remove resizeInsetsLyXText()
5047
5048         * lyxtext.h:
5049         * text.C:
5050         * text2.C:
5051         * text3.C: merge insertParagraphs() and appendParagraph()
5052         remove breakAgain(), update()
5053
5054         * BufferView_pimpl.[Ch]:
5055         * bufferview_funcs.[Ch]:
5056         * lyxfunc.C:
5057         * paragraph.[Ch]:
5058         * rowpainter.C:
5059         * tabular.C: adjust after text & InsetList changes.
5060
5061 2003-08-08  André Pönitz  <poenitz@gmx.net>
5062
5063         * text.C (insertChar, backspace): replace rowlist fiddling
5064         with rebreak of full par
5065
5066         * lyxtext.h:
5067         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5068         checkParagraph, updateInset): removed
5069
5070 2003-08-07  André Pönitz  <poenitz@gmx.net>
5071
5072         * paragraph.C:
5073         * text3.C: merge some LFUN handlers, remove dead code
5074
5075 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5076
5077         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5078
5079 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * text2.C (DEPM): fix part of bug 1255 and 1256
5082
5083 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5084
5085         * BufferView_pimpl.C (workAreaDispatch): change to use
5086         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5087         that are no mouse related.
5088
5089 2003-08-05  André Pönitz  <poenitz@gmx.net>
5090
5091         * BufferView.[Ch]:
5092         * BufferView_pimpl.[Ch]:
5093         * bufferview_funcs.C:
5094         * text2.C:
5095         * text3.C: rip out "deep update"
5096
5097         * textcursor.[Ch] (last_sel_cursor): remove unused member
5098
5099 2003-08-04  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView.[Ch]:
5102         * BufferView_pimpl.[Ch]:
5103         * ParagraphParameters.C:
5104         * bufferview_funcs.C:
5105         * lyx_cb.C:
5106         * lyxfind.C:
5107         * lyxfunc.C:
5108         * text.C:
5109         * text2.C:
5110         * text3.C: replace "complicated" BufferView::update(...) calls with
5111         simpler ones.
5112
5113         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5114
5115 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5116
5117         * Makefile.am (lyx_SOURCES): add paper.h
5118
5119 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5120
5121         * Makefile.am: move things around so that both lyx-qt and
5122         lyx-xforms can be built (according to --with-frontend). Then lyx
5123         is a symbolic link to lyx-[firstfrontend]
5124
5125 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5126
5127         * Always use std::endl with lyxerr
5128
5129 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5130
5131         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5132
5133 2003-08-01  André Pönitz  <poenitz@gmx.net>
5134
5135         * BufferView.[Ch]:
5136         * BufferView_pimpl.[Ch]:
5137         * lyxfunc.C:
5138         * text3.C: merge BufferView::repaint() and BufferView::update()
5139
5140 2003-08-01  José Matos  <jamatos@lyx.org>
5141
5142         * buffer.[Ch]: file_format is no longer a buffer data element.
5143
5144 2003-08-01  André Pönitz  <poenitz@gmx.net>
5145
5146         * BufferView.C:
5147         * lyxtext.h:
5148         * text.C:
5149         * text2.C: make redoParagraph more independent of current cursor
5150
5151         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5152         * text.C:
5153         * text2.C: remove unneeded members
5154
5155 2003-07-30  André Pönitz  <poenitz@gmx.net>
5156
5157         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5158
5159         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5160           create a single function...
5161
5162         * paragraph_funcs.C (moveItem): ... here.
5163
5164         * text.C:
5165           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5166
5167 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * LColor.[Ch]: Add comment and greyedout logical colors.
5170
5171 2003-07-30  André Pönitz  <poenitz@gmx.net>
5172
5173         * tabular.C: don't use Assert too heavily. This crashes where it
5174           shouldn't
5175
5176 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5179         is disabled (bug 1232)
5180
5181 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5182
5183         * factory.C: limited 'arg' scope
5184
5185 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5186
5187         * factory.C: fixed Note submenu issues
5188
5189 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * factory.C: submenu for Note/Comment/Greyedout
5192
5193 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5194
5195         * lyx_main.C (LyX):
5196         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5197
5198 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5199
5200         * LaTeXFeatures.C:
5201         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5202         greyedout. Patch provided by Jürgen Spitzmüller.
5203
5204 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5205
5206         * kbmap.C (read): fix error message when reading bind files
5207
5208 2003-07-29  Angus Leeming  <leeming@lyx.org>
5209
5210         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5211         certainly does not do what it purports to do. I am doing it, and
5212         us, a favour by killing it.
5213
5214 2003-07-28  José Matos  <jamatos@lyx.org>
5215
5216         * buffer.C (readBody, do_writeFile):
5217         * paragraph.C(readParagraph): \end_document replaces \the_end.
5218
5219 2003-07-29  André Pönitz  <poenitz@gmx.net>
5220
5221         * BufferView.[Ch]:
5222         * BufferView_pimpl.[Ch]:
5223         * lyxfunc.C:
5224         * text2.C:
5225         * text3.C:
5226         * textcursor.[Ch]: remove toggleToggle & Co
5227
5228 2003-07-28  José Matos  <jamatos@fep.up.pt>
5229
5230         * buffer.C (readParagraph):
5231         * params_func (readParToken, readParagraph):
5232         * paragraph.C (write): \layout -> \begin_layout.
5233
5234 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5235
5236         * lyxlex_pimpl.C (setFile): clean up slightly.
5237
5238         * bufferparams.h: add compressed var
5239
5240         * buffer_funcs.C (readFile): adjust for LyXLex change
5241         (newFile): ditto + simplify
5242
5243         * buffer.C (writeFile): handle writing of compressed files
5244
5245         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5246         Check if the file is compressed and set a bufferparm if so.
5247
5248         * Makefile.am (lyx_LDADD): remove explicit -lz
5249
5250 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5251
5252         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5253         makeDocBookFile): put the real LyX version in the first line of
5254         the file
5255
5256         * version.h:
5257         * version.C.in: remove lyx_docversion
5258
5259         * tabular.C (write_attribute): add a template-based version to
5260         write enums properly
5261
5262 2003-07-28  André Pönitz  <poenitz@gmx.net>
5263
5264         * lyxtext.h:
5265         * text.C:
5266         * text2.C:
5267         * text3.C: use doubles again for x-coordinates. They are needed.
5268
5269 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * messages.C (getLocaleDir): use lyx_localedir()
5272
5273         * lyxlex_pimpl.C (setFile): compress stuff
5274
5275         * buffer.C (writeFile): add some compression stuff
5276         (do_writeFile): new func, dont call expliti close... will this
5277         breake anything?
5278
5279         * Makefile.am (lyx_LDADD): add -lz
5280
5281 2003-07-28  José Matos  <jamatos@fep.up.pt>
5282
5283         * buffer.C: increment file format.
5284         * paragraph_funcs (readParagraph, readParToken):
5285         * paragraph.C (readParagraph): add \end_layout.
5286
5287 2003-07-27  Angus Leeming  <leeming@lyx.org>
5288
5289         * Makefile.am: remove special casing for configure-time setting of
5290         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5291
5292         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5293         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5294
5295 2003-07-26  André Pönitz  <poenitz@gmx.net>
5296
5297         * paragraph_func.[Ch]:
5298         * paragraph.C (realizeFont): inline it whereever it is used
5299
5300         * rowpainter.C:
5301         * text.C:
5302         * text2.C:
5303         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5304
5305
5306 2003-07-26  André Pönitz  <poenitz@gmx.net>
5307
5308         *       lyxtext.h:
5309         * text.C:
5310         * text2.C: get rid of LyXText::need_break_row
5311
5312 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * toc.[Ch]: put namespace toc inside namespace lyx
5315
5316         * MenuBackend.C (expandToc2): adjust for lyx::toc
5317         (expandToc): ditto
5318
5319         * lyxfunc.C (dispatch): adjust for lyx::find
5320
5321         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5322         lyx::find instead. Reorganize a bit.
5323         (LyXReplace): rename to replace
5324         (LyXFind): rename to find
5325
5326         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5327         (dispatch): ditto
5328
5329 2003-07-26  André Pönitz  <poenitz@gmx.net>
5330
5331         * text.C (setHeightOfRow): restrict scope of temporary variable
5332
5333         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5334           code (never has been used?)
5335
5336 2003-07-27  Asger Alstrup  <alstrup@local>
5337
5338         * text.C (fill): Optimise algorithm to exploit that we can reuse
5339         the LyXFont for many characters.
5340         (setHeightOfRow): Same thing.
5341         (rowBreakPoint): Same thing.
5342
5343 2003-07-26  Asger Alstrup  <alstrup@local>
5344
5345         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5346
5347         * text.C (singleWidth): Spurious font copying in hot-spot
5348         singleWidth avoided. Reorder tests for arabic for efficiency.
5349
5350         * text.C (fill): handle empty paragraphs better.
5351
5352 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5353
5354         * ispell.C:
5355         * encoding.h: add includes
5356
5357         * lyxrc.C: remove reading of bind files
5358
5359         * lyx_main.C (init): setup bindings and menus only if we have a
5360         gui.
5361
5362         * kbmap.C (read): new method. Do the actual reading of bind
5363         files.
5364
5365         * converter.C (dvipdfm_options):
5366         * bufferparams.C:
5367         * lyxrc.C (read):
5368         (output): adapt PAPER_* enums.
5369
5370         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5371
5372         * bufferparams.h: remove paper-related enums from there
5373
5374         * paper.h: New file. A trivial header file to hold paper-related
5375         enums. It should later expand to contain many paper-related
5376         horrors access.
5377
5378         * lyxrc.C: declare extern displayTranslator
5379
5380 2003-07-27  José Matos  <jamatos@fep.up.pt>
5381
5382         * tabular.[Ch] (linuxdoc): add support for tables and figures
5383         (linuxdoc).
5384
5385 2003-07-27  José Matos  <jamatos@fep.up.pt>
5386
5387         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5388         consistency in both functions.
5389         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5390
5391 2003-07-26  Asger Alstrup  <alstrup@local>
5392
5393         * rowpainter.C (paintRows): Change algorithm to work directly on
5394         the insets rather than asking every character in the document
5395         whether its an inset.
5396
5397 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5398
5399         * buffer.C (openFileWrite): factorize some code
5400
5401 2003-07-26  Angus Leeming  <leeming@lyx.org>
5402
5403         * lyx_cb.C:
5404         * lyx_main.[Ch]: replace occurances of system_tempdir with
5405         os::getTmpDir().
5406
5407 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * rename Inset to InsetOld
5410
5411 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5412
5413         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5414         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5415         which I think is a bit clearer. EDIT is gone, since it was
5416         premature optimisation, and broken for mathed anyway.
5417         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5418         with cursor positioning in insets as well (math insets still do not
5419         work, but that's a different story anyway.) It mysteriously
5420         crashes sometimes with undo in the first paragraph, but I'm fairly
5421         confident that this is a compiler bug.
5422
5423 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * paragraph.C (Paragraph): adjust for new clone return type
5426         (operator==): ditto
5427         (copyIntoMinibuffer): ditto
5428
5429 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5430
5431         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5432         by not having a special case, and always doing a full rebreak of
5433         the document after undo.
5434
5435 2003-07-23  Angus Leeming  <leeming@lyx.org>
5436
5437         * factory.C (createInset): InsetExternal::setParams now takes a
5438         Buffer const * arg.
5439
5440 2003-07-23  Angus Leeming  <leeming@lyx.org>
5441
5442         * factory.C (createInset): changed interface to the external and
5443         graphics mailers' string2params functions.
5444
5445 2003-07-23  Angus Leeming  <leeming@lyx.org>
5446
5447         * factory.C (createInset): pass a
5448         Buffer const * parameter to InsetExternalMailer's string2params.
5449
5450 2003-07-22  John Levon  <levon@movementarian.org>
5451
5452         * Thesaurus.h: include the right aiksaurus header
5453
5454 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5455
5456         * MenuBackend.C (expand): check menu shortcuts unconditionally
5457
5458 2003-07-21  Angus Leeming  <leeming@lyx.org>
5459
5460         * factory.C (createInset): pass a
5461         buffer_path parameter to InsetGraphicsMailer's string2params.
5462
5463 2003-07-21  Angus Leeming  <leeming@lyx.org>
5464
5465         * BufferView_pimpl.C (buffer):
5466         * buffer.C (d-tor):
5467         * lyx_main.C (LyX):
5468         * lyxfunc.C (dispatch):
5469         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5470         rather than the grfx shortcut.
5471
5472 2003-07-21  André Pönitz  <poenitz@gmx.net>
5473
5474         * rowpainter.C: remove unused variables
5475
5476         * tabular_funcs.C:
5477         * tabular_funcs.h: move to tabular.C
5478         * Makefile.am: adjust
5479
5480         * tabular.[Ch]: basic optical cleaning
5481
5482         * author.h: pass references, not values
5483
5484 2003-07-18  André Pönitz  <poenitz@gmx.net>
5485
5486         * lyxtext.h:
5487         * metricsinfo.C:
5488         * metricsinfo.h:
5489         * rowpainter.C:
5490         * text.C:
5491         * text2.C:
5492         * text3.C: two-phase drawing for InsetText and InsetTabular
5493         some float -> int changes.
5494
5495 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * lyx_main.C: fix the fix
5498
5499 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * lyx_main.C: fix a crash in batch mode if no files specified
5502         * converter.C: ws
5503
5504 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * format.[Ch] (papersize): moved to BufferParams
5507         * converter.[Ch] (dvips_options): moved to BufferParams
5508         (dvipdfm_options): moved to anon namespace
5509         * bufferparams.[Ch]: added above functions.
5510
5511 2003-07-17  André Pönitz  <poenitz@gmx.net>
5512
5513         * lyxtext.h:
5514         * rowpainter.C:
5515         * text2.C: don't call inset->update() anymore
5516
5517         * metricsinfo.[Ch]: add convenience constructor
5518
5519 2003-07-16  André Pönitz  <poenitz@gmx.net>
5520
5521         * lyxcursor.[Ch]:
5522         * lyxfunc.[Ch]:
5523         * text.C:
5524         * text2.C: replace the LyXCursor::irow_ member with
5525          on-demand computation of the value
5526
5527 2003-07-16  John Levon  <levon@movementarian.org>
5528
5529         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5530
5531 2003-07-15  André Pönitz  <poenitz@gmx.net>
5532
5533         * text.C:
5534         * text2.C: remove no more needed refresh_row
5535
5536 2003-07-15  André Pönitz  <poenitz@gmx.net>
5537
5538         * lyxtext.h:
5539         * rowpainter.C:
5540         * text2.C:
5541         * text3.C: refresh_status tristate -> need_update bool
5542
5543 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5544
5545         * lyxtext.h (init): remove reinit argument (act as if always true)
5546         * text2.C: adjust to that
5547
5548 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5549
5550         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5551         * text3.C: use it to delete selections in some cases
5552         (bugs 441, 673, 702, 954).
5553
5554 2003-07-14  André Pönitz  <poenitz@gmx.net>
5555
5556         * rowpainter.[Ch]: reduce interface
5557
5558 2003-07-14  André Pönitz  <poenitz@gmx.net>
5559
5560         * BufferView_pimpl.C:
5561         * text2.C: adjust after removing unused BufferView * argument
5562
5563 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * text2.C (init): fix a crash fired on resize
5566
5567 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * buffer.[Ch]: added new closing signal
5570         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5571         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5572         BufferView::Pimpl via the closing the signal
5573
5574 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5575
5576         * buffer.[Ch]: take out all bv-related from buffer
5577         * BufferView.C:
5578         * BufferView_pimpl.[Ch]: connect to new signals
5579         * CutAndPaste.C: removed useless asserts
5580         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5581         * lyxvc.[Ch]:
5582         * vc-backend.[Ch]:
5583         * lyxfunc.C: moved view-related funciontality from vc here
5584         * paragraph.C: removed outdated comments
5585         * text.C: ws
5586
5587 2003-07-10  André Pönitz  <poenitz@gmx.net>
5588
5589         * BufferView_pimpl.C:
5590         * tabular.h:
5591         * tabular_funcs.C:
5592         * text.C:
5593         * text2.C: remove InsetText::InnerCache, clean up consequences
5594
5595 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5596
5597         * ispell.C: fix two typos in error messages
5598
5599 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5600
5601         * Extend Note inset to other forms of annotation like Comment
5602         and Greyedout. Right button click gives dialog.
5603
5604         Files modified or added (+):
5605
5606         * insetnote.[Ch]
5607         * FormNote.[Ch]      +
5608         * ControlNote.[Ch]   +
5609         * form_note.fd       +
5610         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5611         frontends/controllers
5612         * xforms/Dialogs.C
5613         * factory.C
5614
5615 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5616
5617         * aspell.C: add missing namespace lyx::support
5618
5619 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5620
5621         * BufferView.[Ch] (newFile): Add
5622         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5623         * LaTeX.[Ch] (message): added this signal and use it
5624         * buffer.[Ch] (busy, message): added these signals and use them
5625         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5626         * converter.C:
5627         * exporter.C:
5628         * format.C:
5629         * importer.C: use buffer signals instead of direct bv calling
5630         * lyx_cb.[Ch] (ShowMessage): removed
5631         * lyx_main.C:
5632         * lyxfunc.C:
5633         * paragraph_funcs.C:
5634         * text2.C: use buffer signals
5635
5636 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * introduce namespace lyx::graphics
5639
5640 2003-07-02  André Pönitz  <poenitz@gmx.net>
5641
5642         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5643
5644 2003-07-01  André Pönitz  <poenitz@gmx.net>
5645
5646         * text.C:
5647         * text2.C:
5648         * text3.C:
5649         * text_funcs.[Ch]:
5650         * textcursor.h:
5651         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5652           text*.C to text_func.C
5653
5654 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * introduce namespace lyx::support
5657
5658 2003-06-30  André Pönitz  <poenitz@gmx.net>
5659
5660         * Chktex.C:
5661         * funcrequest.C:
5662         * lyxtext.h:
5663         * text.C: re-enable --with-included-string
5664
5665 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * textcursor.C: add <config.h>
5668
5669         * text.C (getWord): remove const from word_location arg
5670
5671         * lyxvc.C (getLogFile): fix const type order
5672
5673         * lyxtext.h: remove const from word_location arg, add arg name
5674
5675         * lyxlayout.h: currect type on labeltype.
5676
5677         * importer.C: correct \file
5678
5679         * converter.C (intToFormat): use std:: on ret val, ws changes
5680
5681         * bufferlist.h: correct \file
5682
5683         * buffer.C (makeLinuxDocFile): fix const type order
5684         (makeDocBookFile): ditto
5685         (fillWithBibKeys): use std:: on stdlib args.
5686
5687         * CutAndPaste.C: fix authors.
5688         (availableSelections): use std:: on return vector
5689
5690 2003-06-27  André Pönitz  <poenitz@gmx.net>
5691
5692         * BufferView_pimpl.C:
5693         * bufferview_funcs.C:
5694         * lyxcursor.C:
5695         * lyxcursor.h:
5696         * lyxfunc.C:
5697         * lyxtext.h:
5698         * rowpainter.C:
5699         * text.C:
5700         * text2.C:
5701         * text3.C: remove LyXCursor::row_ member
5702
5703         * lyxtext.h:
5704         * text.C: rename fullRebreak() to partialRebreak() and implement
5705           a fullRebreak() that really bereks fully
5706
5707         * textcursor.h: new struct for cursor-related data
5708
5709 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5710
5711         * lyx_main.C (LyX): get full path of document loaded on the
5712         command line
5713
5714 2003-06-26  André Pönitz  <poenitz@gmx.net>
5715
5716         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5717           remove unused/broken operator>,<,>=.
5718
5719         *       text.C: remove only use of broken operator<= in an Assert().
5720
5721 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5722
5723         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5724         moved errorlist_.clear to showErrorList
5725
5726 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5727
5728         * converter.C (scanLog, runLaTeX):
5729         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5730         move the bv->showErrorList call to the callers
5731         * lyxfunc.C: i.e. here...
5732         * text2.C: and here
5733         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5734         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5735         namespace, the second to...
5736         * buffer_funcs (BufferFormat, parseErrors): added
5737         * errorlist.C (ErrorList(TeXErrors const &)): removed
5738
5739 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5740
5741         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5742
5743 2003-06-24  "Garst R. Reese" <reese@isn.net>
5744
5745         * debug.C: fix typo
5746
5747 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5748
5749         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5750
5751         * version.C.in: change docversion to 1.4
5752
5753 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * buffer.C: fix a bug just introduced
5756
5757 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * buffer.[Ch]: added the parseError signal and use it, removed
5760         sgmlError
5761         * BufferView.[Ch] (addError): moved to ...
5762         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5763         to the Buffer::parseError signal to catch (guess what) parse errors
5764         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5765
5766 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5769         ability to create a buffer and to return an existing one from
5770         the list. Moved these functions to...
5771         * buffer_funcs.[Ch]: added
5772         * BufferView.[Ch] (loadLyXFile): added
5773         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5774         job removed from bufferlist::loadLyXFile.
5775         * buffer.C (setReadOnly): make it work without view
5776         (i.e added an if (users))
5777
5778 2003-06-19  Angus Leeming  <leeming@lyx.org>
5779
5780         * lfuns.h:
5781         * LyXAction.C (init):
5782         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5783         with LFUN_DIALOG_SHOW <name> <data>.
5784
5785 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5786
5787         * CutAndPaste.C (availableSelections): small compilation fix for
5788         ancient (gcc 2.9x) compilers
5789
5790 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * text3.C (cursorNext): add tmp var
5793
5794         * text2.C (updateCounters): for function calling out of for clause
5795         (replaceSelectionWithString): ditto
5796         (insertStringAsParagraphs): ditto
5797         (getColumnNearX): add tmp var
5798         (setCursorFromCoordinates): add tmp var
5799         (cursorDownParagraph): add tmp var
5800         (deleteEmptyParagraphMechanism): add tmp var
5801
5802         * text.C (insertChar): add tmp var
5803
5804         * rowpainter.C (paintDepthBar): add tmp var
5805
5806         * CutAndPaste.C (availableSelections): potentially check all
5807         paragraphs in a cut to fill the shown strings.
5808
5809 2003-06-18  André Pönitz  <poenitz@gmx.net>
5810
5811         * kbmap.[Ch]: use vector<> instead of list<>
5812
5813 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5814
5815         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5816         pasteSelection with index
5817
5818         * text2.C (pasteSelection): modify, call pasteSelection with index
5819
5820         * paragraph.C (asString): reimplement version with no interval to
5821         call the one with interval.
5822
5823         * lyxtext.h: add index arg to pasteSelection
5824
5825         * MenuBackend.C (MenuItem): handle PasteRecent
5826         (Menu::read::Menutags): add md_pasterecent
5827         (read): handle it
5828         (expandPasteRecent): new function
5829         (expand): use it
5830
5831         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5832
5833         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5834         the limited stack
5835         (availableSelections): new function
5836
5837 2003-06-17  Angus Leeming  <leeming@lyx.org>
5838
5839         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5840
5841 2003-06-17  Angus Leeming  <leeming@lyx.org>
5842
5843         * lfuns.h:
5844         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5845
5846         * lyxfunc.C (dispatch): invoke it.
5847
5848 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5849
5850         * iterators.C (operator++, ParPosition): reintroduce some
5851         const_cast for the benefit of older compilers.
5852
5853 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5854
5855         * text3.C (dispatch): do not modify clipboard when doing
5856         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5857         LFUN_DELETE_SKIP on a selection selection
5858
5859 2003-06-16  André Pönitz  <poenitz@gmx.net>
5860
5861         * BufferView.C:
5862         * buffer.C:
5863         * buffer.h:
5864         * paragraph.C:
5865         * tabular.[Ch]: IU of clone() and getLabelList();
5866
5867 2003-06-13  André Pönitz  <poenitz@gmx.net>
5868
5869         * tabular.h: compactification
5870
5871 2003-06-12  André Pönitz  <poenitz@gmx.net>
5872
5873         * tabular.C:
5874         * tabular.h:
5875         * tabular_funcs.h: some renaming plus whitespace
5876
5877 2003-06-12  André Pönitz  <poenitz@gmx.net>
5878
5879         * BufferView.C:
5880         * BufferView_pimpl.C:
5881         * CutAndPaste.C:
5882         * buffer.C:
5883         * iterators.[Ch]:
5884         * lyxfunc.C:
5885         * text.C:
5886         * toc.C: Return a Paragraph & for ParIterator::operator*()
5887
5888 2003-06-11  John Levon  <levon@movementarian.org>
5889
5890         * lyx_main.C:
5891         * ToolbarBackend.h:
5892         * ToolbarBackend.C: add "Toolbars" section and
5893         put the flags there
5894
5895 2003-06-10  Angus Leeming  <leeming@lyx.org>
5896
5897         * lfuns.h:
5898         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5899
5900         * lyxfunc.C (dispatch): invoke it.
5901
5902 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * main.C: protect <ios> with HAVE_IOS
5905         (main): protect sync_with_stdio with HAVE_IOS
5906
5907 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5908
5909         * text2.C (cutSelection): adjust
5910         (pasteSelection): adjust
5911
5912         * messages.C: handle get of empty string
5913
5914         * main.C (main): use sync_with_stdio(false)
5915
5916         * lyxfunc.C (dispatch): adjust
5917
5918         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5919         (WriteAs): remove unneeded BufferView arg.
5920
5921         * bufferparams.h: use correct types on papersize, papersize2 and
5922         paperpackage.
5923
5924         * bufferparams.C (readToken): adjust for type
5925         (writeLaTeX): add missing cases to switch.
5926
5927         * bufferlist.C (quitWriteBuffer): adjust
5928         (close): adjust
5929
5930         * buffer.C (asciiParagraph): remove some commented code.
5931
5932         * CutAndPaste.C: remove current_view extern variable.
5933         (cutSelection): add BufferParams arg.
5934         (eraseSelection): add BufferParams arg.
5935         (pasteSelection): add Buffer const & arg
5936
5937 2003-06-07  John Levon  <levon@movementarian.org>
5938
5939         * buffer.C:
5940         * paragraph_funcs.C:
5941         * paragraph_pimpl.C:
5942         * text.C:
5943         * text2.C:
5944         * paragraph.h:
5945         * paragraph.C: allow InsetERT to freely space lines,
5946         and some consolidation of code
5947
5948 2003-06-06  José Matos  <jamatos@fep.up.pt>
5949
5950         * buffer.C (makeDocBookFile): fix bug #821
5951
5952 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5955
5956 2003-06-04  Angus Leeming  <leeming@lyx.org>
5957
5958         * buffer.C: bump format to 224.
5959
5960 2003-06-05  André Pönitz  <poenitz@gmx.net>
5961
5962         * text2.C (redoParagraphs): remove two const_cast<>
5963
5964 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5965
5966         * ParagraphList.h: remove last remnants of NO_STD_LIST
5967
5968 2003-06-03  Angus Leeming  <leeming@lyx.org>
5969
5970         * factory.C (createInset): small change to the way InsetExternal's params
5971         are set.
5972
5973 2003-06-04  André Pönitz  <poenitz@gmx.net>
5974
5975         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5976
5977         * paragraph_pimpl.h:
5978         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5979
5980         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5981
5982         * undo_funcs.C: make some simple cases of undo work again
5983
5984 2003-06-03  John Levon  <levon@movementarian.org>
5985
5986         * ispell.C: HPUX doesn't have sys/select.h
5987         (from Albert Chin)
5988
5989 2003-06-03  John Levon  <levon@movementarian.org>
5990
5991         * CutAndPaste.C: update tabular and include inset
5992         buffer references
5993
5994         * buffer.h:
5995         * paragraph.h:
5996         * paragraph.C: remove owningBuffer(), don't pass Buffer
5997         to clone()
5998
5999         * factory.C: insetGraphicsParams changed
6000
6001 2003-06-02  John Levon  <levon@movementarian.org>
6002
6003         * LyXAction.C:
6004         * factory.C:
6005         * lfuns.h:
6006         * lyxfunc.C:
6007         * text3.C: remove insetparent
6008
6009 2003-06-02  John Levon  <levon@movementarian.org>
6010
6011         * buffer.h:
6012         * buffer.C: fix inset_iterator.end(), move out of line
6013         (bug 1149)
6014
6015 2003-06-01  John Levon  <levon@movementarian.org>
6016
6017         * text3.C: use a proper cut/paste when doing inset
6018         insert (from Jürgen Spitzmüller)
6019
6020 2003-06-01  John Levon  <levon@movementarian.org>
6021
6022         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6023
6024 2003-05-30  André Pönitz  <poenitz@gmx.net>
6025
6026         * rowpainter.C: unify second drawing phase
6027
6028 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * trans_mgr.C: remove one case of current_view
6031
6032         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6033
6034         * paragraph_funcs.h: remove paragraph.h include
6035
6036         * paragraph.h: delete NO_STD_LIST stuff
6037
6038         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6039
6040         * buffer.h: remove paragraph.h include
6041
6042         * ParagraphList.C: delete file
6043
6044         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6045
6046         * toc.C (getTocList): adjust
6047
6048         * paragraph_pimpl.C (validate): adjust
6049
6050         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6051
6052         * paragraph.C (Paragraph): adjust
6053         (getPositionOfInset): use const_iterator, adjust
6054         (bibitem): use const_iterator, adjust
6055         (setInsetOwner): adjust
6056
6057         * iterators.C (operator++): adjust
6058
6059         * InsetList.[Ch]: Replace selfmade iterator with standard
6060         vector::iterator also introduce const_iterator. Remove getPos,
6061         getInset and setInset from InsetTable. Adjust accordingly.
6062
6063         * BufferView.C (lockInset): adjust
6064         (ChangeInsets): adjust
6065
6066         * tabular.[Ch]: delete commented same_id functions
6067
6068 2003-05-28  John Levon  <levon@movementarian.org>
6069
6070         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6071
6072 2003-05-28  André Pönitz  <poenitz@gmx.net>
6073
6074         * metricsinfo.[Ch]: remove 'fullredraw' member
6075
6076 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6077
6078         * lyxtextclass.C (operator): remove caching.
6079
6080 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * text3.C: adjust
6083
6084         * text2.C (cursorBottom): adjust
6085         (setCounter): use ParagraphList::find, adjust
6086
6087         * text.C (workWidth): use ParagraphList::find, adjust
6088
6089         * lyxcursor.C (LyXCursor): adjust
6090
6091         * buffer.C (inset_iterator): adjust
6092
6093         * ParagraphList.h: make iterator(value_type) private, make
6094         ParagraphList a friend of iterator.
6095
6096         * ParagraphList.C (find): new function
6097
6098         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6099
6100 2003-05-27  André Pönitz  <poenitz@gmx.net>
6101
6102         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6103
6104 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6105
6106         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6107
6108 2003-05-26  John Levon  <levon@movementarian.org>
6109
6110         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6111
6112 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * remove same_id from function signatures, adjust.
6115
6116 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6119
6120         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6121
6122         * paragraph.C (Paragraph): get rid of same_ids parameter
6123
6124         * ParagraphList.C (insert): adjust
6125         (push_back): adjust
6126
6127 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * paragraph_funcs.C (breakParagraph): adjust
6130         (breakParagraphConservative): adjust
6131
6132         * buffer.C (readParagraph): adjust
6133
6134         * ParagraphList.C (insert): take a reference instead of a pointer
6135         (insert): adjust
6136
6137         * paragraph.[Ch] (id): new function
6138
6139         * bufferlist.C (newFile): adjust
6140
6141         * ParagraphList.C (ParagraphList): adjust
6142         (assign): adjust
6143         (push_back): take a reference instead of a pointer.
6144
6145         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6146
6147         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6148         instead.
6149
6150         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6151         set else use old code.
6152
6153         * ParagraphList.C: remove all NO_NEXT code and only compile this
6154         code of NO_STD_LIST is set.
6155
6156 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6157
6158         * BufferView_pimpl.C:
6159         * TextCache.C:
6160         * TextCache.h:
6161         * bufferlist.C:
6162         * errorlist.h:
6163         * format.C:
6164         * format.h:
6165         * graph.C:
6166         * lyxfunc.C:
6167         * lyxrc.C:
6168         * graphics/GraphicsConverter.C:
6169         * graphics/PreviewLoader.C: header adjustment
6170
6171 2003-05-23  Angus Leeming  <leeming@lyx.org>
6172
6173         * LaTeXFeatures.[Ch] (useBabel): new method.
6174         * bufferparams.C (writeLaTeX): use it.
6175
6176 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * ParagraphList.h (set): remove unused function.
6179
6180 2003-05-23  André Pönitz  <poenitz@gmx.net>
6181
6182         * BufferView.C:
6183         * BufferView_pimpl.C:
6184         * buffer.C:
6185         * buffer.h:
6186         * lyxfunc.C:
6187         * undo_funcs.C: setUndo reworked
6188
6189         * iterators.[Ch]: add access to topmost ParagraphList
6190
6191         * lyxtext.[Ch] (workWidth): add a const
6192
6193 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * texrow.[Ch] (increasePos): remove function
6196         * exporter.C (export): removed unused var and outdated comment
6197
6198 2003-05-23  Angus Leeming  <leeming@lyx.org>
6199
6200         * latexrunparams.h: rename fragile as moving_arg.
6201         * paragraph.C (simpleTeXOnePar): ditto.
6202         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6203
6204 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6207         (createUndo): ditto
6208         (textUndoOrRedo): comment out a currently unused var.
6209
6210         * paragraph.h (NO_NEXT): enable NO_NEXT
6211
6212         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6213
6214         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6215
6216         * exporter.C (Export): adjust for removeAutoInsets removal.
6217
6218         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6219
6220         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6221
6222         * BufferView.[Ch] (removeAutoInsets): delete function
6223
6224 2003-05-22  Angus Leeming  <leeming@lyx.org>
6225
6226         * latexrunparams.h: add a free_spacing variable.
6227
6228         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6229         to pass moving_arg, as the data is stored in runparams.fragile.
6230
6231         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6232         to Inset::latexOptional or to simpleTeXOnePar.
6233
6234         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6235         free_spacing arg to Inset::latexOptional.
6236
6237         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6238         free_spacing arg.
6239
6240 2003-05-22  Angus Leeming  <leeming@lyx.org>
6241
6242         * latexrunparams.h: add fragile and use_babel variables.
6243
6244         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6245         * buffer.C (makeLaTeXFile): store this returned value in
6246         runparams.use_babel, thus passing it to the inset::latex methods.
6247
6248         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6249         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6250
6251         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6252         longer has a fragile arg, as it is stored in runparams.fragile.
6253
6254         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6255         moving_arg parameter as the data is stored in runparams.fragile.
6256
6257         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6258         a fragile parameter as the data is stored in runparams.fragile.
6259
6260 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6263
6264 2003-05-22  Angus Leeming  <leeming@lyx.org>
6265
6266         * latexrunparams.h: add a 'bool nice' which defaults to false.
6267
6268         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6269         now encapsulated within runparams.
6270
6271         * bufferlist.C (updateIncludedTeXfiles):
6272         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6273
6274 2003-05-22  Angus Leeming  <leeming@lyx.org>
6275
6276         * latexrunparams.h: new file containing struct LatexRunParams.
6277         * Makefile.am: add new file.
6278
6279         * LaTeX.[Ch] (c-tor, run):
6280         * buffer.[Ch] (makeLaTeXFile):
6281         * bufferlist.[Ch] (updateIncludedTeXfiles):
6282         * converter.C (convert, scanLog):
6283         * converter.[Ch] (runLaTeX):
6284         * exporter.C (Export):
6285         * paragraph.[Ch] (simpleTeXOnePar):
6286         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6287         * paragraph_funcs.[Ch] (latexParagraphs):
6288         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6289         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6290         pass around a LatexRunParams parameter.
6291
6292 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * paragraph.[Ch]: remove unused constructor
6295
6296         * ParagraphList.C (erase): new function, taking two iterators
6297
6298 2003-05-22  André Pönitz  <poenitz@gmx.net>
6299
6300         * undo_funcs.C: remove duplicated code
6301
6302         * iterator.[Ch]: operator=
6303
6304 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * tabular.C (SetMultiColumn): ws changes
6307
6308         * rowpainter.C (paintFirst): get rid of a ->previous
6309
6310         * lyx_cb.C (getPossibleLabel): parlist simplification
6311
6312         * BufferView.C (ChangeInsets): simplify slightly.
6313
6314 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6315
6316         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6317         * lfuns.h: new LFUN_SPACE
6318         * lyxfunc.C: protected space has a new lfun
6319         * paragraph_funcs.C: read new space insets
6320         * text3.C:
6321         * factory.C: handle new space insets
6322
6323 2003-05-22  André Pönitz  <poenitz@gmx.net>
6324
6325         * BufferView.C:
6326         * BufferView_pimpl.C:
6327         * buffer.[Ch]:
6328         * lyxfunc.C:
6329         * undo_funcs.C: return a ParIterator from getParFromID.
6330
6331         * iterators.[Ch]: add two const's
6332
6333 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6334
6335         * toc.C (getTocList): adjust
6336
6337         * iterators.[Ch]: rework for parlist
6338
6339         * buffer.C (par_iterator_begin): adjust
6340         (par_iterator_end): adjust
6341
6342         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6343
6344         * BufferView.C (removeAutoInsets): adjust
6345         (ChangeInsets): adjust
6346
6347 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * text.C (top_y): fix bug 1110
6350
6351 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * errorlist.[Ch]: added
6354         * buffer.C:
6355         * BufferView.[Ch]:
6356         * BufferView_pimpl.C:
6357         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6358         instead
6359
6360 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * Makefile.am: ensure that lyx is relinked upon changes to the
6363         various "convenience" libs.
6364
6365 2003-05-20  Angus Leeming  <leeming@lyx.org>
6366
6367         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6368         files are compiled in alphabetical order again.
6369
6370         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6371
6372 2003-05-19  Angus Leeming  <leeming@lyx.org>
6373
6374         * gettext.[Ch]: remove "char const * _(char const *)".
6375
6376 2003-05-19  André Pönitz  <poenitz@gmx.net>
6377
6378         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6379
6380         * Makefile.am:
6381         * BufferView.C:
6382         * DepTable.h:
6383         * LaTeXFeatures.C:
6384         * buffer.C:
6385         * lyxfont.C:
6386         * lyxlex.h:
6387         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6388
6389 2003-05-19  André Pönitz  <poenitz@gmx.net>
6390
6391         * buffer.C:
6392         * lyxlayout.[Ch]:
6393         * lyxtextclass.[Ch]:
6394         * paragraph.C:
6395         * paragraph_funcs.[Ch]:
6396         * text2.C:
6397         * text3.C: more insetenv work
6398
6399 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6400
6401         * ParagraphParameters.C (params2string): small bug fixed
6402
6403 2003-05-16  André Pönitz  <poenitz@gmx.net>
6404
6405         * debug.C:
6406         * bufferview_funcs.C: patch from Kornel Benko to prevent
6407           crash when _(...) is called twice in a statement
6408
6409 2003-05-16  André Pönitz  <poenitz@gmx.net>
6410
6411         * BufferView.C:
6412         * lyxfunc.C:
6413         * text.C:
6414         * text2.C:
6415         * text3.C:
6416         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6417
6418 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * lyx_main.C (init): remove spurious static_cast
6421
6422 2003-05-14  André Pönitz  <poenitz@gmx.net>
6423
6424         * BufferView.C: fix format string
6425
6426 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * BufferView.[Ch] (insertErrors): removed
6429         * BufferView.[Ch] (showErrorList): added
6430         * buffer.C (runChkTeX):
6431         * converter.C (scanLog): call showErrorList instead of inserterrors
6432
6433 2003-05-13  André Pönitz  <poenitz@gmx.net>
6434
6435         * BufferView_pimpl.C:
6436         * buffer.C:
6437         * bufferview_func.C:
6438         * MenuBackend.C:
6439         * lyxfunc.C:
6440         * lyxrc.C:
6441         * tex-accent.C:
6442         * text3.C:
6443         * toc.C:
6444         * tabular_funcs.h: tostr() from its own header
6445
6446         * ParagraphParameters.C:
6447         * ToolbarBackend.C:
6448         * bufferparams.C:
6449         * format.C:
6450         * lyxlex_pimpl.C:
6451         * text3.C: STRCONV()
6452
6453 2003-05-12  André Pönitz  <poenitz@gmx.net>
6454
6455         * BufferView.C:
6456         * BufferView_pimpl.C:
6457         * CutAndPaste.C:
6458         * LaTeX.C:
6459         * LaTeXFeatures.C:
6460         * ParagraphParameters.C:
6461         * buffer.C:
6462         * bufferlist.C:
6463         * bufferparams.C:
6464         * bufferview_funcs.C:
6465         * converter.C:
6466         * counters.C:
6467         * debug.C:
6468         * exporter.C:
6469         * format.C:
6470         * importer.C:
6471         * lyx_cb.C:
6472         * lyx_main.C:
6473         * lyxfont.C:
6474         * lyxfunc.C:
6475         * lyxvc.C:
6476         * paragraph.C:
6477         * paragraph_funcs.C:
6478         * tabular.C:
6479         * tabular_funcs.C:
6480         * text2.C:
6481         * text3.C:  boost::format -> bformat  all over the place
6482
6483
6484 2003-05-09  André Pönitz  <poenitz@gmx.net>
6485
6486         * LColor.[Ch]: Pimpl the #include <map> away
6487
6488 2003-05-09  John Levon  <levon@movementarian.org>
6489
6490         * bufferlist.C: never remove emergency saves
6491
6492 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * Makefile.am: better lib building
6495
6496 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6499         instead.
6500         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6501         (simpleTeXSpecialChars): adjust
6502         (simpleTeXSpecialChars): adjust
6503         * paragraph.C (simpleTeXOnePar): adjust
6504         * buffer.C (makeLaTeXFile): adjust
6505
6506         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6507
6508         * text2.C (changeDepth): parlist cleanup
6509         (getColumnNearX): ditto
6510
6511         * rowpainter.C (getLabelFont): parlist cleanup
6512
6513         * bufferlist.C (newFile): parlist cleanup
6514
6515         * CutAndPaste.C (eraseSelection): parlist cleanup
6516
6517         * BufferView_pimpl.C (trackChanges): parlist cleanup
6518         (dispatch): ditto
6519
6520         * BufferView.C (lockInset): parlist cleanup.
6521         (ChangeInsets): ditto
6522
6523 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * CutAndPaste.h: Update file header.
6526
6527         * CutAndPaste.C: Update file header.
6528         Store the parts cut out of the Document in a limited_stack.
6529         (copySelection): adjust
6530         (pasteSelection): new function, takes the index in the limited stack.
6531         (nrOfParagraphs): adjust
6532         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6533         simplify error inset insertion.
6534         (checkPastePossible): adjust
6535
6536 2003-05-06  John Levon  <levon@movementarian.org>
6537
6538         * text2.C: don't cast wrap inset to float
6539
6540 2003-05-05  André Pönitz  <poenitz@gmx.net>
6541
6542         * iterator.C:
6543         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6544
6545         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6546           few naked Paragraph *.
6547
6548 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6549
6550         * bufferparams.C: Output warning if a document with missing
6551         TeX document class is loaded
6552         * exporter.C: Disable TeX exports if the document class is missing
6553         * lyxtextclass.C:
6554         * lyxtextclass.h:
6555         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6556         isTeXClassAvailable()
6557
6558 2003-05-03  John Levon  <levon@movementarian.org>
6559
6560         * BufferView.h:
6561         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6562         explicit cursor show/hide
6563
6564         * BufferView_pimpl.h:
6565         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6566         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6567
6568         * lyxfunc.C: hide cursor before dispatching.
6569
6570         * lyx_cb.C:
6571         * lyxfind.C:
6572         * text.C:
6573         * text3.C: remove explicit cursor hides
6574
6575 2003-05-02  André Pönitz  <poenitz@gmx.net>
6576
6577         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6578
6579         * undo_funcs.C:
6580         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6581           linked lists
6582
6583         * text2.C: tiny whitespace
6584
6585 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * undo_funcs.C: almost only ws changes.
6588
6589         * ParagraphList.C (splice): just return if pl is empty.
6590
6591 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * ParagraphList.C (splice): new function.
6594
6595         * CutAndPaste.C (pasteSelection): use it
6596
6597 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * CutAndPaste.C (pasteSelection): remove the last next and
6600         previous from this file.
6601
6602 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * CutAndPaste.C (pasteSelection): more clean up, user proper
6605         ParagraphList functions for pasteing.
6606
6607         * ParagraphList.C (insert): new function, three arg insert
6608
6609 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6610
6611         * ParagraphList.C (insert): new function, three arg insert
6612
6613         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6614         not on paragraphs.
6615
6616 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6619
6620 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6623
6624 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6627         (copySelection): clean up a bit.
6628         (pasteSelection): use make_pair
6629
6630         * ParagraphList.C (ParagraphList): implement copy constructor
6631         (operator=): implement, base on copy constructor.
6632         (assign): new func
6633
6634         * paragraph.C (erase): return a bool
6635
6636         * paragraph_pimpl.C (erasePos): remove function, move contents...
6637         (erase): ... here. Return a bool.
6638         (erase): call erase instead of erasePos.
6639
6640 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6641
6642         * ParagraphList.h: define PitPosPair
6643         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6644         ParagraphList, fix a bug on pasting multiple pars
6645         * text2.C: change interface to C&P
6646
6647 2003-04-30  André Pönitz  <poenitz@gmx.net>
6648
6649         * undo_func.C: revert part of yesterday's patch 2
6650
6651 2003-04-30  John Levon  <levon@movementarian.org>
6652
6653         * LColor.C: s/tabular/table/
6654
6655 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * text3.C (dispatch): do not convert iterator -> pointer
6658         * undo_funcs.C (setCursorParUndo): ditto
6659         * text_funcs.C (transposeChars): ditto
6660
6661         * text2.C (setLayout): ws changes only
6662
6663         * text.C (breakParagraph): do not convert iterator -> pointer
6664         (insertChar): ditto
6665         (acceptChange): ditto
6666         (rejectChange): ditto
6667         (changeCase): ditto
6668         (Delete): ditto
6669         (backspace): ditto
6670
6671         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6672         pointer
6673
6674 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * text3.C (gotoInset): YABG (yet another bad getChar)
6677
6678 2003-04-29  André Pönitz  <poenitz@gmx.net>
6679
6680         * paragraph.h: make operator= private unimplemented as long as
6681           it is unusable
6682
6683         * ParagraphList.C: whitespace
6684
6685         * paragraph.[Ch]:
6686         * paragraph_pimpl.[Ch]:
6687         * paragraph_funcs.C:
6688         * CutAndPaste.C:
6689         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6690
6691         * text2.C:
6692           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6693
6694 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6695
6696         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6697         * paragraph.[Ch] (erase):
6698         * paragraph_pimpl.[Ch] (erase): change return type and value
6699         * text2.C (cutSelection): some rework
6700
6701 2003-04-28  John Levon  <levon@movementarian.org>
6702
6703         * bufferlist.C: changes for unsaved changes dialog
6704
6705 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * bufferlist.C (newFile): set language (messages_) for new
6708         documents also.
6709
6710         * buffer.C (readFile): ws changes only.
6711
6712 2003-04-28  André Pönitz  <poenitz@gmx.net>
6713
6714         * undo_funcs.C:
6715         * lyxfunc.C:
6716         * buffer.[Ch]:
6717         * BufferView_pimpl.C:
6718         * BufferView.C: getParFromID related ParagraphList::iterator changes
6719
6720 2003-04-28  André Pönitz  <poenitz@gmx.net>
6721
6722         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6723           Changes
6724
6725 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * messages.C: remove one more localedir class variable.
6728
6729 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * messages.C (getLocaleDir): singleton generation function
6732         (Pimpl): use it.
6733         (Messages): add a default constructor.
6734
6735         * main.C (main): do not setup localedir here, do not call
6736         gettext_init.
6737
6738         * gettext.C (_): use it.
6739         (gettext_init): delete funciton
6740
6741 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * gettext.C (getLyXMessages): new singleton generating function.
6744
6745         * buffer.C (updateDocLang): adjust
6746
6747         * Makefile.am (messages.o): add target
6748         (main.o): remove target
6749
6750 2003-04-27  John Levon  <levon@movementarian.org>
6751
6752         * bufferlist.C:
6753         * lyx_cb.C:
6754         * lyxfunc.C:
6755         * lyxvc.C: specify cancel button in Alert::prompt
6756
6757 2003-04-26  John Levon  <levon@movementarian.org>
6758
6759         * text3.C:
6760         * lyxfunc.C:
6761         * lfuns.h:
6762         * LyXAction.C: add LFUN_INSET_SETTINGS
6763
6764         * lyxfunc.C: don't enable tabular-feature when there's
6765         just any locking inset
6766
6767 2003-04-26  John Levon  <levon@movementarian.org>
6768
6769         * bufferlist.C: re-add Cancel to buffer close question
6770
6771         * lyxfunc.C: fix import UI a bit
6772
6773 2003-04-25  John Levon  <levon@movementarian.org>
6774
6775         * gettext.C: remove the broken asserts for now
6776
6777 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * messages.C: make case where setlocale cannot comply work better.
6780
6781         * buffer.C (updateDocLang): new function
6782         (changeLanguage): use it
6783         (readFile): use it
6784
6785         * text2.C (setCounter): use B_ a bit.
6786
6787         * lyxlayout.C (Read): be sure to trim the label strings.
6788
6789         * messages.C (Messages): fix typo in comment
6790
6791         * buffer.C (readFile): set message_ after file is loaded.
6792         (makeDocBookFile): remove double return
6793         (changeLanguage): reset message_ upon language change.
6794         (B_): new func, use this to get translated buffer strings.
6795
6796         * main.C: add myself and Jean Marc as authors.
6797
6798 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6799
6800         * messages.[hC]: pimplify Messages, and three different pimpls to be
6801         used in different circumstances.
6802
6803         * gettext.[Ch]: change for use with new message code.
6804
6805 2003-04-24 André Pönitz <poenitz@gmx.net>
6806
6807         * factory.C: support for eqref
6808
6809 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6810
6811         * messages.[Ch]: add missing char
6812
6813         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6814
6815         * messages.[Ch]: New files
6816
6817 2003-04-18  John Levon  <levon@movementarian.org>
6818
6819         * BufferView.h:
6820         * BufferView.C:
6821         * BufferView_pimpl.C:
6822         * lfuns.h:
6823         * LyXAction.C:
6824         * lyxtext.h:
6825         * text2.C: remove layout-copy/paste (bug 778)
6826
6827 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6828
6829         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6830
6831 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6832
6833         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6834         if they succeed. Act accordingly.
6835
6836 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * text2.C (setCharFont): adjust
6839         (setCounter): adjust
6840         (insertStringAsLines): adjust
6841
6842         * text.C (leftMargin): adjust
6843         (setHeightOfRow): adjust
6844
6845         * rowpainter.C (paintFirst): adjust
6846         (paintLast): adjust
6847
6848         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6849         (outerHook): ditto
6850         (isFirstInSequence): ditto
6851         (getEndLabel): ditto
6852         (outerFont): adjust
6853
6854         * paragraph.C (getParLanguage): comment out some hard stuff.
6855
6856         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6857         (sgmlError): ditto
6858         (simpleDocBookOnePar): ditto
6859         (makeDocBookFile): use ParagraphList::iterator
6860
6861         * CutAndPaste.C (pasteSelection): adjust
6862
6863 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * text2.C (getFont): adjust
6866         (getLayoutFont): adjust
6867         (getLabelFont): adjust
6868
6869         * paragraph_funcs.C (TeXOnePar): adjust
6870
6871         * buffer.C (simpleLinuxDocOnePar): adjust
6872         (simpleDocBookOnePar): adjust
6873
6874         * CutAndPaste.C (pasteSelection): adjust
6875
6876         * BufferView.C (getEncoding): adjust
6877
6878         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6879
6880 2003-04-16  John Levon  <levon@movementarian.org>
6881
6882         * lyxfind.C: use parlist stuff for search/changes
6883
6884 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6887
6888         * text2.C (deleteEmptyParagraphMechanism): adjust
6889
6890         * text2.[Ch] (ownerParagraph): delete func (both of them
6891
6892 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6895
6896 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * ParagraphList.C: prepare for NO_NEXT
6899
6900 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * text2.C (getFont): adjust
6903         (getLayoutFont): adjust
6904         (getLabelFont): adjust
6905
6906         * paragraph.C (getFont): adjust
6907         (getLabelFont): adjust
6908         (getLayoutFont): adjust
6909
6910         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6911
6912 2003-04-15  John Levon  <levon@movementarian.org>
6913
6914         From Angus Leeming
6915
6916         * lyx_main.C: handle Include in .ui files
6917
6918 2003-04-15  John Levon  <levon@movementarian.org>
6919
6920         * MenuBackend.C: make the doc files length shorter
6921
6922         * ToolbarBackend.h:
6923         * ToolbarBackend.C: handle toolbar placement flags,
6924         Minibuffer
6925
6926 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6927
6928         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6929         adjust
6930
6931         * paragraph_funcs.C (TeXOnePar): adjust
6932
6933         * paragraph.C (getLabelFont): add outerfont arg, adjust
6934         (getLayoutFont): ditto
6935         (simpleTeXOnePar): adjust
6936
6937         * paragraph_pimpl.C (realizeFont): delete func
6938
6939 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6940
6941         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6942         row argument, constify cur argument.
6943
6944 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * text2.C (getFont): adjust
6947         (getLayoutFont): adjust
6948         (getLabelFont): adjust
6949
6950         * paragraph_funcs.C (TeXOnePar): adjust
6951         (outerFont): new func...
6952         (realizeFont): ...moved out from here, changed this to facilitate
6953         transition
6954
6955         * paragraph.C (getFont): take outerfont as arg, adjust
6956         (simpleTeXOnePar): add outerfont arg, adjust
6957
6958         * buffer.C (simpleLinuxDocOnePar): adjust
6959         (simpleDocBookOnePar): adjust
6960
6961         * CutAndPaste.C (pasteSelection): adjust
6962
6963         * BufferView.C (getEncoding): adjust
6964
6965 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * text2.C (setCharFont): adjust
6968         (setCounter): adjust
6969
6970         * text.C (leftMargin): adjust
6971         (setHeightOfRow): adjust
6972
6973         * rowpainter.C (paintFirst): adjust
6974         (paintLast): adjust
6975
6976         * paragraph_pimpl.C (realizeFont): adjust
6977
6978         * paragraph.C (isFirstInSequence): move from here...
6979         * paragraph_funcs.C (isFirstInSequence): ...to here
6980
6981         * paragraph.C (outerHook): move from here...
6982         * paragraph_funcs.C (outerHook): ...to here
6983
6984         * paragraph.C (depthHook): move from here...
6985         * paragraph_funcs.C (depthHook): ...to here
6986
6987         * paragraph.C (getEndLabel): move from here...
6988         * paragraph_funcs.C (getEndLabel): ...to here
6989
6990         * text2.C (realizeFont): move from here...
6991         * paragraph_funcs.C (realizeFont): ...to here
6992
6993 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6996
6997 2003-04-14  Angus Leeming  <leeming@lyx.org>
6998
6999         * LColor.[Ch]: scrap LColor mathcursor.
7000
7001 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * lyxlex.[Ch] (text): delete function
7004         * trans.C (Load): adjust
7005         * paragraph_funcs.C (readParToken): adjust
7006
7007 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7010         vector<char> instead of a char[].
7011
7012         * lyxlex_pimpl.C (getString): adjust
7013         (next): adjust
7014         (lex): use getString
7015         (eatLine): adjust
7016         (nextToken): adjust
7017
7018         * lyxlex.C (text): use pimpl_->getString()
7019         (getBool): ditto
7020         (findToken): ditto
7021
7022 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7025         (makeFontEntriesLayoutSpecific): temp var for par.size()
7026         (setLayout): temp var for ownerParagraphs().end()
7027         (fullRebreak): temp var for rows().end()
7028         (selectionAsString): temp var for boost::next(startpit), realize
7029         that the while really is a regular for loop.
7030         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7031         setCursor in one place.
7032         (setParagraph): temp vr for ownerParagraphs().end()
7033         (updateCounters): make the while loop a for loop
7034         (cutSelection): temp var for ownerParagraphs().end()
7035         (updateInset): make the do {} while() a regular for loop
7036         (getCursorX): use temp vars
7037         (setCurrentFont): use temp vars
7038         (getColumnNearX): use temp vars
7039
7040 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * text.C (transformChar): use temp var for getChar
7043         (computeBidiTables): use temp var for row->par()
7044         (fill): move temp vars for row->par() and pit->layout() earlier in
7045         the function.
7046         (labelFill): use temp var for row->par()
7047         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7048         asc and desc, realize that pit never changes and that firstpit is
7049         just a duplicate and not needed. Exchange rit->par() with pit in a
7050         lot of places.
7051         (breakAgain): use a temp var for boost::next(rit)
7052         (breakAgainOneRow): ditto
7053         (breakParagraph): use a temp var for rows().begin()
7054         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7055         (cursorRightOneWord): use temp var for cursor.par() and
7056         cursor.pos(), remove usage of tmpcursor.
7057         (cursorLeftOneWord): use temp var for cursor.par() and
7058         cursor.pos() only set cur at end of function.
7059
7060 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * text.C, text2.C: exchange all usage of Paragraph::next with
7063         boost::next(ParagraphList::iterator)
7064
7065         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7066
7067         * text2.C (cursorTop): simplify implementation
7068         (cursorBottom): ditto
7069         (setParagraph): use ParagraphList::iterator
7070         (setCurrentFont): adjust
7071         (getColumnNearX): adjust
7072         (cursorRight): adjust
7073         (cursorLeft): remove usage of Paragraph::previous
7074         (cursorUpParagraph): ditto
7075         (deleteEmptyParagraphMechanism): slight cleanup
7076
7077         * text.C (isBoundary): take a Paragraph const & instead of a
7078         pointer as arg.
7079         (addressBreakPoint): ditto
7080         (leftMargin): remove usage of Paragraph::previous.
7081         (setHeightOfRow): ditto
7082         (cursorLeftOneWord): ditto
7083         (selectNextWordToSpellcheck): ditto
7084         (Delete): ditto
7085         (backspace): ditto
7086         (breakParagraph): remove one usage of Paragraph::next
7087         (redoParagraph): ditto
7088         (acceptChange): ditto
7089         (insertChar): adjust
7090         (rowBreakPoint): adjust
7091
7092         * bufferview_funcs.C (toggleAndShow): adjust
7093
7094 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7095
7096         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7097         methods to access it.
7098         * lyxtext.h:
7099         * text.C: Added updateRowPositions to compute all row positions.
7100         Make top_y and getRowNearY() to use the cached y position
7101
7102 2003-04-11  John Levon  <levon@movementarian.org>
7103
7104         * text.C (rowBreakPoint): reintroduce the labelEnd
7105         checks, code copied from the row fill stuff. Deep voodoo.
7106
7107         * text.C (fill): add a comment and debugging for the
7108         next poor soul.
7109
7110 2003-04-11  John Levon  <levon@movementarian.org>
7111
7112         * text.C: make sure fullrow insets get wrapped to the next line,
7113         even when they're in a manual label
7114
7115 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * text2.C (insertParagraph): make it take ParagraphList::iterator
7118         as arg.
7119         (setLayout): make it return ParagraphList::iterator
7120         (redoParagraphs): ditto
7121         (setCounter): ditto
7122         (checkParagraph): ditto
7123
7124         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7125
7126         * text2.C: adjust several funcs.
7127         (realizeFont): take a ParagraphList::iterator as arg.
7128         (getLayoutFont): ditto
7129         (getLabelFont): ditto
7130         (setCharFont): ditto
7131
7132         * text.C: adjust several funcs.
7133
7134 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7135
7136         * text.C (selectNextWordToSpellcheck): don't accidentally
7137         skip insets
7138
7139 2003-04-10  John Levon  <levon@movementarian.org>
7140
7141         * ToolbarBackend.C (getIcon): special handling for
7142         LFUN_MATH_DELIM
7143
7144 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7145
7146         * text2.C (cursorRight): a getChar assert fixed
7147
7148 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * text2.C (getFont): change to take a ParagraphList::iterator
7151         instead of Paragraph*
7152         Adjust several functions.
7153
7154         * text.C (transformChar): change to take a ParagraphList::iterator
7155         instead of Paragraph*
7156         (singleWidth): ditto
7157         Adjust several functions.
7158
7159         * rowpainter.C: adjust several functions
7160         * rowpainter.h:store a ParagraphList::iterator and not a
7161         Paragraph&.
7162
7163
7164 2003-04-09  John Levon  <levon@movementarian.org>
7165
7166         * lyxfunc.C:
7167         * lfuns.h:
7168         * LyXAction.h:
7169         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7170         and the "help" bits as well
7171
7172 2003-04-09  John Levon  <levon@movementarian.org>
7173
7174         * ToolbarBackend.h:
7175         * ToolbarBackend.C: allow multiple toolbars
7176
7177 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * undo_funcs.C (setCursorParUndo): adjust
7180
7181         * text_funcs.C (transposeChars): adjust
7182
7183         * text3.C (gotoNextInset): adjust
7184         (dispatch): adjust
7185
7186         * text2.C (setLayout): adjust
7187         (changeDepth): adjust
7188         (setFont): adjust
7189         (redoParagraphs): adjust
7190         (selectionAsString): adjust
7191         (setParagraph): adjust
7192         (insertInset): adjust
7193         (cutSelection): adjust
7194         (copySelection): adjust
7195         (pasteSelection): adjust
7196         (insertStringAsLines): adjust
7197         (updateInset): adjust
7198         (setCursor): change to take a ParagraphList::iterator parameter
7199         (setCursorIntern): change to take a ParagraphList::iterator parameter
7200         (setCurrentFont): adjust
7201         (cursorLeft): adjust
7202         (cursorRight): adjust
7203         (deleteEmptyParagraphMechanism): adjust
7204
7205         * text.C (breakParagraph): adjust
7206         (insertChar): adjust
7207         (acceptChange): adjust
7208         (rejectChange): adjust
7209         (selectNextWordToSpellcheck): adjust
7210         (changeCase): adjust
7211         (Delete): adjust
7212         (backspace): adjust
7213
7214         * lyxfind.C (SearchForward): adjust
7215         (SearchBackward): adjust
7216         (nextChange): adjust
7217
7218         * lyxcursor.C (par): adjust
7219
7220         * lyxcursor.h: store a ParagraphList::iterator instead of a
7221         Paragraph*
7222
7223         * lyx_cb.C (getPossibleLabel): adjust
7224
7225         * bufferview_funcs.C (toggleAndShow): adjust
7226
7227         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7228         (dispatch): adjust
7229
7230         * BufferView.C (removeAutoInsets): adjust
7231         (lockedInsetStoreUndo): adjust
7232
7233 2003-04-09  John Levon  <levon@movementarian.org>
7234
7235         * ToolbarBackend.C: try icon without argument
7236         if with argument fails
7237
7238 2003-04-08  John Levon  <levon@movementarian.org>
7239
7240         * ToolbarBackend.h:
7241         * ToolbarBackend.C: add getIcon(), handle tooltip,
7242         and change from "Icon" to "Item".
7243
7244 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7245
7246         * BufferView.C (lockInset): another bad getchar crunched
7247
7248 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7251         again)
7252
7253 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7254
7255         * lyxfind.C (searchForward, searchBackwards): bug 782
7256
7257 2003-04-07  John Levon  <levon@movementarian.org>
7258
7259         * paragraph.C: remove dead comment
7260
7261         * text.C: remove troublesome depth-fiddling code
7262         in leftMargin() and rightMargin() (bug 1017)
7263
7264         * text.C: fix breaking of rows in nested lists
7265         (bug 1004)
7266
7267         * text2.C (updateCounters): fix up depth values
7268         (bug 1013)
7269
7270 2003-04-07  John Levon  <levon@movementarian.org>
7271
7272         * BufferView_pimpl.C: clear message when doc finishes resizing,
7273         and after a mouse event
7274
7275         * lyxfunc.C: clear message after exiting inset
7276
7277 2003-04-07  John Levon  <levon@movementarian.org>
7278
7279         * bufferview_funcs.C: show math status not outside
7280         status in the statusbar
7281
7282 2003-04-07  John Levon  <levon@movementarian.org>
7283
7284         * lyxfunc.C: note status changed after a depth change
7285
7286 2003-04-04  Angus Leeming  <leeming@lyx.org>
7287
7288         * LaTeX.h: move AuxInfo operator==, != out of line.
7289         Remove LaTeX virtual destructor; nothing derives from it.
7290         Move operator()() out of public area and rename it startscript().
7291         Change protected for private.
7292
7293 2003-04-04  Angus Leeming  <leeming@lyx.org>
7294
7295         * lyxfunc.C:
7296         * text2.C: remove unneeded #includes.
7297
7298 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * text2.C (dEPM): fix the heigth of the next row
7301
7302 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7303
7304         * text.C: squashed an invalid getChar requester + some ws changes
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: make getStatus work for the env depth lfuns
7313
7314 2003-04-03  John Levon  <levon@movementarian.org>
7315
7316         * bufferview_funcs.h:
7317         * bufferview_funcs.C:
7318         * lyxfunc.C:
7319         * lyxtext.h:
7320         * text2.C: parlistize decDepth(), by merging it with incDepth()
7321
7322 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * lyxrow.h: store a ParagraphList::iterator instead of a
7325         Paragraph* and adjust other class functions to suit.
7326
7327         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7328         above.
7329
7330 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7331
7332         * text2.C (setCursor): do not anchor to cursor row for the time being
7333
7334 2003-04-02  John Levon  <levon@movementarian.org>
7335
7336         * LyXAction.C:
7337         * lfuns.h:
7338         * lyx_main.C:
7339         * lyxtext.h:
7340         * text.C:
7341         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7342
7343 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * paragraph.h: make ParagraphList and ParagraphList::iterator
7346         friends of Paragraph.
7347
7348         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7349
7350         * ParagraphList.C: Use the private next_ and previous_ from
7351         Paragraph.
7352
7353 2003-04-01  John Levon  <levon@movementarian.org>
7354
7355         * ToolbarBackend.h:
7356         * ToolbarBackend.C:
7357         * Makefile.am: rename, remove defaults gunk
7358
7359         * MenuBackend.h:
7360         * MenuBackend.C: remove defaults gunk
7361
7362         * Languages.h:
7363         * Languages.C: remove defaults gunk
7364
7365         * lyx_main.h:
7366         * lyx_main.C: error out if files couldn't be found.
7367
7368 2003-04-02  John Levon  <levon@movementarian.org>
7369
7370         * text2.C: make incDepth() use parlist
7371
7372 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * undo_funcs.C (firstUndoParagraph): adjust
7375
7376         * text3.C (gotoInset): adjust
7377         (dispatch): adjust, and rewrite loop.
7378
7379         * text2.C (init): adjust, and rewrite loop.
7380         (redoParagraphs): adjust
7381         (updateInset): adjust, and rewrite loop.
7382         (deleteEmptyParagraphMechanism): adjust
7383
7384         * tabular.C (LyXTabular): adjust
7385         (SetMultiColumn): adjust
7386         (TeXRow): adjust
7387
7388         * lyxtext.[Ch] (ownerParagraph): delete function
7389         (ownerParagraphs): new function returns a ParagraphList.
7390
7391         * BufferView.C (removeAutoInsets): adjust
7392         (insertErrors): adjust
7393         (setCursorFromRow): adjust
7394
7395 2003-04-01  Angus Leeming  <leeming@lyx.org>
7396
7397         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7398         in the frontends.
7399
7400 2003-04-02  John Levon  <levon@movementarian.org>
7401
7402         * lyxtext.h:
7403         * text.C:
7404         * Makefile.am:
7405         * text_funcs.h:
7406         * text_funcs.C: make transposeChars a free function
7407
7408         * lyxrow_funcs.C: remove wrong comment
7409
7410 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * lyxtext.h: adjust
7413         * rowpainter.C: adjust
7414         * text.C: adjust
7415         * text2.C: adjust
7416         * text3.C: adjust
7417
7418         * lyxrow_funcs. [Ch]: new files
7419
7420         * lyxrow.[Ch]: remove next and previous pointers
7421         (next,previous): remove accessor functions
7422         (isParEnd): move to lyxrow_funcs
7423         (lastPos): move to lyxrow_funcs
7424         (nextRowIsAllInset): move to lyxrow_funcs
7425         (lastPrintablePos): move to lyxrow_funcs
7426         (numberOfSeparators): move to lyxrow_funcs
7427         (numberOfHfills): move to lyxrow_funcs
7428         (numberOfLabelHfills): move to lyxrow_funcs
7429         (hfillExpansion): move to lyxrow_funcs
7430
7431         * lyxfunc.C: adjust
7432
7433         * bufferview_funcs.C (toggleAndShow): adjust
7434
7435         * RowList.h: Remove class RowList from file leave just a
7436         std::list<Row>.
7437
7438         * RowList.C: delete file
7439
7440         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7441         and lyxrow_funcs.h
7442
7443 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * text3.C (cursorPrevious): adjust
7446         (cursorNext): adjust
7447         (dispatch): adjust
7448
7449         * text2.C (redoHeightOfParagraph): adjust
7450         (redoDrawingOfParagraph): adjust
7451         (setCursor): adjust
7452
7453         * text.C (breakParagraph): adjust
7454         (insertChar): adjust
7455         (backspace): adjust
7456
7457         * rowpainter.C (RowPainter): adjust
7458         (leftMargin): simplify and adjust
7459         (most rowpainter functions): adjust.
7460
7461         * rowpainter.h: store the row as RowList::iterator not as Row*
7462
7463         * lyxcursor.C (row): taka RowList::iterator as arg
7464         (irow): ditto
7465
7466         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7467         of Row*.
7468
7469 2003-04-01  Angus Leeming  <leeming@lyx.org>
7470
7471         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7472         stuff like bool Bool.
7473
7474 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7475
7476         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7477         rewrite a loop
7478
7479 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7482         RowList::iterator.
7483
7484         * lyxtext.h (rows): drop one version and leve a const variant that
7485         returns a RowList::iterator.
7486
7487 2003-03-31  Angus Leeming  <leeming@lyx.org>
7488
7489         * text.C (fill): ensure that the signature is the same as that in the
7490         header file.
7491
7492 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * text2.C (redoParagraphs): adjust
7495         (updateCounters): adjust
7496         (checkParagraph): adjust
7497         (getColumnNearX): adjust and reformat a bit.
7498
7499         * text.C (top_y): adjust
7500         (workWidth): adjust
7501         (leftMargin): adjust
7502         (prepareToPrint): adjust
7503         (getRow): adjust
7504         (getRowNearY): adjust
7505
7506         * lyxtext.h: make rowlist_ mutable.
7507
7508         * RowList.h: add const_iterator
7509         * RowList.C: adjust for RowList::const_iterator.
7510
7511         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7512         adjust.
7513
7514 2003-03-31  John Levon  <levon@movementarian.org>
7515
7516         * lyxrc.h:
7517         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7518
7519         * lyx_main.C: set default fonts from using lyx_gui funcs
7520
7521         * exporter.C: pdf_mode moved from lyxrc
7522
7523         * lyx_cb.C:
7524         * lyxfunc.C: changes from above
7525
7526 2003-03-31  John Levon  <levon@movementarian.org>
7527
7528         * lyx_main.C: fix to the last fix
7529
7530 2003-03-31  John Levon  <levon@movementarian.org>
7531
7532         * bufferlist.C: "Load original" -> "Load Original"
7533
7534         * converter.C:
7535         * exporter.C:
7536         * importer.C:
7537         * lyx_main.C:
7538         * format.C: more Alert cleanups
7539
7540 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * text2.C (removeParagraph): make it take a RowList::iterator as
7543         arg, adjust.
7544         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7545         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7546
7547         * text.C (anchor_row): make it take a RowList::iterator as arg,
7548         adjust.
7549         (computeBidiTables): make it take a const reference to Row instead
7550         of Row pointer, adjust.
7551         (leftMargin): make it take a RowList::iterator as arg, adjust.
7552         (rowBreakPoint): adjust
7553         (breakAgainOneRow): make it take a RowList::iterator as arg,
7554         adjust.
7555         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7556
7557         * bufferview_funcs.C (toggleAndShow): adjust
7558
7559 2003-03-30  John Levon  <levon@movementarian.org>
7560
7561         * Makefile.am:
7562         * BoostFormat.h:
7563         * boost-inst.C: moved to support
7564
7565         * several files: changes as a result
7566
7567 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * text2.C (LyXText): adjust.
7570         (init): adjust
7571         (removeRow): make it take a RowList::iterator as arg, adjust.
7572         (fullRebreak): adjust
7573         (deleteEmptyParagraphMechanism): adjust
7574         (clearPaint): adjust
7575         (postPaint): adjust
7576
7577         * text.C (top_y): adjust
7578         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7579         (breakAgain): make it take a RowList::iterator as arg, adjust.
7580         (breakParagraph): adjust
7581         (insertChar): adjust
7582         (backspace): adjust
7583
7584         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7585         need_break_row, and refresh_row.
7586
7587         * text3.C (dispatch): adjust
7588
7589         * text2.C (checkParagraph): adjust
7590         (setCursor): adjust
7591         (setCursorFromCoordinates): adjust
7592
7593         * text.C (top_y): adjust
7594         (workWidth): adjust
7595         (getRow): make it return a RowList::iterator, adjust
7596         (getRowNearY): make it return a RowList::iterator, adjust
7597
7598         * text2.C (init): adjust
7599         (insertRow): remove function
7600         (insertParagraph): adjust
7601         (redoParagraphs): adjust
7602         (fullRebreak): adjust
7603         (updateCounters): adjust
7604
7605         * text.C (top_y): rewrite to use RowList iterators.
7606         (top_y): adjust
7607         (setHeightOfRow): rewrite to sue RowList iterators.
7608         (appendParagraph): adjust
7609         (breakAgain): adjust
7610         (breakAgainOneRow): adjust
7611         (breakParagraph): adjust
7612         (getRow): adjust
7613         (getRowNearY): adjust, and remove commented code.
7614
7615         * lyxtext.h (firstRow): delete function
7616         (lastRow): delete function
7617         (rows): new function (const and non-const versions.)
7618         (insertRow): delete function
7619
7620         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7621
7622 2003-03-29  John Levon  <levon@movementarian.org>
7623
7624         * BufferView_pimpl.C: always update scrollbar top
7625         because pasting text when we're anchored could mean we
7626         miss an update altogether
7627
7628 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * text2.C (init): use rowlist_.end() and not 0.
7631         (insertRow): change to take a RowList::iterator as arg, adjust
7632         for this.
7633         (insertParagraph): change to take a RowList::iterator as arg,
7634         adjust for this.
7635         (redoParagraphs): remove some debug msgs.
7636
7637         * text.C (appendParagraph): change to take a RowList::iterator
7638         arg, adjust for this.
7639         (breakAgain): add an assert
7640         (breakAgainOneRow): ditto
7641
7642 2003-03-29  John Levon  <levon@movementarian.org>
7643
7644         * text2.C: do not clear selection after inc/decDepth
7645         (bug 550)
7646
7647 2003-03-29  John Levon  <levon@movementarian.org>
7648
7649         * BufferView.C:
7650         * buffer.C: fix broken strerrors according to Lars
7651
7652 2003-03-29  John Levon  <levon@movementarian.org>
7653
7654         * converters.C: more Alert cleanups
7655
7656 2003-03-29  John Levon  <levon@movementarian.org>
7657
7658         * bufferview_funcs.C: remove pointless Alert
7659
7660         * buffer.C: fix confusing error message when
7661         a template is chmoded 000
7662
7663 2003-03-29  John Levon  <levon@movementarian.org>
7664
7665         * BufferView.C:
7666         * BufferView.h:
7667         * BufferView_pimpl.C: Alert fixes
7668
7669         * Makefile.am:
7670         * tabular.C:
7671         * tabular-old.C: remove unused table compat reading
7672
7673 2003-03-29  John Levon  <levon@movementarian.org>
7674
7675         * BufferView.C:
7676         * buffer.C:
7677         * lyx_cb.h:
7678         * lyx_cb.C: more Alert cleanups
7679
7680         * lyxfunc.C: don't allow chktex if not latex document
7681
7682 2003-03-29  John Levon  <levon@movementarian.org>
7683
7684         * lyx_cb.C:
7685         * BufferView.C:
7686         * buffer.C: warnings pushed down from support/,
7687         kill err_alert
7688
7689 2003-03-29  John Levon  <levon@movementarian.org>
7690
7691         * lyxfunc.C: safety check for C-r (revert)
7692
7693 2003-03-29  John Levon  <levon@movementarian.org>
7694
7695         * bufferlist.h:
7696         * bufferlist.C: several UI fixes using Alert::prompt.
7697         Fix the pointless looping quit code. Fix stupid revert
7698         behaviour (bug 938)
7699
7700         * lyxvc.h:
7701         * lyxvc.C:
7702         * lyx_cb.C: use Alert::prompt
7703
7704         * lyx_main.C: remove a silly question
7705
7706         * lyxfunc.C: remove a couple of silly questions,
7707         use Alert::prompt
7708
7709 2003-03-28  John Levon  <levon@movementarian.org>
7710
7711         * text2.C: fix bug 974 (End on empty par)
7712
7713 2003-03-28  John Levon  <levon@movementarian.org>
7714
7715         * BufferView_pimpl.C:
7716         * LyXAction.C:
7717         * lfuns.h: remove do-nothing math greek lfuns
7718
7719 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * lyxgluelength.h (isValidGlueLength): add default arg on
7722         parameter 2. Remove default arg from friend in class.
7723
7724         * lyxlength.h (isValidLength): add default arg on parameter 2.
7725         Remove default arg from friend in class.
7726
7727         * text2.C (LyXText): adjust, initialize refresh_row.
7728         (init): adjust
7729         (removeRow): adjust
7730         (insertRow): adjust
7731         (insertParagraph): adjst
7732         (redoParagraphs): adjust
7733         (fullRebreak): adjust
7734         (updateCounters): adjust
7735         (deleteEmptyParagraphMechanism): first attempt at fixing a
7736         crashing bug.
7737
7738         * text.C (top_y): adjust
7739         (setHeightOfRow): adjust
7740         (getRow): adjust
7741         (getRowNearY): adjust
7742
7743         * lyxtext.h: include RowList.h
7744         (~LyXText): not needed anymore, deleted.
7745         (firstRow): modify for RowList
7746         (lastRow): new function
7747         Delete firstrow and lastrow class variables, add a Rowlist
7748         rowlist_ class variable.
7749
7750         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7751         paragraph is empty.
7752
7753         * RowList.C (insert): fix case where it == begin().
7754
7755 2003-03-26  Angus Leeming  <leeming@lyx.org>
7756
7757         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7758         the thesaurus dialog.
7759
7760 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7763
7764         * RowList.[Ch]: new files
7765
7766         * ParagraphList.C (erase): handle the case where it == begin
7767         correctly.
7768
7769 2003-03-25  John Levon  <levon@movementarian.org>
7770
7771         * Makefile.am:
7772         * aspell_local.h:
7773         * aspell.C: add new aspell support
7774
7775         * lyxrc.h:
7776         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7777         have it accessible.
7778
7779 2003-03-25  Angus Leeming  <leeming@lyx.org>
7780
7781         * lfuns.h:
7782         * LyXAction.C (init): new LFUN_INSET_INSERT.
7783
7784         * BufferView_pimpl.C (dispatch): split out part of the
7785         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7786
7787         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7788         LFUN_INSET_APPLY.
7789
7790 2003-03-25  Angus Leeming  <leeming@lyx.org>
7791
7792         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7793
7794 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7795
7796         * text2.C:
7797         * text3.C: remove useless row->height(0)
7798
7799 2003-03-25  John Levon  <levon@movementarian.org>
7800
7801         * lyxtext.h:
7802         * text2.C:
7803         * text3.C: rename the refreshing stuff to better names
7804
7805 2003-03-24  John Levon  <levon@movementarian.org>
7806
7807         * BufferView_pimpl.h:
7808         * BufferView_pimpl.C: update layout choice on a mouse
7809         press/release
7810
7811 2003-03-23  John Levon  <levon@movementarian.org>
7812
7813         * Makefile.am: fix commandtags.h reference
7814
7815 2003-03-22  John Levon  <levon@movementarian.org>
7816
7817         * BufferView_pimpl.C:
7818         * lyxtext.h:
7819         * rowpainter.C:
7820         * rowpainter.h:
7821         * text.C:
7822         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7823
7824 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7825
7826         * lyxtext.h:
7827         * text.C: take the rtl methods out of line
7828
7829 2003-03-21 André Pönitz <poenitz@gmx.net>
7830
7831         * metricsinfo.[Ch]: new files containing structures to be passed around
7832         during the two-phase-drawing...
7833
7834 2003-03-21 André Pönitz <poenitz@gmx.net>
7835
7836         * lyxtextclass.C: read 'environment' tag.
7837
7838 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7839
7840         * text2.C (removeRow): fix bug 964
7841
7842 2003-03-20  John Levon  <levon@movementarian.org>
7843
7844         * rowpainter.C:
7845         * text.C:
7846         * text2.C: paint cleanups. Inset::update() dropped font
7847         parameter
7848
7849 2003-03-19  John Levon  <levon@movementarian.org>
7850
7851         * lyxfunc.C: only fitcursor/markDirty if available()
7852
7853 2003-03-19  John Levon  <levon@movementarian.org>
7854
7855         * commandtags.h: rename to ...
7856
7857         * lfuns.h: ... this, and renumber / cleanup
7858
7859 2003-03-19  John Levon  <levon@movementarian.org>
7860
7861         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7862         fit the cursor after an lfun
7863
7864         * BufferView.h:
7865         * BufferView.C:
7866         * BufferView_pimpl.h:
7867         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7868
7869         * LyXAction.C: layout-character should have ReadOnly
7870
7871         * ParagraphParameters.C:
7872         * buffer.C:
7873         * bufferview_funcs.C:
7874         * lyx_cb.C:
7875         * lyxfind.C:
7876         * lyxtext.h:
7877         * text.C:
7878         * text2.C:
7879         * text3.C:
7880         * undo_funcs.C: changes from above
7881
7882 2003-03-18  John Levon  <levon@movementarian.org>
7883
7884         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7885         remove it from update()
7886
7887         * lyxfunc.C: update layout choice after an lfun
7888
7889         * text3.C: remove extra updateLayoutChoice()s
7890
7891 2003-03-18  John Levon  <levon@movementarian.org>
7892
7893         * text.C: top_y change means full repaint, fix
7894         a drawing bug with cursor movement
7895
7896 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7897
7898         * lyxtext.h:
7899         * text.C:
7900         * text2.C: anchor row on setCursor
7901
7902 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * lyxtext.h: remove almost all mutable keywords
7905         * text.C:
7906         * text2.C:
7907         * text3.C: remove const keywords accordingly
7908
7909 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7912         anon namespace
7913         (TeXEnvironment): ditto
7914         (TeXOnePar): ditto
7915
7916 2003-03-17  John Levon  <levon@movementarian.org>
7917
7918         * text.C (rowBreakPoint): remove attempt to fix displayed
7919         math insets inside a manual label
7920
7921 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * lyxtext.h: remove BufferView* as first arg from almost all class
7924         functions.
7925         * other files: adjust.
7926
7927 2003-03-17  John Levon  <levon@movementarian.org>
7928
7929         * lyxtext.h:
7930         * undo_funcs.C:
7931         * text2.C: more paint cleanups
7932
7933         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7934
7935         * rowpainter.h:
7936         * rowpainter.C: remove "smart" background painting code
7937
7938 2003-03-16  John Levon  <levon@movementarian.org>
7939
7940         * lyxtext.h:
7941         * text.C:
7942         * text2.C:
7943         * text3.C: add helper functions for setting refresh_row/y
7944
7945 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7946
7947         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7948         newline inset which *can* get inserted in the pass_thru layouts.
7949         This is primarily for literate documents.
7950
7951 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7952
7953         * buffer.C: increment LYX_FORMAT to 223
7954
7955 2003-03-14 André Pönitz <poenitz@gmx.net>
7956
7957         * textclass.h: prepare for environment handling, ws changes
7958         * lyxlayout.C: read latexheader and latexfooter tags
7959
7960 2003-03-14  John Levon  <levon@movementarian.org>
7961
7962         * text2.C: rewrite ::status() a bit
7963
7964 2003-03-13  John Levon  <levon@movementarian.org>
7965
7966         * lyxtext.h: add some docs
7967
7968 2003-03-13  John Levon  <levon@movementarian.org>
7969
7970         * lyxtext.h:
7971         * text.C:
7972         * text2.C:
7973         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7974
7975 2003-03-13  John Levon  <levon@movementarian.org>
7976
7977         * text3.C: fix appendix redrawing
7978
7979 2003-03-13  John Levon  <levon@movementarian.org>
7980
7981         * text.C (setHeightOfRow):
7982         * rowpainter.h:
7983         * rowpainter.C: make appendix mark have the text
7984           "Appendix" so the user knows what it is
7985
7986         * LColor.h:
7987         * LColor.C: s/appendixline/appendix/ from above
7988
7989 2003-03-13  John Levon  <levon@movementarian.org>
7990
7991         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7992
7993         * text.C: fix a getChar(pos) bug properly
7994
7995 2003-03-13  Angus Leeming  <leeming@lyx.org>
7996
7997         * commandtags.h:
7998         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7999         Probably only temporary. Let's see how things pan out.
8000
8001         * BufferView.C (unlockInset):
8002         * BufferView_pimpl.C (fitCursor):
8003         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8004
8005         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8006         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8007
8008         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8009         new functions that convert ParagraphParameters to and from a string.
8010
8011         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8012         BufferView::Pimpl's dispatch.
8013         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8014
8015 2003-03-13 André Pönitz <poenitz@gmx.net>
8016
8017         * lyxfunc.C:
8018         * text3.C:
8019         * factory.C: make it aware of InsetEnv
8020
8021 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * text2.C (setCursor): never ask for one past last
8024         (setCursor): add some debugging messages.
8025
8026         * text.C (singleWidth): never ask for one past last
8027         (singleWidth): ditto
8028         (leftMargin): ditto
8029         (rightMargin): ditto
8030         (rowBreakPoint): ditto
8031         (setHeightOfRow): ditto
8032         (prepareToPrint): ditto
8033
8034         * rowpainter.C (paintBackground): never ask for one past last
8035         (paintText): never ask for one past last
8036
8037         * paragraph_pimpl.C (getChar): make the assert stricter, never
8038         allow the one past last pos to be taken
8039
8040         * paragraph.C (getChar): ws changes only
8041
8042         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8043         (numberOfSeparators): ditto
8044         (numberOfHfills): ditto
8045
8046 2003-03-12  John Levon  <levon@movementarian.org>
8047
8048         * author.h:
8049         * author.C:
8050         * bufferparams.h:
8051         * bufferparams.C:
8052         * paragraph_funcs.C: fix per-buffer authorlists
8053
8054 2003-03-12  John Levon  <levon@movementarian.org>
8055
8056         * text.C: fix newline in right address
8057
8058 2003-03-12  Angus Leeming  <leeming@lyx.org>
8059
8060         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8061         duplicate those in LyXFunc::dispatch.
8062
8063         * commandtags.h:
8064         * LyXAction.C:
8065         * ToolbarDefaults.C:
8066         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8067         Add LFUN_FONTFREE_UPDATE.
8068
8069         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8070         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8071
8072         * bufferview_func.[Ch]: several new functions to facilliate
8073         transfer of data to and from the character dialog.
8074
8075 2003-03-12  John Levon  <levon@movementarian.org>
8076
8077         * buffer.C:
8078         * paragraph.h:
8079         * paragraph.C:
8080         * paragraph_funcs.C:
8081         * paragraph_pimpl.C:
8082         * sgml.C:
8083         * tabular.C:
8084         * text.C:
8085         * text3.C: remove META_NEWLINE in favour of an inset
8086
8087         * rowpainter.h:
8088         * rowpainter.C: remove paintNewline (done by inset)
8089
8090 2003-03-12  John Levon  <levon@movementarian.org>
8091
8092         * paragraph_pimpl.C: complain about bad getChar()s
8093         for a while at least
8094
8095 2003-03-12  John Levon  <levon@movementarian.org>
8096
8097         * buffer.h:
8098         * buffer.C: move paragraph read into a separate function,
8099         a little renaming to reflect that.
8100
8101         * bufferparams.h:
8102         * bufferparams.C: remove the author_ids map, not necessary now
8103
8104         * factory.h:
8105         * factory.C: moved Buffer::readInset to here
8106
8107         * paragraph_funcs.h:
8108         * paragraph_funcs.C: readParagraph free function moved from
8109         buffer.C
8110
8111         * tabular.C: name change
8112
8113 2003-03-12  John Levon  <levon@movementarian.org>
8114
8115         * buffer.C:
8116         * ParagraphParameters.C: move par params input to
8117         a read() method
8118
8119         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8120         behave like a normal read from the stream wrt reading
8121         a line vs. a \\token
8122
8123 2003-03-12  John Levon  <levon@movementarian.org>
8124
8125         * paragraph.C:
8126         * ParagraphParameters.h:
8127         * ParagraphParameters.C: move output code to a
8128         ::write() method
8129
8130 2003-03-12  John Levon  <levon@movementarian.org>
8131
8132         * BufferView.C (insertLyXFile):
8133         * buffer.h:
8134         * buffer.C:
8135         * tabular.C: use a parlist iterator for creating the
8136           document.
8137
8138 2003-03-12  John Levon  <levon@movementarian.org>
8139
8140         * buffer.C: make current_change static local not
8141           static file-scope
8142
8143 2003-03-12  John Levon  <levon@movementarian.org>
8144
8145         * buffer.C: fix insertStringAsLines for change tracking
8146
8147 2003-03-12  John Levon  <levon@movementarian.org>
8148
8149         * BufferView.C:
8150         * tabular.C:
8151         * buffer.h:
8152         * buffer.C:
8153         * bufferparams.h:
8154         * bufferparams.C: move author list into params. Rename some
8155           functions. Move the header reading into a separate token
8156           loop. Move the header token reading into BufferParams.
8157
8158 2003-03-12  John Levon  <levon@movementarian.org>
8159
8160         * changes.C: put debug inside lyxerr.debugging() checks
8161
8162 2003-03-11 André Pönitz <poenitz@gmx.net>
8163
8164         * factory.C: make it aware of InsetHFill
8165
8166 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8167
8168         * buffer.C (latexParagraphs): move function from here...
8169         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8170         args.
8171
8172 2003-03-10  Angus Leeming  <leeming@lyx.org>
8173
8174         * LyXAction.C (init): fix bug in poplating array with multiple entries
8175         with the same LFUN (spotted by JMarc).
8176
8177 2003-03-10  John Levon  <levon@movementarian.org>
8178
8179         * text.C:
8180         * text2.C: move getColumnNearX() near its
8181         only call site
8182
8183 2003-03-10  John Levon  <levon@movementarian.org>
8184
8185         * text.C: fix break before a minipage
8186
8187 2003-03-10  John Levon  <levon@movementarian.org>
8188
8189         * text.C: fix the last commit
8190
8191 2003-03-09  John Levon  <levon@movementarian.org>
8192
8193         * lyxtext.h:
8194         * text.C:
8195         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8196         bug 365 (don't break before insets unless needed). Don't
8197         return a value > last under any circumstances.
8198
8199 2003-03-09  Angus Leeming  <leeming@lyx.org>
8200
8201         * BufferView_pimpl.C (trackChanges, dispatch): call
8202         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8203
8204 2003-03-09  Angus Leeming  <leeming@lyx.org>
8205
8206         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8207         than Dialogs::showAboutlyx().
8208
8209 2003-03-09  Angus Leeming  <leeming@lyx.org>
8210
8211         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8212         than Dialogs::showTabularCreate().
8213
8214 2003-03-09  John Levon  <levon@movementarian.org>
8215
8216         * lyxtext.h:
8217         * text.C:
8218         * text2.C: 3rd arg to nextBreakPoint was always the same.
8219           Use references.
8220
8221 2003-03-08  John Levon  <levon@movementarian.org>
8222
8223         * lyxrow.C:
8224         * paragraph.C:
8225         * paragraph.h:
8226         * rowpainter.C:
8227         * text.C:
8228         * text2.C: Remove the "main" bit from the "main body"
8229           notion.
8230
8231 2003-03-08  John Levon  <levon@movementarian.org>
8232
8233         * text.C (leftMargin): The left margin of an empty
8234         manual label paragraph should not include the label width
8235         string length.
8236
8237         * text.C (prepareToPrint): don't attempt to measure hfills
8238         for empty manual label paragraphs - the answer should be 0
8239
8240 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * CutAndPaste.C: remove commented code and reindent.
8243
8244 2003-03-08  John Levon  <levon@movementarian.org>
8245
8246         * lyxfunc.h:
8247         * lyxfunc.C: move reloadBuffer()
8248
8249         * BufferView.h:
8250         * BufferView.C: to here
8251
8252         * lyxvc.C: add comment
8253
8254         * vc-backend.h:
8255         * vc-backend.C: call bv->reload() to avoid
8256           getStatus() check on MENURELOAD
8257
8258 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8259
8260         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8261         to an old format .dep file.
8262
8263 2003-03-07  Angus Leeming  <leeming@lyx.org>
8264
8265         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8266         when the LFUN_MOUSE_RELEASE should have been handled by
8267         inset->localDispatch.
8268
8269 2003-03-07  Angus Leeming  <leeming@lyx.org>
8270
8271         * BufferView_pimpl.C (dispatch):
8272         * LyXAction.C (init):
8273         * ToolbarDefaults.C (init):
8274         * commandtags.h:
8275         * lyxfunc.C (getStatus):
8276         remove LFUN_INSET_GRAPHICS.
8277
8278         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8279
8280 2003-03-07  Angus Leeming  <leeming@lyx.org>
8281
8282         * commandtags.h:
8283         * LyXAction.C (init):
8284         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8285
8286         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8287
8288         * commandtags.h:
8289         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8290
8291         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8292         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8293
8294 2003-03-07  Angus Leeming  <leeming@lyx.org>
8295
8296         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8297         remove "ert".
8298
8299 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * ParagraphList.C (front): new function
8302         (back): implement
8303
8304 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8305
8306         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8307         and top_row_offset_. removed var first_y.
8308         * text.C (top_y):
8309         * text2.C (LyXText, removeRow):
8310         * text3.C:
8311         * BufferView_pimpl.C:
8312         use these methods instead of using first_y
8313
8314 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * text2.C (pasteSelection): adjust for checkPastePossible
8317
8318         * CutAndPaste.C: remove Paragraph * buf and replace with
8319         ParagraphList paragraphs.
8320         (DeleteBuffer): delete
8321         (cutSelection): change the tc type to textclass_type
8322         (copySelection): change the tc type to textclass_type
8323         (copySelection): adjust for ParagraphList
8324         (pasteSelection): change the tc type to textclass_type
8325         (pasteSelection): adjust for Paragraphlist
8326         (nrOfParagraphs): simplify for ParagraphList
8327         (checkPastePossible): simplify for ParagraphList
8328         (checkPastePossible): remove unused arg
8329
8330         * ParagraphList.C (insert): handle the case where there are no
8331         paragraphs yet.
8332
8333         * CutAndPaste.h: make CutAndPaste a namespace.
8334
8335         * text3.C (dispatch): adjust
8336
8337         * text.C (breakParagraph): add a ParagraphList as arg
8338
8339         * paragraph_funcs.C (breakParagraph): change to take a
8340         BufferParams and a ParagraphList as args.
8341         (breakParagraphConservative): ditto
8342         (mergeParagraph): ditto
8343         (TeXDeeper): add a ParagraphList arg
8344         (TeXEnvironment): ditto
8345         (TeXOnePar): ditto
8346
8347         * buffer.C (readLyXformat2): adjust
8348         (insertStringAsLines): adjust
8349         (latexParagraphs): adjust
8350
8351         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8352         (cutSelection): adjust
8353         (pasteSelection): adjust
8354
8355         * BufferView_pimpl.C (insertInset): adjust
8356
8357 2003-03-05  Angus Leeming  <leeming@lyx.org>
8358
8359         * commandtags.h:
8360         * LyXAction.C (init):
8361         * BufferView_pimpl.C (dispatch):
8362         * lyxfunc.C (getStatus):
8363         remove LFUN_CHILD_INSERT.
8364
8365         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8366
8367 2003-03-05  Angus Leeming  <leeming@lyx.org>
8368
8369         * commandtags.h:
8370         * LyXAction.C (init):
8371         * src/factory.C (createInset):
8372         * lyxfunc.C (getStatus):
8373         * text3.C (dispatch):
8374         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8375
8376         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8377
8378 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * ParagraphList.C (insert): handle insert right before end()
8381         (erase): fix cases where it can be first or last paragraph.
8382
8383 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8386         Paragraph::next and Paragraph::previous
8387         (TeXOnePar): ditto
8388
8389         * text.C (breakParagraph): adjust
8390
8391         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8392         BufferParams& as arg.
8393         (breakParagraph): use ParagraphList::insert
8394         (breakParagraphConservative): take a Buffer* instead of a
8395         BufferParams& as arg.
8396         (breakParagraphConservative): use ParagraphList::insert.
8397
8398         * buffer.C (insertStringAsLines): un-const it
8399         (insertStringAsLines): adjust
8400
8401         * ParagraphList.C (insert): new function
8402
8403         * CutAndPaste.C (pasteSelection): adjust
8404
8405         * text.C (backspace): adjust
8406
8407         * tabular.C (SetMultiColumn): adjust
8408
8409         * CutAndPaste.C (cutSelection): adjust
8410         (pasteSelection): adjust
8411
8412         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8413         Buffer const * as arg
8414
8415         * ParagraphList.C (erase): new function
8416         * paragraph_funcs.C (mergeParagraph): use it
8417         (mergeParagraph): make it take a Buffer* instead of a
8418         BufferParams* as arg
8419
8420         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8421         as arg
8422         (breakParagraphConservative): ditto
8423
8424         * paragraph.h: remove the breakParagraph friend
8425
8426         * paragraph.C (eraseIntern): new function
8427         (setChange): new function
8428
8429         * paragraph_funcs.C (mergeParagraph): make it take a
8430         ParagraphList::iterator instead of a Paragraph *, adjust
8431         accordingly.
8432
8433         * paragraph.h: move an #endif so that the change tracking stuff
8434         also works in the NO_NEXT case.
8435
8436 2003-03-04  Angus Leeming  <leeming@lyx.org>
8437
8438         * commandtags.h:
8439         * LyXAction.C: new LFUN_INSET_MODIFY.
8440
8441         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8442         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8443
8444 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8445
8446         * several files: ws changes only
8447
8448         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8449         (TeXEnvironment): ditto
8450         (TeXDeeper): ditto
8451
8452         * buffer.C (makeLaTeXFile): adjust
8453         (latexParagraphs): make it take ParagraphList::iterator as args
8454
8455 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * buffer.C (latexParagraphs): adjust
8458
8459         * paragraph.C (TeXOnePar): move function...
8460         (optArgInset): move function...
8461         (TeXEnvironment): move function...
8462         * paragraph_pimpl.C (TeXDeeper): move function...
8463         * paragraph_funcs.C: ...here
8464
8465         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8466
8467 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * buffer.C (readInset): remove compability code for old Figure and
8470         InsetInfo insets
8471
8472 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * buffer.C: ws changes
8475         (readInset):
8476
8477         * BufferView_pimpl.C: ditto
8478         * author.C: ditto
8479         * buffer.h: ditto
8480         * bufferlist.h: ditto
8481         * changes.h: ditto
8482         * lyxfunc.C: ditto
8483
8484 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8485
8486         * converter.[Ch]: split into itself +
8487         * graph.[Ch]
8488         * format.[Ch]
8489         * Makefile.am: += graph.[Ch] + format.[Ch]
8490         * MenuBackend.C
8491         * buffer.C
8492         * exporter.C
8493         * importer.C
8494         * lyx_main.C
8495         * lyxfunc.C
8496         * lyxrc.C: added #include "format.h"
8497
8498 2003-02-27  Angus Leeming  <leeming@lyx.org>
8499
8500         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8501           a label.
8502
8503         * factory.C (createInset): add "label" to the factory.
8504
8505         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8506           string and do no more.
8507
8508 2003-02-27  Angus Leeming  <leeming@lyx.org>
8509
8510         * commandtags.h:
8511         * LyXAction.C (init):
8512         * factory.C (createInset):
8513         * BufferView_pimpl.C (dispatch):
8514           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8515
8516         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8517
8518         * lyxfunc.C (dispatch):
8519         * text3.C (dispatch): pass name to params2string.
8520
8521 2003-02-26  Angus Leeming  <leeming@lyx.org>
8522
8523         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8524           blocks together.
8525           Rearrange the ~includes. Strip out the unnecessary ones.
8526
8527         * factory.C (createInset): reformat.
8528           create new insets for the various LFUN_XYZ_APPLY lfuns.
8529
8530 2003-02-26  John Levon  <levon@movementarian.org>
8531
8532         * lyxrow.h:
8533         * lyxrow.C: add isParStart,isParEnd helpers
8534
8535         * paragraph.h: make isInserted/DeletedText take refs
8536
8537         * paragraph_funcs.h:
8538         * paragraph_funcs.C: remove #if 0'd code
8539
8540         * lyxtext.h:
8541         * text3.C:
8542         * text2.C:
8543         * text.C: use lyxrow helpers above.
8544           Move draw and paint routines to RowPainter.
8545           Make several methods use refs not pointers.
8546           Make backgroundColor() const.
8547           Add markChangeInDraw(), isInInset().
8548           Merge changeRegionCase into changeCase.
8549           Make workWidth() shouldn't-happen code into an Assert.
8550
8551         * rowpainter.h:
8552         * rowpainter.C: new class for painting a row.
8553
8554         * vspace.h:
8555         * vspace.C: make inPixels take a ref
8556
8557 2003-02-26  Angus Leeming  <leeming@lyx.org>
8558
8559         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8560         LFUN_REF_APPLY.
8561
8562 2003-02-25  John Levon  <levon@movementarian.org>
8563
8564         * ispell.C: give the forked command a more accurate name
8565
8566 2003-02-22  John Levon  <levon@movementarian.org>
8567
8568         * toc.h:
8569         * toc.C: make TocItem store an id not a Paragraph *
8570           (bug #913)
8571
8572 2003-02-21  Angus Leeming  <leeming@lyx.org>
8573
8574         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8575           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8576           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8577           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8578           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8579           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8580
8581         * BufferView_pimpl.C (dispatch):
8582         * LyXAction.C (init):
8583         * factory.C (createInset):
8584         * lyxfunc.C (getStatus, dispatch):
8585         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8586
8587 2003-02-21  Angus Leeming  <leeming@lyx.org>
8588
8589         * BufferView_pimpl.C (MenuInsertLyXFile):
8590         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8591         * lyxfunc.C (menuNew, open, doImport):
8592           no longer pass a LyXView & to fileDlg.
8593
8594 2003-02-21  Angus Leeming  <leeming@lyx.org>
8595
8596         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8597         * LyXAction.C: change, BIBKEY to BIBITEM.
8598         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8599         Change InsetBibKey to InsetBibitem.
8600         Change BIBKEY_CODE to BIBITEM_CODE.
8601         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8602         * factory.C: replace insetbib.h with insetbibitem.h.
8603         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8604         * paragraph.C: replace insetbib.h with insetbibitem.h.
8605         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8606         Change bibkey() to bibitem().
8607         * text.C: remove insetbib.h.
8608         * text2.C: replace insetbib.h with insetbibitem.h.
8609         change bibkey() to bibitem().
8610         * text3.C: remove insetbib.h.
8611         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8612
8613 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8614
8615         * lyxrc.C (output): enclose user email in quotes (in case there are
8616         several words)
8617
8618 2003-02-18  John Levon  <levon@movementarian.org>
8619
8620         * buffer.h: add std::
8621
8622 2003-02-17  John Levon  <levon@movementarian.org>
8623
8624         * SpellBase.h:
8625         * ispell.h:
8626         * ispell.C:
8627         * pspell.h:
8628         * pspell.C: reworking. Especially in ispell, a large
8629           number of clean ups and bug fixes.
8630
8631         * lyxfunc.C: fix revert to behave sensibly
8632
8633 2003-02-17 André Pönitz <poenitz@gmx.net>
8634
8635         * LyXAction.C:
8636         * commandtags.h: new LFUN_INSERT_BIBKEY
8637
8638         * layout.h:
8639         * lyxlayout.C:
8640         * buffer.C:
8641         * factory.C:
8642         * text.C:
8643         * text2.C:
8644         * text3.C:
8645         * paragraph.[Ch]:
8646         * paragraph_func.C: remove special bibkey handling
8647
8648 2003-02-17  John Levon  <levon@movementarian.org>
8649
8650         * text.C (Delete): fix case where delete at the end of
8651           the very first paragraph would not merge the pars
8652
8653 2003-02-17  John Levon  <levon@movementarian.org>
8654
8655         * lyxrow.C: fix lastPrintablePos()
8656
8657 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * bufferparams.C (writeLaTeX): add a std:here
8660
8661         * buffer.C: and remove a using directive there
8662
8663 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * buffer.C (makeLaTeXFile): move the code that generates the
8666           preamble...
8667
8668         * bufferparams.C (writeLaTeX): ... in this new method
8669
8670         * LaTeXFeatures.C (getEncodingSet): make const
8671           (getLanguages): make const
8672
8673         * MenuBackend.C (binding): returns the binding associated to this
8674           action
8675           (add): sets the status of each item by calling getStatus. Adds
8676           some intelligence.
8677           (read): add support for OptSubMenu
8678           (expand): remove extra separator at the end of expanded menu
8679
8680 2003-02-15  John Levon  <levon@movementarian.org>
8681
8682         * BufferView.C:
8683         * BufferView_pimpl.C:
8684         * bufferlist.h:
8685         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8686           inset code that had no actual effect. Remove unneeded status
8687           code.
8688
8689 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8690
8691         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8692           in preamble
8693
8694 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8695
8696         * text.C (drawLengthMarker): also draw an arrow marker for
8697           symbolic lengths (medskip...)
8698
8699 2003-02-14  John Levon  <levon@movementarian.org>
8700
8701         * tabular.h:
8702         * tabular.C: better method names
8703
8704 2003-02-14  John Levon  <levon@movementarian.org>
8705
8706         * BufferView_pimpl.C:
8707         * bufferlist.C:
8708         * buffer.C:
8709         * converter.C:
8710         * lyx_cb.C:
8711         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8712           it's a more accurate name. Remove some pointless uses.
8713
8714 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * text2.C (LyXText): change order of initilizers to shut off
8717           warnings
8718
8719 2003-02-14  John Levon  <levon@movementarian.org>
8720
8721         * buffer.C: use ParIterator for getParFromID()
8722
8723         * paragraph.h:
8724         * paragraph.C:
8725         * paragraph_pimpl.h:
8726         * paragraph_pimpl.C: remove unused getParFromID()
8727
8728 2003-02-14  John Levon  <levon@movementarian.org>
8729
8730         * buffer.C: remove some very old #if 0'd parse code
8731
8732 2003-02-13  John Levon  <levon@movementarian.org>
8733
8734         * text.h:
8735         * text.C:
8736         * text2.C: move hfillExpansion(), numberOfSeparators(),
8737           rowLast(), rowLastPrintable(), numberofHfills(),
8738           numberOfLabelHfills() ...
8739
8740         * lyxrow.h:
8741         * lyxrow.C: ... to member functions here.
8742
8743         * paragraph.h:
8744         * paragraph.C:
8745         * lyxtext.h:
8746         * text.C: remove LyXText::beginningOfMainBody(), and call
8747           p->beginningOfMainBody() directly. Move the check for
8748           LABEL_MANUAL into the latter.
8749
8750         * text.h:
8751         * text.C:
8752         * text2.C:
8753         * vspace.C:
8754         * BufferView.h:
8755         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8756
8757         * text.h:
8758         * text.C:
8759         * text2.C:
8760         * text3.C:
8761         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8762           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8763
8764 2003-02-13  John Levon  <levon@movementarian.org>
8765
8766         * CutAndPaste.C: remove debug
8767
8768 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * paragraph.C (asString): remove two unused variables
8771
8772         * lyxtextclass.C (readTitleType):
8773           (Read):
8774           (LyXTextClass): handle new members titletype_ and titlename_
8775
8776         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8777
8778 2003-02-09  John Levon  <levon@movementarian.org>
8779
8780         * buffer.h:
8781         * buffer.C: replace hand-coded list with a map for the dep clean
8782
8783 2003-02-08  John Levon  <levon@movementarian.org>
8784
8785         * LaTeX.C: consolidate code into showRunMessage() helper
8786
8787 2003-02-08  John Levon  <levon@movementarian.org>
8788
8789         * lyxfind.C:
8790         * lyxtext.h:
8791         * text2.C:
8792         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8793           and pass the size in explicitly
8794
8795         * BufferView_pimpl.h:
8796         * BufferView_pimpl.C:
8797         * BufferView.h:
8798         * BufferView.C: add getCurrentChange()
8799
8800         * BufferView_pimpl.h:
8801         * BufferView_pimpl.C: handle change lfuns
8802
8803         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8804           for changes. Mark pasted paragraphs as new.
8805
8806         * support/lyxtime.h:
8807         * support/lyxtime.C:
8808         * DepTable.C: abstract time_t as lyx::time_type
8809
8810         * LColor.h:
8811         * LColor.C: add colours for new text, deleted text, changebars
8812
8813         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8814           package use "usenames" option.
8815
8816         * commandtags.h:
8817         * lyxfunc.C:
8818         * LyXAction.C: add change lfuns
8819
8820         * Makefile.am:
8821         * author.h:
8822         * author.C: author handling
8823
8824         * buffer.h:
8825         * buffer.C: add a per-buffer author list, with first entry as
8826           current author. Handle new .lyx tokens for change tracking. Output
8827           author list to .lyx file. Output dvipost stuff to .tex preamble.
8828           Bump lyx format to 222.
8829
8830         * bufferlist.h:
8831         * bufferlist.C: add setCurrentAuthor() to reset current author details
8832           in all buffers.
8833
8834         * bufferparams.h:
8835         * bufferparams.C: add param for tracking
8836
8837         * bufferview_funcs.C: output change info in minibuffer
8838
8839         * Makefile.am:
8840         * changes.h:
8841         * changes.C: add change-tracking structure
8842
8843         * debug.h:
8844         * debug.C: add CHANGES debug flag
8845
8846         * lyxfind.h:
8847         * lyxfind.C: add code for finding the next change piece
8848
8849         * lyxrc.h:
8850         * lyxrc.C: add user_name and user_email
8851
8852         * lyxrow.h:
8853         * lyxrow.C: add a metric for the top of the text line
8854
8855         * lyxtext.h:
8856         * text.C: implement accept/rejectChange()
8857
8858         * lyxtext.h:
8859         * text.C: paint changebars. Paint new/deleted text in the chosen
8860         colours. Strike through deleted text.
8861
8862         * paragraph.h:
8863         * paragraph.C:
8864         * paragraph_pimpl.h:
8865         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8866           in the current change to the insert functions. Rework erase to
8867           mark text as deleted, adding an eraseIntern() and a range-based
8868           erase(). Implement per-paragraph change lookup and
8869           accept/reject.
8870
8871         * paragraph_funcs.C: Fixup paste for change tracking.
8872
8873         * tabular.C: mark added row/columns as new.
8874
8875         * text.C: fix rowLast() to never return -1. Don't allow
8876           spellchecking of deleted text. Track transpose changes. Don't
8877           allow paragraph break or merge where appropriate.
8878
8879         * text2.C: leave cursor at end of selection after a cut.
8880
8881 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8882
8883         * text.C (getLengthMarkerHeight):
8884         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8885         visible on screen too.
8886
8887 2003-02-07  John Levon  <levon@movementarian.org>
8888
8889         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8890
8891 2003-02-05  Angus Leeming  <leeming@lyx.org>
8892
8893         * lyxserver.C (read_ready): revert my patch of 11 September last year
8894         as it sends PC cpu through the roof. Presumably this means that
8895         the lyxserver will no longer run on an Alpha...
8896
8897 2003-01-30  Angus Leeming  <leeming@lyx.org>
8898
8899         * factory.C (createInset): create an InsetCommandParam of type "index"
8900         and use it to 'do the right thing'.
8901
8902         * text2.C (getStringToIndex): ensure that cursor position is always
8903         reset to the reset_cursor position.
8904
8905 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8906
8907         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8908         disabled.
8909
8910 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8911
8912         * bufferview.C:
8913         * lyxcb.C:
8914         * lyxfunc.C: Output messages with identical spelling, punctuation,
8915         and spaces
8916
8917 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8918
8919         * MenuBackend.C (expandFormats): List only viewable export formats
8920         in "View" menu
8921
8922         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8923         message
8924
8925         * lyxfunc.C (getStatus): Make sure that formats other than
8926         "fax" can also be disabled
8927
8928 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8929
8930         * text3.C (dispatch): put the lfuns that insert insets in 3
8931         groups, and call doInsertInset with appropriate arguments.
8932         (doInsertInset): new function, that creates an inset and inserts
8933         it according to some boolean parameters.
8934
8935 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * buffer.C (readFile): remember to pass on 'par' when calling
8938         readFile recursively.
8939
8940 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8941
8942         * MenuBackend.C (expandFormats): add "..." to import formats.
8943
8944 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8945
8946         * paragraph.C (asString): Remove XForms RTL hacks.
8947
8948 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8949         * buffer.C: fix typo
8950
8951 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * Makefile.am (LIBS): delete var
8954         (lyx_LDADD): add @LIBS@ here instead.
8955
8956 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8957
8958         * Clarify the meaning of "wheel mouse jump"
8959
8960 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8961
8962         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8963         tabular in a float
8964
8965 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8966
8967         * importer.C (Loaders): do not preallocate 3 elements in the
8968         vector, since one ends up with 6 elements otherwise
8969
8970 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8971
8972         * DepTable.C (write): write the file name as last element of the
8973         .dep file (because it may contain spaces)
8974         (read): read info in the right order
8975
8976 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * paragraph_pimpl.C (simpleTeXBlanks):
8979         (simpleTeXSpecialChars):
8980         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8981
8982         * tabular.C (latex): add some missing case statements. Reindent.
8983
8984         * MenuBackend.C (expandToc): remove unused variable.
8985
8986 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8987
8988         * LColor.C:
8989         * LaTeX.C:
8990         * LyXAction.C:
8991         * MenuBackend.C:
8992         * buffer.C:
8993         * exporter.C:
8994         * lyxfunc.C:
8995         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8996         and the like.
8997
8998 2003-01-05  John Levon  <levon@movementarian.org>
8999
9000         * BufferView.h:
9001         * BufferView.C: add getEncoding()
9002
9003         * kbsequence.h:
9004         * kbsequence.C: do not store last keypress
9005
9006         * lyxfunc.h:
9007         * lyxfunc.C: store last keypress here instead. Pass encoding
9008           to getISOEncoded()
9009
9010 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9011
9012         * lyx_main.C (init): remove annoying error message when following
9013         symbolic links (bug #780)
9014
9015 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9016
9017         * text.C (insertChar):
9018         * lyxrc.C (getDescription): remove extra spaces
9019
9020 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9021
9022         * lyxrc.C (getDescription): remove extra spaces
9023
9024 2002-12-20  John Levon  <levon@movementarian.org>
9025
9026         * text3.C: hack fix for page up/down across tall rows
9027
9028 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9029
9030         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9031         not been invoked
9032
9033 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9034
9035         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9036         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9037         thesaurus is not compiled in
9038
9039 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9040
9041         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9042
9043 2002-12-16  Angus Leeming  <leeming@lyx.org>
9044
9045         * lyxrc.[Ch]:
9046         * lyx_main.C (init): remove override_x_deadkeys stuff.
9047
9048 2002-12-12  John Levon  <levon@movementarian.org>
9049
9050         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9051           insert. Only remove shift modifier under strict
9052           circumstances.
9053
9054 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9055
9056         * MenuBackend.C (expandToc): fix crash.
9057
9058 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9059
9060         * MenuBackend.C (expandToc): gettext on float names.
9061
9062 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9063
9064         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9065         implement bool empty() [bug 490]
9066
9067 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9068
9069         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9070
9071 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9072
9073         * several files: ws changes
9074
9075 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * text2.C (setCounter): clean up a bit, use boost.format.
9078         (updateCounters): initialize par upon declaration.
9079
9080         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9081         if the layout exists. We do not just store the layout any more.
9082         (SwitchLayoutsBetweenClasses): use boost.format
9083
9084 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9085
9086         * converter.C (convert): if from and to files are the same, use a
9087         temporary files as intermediary
9088
9089 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9090
9091         * commandtags.h:
9092         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9093
9094 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9097
9098 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9099
9100         * tabular.C (asciiPrintCell): use string(size, char) instead of
9101         explicit loop.
9102
9103         * sgml.C (openTag): fix order of arguments to string constructor
9104         (closeTag): ditto
9105
9106         * lyxfunc.C (dispatch): use boost.format
9107
9108         * lots of files: change "c" -> 'c'
9109
9110 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9111
9112         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9113
9114 2002-11-25  Angus Leeming  <leeming@lyx.org>
9115
9116         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9117
9118         * lyx_main.C (init): compile fix.
9119
9120 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9121
9122         * lyx_cb.C (start): boost.formatify
9123         do not include <iostream>
9124
9125         * lengthcommon.C: ws only
9126
9127         * boost-inst.C,BoostFormat.h: add more explict instantations
9128
9129 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9130
9131         * lots of files: handle USE_BOOST_FORMAT
9132
9133 2002-11-21  John Levon  <levon@movementarian.org>
9134
9135         * pspell.C: fix compile
9136
9137 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * lyxfunc.C (dispatch): use boost::format
9140         (open): ditto
9141         (doImport): ditto
9142
9143         * lyxfont.C (stateText): use boost::format
9144
9145         * lyx_main.C (LyX): use boost::format
9146         (init): ditto
9147         (queryUserLyXDir): ditto
9148         (readRcFile): ditto
9149         (parse_dbg): ditto
9150         (typedef boost::function): use the recommened syntax.
9151
9152         * importer.C (Import): use boost::format
9153
9154         * debug.C (showLevel): use boost::format
9155
9156         * converter.C (view): use boost::format
9157         (convert): ditto
9158         (move): ditto
9159         (scanLog): ditto
9160
9161         * bufferview_funcs.C (currentState): use boost::format
9162
9163         * bufferlist.C (emergencyWrite): use boost::format
9164
9165         * buffer.C (readLyXformat2): use boost::format
9166         (parseSingleLyXformat2Token): ditto
9167
9168         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9169
9170         * LaTeX.C (run): use boost::format
9171
9172         * Chktex.C (scanLogFile): use boost::format
9173
9174         * BufferView_pimpl.C (savePosition): use boost::format
9175         (restorePosition): ditto
9176         (MenuInsertLyXFile): ditto
9177
9178         * BoostFormat.h: help file for explicit instation.
9179
9180 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9181
9182         * tabular.C (latex): Support for block alignment in fixed width
9183         columns.
9184
9185 2002-11-17  John Levon  <levon@movementarian.org>
9186
9187         * BufferView_pimpl.C:
9188         * lyx_cb.C:
9189         * lyxfunc.C: split filedialog into open/save
9190
9191 2002-11-08  Juergen Vigna  <jug@sad.it>
9192
9193         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9194         by my last patch (hopefully).
9195
9196 2002-11-08  John Levon  <levon@movementarian.org>
9197
9198         * iterators.h:
9199         * iterators.C:
9200         * buffer.h:
9201         * buffer.C:
9202         * paragraph.h:
9203         * paragraph.C:
9204         * toc.h:
9205         * toc.C: ParConstIterator, and use it (from Lars)
9206
9207 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9208
9209         * lyxtextclass.[Ch]: revise and add doxygen comments
9210
9211 2002-11-07  John Levon  <levon@movementarian.org>
9212
9213         * text.C: fix progress value for spellchecker
9214
9215         * toc.C: fix navigate menu for insetwrap inside minipage
9216
9217         * paragraph_funcs.C: added FIXME for suspect code
9218
9219 2002-11-07  John Levon  <levon@movementarian.org>
9220
9221         * BufferView_pimpl.C: fix redrawing of insets
9222           on buffer switch
9223
9224 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * text2.C (updateCounters): fix bug 668
9227
9228 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9229
9230         * text3.C (dispatch): Do not make the buffer dirty when moving the
9231         cursor.
9232
9233 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9234
9235         * vc-backend.C: STRCONV
9236         (scanMaster): ditto
9237
9238         * text2.C (setCounter): STRCONV
9239
9240         * paragraph.C (asString): STRCONV
9241
9242         * lyxlength.C (asString): STRCONV
9243         (asLatexString): ditto
9244
9245         * lyxgluelength.C (asString): STRCONV
9246         (asLatexString): ditto
9247
9248         * lyxfunc.C (dispatch): STRCONV
9249         (open): ditto
9250
9251         * lyxfont.C (stateText): STRCONV
9252
9253         * importer.C (Import): STRCONV
9254
9255         * counters.C (labelItem): STRCONV
9256         (numberLabel): ditto
9257         (numberLabel): remove unused ostringstream o
9258
9259         * chset.C: STRCONV
9260         (loadFile): ditto
9261
9262         * bufferview_funcs.C (currentState): STRCONV
9263
9264         * buffer.C (readFile): STRCONV
9265         (asciiParagraph): ditto
9266         (makeLaTeXFile): ditto
9267
9268         * Spacing.C (writeEnvirBegin): STRCONV
9269
9270         * LaTeXFeatures.C (getLanguages): STRCONV
9271         (getPackages): ditto
9272         (getMacros): ditto
9273         (getBabelOptions): ditto
9274         (getTClassPreamble): ditto
9275         (getLyXSGMLEntities): ditto
9276         (getIncludedFiles): ditto
9277
9278         * LaTeX.C: STRCONV
9279         (run): ditto
9280         (scanAuxFile): ditto
9281         (deplog): ditto
9282
9283         * LString.h: add the STRCONV macros
9284
9285         * BufferView_pimpl.C (savePosition): STRCONV
9286         (restorePosition): ditto
9287         (MenuInsertLyXFile): ditto
9288
9289         * vc-backend.C (scanMaster): change from submatch[...] to
9290         submatch.str(...)
9291
9292         * funcrequest.C: include config.h
9293
9294         * factory.C: include config.h
9295
9296         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9297
9298         * box.C: include config.h
9299
9300         * LaTeX.C (scanAuxFile): change from submatch[...] to
9301         submatch.str(...)
9302         (deplog): ditto
9303
9304 2002-10-25  Angus Leeming  <leeming@lyx.org>
9305
9306         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9307
9308         * ispell.[Ch] (setError): new method.
9309         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9310         Use setError() insetead of goto END.
9311
9312         * lyx_cb.C (AutoSave): move out child process into new class
9313         AutoSaveBuffer.
9314
9315 2002-10-30  John Levon  <levon@movementarian.org>
9316
9317         * text3.C: make start appendix undoable
9318
9319 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9320
9321         * lyxlength.C (inPixels): Fix returned value.
9322
9323         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9324         environment.
9325
9326 2002-10-24  Angus Leeming  <leeming@lyx.org>
9327
9328         * lyxgluelength.h: no need to forward declare BufferParams
9329         or BufferView, so don't.
9330
9331 2002-10-21  John Levon  <levon@movementarian.org>
9332
9333         * BufferView.C: menuUndo ->undo, redo
9334
9335         * BufferView.h: document, remove dead, make some methods private
9336
9337         * paragraph_funcs.h:
9338         * paragraph_funcs.C:
9339         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9340
9341         * buffer.h:
9342         * buffer.C:
9343         * sgml.h:
9344         * sgml.C: move sgml open/close tag into sgml.C
9345
9346         * bufferview_funcs.h: unused prototype
9347
9348         * lyxfunc.h:
9349         * lyxfunc.C: remove unused
9350
9351         * lyxtext.h:
9352         * text.C: remove unused
9353
9354 2002-10-21  John Levon  <levon@movementarian.org>
9355
9356         * BufferView.h:
9357         * BufferView.C:
9358         * BufferView_pimpl.h:
9359         * BufferView_pimpl.C: fix mouse wheel handling based on
9360           patch from Darren Freeman
9361
9362 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9365
9366 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9367
9368         * lyxlength.C (inPixels): Fix hanfling of negative length.
9369         Fix LyXLength::MU case.
9370
9371 2002-10-16  John Levon  <levon@movementarian.org>
9372
9373         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9374
9375 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9376
9377         * converter.C (view): add support for $$i (file name) and $$p
9378         (file path) for the viewer command. If $$i is not specified, then
9379         it is appended to the command (for compatibility with old syntax)
9380
9381 2002-10-14  Juergen Vigna  <jug@sad.it>
9382
9383         * undo_funcs.C (textHandleUndo): alter the order in which the
9384         new undopar is added to the LyXText, as we have to set first
9385         the right prev/next and then add it as otherwise the rebuild of
9386         LyXText is not correct. Also reset the cursor to the right paragraph,
9387         with this IMO we could remove the hack in "redoParagraphs()".
9388
9389 2002-10-09  Angus Leeming  <leeming@lyx.org>
9390
9391         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9392         to turn off an optimisation if a new inset is to be inserted.
9393
9394 2002-10-11 André Pönitz <poenitz@gmx.net>
9395
9396         * lyxtext.h: make some functions public to allow access
9397         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9398
9399 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9400
9401         * text3.C (dispatch): when changing layout, avoid an infinite loop
9402         [bug #652]
9403
9404 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9405
9406         * lyxrc.C (read): treat a viewer or converter command of "none" as
9407         if it were empty.
9408
9409         * MenuBackend.C (expandFormats): for an update, also allow the
9410         formats that are not viewable
9411
9412         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9413         script if it is newer than the lyxrc.defaults in user directory
9414
9415 2002-10-07 André Pönitz <poenitz@gmx.net>
9416
9417         * text.C: Vitaly Lipatov's small i18n fix
9418
9419 2002-09-25  Angus Leeming  <leeming@lyx.org>
9420
9421         * ispell.h: doxygen fix.
9422
9423 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9424
9425         * buffer.h (readFile): Add a new argument to the method, to allow
9426         reading of old-format templates.
9427
9428 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * toc.C (getTocList): Get TOC from InsetWrap.
9431
9432 2002-09-16  John Levon  <levon@movementarian.org>
9433
9434         * lyxfunc.C: check tabular for cut/copy too
9435
9436 2002-09-12  John Levon  <levon@movementarian.org>
9437
9438         * LyXAction.C: tidy
9439
9440         * factory.h:
9441         * factory.C: add header
9442
9443         * paragraph_funcs.h:
9444         * paragraph_funcs.C: cleanup
9445
9446 2002-09-11  John Levon  <levon@movementarian.org>
9447
9448         * PrinterParams.h: odd/even default to true
9449
9450 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9451
9452         * PrinterParams.h: update printer parameters for new xforms dialog
9453
9454 2002-09-11  Angus Leeming  <leeming@lyx.org>
9455
9456         * lyxserver.C (read_ready): re-write to make it more transparent
9457         and to make it work in coherent fashion under Tru64 Unix.
9458
9459 2002-09-11  André Pönitz <poenitz@gmx.net>
9460
9461         * commandtags.h:
9462         * LyXAction.C:
9463         * text3.C: implement LFUN_WORDSEL
9464
9465 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9466
9467         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9468         make floatlist_ a boost::shared_ptr<FloatList>
9469
9470         * lyxtextclass.C: include FloatList.h
9471         (LyXTextClass): initialize floatlist_
9472         (TextClassTags): add TC_NOFLOAT
9473         (Read): match "nofloat" to TC_NOFLOAT and use it.
9474         (readFloat): modify call to floatlist_
9475         (floats): ditto
9476         (floats): ditto
9477
9478         * FloatList.[Ch] (FloatList): remove commented out float
9479         initialization.
9480         (erase): new function
9481
9482 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9483
9484         * MenuBackend.C (expandToc): fix crash when there is no document
9485         open
9486
9487 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * many files: Add insetwrap.
9490
9491 2002-09-09  John Levon  <levon@movementarian.org>
9492
9493         * text2.C: remove confusing and awkward depth wraparound
9494
9495 2002-09-09  John Levon  <levon@movementarian.org>
9496
9497         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9498
9499         * buffer.h:
9500         * buffer.C: remove getIncludeonlyList()
9501
9502         * paragraph.C:
9503         * lyxfunc.C: remove headers
9504
9505 2002-09-09  Juergen Vigna  <jug@sad.it>
9506
9507         * text.C (getColumnNearX): fix form Michael this is most
9508         probably a cut&paste bug.
9509
9510 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9511
9512         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9513
9514         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9515         references, ws changes.
9516
9517         * text2.C (init): update counters after init
9518         (insertParagraph): no need to set counter on idividual paragraphs.
9519         (setCounter): access the counters object in the textclass object
9520         on in the buffer object.
9521         (updateCounters): ditto
9522
9523         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9524         shared_ptr<Counters> to avoid loading counters.h in all
9525         compilation units.
9526         (LyXTextClass): initialize ctrs_
9527         (TextClassTags): add TC_COUNTER, and ...
9528         (Read): use it here.
9529         (CounterTags): new tags
9530         (readCounter): new function
9531         (counters): new funtion
9532         (defaultLayoutName): return a const reference
9533
9534         * counters.C (Counters): remove contructor
9535         (newCounter): remove a couple of unneeded statements.
9536         (newCounter): simplify a bit.
9537         (numberLabel): some small formatting changes.
9538
9539         * buffer.[Ch]: remove all traces of counters, move the Counters
9540         object to the LyXTextClass.
9541
9542 2002-09-06  Alain Castera  <castera@in2p3.fr>
9543
9544         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9545         package to set the horizontal alignment on fixed width columns.
9546
9547         * lyx_sty.C:
9548         * lyx_sty.h: added tabularnewline macro def.
9549
9550         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9551
9552 2002-09-06  John Levon  <levon@movementarian.org>
9553
9554         * LyXAction.C: tooltips for sub/superscript
9555
9556         * MenuBackend.C: a bit more verbose
9557
9558         * lyxfunc.C: tiny clean
9559
9560         * undo_funcs.C: document undo_frozen
9561
9562 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9563
9564         * counters.C (Counters): add missing algorithm counter.
9565
9566         * text2.C (setCounter): lookup the counter with layouts latexname
9567         instead of by section number.
9568         (setCounter): use a hackish way to lookup the correct enum
9569         counter.
9570         a float name->type change
9571         reset enum couners with counter name directly instead of depth value.
9572
9573         * counters.C (Counters): remove the push_backs, change to use the
9574         float type not the float name.
9575         (labelItem): remove unused string, float name->type change
9576
9577         * counters.h: don't include vector, loose the enums and sects vectors
9578
9579 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9582         (Read): add float->TC_FLOAT to textclassTags
9583         (Read): and handle it in the switch
9584         (readFloat): new function
9585
9586         * FloatList.C (FloatList): comment out the hardcoded float
9587         definitions.
9588
9589         * lyxlayout.h: ws change.
9590
9591 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9592
9593         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9594
9595 2002-09-03  Angus Leeming  <leeming@lyx.org>
9596
9597         * BufferView_pimpl.h: qualified name is not allowed in member
9598         declaration: WorkArea & Pimpl::workarea() const;
9599
9600         * factory.C: added using std::endl directive.
9601
9602         * text3.C: added using std::find and std::vector directives.
9603
9604 2002-08-29  André Pönitz <poenitz@gmx.net>
9605
9606         * lyxtext.h:
9607         * text2.C: remove unused member number_of_rows
9608
9609         * Makefile.am:
9610         * BufferView2.C: remove file, move contents to...
9611         * BufferView.C: ... here
9612
9613         * BufferView_pimpl.C:
9614         * factory.C: move more inset creation to factory
9615
9616         * vspace.C: avoid direct usage of LyXText, ws changes
9617
9618         * BufferView.[Ch]:
9619                 don't provide direct access to WorkArea, use two simple
9620                 acessors haveSelction() and workHeight() instead
9621
9622
9623 2002-08-29  John Levon  <levon@movementarian.org>
9624
9625         * BufferView_pimpl.C (dispatch): do not continue when
9626           no buffer
9627
9628 2002-08-28  André Pönitz <poenitz@gmx.net>
9629
9630         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9631
9632         * BufferView.h:
9633         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9634
9635 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9636
9637         * buffer.C: increment LYX_FORMAT to 221
9638
9639         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9640         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9641
9642         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9643
9644         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9645
9646 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * factory.C (createInset): use LyXTextClass::floats
9649
9650         * MenuBackend.C (expandFloatListInsert):
9651         (expandFloatInsert):
9652         (expandToc):
9653
9654         * text2.C (setCounter):
9655
9656         * LaTeXFeatures.C (useFloat):
9657         (getFloatDefinitions):
9658
9659         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9660
9661         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9662         floatlist_, with accessor floats().
9663
9664         * FloatList.h: remove global FloatList
9665
9666 2002-08-26  André Pönitz <poenitz@gmx.net>
9667
9668         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9669
9670         * BufferView.h:
9671         * BufferView2.C:
9672         * BufferView_pimpl.C:
9673         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9674
9675 2002-08-25  John Levon  <levon@movementarian.org>
9676
9677         * LyXAction.C: fix margin note description
9678
9679 2002-08-24  John Levon  <levon@movementarian.org>
9680
9681         * buffer.C:
9682         * bufferlist.C:
9683         * bufferview_funcs.C:
9684         * lyxfont.C:
9685         * undo_funcs.C: cleanups
9686
9687         * lyxfunc.C: disable CUT/COPY when no selection
9688
9689 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9690
9691         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9692         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9693
9694         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9695         Add backward compatibility to "mono", "gray" and "no".
9696
9697 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9698
9699         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9700         (and file_format >= 200).
9701
9702 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9703
9704         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9705
9706 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9709
9710 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9711
9712         * BufferView_pimpl.C:
9713         * LyXAction.C:
9714         * buffer.C:
9715         * commandtags.h:
9716         * lyxfunc.C:
9717         * paragraph.[Ch]:
9718         * text2.C:
9719         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9720         inset and code to make it  work with the paragraph code. The inset
9721         can be anywhere in the paragraph, but will only do the expected
9722         thing in LaTeX if the layout file contains the parameter line
9723                         OptionalArgs    1
9724         (or more generally, a nonzero value) for that layout.
9725
9726 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9727
9728         * paragraph.h: remove the declaration of undefined counters class
9729         function.
9730
9731 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9732
9733         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9734         Dr. Richard Hawkins.
9735
9736 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * paragraph_funcs.h: remove some unneeded includes
9739
9740         * text.C (backspace): pasteParagraph now in global scipe
9741
9742         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9743         (pasteSelection): ditto
9744
9745         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9746         * paragraph_funcs.C (pasteParagraph): ... here
9747
9748 2002-08-20  André Pönitz <poenitz@gmx.net>
9749
9750         * commandtags.h: new LFUNs for swapping/copying table row/colums
9751
9752         * LyXAction.C:
9753         * lyxfunc.C: support for new lfuns
9754
9755 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9756
9757         * tabular.C:
9758         * buffer.[Ch]: remove NO_COMPABILITY stuff
9759
9760 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9761
9762         * boost.C (throw_exception): new file, with helper function for
9763         boost compiled without exceptions.
9764
9765         * paragraph.h:
9766         * lyxlength.C:
9767         * buffer.C:
9768         * ParameterStruct.h:
9769         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9770
9771         * bufferlist.C (emergencyWriteAll): use boost bind
9772
9773         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9774
9775         * text.C: include paragraph_funcs.h
9776         (breakParagraph): breakParagraph is now in global scope
9777
9778         * paragraph_funcs.[Ch]: new files
9779
9780         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9781         global scope
9782
9783         * buffer.C: include paragraph_funcs.h
9784         (insertStringAsLines): breakParagraph is now in global scope
9785
9786         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9787         paragraph_funcs.C
9788
9789         * CutAndPaste.C: include paragraph_funcs.h
9790         (cutSelection): breakParagraphConservative is now in global scope
9791         (pasteSelection): ditto
9792
9793         * buffer.h: declare oprator== and operator!= for
9794         Buffer::inset_iterator
9795
9796         * bufferlist.C (emergencyWrite): don't use fmt(...)
9797
9798         * text3.C: add using std::endl
9799
9800         * BufferView.C (moveCursorUpdate): remove default arg
9801
9802 2002-08-20  André Pönitz <poenitz@gmx.net>
9803
9804         * buffer.[Ch]: move inline functions to .C
9805
9806         * BufferView2.C:
9807         * BufferView_pimpl.C:
9808         * text.C:
9809         * buffer.[Ch]: use improved inset_iterator
9810
9811         * buffer.C:
9812         * paragraph.[Ch]: write one paragraph at a time
9813
9814 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9815
9816         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9817         style if style is not specified.
9818
9819 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9820
9821         * text2.C (setCounter): when searching for right label for a
9822         caption, make sure to recurse to parent insets (so that a caption
9823         in a minipage in a figure float works) (bug #568)
9824
9825 2002-08-20  André Pönitz <poenitz@gmx.net>
9826
9827         * text3.C: new file for LyXText::dispatch() and helpers
9828
9829         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9830
9831         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9832
9833 2002-08-19  André Pönitz <poenitz@gmx.net>
9834
9835         * lyxtext.h:
9836         * text.C: new LyXText::dispatch()
9837
9838         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9839
9840 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9841
9842         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9843
9844         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9845         Hebrew text.
9846
9847 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9848
9849         * Makefile.am: use $(variables) instead of @substitutions@
9850
9851 2002-08-15  André Pönitz <poenitz@gmx.net>
9852
9853         * lyxfunc.C:
9854         * BufferView_pimpl.C: streamlining mathed <-> outer world
9855         interaction
9856
9857         * commandtags.h:
9858         * LyXAction.C: remove unused LFUN_MATH
9859
9860 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9863
9864 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * paragraph.C (Paragraph): reformat a bit
9867         (cutIntoMinibuffer): use builtin InsetList function instad of
9868         doing it manually.
9869         (getInset): ditto
9870
9871         * buffer.C: include boost/bind.hpp, add using std::for_each
9872         (writeFileAscii): use ParagraphList iterators
9873         (validate): use for_each for validate traversal of paragraphs
9874         (getBibkeyList): use ParagraphList iterators
9875         (resizeInsets): use for_each to resizeInsetsLyXText for all
9876         paragraphs.
9877         (getParFromID): use ParagraphList iterators
9878
9879         * BufferView2.C (lockInset): use paragraph list and iterators
9880
9881 2002-08-14  John Levon  <levon@movementarian.org>
9882
9883         * lyxserver.C: remove spurious xforms include
9884
9885 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9888
9889 2002-08-13  André Pönitz <poenitz@gmx.net>
9890
9891         * LyXAction.[Ch]:
9892         * lyxfunc.C: further cleaning
9893
9894 2002-08-13  André Pönitz <poenitz@gmx.net>
9895
9896         * funcrequest.h: new constructor
9897
9898         * funcrequest.C: move stuff here from .h
9899
9900         * Makefile.am:
9901         * BufferView_pimpl.C:
9902         * LyXAction.C:
9903         * toc.C:
9904         * lyxfunc.C: subsequent changes
9905
9906         * lyxfunc.h: new view() member function
9907
9908         * lyxfunc.C: subsequent changes
9909
9910 2002-08-13  Angus Leeming  <leeming@lyx.org>
9911
9912         * BufferView2.C:
9913         * BufferView_pimpl.C:
9914         * buffer.C:
9915         * converter.C:
9916         * importer.C:
9917         * lyxfunc.C:
9918         * lyxvc.C:
9919         * toc.C:
9920         * vc-backend.C:
9921         changes due to the changed LyXView interface that now returns references
9922         to member variables not pointers.
9923
9924 2002-08-13  Angus Leeming  <leeming@lyx.org>
9925
9926         * WordLangTuple (word, lang_code): return references to strings,
9927         not strings.
9928
9929         * BufferView.h:
9930         * SpellBase.h:
9931         * lyxtext.h: forward-declare WordLangTuple.
9932
9933         * BufferView2.C:
9934         * ispell.C:
9935         * pspell.C:
9936         * text.C: #include "WordLangTuple.h".
9937
9938         * lyxtext.h:
9939         * text.C: (selectNextWordToSpellcheck): constify return type.
9940
9941 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9942
9943         * buffer.C:
9944         * buffer.h:
9945         * lyxtext.h:
9946         * paragraph.C:
9947         * paragraph_pimpl.h:
9948         * text.C:
9949         * text2.C:
9950         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9951         suggested by Angus.
9952         Made updateCounter always count from start of buffer, and removed
9953         second argument (par).
9954         Reverted floats number display to '#'. Perhaps I'll try again when the
9955         code base is sanitized a bit.
9956
9957 2002-08-12  Angus Leeming  <leeming@lyx.org>
9958
9959         * buffer.[Ch] (getLabelList): constify.
9960
9961 2002-08-07  André Pönitz <poenitz@gmx.net>
9962
9963         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9964
9965         * funcrequest.h: extension to keep mouse (x,y) position
9966
9967 2002-08-12  Juergen Vigna  <jug@sad.it>
9968
9969         * BufferView2.C (insertErrors): forbid undo when inserting error
9970         insets.
9971
9972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9973
9974 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9975
9976         * ParagraphList.[Ch]: new files
9977
9978         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9979
9980         * BufferView2.C (lockInset): ParagraphList changes
9981         * toc.C: ditto
9982         * text2.C: ditto
9983         * bufferlist.C: ditto
9984         * buffer.h: ditto
9985         * buffer.C: ditto
9986
9987 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9988
9989         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9990         unused class variable counter_,
9991
9992         * paragraph.[Ch] (getFirstCounter): delete unused function
9993
9994         * counters.C: include LAssert.h
9995         (reset): add a new function with no arg, change other version to
9996         not have def. arg and to not allow empty arg.
9997
9998         * text2.C (setCounter): remove empty arg from call to Counters::reset
9999
10000 2002-08-11  John Levon  <levon@movementarian.org>
10001
10002         * Makefile.am: add WordLangTuple.h
10003
10004 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10005
10006         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10007         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10008
10009         * insets/insettext.C: InsetList changes
10010
10011         * graphics/GraphicsSupport.C (operator()): InsetList changes
10012
10013         * toc.C (getTocList): InsetList changes
10014
10015         * paragraph_pimpl.[Ch]: InsetList changes
10016
10017         * paragraph.[Ch]: InsetList changes
10018
10019         * buffer.C (inset_iterator): InsetList changes
10020         (setParagraph): ditto
10021         * buffer.h (inset_iterator): ditto
10022         * iterators.C (operator++): ditto
10023         * iterators.h: ditto
10024
10025         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10026
10027         * InsetList.[Ch]: new files, most InsetList handling moved out of
10028         paragraph.C.
10029
10030         * BufferView2.C (removeAutoInsets): InsetList changes
10031         (lockInset): ditto
10032         (ChangeInsets): ditto
10033
10034 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10035
10036         * paragraph_pimpl.h (empty): new function
10037
10038         * paragraph.[Ch] (empty): new function
10039
10040         * other files: use the new Paragraph::empty function
10041
10042 2002-08-09  John Levon  <levon@movementarian.org>
10043
10044         * lyxtext.h: remove unused refresh_height
10045
10046 2002-08-09  John Levon  <levon@movementarian.org>
10047
10048         * Makefile.am:
10049         * sgml.h:
10050         * sgml.C:
10051         * buffer.C:
10052         * paragraph.h:
10053         * paragraph.C: move sgml char escaping out of paragraph
10054
10055         * paragraph.h:
10056         * paragraph.C: remove id setter
10057
10058         * buffer.C:
10059         * paragraph.C:
10060         * paragraph_pimpl.C: remove dead tex_code_break_column
10061
10062         * bufferview_funcs.C: small cleanup
10063
10064         * lyxfunc.C: remove dead proto
10065
10066         * lyxtext.h: make some stuff private. Remove some dead stuff.
10067
10068         * lyxgluelength.C: make as[LyX]String() readable
10069
10070 2002-08-08  John Levon  <levon@movementarian.org>
10071
10072         * LyXAction.h:
10073         * LyXAction.C:
10074         * MenuBackend.C:
10075         * ToolbarDefaults.C:
10076         * lyxfunc.C:
10077         * lyxrc.C:
10078         * toc.C: lyxaction cleanup
10079
10080 2002-08-08  John Levon  <levon@movementarian.org>
10081
10082         * BufferView2.C: small cleanup
10083
10084         * lyxfind.h:
10085         * lyxfind.C: move unnecessary header into the .C
10086
10087 2002-08-08  John Levon  <levon@movementarian.org>
10088
10089         * funcrequest.h: just tedious nonsense
10090
10091         * lyx_main.h:
10092         * lyx_main.C: cleanups
10093
10094         * buffer.C:
10095         * vspace.C: remove dead header lyx_main.h
10096
10097 2002-08-07  Angus Leeming  <leeming@lyx.org>
10098
10099         * Paragraph.[Ch]:
10100         * paragraph_pimpl.h:
10101         Forward declare class Counters in paragraph.h by moving the ctrs member
10102         variable into Paragraph::Pimpl.
10103         (counters): new method, returning a reference to pimpl_->ctrs.
10104
10105         * text2.C: ensuing changes.
10106
10107 2002-08-07  John Levon  <levon@movementarian.org>
10108
10109         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10110
10111         * BufferView_pimpl.C: announce X selection on double/triple
10112           click
10113
10114         * lyx_main.C: use correct bool in batch dispatch
10115
10116         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10117
10118 2002-08-07  André Pönitz <poenitz@gmx.net>
10119
10120         * funcrequest.h: new class to wrap a kb_action and its argument
10121
10122         * BufferView.[Ch]:
10123         * BufferView_pimpl[Ch]:
10124         * LaTeX.C:
10125         * LyXAction.[Ch]:
10126         * lyxfunc.[Ch]:
10127         * lyxrc.C: subsequent changes
10128
10129
10130 2002-08-07  John Levon  <levon@movementarian.org>
10131
10132         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10133           document options change.
10134
10135 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10136
10137         * counters.[Ch]
10138         * text2.C
10139         * paragraph.[Ch]
10140         * makefile.am: move counters functionality over from
10141         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10142
10143 2002-08-06  John Levon  <levon@movementarian.org>
10144
10145         * WordLangTuple.h: new file for word + language code tuple
10146
10147         * SpellBase.h:
10148         * pspell.h:
10149         * pspell.C:
10150         * ispell.h:
10151         * ispell.C:
10152         * lyxtext.h:
10153         * text.C:
10154         * text2.C:
10155         * BufferView.h:
10156         * BufferView2.C: use WordLangTuple
10157
10158         * layout.h:
10159         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10160
10161 2002-08-06  John Levon  <levon@movementarian.org>
10162
10163         * lyx_main.C: fix cmdline batch handling
10164
10165 2002-08-06  André Pönitz <poenitz@gmx.net>
10166
10167         * lyxrc.C: set default for show_banner to true
10168
10169 2002-08-06  John Levon  <levon@movementarian.org>
10170
10171         * pspell.C: fix a crash, and allow new aspell to work
10172
10173 2002-08-06  John Levon  <levon@movementarian.org>
10174
10175         * lyxfunc.C:
10176         * kbmap.C: small cleanup
10177
10178         * vspace.h:
10179         * vspace.C: add const
10180
10181 2002-08-05  John Levon  <levon@movementarian.org>
10182
10183         * LyXAction.C: back to tabular-insert
10184
10185 2002-08-04  John Levon  <levon@movementarian.org>
10186
10187         * BufferView.h:
10188         * BufferView.C: cosmetic change
10189
10190         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10191
10192         * bufferlist.C:
10193         * buffer.h:
10194         * buffer.C:
10195         * lyxcb.h:
10196         * lyxcb.C:
10197         * lyxserver.C:
10198         * lyxvc.C:
10199         * vc-backend.C:
10200         * BufferView2.C: purge all "Lyx" not "LyX" strings
10201
10202         * lyxcursor.h:
10203         * lyxcursor.C: attempt to add some documentation
10204
10205         * lyxfunc.C:
10206         * commandtags.h:
10207         * LyXAction.C:
10208         * ToolbarDefaults.C:
10209         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10210           merge with LFUN_TABULAR_INSERT
10211
10212         * Makefile.am:
10213         * SpellBase.h:
10214         * ispell.h:
10215         * ispell.C:
10216         * pspell.h:
10217         * pspell.C: split up i/pspell implementations into separate
10218           files, many cleanups
10219
10220         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10221
10222         * text2.C: some cleanup
10223
10224         * lyxfunc.C: don't check for isp_command == "none" any more, it
10225           didn't make any sense
10226
10227 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10228
10229         * counters.[Ch]
10230         * text2.C
10231         * paragraph.[Ch]
10232         * makefile.am: move counters functionality over
10233         from text2.C/paragraph.[Ch] to counters.[Ch], and
10234         make proper C++.
10235 2002-08-02  John Levon  <levon@movementarian.org>
10236
10237         * buffer.C: s/lyxconvert/lyx2lyx/
10238
10239 2002-08-02  Angus Leeming  <leeming@lyx.org>
10240
10241         * lyxlex.C: revert John's change as it breaks reading of the user
10242         preamble.
10243
10244 2002-08-02  Angus Leeming  <leeming@lyx.org>
10245
10246         * importer.C (Import):
10247         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10248         changes due to LyXView::view() now returning a boost::shared_ptr.
10249
10250 2002-08-02  John Levon  <levon@movementarian.org>
10251
10252         * lyxlex.C: small cleanup
10253
10254 2002-08-02  John Levon  <levon@movementarian.org>
10255
10256         * text2.C (status): small cleanup, no logic change
10257
10258 2002-08-01  John Levon  <levon@movementarian.org>
10259
10260         * buffer.h:
10261         * buffer.C (writeFile): don't output alerts, caller
10262           handles this
10263
10264         * bufferlist.C:
10265         * lyx_cb.C: from above
10266
10267         * lyxfunc.C: allow to open non-existent files
10268
10269 2002-07-31  John Levon  <levon@movementarian.org>
10270
10271         * lyxserver.C: don't let incidental errors get
10272           in the way (errno)
10273
10274 2002-07-30  John Levon  <levon@movementarian.org>
10275
10276         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10277
10278 2002-07-30  John Levon  <levon@movementarian.org>
10279
10280         * lyxserver.h:
10281         * lyxserver.C: remove I/O callback too
10282
10283 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10286         log.
10287
10288 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10289
10290         * many files: strip,frontStrip -> trim,ltrim,rtrim
10291
10292 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10293
10294         * PrinterParams.h: remove extern containsOnly, and include
10295         support/lstrings.h instead.
10296
10297         * LaTeX.C (scanAuxFile): modify because of strip changes
10298         (deplog): ditto
10299         * buffer.C (makeLaTeXFile): ditto
10300         * bufferparams.C (writeFile): ditt
10301         * lyxfont.C (stateText): ditto
10302         * lyxserver.C (read_ready): ditto
10303         * vc-backend.C (scanMaster): ditto
10304
10305         * BufferView_pimpl.h: ws changes
10306
10307         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10308
10309 2002-07-26  André Pönitz <poenitz@gmx.net>
10310
10311         * kb_sequence.C: remove unnedred usings
10312
10313 2002-07-26  Juergen Vigna  <jug@sad.it>
10314
10315         * lyxfind.C (LyXReplace): we have to check better if the returned
10316         text is not of theLockingInset()->getLockingInset().
10317
10318 2002-07-25  Juergen Vigna  <jug@sad.it>
10319
10320         * lyxfind.C (LyXReplace): don't replace if we don't get the
10321         right LyXText.
10322
10323         * undo_funcs.C (createUndo): remove debugging code.
10324
10325 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * buffer.C (parseSingleLyXformat2Token): Use default placement
10328         when reading old floats.
10329
10330         * FloatList.C (FloatList): Change the default placement of figure
10331         and tables to "tbp".
10332
10333 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * MenuBackend.C: using std::max
10336
10337 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * MenuBackend.C (expandToc):
10340         (expandToc2): code moved from xforms menu frontend. It is now
10341         generic and TOCs are transparent to menu frontends.
10342
10343 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * toc.C (getTocList): protect against buf=0
10346
10347         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10348         Menu as first parameter. Now, this calls itself recursively to
10349         expand a whole tree (this will be useful for TOC handling)
10350         (expandFloatInsert): remove 'wide' version of floats
10351
10352         * MenuBackend.h (submenuname): returns the name of the submenu.
10353         (submenu): returns the submenu itself, provided it has been
10354         created by MenuBackend::expand
10355
10356 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10359         insets which have noFontChange == true. (bug #172)
10360
10361 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10362
10363         * BufferView_pimpl.C: add connection objects and use them...
10364         (Pimpl): here.
10365
10366 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10367
10368         * MenuBackend.C (expandLastfiles):
10369         (expandDocuments):
10370         (expandFormats):
10371         (expandFloatListInsert):
10372         (expandFloatInsert):
10373         (expand): split expand in parts
10374
10375 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * lyx_gui.C: use lyx_gui::exit()
10378
10379 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * LyXAction.C: show the failing pseudo action
10382
10383 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10384
10385         * buffer.C (readFile): Run the lyxconvert script in order to read
10386         old files.
10387
10388 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * LyXAction.C:
10391         * commandtags.h:
10392         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10393
10394 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * LyXAction.C:
10397         * commandtags.h:
10398         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10399
10400 2002-07-22  Herbert Voss  <voss@lyx.org>
10401
10402         * lengthcommon.C:
10403         * lyxlength.[Ch]: add support for the vertical lengths
10404
10405 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * toc.[Ch]: std:: fixes
10408
10409 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * lyxrc.C: do not include lyx_main.h
10412
10413         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10414         for layouts
10415
10416         * lyxrc.C:
10417         * encoding.C:
10418         * bufferlist.C:
10419         * BufferView2.C: include "lyxlex.h"
10420
10421         * tabular.h:
10422         * bufferparams.h: do not #include "lyxlex.h"
10423
10424         * lyxtextclasslist.C (Add): remove method
10425         (classlist): renamed to classlist_
10426
10427         * paragraph_pimpl.C:
10428         * paragraph.C:
10429         * text2.C:
10430         * CutAndPaste.C:
10431         * bufferview_funcs.C:
10432         * bufferlist.C:
10433         * text.C:
10434         * LaTeXFeatures.C:
10435         * buffer.C:
10436         * toc.C (getTocList): use BufferParams::getLyXTextClass
10437
10438         * toc.C (getTocList): use InsetFloat::addToToc
10439
10440         * toc.[Ch]: new files, containing helper functions to handle table
10441         of contents
10442
10443         * lyxfunc.C (dispatch): no need to remove spaces around command
10444         given as a string
10445         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10446         first command of the sequence; it is not very clever, but I do not
10447         have a better idea, actually
10448
10449         * LyXAction.C (LookupFunc): make sure to remove space at the
10450         beginning and end of the command
10451
10452 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * MenuBackend.C (getMenubar): new method: return the menubar of
10455         this menu set
10456         (read): treat differently reading of menu and menubar (in
10457         particular, the menubar has no name now)
10458         (Menu::menubar): remove
10459
10460         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10461         saving is finished
10462
10463 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10464
10465         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10466         a bibitem inset in a RTL paragraph.
10467
10468 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * paragraph_pimpl.C: constify
10471
10472         * BufferView_pimpl.C:
10473         * LaTeX.C:
10474         * lyxfunc.C: fix dispatch in a nicer way
10475
10476 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10477
10478         * lyxfunc.C (dispatch):
10479         * BufferView_pimpl.C:
10480         * BufferView_pimpl.h:
10481         * BufferView.C:
10482         * BufferView.h: rename Dispatch() to dispatch()
10483
10484         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10485
10486         * lyxlayout.C (Read): honor DependsOn tag
10487
10488         * lyxlayout.[Ch] (depends_on): new method
10489
10490         * version.C.in: update lyx_docversion
10491
10492         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10493
10494         * paragraph.C (validate): remove from here...
10495         * paragraph_pimpl.C (validate): ... and move here
10496         (isTextAt): make it const
10497
10498         * buffer.C (getLists): ws cleanup
10499
10500 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10501
10502         * language.C (read): Use iso8859-1 encoding in latex_lang
10503         (this prevents LyX from crashing when using iso10646-1 encoding).
10504
10505 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10506
10507         * text2.C (toggleInset): if cursor is inside an inset, close the
10508         inset and leave cursor _after_ it
10509
10510 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * lyxfunc.C: move minibuffer completion handling out of here
10513
10514 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * BufferView_pimpl.C:
10517         * LaTeX.C: fix dispatch calls
10518
10519 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10520
10521         * text.C (drawChars): Fix Arabic text rendering.
10522
10523 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * LyXAction.C:
10526         * commandtags.h:
10527         * lyxfunc.C: remove message-push/pop
10528
10529         * lyxserver.C:
10530         * lyxfunc.h:
10531         * lyxfunc.C: rationalise some code by removing verboseDispatch
10532           in favour of a bool argument to dispatch()
10533
10534 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * lyx_main.C (init): make sure to read symlinks as absolute paths
10537
10538 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * lyxfunc.h:
10541         * lyxfunc.C: no need for commandshortcut to be a member
10542
10543 2002-07-15  André Pönitz <poenitz@gmx.net>
10544
10545         * converter.C: add support for $$s (scripts from lib/scripts dir)
10546         * lyx_main.C: white space
10547
10548 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * bufferlist.C:
10551         * lyxrc.h:
10552         * lyxrc.C: remove second exit confirmation
10553
10554 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * BufferView.h:
10557         * BufferView.C:
10558         * BufferView2.C:
10559         * BufferView_pimpl.h:
10560         * BufferView_pimpl.C:
10561         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10562
10563 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * MenuBackend.C (expand): add numeric shortcuts to document menu
10566
10567         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10568
10569 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10570
10571         * lyxfont.C (setLyXFamily):
10572         (setLyXSeries):
10573         (setLyXShape):
10574         (setLyXSize):
10575         (setLyXMisc):
10576         (lyxRead):
10577         * debug.C (value):
10578         * buffer.C (asciiParagraph): use ascii_lowercase
10579
10580 2002-07-15  Mike Fabian  <mfabian@suse.de>
10581
10582         * lyxlex_pimpl.C (search_kw):
10583         * lyxlex.C (getLongString):
10584         * converter.h (operator<):
10585         * converter.C (operator<):
10586         * buffer.C (parseSingleLyXformat2Token):
10587         (asciiParagraph):
10588         * ToolbarDefaults.C (read):
10589         * MenuBackend.C (checkShortcuts):
10590         (read):
10591         * LColor.C (getFromGUIName):
10592         (getFromLyXName): use the compare_ascii_no_case instead of
10593         compare_no_case, because in turkish, 'i' is not the lowercase
10594         version of 'I', and thus turkish locale breaks parsing of tags.
10595
10596 2002-07-16  Angus Leeming  <leeming@lyx.org>
10597
10598         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10599         now takes a Buffer const & argument.
10600
10601 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * BufferView.C (resize): check there's a buffer to resize
10604
10605 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * lyxfunc.C: remove dead code
10608
10609         * lyxserver.h:
10610         * lyxserver.C: use lyx_guii::set_read_callback
10611
10612 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10613
10614         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10615         an inset in a RTL paragraph.
10616
10617 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxfunc.C: repaint after a font size update
10620
10621 2002-07-15  André Pönitz <poenitz@gmx.net>
10622
10623         * lyxlength.C: inBP should be able to return negative values
10624
10625 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * lyxfunc.C: use lyx_gui::update_fonts()
10628
10629 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * lyxfunc.C: use lyx_gui::update_color()
10632
10633 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * bufferlist.C:
10636         * lyxfunc.h:
10637         * lyxfunc.C:
10638         * lyxrc.h:
10639         * lyxrc.C: remove file->new asks for name option, and let
10640           buffer-new take an argument
10641
10642 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C: remove unneeded extra repaint()
10645
10646 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * LyXAction.C: allow command-sequence with NoBuffer
10649
10650         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10651
10652 2002-07-10  Angus Leeming  <leeming@lyx.org>
10653
10654         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10655
10656 2002-07-09  Angus Leeming  <leeming@lyx.org>
10657
10658         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10659
10660 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * lengthcommon.h: whitespace
10663
10664         * lyxfunc.C: update scrollbar after goto paragraph
10665
10666         * lyxtext.h: factor out page break drawing, and fix it so
10667           page break/added space paints as selected nicely
10668
10669 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView_pimpl.C: add FIXMEs, clean up a little
10672
10673 2002-07-09  André Pönitz <poenitz@gmx.net>
10674
10675         * lyxfont.[Ch]: support for wasy symbols
10676
10677 2002-07-08  André Pönitz <poenitz@gmx.net>
10678
10679         * BufferView_pimpl.C: apply John's patch for #93.
10680
10681 2002-07-05  Angus Leeming  <leeming@lyx.org>
10682
10683         * BufferView_pimpl.C (buffer): generate previews if desired.
10684
10685         * LColor.h: add "preview" to the color enum.
10686
10687         * LColor.C (LColor): add a corresponding entry to the items array.
10688
10689         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10690         with this buffer.
10691
10692 2002-07-05  Angus Leeming  <leeming@lyx.org>
10693
10694         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10695         The body of the code is now in the method that is passed an ostream &
10696         rather than a file name.
10697         Pass an additional only_preamble parameter, useful for the forthcoming
10698         preview stuff.
10699
10700 2002-07-03  André Pönitz <poenitz@gmx.net>
10701
10702         * lyxfunc.C: simplify getStatus() a bit for math stuff
10703
10704 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10705
10706         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10707
10708 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * text.C (changeRegionCase): do not change case of all the
10711         document when region ends at paragraph end (bug #461)
10712
10713 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10714
10715         * paragraph.C (startTeXParParams):
10716         (endTeXParParams): add \protect when necessary
10717
10718 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * BufferView_pimpl.C (workAreaExpose): remove warning
10721
10722 2002-06-27  Angus Leeming  <leeming@lyx.org>
10723
10724         * Makefile.am: add lyxlayout_ptr_fwd.h.
10725
10726 2002-06-26  André Pönitz <poenitz@gmx.net>
10727
10728         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10729
10730 2002-06-25  Angus Leeming  <leeming@lyx.org>
10731
10732         * lyxfunc.C (dispatch): Comment out the call to
10733         grfx::GCache::changeDisplay. The method no longer exists now that the
10734         pixmap generation part of the graphics loader has been moved into
10735         InsetGraphics.
10736
10737 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10738
10739         * text2.C: layout as layout
10740
10741         * text.C: layout as layout
10742
10743         * tabular.C (OldFormatRead): layout as layout
10744
10745         * paragraph_pimpl.C (TeXDeeper): layout as layout
10746         (realizeFont): layout as layout
10747
10748         * paragraph.C (writeFile): layout as layout
10749         (validate): layout as layout
10750         (getFont): layout as layout
10751         (getLabelFont): layout as layout
10752         (getLayoutFont): layout as layout
10753         (breakParagraph): layout as layout
10754         (stripLeadingSpaces): layout as layout
10755         (getEndLabel): layout as layout
10756         (getMaxDepthAfter): layout as layout
10757         (applyLayout): layout as layout
10758         (TeXOnePar): layout as layout
10759         (simpleTeXOnePar): layout as layout
10760         (TeXEnvironment): layout as layout
10761         (layout): layout as layout
10762         (layout): layout as layout
10763
10764         * lyxtextclass.C (compare_name): new functor to work with
10765         shared_ptr, layout as layout
10766         (Read): layout as layout
10767         (hasLayout): layout as layout
10768         (operator): layout as layout
10769         (delete_layout): layout as layout
10770         (defaultLayout): layout as layout
10771
10772         * lyxlayout_ptr_fwd.h: new file
10773
10774         * lyxlayout.C (Read): layout as layout
10775
10776         * lyx_cb.C (MenuInsertLabel): layout as layout
10777
10778         * bufferlist.C (newFile): layout as layout
10779
10780         * buffer.C (readLyXformat2): layout as layout
10781         (parseSingleLyXformat2Token): layout as layout
10782         (insertStringAsLines): layout as layout
10783         (asciiParagraph): layout as layout
10784         (latexParagraphs): layout as layout
10785         (makeLinuxDocFile): layout as layout
10786         (simpleLinuxDocOnePar): layout as layout
10787         (makeDocBookFile): layout as layout
10788         (simpleDocBookOnePar): layout as layout
10789         (getLists): layout as layout
10790
10791         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10792
10793         * CutAndPaste.C (cutSelection): layout as layout
10794         (pasteSelection): layout as layout
10795         (SwitchLayoutsBetweenClasses): layout as layout
10796
10797         * BufferView_pimpl.C (Dispatch): layout as layout
10798         (smartQuote): layout as layout
10799
10800         * BufferView2.C (unlockInset): layout as layout
10801
10802 2002-06-24  André Pönitz <poenitz@gmx.net>
10803
10804         * lyxfunc.C: fix #487
10805
10806 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * lyxrc.h:
10809         * lyxrc.C:
10810         * lyxfunc.C: remove display_shortcuts, show_banner
10811
10812 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * Buffer_pimpl.C: oops, update on resize
10815
10816 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * buffer.C:
10819         * converter.C:
10820         * exporter.C:
10821         * lyxfunc.C:
10822         * BufferView.h:
10823         * BufferView.C: use repaint()
10824
10825         * BufferView_pimpl.h:
10826         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10827           as it's a clearer description. Remove superfluous
10828           redraws.
10829
10830 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * text.C: fix bug 488. Not ideal, but getting
10833           getWord() to work properly for the insets that
10834           matter is more difficult ...
10835
10836 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView_pimpl.C:
10839         * LyXAction.C:
10840         * commandtags.h:
10841         * lyxfunc.C: remove the six million index lyxfuncs to just
10842           one, and DTRT (bug 458)
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: clean up resize() stuff,
10850           and unnecessary updateScreen()s
10851
10852 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView.h:
10855         * BufferView.C:
10856         * BufferView_pimpl.h:
10857         * BufferView_pimpl.C:
10858         * lyxfind.h:
10859         * lyxfind.C:
10860         * minibuffer.C: remove focus management of workarea,
10861           not needed. Use screen's greyOut()
10862
10863 2002-06-17  Herbert Voss  <voss@lyx.org>
10864
10865         * converter.C: (convert) do not post a message, when converting
10866         fails, let the calling function decide what to do in this case
10867
10868 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyxfunc.C: tidy up a little
10871
10872 2002-06-16    <alstrup@diku.dk>
10873
10874         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10875         Got rid of FORMS_H_LOCATION include. Now we are
10876         GUII.
10877
10878 2002-06-15  LyX Development team  <lyx@rilke>
10879
10880         * buffer.[Ch] (sgmlOpenTag):
10881         (sgmlCloseTag): Added support for avoiding pernicious mixed
10882         content. Return number of lines written.
10883
10884         (makeLinuxDocFile):
10885         (makeDocBookFile): Fixed calls to sgml*Tag.
10886         Simple white space clean.
10887
10888         (simpleDocBookOnePar): Simple white space clean.
10889
10890         * tabular.[Ch] (docBook): Renamed to docbook and got another
10891         argument to related with the pernicious mixed content.
10892
10893         (docbookRow): Fixed calls for docbook inset method.
10894
10895 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10896
10897         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10898         so it's X11 independent.
10899
10900         * kb*.[Ch]: ditto.
10901
10902         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10903
10904 2002-06-15  Lyx Development team  <lyx@electronia>
10905
10906         * intl.h: Renamed getTrans to getTransManager.
10907
10908 2002-06-14  Angus Leeming  <leeming@lyx.org>
10909
10910         * Makefile.am: nuke forgotten stl_string_fwd.h.
10911
10912 2002-06-12  Angus Leeming  <leeming@lyx.org>
10913
10914         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10915
10916 2002-06-13  Angus Leeming  <leeming@lyx.org>
10917
10918         * LaTeX.C:
10919         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10920
10921 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10922
10923         * kbmap.C (getiso): add support for cyrillic and greek
10924
10925 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * BufferView.h:
10928         * BufferView.C:
10929         * BufferView_pimpl.h:
10930         * BufferView_pimpl.C: move bogus scrolling logic
10931           to xforms
10932
10933 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10934
10935         * lyxfunc.C:
10936         * BufferView_pimpl.C: view->resize() change
10937
10938 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * BufferView_pimpl.C: topCursorVisible
10941           prototype change
10942
10943 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * Makefile.am:
10946         * lyx_gui.h:
10947         * lyx_gui.C: move to frontends/
10948
10949         * main.C:
10950         * lyx_main.h:
10951         * lyx_main.C: changes from above
10952
10953 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * intl.C:
10956         * intl.h:
10957         * kbmap.C:
10958         * kbsequence.C:
10959         * lyx_cb.C:
10960         * lyx_main.C: minor tidy
10961
10962 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * BufferView_pimpl.h:
10965         * BufferView_pimpl.C:
10966         * BufferView.h:
10967         * BufferView.C: make painter() const,
10968           remove dead code
10969
10970         * BufferView2.C: use screen() accessor
10971
10972         * lyx_main.h:
10973         * lyx_main.C: some minor cleanup
10974
10975 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * BufferView_pimpl.h:
10978         * BufferView_pimpl.C: remove enter/leaveView,
10979           use workHeight()
10980
10981 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * BufferView.h:
10984         * BufferView.C:
10985         * BufferView2.C:
10986         * BufferView_pimpl.h:
10987         * BufferView_pimpl.C: only construct screen once,
10988           rename
10989
10990         * lyxrc.C: remove pointless comment
10991
10992 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * BufferView.h:
10995         * BufferView.C: remove active() and belowMouse()
10996
10997         * BufferView_pimpl.h:
10998         * BufferView_pimpl.C: use workarea() not workarea_,
10999           and make it use a scoped_ptr instead
11000
11001 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11002
11003         * lyx_gui.C: add debug message on BadWindow
11004
11005 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11006
11007         * sp_spell.C: fdopen is not part of the C++ standard.
11008
11009         * paragraph.C (InsetIterator): use >= instead of ==
11010
11011 2002-06-07  Angus Leeming  <leeming@lyx.org>
11012
11013         Fixes needed to compile with Compaq cxx 6.5.
11014         * BufferView_pimpl.C:
11015         * DepTable.C:
11016         * buffer.C:
11017         * converter.C:
11018         * encoding.C:
11019         * lyx_gui.C:
11020         * lyx_main.C:
11021         * lyxtextclasslist.C:
11022         * minibuffer.C:
11023         * sp_spell.C:
11024         * tabular_funcs.C:
11025         * vc-backend.C:
11026         all c-library variables have been moved into namespace std. Wrap
11027         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11028
11029         * lyxlength.C:
11030         * tabular-old.C:
11031         * tabular.C:
11032         Add a using std::abs declaration.
11033
11034         * kbmap.h (modifier_pair):
11035         * paragraph.h (InsetTable, InsetList):
11036         * lyxfont.h (FontBits):
11037         type definition made public.
11038
11039         * bufferlist.C (emergencyWriteAll): the compiler complains that
11040         there is more than one possible lyx::class_fun template to choose from.
11041         I re-named the void specialisation as lyx::void_class_fun.
11042
11043         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11044
11045         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11046         the compiler is is unable to find tostr in write_attribute.
11047
11048 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * buffer.C (sgmlError): hide #warning
11051
11052 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11053
11054         * xtl/*: get rid of xtl, which is not in use anyway
11055
11056         * LyXAction.C (init):
11057         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11058         were unimplemented xtl experimentation
11059
11060 2002-06-04  André Pönitz <poenitz@gmx.net>
11061
11062         * lyxfunc.C: disable array operation on simple formulae
11063
11064 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * converter.C: constify a bit
11067
11068 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * lyx_gui.C: check xforms version correctly
11071
11072 2002-04-30  Herbert Voss  <voss@lyx.org>
11073
11074         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11075         "keep" option
11076
11077 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11080           attempt to register it with a VCS)
11081
11082 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * lyx_main.C (init): honor variables LYX_DIR_13x and
11085         LYX_USERDIR_13x
11086
11087 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * buffer.h:
11090         * buffer.C:
11091         * lyx_main.C: fix a crash on bad command line,
11092           and give a useful exit status on error
11093
11094         * lyxfunc.C (doImport): allow -i lyx to work
11095
11096 2002-03-30  André Pönitz <poenitz@gmx.net>
11097
11098         * lyxfunc.C: mathed font changes
11099
11100 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * LaTeX.C:
11103         * importer.h:
11104         * importer.C:
11105         * lyx_sty.h:
11106         * lyx_sty.C:
11107         * lyxlex.C:
11108         * lyxrow.h:
11109         * lyxtext.h:
11110         * paragraph.h:
11111         * paragraph.C:
11112         * texrow.h:
11113         * texrow.C:
11114         * text.C:
11115         * trans_mgr.h: srcdocs, and some minor cleanups
11116
11117 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11118
11119         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11120         call getFont all the time)
11121
11122 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * switch from SigC signals to boost::signals
11125
11126 2002-05-29  André Pönitz <poenitz@gmx.net>
11127
11128         * paragraph_pimpl.C (getChar): don't call size() too often...
11129
11130 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * paragraph_pimpl.C (insertChar): do not try to update tables when
11133         appending (pos == size())
11134
11135         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11136         in order to reduce drastically the number of comparisons needed to
11137         parse a large document
11138
11139 2002-05-29  André Pönitz <poenitz@gmx.net>
11140
11141         * text.C:
11142         * text2.C:
11143         * lyxtextclass.C:
11144         * sp_pspell.h:
11145         * textclasslist.[Ch]:
11146         * sp_ispell.h: whitespace change
11147
11148 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11151         lyxaction directly now.
11152
11153 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11154
11155         * trans.C:
11156         * lyxfont.C:
11157         * lyxvc.C: remove unused headers
11158
11159 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * Makefile.am:
11162         * buffer.h:
11163         * undostack.h:
11164         * undostack.C:
11165         * undo_funcs.h:
11166         * undo_funcs.C: some cleanups. Use shared_ptr
11167           and a template for the undo stacks.
11168
11169 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * BufferView_pimpl.h:
11172         * BufferView_pimpl.C:
11173         * kbmap.h:
11174         * kbmap.C:
11175         * kbsequence.h:
11176         * kbsequence.C:
11177         * lyxfunc.h:
11178         * lyxfunc.C:
11179         * text2.C: use key_state/mouse_state
11180
11181 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11182
11183         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11184         and LSubstring
11185
11186         * chset.C: change include order
11187         (loadFile): use boost regex and get rid of LRegex and LSubstring
11188
11189         * Makefile.am (BOOST_LIBS): new variable
11190         (lyx_LDADD): use it
11191
11192         * LaTeX.C: change include order.
11193         (scanAuxFile): use boost regex and get rid of LRegex and
11194         LSubstring
11195         (deplog): ditto
11196
11197 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * ColorHandler.h:
11200         * ColorHandler.C:
11201         * FontInfo.h:
11202         * FontInfo.C: moved to frontends/xforms/
11203
11204         * FontLoader.h:
11205         * FontLoader.C: moved into frontends for GUIIzation
11206
11207         * Makefile.am:
11208         * lyx_gui.C:
11209         * lyxfont.C:
11210         * lyxfunc.C: changes from above
11211
11212 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * LColor.C: remove spurious X include
11215
11216         * BufferView_pimpl.C:
11217         * Makefile.am:
11218         * font.h:
11219         * font.C:
11220         * text.C:
11221         * text2.C: move font metrics to frontends/
11222
11223 2002-05-24  Juergen Vigna  <jug@sad.it>
11224
11225         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11226         setting the undo_cursor.
11227
11228         * ParagraphParameters.h: include local includes first.
11229
11230 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11231
11232         * BufferView_pimpl.C:
11233         * BufferView_pimpl.h:
11234         * Makefile.am:
11235         * WorkArea.h:
11236         * WorkArea.C:
11237         * screen.C: move WorkArea into frontends/
11238
11239         * lyxscreen.h:
11240         * screen.C:
11241         * text.C:
11242         * BufferView.C:
11243         * BufferView2.C: move LyXScreen into frontends/
11244
11245         * lyxlookup.h:
11246         * lyxlookup.C:
11247         * lyx_gui.C: move lyxlookup into frontends/xforms/
11248
11249 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * BufferView2.C:
11252         * BufferView_pimpl.C:
11253         * FontLoader.C:
11254         * LyXView.h:
11255         * LyXView.C:
11256         * Makefile.am:
11257         * WorkArea.C:
11258         * XFormsView.h:
11259         * XFormsView.C:
11260         * buffer.C:
11261         * bufferlist.C:
11262         * bufferview_funcs.C:
11263         * converter.C:
11264         * importer.C:
11265         * lyx_cb.C:
11266         * lyx_gui.C:
11267         * lyx_main.C:
11268         * lyx_find.C:
11269         * lyxfunc.C:
11270         * lyxvc.C:
11271         * minibuffer.C:
11272         * text.C:
11273         * text2.C:
11274         * trans.C:
11275         * vc-backend.C: move LyX/XFormsView into frontends/
11276
11277 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * Makefile.am:
11280         * PainterBase.C:
11281         * PainterBase.h:
11282         * Painter.C:
11283         * Painter.h:
11284         * WorkArea.C:
11285         * WorkArea.h:
11286         * screen.C:
11287         * tabular.C:
11288         * text.C:
11289         * text2.C: move Painter to frontends/
11290
11291 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * buffer.C: comment out some some code that depend upon lyx_format
11294         < 220
11295
11296         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11297         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11298
11299         * buffer.h (NO_COMPABILITY): turn off compability
11300
11301         * ColorHandler.C: include scoped_array.hpp
11302
11303         * font.C: Use more specific smart_ptr header.
11304         * Painter.C: ditto
11305         * gettext.C: ditto
11306         * ShareContainer.h: ditto
11307         * lyx_main.h: ditto
11308         * kbmap.h: ditto
11309         * FontInfo.h: ditto
11310         * BufferView_pimpl.h: ditto
11311         * ColorHandler.h: ditto
11312
11313         * kbmap.C (defkey): change call to shared_ptr::reset
11314
11315 2002-05-21  Juergen Vigna  <jug@sad.it>
11316
11317         * buffer.C (insertErtContents): fix to insert ert asis if it is
11318         non empty. Skip it completely if it contains only whitespaces.
11319
11320 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11321
11322         * BufferView_pimpl.C:
11323         * BufferView2.C: clear selection on paste (bug 393)
11324
11325 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * DepTable.C: include ctime
11328
11329 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11332
11333 2002-05-14  Juergen Vigna  <jug@sad.it>
11334
11335         * text.C (breakParagraph): fixed function to honor the keepempty
11336         layout in the right maner and also to permit the right breaking
11337         algorithm on empty or non empyt keepempty paragraphs.
11338
11339         * paragraph.C (breakParagraph): we have to check also if the par
11340         is really empty (!size()) for isempty otherwise we do the wrong
11341         paragraph break.
11342
11343 2002-05-10  Juergen Vigna  <jug@sad.it>
11344
11345         * buffer.[Ch] : The following are only changes to the ert
11346         compatibility read reading old LaTeX layout and font stuff and
11347         convert it to ERTInsets.
11348
11349         * buffer.h: added isErtInset().
11350
11351         * buffer.C (struct ErtComp): add a fromlayout bool to check
11352         if we're inside a LaTeX layout.
11353         (isErtInset): new helper function.
11354         (insertErtContents): look for other ert insets before this one
11355         and insert the contents there, so that we don't have subsequent
11356         ERT insets with nothing between them. This way we create only one
11357         inset with multiple paragraphs. Also check if we don't insert only
11358         spaces ' ' as they are ignored anyway afterwards in the .tex file
11359         so if we have only spaces we will ignore this latex part in the
11360         new file.
11361         (parseSingleLyXformat2Token \\layout): better compatibility when
11362         reading layout-latex stuff.
11363         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11364         language tag.
11365         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11366         stuff after reading the inset only get the information back from
11367         the stack.
11368
11369 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11372
11373         * LaTeXFeatures.C (getBabelOptions): New method.
11374
11375 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * BufferView_pimpl.C (Dispatch): work around missing argument for
11378         'layout'
11379
11380 2002-05-08  Juergen Vigna  <jug@sad.it>
11381
11382         * text.C (leftMargin): handle paragraph leftindent.
11383
11384         * paragraph.C (writeFile): write the new \\leftindent tag.
11385         (validate): handle leftindent code.
11386         (TeXEnvironment): handle paragraphleftindent code again.
11387
11388         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11389
11390         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11391         for paragrap_extra indent code and new token \\leftindent.
11392         (latexParagraphs): handle the leftindent as environment.
11393
11394         * ParameterStruct.h: added leftindent support.
11395
11396         * ParagraphParameters.C (leftIndent): added support functions for
11397         the paragraph left indent.
11398
11399         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11400         more appropriate.
11401
11402 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11405         inside insetERT.
11406
11407         * text.C (computeBidiTables): No bidi in insetERT.
11408
11409         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11410         in RTL documents.
11411
11412 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * version.C.in: pre 5
11415
11416 2002-05-02  José Matos  <jamatos@fep.up.pt>
11417         * buffer.C (makeDocBookFile): white space changes, add newline to
11418         command styles.
11419         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11420
11421         * tabular.C (docBook): fix typo.
11422
11423 2002-05-03  Juergen Vigna  <jug@sad.it>
11424
11425         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11426         change in LyXText as we can not be sure it was not freed.
11427         (drawOneRow): remove unused code.
11428
11429         * text.C (drawInset): redo the calculation of the need_break_row as
11430         it could have a row which was already freed.
11431         (draw): look at the return value of drawInset and return false if
11432         it also returned false.
11433         (paintRowText): look at the return value of draw and return false if
11434         it also returned false.
11435
11436         * lyxtext.h: added bool return type to drawInset() and draw() so that
11437         if we have a change in the row so that the rowbreak has to be redone
11438         we abort drawing as it will be called again.
11439
11440 2002-05-02  Juergen Vigna  <jug@sad.it>
11441
11442         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11443         a change in the maintext also if we're inside an inset.
11444         (Dispatch): set the cursor again after a break line and after the
11445         screen has been updated as it could be we're in a different row.
11446
11447         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11448         to set the cursor behind the pargraph with > size().
11449         (setCursor): check also for the same paragraph when checking where
11450         to put the cursor if we have a NFR inset.
11451
11452         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11453         parts of layout read further up as it still was in the wrong
11454         position.
11455
11456 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * screen.C (drawFromTo): change sine fullRebreak always return
11459         true.
11460
11461         * buffer.C (parseSingleLyXformat2Token): reindent some
11462
11463         * BufferView_pimpl.C (update): change since fullRebreak always
11464         return true.
11465         (Dispatch): git rid of the last hardcoded "Standard"s.
11466
11467 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * text2.[Ch] (fullRebreak): make it return void now that we always
11470         returned true.
11471
11472 2002-04-30  Juergen Vigna  <jug@sad.it>
11473
11474         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11475         ert compatibility check for "latex" layout.
11476
11477 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11478
11479         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11480         minipages: use col% instead of p%, and also use the current font.
11481         (makeLaTeXFile): Fix use babel condition.
11482         (parseSingleLyXformat2Token): Correct font when reading old floats.
11483
11484 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11485
11486         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11487         inserting list of floats.
11488
11489 2002-04-25  Herbert Voss  <voss@lyx.org>
11490
11491         * MenuBackend.C (expand): don't add the graphics extensions to the
11492         export menu
11493
11494 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11497         non-existing layout, do not complain if it was the default layout
11498         of the original class (bug #342)
11499
11500 2002-04-24  Juergen Vigna  <jug@sad.it>
11501
11502         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11503         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11504
11505 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11506
11507         * buffer.C (getBibkeyList): If using \bibliography, return the
11508         option field with the reference itself. Enables us to provide natbib
11509         support when using \bibliography.
11510
11511 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11512
11513         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11514
11515         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11516         natbib is provided by the LaTeX class.
11517
11518 2002-04-23  Juergen Vigna  <jug@sad.it>
11519
11520         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11521         Wakeup functions.
11522
11523         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11524
11525 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11528
11529         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11530         ensuremath around textordmasculine, textordfeminine and
11531         textdegree.
11532
11533 2002-04-19  Juergen Vigna  <jug@sad.it>
11534
11535         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11536         reinitializing the buffer otherwise row-dimensions may be wrong.
11537         (update): reset also the selection cursors if they do exits otherwise
11538         their x/y positions may be wrong.
11539
11540         * text2.C (cursorDown): don't enter the inset if we came from a row
11541         above and are one row over the inset.
11542
11543         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11544         really leaving an inset.
11545
11546 2002-04-18  Juergen Vigna  <jug@sad.it>
11547
11548         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11549         of the selected paragraph does not have the selected layout also if
11550         the last one had!
11551
11552         * text2.C (setLayout): fixed bug which did not change last selected
11553         paragraph.
11554
11555         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11556         changed the read and substituted \\end_float with \\end_inset!
11557
11558         * BufferView_pimpl.C (cursorPrevious):
11559         (cursorNext): fixed to make it work with rows heigher than the work
11560         area without moving the cursor only the draw of the row.
11561         (workAreaMotionNotify): fix jumping over high rows.
11562
11563 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11566         Ressler.
11567
11568 2002-04-16  Juergen Vigna  <jug@sad.it>
11569
11570         * text2.C (setCursor): set also the irow().
11571         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11572         (cursorUp):
11573         (cursorDown): support for locking an inset if the x_fix value goes
11574         inside it. That way I can transverse insets too with cursor up/down.
11575
11576         * lyxrow.h: added irow helper function same as other (i) functions.
11577
11578         * BufferView_pimpl.C (cursorPrevious):
11579         (cursorNext): fixed for insets!
11580
11581 2002-04-15  Juergen Vigna  <jug@sad.it>
11582
11583         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11584         position otherwise it is wrong in some cases.
11585
11586         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11587         inside the inset before the call.
11588
11589 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11590
11591         * buffer.[Ch] (getBibkeyList): make it const.
11592
11593 2002-04-12  Juergen Vigna  <jug@sad.it>
11594
11595         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11596
11597         * text2.C (getCursorX): new helper function
11598         (setCursor): compute also ix_
11599         (setCursorFromCoordinates): set also ix.
11600
11601         * lyxcursor.h: added ix_ and helper functions.
11602
11603         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11604
11605         * buffer.C (insertStringAsLines): dont break paragraph if the this
11606         paragraph is inside an inset which does not permit it!
11607
11608         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11609         also with no chars on this paragraph.
11610         (paintRowText): only paint stuff if it's inside the workarea!
11611
11612         * paragraph.C (breakParagraph): honor keepempty flag and break the
11613         paragraph always below not above.
11614
11615         * BufferView2.C (unlockInset): update the paragraph layout on inset
11616         unlock as we changed paragraph in such a case.
11617
11618         * lyxfind.C (LyXFind): clear the former selection if not found!
11619
11620         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11621         again called in insertChar().
11622
11623         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11624         an inset which uses the whole row!
11625         (rightMargin): ditto.
11626         (insertChar): force a rebreak if we inserted an inset!
11627
11628 2002-03-28  Herbert Voss  <voss@lyx.org>
11629
11630         * lyxlength.[Ch]: add inBP() to get the right PS-point
11631         units (BigPoint). With inPixels we have rounding errors
11632
11633 2002-04-11  Juergen Vigna  <jug@sad.it>
11634
11635         * text2.C (setCursorFromCoordinates): set iy to the right value.
11636         (setCursor): add check if row->previous exists!
11637
11638         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11639         an old float_type as this was the case in the old code!
11640
11641         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11642
11643         * BufferView2.C (showLockedInsetCursor): use iy
11644         (fitLockedInsetCursor): ditto
11645
11646         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11647         locked insets as there we have the right value now.
11648
11649         * lyxcursor.C: added iy_ variable and iy functions to set to the
11650         baseline of cursor-y of the locked inset.
11651
11652         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11653         (setCursor): fixed for insets which need a full row.
11654
11655         * text.C (rowLastPrintable): don't ignore the last space when before
11656         an inset which needs a full row.
11657         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11658         as last character of a row when before a inset which needs a full row.
11659
11660 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * version.C.in: update date
11663
11664         * text2.C (fullRebreak): try to always return true and see what
11665         happens...
11666
11667 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * MenuBackend.C (expand): use Floating::listName
11670
11671         * FloatList.C (FloatList): add listName argument to the built-in
11672         floats
11673
11674         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11675         text associated with the float.
11676
11677 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11678
11679         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11680
11681 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * ShareContainer.h: add a couple of missing typenames.
11684
11685 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11686
11687         * lyxrc.C (getDescription): use _() correctly rather than N_().
11688
11689 2002-03-28  Herbert Voss  <voss@lyx.org>
11690
11691         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11692         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11693
11694 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11695
11696         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11697         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11698
11699 2002-03-29  Juergen Vigna  <jug@sad.it>
11700
11701         * lyxfunc.C (dispatch): add a missing fitCursor call.
11702
11703         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11704         it was scrolled by a cursor move, so return the bool status.
11705
11706         * BufferView.C (fitCursor): return the bool flag also to the outside
11707         world as this is needed.
11708
11709         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11710
11711         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11712         call the edit() as it is not needed (and wrong) IMO.
11713         (workAreaButtonPress): set the screen_first variable before evt.
11714         unlock the inset as this may change screen_first and then we have
11715         a wrong y position for the click!
11716
11717 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * MenuBackend.C (expand): another translation that I missed
11720
11721 2002-03-28  Juergen Vigna  <jug@sad.it>
11722
11723         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11724
11725         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11726
11727 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11730
11731         * MenuBackend.C (expand): fix export/view/update when there is no
11732         document open.
11733
11734 2002-03-27  Herbert Voss  <voss@lyx.org>
11735
11736         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11737         and text%
11738
11739 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * bufferview_funcs.C (currentState): only show paragraph number
11742         for is DEVEL_VERSION is set.
11743
11744         * lyxfunc.C (dispatch): put warning in INFO channel
11745
11746         * MenuBackend.C (expand): translate the name of floats
11747
11748         * FloatList.C (FloatList): mark the float names for translation
11749
11750         * converter.C (convert): use LibScriptSearch
11751
11752 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11753
11754         * MenuBackend.C (defaults): fix default menu (we might as well get
11755         rid of it...)
11756
11757 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11758
11759         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11760         directory.
11761
11762 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * lyxvc.C: reorder includes.
11765
11766 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11769           properly
11770
11771 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * CutAndPaste.C: change layouts earlier on paste
11774           to avoid crashing when calling getFont()
11775
11776 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11779         irritating #error.
11780
11781 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * WorkArea.C: remove 'Pending' debug message.
11784
11785         * most files: ws cleanup
11786
11787         * buffer.[Ch]: ws changes
11788
11789         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11790
11791 2002-03-21  Juergen Vigna  <jug@sad.it>
11792
11793         * tabular.C (SetMultiColumn): collapse also the contents of the
11794         cells and set the last border right. Added a Buffer const * param.
11795
11796 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11799         linking or not.
11800
11801 2002-03-19  Juergen Vigna  <jug@sad.it>
11802
11803         * text2.C (clearSelection): reset also xsel_cache.
11804
11805         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11806         where it needs to be called (John tells us to do so too :)
11807         (selectionLost): reset sel_cache.
11808
11809         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11810
11811 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * text2.C (setCursorIntern): put debuging code in INSETS channel
11814
11815 2002-03-19  André Pönitz <poenitz@gmx.net>
11816
11817         * lyxfunc.C: tiny whitespace change
11818
11819 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * ToolbarDefaults.C (init):
11822         * LyXAction.C (init):
11823         * commandtags.h:
11824         * BufferView_pimpl.C (Dispatch):
11825         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11826
11827 2002-03-19  Allan Rae  <rae@lyx.org>
11828
11829         * exporter.C (Export): removeAutoInsets before doing anything else.
11830         While I've just introduced a dependency on BufferView this really is
11831         the best place to clean the buffer otherwise you need to cleanup in
11832         a dozen places before calling export or cleanup in a dozen functions
11833         that export calls.
11834
11835         * converter.C (runLaTeX):
11836         (scanLog): Better handling of removeAutoInsets and screen updates.
11837
11838         * lyxfunc.C (dispatch): small whitespace changes
11839
11840 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * WorkArea.C (C_WorkAreaEvent): return a value.
11843         (event_cb): return 1 if we handled the event, 0 otherwise.
11844
11845         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11846
11847 2002-03-18  Juergen Vigna  <jug@sad.it>
11848
11849         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11850         (GetAdditionalWidth): ditto.
11851         (RightLine): ditto.
11852         (LeftLine): ditto.
11853
11854         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11855         inset if we're there actually (probably not used right now but this
11856         is the direction to go for unifying code).
11857         (paste): disable code to clear the selection.
11858
11859         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11860         inside an InsetText and move the check further up as it is in the
11861         wrong place.
11862
11863         * text2.C (pasteSelection): set a selection over the pasted text.
11864
11865 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11866
11867         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11868         and libgraphics to build on Cygwin.
11869
11870 2002-03-15  Juergen Vigna  <jug@sad.it>
11871
11872         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11873         inserting an Inset into the paragraph. I know this is not the best
11874         fix but we already use current_view in CutAndPaste so we will remove
11875         all of it's using at the same time.
11876
11877         * buffer.C (sgmlError): deactivated function till it is rewritten in
11878         the right mode, now it can create problems.
11879
11880         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11881         before accessing it.
11882
11883 2002-03-14  Juergen Vigna  <jug@sad.it>
11884
11885         * undo_funcs.C (textHandleUndo): do the right thing when updating
11886         the inset after the undo/redo.
11887
11888         * text2.C (setCursor): just some testcode for #44 not ready yet.
11889
11890         * undo_funcs.C (textHandleUndo): set the next() and previous()
11891         pointers of the paragraph to 0 before deleting otherwise we have
11892         problems with the Paragraph::[destructor].
11893
11894         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11895         on a paragraph insertion.
11896
11897 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * buffer.C (asciiParagraph): use += operator for char append to
11900         string.
11901
11902         * paragraph.C (getFontSettings): compare >= not just >
11903         (highestFontInRange): ditto
11904         (setFont): ditto
11905
11906 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * paragraph.C: change several algorithm to be more appripriate for
11909         the problem domain. This is lookip in FontList and in the InsetList.
11910
11911 2002-03-13  André Pönitz <poenitz@gmx.net>
11912
11913         * commandtags.h:
11914         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11915
11916 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * commandtags.h:
11919         * LyXAction.C:
11920         * lyxfunc.C:
11921         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11922
11923 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * Painter.C (display): anon helper function, adjust code for this
11926         change.
11927         (pixmap): remove function.
11928
11929         * Painter.h: remove private display variable.
11930
11931         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11932
11933 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11934
11935         * WorkArea.[Ch]: remove figinset_canvas cruft.
11936
11937 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * lyxtextclass.C (operator): add one item cache optimization.
11940
11941         * bufferlist.h: doxy changes
11942
11943         * bufferlist.C: ws changes
11944
11945         * DepTable.[Ch] (ext_exist): place const in the right spot.
11946
11947         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11948         call resizeInsets.
11949         (workAreaExpose): call resizeInsets when the with BufferView changes.
11950         (Dispatch): adjust for protectedBlank removal
11951         (specialChar): call updateInset if the insert went ok.
11952
11953         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11954         specialChar instead.
11955
11956         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11957
11958         * BufferView.h: doxy change
11959
11960         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11961
11962         * lyxtextclass.C (operator[]): remove non-const version
11963         (defaultLayout): remove non-const version
11964
11965 2002-03-12  Juergen Vigna  <jug@sad.it>
11966
11967         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11968         did resize the LyXText too.
11969
11970         * buffer.C (readLyXformat2): set layout information on newly allocated
11971         paragraphs.
11972
11973         * tabular.C (OldFormatRead): set layout information on the paragraph.
11974
11975 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11976
11977         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11978
11979 2002-03-11  Juergen Vigna  <jug@sad.it>
11980
11981         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11982         plainly wrong.
11983         (resizeCurrentBuffer): force also the insets to resize themselfes.
11984         (moveCursorUpdate): fixed up for InsetText.
11985
11986 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11987
11988         * commandtags.h:
11989         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11990         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11991         value of Dialogs::tooltipsEnabled().
11992         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11993
11994 2002-03-08  Juergen Vigna  <jug@sad.it>
11995
11996         * BufferView_pimpl.C (updateInset): update inset inside inset also
11997         if it isn't inside theLockingInset().
11998
11999 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * buffer.C (asciiParagraph): redo some of the word and line length
12002         handling.
12003         (getLists): look for Caption instead of caption.
12004
12005 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * buffer.C (Buffer): initialize niceFile to true
12008         (makeLaTeXFile):
12009         (makeLinuxDocFile):
12010         (makeDocBookFile): make sure niceFile is true on exit
12011
12012 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12013
12014         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12015
12016 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12017
12018         * LyXSendto.C: remove.
12019         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12020         * lyx_gui.C: remove now-redundant comment.
12021         * ColorHandler.h: remove forward declaration of class WorkArea.
12022         * lyxfunc.C: remove #include "WorkArea.h".
12023
12024 2002-03-07  Juergen Vigna  <jug@sad.it>
12025
12026         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12027         got moved away with the DEPM and also set the inset_owner always
12028         right which before could have been omitted.
12029
12030 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12033         wanted layout is not found.
12034
12035 2002-03-07  Juergen Vigna  <jug@sad.it>
12036
12037         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12038
12039 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * paragraph.C (breakParagraph): use default layout not layout of
12042         prev paragraph.
12043         (Paragraph): clear ParagraphParameters.
12044
12045 2002-03-06  Juergen Vigna  <jug@sad.it>
12046
12047         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12048         otherwise it would not be a valid lenght. Fixed a special case in
12049         the minipage compatibility read where we end the document with a
12050         minipage.
12051
12052         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12053         was set as it could be 0 for InsetTexts first entry.
12054
12055 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * paragraph.C (writeFile): if layout is empty write out
12058         defaultLayoutName().
12059
12060         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12061         file without named layout we set layout to defaultLayoutName().
12062
12063 2002-03-06  Juergen Vigna  <jug@sad.it>
12064
12065         * CutAndPaste.C (copySelection): set layout for new paragraph.
12066
12067         * text.C (prepareToPrint): leave ERT inset left aligned
12068         (leftMargin): don't indent paragraphs inside ERT insets
12069
12070 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * paragraph.C (breakParagraph): dont call clear do the work manually
12073
12074         * paragraph.[Ch] (clear): remove function
12075
12076 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * paragraph.C (Paragraph): dont call clear, the work has already
12079         been done.
12080
12081         * lyxtextclass.C (operator): assert if n is empty
12082
12083         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12084         work manually instead.
12085
12086 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * BufferView_pimpl.C: protect selectionLost against text == 0
12089
12090 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12091
12092         * text.C (breakParagraph): fix a setting layout to '0' problem.
12093
12094 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12095
12096         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12097         final location of file, for the included files, and graphics.
12098
12099 2002-03-05  Juergen Vigna  <jug@sad.it>
12100
12101         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12102
12103 2002-03-04  Juergen Vigna  <jug@sad.it>
12104
12105         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12106
12107         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12108         last column of multicolumn cells.
12109         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12110
12111 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12112
12113         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12114         file if it doesn't go to a temporary file.
12115
12116         * buffer.C (sgmlOpenTag):
12117         (sgmlCloseTag):  remove extra newline insertion.
12118
12119 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * text.C (getRowNearY): comment out debug msg
12122
12123 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12124
12125         * text2.C: first -> first_y
12126
12127         * text.C (getRowNearY): add some attemts at a possible
12128         optimization, not working.
12129
12130         * tabular.[Ch]: add BufferParams to several function so that newly
12131         created paragraph can be initialized to he default layotu for the
12132         buffers textclass.
12133
12134         * tabular-old.C (ReadOld): add buf->params to call of Init
12135
12136         * screen.C: rename text->first to text->first_y
12137
12138         * paragraph.C (breakParagraph): always set layout in the broken
12139         paragraph
12140
12141         * lyxtextclass.C (Read): remove lowercase
12142         (hasLayout): ditto
12143         (operator): ditto
12144         (delete_layout): ditto
12145
12146         * lyxtext.h: rename first -> first_y
12147
12148         * lyxlayout.C (Read): remove lowercase
12149         (name): ditto
12150         (setName): ditto
12151         (obsoleted_by): ditto
12152
12153         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12154
12155         * buffer.C (insertErtContents): add params are to InsetERT
12156         (parseSingleLyXformat2Token): add code to check if a paragraphs
12157         layout really exist.
12158         (parseSingleLyXformat2Token): add params to several inset
12159         constructors
12160         (asciiParagraph): remove lowercase, do the layout comparisons with
12161         no_case
12162
12163         * BufferView_pimpl.C (cursorNext): first -> first_y
12164         (resizeCurrentBuffer): first -> first_y
12165         (updateScrollbar): first -> first_y
12166         (scrollCB): first -> first_y
12167         (workAreaMotionNotify): first -> first_y
12168         (workAreaButtonPress): first -> first_y
12169         (checkInsetHit): first -> first_y
12170         (cursorPrevious): first -> first_y
12171         (cursorNext): first -> first_y
12172         (Dispatch): add buffer_->params to severl inset contructors
12173
12174 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * lyxlayout.C (Read): remove some debug info that I forgot.
12177
12178         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12179         clean up the code slightly.
12180         (makeLinuxDocFile): ditto
12181         (makeDocBookFile): ditto
12182
12183         * text2.C: layout as string
12184
12185         * text.C: layout as string
12186
12187         * paragraph_pimpl.C: layout as string
12188
12189         * paragraph.[Ch]: layout as string
12190
12191         * lyxtextclasslist.[Ch]: layout as string
12192
12193         * lyxtextclass.[Ch]: layout as string
12194
12195         * lyxtext.h: layout as string
12196
12197         * lyxlayout.[Ch]: layout as string
12198
12199         * lyx_cb.C: layout as string
12200
12201         * bufferview_funcs.C: layout as string
12202
12203         * bufferparams.C: layout as string
12204
12205         * buffer.C: layout as string
12206
12207         * LyXView.[Ch]: layout as string
12208
12209         * LaTeXFeatures.[Ch]: layout as string
12210
12211         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12212
12213         * BufferView_pimpl.C: change current_layout to string, remove
12214         lyx::layout_type.
12215         (Dispatch):
12216         (smartQuote):
12217         (insertInset):
12218         (workAreaButtonRelease): layout as string
12219
12220         * BufferView2.C (unlockInset): adjust
12221
12222         * vspace.C (asLatexCommand): use an explict temp variable.
12223
12224 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * Makefile.am: use FRONTEND_*
12227
12228 2002-03-01  Juergen Vigna  <jug@sad.it>
12229
12230         * tabular.C (SetWidthOfMulticolCell): changed to something better
12231         I hope but still work in progress.
12232         (recalculateMulticolumnsOfColumn): renamed function from
12233         recalculateMulticolCells as it is more appropriate now.
12234         (SetWidthOfCell): calculate multicols better.
12235
12236 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12237
12238         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12239
12240         * lyxfunc.C (processKeySym): print sequence also if it is
12241         `deleted' (complete)
12242
12243         * kbsequence.C (print): print sequence even if it is deleted
12244         (complete would be a better word, actually).
12245
12246         * lyxfunc.C (dispatch): print complete options after a prefix key
12247
12248         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12249
12250 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12251
12252         * text2.C (setCharFont): eliminate setCharFont code duplication.
12253
12254 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12255
12256         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12257         LFUN_TABULAR_FEATURE (bug #177)
12258
12259 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12260
12261         * Makefile.am: remove figure.h
12262
12263 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * Bufferview_pimpl.C:
12266         * CutAndPasteC:
12267         * LaTeX.C:
12268         * LyXSendto.C:
12269         * buffer.C:
12270         * bufferlist.C:
12271         * converter.C:
12272         * language.C:
12273         * lyxfunc.C:
12274         * lyxvc.C:
12275         * paragraph.C:
12276         * text.C:
12277         * text2.C: remove #include "lyx_gui_misc.h".
12278
12279         * LaTeX.C: added #include <cstdio>
12280
12281 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12284         that the paragraph following this one can have.
12285
12286         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12287
12288         * vspace.C (asLatexCommand): fix bogus gcc warning
12289
12290         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12291
12292 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12293
12294         * text2.C (setLayout): get rid of redundant code
12295
12296 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12297
12298         * text2.C (incDepth): make sure depth cannot be increased beyond
12299         reasonable values.
12300
12301 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12304         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12305
12306         * PainterBase.h (image):
12307         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12308         a LyXImage const *.
12309
12310 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * BufferView.C:
12313         * BufferView.h:
12314         * BufferView_pimpl.C:
12315         * BufferView_pimpl.h:
12316         * LaTeXFeatures.C:
12317         * LyXAction.C:
12318         * LyXView.C:
12319         * Makefile.am:
12320         * UpdateList.h:
12321         * UpdateList.C:
12322         * buffer.C:
12323         * figure.h:
12324         * figureForm.C:
12325         * figureForm.h:
12326         * figure_form.C:
12327         * figure_form.h:
12328         * lyx_cb.C:
12329         * lyx_gui.C:
12330         * lyx_gui_misc.C:
12331         * lyxfunc.C:
12332         * sp_base.h:
12333         * sp_ispell.h:
12334         * sp_pspell.h:
12335         * sp_spell.C: remove fig inset, and the crap house of
12336           cards that follows it
12337
12338 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * Makefile.am:
12341         * lyxserver.C:
12342         * os2_defines.h:
12343         * os2_errortable.h:
12344         * nt_defines.h: move .h into support/
12345
12346         * vms_defines.h: remove
12347
12348         * WorkArea.C: add space in debug output
12349
12350         * text2.C:
12351         * paragraph.C:
12352         * buffer.C: add WITH_WARNINGS
12353
12354         * vc-backend.h:
12355         * vc-backend.C:
12356         * bufferlist.C: s/retrive/retrieve/, add docs
12357
12358         * vspace.h:
12359         * vspace.C:
12360         * kbmap.h:
12361         * lyxlength.h:
12362         * lyxgluelength.h:
12363         * length_common.h:
12364         * chset.h:
12365         * chset.C: add docs
12366
12367         * lyxgui.C: add ID to X error handler
12368
12369         * lyxtestclass.c: fix typo
12370
12371 2002-02-26  Juergen Vigna  <jug@sad.it>
12372
12373         * tabular_funcs.C (write_attribute): changed so that some default
12374         attributes are not written at all.
12375         (getTokenValue): set default values before trying to read the
12376         value so we have the return value always set as default if we don't
12377         find the token we search for.
12378
12379         * tabular.C (Write): write bools as bools not as strings!
12380
12381 2002-02-22  Juergen Vigna  <jug@sad.it>
12382
12383         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12384         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12385
12386         * text.C (leftMargin): don't add an indent for paragraphs inside
12387         tabular cells (fix #208).
12388
12389 2002-02-21  José Matos  <jamatos@fep.up.pt>
12390
12391         * tabular.C (docBook): fixed support for long tables.
12392
12393 2002-02-20  Juergen Vigna  <jug@sad.it>
12394
12395         * text2.C (getFont): get the drawing font of the Inset if this
12396         paragraph is inside an inset (only important for InsetERT for now).
12397
12398         * buffer.C (insertErtContents): use new lanugage params in ERT
12399         constructor.
12400
12401         * CutAndPaste.C: commenting out seemingly uneeded code.
12402
12403 2002-02-19  Allan Rae  <rae@lyx.org>
12404
12405         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12406         Iterators might be simple to use but they also get invalidated.
12407         (removeAutoInsets): renamed saved cursor tracking variables and added
12408         some comments to clarify what everything does.
12409
12410 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12411
12412         * Chktex.C:
12413         * LaTeX.C:
12414         * LyXSendto.C:
12415         * converter.C:
12416         * lyx_cb.C:
12417         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12418         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12419
12420         * lyxfunc.C:
12421         * vc-backend.h: remove #include "support/syscall.h"
12422
12423         * LaTeX.C:
12424         * LyXSendto.C:
12425         * converter.C: rearrange #includes in Lars' approved fashion.
12426
12427         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12428         forward declare class Timeout in the header file.
12429
12430         * XFormsView.C: changes due to the above.
12431
12432         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12433         similar to LyXView.
12434
12435         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12436         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12437
12438 2002-02-18  José Matos  <jamatos@fep.up.pt>
12439
12440         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12441         insets contents.
12442
12443 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12444
12445         * a lot of small ws changes
12446         * add a lot of using std::XXX
12447         * use std construcs some places where approp.
12448         * use some exisint stuff from lyxfunctional where approp.
12449         * Make file changes to use partial linking (lets test this now...)
12450
12451 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12452
12453         * Chktex.C:
12454         * buffer.C:
12455         remove #include "support/syscontr.h" as it's redundant. Always has been.
12456
12457         * Chktex.C:
12458         * LaTeX.C:
12459         * LyXSendto.C:
12460         * converter.C:
12461         * lyx_cb.C:
12462         * vc-backend.C:
12463         change Systemcalls::System to Systemcalls::Wait and
12464         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12465         No change of functionality, just reflects the stripped down Systemcalls
12466         class.
12467
12468 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * debug.[Ch]: add a GRAPHICS type to the enum.
12471
12472 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12475
12476         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12477         there is an inset.
12478
12479 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12482         match the changes below.
12483
12484         * text2.C (toggleInset): if there is not editable inset at cursor
12485         position, try to see if cursor is _inside_ a collapsable inset
12486         and close it.
12487
12488 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12491         document menu has a nice checkbox
12492
12493 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12494
12495         * lyxlength.C (asLatexString): change PW to output as percent of
12496         \textwidth.
12497
12498         * lengthcommon.C: change '%' to 't%'
12499
12500         * lyxfunc.C (dispatch): a few comments from Martin
12501
12502 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * WorkArea.h:
12505         * WorkArea.C:
12506         * BufferView_pimpl.h:
12507         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12508           the X selection.
12509
12510 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12511
12512         * vspace.C (inPixels): fix compiler warning
12513
12514 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * lyxfunc.C (getStatus): fix status message for disabled commands.
12517
12518 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * BufferView_pimpl.C: fix crash on close buffer
12521         during selection (#227)
12522
12523 2002-01-27  Herbert Voss  <voss@lyx.org>
12524
12525         * buffer.C: link old Figure to new graphic inset
12526
12527 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12528
12529         * FontLoader.C (getFontinfo): Change the latex font names in order
12530         to match the names of type1inst.
12531
12532 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12535
12536         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12537         (extchanged): ditto
12538         (ext_exist): ditto
12539         (remove_files_with_extension): ditto
12540         (remove_file): ditto
12541         (write): ditto
12542
12543         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12544         document is smaller than the work area height. Do not initialize
12545         static variables to 0.
12546
12547 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12548
12549         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12550
12551         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12552         LFUN_LAYOUT_PARAGRAPHS.
12553
12554         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12555         tabular. It is possible to provide a possible cell, which will
12556         typically be the actcell from the corresponding insettabular
12557
12558         * lyxfunc.C (getStatus): small cleanup; disable
12559         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12560         true
12561
12562 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12563
12564         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12565
12566         * paragraph.C (startTeXParParams):
12567         (endTeXParParams): new methods. The LaTeX code to
12568         start/end paragraph formatting
12569         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12570         empty (fixes bug #200)
12571
12572         * vspace.C (inPixels): adapt to the change below
12573         (inPixels): [later] more cleanups (remove unused variables)
12574
12575         * lyxlength.C (inPixels): change to use a width and a height as
12576         parameter.
12577
12578 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12581         Replaced with \paperwidth
12582
12583         * DepTable.C (insert): add std:: qualifier
12584
12585 2002-01-18  Allan Rae  <rae@lyx.org>
12586
12587         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12588         updated also?
12589
12590         * text.C (drawInset): Turned out I didn't know enough about how
12591         rebreaking worked.  This fixes most of the redraw problems.  I see
12592         an occasional cursor trail when a line is broken now and the cursor
12593         placement can seem out by a few pixels also after a rebreak.
12594
12595 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12596
12597         * buffer.C (parseSingleLyXformat2Token): update because minipage
12598         width is now a LyXLength
12599
12600         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12601
12602         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12603         math insets
12604
12605 2002-01-17  Juergen Vigna  <jug@sad.it>
12606
12607         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12608
12609         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12610         is set correctly and the inset is updated correctly.
12611
12612 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12615         the beginning of the loop.
12616
12617 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * lyxrc.C: improve help for use_scalable_fonts
12620
12621 2002-01-17  Allan Rae  <rae@lyx.org>
12622
12623         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12624
12625 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12628         make sure to set their inset_owner to the right value (bug #171)
12629
12630 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12631
12632         * DepTable.h
12633         * DepTable.C: Implement mtime checking to reduce time spent doing
12634         CRCs.
12635
12636 2002-01-16  Juergen Vigna  <jug@sad.it>
12637
12638         * tabular.C (GetAdditionalHeight): one of error fixed.
12639
12640         * lyxrc.C (output): small fix in writing use_pspell.
12641
12642 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * sp_base.h: #include LString.h
12645
12646 2002-01-16  Allan Rae  <rae@lyx.org>
12647
12648         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12649         Can someone check this please?
12650
12651         * text.C (drawInset): It was possible that p.row would be removed by
12652         breakAgainOneRow upsetting a few other settings.  There may be another
12653         small tweak possible by setting need_break_row = 0 when p.row has been
12654         removed but I don't know enough about the logic here.
12655
12656 2002-01-15  Allan Rae  <rae@lyx.org>
12657
12658         * text.C (insertChar): removed conditional truism.
12659
12660         * BufferView2.C (removeAutoInsets): More tweaks.
12661         cur_par_prev could be a stray pointer.  Check for trailing empty line
12662         in case last line was cur_par and only had an error inset on it.
12663
12664 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12667         absolute
12668
12669         * vc-backend.C (most methods):
12670         * exporter.C (Export):
12671         * converter.C (convert):
12672         (runLaTeX):
12673         * LyXSendto.C (SendtoApplyCB):
12674         * lyxfunc.C (dispatch):
12675         (menuNew):
12676         (open):
12677         (doImport):
12678         * lyx_cb.C (AutoSave):
12679         (InsertAsciiFile):
12680         * BufferView_pimpl.C (MenuInsertLyXFile):
12681         * buffer.C (runChktex): use Buffer::filePath().
12682
12683         * buffer.h: rename filename to filename_; rename filepath to
12684         filepath_ and make it private
12685         (filePath): new method
12686
12687         * buffer.C (writeFile): use fileName()
12688         (getLatexName):
12689
12690         * lyx_main.C (init): fix starting  of LyX when the binary is a
12691         link from so,ewhere else.
12692
12693         * minibuffer.C: include <cctype> for isprint
12694
12695 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12696
12697         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12698         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12699         name clash with InsetCollapsable's width function.
12700
12701 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * lastfiles.C: include <iterator>
12704
12705 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12706
12707         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12708         std::count.
12709
12710         * buffer.C (makeLaTeXFile): ditto.
12711         Also make loop operation more transparent.
12712
12713 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * ToolbarDefaults.C: remove trailing comma closing namespace.
12716
12717         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12718
12719         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12720         as in WorkArea.
12721
12722         * trans.C (Load): comment out unused variable, allowed.
12723
12724 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12725
12726         * minibuffer.[Ch] (append_char): new method to recieve input from the
12727         drop-down completion browser. If a key was pressed, then recieve this
12728         char and append it to the existing string.
12729         (peek_event): modify the positioning data passed to the completion
12730         browser so that it can be placed above the minibuffer rather than below.
12731 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * LyXAction.C (init): alloe error-next for readonly documents.
12734
12735         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12736         count.
12737
12738 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * bufferlist.C (readFile): create the buffer _after_ checking that
12741         the file exists.
12742
12743         * lyxfunc.C (verboseDispatch): fix handling of arguments
12744
12745         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12746
12747         * lyxrc.C: use string::erase() instead of initializing to "".
12748
12749
12750 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * BufferView_pimpl.h:
12753         * BufferView_pimpl.C:
12754         * WorkArea.h:
12755         * WorkArea.C:
12756         * text2.C: tell X when we have made a selection for copying
12757
12758 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * BufferView_pimpl.C (MenuInsertLyXFile):
12761         * lyxfunc.C (menuNew):
12762         (open):
12763         (doImport): add shortcuts to directory buttons
12764
12765         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12766         open a float)
12767
12768         * lyxfunc.C (setStatusMessage):
12769         (getStatusMessage): new methods
12770         (getStatus):use setStatusMessage instead of setErrorMessage
12771         (dispatch): when function is disabled, set error message here
12772         [instead of in getStatus previously]
12773
12774         * BufferView_pimpl.C (workAreaButtonRelease): update
12775         toolbar/menubar here too.
12776
12777 2002-01-13  Allan Rae  <rae@lyx.org>
12778
12779         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12780         Now seems indestructible.  Remaining task is to audit all other
12781         code affected by deleteEmptyParagraphMechanism.  One small quirk
12782         left is that an empty document with an error in the preamble can
12783         be made to report an error but no error box appears.  I don't know
12784         where it goes.
12785         (removeAutoInsets): Improved comments.
12786
12787 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * Thesaurus.h:
12790         * Thesaurus.C: update for Aiksaurus 0.14
12791
12792 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * text2.C (firstParagraph): removed member function, all uses
12795         replaces with ownerParagraph
12796         (redoParagraphs): here
12797         (updateInset): here
12798         (toggleAppendix): here
12799         * BufferView2.C (insertErrors): here
12800         (setCursorFromRow): here
12801
12802 2002-01-13  Allan Rae  <rae@lyx.org>
12803
12804         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12805         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12806         There is still a way to segfault this although you may have to do this
12807         multiple times: Have an InsetERT with an unknown command in it.
12808         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12809         <down-arrow>, <Enter> again, View->DVI, BANG!
12810
12811         * text2.C (setCursor):
12812         (deleteEmptyParagraphMechanism):
12813         * lyxtext.h (setCursor):
12814         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12815         Making use of the return value may help fix other bugs.
12816
12817 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12820
12821         * LyXView.C (updateMenubar): call MenuBar::update here
12822         (updateToolbar): but not here
12823         (showState): do not update toolbar/menubar
12824
12825         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12826         should need to care about that.
12827
12828         * lyxfunc.C (verboseDispatch): simplify a bit
12829         (getStatus): have a version which takes a pseudoaction, and
12830         another which requires a (kb_action,string).
12831
12832         * LyXAction.C (retrieveActionArg): make it work also when action
12833         is not a pseudo-action.
12834         (getActionName): simplify a bit
12835         (helpText):
12836
12837 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * lyxfunc.C (verboseDispatch): new families of methods with
12840         several ways to specify a command and a bool to indicate whether
12841         the command name and shortcut should be displayed in minibuffer
12842         (eventually, we could extend that to a finer bitmask like
12843         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12844         (dispatch): the pristine dispatch command which just, well,
12845         dispatchs! Note it still sets its result to minibuffer; I'm not
12846         sure we want that.
12847
12848         * lyxfunc.h: remove setHintMessage
12849
12850         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12851
12852 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12853
12854         * BufferView_pimpl.C (specialChar): delete new inset if we have
12855         not been able to insert it.
12856
12857         * kbmap.C: revert to using int instead of kb_action, since all we
12858         are dealing with is pseudo-actions.
12859
12860         * LyXAction.C (searchActionArg): change to return int instead of
12861         kb_action, since the result is a pseudoaction.
12862
12863 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12864
12865         * buffer.C (insertErtContents): Fix (partially) the font bug.
12866
12867 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12870         as the other one is broken on my machine!
12871
12872 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12873
12874         * commandtags.h:
12875         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12876
12877 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12880         reflect their actual use. Provide compatibility code for older lyxrc
12881         files.
12882
12883         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12884         FL_NORMAL_STYLE.
12885         change names of popup font variables in line with the changes to lyxrc.C
12886
12887 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * buffer.C (asciiParagraph): avoid outputing a word twice after
12890         an inset.
12891
12892         * lyxrc.C (getDescription): document that document_path and
12893         template_path can be empty.
12894
12895 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * LaTeXFeatures.C (getMacros):
12898         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12899
12900         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12901
12902         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12903         getPackages.
12904         (getPackages): rename feature "floats" to "float". Use an array to
12905         iterate over 'simple' features (i.e. just a \usepackage). Add
12906         handling of "amsmath" (renamed from "amsstyle").
12907
12908 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12909
12910         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12911         features list.
12912
12913 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12916         FuncStaus::FuncStatus & FuncStaus::some_method().
12917
12918 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12919
12920         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12921         of the func_satus stuff. Edited and massaged in various ways by
12922         JMarc.
12923
12924         * lyxfunc.C (getStatus): use FuncStatus
12925
12926 2002-01-08  Juergen Vigna  <jug@sad.it>
12927
12928         * text.C (nextBreakPoint): use function Inset::isChar().
12929
12930         * paragraph.C (TeXOnePar): use function
12931         Inset::forceDefaultParagraphs.
12932
12933         * buffer.C (latexParagraphs): use function
12934         Inset::forceDefaultParagraphs.
12935
12936 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12937
12938         * lyx_gui.C (init): set the style of the menu popups to
12939         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12940
12941 2002-01-07  Juergen Vigna  <jug@sad.it>
12942
12943         * text.C (setHeightOfRow): small fix
12944         (prepareToPrint): don't look at alignment if we don't have the place
12945         for doing it.
12946
12947 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * box.C: New file. Move the Box methods and functions out of box.h,
12950         following Lars' suggestion.
12951
12952 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12953
12954         * box.h: #include "support/LOstream.h", needed for inlined function.
12955
12956         * lyxtextclass.C:
12957         * lyxtextclasslist.C: added some using std declarations.
12958
12959 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * box.h: make signed dimensions to allow insets wider than
12962           the screen (bug #162)
12963
12964         * BufferView_pimpl.C: add some insetHit debug
12965
12966 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12967
12968         * vc-backend.C: add FIXME
12969
12970 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * lyxfunc.C (getStatus): enable code for showing math font status
12973         in toolbar/menu.
12974
12975 2002-01-07  Juergen Vigna  <jug@sad.it>
12976
12977         * text.C (nextBreakPoint): removed debug output not needed anymore.
12978
12979 2002-01-06  Juergen Vigna  <jug@sad.it>
12980
12981         * text.C (nextBreakPoint): fixed up this function we had this bug
12982         since ever but now hopefully we break row better.
12983         (insertChar): we have to check if an inset is the next char as it
12984         could now happen that a large inset is causing a break.
12985
12986 2002-01-05  Juergen Vigna  <jug@sad.it>
12987
12988         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12989         if it doesn't like to be drawed.
12990
12991 2002-01-04  Juergen Vigna  <jug@sad.it>
12992
12993         * BufferView2.C (lockInset): forgot to set a cursor.
12994
12995         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12996
12997 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12998
12999         * FormMathsPanel.C:
13000         * FormMathsPanel.h
13001         * MathsSymbols.C:
13002         * form_maths_panel.C:
13003         * form_maths_panel.h:
13004         * form_maths_panel.fd: implemented sub- and super- buttons in math
13005         panel.
13006
13007         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13008         (or ^ space) to be used as in TeX (req'd by André).
13009
13010         * lyxfunc.C: Allow ^ and _ again to be used both as
13011         super/subscript (mathed) and as themselves (in text).
13012
13013 2002-01-03  Allan Rae  <rae@lyx.org>
13014
13015         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13016         "LyX" or the filename of the current buffer if it has one.  This is a
13017         modified form of John Levon's patch.
13018
13019         * XFormsView.C (setWindowTitle): also set icon title.
13020
13021         * LyXView.h (setWindowTitle): signature changed.
13022         * XFormsView.h (setWindowTitle): ditto.
13023
13024 2002-01-02  Juergen Vigna  <jug@sad.it>
13025
13026         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13027
13028 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * screen.C (topCursorVisible): introduce a temp var for
13031         text->cursor.row(), handle the case where this row is null. (kindo
13032         hachish)
13033
13034         * text2.C (setCursor): add a couple of asserts.
13035
13036         * paragraph.h (inset_iterator): add -> operator
13037
13038         * paragraph.[Ch] (autoDeleteInsets): remove member function
13039
13040         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13041         cursor pos correctly and handle inset deletion by itself.
13042         (insertErrors): move iterator declaration out of for expression
13043
13044         * lyxtextclass.C: add <algorithm>
13045
13046         * Makefile.am: added the new files to sources, removed layout.C
13047
13048         * layout.C: removed file
13049
13050         * layout.h: remove LYX_DUMMY_LAYOUT
13051
13052         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13053         layout.
13054
13055         * lyxlayout.[Ch]:
13056         * lyxtextclass.[Ch]:
13057         * lyxtextclasslist.[Ch]: new files
13058
13059         * include order changes to a lot of files, also changes because of
13060         the six new files.
13061
13062 2001-12-27  Juergen Vigna  <jug@sad.it>
13063
13064         * buffer.C (asciiParagraph): more fixes.
13065
13066         * tabular.C (ascii): make ascii export support export of only the
13067         data separated by a column-delimiter.
13068         (ascii): better support for ascii export.
13069
13070         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13071
13072 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13073
13074         * tabular_funcs.C: use a "using std::getline" instead of the
13075         previous fix from Angus (necessary for cxx + lyxstring)
13076
13077 2001-12-24  Juergen Vigna  <jug@sad.it>
13078
13079         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13080
13081         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13082         problems. First check a minipage also if we have some ert-contents
13083         (not only on par->size(), second set the right depth of the paragraph
13084         on the relink to the root-paragraph-list!
13085
13086         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13087         which then did not anymore update the main paragraphs on undo/redo!
13088
13089 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13092         code. Support all font-changing funcs (even those which are not in
13093         menu currently). Support for reporting font settings in
13094         mathed (disabled until Andre provides a function on mathed's side).
13095
13096         * func_status.h (toggle): small helper function to set toggle
13097         state on a flag.
13098
13099 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13100
13101         * tabular_funcs.C: getline -> std::getline
13102
13103 2001-12-21  Juergen Vigna  <jug@sad.it>
13104
13105         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13106         accessed and could be 0 (I couldn't generate this but it seems
13107         Michael could!).
13108
13109 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13112         * tabular_funcs.h: here and include iosfwd
13113
13114 2001-12-20  Juergen Vigna  <jug@sad.it>
13115
13116         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13117         inside inset but undo_par was.
13118
13119 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13120
13121         * Thesaurus.C: always include <config.h> in sources.
13122
13123         * Painter.h:
13124         * lyxlookup.h:
13125         * box.h: do not include <config.h> in header files
13126
13127         * text.C (paintLastRow): remove unused variable
13128
13129         * text.C (transformChar):
13130         (insertChar):
13131         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13132
13133         * Painter.C (text):
13134         * font.C (width): rewrite to use uppercase() instead of
13135         islower/toupper.
13136
13137         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13138
13139 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * lyxfind.C: clean up of find failure position change
13142
13143 2001-12-20  Juergen Vigna  <jug@sad.it>
13144
13145         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13146
13147         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13148         (TeXRow): added to LaTeX a single tabular row.
13149         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13150         (Latex): simplified and finally good LT-h/f support.
13151         (various_functions): just small adaptions for LT-h/f support.
13152
13153         * tabular_funcs.[hC]: added and moved here all not classfunctions
13154         of LyXTabular.
13155
13156 2001-12-19  Juergen Vigna  <jug@sad.it>
13157
13158         * tabular.[Ch]: better support for longtabular options (not finished
13159         yet!)
13160
13161 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13162
13163         * text.C (paintLastRow): use the label font instead of the font of
13164         the last character to compute the size of *_BOX. This makes more
13165         sense and avoids a crash with empty paragraphs.
13166         Use Painter::rectangle to draw EMPTY_BOX.
13167
13168 2001-12-19  Juergen Vigna  <jug@sad.it>
13169
13170         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13171         the paragraphs if the replaced paragraph is not the first one!
13172         Tried to delete not used paragraphs but does not work yet so for
13173         now it's inside #ifdef's and by default off!
13174
13175 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13176
13177         * MenuBackend.C: include "lyx_main.h" instead of declaring
13178         lastfiles (actually was declared as LastFiles* instead of a
13179         scoped_ptr).
13180
13181 2001-12-17  Juergen Vigna  <jug@sad.it>
13182
13183         * tabular.C (AppendColumn): applied John's fix
13184
13185 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * BufferView.h:
13188         * BufferView.C:
13189         * BufferView_pimpl.h:
13190         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13191
13192         * Makefile.am:
13193         * box.h: new start of class for above
13194
13195         * lyxfunc.C: ignore space-only minibuffer dispatches.
13196           Show the command name when it doesn't exist
13197
13198         * minibuffer.C: don't add empty lines to the history
13199
13200         * minibuffer.C: add a space on dropdown completion
13201
13202 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * text.C: fix line above/below drawing in insets
13205
13206 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13207
13208         * lyxlength.C (LyXLength): Initialize private variables.
13209
13210 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13211
13212         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13213         when inserting error insets.
13214
13215 2001-12-13  Juergen Vigna  <jug@sad.it>
13216
13217         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13218         actually sometimes the before-paragraph.
13219         (setUndo): don't clear the redostack if we're not actually undoing!
13220
13221 2001-12-06  Juergen Vigna  <jug@sad.it>
13222
13223         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13224         and fixed redoing of main paragraph, so we can use it now ;)
13225
13226         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13227
13228 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13231         Juergen's request
13232
13233 2001-12-13  André Pönitz <poenitz@gmx.net>
13234
13235         * undostack.[Ch]:
13236         * undo_func.C: minor cleanup
13237
13238 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13239
13240         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13241         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13242         font in urw-fonts package which is marked as -urw-fontspecific and
13243         does not work (incidentally, changing the encoding in the
13244         fonts.dir of this package to -adobe-fontspecific fixes the
13245         problem).
13246
13247         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13248         is a crash when undoing first paragraph (Juergen, please take a
13249         look). THis does not mean the undo fix is wrong, just that it
13250         uncovers problems.
13251
13252         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13253         the (Paragraph*) version when needed instead of duplicating the
13254         code.
13255
13256         * text.C (workWidth): use Inset::parOwner to find out where the
13257         inset has been inserted. This is a huge performance gain for large
13258         documents with lots of insets. If Inset::parOwner is not set, fall
13259         back on the brute force method
13260
13261         * paragraph_pimpl.C (insertInset):
13262         * paragraph.C (Paragraph):
13263         (cutIntoMinibuffer): set parOwner of insets when
13264         inserting/removing them
13265
13266         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13267
13268 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13269
13270         * commandtags.h:
13271         * LyXAction.C:
13272         * lyx_main.C:
13273         * lyxfunc.C:
13274         * mathed/formulabase.C:
13275         * mathed/math_cursor.[Ch]:
13276         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13277
13278
13279 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * lyxlength.[Ch] (operator!=): new function
13282
13283 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13284
13285         * text.C (workWidth): use Inset::parOwner to find out where the
13286         inset has been inserted. This is a huge performance gain for large
13287         documents with lots of insets. If Inset::parOwner is not set, fall
13288         back on the brute force method
13289
13290         * paragraph_pimpl.C (insertInset):
13291         * paragraph.C (Paragraph):
13292         (cutIntoMinibuffer): set parOwner of insets when
13293         inserting/removing them
13294
13295         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13296
13297 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13298
13299         * tabular-old.C (getTokenValue):
13300         * tabular.C (getTokenValue):
13301         (write_attribute): new versions for LyXLength
13302         (everywhere): adjust the use of widths
13303
13304         * tabular.h: change the type of widths from string to LyXLength
13305
13306 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13307
13308         * paragraph.C: fixed missing line number count when exporting
13309         Environments to LaTeX file
13310
13311         * buffer.C: added informational message for checking line numbers.
13312
13313 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13316         paragraph, do the 'double space' part, but not the 'empty
13317         paragraph' one.
13318
13319         * text.C (workWidth): small optimization
13320         (getLengthMarkerHeight): use minimal size for negative lengths.
13321
13322 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13325
13326         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13327
13328 2001-12-11  André Pönitz <poenitz@gmx.net>
13329
13330         * FontLoader.C:
13331         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13332
13333 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * text2.C: keep selection on a setFont()
13336
13337 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * lyx_cb.C: another bv->text misuse, from insert label
13340
13341 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * kbsequence.h:
13344         * kbsequence.C: re-instate nmodifier mask
13345
13346 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13347
13348         * lyx_main.h: make lyxGUI private.
13349
13350 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * lyxfind.C: place the cursor correctly on failed search
13353
13354 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13355
13356         * text.C (getLengthMarkerHeight): for small heights, the arrows
13357         are not always on top/bottom of the text
13358         (drawLengthMarker): smaller arrows; take the left margin in
13359         account; draw also vfills.
13360         (paintFirstRow):
13361         (paintLastRow): remove special code for vfill and standard spaces,
13362         since everything is handled in drawLengthMarker now.
13363
13364 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13365
13366         * buffer.C (insertErtContents): try to handle font and language
13367         interaction a bit better.g
13368
13369         * ColorHandler.C (updateColor): change the hash to cover the whole
13370         LColor enum, ws cleanup
13371         (getGCLinepars): ditto
13372         (getGCLinepars): only lookup in the linecache once.
13373
13374 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * iterators.C (operator++): Make the iterator more robust
13377
13378         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13379         (John's patch)
13380         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13381
13382 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * lyxtext.h:
13385         * text.C: better added space drawing
13386
13387 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * LyXView.C:
13390         * BufferView2.C: fix layout combo update on inset unlock
13391
13392 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13393
13394         * Makefile.am: don't compile unused files
13395
13396 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * lyxfunc.C:
13399         * commandtags.h:
13400         * LyXAction.C: remove old LFUN_LAYOUTNO
13401
13402 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * paragraph_pimpl.h:
13405         * paragraph_pimpl.C: isTextAt() doesn't need font param
13406
13407 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13408
13409         * lyxlex.h:
13410         * lyxlex.C: little cleanup
13411
13412 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * BufferView_pimpl.C: fix insertAscii for insets
13415
13416 2001-12-05  Juergen Vigna  <jug@sad.it>
13417
13418         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13419         set the right font on the "multi" paragraph paste!
13420
13421 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13422
13423         * trans_decl.h:
13424         * trans_mgr.[Ch]:
13425         * trans.[Ch]:
13426         * lyxgluelength.C:
13427         * lyxlength.C: remove out-commented code.
13428
13429         * BufferView_pimpl:
13430         * CutAndPaste.C:
13431         * DepTable.C:
13432         * buffer.C:
13433         * chset.C:
13434         * lastfiles.C:
13435         * lyxlex.C:
13436         * lyxlex_pimpl.C:
13437         * lyxserver.C:
13438         * screen.C:
13439         * tabular-old.C:
13440         * tabular.C:
13441         * text.C:
13442         * trans_mgr.C:
13443         * vc-backend.C: change "while(" to "while ("
13444
13445         * lyxlength.[Ch]: add zero function to check if length is zero or
13446         not
13447         * lyxgluelength.C: use it
13448
13449 2001-12-05  Allan Rae  <rae@lyx.org>
13450
13451         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13452         Works for 2.95.3, from what I understand of Garst's reports this should
13453         work for other g++ versions.  We're screwed if the abs(int) definition
13454         changed between bugfix releases of gcc.
13455
13456 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * text.C: fix chapter label offset !
13459
13460 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * lyxtext.h:
13463         * text.C: fix hfill at end of line, clean up
13464
13465 2001-12-04  Juergen Vigna  <jug@sad.it>
13466
13467         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13468         that we force an update of the inset and it's owners if neccessary.
13469
13470 2001-12-03  Juergen Vigna  <jug@sad.it>
13471
13472         * text.C (rowLast): simplified code
13473
13474 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * lyxfunc.C: fix show options on timeout
13477
13478 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * screen.C (topCursorVisible): scroll half a page when the cursor
13481         reached top of bottom of screen
13482
13483 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * minibuffer.C: deactivate on loss of focus
13486
13487 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * vspace.[Ch] (operator!=): add operator.
13490
13491 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * BufferView_pimpl.C: refuse to open an inset when
13494         there's a selection.
13495
13496 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * BufferView_pimpl.C: allow to click on RHS of full row insets
13499
13500 2001-11-30  Juergen Vigna  <jug@sad.it>
13501
13502         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13503         insets for undo reasons.
13504
13505 2001-11-28  André Pönitz <poenitz@gmx.net>
13506
13507         * vspace.[Ch]: cosmetical changes
13508
13509 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * LyXAction.h:
13512         * LyXAction.C:
13513         * lyxfunc.h:
13514         * lyxfunc.C:
13515         * kbmap.h:
13516         * kbmap.C:
13517         * lyxrc.C:
13518         * kbsequence.h:
13519         * kbsequence.C: part re-write of old kb code
13520
13521         * Painter.C:
13522         * WorkArea.C: remove Lgb_bug_find_hack
13523
13524 2001-11-30  José Matos <jamatos@fep.up.pt>
13525
13526         * buffer.C (makeDocBookFile): add a comment to point a hack.
13527         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13528         Fixed a double write of labels.
13529
13530 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13531
13532         * LaTeX.C:
13533         * LaTeX.h Fixed bug in LaTeX class where it would not
13534         re-run latex if no depfiles were changed, but the .dvi was removed.
13535
13536 2001-11-28  André Pönitz <poenitz@gmx.net>
13537
13538         * all the files from the change on 2001/11/26:
13539         use lyx::layout_type instead of LyXTextClass::size_type
13540         use lyx::textclass_type instead of LyXTextClassList::size_type
13541
13542 2001-11-29  Juergen Vigna  <jug@sad.it>
13543
13544         * text.C: added support for paragraph::isFreeSpacing()
13545
13546         * buffer.C: same as above
13547
13548         * paragraph.h: inserted isFreeSpacing() function to enable
13549         FreeSpacing inside InsetERT.
13550
13551         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13552         of the paragraph's in the cut/copy buffer to 0!
13553
13554         * text2.C (removeRow): remove the assert as it can!
13555
13556         * lyxtext.h: added helper function firstRow returning firstrow and
13557         made firstrow private again.
13558
13559         * BufferView2.C (lockInset): don't relock if we're already locked!
13560
13561         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13562         the only paragraph.
13563         (removeRow): added Assert::(firstrow)
13564
13565         * debug.C: forgot to add INSETTEXT here.
13566
13567 2001-11-28  Juergen Vigna  <jug@sad.it>
13568
13569         * sp_spell.C (initialize): changed error text to more general
13570         spellchecker command use (not only ispell!)
13571
13572         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13573
13574         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13575
13576 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * vspace.C: initialise lyxgluelength on failure
13579
13580 2001-11-28  Allan Rae  <rae@lyx.org>
13581
13582         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13583         declaration & definition that looks like a function declaration.
13584
13585 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * BufferView2.C (copy):
13588         (copyEnvironment): do not clear the selection when doing a copy.
13589
13590         * text.C (paintFirstRow): compilation fix
13591
13592 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13593
13594         * tabular.C (Latex): correct line count when writing latex.
13595
13596 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * paragraph_pimpl.h:
13599         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13600           bug a bit
13601
13602 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * text.C:
13605         * LColor.h:
13606         * LColor.C: change vfillline->added_space
13607
13608         * text.C: add markers and text for added space
13609
13610         * vspace.C: fix comment
13611
13612 2001-11-28  André Pönitz <poenitz@gmx.net>
13613
13614         * paragraph.C: whitespace changes
13615         * all the other files from the change on 2001/11/26:
13616         change *::pos_type into lyx::pos_type
13617
13618 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13619
13620         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13621         language of the document when inserting error insets.
13622
13623 2001-11-26  André Pönitz <poenitz@gmx.net>
13624
13625         * BufferView_pimpl.[Ch]:
13626         *       CutAndPaste.C:
13627         * buffer.[Ch]:
13628         * lyxcursor.[Ch]:
13629         * lyxfind.C:
13630         * lyxfunc.C:
13631         * lyxrow.[Ch]:
13632         * paragraph.[Ch]:
13633         * paragraph_pimpl.[Ch]:
13634         * sp_spell.C:
13635         * text.C:
13636         * text2.C: reduce header dependencies, introduce type for positions
13637
13638 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * <various>: change to use Alert.h
13641
13642 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13645         when encountering an unknown token.
13646         (readLyXformat2): Show an error message if there were unknown tokens.
13647
13648 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * BufferView2.C:
13651         * BufferView_pimpl.C:
13652         * buffer.C:
13653         * paragraph.h:
13654         * text.C:
13655         * text2.C: use par->isInset()
13656
13657 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * paragraph_pimpl.h:
13660         * paragraph_pimpl.C: cleanup
13661
13662 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * text2.C (removeRow):
13665         * text.C (setHeightOfRow): remove useless (and costly) call to
13666         getRow.
13667
13668 2001-11-20  Allan Rae  <rae@lyx.org>
13669
13670         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13671         Now need Inset*::checkInsertChar() to return true for appropriate
13672         cases so that the characters in the minibuffer will actually be
13673         inserted.
13674
13675 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * text.C: change the order of the includes.
13678         (workWidth): initialize it at once.
13679         (workWidth): make maxw unsigned
13680         (setHeightOfRow): remove unused variable (inset)
13681         (selectSelectedWord): remove unused variable (inset)
13682         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13683
13684 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13685
13686         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13687         server is not running.
13688         (openConnection):
13689         (closeConnection): add debug info when server is disabled.
13690
13691         * ColorHandler.C (getGCForeground): send debug message to GUI
13692         channel.
13693
13694         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13695
13696         * kbmap.C (bind): modify because return conventions of
13697         kb_sequence::parse have changed.
13698
13699         * kbsequence.C (parse): only ignore spaces and not any stupid
13700         control character. This avoids tests like s[i] <= ' ', which are
13701         guaranteed to fail with 8bit characters and signed chars.
13702         Change return code to string::npos when there have been no error
13703         (0 was a bad idea when error is at first character)
13704
13705 2001-11-14  José Matos  <jamatos@fep.up.pt>
13706
13707         * buffer.h:
13708         * buffer.C (simpleDocBookOnePar): removed unused argument.
13709
13710 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13713         insets which are part of a word. Paragraph::isLetter takes care of
13714         that now. Use Paragraph::isInset to identify insets.
13715         (selectSelectedWord): do not test for hyphenation break.
13716
13717         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13718         that protected spaces are considered as spaces.
13719
13720         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13721         Inset::isLetter.
13722
13723 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * lyxserver.h:
13726         * lyxserver.C: fix it. and small cleanup.
13727
13728 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13729
13730         * BufferView_pimpl.C: use inline helpers
13731
13732         * LaTeXFeatures.h:
13733         * LaTeXFeatures.C: fix typos
13734
13735         * Spacing.h:
13736         * Spacing.C: move spacing_string into class
13737
13738         * ToolbarDefaults.C: move stuff into namespace anon
13739
13740         * layout.h: update enum
13741
13742         * lyxfunc.C: use better debug
13743
13744         * minibuffer.h: fix typo
13745
13746         * debug.h:
13747         * debug.C:
13748         * WorkArea.C: add and use Debug::WORKAREA
13749
13750         * lyxtext.h:
13751         * text.C:
13752         * text2.C: code re-organisation, inline helpers
13753
13754 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13755
13756         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13757         std::vector.empty().
13758
13759 2001-11-09  Allan Rae  <rae@lyx.org>
13760
13761         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13762         '\n's after tables.  Tabular and ERT inset work now makes this no
13763         longer necessary.
13764
13765 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13766
13767         * minibuffer.h:
13768         * minibuffer.C: fix crash, improve drop-down completion
13769
13770 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * lyxserver.h:
13773         * lyxserver.C: invalidate fd's when doing endPipe()
13774
13775 2001-11-08  José Matos  <jamatos@fep.up.pt>
13776
13777         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13778         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13779
13780         * paragraph.h:
13781         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13782
13783 2001-11-07  José Matos  <jamatos@fep.up.pt>
13784
13785         * buffer.h:
13786         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13787         const qualifier.
13788
13789         * buffer.C (sgmlOpenTag):
13790         * buffer.C (sgmlCloseTag): removed debug info.
13791
13792         * buffer.h (sgmlOpenTag):
13793         * buffer.h (sgmlCloseTag): made public.
13794
13795 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * buffer.C (saveParamsAsDefaults):
13798         * lyx_cb.C (MenuLayoutSave): remove
13799
13800         * LyXAction.C (init):
13801         * commandtags.h:
13802         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13803
13804 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13805
13806         * buffer.C (setPaperStuff): removed from here...
13807
13808         * bufferparams.C (setPaperStuff): ... and moved there.
13809
13810 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * minibuffer.h:
13813         * minibuffer.C:
13814         * XFormsView.C: add support for drop-down completion
13815
13816 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13817
13818         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13819         commands.
13820
13821 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13824         disabled.
13825
13826 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13827
13828         * lyx_main.C: change ref to known bugs
13829
13830 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13831
13832         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13833         to work around older babel problems.
13834
13835 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13836
13837         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13838
13839 2001-10-24  Juergen Vigna  <jug@sad.it>
13840
13841         * tabular-old.C (ReadOld): below variable changes reflected.
13842
13843         * tabular.[Ch]: added ltType struct for longtable header/footer
13844         defines and changed all instances where they are used. Added
13845         future support for double top/bottom rows.
13846
13847 2001-10-24  José Matos  <jamatos@fep.up.pt>
13848
13849         * buffer.h (docbookHandleCaption):
13850         * buffer.C (docbookHandleCaption): removed unused function.
13851         (makeDocBookFile): moved docbook supported version to v4.1.
13852
13853 2001-10-24  José Matos  <jamatos@fep.up.pt>
13854
13855         * tabular.h:
13856         * tabular.C (docbookRow): new function to export docbook code of a row.
13857         (DocBook): now honors the longtable flags.
13858
13859 2001-10-23  José Matos  <jamatos@fep.up.pt>
13860
13861         * LaTeXFeatures.h:
13862         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13863         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13864
13865         * buffer.C (makeLinuxDocFile):
13866         (makeDocBookFile): reworked the preamble, more clean, and with
13867         support for lyx defined entities. Changed the document declaration
13868         to be more XML friendly.
13869
13870         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13871         if we need to output XML that should be done with a filter.
13872
13873 2001-10-22  Juergen Vigna  <jug@sad.it>
13874
13875         * sp_pspell.h (class PSpell): add alive function needed in the
13876         controller to see if the spellchecker could be started.
13877
13878 2001-10-22  Juergen Vigna  <jug@sad.it>
13879
13880         * buffer.C (insertStringAsLines): modify the font for inserting
13881         chars in certain conditions by calling checkInsertChar(font).
13882
13883 2001-10-19  Juergen Vigna  <jug@sad.it>
13884
13885         * text.C (workWidth): use getRow instead of wrong algorithm.
13886         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13887
13888 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13889
13890         * lyxserver.h:
13891         * lyxserver.C:
13892         * lyx_main.h:
13893         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13894
13895 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * text.C (workWidth): do not search for the exact row when
13898         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13899         optimization for big documents.
13900
13901 2001-10-18  Juergen Vigna  <jug@sad.it>
13902
13903         * text.C (workWidth): new function with added Inset * parameter.
13904
13905 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13908
13909         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13910         change return type of getColumnNearX.
13911
13912
13913         * text.C (changeRegionCase): use uppercase/lowercase instead of
13914         toupper/tolower.
13915         (leftMargin):
13916         (rightMargin): simplify code by factoring out the uses of
13917         textclasslist.
13918         (labelFill):
13919         (numberOfHfills):
13920         (setHeightOfRow):
13921         (appendParagraph): use Paragraph::size_type
13922
13923 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13924
13925         * vspace.C (asLatexString): add a missing break
13926
13927 2001-10-15  Herbert Voss  <voss@perce.de>
13928
13929         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13930
13931 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13934         is not available.
13935
13936 2001-10-10  André Pönitz <poenitz@gmx.net>
13937
13938         * lyxfunc.C: removed greek_kb_flag.
13939
13940 2001-10-10  Herbert Voss  <voss@perce.de>
13941
13942         * lyx_main.C: delete global string help_lyxdir.
13943
13944 2001-10-09  Herbert Voss  <voss@perce.de>
13945
13946         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13947
13948         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13949
13950         * lyx_main.C: added global string help_lyxdir.
13951
13952         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13953
13954 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13955
13956         * lyxrc.C (set_font_norm_type): support iso8859-4
13957
13958 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13959
13960         * LaTeX.C (deplog): add another regex for MikTeX
13961
13962 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13963
13964         * lyxrc.C (set_font_norm_type): support iso8859-3
13965
13966 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13967
13968         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13969
13970         * LaTeXFeatures.C: remove special case of french and index
13971
13972         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13973         before \begin{document}). This solves several incompatibilities.
13974
13975 2001-10-03  Garst Reese  <reese@isn.net>
13976
13977         * lyx_cb.C: change CheckTex error msg.
13978
13979 2001-10-03  José Matos  <jamatos@fep.up.pt>
13980
13981         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13982
13983 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13984
13985         * .cvsignore: update
13986
13987         * lyx_main.C (commandLineVersionInfo): use new style version info.
13988
13989         * buffer.C (writeFile):
13990         (makeLaTeXFile):
13991         (makeLinuxDocFile):
13992         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13993
13994         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13995
13996         * version.h: update to use stuff in version.C
13997
13998         * version.C.in: new file. Contains version information determined
13999         at compile time. This is a merging of version.h and
14000         version_info.h.in.
14001
14002 2001-10-03  Juergen Vigna  <jug@sad.it>
14003
14004         * BufferView_pimpl.C (update): don't change "dirty" status in
14005         updateInset call.
14006
14007 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * WorkArea.C (c-tor): re-position version string slightly.
14010
14011 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14014         revert to previous code.
14015
14016         WorkArea.[Ch]: (show, destroySplash): methods removed.
14017
14018         WorkArea.C: rework code so that it's an amalgam of the codes before and
14019         after the splash screen was moved to WorkArea.
14020
14021 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * lyxrc.C (read):
14024         * vspace.C (inPixels):
14025         (lyx_advance):
14026         * kbmap.C (bind):
14027         * buffer.C (insertStringAsLines):
14028         (asciiParagraph): fix types to be large enough
14029
14030         * lyxlex_pimpl.h: change member status from short to int
14031
14032         * layout.h: fix type of endlabeltype
14033
14034         * kbmap.C (bind):
14035         * kbsequence.C (parse): change return type to string::size_type
14036
14037         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14038         variable
14039
14040         * Bullet.C (bulletSize):
14041         (bulletEntry): do not use short ints as parameters
14042
14043         * BufferView2.C (insertLyXFile): change a char to an int.
14044
14045         * WorkArea.C (WorkArea): remove unneeded floats in computation
14046
14047 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14048
14049         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14050
14051         * paragraph.C (asString): Do not ignore newline/hfill chars when
14052         copying to the clipboard.
14053
14054 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14055
14056         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14057         after a multi-line inset.
14058
14059 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14060
14061         * paragraph.C (validate): Set NeedLyXFootnoteCode
14062
14063 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14064
14065         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14066         and decrease-error to decrease.
14067
14068 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14071         it more readable (should be equivalent)
14072
14073 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14074
14075         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14076
14077 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14078
14079         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14080         of a cursor (row, etc.) after a character has been deleted
14081         (deleteEmptyParagraphMechanism): call the method above on _all_
14082         cursors held by the LyXText when a double space has been
14083         detected/deleted.
14084
14085 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14086
14087         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14088         pixmap.
14089         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14090
14091         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14092         background. Use greyOut() and the new show() methods to toggle between
14093         the foreground and background. Add code to remove the splash after
14094         its initial showing.
14095
14096         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14097         (create_forms): no longer call Dialogs::showSplash.
14098
14099 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * .cvsignore: add version_info.h
14102
14103 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * version_info.h.in: new file
14106
14107         * Makefile.am: add version_info.h.in
14108
14109         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14110         version_info.h instead of VERSION_INFO
14111
14112 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14115         The ERT inset now returns string().
14116
14117 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * lyxtext.h, text.C (selectNextWord): renamed as
14120         selectNextWordToSpellcheck.
14121
14122         * text.C (selectNextWordToSpellcheck): Modified to not select
14123         words inside an ERT inset.
14124
14125 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * lyx_cb.C (MenuLayoutSave): change a bit the question
14128
14129         * sp_base.h: include <sys/types.h>
14130
14131 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14134
14135 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14136
14137         * several files: fix typos in user-visible strings
14138
14139 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14140
14141         * text2.C (pasteSelection): do not set the selection, since it
14142         will be cleared later. Actually, the intent was to fix the way the
14143         selection was set, but I figured rmoving the code was just as good.
14144
14145 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * FontLoader.C (available): Check if font is available without
14148         loading the font.
14149
14150 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14151
14152         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14153
14154 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14155
14156         * lyxrc.[Ch]: added display_graphics variable and associated code.
14157
14158 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * bufferparams.C (hasClassDefaults): new method. Returns true if
14161         the buffer parameters correspond to known class defaults
14162
14163 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * XFormsView.C (show): set minimum size to the main window.
14166
14167 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * text2.C (copySelection):
14170         (cutSelection):
14171         * lyxfind.C (LyXReplace):
14172         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14173         LyXText::selectionAsString.
14174
14175         * paragraph.C (asString): add "label" argument to the second form
14176
14177         * text2.C (selectionAsString): add "label" argument and pass it to
14178         Paragraph::asString.
14179
14180 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * lyx_main.C (commandLineHelp): remove version information
14183
14184 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14185
14186         * lyx_main.C: add -version commandline option
14187
14188 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * paragraph.h: make the optional constructor arg required instead.
14191         some modifications to other files because of this.
14192
14193         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14194
14195         * lyxserver.C (C_LyXComm_callback): make it static
14196
14197         * lyx_main.C (error_handler): make it static
14198
14199         * lyx_gui.C (LyX_XErrHandler): make it static
14200
14201         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14202
14203         * WorkArea.C: make the extern "C" methods static.
14204
14205         * Makefile.am (lyx_LDADD): simplify
14206
14207 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14208
14209         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14210         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14211
14212         * LyXAction.C (init):
14213         * lyxfunc.C (dispatch): associated code removal.
14214
14215 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * lyxfont.h (isSymbolFont): shut off warning
14218
14219         * text.C (setHeightOfRow):
14220         (getVisibleRow): fix crash with empty paragraphs which have a
14221         bottom line
14222
14223 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14224
14225         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14226         code.
14227
14228 2001-09-04  José Matos  <jamatos@fep.up.pt>
14229         * buffer.C
14230         * buffer.h
14231         * tabular.C (docbook): rename docBook method to docbook.
14232
14233 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14234
14235         * Makefile.am: add dependencies to main.o.
14236
14237 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * FontLoader.C (available): Return false if !lyxrc.use_gui
14240
14241 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14242
14243         * FontInfo.C (query):
14244         * converter.C (view):
14245         * importer.C (Import):
14246         * exporter.C (Export): Can not -> cannot.
14247
14248 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14249
14250         * BufferView_pimpl.C: allow to create index inset even if
14251           string is empty
14252
14253 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14254
14255         * buffer.C (getLists): replace boost::tie code with an explicit pair
14256         as boost::tie can break some compilers.
14257
14258         * iterators.h: Added a std:: declaration to the return type of
14259         ParIterator::size.
14260
14261 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14264           case.
14265
14266 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * iterators.[Ch]: New files. Provide paragraph iterators.
14269
14270         * buffer.C (changeLanguage): Use paragraph iterators.
14271         (isMultiLingual): ditto
14272
14273         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14274
14275 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * FontLoader.C: Support for cmr font.
14278
14279 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14282         (available): New method.
14283
14284         * FontInfo.C (getFontname): Use scalable fonts even when
14285         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14286         found.
14287
14288 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14289
14290         * converter.C (Formats::view): reverted! Incorrect fix.
14291
14292 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14293
14294         * converter.C (Formats::view): only output the -paper option
14295         if the dvi viewer is xdvi, thereby fixing bug #233429.
14296
14297 2001-08-23  Herbert Voss  <voss@perce>
14298
14299         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14300
14301 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * Spacing.h (Spacing): Set space to Default on in the default
14304         constructor.
14305
14306 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * vc-backend.h (RCS::versionString): add RCS to version
14309         (CVS::versionString): add CVS to version
14310
14311         * vc-backend.C (scanMaster): do not add CVS to version.
14312         (scanMaster): do not add RCS to version
14313
14314         * lyxvc.C (versionString): new method
14315
14316         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14317
14318 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * Spacing.C (set): initialize fval
14321
14322 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14323
14324         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14325         " or \.
14326
14327 2001-08-16  Juergen Vigna  <jug@sad.it>
14328
14329         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14330
14331 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * BufferView_pimpl.C:
14334         * figureForm.C:
14335         * lyxtext.h:
14336         * text2.C: setParagraph takes linespacing now
14337
14338 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * LyxAction.C: add internal LFUN_CITATION_INSERT
14341
14342         * LyXView.C: actually apply fix
14343
14344         * bufferlist.C: fix open non-existent file
14345
14346         * lyxfind.C: fix indentation
14347
14348         * lyxfunc.C: remove unneeded assert, fix typo
14349
14350 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14351
14352         * MenuBackend.C: use "Floatname List"
14353
14354 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14355
14356         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14357         when converting LaTeX layout to insetERT.
14358         Generate a non-collapsed float when reading old float
14359
14360 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14361
14362         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14363         ERT insets.
14364
14365 2001-08-13  Juergen Vigna  <jug@sad.it>
14366
14367         * text.C (fill): return 0 instead of 20 as this seems to be the more
14368         correct value.
14369
14370 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14373         lyxrc.font_norm.
14374
14375 2001-08-13  Juergen Vigna  <jug@sad.it>
14376
14377         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14378         casesensitive off.
14379         (SearchBackward): comment out the unlocking of the inset_owner this
14380         should not be needed!
14381
14382 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14383
14384         * Many files: Remove inherit_language, and add latex_language
14385
14386         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14387         collapsible insets.
14388
14389 2001-08-10  Juergen Vigna  <jug@sad.it>
14390
14391         * text.C (prepareToPrint): fixed hfill-width in draw!
14392
14393         * BufferView2.C (selectLastWord): save the selection cursor as this
14394         now is cleared in the function LyXText::clearSelection!
14395
14396 2001-08-08  Juergen Vigna  <jug@sad.it>
14397
14398         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14399         BACKSPACE type functions.
14400
14401         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14402         is only cutted from the document but not put in the cut-buffer, where
14403         still the old stuff should be.
14404
14405         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14406
14407         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14408
14409         * tabular.C (SetWidthOfCell): fixed special case where the width
14410         was not updated!
14411         (LeftLine): handle '|' in align_special.
14412         (RightLine): ditto
14413         (LeftAlreadyDrawed): ditto
14414         (SetWidthOfCell): ditto
14415
14416 2001-08-07  Juergen Vigna  <jug@sad.it>
14417
14418         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14419
14420 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14423         * lyxlex.[hC]: ditto
14424
14425 2001-08-06  Juergen Vigna  <jug@sad.it>
14426
14427         * text.C (getVisibleRow): fix up row clearing a bit.
14428
14429 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14430
14431         * minibuffer.C: make sure the X server sees the changes in the input.
14432
14433 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * paragraph.C (getFont): split into...
14436         (getLabelFont): this
14437         (getLayoutFont): and this
14438         * paragraph_pimpl.C (realizeFont): calling this
14439
14440         * text2.C (getFont): split into...
14441         (getLayoutFont): this
14442         (getLabelFont): and this
14443         (realizeFont): all three calling this
14444
14445         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14446         files where used.
14447
14448 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14449
14450         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14451
14452 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14453
14454         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14455         layouts from the Quote inset insertion.
14456
14457 2001-08-03  Juergen Vigna  <jug@sad.it>
14458
14459         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14460
14461         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14462         only if status not is already CHANGED_IN_DRAW (second level).
14463
14464         * text.C (draw): don't set the need_break_row when inside an
14465         InsetText LyXText.
14466
14467 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14468
14469         * buffer.C (parseSingleLyXformat2Token): handle more latex
14470         conversion cases.
14471
14472         * bufferview_funcs.[hC]: change function names to
14473         begin with small char, adjust other files.
14474
14475 2001-08-02  André Pönitz <poenitz@gmx.net>
14476
14477         * lyxfunc.C:
14478         BufferView_pimpl.C: remove broken special code for math-greek
14479
14480 2001-08-02  Juergen Vigna  <jug@sad.it>
14481
14482         * BufferView_pimpl.C (update): redone this function so that we
14483         update the text again if there was a CHANGE_IN_DRAW.
14484
14485         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14486         (drawFromTo): added a new internal bool which is used by draw() and
14487         redraw() function.
14488         (general): some cursor drawing problems fixed.
14489
14490 2001-08-01  Juergen Vigna  <jug@sad.it>
14491
14492         * lyxfind.C (LyXFind): fixed
14493         (SearchForward): ditto
14494         (SearchBackward): ditto
14495
14496         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14497         spurius drawing of the cursor in the main area.
14498
14499         * text2.C (status): small fix which could lead to a segfault!
14500         (clearSelection): remove unneeded BufferView param.
14501
14502 2001-08-01  André Pönitz <poenitz@gmx.net>
14503
14504         * lyxfunc.C: small change due to changed mathed interface
14505
14506 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14507
14508         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14509
14510 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * lyxfunc.c: fail gracefully if file doesn't exist
14513
14514         * LyXSendto.C:
14515         * buffer.C:
14516         * lyxfunc.C:
14517         * BufferView_pimpl.C: IsDirWriteable() proto changed
14518
14519         * LyXView.C: fix updateWindowTitle() to store the last title
14520
14521 2001-07-31  Juergen Vigna  <jug@sad.it>
14522
14523         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14524         the font (wrong since using of Paragraph::highestFontInRange).
14525
14526         * paragraph.C (highestFontInRange): added a default_size parameter.
14527
14528         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14529         (setHeightOfRow): reformat
14530
14531 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * converter.[hC] + affected files: move to (inital-char)lowercase
14534         function names.
14535
14536         * ParagraphParameters.C (ParagraphParameters): remove commented code
14537
14538         * PainterBase.[Ch]: remove commented code
14539
14540         * LaTeXFeatures.h: add "bool floats" for float.sty
14541
14542         * LaTeXFeatures.C (LaTeXFeatures): init floats
14543         (require): handle float
14544         (getPackages): do it with floats
14545
14546 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * BufferView_pimpl.C (Dispatch): improve handling of
14549         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14550
14551         * commandtags.h: #include lyxfont.h here temporarily to avoid
14552         keybinding bug.
14553
14554         * bufferlist.h: include LString.h here.
14555
14556 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * text2.C (getStringToIndex): new method.
14559
14560 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14561
14562         * *: Reduced header file dependencies all over.
14563
14564 2001-07-30  Baruch Even  <baruch@lyx.org>
14565
14566         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14567
14568 2001-07-29  Baruch Even  <baruch@lyx.org>
14569
14570         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14571
14572 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * ParameterStruct.h (endif): add a default constructor to make
14575         sure that all variables is initialized.
14576
14577         * ParagraphParameters.C (ParagraphParameters): adjust
14578
14579 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14582         index; also, check that there is something to index, and that it
14583         does not span over several paragraphs.
14584         (doubleClick): use WHOLE_WORD_STRICT for double click.
14585
14586         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14587
14588         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14589         scheme.
14590
14591 2001-07-26  Baruch Even  <baruch@lyx.org>
14592
14593         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14594         an InsetFig figure, backwards compatible reading of old figure code.
14595
14596 2001-07-27  Juergen Vigna  <jug@sad.it>
14597
14598         * text2.C: font.realize function adaption.
14599
14600         * text.C (draw): add a warnings lyxerr text if needed.
14601
14602         * layout.C: font.realize function adaption.
14603
14604         * language.C: add inherit_language and implement it's handlings
14605
14606         * bufferview_funcs.C (StyleReset): remove language parameter from
14607         font creation (should be language_inherit now).
14608
14609         * bufferparams.C (writeFile): handle ignore_language.
14610
14611         * paragraph.C (getFontSettings): the language has to be resolved
14612         otherwise we have problems in LyXFont!
14613
14614         * lyxfont.C (lyxWriteChanges): added document_language parameter
14615         (update): removed unneeded language parameter
14616
14617         * paragraph.C (validate): fixed wrong output of color-package when
14618         using interface colors for certain fonts in certain environments,
14619         which should not seen as that on the final output.
14620
14621 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14622
14623         * BufferView_pimpl.C:
14624         * Thesaurus.h:
14625         * Thesaurus.C:
14626         * Makefile.am:
14627         * commandtags.h:
14628         * LyXAction.C: add thesaurus support
14629
14630         * lyxfind.h:
14631         * lyxfind.C: add "once" parameter, for thesaurus, to not
14632           move to the next match
14633
14634 2001-07-26  Juergen Vigna  <jug@sad.it>
14635
14636         * lyxfont.C (realize): honor ignore_language too!
14637         (resolved): ditto.
14638
14639         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14640
14641         * text.C (draw): one place more for ignore_language to not draw
14642         itself!
14643
14644 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14647
14648 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14651         the minipage conversion problem.
14652
14653 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14654
14655         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14656         insert an inset.
14657
14658 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * BufferView.h: don't forward declare WorkArea
14661
14662         * BufferView.C: don't include WorkArea.h
14663
14664 2001-07-25  André Pönitz <poenitz@gmx.net>
14665
14666         * commandtags.h:
14667         * LyXAction.C:
14668         * lyxfunc.C:  new LFUN 'math-space'
14669
14670         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14671
14672 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14673
14674         * text2.C (toggleInset): call open/close
14675
14676 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677
14678         * lyxfunc.C (dispatch): add debug for the disabled case
14679
14680         * font.C (buttonText): make similar to rectText
14681
14682         * buffer.C (readInset): comment out parsing of insetlist and
14683         insttheorem
14684
14685         * PainterBase.C (rectText): small correction
14686
14687         * BufferView_pimpl.C: comment out insettheorem and insetlist
14688         * LyXAction.C: ditto
14689         * commandtags.h: ditto
14690
14691 2001-07-24  Juergen Vigna  <jug@sad.it>
14692
14693         * text.C (draw): honor the ignore_language.
14694
14695         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14696
14697 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14700         char inset.
14701
14702 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14703
14704         * lyxtext.h: remove unused (and unimplemented) methods
14705
14706 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14707
14708         * text.C (getVisibleRow): honor background color
14709
14710         * PainterBase.h:
14711         * Painter.h: remove default color argument for fillRectangle
14712
14713         * text.C (backgroundColor): new method
14714
14715 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * text.C (getVisibleRow): adjust
14718
14719         * font.[Ch] (rectText): new method, metrics
14720         (buttonText): new method, metrics
14721
14722         * PainterBase.[hC]: make rectText and buttonText always draw and take
14723         fewer paramteres.
14724
14725 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14726
14727         * ToolbarDefaults.C (read):
14728         * MenuBackend.C (read): allow escaping in all strings
14729
14730         * BufferView_pimpl.C (insertAndEditInset): new method.
14731         (Dispatch): use insertAndEditInset whenever appropriate.
14732
14733         * BufferView_pimpl.C (insertNote): removed
14734
14735         * BufferView_pimpl.C (smartQuote): new method, moved from
14736         BufferView; if an insetquote cannot be inserted, insert a '"'
14737         character instead.
14738
14739         * BufferView2.C: remove insertCorrectQuote();
14740
14741         * lyxfunc.C (getStatus): Add support for all remaingin
14742         inset-insert lfuns.
14743
14744         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14745
14746         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14747         command (necessary to pass " as parameter of self-insert.
14748
14749         * text.C (selectWordWhenUnderCursor):
14750         (selectWord): add word_location parameter
14751         (selectWordWhenUnderCursor): same + remove special code for word
14752         boundary.
14753         (selectNextWord): use kind() to guess type of insetspecialchar,
14754         not latex().
14755
14756         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14757         (insertErtContents): create ert insets as collapsed.
14758         (readInset): better compatibility code for Info inset.
14759
14760 2001-07-20  Juergen Vigna  <jug@sad.it>
14761
14762         * lyxfunc.C (dispatch): use always LyXFind now!
14763
14764         * text2.C (init): add a reinit flag so that the LyXText can be
14765         reinited instead of deleted and reallocated (used in InsetText).
14766
14767         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14768
14769         * text.C: ditto
14770
14771         * text2.C: ditto
14772
14773 2001-07-18  Juergen Vigna  <jug@sad.it>
14774
14775         * text.C (selectNextWord): handle insets inside inset by calling
14776         always the bv->text functions so that we can go up the_locking_inset!
14777
14778         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14779         in strange locations when inside an inset!
14780
14781         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14782         handling to include insets.
14783
14784         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14785
14786 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * LyXAction.C (init):
14789         * commandtags.h:
14790         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14791         LIGATURE_BREAK, since the name is so stupid.
14792
14793 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14794
14795         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14796         InsetInfos.
14797
14798         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14799
14800         * sp_form.[Ch]: remove.
14801
14802         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14803
14804         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14805         InsetInfo.
14806
14807         * src/buffer.C (readInset): ditto.
14808
14809 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14810
14811         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14812         menuSeparator(), endOfSentenceDot(), ldots() and
14813         hyphenationPoint(), which are therefore removed.
14814         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14815
14816         * LyXAction.C (init):
14817         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14818
14819         * paragraph.C (getWord): removed.
14820
14821         * BufferView_pimpl.C (Dispatch): use last word or selection for
14822         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14823
14824         * lyx_main.C (queryUserLyXDir): do not ask before creating
14825         user_dir, except if it has been named explicitely.
14826
14827 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14828
14829         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14830         a document of zero size.
14831
14832 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14833
14834         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14835         approriately in the c-tor and in require().
14836         (getPackages): output the appropriate LaTeX for natbib support.
14837
14838         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14839         variables "use_natbib" and "use_numerical_citations" when reading the
14840         LyX file.
14841         (readInset): read the various natbib cite commands.
14842         (validate): white-space change.
14843
14844         * bufferparams.[Ch]: new variables "bool use_natbib" and
14845         "bool use_numerical_citations".
14846         (writeFile): output them in the LyX file.
14847
14848 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14849
14850         * lyxfunc.C (getStatus): add support for all the inset insertion
14851         commands.
14852
14853         * text2.C (insertInset):
14854         * paragraph.C (insetAllowed):
14855         * BufferView_pimpl.C (insertInset): update to take in account the
14856         renaming of insertInsetAllowed
14857
14858         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14859
14860         * text2.C (getInset): new method. returns inset at cursor position.
14861
14862         * BufferView_pimpl.C (Dispatch): changes because of this.
14863
14864         * LyXAction.C (init): rename open-stuff to inset-toggle.
14865
14866         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14867
14868         * text2.C (toggleInset): renamed from openStuff; use
14869         Inset::open().
14870
14871 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14872
14873         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14874
14875         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14876
14877 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * buffer.C (readLyXformat2): Add filename to the error dialog
14880
14881 2001-07-18  Juergen Vigna  <jug@sad.it>
14882
14883         * tabular.C (GetCellNumber): put an assert here instead of the check!
14884
14885 2001-07-17  Juergen Vigna  <jug@sad.it>
14886
14887         * BufferView_pimpl.C (toggleSelection): adapted too.
14888
14889         * text.C (selectNextWord): adapted for use with insets.
14890         (selectSelectedWord): ditto
14891
14892 2001-07-17  Juergen Vigna  <jug@sad.it>
14893
14894         * sp_spell.C (PSpell): fix initialitation order.
14895
14896 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * paragraph.C: spacing
14899
14900 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14901
14902         * sp_spell.C: repair language selection for pspell
14903
14904 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * lyxfunc.h: change more methods to begin with lower char.
14907
14908 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14909
14910         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14911         for unknown layouts.
14912
14913 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14914
14915         * buffer.C (readLyXformat2): Generate an error dialog if there are
14916         unknown layouts.
14917
14918 2001-07-16  Juergen Vigna  <jug@sad.it>
14919
14920         * sp_spell.C: always compile ISpell part.
14921
14922         * lyxrc.C: added use_pspell entry and it's handling.
14923
14924 2001-07-13  Juergen Vigna  <jug@sad.it>
14925
14926         * sp_spell.C: removed double includes.
14927
14928 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14929
14930         Consistent use of Lsstream.h:
14931         * Lsstream.h: added using std::stringstream for consistencies sake.
14932
14933         * buffer.C: removed using std::stringstream
14934
14935         * lyxfont.C (stateText):
14936         * paragraph.C (asString):
14937         * text.C (selectNextWord, selectSelectedWord):
14938         * text2.C (setCounter):
14939         * vspace.C (asString, asLatexString):
14940         std::ostringstream -> ostringstream.
14941
14942 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14943
14944         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14945         * commandtags.h: add LFUN_HELP_ABOUTLYX
14946         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14947
14948 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14949
14950         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14951         cursorToggle()
14952         * lyx_gui_misc.C: remove spellchecker
14953         * lyxfunc.C: showSpellchecker
14954         * sp_base.h: added
14955         * sp_ispell.h: added
14956         * sp_pspell.h: added
14957         * sp_spell.C: added
14958         * sp_form.[Ch]: removed
14959         * spellchecker.[Ch]: removed
14960
14961 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14962
14963         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14964         is set.
14965         (simpleTeXSpecialChars): Simply print the input character without
14966         any special translation if pass_thru is set.
14967
14968         * layout.h: Added bool pass_thru to layout class for being able to
14969         implement pass through of a paragraph for Literate Programming.
14970
14971         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14972         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14973         * layout.C (Read): add "passthru" to list of layout tags and add
14974         code to set the pass_thru boolean when it is read.
14975
14976 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14977
14978         * trans_decl.h: remove allowed from KmodInfo
14979
14980         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14981         remove allowed code
14982         (Load): adjust
14983
14984         * paragraph_pimpl.C (erase): use boost::prior
14985
14986         * Painter.C (text): use data() instead of c_str() when length is
14987         also provided.
14988         * WorkArea.C (putClipboard): ditto
14989         * font.h (width): ditto
14990
14991         * BufferView2.C: use it-> instead of (*it). for iterators
14992         * texrow.C: ditto
14993         * paragraph_pimpl.C: ditto
14994         * paragraph.C: ditto
14995         * minibuffer.C: ditto
14996         * language.C: ditto
14997         * kbmap.C: ditto
14998         * encoding.C: ditto
14999         * counters.C: ditto
15000         * converter.C: ditto
15001         * chset.C: ditto
15002         * Variables.C: ditto
15003         * TextCache.C: ditto
15004         * MenuBackend.C: ditto
15005         * LyXAction.C: ditto
15006         * LColor.C: ditto
15007         * FloatList.C: ditto
15008         * DepTable.C: ditto
15009         * ColorHandler.C (LyXColorHandler): ditto
15010
15011 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15014
15015         * text2.C (openStuff): reintroduce this method (which had been
15016         nuked in NEW_INSETS frenzy).
15017
15018         * lyxfunc.C (Dispatch): when an action has not been handled, use
15019         its name in the error message, not its number.
15020
15021         * paragraph.C (inInset): change method name to begin with lowercase.
15022
15023         * undo_funcs.C:
15024         * text2.C: updates because of this.
15025
15026 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * ToolbarDefaults.C (add): add spaces in error message
15029
15030 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15033         (readLyXformat2): rename return_par to first_par, use lyxlex's
15034         pushToken and remove the manual push handling.
15035         (parseSingleLyXformat2Token): add another ert comp. variable:
15036         in_tabular, rename return_par to first_par. handle newlines better
15037
15038 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15039
15040         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15041
15042 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15043
15044         * text2.C (getParFromID): removed
15045
15046         * buffer.C (getParFromID): new method moved form lyxtext.
15047         * BufferView2.C (insertErrors): adjust
15048         (setCursorFromRow): adjust
15049         * BufferView_pimpl.C (restorePosition): adjust
15050         * lyxfunc.C (Dispatch): adjust
15051         * undo_funcs.C (textUndo): adjust
15052         (textRedo): adjust
15053         (textHandleUndo): adjust
15054         (textHandleUndo): adjust
15055
15056 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * buffer.C: up' the LYX_FORMAT
15059
15060         * lyxfont.h: turn NO_LATEX on as default
15061
15062         * buffer.C (insertErtContents): new methods of tex style compability.
15063         (parseSingleLyXformat2Token): use it several places.
15064         * tabular.C (OldFormatRead): and here
15065
15066 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * text2.C: remove some commented code.
15069         reindent file.
15070
15071         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15072         * trans.C: changes because of the above.
15073
15074 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15075
15076         * text2.C (setCounter): Fix counters bug with bibliography layout.
15077
15078 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15079
15080         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15081         own member functions
15082         (simpleTeXSpecialChars): ditto
15083
15084 2001-07-06  Juergen Vigna  <jug@sad.it>
15085
15086         * a lot of files: changed the access to LyXText::status and the
15087         call of undo-functions.
15088
15089         * undo.[Ch]: added a inset_id to the undo informations.
15090
15091         * undo_funcs.[Ch]: added and moved here all undo functions.
15092
15093         * lyxtext.h: give the status enum a weight, made status_ a private
15094         variable and made accessor functions for it, removed the whole bunch
15095         of undo-functions as they are now in their own file, make some
15096         functions publically available. Added function ownerParagraph with
15097         int parameter.
15098
15099         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15100         made InInset() a const function, added getParFromID() function.
15101
15102         * buffer.[Ch]: added const version for inset_iterator functions,
15103         added getInsetFromID() function.
15104
15105         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15106         changed undo functions for new version.
15107
15108 2001-07-05  Juergen Vigna  <jug@sad.it>
15109
15110         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15111         unknow mechanism does not call the proper constructor but only this
15112         one also if I request the other!?
15113
15114 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15115
15116         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15117
15118         * text2.C (LyXText): use initialization lists.
15119
15120         * lyxtext.h (Selection): initialize set_ and mark_
15121         (init): remove method
15122
15123 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15124
15125         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15126
15127 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15128
15129         * screen.[Ch]: change method names to begin with lowercase
15130
15131         * BufferView_pimpl.C (updateScrollbar): simplify further and
15132         hopefully make it a bit faster.
15133
15134 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15135
15136         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15137         calling directly xforms functions.
15138
15139         * Painter.C (Painter):
15140         * lyx_cb.C (MenuWrite):
15141         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15142         fl_display.
15143
15144         * lyx_gui.C: remove bogus guiruntime extern declaration.
15145
15146 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15149         in NEW_INSETS
15150         (redoDrawingOfParagraph): ditto
15151         (redoParagraphs): ditto
15152         (cutSelection): don't create a object for CutAndPaste use the
15153         static method directly
15154         (pasteSelection): ditto
15155
15156         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15157         LyXview (+ rename)
15158
15159 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * modifications to some other files because of this.
15162
15163         * Makefile.am (lyx_SOURCES): add XFormsView
15164
15165         * XFormsView.[Ch]: new files
15166
15167         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15168         the main window. Move the gui dependent stuff to XFormsView
15169
15170 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * tabular.C (GetCellInset): update cur_cell also in the row/col
15173         version of this function.
15174
15175         * lyxfunc.C: no need to include figure_form.h here.
15176
15177         * FontLoader.h:
15178         * lyxfunc.h:
15179         * lyxscreen.h:
15180         * text2.C:
15181         * lyxvc.C: no need to include forms.h here.
15182
15183 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15186
15187         * lyxfunc.C (Dispatch):
15188         * Spacing.C (set):
15189         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15190         constructor argument.
15191
15192 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * paragraph.C (Paragraph): dont't clear, and just set layout.
15195         (makeSameLayout): use params's copy contructor.
15196
15197         * ParagraphParameters.[Ch] (makeSame): delete method
15198
15199 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15200
15201         * Variables.[Ch]: fix indentation, rename set to isSet
15202
15203 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * lyxfunc.C (Dispatch): fix typo
15206
15207 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15210         upper_bound.
15211
15212         * bufferlist.C: include assert.h for emergencyWrite().
15213
15214 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15217           give up at last (bug #425202) !
15218
15219 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * lyx_gui_misc.C:
15222         * sp_form.h:
15223         * sp_form.C:
15224         * spellchecker.h:
15225         * spellchecker.C: strip spellchecker options and bring up
15226           preferences tab instead
15227
15228 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15231         the istringstream constructor
15232
15233 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * paragraph.C (getLayout): fix return value
15236
15237         * paragraph.h: do not declare getLayout as inline.
15238
15239         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15240
15241 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15242
15243         * lyxcursor.h (operator<): new func
15244         (operator>): new func
15245         (operator>=): new func
15246         (operator<=): new func
15247
15248         * text.C (changeCase): use selection.start and selection.end
15249         (changeRegionCase): require from to be <= to. Require par to be a
15250         valid paragraph.
15251
15252         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15253
15254 2001-06-27  Juergen Vigna  <jug@sad.it>
15255
15256         * text.C (cursorLeftOneWord): changed to return the cursor and added
15257         overlay with BufferView * parameter which calls this one.
15258         (getWord): added
15259         (selectWord): use new getWord function.
15260         (changeCase): renamed from changeWordCase as and extended to work
15261         also on selections.
15262
15263         * lyxtext.h: added enum word_location
15264
15265         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15266         changeCase as this operates now also on selections.
15267
15268 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15269
15270         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15271
15272         * many files: send debug output to Debug::INFO instead of
15273         Debug::ANY.
15274
15275         * converter.C (View):
15276         (Convert):
15277         (Move): send debug output to Debug::FILES instead of console.
15278
15279 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15280
15281         * lyxfunc.C (getStatus): use func_status
15282
15283         * func_status.h: new header, describing the results of
15284         LyXFunc::getStatus;
15285
15286         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15287         LFUN_MATH_HALIGN.
15288
15289 2001-06-25  The LyX Project  <jug@sad.it>
15290
15291         * buffer.C (sgmlOpenTag):
15292         (sgmlCloseTag):
15293         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15294
15295 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15296
15297         * text2.C: remove some dead code
15298
15299         * tabular.C (GetCellInset): store the last cell checked (gotten)
15300
15301         * tabular.h: add the helper for the speedup
15302
15303         * lyxtext.h: remove some dead code
15304
15305 2001-06-26  The LyX Project  <Asger>
15306
15307         * paragraph.C: Change export to LaTeX of alignment to
15308         \begin{center} and family for better roundtrip work with reLyX.
15309
15310         * Tune the math drawing a bit.
15311
15312 2001-06-25  The LyX Project  <Asger>
15313
15314         * LColor.C (LColor): New color for math background. New color
15315         for buttons.
15316
15317 2001-06-25  The LyX Project  <jug@sad.it>
15318
15319         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15320
15321         * lyxfunc.C (Open):
15322         * bufferlist.C (newFile): do not restrict to files ending with
15323         .lyx
15324
15325         * BufferView_pimpl.C (MenuInsertLyXFile):
15326
15327 2001-06-24  The LyX Project  <jug@sad.it>
15328
15329         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15330         of compare_no_case
15331
15332 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * lyxtext.h: rename most methods to begin with a small char.
15335         Lots of changes because of this.
15336
15337         * paragraph.C (Paragraph): do not call fitToSize
15338         (erase): call Pimpl::erase
15339         (insertChar): call Pimpl::insertChar
15340         (insertInset): call Pipl::insertInset
15341         (breakParagraph): do not call fitToSize
15342         (breakParagraphConservative): do not call fitToSize
15343         (fitToSize): remove method
15344
15345         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15346
15347 2001-06-24  The LyX Project  <Asger>
15348
15349         * Fix Qt compilation^2
15350
15351 2001-06-24  The LyX Project  <jug@sad.it>
15352
15353         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15354         depthHook(getDepth()-1).
15355
15356         * paragraph.h:
15357         * ParagraphParameters.h:
15358         * ParameterStruct.h: change type of depth to unsigned int ==
15359         depth_type. Many adaptations to other files before of that.
15360
15361 2001-06-24  The LyX Project  <Asger>
15362
15363         * Fix Qt compilation.
15364
15365 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * paragraph.h: renamed several methods to begin with small letter.
15368         several changes to many parts of the code because of this.
15369
15370 2001-06-23  The LyX Project  <jug@sad.it>
15371
15372         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15373         rewritten to discard all double spaces when KeepEmpty is off
15374         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15375         to only handle newlines but not fiddle with spaces and friends.
15376
15377         * lyxfunc.C (MenuNew): when doing 'new from template', use
15378         template_path as default directory
15379
15380 2001-06-23  The LyX Project  <Asger>
15381
15382         * Clean-up of header file includes all over
15383         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15384
15385 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15386
15387         * paragraph.h: renamed from lyxparagraph.h
15388
15389 2001-06-23  Asger  <lyx@violet.home.sad.it>
15390
15391         * Buffer.h: Removed Buffer::resize
15392         * BufferList.h: Removed BufferList::resize
15393         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15394         the document lazily when we change the width, or the font settings.
15395
15396 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15397
15398         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15399
15400 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15401
15402         * buffer.h: remove out of date comment
15403
15404 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15405
15406         * lyxscreen.h:
15407         * screen.C: fix "theoretical" GC leak
15408
15409 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * LaTeX.C (scanAuxFile):
15412         (deplog): remove trailing \r when reading stream (useful under
15413         win32)
15414
15415 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15416
15417         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15418         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15419         and BufferView::theLockingInset(Inset*), so should use them and not
15420         access bv_->text->the_locking_inset directly.
15421
15422         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15423
15424 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * Makefile.am:
15427         * tex-defs.h: remove old unused file
15428
15429 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15430
15431         * BufferView_pimpl.C: fix typo, remove minibuffer message
15432           when buffer has loaded
15433
15434 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * lyxfunc.C (Dispatch): use stringstream
15437         (MenuNew): use stringstream
15438         (Open): use stringstream
15439
15440         * importer.C (Import): use stringstream
15441
15442         * bufferview_funcs.C (CurrentState): use stringstream
15443
15444         * LaTeX.C (run): use stringstream
15445
15446         * BufferView_pimpl.C (savePosition): use stringstream
15447         (restorePosition): use stringstream
15448         (MenuInsertLyXFile): use stringstream
15449
15450 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15451
15452         * BufferView.C:
15453         * Bullet.C:
15454         * ColorHandler.C:
15455         * FontInfo.C:
15456         * FontLoader.C:
15457         * LColor.C:
15458         * LaTeXFeatures.C:
15459         * Painter.C:
15460         * gettext.C:
15461         * lyx_gui_misc.C:
15462         * lyxserver.C:
15463         * vspace.C: removed // -*- C++ -*- as first line.
15464
15465         * lyxfind.h:
15466         * version.h: added // -*- C++ -*- as first line.
15467
15468 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15471
15472         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15473         of string
15474
15475 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15476
15477         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15478         of floats.
15479
15480 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * gettext.C: include LString.h even when --disable-nls is on.
15483
15484 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15485
15486         * converter.h (Get): changed argument type from int to
15487         FormatList::size_type to avoid unnecessary conversion.
15488
15489         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15490         before using it.
15491
15492 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * gettext.h: include LString.h even when --disable-nls is on.
15495
15496 2001-06-07  Juergen Vigna  <jug@sad.it>
15497
15498         * text.C (BreakAgain): subst spaces with tabs.
15499
15500         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15501         (resizeInsetsLyXText): set force on resizeLyXText.
15502
15503 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * gettext.h (gettext_init):
15506         (locale_init): use a real definition instead of a macro
15507
15508 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * Bufferview_pimpl.C:
15511         * LColor.h:
15512         * LColor.C: further lcolor tidies
15513
15514 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * BufferView_pimpl.C (updateScrollbar): simplify.
15517
15518         * BufferView2.C: don't include insets/insetinfo.h, change
15519         prototype for insertInset and call the Pimpl version. let
15520         updateInset call Pimpl version.
15521
15522         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15523         gotoInset to BufferView::Pimpl
15524
15525 2001-06-01  Juergen Vigna  <jug@sad.it>
15526
15527         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15528         inside a LockingInset (is the update needed at all?).
15529
15530 2001-05-31  Juergen Vigna  <jug@sad.it>
15531
15532         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15533         here not the old one otherwise how should we compare it afterwards
15534         if it's the same!
15535
15536 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * lyxfont.C:
15539         * tabular.C:
15540         * tabular-old.C:
15541         * FontInfo.C: bring C functions into global namespace when
15542         necessary
15543
15544 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * LString.h: make sure config.h has been loaded before LString.h.
15547
15548         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15549         (one for each char read by EatLine!).
15550
15551         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15552         variables.
15553
15554 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15557         to the same as the par we break from
15558
15559 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15562
15563         * MenuBackend.C (expand): also create menu entries for wide
15564         versions of the floats.
15565
15566         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15567
15568         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15569
15570         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15571         frontends/Makefile.am
15572
15573         * text2.C: adjust
15574         * text.C: adjust
15575
15576
15577         * tabular.C (getTokenValue): add std::
15578
15579         * tabular-old.C (getTokenValue): add std::
15580         (getTokenValue): ditto
15581         (getTokenValue): ditto
15582
15583         * screen.C (ToggleSelection): adjust
15584
15585         * lyxtext.h: put selection cursors inside a Selection struct.
15586
15587         * lyxfunc.C (moveCursorUpdate): adjust
15588
15589         * lyxfont.C (latexWriteStartChanges): add std::
15590
15591         * lyxfind.C: adjust
15592
15593         * font.h: delete with(char const *, LyXFont const &)
15594
15595         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15596
15597         * FontInfo.C (getFontname): add std::
15598
15599         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15600         (workAreaButtonPress): adjust
15601         (tripleClick): adjust
15602         (update): adjust
15603         (moveCursorUpdate): adjust
15604         (Dispatch): adjust
15605
15606         * BufferView2.C (gotoInset): adjust
15607
15608 2001-05-30  Juergen Vigna  <jug@sad.it>
15609
15610         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15611         to check pspell I add this as default as I now have new pspell
15612         libraries and they seem to use this.
15613
15614 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15615
15616         * text2.C (CutSelection): make the cursor valid before the call to
15617         ClearSelection.
15618
15619 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15622         relied on 0 terminated strings and other horrors. Bug found due to
15623         the new assert in lyxstring!
15624
15625         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15626         KP_ keys.
15627
15628 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15629
15630         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15631         to latinkeys.bind.
15632
15633         * lyxfunc.C (processKeySym): change method of getting to the
15634         self-insert char.
15635
15636         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15637         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15638         * BufferView_pimpl.[Ch]: here as private methods.
15639
15640 2001-05-28  Juergen Vigna  <jug@sad.it>
15641
15642         * text.C (SetHeightOfRow): added the update() call again as it is
15643         needed to initialize inset dimensions!
15644
15645 2001-05-16  Juergen Vigna  <jug@sad.it>
15646
15647         * text2.C (SetCharFont): Add new function with BufferView * and
15648         bool toggleall parameters for setting insets internal fonts.
15649         (SetFont): Freeze the undo as we may change fonts in Insets and
15650         all this change should be inside only one Undo!
15651
15652         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15653         setting font's in insets as for them we have the SetFont function!
15654
15655 2001-05-15  Juergen Vigna  <jug@sad.it>
15656
15657         * text2.C (ClearSelection): to be sure we REALLY don't have any
15658         selection anymore!
15659
15660         * tabular.C (TeXCellPreamble): fixed the left border problem for
15661         multicolumn cells.
15662
15663 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15666         dependancy file
15667
15668 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15671         LFUN_BREAKPARAGRAPH.
15672
15673         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15674         help test to "internal only", similar for LFUN_INSERT_URL
15675
15676         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15677         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15678         auto_region_delete and deadkeys.
15679
15680 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * LColor.h:
15683         * LColor.C: remove some dead entries, tidy a little
15684
15685 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15688         commented code.
15689         (Dispatch): implement LFUN_ESCAPE
15690
15691         * commandtags.h: add LFUN_ESCAPE
15692
15693         * LyXAction.C (init): add entry for LFUN_ESCAPE
15694
15695         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15696         Remove commented code.
15697         (insertNote): moved here
15698         (open_new_inset): moved here
15699
15700         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15701         BufferView_pimpl
15702
15703 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15704
15705         * kbmap.C (findbinding): clean it up and make it work correctly.
15706
15707         * lyx_main.C (init): do not pass argc and argv as parameters
15708
15709 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15710
15711         * buffer.C: fix path for OS/2 & Win32
15712
15713         * lyx_gui.C:
15714         * lyx_main:
15715         * lyx_main.C: Added os:: class.
15716
15717         * os2_defines.h: update
15718
15719 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15722         better by trying again with reduced state.
15723
15724 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * lyxrc.C (read): print error about invalid key sequence only when
15727         debugging (because not all latinX keysyms are known to some X
15728         servers)
15729
15730         * kbsequence.C (getiso): add a few std:: qualifiers
15731         (getiso): comment out extra return statement.
15732
15733 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15736         handling.
15737         (Dispatch): enhance the accent inset a bit. (not perfect)
15738
15739 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15742
15743 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15744
15745         * bufferlist.C (emergencyWrite): fix assert() call
15746
15747 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15748
15749         * text.C (InsertChar): Added trivial patch to only send the "you
15750         can not do multiple spaces this way" message once during a
15751         session.
15752
15753 2001-05-08  Baruch Even  <baruch@lyx.org>
15754
15755         * Makefile.am: Changed order of libraries to get LyX to link properly
15756         with the gnome frontend.
15757
15758 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * LaTeXFeatures.h: add a std:: qualifier
15761
15762 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * paragraph.C (String): use stringstream
15765
15766 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * paragraph.C (writeFile): remove footflag arg
15769
15770         * buffer.C (makeLaTeXFile): use stringstream
15771         (latexParagraphs): remove footnot gurba
15772
15773         * LaTeXFeatures.C (getPackages): use stringstream
15774         (getMacros): likewise
15775         (getTClassPreamble): likewise
15776         (getFloatDefinitions): new method
15777
15778         * paragraph.C (writeFile): reindent
15779         (Erase): reindent
15780
15781         * WorkArea.h: revert the xpos + etc changes.
15782
15783         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15784
15785         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15786
15787         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15788         (pasteSelection): likewise
15789         * text2.C (CreateUndo): likewise
15790
15791 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15792
15793         * minibuffer.C (peek_event): temporarily reduce the functionality
15794         of the minibuffer (to allow args on lfuns)
15795
15796         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15797         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15798
15799         * buffer.C (readInset): add compability reading of old float
15800         lists, add reading of new style float list.
15801         (readInset): avoid reevaluation of inscmd.getCmdName()
15802         (getLists): reindent
15803
15804         * MenuBackend.C (MenuItem): implement parsing of
15805         md_floatlistinsert and md_floatinsert.
15806         (expand::LastFiles): move initalizaton of iterators out of loop,
15807         avoid reevaluation.
15808         (expand::Documents): introduce typdedef vector<string> Strings,
15809         and use it.
15810         (expand::ExportFormats): introduce typedef vector<Format const *>
15811         Formats, and use it.
15812         (expand): implement FloatListInsert and FloatInsert.
15813
15814         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15815         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15816         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15817
15818         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15819         handling.
15820         (Dispatch::LFUN_FLOAT_LIST): implement
15821
15822 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15823
15824         * LaTeX.C (run): Fix problem with --export code.
15825
15826 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15827
15828         * BufferView.[Ch] (workarea): removed.
15829         (getClipboard) new method; wrapper for workarea()->getClipboard()
15830
15831         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15832         bug.
15833
15834         * WorkArea.h (width, height, xpos, ypos): These methods all
15835         returned the dimensions of the work_area sub-area of WorkArea,
15836         resulting in a position error if the WorkArea were resized. Now
15837         return the dimensions of the entire WorkArea.
15838
15839         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15840
15841 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15842
15843         * LaTeX.C (deplog): correct the syntax of regex reg1
15844
15845 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15846
15847         * undo.C: remove !NEW_INSETS cruft
15848
15849 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * text2.C: remove !NEW_INSETS cruft
15852
15853         * text.C: remove !NEW_INSETS cruft
15854
15855         * tabular.C: remove !NEW_INSETS cruft
15856
15857         * spellchecker.C: remove !NEW_INSETS cruft
15858
15859         * lyxtext.h: remove !NEW_INSETS cruft
15860
15861         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15862
15863         * lyxfunc.C: remove !NEW_INSETS cruft
15864
15865         * lyxfind.C: remove !NEW_INSETS cruft
15866
15867         * lyx_cb.C: remove !NEW_INSETS cruft
15868
15869         * figureForm.C: remove  !NEW_INSETS cruft
15870
15871         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15872
15873         * buffer.[Ch]: remove !NEW_INSETS cruft
15874
15875         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15876
15877         * CutAndPaste.C: remove !NEW_INSETS cruft
15878
15879         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15880
15881         * BufferView2.C: remove !NEW_INSETS cruft
15882
15883         * BufferView.h: remove !NEW_INSETS cruft
15884
15885 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * Lsstream.h: include LString.h before the sstream headers to
15888         fix problem with gcc 2.95.3 and lyxstring
15889
15890 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * lyx_main.C: add using directives when needed for C functions
15893         declared in std:: namespace.
15894
15895 2001-04-27  Juergen Vigna  <jug@sad.it>
15896
15897         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15898         (SetHeightOfRow): comment out the update call should not be needed!
15899
15900 2001-04-13  Juergen Vigna  <jug@sad.it>
15901
15902         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15903         (LyXTabular): tried to minimize operator= operations (and realized
15904         hopfully Lars wish).
15905
15906 2001-04-27  Juergen Vigna  <jug@sad.it>
15907
15908         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15909
15910 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15913
15914         * buffer.C (readInset): hack to make listof algorithm work
15915
15916         * BufferView_pimpl.C: hack to make listof algorithm work
15917
15918 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * LyXAction.C: removed all !NEW_INSETS cruft
15921         (init): moved lfun_item in method
15922
15923         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15924
15925 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15926
15927         * BufferView2.C (theLockingInset): white space.
15928
15929 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15930
15931         * minibuffer.C: include <iostream>
15932
15933         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15934
15935         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15936
15937         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15938
15939         * text.[Ch] (TransposeChars): new method
15940
15941 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15942
15943         * call message directly through LyXView instead of through LyXFunc
15944         * BufferView2.C: adjust
15945         * BufferView_pimpl.C: adjust
15946         * FontLoader.C: adjust
15947         * buffer.C: adjust
15948         * bufferview_funcs.C: adjust
15949         * converter.C: adjust
15950         * figureForm.C: adjust
15951         * importer.C: adjust
15952         * lyx_cb.C: adjust
15953         * lyx_gui_misc.C: adjust
15954         * lyxfunc.C: adjust
15955         * lyxvc.C: adjust
15956         * text2.C: adjust
15957         + more files in subdirs
15958
15959         * lyxparagraph.h (size): move up int file
15960         (GetLayout): ditto
15961
15962         * adjust all uses of Assert to lyx::Assert.
15963
15964         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15965         lyxfunctional in namespace lyx
15966         * layout.C (hasLayout): ditto
15967         (GetLayout): ditto
15968         (GetLayout): ditto
15969         (delete_layout): ditto
15970         (NumberOfClass): ditto
15971         * converter.C (GetFormat): ditto
15972         (GetNumber): ditto
15973         (Add): ditto
15974         (Delete): ditto
15975         (SetViewer): ditto
15976         * bufferlist.C (getFileNames): ditto
15977         (emergencyWriteAll): ditto
15978         (exists): ditto
15979         (getBuffer): ditto
15980         * MenuBackend.C (hasSubmenu): ditto
15981         (hasMenu): ditto
15982         (getMenu): ditto
15983         * BufferView_pimpl.C (getInsetByCode): ditto
15984
15985 2001-04-18  Juergen Vigna  <jug@sad.it>
15986
15987         * vspace.C (asLatexString): fixed the 100% problem.
15988
15989 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15990
15991         * lyxfunc.C (Dispatch):
15992         * minibuffer.C:
15993         * minibuffer.h: add a few std:: qualifiers
15994
15995 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15996
15997         * minibuffer.[Ch]: reimplement so that commands is initiated and
15998         run from lyxfunc, simplified som handling, and made the completion
15999         and history code for complete. wip.
16000
16001         * lyxfunc.C (processKeySym): call message
16002         (miniDispatch): new temporary method
16003         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16004         (LFUN_MESSAGE): implement
16005         (LFUN_MESSAGE_PUSH): implement
16006         (LFUN_MESSAGE_POP): implement
16007         (initMiniBuffer): the initial/defualt minibuffer message.
16008
16009         * lyxfont.[Ch]: inline some more getters
16010
16011         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16012
16013         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16014
16015         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16016         (AutoSave): use LFUN_MESSAGE
16017         (Reconfigure): ditto
16018
16019         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16020
16021         * figureForm.C: use LFUN_MESSAGE
16022
16023         * converter.C (runLaTeX): use LFUN_MESSAGE
16024
16025         * bufferview_funcs.C: use LFUN_MESSAGE
16026         (Melt): ditto
16027         (changeDepth): ditto
16028
16029         * bufferparams.h: use boost::
16030
16031         * bufferlist.h: inherit privately from noncopyable
16032
16033         * bufferlist.C (loadLyXFile): remove some commented code.
16034
16035         * buffer.C (runChktex): use LFUN_MESSAGE
16036
16037         * ShareContainer.h: inherit privately from noncopyable
16038
16039         * ParagraphParameters.[hC] (depth): inline it.
16040
16041         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16042         methods.
16043         (message): new method
16044         (messagePush): ditto
16045         (messagePop): ditto
16046         (show): init minibuffer
16047         (showState): direct call
16048
16049         * LaTeX.[Ch]: inherit privately from noncopyable
16050         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16051         instead of WriteStatus.
16052
16053         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16054
16055         * BufferView_pimpl.C (buffer): don't init minibuffer
16056         (workAreaButtonPress): use LFUN_MESSAGE
16057         (workAreaButtonRelease): ditto
16058         (savePosition): ditto
16059         (restorePosition): ditto
16060         (MenuInsertLyXFile): ditto
16061         (workAreaExpose): don't init minibuffer
16062         (update): remove commented code, simplify
16063
16064         * BufferView2.C (openStuff): use LFUN_MESSAGE
16065         (toggleFloat): ditto
16066         (menuUndo): ditto
16067         (menuRedo): ditto
16068         (copyEnvironment): ditto
16069         (pasteEnvironment): ditto
16070         (copy): ditto
16071         (cut): ditto
16072         (paste): ditto
16073         (gotoInset): ditto
16074         (updateInset): remove some commented code
16075
16076         * lastfiles.h: inherit privately from noncopyable
16077         * layout.h: ditto
16078         * lyx_gui.h: ditto
16079         * lyx_main.h: ditto
16080         * lyxlex.h: ditto
16081         * lyxlex_pimpl.h: ditto
16082
16083         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16084         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16085         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16086
16087         * LyXAction.h: inherit privately from noncopyable, add methods
16088         func_begin, func_end, returning iterators to the func map.
16089
16090         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16091         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16092         (func_begin): new method
16093         (func_end): new method
16094
16095         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16096         and not)
16097         (copySelection): ditto
16098         (pasteSelection): ditto
16099
16100         * BufferView.C: whitespace change
16101         * BufferView.h: inherit privately from noncopyable
16102
16103 2001-04-16  Allan Rae  <rae@lyx.org>
16104
16105         * tabular-old.C (l_getline):
16106         * spellchecker.C (sc_check_word):
16107         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16108         an unrecognised preprocessor directive.  So ensure they're wrapped.
16109
16110 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16111
16112         * src/exporter.C (Export): Give an error message when path to file
16113         contains spaces.
16114
16115 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16116
16117         * LaTeX.C (deplog): Always check that foundfile exists.
16118
16119 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16120
16121         * lyx_main.h:
16122         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16123
16124 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * tabular.[Ch] (getLabelList): implement new method
16127
16128         * minibuffer.h: comment ouf setTiimer
16129
16130         * minibuffer.C (ExecutingCB): constify res
16131         (peek_event): constify s
16132         (Set): constify ntext
16133         (Init): constify nicename
16134
16135         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16136
16137         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16138         (savePosition): use two params to Minibuffer::Set
16139         (restorePosition): ditto
16140
16141 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16142
16143         * lyx_main.C: include language.h
16144
16145         * Makefile.am (lyx_main.o): add language.h
16146
16147 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16148
16149         * exporter.C:
16150         * paragraph.C:
16151         * screen.C:
16152         * tabular.C:
16153         * CutAndPaste.C: include gettext.h
16154
16155         * lyxfont.h: remove old hack with ON and OFF.
16156
16157         * lyxparagraph.h:
16158         * lyxfont.h: do not include language.h...
16159
16160         * BufferView2.C:
16161         * LaTeXFeatures.C:
16162         * Painter.C:
16163         * bufferview_funcs.C:
16164         * font.C:
16165         * lyxfont.C:
16166         * text.C:
16167         * text2.C:
16168         * trans_mgr.C:
16169         * paragraph.C: ... but do it here instead
16170
16171 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16174
16175         * tabular.C: small reformat
16176
16177         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16178         NEW_INSETS version
16179         (GetChar): ditto
16180         (BreakParagraph): ditto
16181         (SetOnlyLayout): ditto
16182         (SetLayout): ditto
16183
16184         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16185         with one arg less.
16186
16187         * lastfiles.C: removed most using decl, add std:: where needed
16188
16189         * buffer.C: ws changes
16190
16191         * MenuBackend.C (class compare_format): put into anon namespace
16192         (expand): constify label, names, action, action2
16193         (expand):
16194
16195         * text.C (SingleWidth): constify font
16196         (IsBoundary): constify rtl2
16197         (GetVisibleRow): constify ww
16198
16199         * LaTeX.C (deplog): constify logfile
16200
16201         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16202         start_x, end_x
16203         (workAreaExpose): constify widthChange, heightChange
16204
16205         * lyxrow.C (par): moved
16206         (height): moved
16207         (next): moved
16208         * lyxrow.h: as inlines here
16209
16210         * lyxfont.h (shape): moved from lyxfont.C
16211         (emph): moved from lyxfont.C
16212
16213         * lyxfont.C (LyXFont): use initialization list for all
16214         constructors
16215         (shape): move to lyxfont.h as inline
16216         (emph): move to lyxfont.h as inline
16217
16218
16219 2001-04-04  Juergen Vigna  <jug@sad.it>
16220
16221         * vspace.C: had to include stdio.h for use of sscanf
16222
16223 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16224
16225         * BufferView.h:
16226         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16227         independent of xforms.
16228
16229 2001-04-02  Juergen Vigna  <jug@sad.it>
16230
16231         * spellchecker.C: fixed namespace placing!
16232
16233 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16234
16235         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16236         the LyXParagraph * is 0.
16237
16238 2001-03-29  Juergen Vigna  <jug@sad.it>
16239
16240         * vspace.C: added support for %, c%, p%, l%.
16241         (stringFromUnit): added helper function.
16242         (asLatexString): changed to give right results for the %-values.
16243
16244         * buffer.C: convert the widthp in a width%.
16245
16246 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16247
16248         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16249         figureForm.[Ch].
16250
16251         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16252         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16253
16254         * lyx_cb.[Ch]: see above.
16255
16256         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16257         form1.[Ch].
16258
16259         * form1.[Ch]:
16260         * lyx.[Ch]: replaced by figure_form.[Ch].
16261
16262         * lyx_gui.C:
16263         * lyx_gui_misc.C:
16264         * lyxfunc.C: changed headers associated with above changes.
16265
16266 2001-03-27  Juergen Vigna  <jug@sad.it>
16267
16268         * BufferView_pimpl.C: set the temporary cursor right!
16269
16270 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16271
16272         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16273
16274 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16275
16276         * LString.h: removed "using std::getline"!
16277
16278         * BufferView_pimpl.C (Dispatch): changes due to changes in
16279         InsetInclude::Params.
16280
16281         * buffer.C (tag_name): removed redundant break statements as they were
16282         producing lots of warnings with my compiler.
16283
16284 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * LString.h: add "using std::getline" when using the real <string>.
16287
16288 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16289
16290         * buffer.C: removed bitset usage.
16291         PAR_TAG moved to an anonymous name space.
16292         (tag_name): new funtion, also in the anonymous namespace.
16293         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16294         (makeDocBookFile): clean code. Completed transition from string arrays
16295         to string vectors.
16296         (SimpleDocBookOnePar): code clean.
16297
16298 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16299
16300         * tabular.C: add some comments.
16301
16302 2001-03-22  Juergen Vigna  <jug@sad.it>
16303
16304         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16305         compatibility read a bit and fixed bug with minipage in different
16306         depth.
16307
16308 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16309
16310         * buffer.C (pop_tag): removed.
16311         (push_tag): removed.
16312         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16313         array replaced with vector. Added support for CDATA sections.
16314         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16315         at any nest level.
16316         (makeDocBookFile): XML conformant declaration of CDATA section,
16317         fixed bug related to <emphasis> in the first paragraph char.
16318         (sgmlOpenTag): exclude empty tags.
16319         (sgmlCloseTag): ditto.
16320
16321         * buffer.h (pop_tag): removed.
16322         (push_tag): removed.
16323
16324 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * language.h (Languages): added size_type and size().
16327
16328 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16329
16330         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16331         response on compability reading of minipages. One probliem is that
16332         the old usage of minipages was «flertydig»
16333
16334         * several files here and in subdirs: don't use static at file
16335         scope use anon namespaces instead.
16336
16337 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16338
16339         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16340         LaTeX output. This is necessary for Literate document
16341         processing.
16342
16343 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16344
16345         * buffer.C: insert hfill when needed.
16346
16347         * tabular.C (l_getline): use string::erase, small whitespace change.
16348
16349         * BufferView_pimpl.C: try the anon namespace.
16350         * WorkArea.C: ditto
16351
16352 2001-03-16  Juergen Vigna  <jug@sad.it>
16353
16354         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16355         otherwise it won't open options-dialogs.
16356
16357         * buffer.C: honor pextraWidth(p) on converting minipages.
16358
16359         * tabular.C (l_getline): changed the functions to strip trailing \r.
16360
16361 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16362
16363         * BufferView_pimpl.C:
16364         * minibuffer..C: added "using SigC::slot" declaration.
16365
16366 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16367
16368         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16369
16370         * text2.C: ditto
16371
16372         * text.C: ditto
16373
16374         * paragraph.C: ditto
16375
16376         * lyxtext.h: NO_PEXTRA
16377
16378         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16379
16380         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16381         * ParameterStruct.h: ditto
16382         * ParagraphParameters.h: ditto
16383         * lyxparagraph.h: ditto
16384
16385 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16386
16387         * buffer.C: add compability for minipage alignment.
16388         (latexParagraphs): remove unwanted pextra check.
16389
16390         * several files: remove CXX_WORKING_NAMESPACES
16391
16392         * buffer.C (pop_tag): tie is in namespace boost
16393
16394         * BufferView.h: noncopyable is in namespace boost
16395         * lyxlex.h: ditto
16396         * lyx_main.h: ditto
16397         * lyx_gui.h: ditto
16398         * layout.h: ditto
16399         * lastfiles.h: ditto
16400         * bufferlist.h: ditto
16401         * ShareContainer.h: ditto
16402         * LyXView.h: ditto
16403         * LyXAction.h: ditto
16404         * LaTeX.h: ditto
16405
16406 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16407
16408         * Merging changes from BRANCH_MVC back into HEAD.
16409
16410         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16411
16412 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16413
16414         * BufferView_pimpl.C: change from intl.C
16415
16416         * combox.h:
16417         * combox.C:
16418         * Makefile.am: move combox.*
16419
16420         * form1.h:
16421         * form1.C:
16422         * lyx_gui.C:
16423         * intl.h:
16424         * intl.C: remove dialog (covered by prefs)
16425
16426 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16427
16428         * lyxfunc.C (Dispatch): removed redundant break statement.
16429
16430 2001-03-14  Juergen Vigna  <jug@sad.it>
16431
16432         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16433
16434 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16435
16436         * buffer.C: add hack to fix compability reading of minipages.
16437
16438 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16439
16440         * buffer.C (getLists): Cleanup.
16441
16442 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16443
16444         * lyxfont.C (update): don't honor toggleall on font size.
16445
16446 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16447
16448         * bmtable.c:
16449         * bmtable.h:
16450         * Makefile.am: moved to frontends/xforms/
16451
16452         * lyx_gui_misc.C:
16453         * lyxfunc.C:
16454         * BufferView_pimpl.C: changes for moved mathpanel
16455
16456 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16457
16458         * gettext.h: fix gettext_init() in --disable-nls
16459
16460 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16461
16462         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16463
16464 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16465
16466         * lyx.C:
16467         * lyx.h: strip external form
16468
16469 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16470
16471         * BufferView_pimpl.C: add comment, destroySplash()
16472
16473 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16474
16475         * BufferView_pimpl.C:
16476         * LyXAction.C:
16477         * buffer.C:
16478         * commandtags.h:
16479         * lyxfunc.C: use re-worked insetinclude
16480
16481 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16482
16483         * buffer.C: add using std::stringstream.
16484
16485         * lyx_cb.C: readd using std::ios.
16486
16487         * buffer.C: add using std::map.
16488
16489         * BufferView_pimpl.C: add using std::vector.
16490
16491         * ShareContainer.h: add std:: to swap.
16492
16493         * buffer.h: add some typedefs
16494         * buffer.C (getLists): use them
16495         (getLists): renamed from getTocList.
16496         add a counter for the different float types and use it in the
16497         generated string.
16498         (getLists): use the same counter for the NEW_INSETS and the "non"
16499         NEW_INSETS
16500
16501         * lyx_cb.h: remove unused items, includes, using etc.
16502
16503         * ShareContainer.h: remove some commented code, add more comments
16504         and "documentation".
16505
16506 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16507
16508         * buffer.C (getTocList): make the list also when NEW_INSETS is
16509         defined.
16510
16511         * buffer.h: remove TocType
16512
16513         * buffer.C (getTocList): change to return a map<string,
16514         vector<TocItem> >, implement for dynamic number of list.
16515
16516         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16517         * text2.C (PasteSelection): adjust
16518         * CutAndPaste.C (pasteSelection): adjust
16519
16520         * FloatList.C (FloatList): update from the new_insets branch.
16521         * Floating.[Ch]: ditto
16522         * LaTeXFeatures.C: ditto
16523         * buffer.C: ditto
16524         * lyxlex_pimpl.C: ditto
16525
16526         * paragraph.C (Last): remove when NEW_INSETS is defined.
16527
16528         * other file: changes because of the above.
16529
16530 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16531
16532         * lyxparagraph.h: rename next to next_, previous to previous_,
16533         make them private for NEW_INSETS. Rename Next() to next(),
16534         Previous() to previous().
16535
16536         * other files: changes because of the above.
16537
16538 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16539
16540         * BufferView.h:
16541         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16542         problem.
16543
16544 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16545
16546         * main.C (main): pass lyx_localedir to gettext_init().
16547
16548         * gettext.h: remove locale_init and gettext_init macros
16549
16550         * gettext.C (locale_init): new function
16551         (gettext_init): new function
16552
16553         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16554         setlocale().
16555
16556 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16557
16558         * Moved credits to frontends:
16559         * credits.[Ch]: removed
16560         * credits_form.[Ch]: removed
16561         * lyx_gui_misc.C: remove credits stuff
16562         * Makefile.am:
16563
16564 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16565
16566         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16567
16568         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16569         unneeded destructor.
16570
16571         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16572         a standalone pointer again.
16573
16574         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16575
16576 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16577
16578         * Makefile.am:
16579         * filedlg.h:
16580         * filedlg.C:
16581         * LyXAction.C:
16582         * ToolbarDefaults.C:
16583         * bufferlist.C:
16584         * commandtags.h:
16585         * form1.C:
16586         * form1.h:
16587         * lyx_cb.C:
16588         * lyx_cb.h:
16589         * lyxfunc.h:
16590         * lyxfunc.C:
16591         * BufferView_pimpl.C: use new file dialog in GUII
16592
16593         * lyx_cb.h:
16594         * lyx_cb.C: remove LayoutsCB to Toolbar
16595
16596 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16597
16598         * ShareContainer.h (get): add std:: qualifier
16599
16600 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * ShareContainer.h: define a proper ShareContainer::value_type
16603         type (and use typename to please compaq cxx)
16604
16605 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16606
16607         * lyxparagraph.h: move serveral local vars to
16608         ParameterStruct/ParagraphParameters., use ShareContainer in
16609         FontTable., make vars in FontTable private and add getter and
16610         setter.
16611
16612         * paragraph.C: changes because of the above.
16613
16614         * lyxfont.h: remove copy constructor and copy assignment. (the
16615         default ones is ok), move number inside FontBits. move inlines to
16616         lyxfont.C
16617
16618         * lyxfont.C: add number to initializaton of statics, move several
16619         inlines here. constify several local vars. some whitespace
16620         cleanup. Dont hide outerscope variables.
16621
16622         * Spacing.h: add two new constructors to match the set methods.
16623
16624         * ShareContainer.h: new file, will perhaps be moved to support
16625
16626         * ParameterStruct.h: new file
16627
16628         * ParagraphParameters.h: new file
16629
16630         * ParagraphParameters.C: new file
16631
16632         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16633         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16634
16635         * BufferView_pimpl.C: ParagraphParameter changes.
16636         * buffer.C: Likewise.
16637         * bufferview_funcs.C: Likewise.
16638         * text.C: Likewise.
16639         * text2.C: Likewise.
16640
16641 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16642
16643         * lyxfind.C (LyXReplace): do not redefine default argument in
16644         implementation.
16645         (IsStringInText): ditto
16646         (SearchForward): ditto
16647         (SearchBackward): ditto
16648
16649 2001-03-06  Juergen Vigna  <jug@sad.it>
16650
16651         * lyxfind.C (IsStringInText): put parentes around expressions.
16652
16653 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16654
16655         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16656
16657 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16658
16659         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16660
16661         * stl_string_fwd.h: add comment
16662
16663         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16664
16665         * tabular.h:
16666         * tabular.C: remove unused DocBook methods
16667
16668         * intl.C:
16669         * language.C:
16670         * paragraph.C:
16671         * buffer.C:
16672         killed DO_USE_DEFAULT_LANGUAGE
16673
16674 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16675
16676         * lyx_gui.C: do not include language.h.
16677
16678         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16679         arguments in function implementation.
16680
16681 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16682
16683         * BufferView_pimpl.C: add <ctime>
16684
16685 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * BufferView_pimpl.C: add using std::find_if
16688
16689 2001-02-27  José Matos  <jamatos@fep.up.pt>
16690
16691         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16692         by OnlyPath.
16693
16694 2001-02-11  José Matos  <jamatos@fep.up.pt>
16695
16696         * buffer.C (makeDocBookFile): command styles now have a parameter as
16697         "title" by default.
16698
16699 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16700
16701         * layout_forms.[Ch]: removed
16702         * lyx_cb.[Ch]: out character
16703         * lyx_gui.C: out character
16704         * lyx_gui_misc.C: out character
16705         * bufferview_funcs.C: : out character,
16706         added toggleall as parameter in ToggleAndShow
16707
16708 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16709
16710         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16711
16712         * text2.C (SetCurrentFont): Disable number property at boundary.
16713
16714 2001-02-26  Juergen Vigna  <jug@sad.it>
16715
16716         * lyxfunc.C (getStatus): added a string argument override function so
16717         that this is correctly called from LyXFunc::Dispatch if it contains a
16718         do_not_use_argument which is used!
16719         (Dispatch): added check for "custom" export and call appropriate func.
16720
16721 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16722
16723         * lyxrc.C: Add language_command_local, language_use_babel and
16724         language_global_options.
16725
16726         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16727
16728         * buffer.C (makeLaTeXFile): Use language_use_babel and
16729         language_global_options.
16730
16731 2001-02-23  Juergen Vigna  <jug@sad.it>
16732
16733         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16734         which works with LyXText and putted it inside BufferView. Here now we
16735         only call for that part the BufferView::Dispatch() function.
16736
16737         * BufferView.C (Dispatch): added.
16738
16739         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16740         functions which needs to use a LyXText over from LyXFunc.
16741         (MenuInsertLyXFile): added
16742         (getInsetByCode): added
16743         (moveCursorUpdate): added
16744         (static TEXT): added
16745
16746 2001-02-22  Juergen Vigna  <jug@sad.it>
16747
16748         * BufferView_pimpl.C (update): call a status update to see if LyXText
16749         needs it.
16750
16751 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16752
16753         * vc-backend.C (revert): implement for CVS
16754         (getLog): implement for CVS
16755
16756 2001-02-20  Juergen Vigna  <jug@sad.it>
16757
16758         * text2.C (ClearSelection): added BufferView param for inset_owner call
16759
16760         * lyxfunc.C (TEXT): added this function and use it instead of
16761         directly owner->view()-text of getLyXText().
16762
16763 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16764
16765         * src/layout_forms.C: out preamble
16766         * src/layout_forms.h: out preamble
16767         * src/lyx_cb.C: out preamble
16768         * src/lyx_cb.h: out preamble
16769         * src/lyx_gui.C: out preamble
16770         * src/lyx_gui_misc.C: out preamble
16771         * src/lyxfunc.C: connect with guii preamble
16772
16773 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16774
16775         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16776
16777 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16778
16779         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16780         whether to run bibtex.
16781
16782 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16785
16786 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16787
16788         * Makefile.am (lyx_SOURCES): removed bibforms.h
16789
16790         * vspace.h: doxygen
16791
16792         * text.C (GetVisibleRow): make several local vars const
16793
16794         * tabular.C: small cleanup.
16795
16796         * lyxserver.C (callback): use compare instead of strncmp
16797
16798         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16799         inlines to after class or to paragraph.C
16800
16801         * lyxfont.h: remove friend operator!=
16802
16803         * converter.h: move friend bool operator< to non friend and after
16804         class def.
16805
16806         * combox.h: small cleanup
16807
16808         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16809         to inlines after class def.
16810
16811         * buffer.C (pop_tag): use string operations instead of strcmp
16812
16813         * bmtable.c: doxygen, small cleanup
16814
16815         * LaTeX.h: remove friend operator==
16816
16817 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16818
16819         * screen.C:
16820         * lyxrc.[Ch]:
16821         * lyxfunc.C:
16822         * lyxfont.[Ch]:
16823         * lyx_cb.C:
16824         * intl.[Ch]:
16825         * commandtags.h:
16826         * buffer.C:
16827         * WorkArea.[Ch]:
16828         * LyXAction.C:
16829         * BufferView_pimpl.C:
16830         * BufferView.[Ch]: remove cruft
16831
16832 2001-02-14  Juergen Vigna  <jug@sad.it>
16833
16834         * lyxfunc.C: removed #if 0 unused code
16835
16836         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16837
16838         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16839
16840         * text2.C (SetSelection): added a BufferView * parameter
16841
16842 2001-02-13  Juergen Vigna  <jug@sad.it>
16843
16844         * lyxfunc.C (Dispatch): fixed protected blank problem.
16845         * BufferView2.C (protectedBlank): added LyxText * parameter.
16846
16847         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16848         (AppendColumn): same as above for column_info.
16849
16850         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16851         (moveCursorUpdate): use a LyXText param for support of InsetText.
16852
16853         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16854         (tripleClick): ditto
16855
16856         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16857
16858         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16859
16860         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16861
16862         * text2.C (SetSelection): set correct update status if inset_owner
16863         (ToggleFree): ditto
16864
16865 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16866
16867         * tabular.C: remove some commented code.
16868
16869 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16870
16871         * BufferView_pimpl.C: call hideSplash()
16872
16873         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16874
16875         * include_form.h:
16876         * bibforms.h: remove
16877
16878         * lyxfunc.C:
16879         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16880           add LFUN_CHILD_CREATE
16881
16882         * counters.h: fix tiny typo
16883
16884         * lyx_cb.C:
16885         * lyx.h:
16886         * lyx_gui.C:
16887         * lyx.C: move splash to frontends/xforms/
16888
16889         * lyx_gui_misc.C: move Include and Bibform to frontends
16890
16891         * lyxvc.h: clarify comment
16892
16893         * vspace.C: tiny housekeeping
16894
16895 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16896
16897         * text.C (PrepareToPrint): RTL Fix.
16898
16899         * paragraph.C (GetUChar): New method.
16900         (String):  Use GetUChar.
16901
16902         * buffer.C (asciiParagraph): Use GetUChar.
16903
16904 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16905
16906         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16907
16908 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * buffer.h:
16911         * buffer.C: rename to getLogName(), handle
16912           build log / latex log nicely
16913
16914 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16915
16916         * MenuBackend.C:
16917         * MenuBackend.h: remove support for reference menuitem type.
16918
16919 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16920
16921         * BufferView_pimpl.C: housekeeping
16922         * BufferView_pimpl.h:
16923         * LyXView.h:
16924         * Makefile.am:
16925         * Timeout.C:
16926         * Timeout.h:
16927         * minibuffer.h: move Timeout GUI-I
16928
16929 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16930
16931         * lyxrc.C (read): Update converters data-structures.
16932
16933 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16934
16935         * LaTeX.h (operator!=): add operator != for Aux_Info
16936
16937 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16938
16939         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16940
16941         * LaTeXLog.C: deleted, useful code moved to Buffer
16942
16943         * buffer.h:
16944         * buffer.C: new function getLatexLogName()
16945
16946         * lyx_gui_misc.C:
16947         * lyx_gui.C:
16948         * lyxvc.C:
16949         * lyxvc.h:
16950         * lyxfunc.C: use frontends for LaTeX and VC logs
16951
16952 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16953
16954         * LaTeX.h: yet another std:: that Allan forgot.
16955
16956         * Variables.C (set): renamed from isset(), because this clashes
16957         with some HP-UX macros (grr).
16958
16959 2001-02-06  Allan Rae  <rae@lyx.org>
16960
16961         * LaTeX.h: Another bug fix.  Missing std:: this time.
16962
16963 2001-02-04  Allan Rae  <rae@lyx.org>
16964
16965         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16966         floats problem. I've left it commented out because it's not quite
16967         correct.  It should also test that the current object is a table or
16968         figure inset.  But I haven't gotten around to figuring out how to do
16969         that.  I *think* it'll be something like: "table" == inset.type()
16970
16971         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16972         bool.
16973
16974 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16975
16976         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16977         all the citation/databases/styles in the auxilary file.
16978         (run): Rerun latex if there was a babel language error.
16979
16980 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16981
16982         * text.C (Backspace): Preserve the font when changing newline char
16983         with a space.
16984         (BreakParagraph): If the cursor is before a space, delete the space.
16985
16986         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16987
16988 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16989
16990         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16991         new argument (code).
16992         (ChangeCitationsIfUnique): New method.
16993
16994         * paragraph.C (GetPositionOfInset): Handle bibkey.
16995
16996 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16997
16998         * BufferView_pimpl.h: change type of Position::par_pos to
16999         LyXParagraph::size_type.
17000
17001 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17002
17003         * BufferView_pimpl.C (savePosition, restorePosition): Write
17004         messages to minibuffer.
17005
17006 2001-01-28  José Matos  <jamatos@fep.up.pt>
17007
17008         * buffer.C (makeDocBookFile): adds support for document language.
17009         A silly restriction on the name of LatexCommand types where removed.
17010         Added support for CDATA sections, allows to chars unescaped, used
17011         among others in code, to avoid escape < and >.
17012
17013 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17014
17015         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17016         saved positions instrad of a stack. Furthermore, a position is
17017         stored using paragraph id/paragraph position.
17018
17019         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17020         Remove LFUN_REF_BACK.
17021
17022 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17023
17024         * converter.C (dvipdfm_options): New method.
17025
17026 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17027
17028         * vspace.C (isValidLength): Fix for empty input string.
17029
17030 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17031
17032         * LyXAction.C (init): change description of LFUN_FIGURE to
17033         "Insert Graphics"
17034
17035 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17036
17037         * LaTeX.C: add using directive
17038
17039 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17040
17041         * MenuBackend.C (expand): Fix the sorting of the formats.
17042
17043 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17044
17045         * lyx_main.C: tiny error message fix
17046
17047 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17048
17049         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17050         calling fl_initialize(). This fixes the problem with ',' as
17051         decimal separator in text files.
17052
17053 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17054
17055         * trans.C (process): Fix the keymap bug.
17056
17057 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17058
17059         * LaTeX.C (scanAuxFiles): New method. Provides support for
17060         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17061         (scanLogFile) Scan for "run BibTeX" messages.
17062
17063         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17064         OT1 font encoding. Also, load the aecompl package if the ae
17065         package is loaded.
17066
17067         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17068
17069 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * texrow.C (increasePos): turn two error messages into debug
17072         messages.
17073
17074 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17075
17076         * LaTeX.C (scanAux): Handle the \@input macro.
17077         (runBibTeX): Use scanAux().
17078
17079         * language.C (latex_options_): New field.
17080
17081         * LaTeXFeatures.C (getMacros): Add language macros.
17082
17083         * buffer.C (makeLaTeXFile): Small fix.
17084
17085 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17086
17087         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17088
17089         * text2.C: add a using directive.
17090
17091 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17092
17093         * BufferView2.C:
17094         * lyx_gui_misc.h:
17095         * lyxfr1.C:
17096         * lyxfunc.C: kill LyXBell.
17097
17098 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17099
17100         * text.C (IsBoundary): Remove the error message
17101
17102         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17103
17104         * lyxrc.C (setDefaults): Correct initialization value for
17105         font_norm_type.
17106
17107 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17108
17109         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17110         gotoError().
17111
17112         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17113         and GotoNextNote().
17114
17115         * src/LyXAction.C: Added reference-next.
17116
17117         * text.C (InsertChar): Use contains instead of strchr.
17118
17119         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17120
17121 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17122
17123         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17124         alignment commands (when needed).
17125
17126         * text.C (InsertChar): Add ':' to number separator chars.