]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f01e342ded08227e1050e86c82e70ad373253fa1
[lyx.git] / src / ChangeLog
1 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
4         bv_->owner(), bv_->buffer() by direct references to the private
5         members. 
6         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
7         (getStatus): isSavedPosition() is in BufferView::Pimpl.
8         (fitCursor): center() is in BufferView::Pimpl.
9         (getStatus, trackChanges, dispatch): no need for a temporary buf
10         variable 
11         (fitCursor, workAreaDispatch): use workarea().workheight()
12
13 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * CutAndPaste.C (pasteSelectionHelper): fix a crash
16
17 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * buffer.C: format up to 241.
20         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
21         break if pasting into ERT
22         * lyxfunc.C (getStatus): suppress mathpanel and
23         LFUN_DIALOG_SHOW_NEW_INSET in ERT 
24
25 2005-02-01  Angus Leeming  <leeming@lyx.org>
26
27         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
28
29 2005-02-01  Angus Leeming  <leeming@lyx.org>
30
31         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
32         calling fs::is_directory().
33
34 2005-01-31  Angus Leeming  <leeming@lyx.org>
35
36         * lyx_main.C (priv_exec): specify explicitly the relative location
37         of the top level build directory when run in-place.
38
39 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
42         LyXText containing the cursor, not the top-level one.
43
44         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
45         true. 
46         (insertStringAsLines): rename par to pit; use temporary variable
47         par to hold a Paragraph; do not store par.layout() in a variable,
48         since the pointer may die when breaking paragraphs; pass pars to
49         breakParagraph() instead of Buffer::paragraphs().
50
51 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
52
53         * lyxlex_pimpl.h: #include <fstream>.
54
55         * BufferView.[Ch] (getLyXText): add a const version.
56
57         * BufferView_pimpl.C: add debug aids.
58
59         * RowList_fwd.h:
60         * buffer.h:
61         * lyxrow.h:
62         * paragraph_funcs.h: add commentary explaining what the class does.
63
64
65         * coordcache.[Ch]: add lots of commentary.
66         (startUpdating, doneUpdating): debug aids.
67         (arrays, insets, parPos, getParPos): accessors to private data.
68
69         * cursor_slice.[Ch] (text): add a const version.
70         * dociterator.[Ch] (text, innerText): add const versions.
71
72         * lyxtext.h (breakParagraph): change the keep_layout arg to a
73         bool.
74
75         * paragraph.C (getRow, pos2ros): add asserts.
76
77         * paragraph.h: add commentary. Lots of.
78
79         * paragraph.[Ch] (metrucs, draw): removed.
80
81         * cursor.C:
82         * rowpainter.[Ch]: const-correct changes.
83
84         * text.C: various obvious clean-ups. Removal of ancient cruft.
85         Bug fixes, even.
86         
87 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
88
89         * vc-backend.C (find_file): rewrite to use boost.filesystem
90         (scanMaster): ditto
91
92         * main.C (main): set default name check for boost.filesystem to
93         no check
94
95         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
96         (open): ditto
97         (doImport): ditto
98         (actOnUpdatedPrefs): ditto
99
100         * lyx_main.C (init): rewrite to use boost.filesystem
101         (queryUserLyXDir): ditto
102
103         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
104         (getContentsOfAsciiFile): ditto
105
106         * lastfiles.C (readFile): rewrite to use boost.filesystem
107
108         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
109
110         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
111         (loadLyXFile): ditto
112
113         * buffer.C (Buffer): adjust for destroydir
114         (getLogName): rewrite to use boost.filesystem
115         (setFileName): ditto
116         (save): use fs::copy_file (from fs_extras)
117
118         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
119
120         * LaTeX.C (run): rewrite to use boost.filesystem
121         (scanAuxFiles): ditto
122         (handleFoundFile): ditto
123
124 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
127
128         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
129
130 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
131
132         * lyxlayout.[Ch]: change some vars from float to double
133
134         * buffer.C (readFile): make a local var const
135
136         * Several files: use convert<> instead of atoi,strToXXX and friends
137
138 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * LaTeXFeatures.[Ch]: Add a static list packages_ that
141         holds the contents of packages.lst. New functions getAvailable
142         and isAvailable to parse and check that list, resp.
143
144         * LyXAction.C:
145         * lfuns.h:
146         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
147
148         * bufferparams.[Ch]: new param output_changes.
149
150         * Buffer.C: increase file format to 240.
151         Use output_changes and isVailable.
152
153         * changes.[Ch]:
154         * paragraph.C:
155         * paragraph_pimpl.C: Use output_changes and isVailable.
156
157 2005-01-23  Angus Leeming  <leeming@lyx.org>
158
159         * output_latex.C: #include "insetbibitem.h", rather than
160         forward declare function bibitemWidest.
161
162 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
163
164         * lyx_main.C (init): make it compile on the Mac.
165
166 2005-01-20  Angus Leeming  <leeming@lyx.org>
167
168         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
169         (setLyXMisc): (char string literal) != (char string literal) is
170         performing a comparison on the addresses. Convert one operand
171         explicitly to string to guarantee expected behaviour.
172         From MSVC warning.
173
174 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
175
176         * buffer.C:
177         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
178
179         * output_plaintext.C: remove unneeded #include gzstream.h.
180
181 2005-01-20  Angus Leeming  <leeming@lyx.org>
182
183         * SpellBase.h: rename some of the elements of the Result enum.
184
185         * aspell_local.h:
186         * ispell.h:
187         * pspell.h:
188         * aspell.C (check):
189         * ispell.C (check):
190         * pspell.C (check): ditto
191
192 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
193
194         * buffer.C: add #include <fstream>.
195
196         * lyx_main.C (init): Compile fix.
197
198         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
199
200 2005-01-20  Angus Leeming  <leeming@lyx.org>
201
202         * mover.h: change commentary to reflect the changed meaning of
203         the $$s placeholder.
204
205 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * output_linuxdoc.C (linuxdocParagraphs): silence warning
208
209         * lyxfind.C (MatchString::operator()): remove bogus semicolon
210
211 2005-01-20  Angus Leeming  <leeming@lyx.org>
212
213         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
214         printing diagnostic data by not dereferecing an iterator past the
215         end.
216
217 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
218
219         * buffer.C (readHeader): use "&&" rather than "and".
220
221         * lyxserver.h (inPipeName, outPipeName): make these const.
222
223 2005-01-19  Angus Leeming  <leeming@lyx.org>
224
225         * lyx_main.C (error_handler, init): protect SIGHUP with
226         #ifdef SIGHUP guards.
227
228 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
231
232 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text.C (setHeightOfRow): add a margin at the top and bottom of
235         the document (bug 1761)
236
237 2005-01-17  Angus Leeming  <leeming@lyx.org>
238
239         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
240         with "python ". Workaround for a brain-dead Windows.
241
242 2005-01-16  Angus Leeming  <leeming@lyx.org>
243
244         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
245         for MacOSX and Windows to use prependEnvPath.
246         Strip out the hard-coded block to add elements to the PATH for
247         MacOSX and replace it with a call to prependEnvPath using the
248         contents of LyXRC::path_prefix.
249         (queryUserLyXDir): strip out the code to run reconfigure, instead
250         returning a boolean indicating the necessity to do so.
251         (reconfigureUserLyXDir): contains the code to reconfigure the
252         user support directory. Is now called after the various LyXRC data
253         files have been read.
254
255         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
256
257 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
258
259         * converter.[Ch] (convert): take a new parameter try_default. Use
260         a default converter (imagemagick) if try_default is true.
261
262 2005-01-13  Angus Leeming  <leeming@lyx.org>
263
264         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
265         os::cygwin_path_fix.
266         (write): output LyXRC::cygwin_path_fix as necessary.
267
268 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
269
270         * lyxrc.h:
271         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
272
273 2005-01-12  Angus Leeming  <leeming@lyx.org>
274
275         * lyx_main.C (init): set the PATH variable to include the
276         directory containing the LyX binary when running on Mac or Windows.
277
278 2005-01-12  Angus Leeming  <leeming@lyx.org>
279
280         * lyx_main.C (init): remove cruft that purports to set the locale
281         dir. It doesn't and is not needed anyway.
282
283 2005-01-10  Angus Leeming  <leeming@lyx.org>
284
285         * Makefile.am: remove the lyx_main.C special casing.
286
287         * BufferView_pimpl.C:
288         * bufferlist.C:
289         * exporter.C:
290         * lyx_cb.C:
291         * lyx_main.C:
292         * lyxfunc.C:
293         * messages.C: use support/package.h to provide the paths to the
294         various directories used by LyX.
295
296 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
297
298         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
299         layout if pasting into an empty paragraph)
300
301 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
302
303         * tex-accent.C: add <string>
304
305 2005-01-06  José Matos  <jamatos@lyx.org>
306
307         * ParagraphParameters.C (write): put every parameter in its own line.
308         * paragraph.C (write): reduce number of consecutive empty lines exported.
309         * buffer.C (LYX_FORMAT): increase file format to 239.
310
311 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
312
313         * everywhere: change support/tostr.h -> support/convert.h
314
315         * tabular.C: make all write_attributes templates, tostr -> convert
316
317         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
318         (emptyTag): and -> &&, and fix type for ret from getChar
319         (getFirstWord): fix type for ret from getChar
320         (onlyText): and -> &&
321         (simpleDocBookOnePar): and not -> && !, fix type for ret from
322         getChar
323
324         * toc.C (goTo, action):
325         * text3.C (dispatch):
326         * text.C (currentState):
327         * tex-accent.C (DoAccent):
328         * sgml.C:
329         * lyxrc.C:
330         * lyxfunc.C (menuNew):
331         * lyxfinc.C (replace):
332         * counters.C (laberItem):
333         * bufferview_funcs.C (font2string):
334         * bufferparams.C (writeFile):
335         * buffer.C (readFile):
336         * Spacing.C (set):
337         * MenuBackend.C: tostr -> convert
338
339         * LaTeX.C (runMessage): fix format
340         (scanAuxFiles): tostr -> convert
341
342         * BufferView_pimpl.C (savePosition): fix format
343         (restorePosition): ditto
344         (dispatch): ditto
345
346 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
347
348         * Spacing.[Ch]: New method getValueAsString().
349
350         * Spacing.[Ch]:
351         * bufferparams.C:
352         * ParagraphParameters.C:
353         * lyxlayout.C:
354         * text.C:
355         * text3.C: store/read spacing value as string.
356
357         * rowpainter.C: change float value (spacing_val) to double.
358
359         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
360         broken custom document spacing).
361
362 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
363
364         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
365         namespace, also more use of temp references and const
366
367         * cursor.[Ch] (getStatus): move to lyxfunc.C
368
369         * bufferparams.C: reformat slightly
370
371         * bufferview_funcs.C (font2string): constify arg
372
373         * changes.C:
374         * converter.C:
375         * counters.C:
376         * bufferlist.C:
377         * buffer_funcs.C: (many funcs): constify arg on function
378         definitions, also make more local vars const, also add ASSERTS on
379         pointer args.
380
381         * buffer.C (LYX_FORMAT): put const in correct place
382         (many funcs): constify arg on function definitions, also make
383         more local vars const
384
385         * aspell_local.h: remove "struct" from typdef setup
386
387         * aspell.C (check): make word_ok const
388         (nextMiss): simplify slightly
389         (error): ditto
390
391 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * lyxrc.[Ch]: store all float values as strings.
394         use int (not float) for lyxrc.dpi.
395
396 2005-01-04  Angus Leeming  <leeming@lyx.org>
397
398         * lyx_cb.C (Reconfigure):
399         * lyx_main.C (queryUserLyXDir):
400         to run the <system_lyxdir>/configure correctly on Windows, prefix
401         the path to the script with "sh " when generating the string that
402         is passed to system().
403
404 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
407
408 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * lyxlength.C (asLatexString): get rid of setprecision
411
412 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * text2.C (setLayout): remove unused variable endpit.
415         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
416
417         * paragraph.C (onlyText): remove unused variable style.
418
419         * cursor.C (bruteFind): remove unused variables beg and end.
420
421         * Makefile.am (dist_noinset_DATA): not needed anymore
422
423         * cheaders/*: remove.
424
425 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
426
427         * text3.C: fix LFUN_MATH_MODE.
428
429 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * buffer_funcs.C (countWords): new function. Counts words between
432         two iterators.
433
434         * BufferView_pimpl.C (getStatus, dispatch): handle
435         LFUN_WORDS_COUNT.
436
437         * LyXAction.C (init):
438         * lfuns.h: add LFUN_WORDS_COUNT.
439
440 2004-12-19  Angus Leeming  <leeming@lyx.org>
441
442         * buffer.C (save): s/slashify_path/internal_path/.
443
444 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
445
446         * lyxfind.C (findChange): do not search for end of pars, because
447         the change tracker cannot handle this (fixes bug 1719).
448
449 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
450
451         * paragraph.[Ch] (autoBreakRows): remove
452
453         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
454
455         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
456         avoid using the paragraph one
457
458         * text2.C (LyXText, insertStringAsLines): adjust
459
460 2004-12-16  Angus Leeming  <leeming@lyx.org>
461
462         * bufferlist.C:
463         * lyx_main.C:
464         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
465
466 2004-12-14  Angus Leeming  <leeming@lyx.org>
467
468         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
469
470         * bufferlist.C (emergencyWrite):
471         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
472         GetEnvPath("HOME").
473
474 2004-12-14  Angus Leeming  <leeming@lyx.org>
475
476         * main.C: (main): no longer pass pointers to os::init.
477
478 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * undo.C (textUndoOrRedo): simplify logic, fix a crash
481         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
482
483 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
484
485         * lyxfunc.C:
486         * text3.C: remove selection_possible global flag
487
488 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * text2.C (getSelectionSpan): remove
491         (changeDepth, changeDepthAllowed): adjust
492
493 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
494
495         * Makefile.am (BOOST_LIBS): use boost variables
496
497 2004-12-03  José Matos  <jamatos@lyx.org>
498
499         * buffer.C: format up to 238.
500
501 2004-12-03  José Matos  <jamatos@lyx.org>
502
503         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
504
505 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * cursor.C (goUpDown): remove call to idxUpDown2
508
509 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
510
511         * tabular.[Ch]: use size_t-like types for cell, row and column
512         indices
513
514 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * lyxfunc.C (getStatus): do not lose previous information when
517         calling BufferView::getStatus; do not set a default "Command
518         disabled" message at the beginning, but just before returning.
519
520 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * cursor.h (getStatus): add better comment from src/cursor.C
523
524 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * text3.C (getStatus): return false when the lfun is not handled
527
528 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * broken_headers.h: remove
531
532         * Makefile.am (lyx_SOURCES): remove broken_headers.h
533
534 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
535
536         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
537         offset_ref accessors
538
539         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
540         top_y_, merge fitcursor with update
541         (updateScrollbar, scrollDocView, fitCursor, center, update): new
542         coord scheme
543         (metrics): introduce
544         (workAreaDispatch): adapt to new coord scheme
545         (redoCurrentBuffer): remove
546
547         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
548
549         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
550         CurStatus enum.
551
552         * coordcache.[Ch]: add paragraph cache and helpers
553
554         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
555         adjust everywhere
556
557         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
558         (targetX, setTargetX): introduce
559
560         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
561         baseline -> ascent, as the rest of lyx
562
563         * lyxtext.h: remove redoParagraphs, updateParPositions,
564         fullRebreak, redoParagraphInternal. move dist to anon namespace in
565         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
566         have ascent/descent (ascent is ascent of first par)
567
568         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
569         step of BufferView
570
571         * paragraph.[Ch]: unify dimension handling with the rest of lyx
572
573         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
574
575         * pariterator.C: fix infinite loop introduced in par->pit renaming
576
577         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
578         in insets and LyXText, draw two off-screen paragraphs using
579         NullPainter, and adapt to new coord scheme
580
581         * text.C:
582         * text2.C:
583         * text3.C: adapt lfun handlers to the new coord scheme, which
584         means: there's only guaranteed coord information for onscreen pars
585         plus one above and one below. This implies that one can do search
586         from y coordinates in the range [-1,workHeight]
587
588 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
589
590         * rename a lot of InsetOld to InsetBase
591
592 2004-11-25  Angus Leeming  <leeming@lyx.org>
593
594         * BufferView_pimpl.C:
595         * lyx_cb.C:
596         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
597
598 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
601         call BufferView::getStatus if LCursor::getStatus did nothing
602         (setStatusMessage, getStatusMessage): removed.
603
604         * FuncStatus.C (message): new methods. Used to provide an error
605         message indicating why a command is disabled.
606         (clear, |=, FuncStatus): update for message.
607
608 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
609
610         * lyxfunc.C (dispatch): always call sendDispatchMessage
611
612 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
613
614         * BufferView.C:
615         * BufferView_pimpl.C:
616         * CutAndPaste.C:
617         * FontIterator.C:
618         * buffer.C:
619         * cursor.C:
620         * cursor_slice.[Ch]:
621         * dociterator.[Ch]:
622         * lyxfind.C:
623         * paragraph_funcs.C:
624         * pariterator.C:
625         * rowpainter.C:
626         * text.C:
627         * text2.C:
628         * text3.C:
629         * undo.C: par->pit renaming
630
631 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
632
633         * tabular.C (cellstruct): use initialization, store a shared_ptr
634         to insettext instead of the insettext directly, adjust to fit.
635         (operator=):  new function
636         (swap): new function
637         (rowstruct): use initialization
638         (columnstruct): use initialization
639         (ltType): use initialization
640
641
642         * lyxlength.h (swap): new function
643
644         * LColor.[Ch] (operator=): use the common semantics
645
646 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * lyxfind.C (findNextChange): update the bufferview after setting
649         the selection.
650
651 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
654         number of InsetOptArgs has already been inserted.
655
656         * output_latex.C (latexOptArgInsets): new method. This outputs all
657         the optarg insets, up to the limit defined in the layout file.
658         (optArgInset): removed
659         (TeXOnePar): call latexOptArgInsets; correctly update texrow
660
661 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * paragraph.C (isLetter): remove special spellchecker-related
664         code; return true also for digits
665         (isWord, isKomma): remove
666
667         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
668         * lyxfind.C (MatchString()): use isLetter instead of isWord
669
670 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
671
672         * pariterator.h (operatir=): comment out un-implemented member
673         function.
674
675         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
676         static cast.
677
678 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
679
680         * lyxfont.h: include LColor.h to satisfy concept checks.
681
682 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
683
684         * pariterator.h: add typdefs for value_type, difference_type,
685         pointer and reference to satisfy concept checks. Also add default
686         constructor for same reason.
687
688         * pariterator.C (operator++): add post-increment operator to
689         satisfy concept checks.
690
691         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
692         checks.
693
694         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
695
696         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
697         checks. Also rename base_type to BaseType to follow naming
698         standard better.
699
700         * FloatList.h: include Floating.h to satisfy concept checks.
701
702 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
703
704         * lyxfunc.C (getStatus): when the origin of the request is menu or
705         toolbar, and the LyXView does not have focus, do as if there was
706         no buffer (bug 1720)
707
708         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
709         FuncRequest to individual entries of LFUN_SEQUENCE
710
711 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * output_latex.C (TeXOnePar): override runparams.moving_arg
714         according to the needprotect value of the current paragraph (bug
715         1739)
716
717         * paragraph.C (simpleTeXOnePar): no need to override
718         runparams.moving_args here
719
720 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
721
722         * vspace.C: fix off-by-one-error, related to fix #1682
723
724 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
725
726         * lengthcommon.C: a more general fix for bug 1682
727
728 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
729
730         * text.C (backspace): fix crash
731
732 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
733
734         * format.[Ch] (getFormatFromFile): new method
735         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
736
737 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
740
741 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * lyxfunc.C (dispatch): remove the verbose argument
744         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
745         instead
746
747         * kbmap.C (defkey): set the origin of func to KEYBOARD
748
749         * MenuBackend.C (MenuItem):
750         * ToolbarBackend.C (add): set the origin of func to UI
751
752         * funcrequest.[Ch]: add origin member, which indicates which part
753         of LyX requests an action
754
755 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
756
757         * converter.C (move): don't lie in the error message
758         * converter.h (isReachable, move): document
759
760 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
761
762         * buffer.C: remove unused using lyx::support::atoi
763         * paragraph_funcs.C: ditto
764
765 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * bufferlist.C (exists): use bind and equal_to instead of
768         compare_memfun
769         (getBuffer): ditto
770         * lyxtextclasslist.C (NumberOfClass): ditto
771
772         * cursor.C (insert): use for_each instead of explicit for loop
773
774         * bufferlist.C (getFileNames): use std::transform and
775         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
776
777         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
778         for loop
779
780         * buffer.C (changeLanguage): use for_each instead of explicit for
781         loop
782         (hasParWithID): implement using getParFromID
783
784         * LaTeXFeatures.C: ws change only
785
786         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
787         to cleanup a bit.
788
789         * BufferView_pimpl.C (trackChanges): use for_each instead of
790         expilicit for loop
791
792 2004-11-04  André Pönitz  <poenitz@gmx.net>
793
794         * undo.h:
795         * undo.C (textUndoOrRedo): fix crash when creating undo information.
796
797         * dociterator.C (asDocIterator): use hard assert again.
798
799 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
800
801         * lyxlength.C (asLatexString): rewrite so that it does not use
802         snprintf anymore
803
804 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
805
806         * text3.C (specialChar, dispatch): make sure cursor moves to the
807         right after inserting an inset
808
809 2004-11-02  José Matos  <jamatos@lyx.org>
810
811         * output_docbook.C (docbook):
812         * paragraph.C (getID):
813         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
814         garantee that the output is always legal.
815
816         * tabular.C (docbook):
817         * outputprams.[Ch]: remove mixed contents.
818
819 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
820
821         * text2.C (setCounter): prevent endless loop
822
823 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * exporter.C (copyFile): use the mover instead of support::copy()
826         * exporter.C (Export): pass format and latex name to copyFile()
827         * exporter.h (addExternalFile): document
828         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
829
830 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
831
832         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
833
834 2004-10-30  José Matos  <jamatos@lyx.org>
835
836         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
837         text and no inset or font change. This allows to use CDATA
838         sections just for the whole paragraph.
839
840 2004-10-30  José Matos  <jamatos@lyx.org>
841
842         * paragraph.C (getFirstWord): remove unused variable.
843
844 2004-10-30  José Matos  <jamatos@lyx.org>
845
846         * paragraph.C (getFirstWord): the content should always be escaped
847         there.
848         (simpleDocBookOnePar):
849         * output_docbook.C (makeEnvironment): replace reference to CDATA
850         to style pass_thru.
851
852 2004-10-30  José Matos  <jamatos@lyx.org>
853
854         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
855
856 2004-10-30  José Matos  <jamatos@lyx.org>
857
858         * output_docbook.C (makeParagraphs):
859         * paragraph.[Ch] (emptyTag): for docbook and company, if the
860         standard paragraph has only a given type of content drop the wrapper.
861
862 2004-10-29  José Matos  <jamatos@lyx.org>
863
864         * output_docbook.C (makeEnvironment):
865         * sgml.C (openTag):
866         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
867
868 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
869
870         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
871         (cleanID): sanitize any id.
872
873 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
874
875         * buffer.C, lyxlex_pimpl.C:
876         * lyxlex_pimpl.C (setFile):
877         s/getExtFromContents/getFormatFromContents/
878
879 2004-10-28  José Matos  <jamatos@lyx.org>
880
881         * output_docbook.C (makeEnvironment): move id to broadest possible
882         scope.
883
884         * sgml.C (openTag): apply substitution of <> for all attributes.
885
886 2004-10-28  José Matos  <jamatos@lyx.org>
887
888         * buffer.C (makeLinuxDocFile, makeDocBookFile):
889         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
890         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
891
892         * sgml.[Ch]: new version for open and closeTag for paragraph and
893         for strings. Now they handle the ids of paragraphs.
894
895 2004-10-26  Angus Leeming  <leeming@lyx.org>
896
897         * Makefile.am: add mover.[Ch].
898
899         * converter.C (convert, move): use the new Movers to move external
900         files to the temp directory.
901
902         * lyx_main.C (init): ensure that the global system_movers data
903         is initialised.
904
905         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
906         preferences file.
907
908         * mover.[Ch]: new files, defining a Mover as a utility to move an
909         external file between directories and, if necessary, manipulate this
910         file using a helper script.
911
912 2004-10-25  José Matos  <jamatos@lyx.org>
913
914         * output_docbook.C (makeCommand): merge two if's that tested the
915         same condition.
916
917 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * sgml.C (escapeString): fix warning in a better way
920
921 2004-10-25  José Matos  <jamatos@lyx.org>
922
923         * sgml.C (escapeString): import the require boosts header file for
924         tie, and avoid a signed unsigned comparison.
925
926 2004-10-25  José Matos  <jamatos@lyx.org>
927
928         * sgml.h: add #include <string>
929
930 2004-10-25  José Matos  <jamatos@lyx.org>
931
932         * sgml.[Ch] (escapeString): new function to escape all the string.
933
934 2004-10-24  José Matos  <jamatos@lyx.org>
935
936         * paragraph.[Ch] (getFirstWord): new function to get the first
937         word. Useful for description.
938         (simpleDocBookOnePar): remove depth argument, add another that
939         says where to start the paragraph.
940
941         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
942         use the new functions to fix cleanly the support for descriptions.
943
944 2004-10-24  José Matos  <jamatos@lyx.org>
945
946         * buffer.C (makeLinuxDocFile, makeDocBookFile):
947         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
948         * output_linuxdoc.C (linuxdocParagraphs):
949         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
950         add buffer as argument.
951
952 2004-10-24  José Matos  <jamatos@lyx.org>
953
954         * output_docbook.C (makeEnvironment, searchEnvironment): place
955         CDATA inside paragraphs and fix scope for listitems.
956
957 2004-10-24  José Matos  <jamatos@lyx.org>
958
959         * output_docbook.C: remove using statement for stack.
960
961 2004-10-23  José Matos  <jamatos@lyx.org>
962
963         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
964         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
965         docbook. The new scheme is recursive and makes use of iterators, the
966         same as latex export works.
967         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
968         directly with the paragraph contents. This code was moved up to
969         output_docbook.C (docbookParagraphs).
970         * sgml.C (openTag, closeTag): removed unneeded newlines.
971         (closeEnvTags) removed.
972
973 2004-10-23  André Pönitz  <poenitz@gmx.net>
974
975         * undo.C (textUndoOrRedo):
976         * dociterator.C (asDocIterator): work around crash
977
978         * cursor.C (getStatus): replace ASSERT by more verbose error message
979           and manual correction of the problem. Should increase stability
980           while providing more sensible information.
981
982 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
985
986         * bufferlist.C (previous, next): new methods
987
988         * lfuns.h:
989         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
990
991 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
992
993         * buffer.C (makeDocBookFile): add dsssl stylesheet control
994         entities to preamble.
995
996 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
997
998         * messages.C (Pimpl): strip off translation context information
999
1000 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1001
1002         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1003         the cursor is correct (bug 1694)
1004
1005 2004-10-13  José Matos  <jamatos@lyx.org>
1006
1007         * output_docbook.C (docbookParagraphs): fix closing tags in the
1008         end of the document.
1009
1010 2004-10-09  José Matos  <jamatos@lyx.org>
1011
1012         * buffer.C: format up to 237.
1013         * bufferparams.C (write): use tostr to convert booleans to strings.
1014
1015 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1018
1019 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * LaTeX.C: implement use of babel language in xindy.
1022
1023 2004-10-05  José Matos  <jamatos@lyx.org>
1024
1025         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1026         Add new translators to help reading and writing the lyx file.
1027
1028 2004-10-05  José Matos  <jamatos@lyx.org>
1029
1030         * ParagraphParameters.C (read):
1031         * text.C (readParToken): replace nexToken by more appropriate lex
1032         methods.
1033
1034 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1035
1036         * LaTeX.C (runMakeIndex):
1037         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1038         (usually 'makeindex') configurable.
1039
1040         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1041         with a variable rather than with a number.
1042
1043 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1044
1045         * output_latex.C (TeXOnePar): make sure font setting is the first
1046         thing that gets output (and the last at the end). Should fix bug
1047         1404.
1048
1049 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1050
1051         * pch.h: use proper signal include
1052
1053         * LaTeX.h: Use preferred calling of Boost.Signal
1054         * buffer.h: ditto
1055
1056 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1057
1058         * pch.h: dont include <boost/function/function0.hpp>
1059
1060         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1061
1062         * paragraph_pimpl.h: remove usage of ShareContainer
1063
1064         * paragraph_pimpl.C: remove initialization of ShareContainer.
1065
1066 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         Fix bug #1666
1069
1070         * BufferView.C (putSelectionAt): change the semantics when
1071         backwards == true: now, this just swaps cursor and anchor wrt the
1072         forward case
1073
1074         * BufferView.h (putSelectionAt): add some documentation
1075
1076         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1077         make sure backwardChar is done at least once (to avoid getting
1078         stuck)
1079         (findNextChange): use putSelectionAt in the forward direction
1080         (operator()): use Paragraph::isWord
1081
1082 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1083
1084         * Spacing.C (set): c_str fix
1085
1086 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1087
1088         * lyx_cb.C (Reconfigure): quote the name of configure script in
1089         case it contains spaces
1090
1091 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1092
1093         * client: new dir
1094
1095         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1096         (BOOST_LIBS): use top_buildir when looking for the file
1097
1098 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1099
1100         * pch.h: do not use include boost/format.hpp, multiple symbols
1101                 will result (gcc bug)
1102
1103
1104 2004-08-23  José Matos  <jamatos@lyx.org>
1105
1106         * bufferparams.C (readToken): fix reading of the author field.
1107
1108 2004-08-20  José Matos  <jamatos@lyx.org>
1109
1110         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1111
1112 2004-08-20  José Matos  <jamatos@lyx.org>
1113
1114         * lyxlex.[Ch] (findToken): remove function.
1115
1116         * ParagraphParameters.C (findToken):
1117         * bufferparams.C (findToken): replace call for previous function
1118         with local copy. This local function has one more argument, the
1119         read string argument.
1120
1121 2004-08-16  José Matos  <jamatos@lyx.org>
1122
1123         * ParagraphParameters.C (write):
1124         * Spacing.C (writeFile):
1125         * bufferparams.C (writeLaTeX):
1126         * lyx_cb.C (Reconfigure):
1127         * paragraph.C (write):
1128         * tabular.C (write): remove unnecessary space at end of line.
1129
1130
1131 2004-08-16  José Matos  <jamatos@lyx.org>
1132
1133         * text.C (readParagraph): remove debug message.
1134
1135 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1138         crash
1139
1140         * output_plaintext.C (asciiParagraph): set depth correctly
1141
1142         * outputparams.h: add member depth
1143
1144         * paragraph_funcs.C (ownerPar): remove.
1145
1146         * text2.C (setCounter): remove first_pit; comment out some
1147         non-working code that uses ownerPar
1148
1149         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1150         uses ownerPar
1151
1152 2004-08-16  José Matos  <jamatos@lyx.org>
1153
1154         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1155         For the same level of importance use the same chanel to report problems.
1156         (read): add code to deal with \begin_body and \end_body.
1157
1158
1159 2004-08-15  José Matos  <jamatos@lyx.org>
1160
1161         * lyxlex.C (getString): fix comment, buffer::readBody is now
1162         buffer:readDocument.
1163
1164         * tex-strings.C (string_papersize): Default -> default,
1165         Custom -> custom, for consistency with other options.
1166
1167 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1168
1169         * pch.h: new file
1170
1171         * Makefile.am: support pch
1172
1173 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * text.C (readParToken): remove the static LyXFont variable and
1176         pass it as a parameter instead. This fixes a nasty bug where an
1177         inset will be inserted with a bad font in some situations
1178         (readParagraph): adapt
1179
1180         * text2.C (setCounter): reduce number of calls to pars_[pit]
1181
1182         * text.C (singleWidth): add an assert, fix a test
1183
1184         * rowpainter.C (paintText): reduce number of calls to singleWidth
1185
1186         * paragraph.C (isHfill):
1187         (isNewline): ws only
1188
1189 2004-08-14  André Pönitz  <poenitz@gmx.net>
1190
1191         * text.C:
1192         * text2.C:
1193         * rowpainter.C:
1194         * lyxtext.h (several functions): use a Paragraph & argument
1195         instead of par_type
1196
1197 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1198
1199         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1200
1201         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1202
1203         * text.C (singleWidth): remove useless test
1204
1205 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * tabular.h: remove bogus comments
1208
1209         * tabular.C (getDescentOfRow):
1210         (isPartOfMultiColumn): add assertions
1211
1212         * lyxlength.C (inPixels): remove #warning
1213
1214 2004-08-14  André Pönitz  <poenitz@gmx.net>
1215
1216         * paragraph.h: inline getChar()
1217
1218         * BufferView.h: remove unused declarations
1219
1220 2004-08-14  José Matos  <jamatos@lyx.org>
1221
1222         * Buffer.[Ch] (readDocument): new name for old readBody.
1223         * Buffer.C: new file format, new keywords: \begin_document,
1224         \begin_header, \begin_body, \end_body.
1225
1226         * bufferparams.C (readToken): replace all calls to lex.nextToken
1227         by lex.next(). Do the same to eatLine except where really needed.
1228
1229         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1230         line when writing to the lyx file.
1231
1232         * output_plaintext.C (asciiParagraph): fix Bibliography style
1233         handling.
1234
1235         * text.C (read): fix end of file handling.
1236
1237 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * MenuBackend.C (Menu::operator[]): new method to access
1240         individual menu items
1241         (Menu::hasFunc): new method. search for an item that corresponds
1242         to a given func
1243         (MenuBackend::specialMenu): new method
1244         (MenuBackend::expand): if a special menu has been set, skip
1245         entries whose func() appears in this menu
1246
1247 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1248
1249         * text3.C: use Debug::DEBUG a bit more
1250
1251         * text.C (leftMargin): try to simplify a tiny bit change var x to
1252         l_margin. Dont output the wide margins always.
1253         (rightMargin): no margin in inner texts
1254
1255         * rowpainter.h (nestMargin): new func
1256         (changebarMargin): new func
1257         (rightMargin): new func
1258
1259         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1260         now functions.
1261         (paintLast): ditto
1262
1263         * factory.C (createInset): modify setDrawFrame
1264
1265         * cursor.C: use Debug::DEBUG a bit more
1266
1267 2004-08-14  André Pönitz  <poenitz@gmx.net>
1268
1269         * coordcache.[Ch]:
1270         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1271         cache for all insets in (at least partially) visible (top-level)
1272         paragraphs.
1273
1274         * BufferView_pimpl.C: reset external coord cache before every update.
1275         This means the coord cache only contains valid entries.
1276
1277 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1278
1279         bug 1096
1280         * BufferView_pimpl.C (getInsetByCode): move function out of class
1281         and change in to a template in anon namespace. Also fix to do what
1282         suits us better.
1283
1284 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1285
1286         bug 1305
1287         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1288         of char
1289         (breakParagraph): rename par to par_offset and use a local
1290         reference. Add code to keep the language over a rebreak.
1291         (breakParagraphConservative): rename par to par_offset, use a
1292         local reference
1293         (mergeParagraph): ditto
1294         (outerHook): ditto
1295         (isFirstInSequence): ditto
1296         (outerFont): rename pit to par_offset
1297
1298         * paragraph.C: ws change
1299         * paragraph.h: ditto
1300         * text3.C: ditto
1301         * text.C: ditto
1302
1303 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1306         treatment for ']'
1307
1308         * paragraph.C (simpleTeXOnePar): when we have a \item with
1309         optional argument, enclose the argument with curly brackets (in
1310         case it contains a closing square bracket)
1311
1312         * text2.C (editXY):
1313         * text2.C (editXY):
1314         * text3.C (checkInsetHit): constify
1315
1316 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1319         documents (bug 1629)
1320
1321 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         Fix toggling of collapsable insets with the mouse (bug 1558)
1324
1325         * lyxfunc.C (dispatch): adapt to LCursor changes
1326
1327         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1328         make sure that dispatch is not invoked twice
1329
1330         * cursor.C (needsUpdate): new method
1331         (dispatch): return void
1332         (result): new method, to access the DispatchResult of the cursor.
1333
1334 2004-08-13  José Matos  <jamatos@lyx.org>
1335
1336         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1337
1338 2004-08-13  André Pönitz  <poenitz@gmx.net>
1339
1340         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1341
1342         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1343           multiple cells
1344
1345 2004-08-12  André Pönitz  <poenitz@gmx.net>
1346
1347         * text3.C: take out the 'cursor right' form insertInset and only
1348         do it in those places when it is really needed. Fixes crash on
1349         C-m...
1350
1351 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1352
1353         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1354
1355         * BufferView_pimpl.C (setBuffer): initialize the current font of
1356         the underlying LyXText
1357
1358 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1359
1360         * kbsequence.C (print): use UI native formatting for menu
1361         shortcuts
1362
1363         * text.C (insertChar): call Paragraph::insertChar with a font
1364         argument (cosmetic)
1365
1366         * paragraph.C (insertInset, insertChar): the version that takes a
1367         LyXFont argument is now a wrapper around the other one (the
1368         opposite used to be true).
1369
1370         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1371         argument. Font setting is done in Paragraph now.
1372
1373 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1374
1375         * outputparams.h: add new members intitle and lang.
1376
1377         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1378         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1379
1380 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1381
1382         * text3.C (dispatch): remove special handling of button 4 and 5,
1383         it is now taken care of in the frontend code.
1384
1385 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * Spacing.h: add <string> (STLPort compile fix)
1388
1389 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1390
1391         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1392
1393 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1394
1395         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1396         to bool.
1397
1398         * converter.C (showMessage): inherit from unary_function, make
1399         operator() const.
1400
1401         * buffer.C (writeFile): initialize retval
1402
1403         * InsetList.h: rename private variable list to list_
1404         * InsetList.[Ch]: adjust accordingly.
1405
1406 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1407
1408         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1409         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1410         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1411         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1412         * ParagraphParameters.C, LaTeXFeatures.C: replace
1413         "support/std_sstream.h" with <sstream>
1414
1415 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1416
1417         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1418         * lyxsocket.C (LyXServerSocket): ditto
1419         (serverCallback): ditto
1420
1421 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1422
1423         * LaTeXFeatures.C: check release date when loading jurabib.
1424
1425 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1426
1427         * lyxserver.C (startPipe): call register_socket_callback
1428         (endPipe): call unregister_socket_callback
1429
1430 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1431
1432         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1433         (LyXServerSocket): register the callback
1434         (LyXServerSocket): unregister the callback
1435         (fd): delete function
1436         (serverCallback): improve error checking and setup the callbacks.
1437         (dataCallback): change arg to fd.
1438         (writeln): new func (copied fro the client socket) used for server
1439         write to client.
1440         (LyXDataSocket): simplify
1441         (~LyXDataSocket): close ann unregiser callback
1442         (server): delete function
1443         (fd): delete function
1444         (readln): small changes, improve some std::string usage
1445         (writeln): constify a bit
1446
1447 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1450         Qt frontend
1451
1452 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1455         after it has been populated
1456
1457 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * text2.C (insertInset): move cursor when inserting inset.
1460
1461 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * kbmap.C (findbindings): a couple of new methods. returns a
1464         container of kb_sequence objects. The real work is done by the
1465         private recursive version
1466         (printbindings): uses findbindings to print out a bracketed list
1467         of bindings (renamed from findbinding).
1468
1469         * MenuBackend.C (binding): use kb_keymap::findbindings
1470
1471         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1472
1473 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1474
1475         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1476
1477 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * paragraph.C (isWord): return true on insets that report
1480         isLetter().
1481
1482         * text.C (getWord): use Paragraph::isWord to decide what is in a
1483         word and what is not; fix bug 1609.
1484
1485 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1486
1487         * tex-strings.C: add "none" to string_paperpackages[], fixes
1488         off-by-one-error in the paperpackage selection.
1489
1490         * lyxlex.[Ch]:
1491         * tex-strings.[Ch]: char const * string[n]
1492         -> char const * const string[]
1493
1494 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1497         command, return early.
1498
1499 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1500
1501         * debug.h: add DEBUG to enum and fix size of ANY.
1502
1503         * debug.C: add support for Debug::DEBUG
1504         (showTags): cast errorTags.level to unsigned int
1505
1506         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1507         (redoCurrentBuffer): ditto
1508         (updateScrollbar): ditto
1509         * cursor.C (dispatch): ditto
1510         * text2.C (setLayout): ditto
1511         (setFont): ditto
1512         (updateCounters): ditto
1513         (editXY): ditto
1514         (deleteEmptyParagraphMechanism): ditto
1515
1516 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1517
1518         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1519         annotations to cleanup the Makefile slightly.
1520
1521 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * lyxrc.C: do not set user_email to a default value but use empty
1524         instead. The entry used to be translated, which does not work
1525         since at the point where lyxrc is constructed there is no
1526         translation service available
1527
1528         * messages.C (getLocaleDir): remove and use directly
1529         lyx_localedir() instead
1530
1531 2004-06-02  Angus Leeming  <leeming@lyx.org>
1532
1533         Fix crash caused by dereferencing null pointer 'exportdata' in
1534         OutputParams by creating a new ExportData variable on the heap,
1535         storing it in a boost::shared_ptr.
1536         The crash was triggered when generating an Instant Preview
1537         of an external inset.
1538
1539         * Makefile.am: add outputparams.C
1540
1541         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1542         (c-tor): allocate memory to it.
1543
1544         * exporter.C (c-tor): associated changes.
1545
1546 2004-06-01  Angus Leeming  <leeming@lyx.org>
1547
1548         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1549         contains data before calling isInset(0). (Bug 1513.)
1550
1551 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1552
1553         * exporter.C (checkOverwrite): new method
1554         * exporter.C (copyFile): new method
1555         * exporter.C (Export): copy referenced files to the document dir
1556         * exporter.[Ch]: new class ExportedFile
1557         * exporter.[Ch]: new class ExportData. Contains currently the
1558         names of referenced external files
1559         * outputparams.h: add exportdata member.
1560
1561 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1562
1563         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1564         version.C-tmp
1565
1566 2004-05-19  Angus Leeming  <leeming@lyx.org>
1567
1568         * LaTeXFeatures.C:
1569         * ToolbarBackend.C:
1570         * bufferparams.C:
1571         * lyxfunc.C: small changes due to the introduction of namespace
1572         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1573
1574 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * text3.C (dispatch): supress update when only moving the cursor
1577         * cursor.C (selHandle): remove commented code
1578
1579 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1580
1581         * paragraph.C (startTeXParParams): correct column count
1582         * CutAndPaste.C (pasteSelection): remove const_cast
1583         * output_docbook.C (docbookParagraphs): remove const_cast
1584         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1585         const_cast and return ParagraphList::const_iterator
1586         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1587         * output_plaintext.C (writeFileAscii): remove const_cast
1588         * paragraph.[Ch] (simpleTeXOnePar): make const
1589         * paragraph_funcs.C (outerPar): use const iterators
1590         * paragraph_pimpl.C (validate): use const iterators
1591         * text.C (setHeightOfRow): use const iterators
1592
1593 2004-05-17  Angus Leeming  <leeming@lyx.org>
1594
1595         * lfuns.h:
1596         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1597
1598         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1599         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1600         if the citation engine has changed.
1601
1602 2004-05-14  José Matos  <jamatos@lyx.org>
1603
1604         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1605         if the textclass does not provide it. Have it different for sgml and
1606         xml.
1607         support the language of document.
1608         * output_docbook.C (docbookParagraphs):
1609         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1610         first anchor as the id of the paragraph, remove special case code.
1611         * sgml.C (escapeChar): escape only < & >.
1612
1613 2004-05-14  Angus Leeming  <leeming@lyx.org>
1614
1615         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1616         dependencies on src/frontends/controllers/biblio.h. Define a
1617         CiteEngine_enum wrapper class to enable the enum to be forward
1618         declared.
1619
1620 2004-05-12  Angus Leeming  <leeming@lyx.org>
1621
1622         * buffer.C: up LYX_FORMAT to 234.
1623         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1624         use_numerical_citations with a single biblio::CiteEngine cite_engine
1625         variable.
1626         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1627
1628 2004-05-13  José Matos  <jamatos@lyx.org>
1629
1630         * converter.h:
1631         * converter.C (Converter, readFlags): add xml member.
1632         * outputparams.h: add XML flavor.
1633         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1634
1635 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * lyxfunc.C (dispatch):
1638         (getStatus): fix handling of LFUN_SEQUENCE
1639
1640 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1641
1642         * debug.C (showLevel): do not forget the end-of-line marker
1643
1644 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * kbmap.C (read): do not stop parsing a bind file when an error
1647         occurs (bug 1575)
1648
1649 2004-04-29  Angus Leeming  <leeming@lyx.org>
1650
1651         * cursor.C:
1652         * factory.C:
1653         * pariterator.C:
1654         * text2.C: wrap a bunch of #warning statements
1655         inside #ifdef WITH_WARNINGS blocks.
1656
1657 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1658
1659         * buffer.C: increment format to 233.
1660
1661 2004-04-28  Angus Leeming  <leeming@lyx.org>
1662
1663         * BufferView_pimpl.C:
1664         * lyxfunc.C:
1665         * text3.C:
1666         s/updateToolbar()/updateToolbars()/
1667         s/Toolbar.h/Toolbars.h/
1668
1669 2004-04-28  Angus Leeming  <leeming@lyx.org>
1670
1671         * BufferView.[Ch] (c-tor):
1672         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1673         No longer passes these data to the WorkArea generator.
1674
1675 2004-04-28  Angus Leeming  <leeming@lyx.org>
1676
1677         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1678
1679 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1680
1681         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1682
1683 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1684
1685         * output_latex.C (TeXEnvironment): make sure that there is a line
1686         break before \end{foo} for the last paragraph of a document
1687         (TeXOnePar): if the paragraph is at the end of the document (or
1688         inset) and the language has to be reset, then make sure that the
1689         line break is _before_ the language command, not after (fixes bug
1690         1225); also make sure that the language reset command is the first
1691         thing after the paragraph (to ensure proper nesting of
1692         environments and thus fix bug 1404)
1693
1694 2004-04-21  John Levon  <levon@movementarian.org>
1695
1696         * ToolbarBackend.h:
1697         * ToolbarBackend.C: make "name" be a programmatic name
1698         and a gui_name field.
1699
1700         * lyxfunc.C: display the minibuffer on M-x
1701
1702 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1703
1704         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1705         (bug 1526)
1706
1707 2004-04-19  Angus Leeming  <leeming@lyx.org>
1708
1709         * BufferView_pimpl.C (setBuffer): changed preview interface.
1710
1711         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1712         possible values.
1713
1714 2004-04-19  John Levon  <levon@movementarian.org>
1715
1716         * BufferView_pimpl.C:
1717         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1718
1719 2004-04-05  Angus Leeming  <leeming@lyx.org>
1720
1721         * text.C (redoParagraphs): add call to updateCounters(), thereby
1722         fixing the missing "Figure #:" label from the caption of a
1723         figure float.
1724
1725 2004-04-13  Angus Leeming  <leeming@lyx.org>
1726
1727         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1728         cursor is clicked out of an inset.
1729
1730 2004-04-13  Angus Leeming  <leeming@lyx.org>
1731
1732         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1733         than an InsetOld one.
1734
1735 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1736
1737         * format.[Ch]: add editor to Format
1738         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1739         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1740
1741 2004-04-08  André Pönitz  <poenitz@gmx.net>
1742
1743         * metricsinfo.h: remove PainterInfo::width member
1744
1745 2004-04-08  Angus Leeming  <leeming@lyx.org>
1746
1747         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1748         "\providecommand" rather than "\newcommand", thereby preventing
1749         clashes with packages that define "\boldsymbol" themselves.
1750         Eg, beamer.
1751
1752 2004-04-08  Angus Leeming  <leeming@lyx.org>
1753
1754         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1755         thereby squashing an unnecessary warning.
1756
1757 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1758
1759         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1760         setBuffer()
1761
1762 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * BufferView.C (setCursor): call redoParagraph (some insets could
1765         have been opened)
1766         (putSelectionAt): remove the 'double update' trick
1767
1768         * BufferView_pimpl.C (fitCursor): call refreshPar
1769         (workAreaDispatch): remove an uneeded update call
1770         (dispatch): remove some manual update calls
1771
1772         * cursor.[Ch]: remove cached_y_, updatePos
1773         (selHandle): set noUpdate when appropriate
1774
1775         * lyxfunc.C (dispatch): track if we need an update
1776
1777         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1778
1779         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1780         (paintSelection): cheap optimization, do not call cursorX when not
1781         needed
1782         (paintPars): change signature
1783         (refreshPar): add
1784         (paintText): adjust
1785         (paintTextInset): adjust
1786
1787         * text.C: adjust
1788
1789 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         * lengthcommon.C: compilation fix: remove explicit array size from
1792         unit_name[] and friends
1793
1794 2004-04-05  Angus Leeming  <leeming@lyx.org>
1795
1796         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1797
1798         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1799         present only for the preferences dialog.
1800         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1801
1802 2004-04-05  Angus Leeming  <leeming@lyx.org>
1803
1804         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1805         to enable the frontends to export changes to lyxrc correctly.
1806
1807         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1808
1809 2004-04-07  André Pönitz  <poenitz@gmx.net>
1810
1811         * cursor.[Ch] (selClear, adjust): remove math
1812
1813         * cursor_slice.C: more agressive assert
1814
1815         * lyxfunc.C:
1816         * BufferView_pimpl.C: rework mouse event dispatch
1817
1818         * dociterator.C:
1819         * paragraph.C:
1820         * text2.C:
1821         * text3.C: adjust
1822
1823 2004-04-05  André Pönitz  <poenitz@gmx.net>
1824
1825         * cursor.[Ch] (valign, halign...): remove unneeded functions
1826
1827 2004-04-05  Angus Leeming  <leeming@lyx.org>
1828
1829         * lyxlength.[Ch] (unit_name et al.): const-correct.
1830
1831 2004-04-05  Angus Leeming  <leeming@lyx.org>
1832
1833         * BufferView_pimpl.C:
1834         * buffer.C:
1835         * counters.C:
1836         * cursor.C:
1837         * lyxfunc.C
1838         * paragraph.C:
1839         * pariterator.C:
1840         * text.C:
1841         * text2.C:
1842         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1843
1844 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1845
1846         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1847
1848 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1851         * BufferView_pimpl.[Ch] (getStatus)
1852         * BufferView.[Ch] (getStatus): add
1853         * lyxfunc.C (getStatus): move lfuns handled in
1854         BufferView::dispatch to te function above
1855         * Cursor.C (setSelection): set selection() = true
1856
1857 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1860
1861 2004-03-31  Angus Leeming  <leeming@lyx.org>
1862
1863         * lyxfunc.C (dispatch): Fall through to the generic
1864         Dialogs::show("preamble").
1865
1866 2004-03-31  Angus Leeming  <leeming@lyx.org>
1867
1868         * lyxfunc.C (dispatch): Fall through to the generic
1869         Dialogs::show("spellchecker").
1870
1871 2004-03-31  Angus Leeming  <leeming@lyx.org>
1872
1873         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1874         preferences dialog.
1875
1876 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * BufferView.C
1879         * cursor.[Ch]
1880         * dociterator.[Ch]:
1881         * insetiterator.[Ch]:
1882         * lyxfind.C:
1883         * lyxfunc.C:
1884         * pariterator.[Ch]:
1885         * text2.C:
1886         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1887
1888 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1891         insets where we are putting the cursor.
1892
1893 2004-03-31  Angus Leeming  <leeming@lyx.org>
1894
1895         * lfuns.h:
1896         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1897
1898         * lyxrc.[Ch] (read, write): overloaded member functions taking
1899         a std::[io]stream arguments.
1900
1901         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1902
1903 2004-03-31  Angus Leeming  <leeming@lyx.org>
1904
1905         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1906         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1907
1908         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1909         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1910
1911 2004-03-31  Angus Leeming  <leeming@lyx.org>
1912
1913         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1914         the LFUN_ALL_INSETS_TOGGLE code.
1915
1916 2004-03-30  Angus Leeming  <leeming@lyx.org>
1917
1918         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1919         has died. Fall through to the generic Dialogs::show("document").
1920
1921 2004-03-30  Angus Leeming  <leeming@lyx.org>
1922
1923         * lfuns.h:
1924         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1925         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1926
1927         * lyxfunc.C (getStatus, dispatch): define the actions for these
1928         lfuns. Little more than a cut and pste job from ControlDocument.C
1929
1930         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1931
1932 2004-03-30  Angus Leeming  <leeming@lyx.org>
1933
1934         * lfuns.h:
1935         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1936         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1937
1938         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1939         open/closed state of ollapsable insets. Usage:
1940
1941         all-inset-toggle <state> <name>, where
1942         <state> == "open" || "closed" || "toggle" and
1943         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1944
1945         * lyxtext.h, text2.C (toggleInset): removed.
1946
1947         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1948         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1949         now passes LFUN_INSET_TOGGLE to the found inset.
1950
1951         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1952         is now invoked as "all-insets-toggle toggle branch".
1953
1954 2004-03-30  Angus Leeming  <leeming@lyx.org>
1955
1956         * dociterator.C:
1957         * insetiterator.C:
1958         * pariterator.[Ch]: added/corrected header blurb.
1959
1960 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * dociterator.[Ch]: add an inset_ member
1963         (backwardPos): implemented
1964         (backwardPos, forwardPos): use inset_ when the stack is empty.
1965         (doc_iterator_begin, doc_iterator_end): implemented
1966         * pariterator.[Ch]: adjust, add begin, end
1967         * insetiterator.[Ch]: adjust, add begin, end
1968         * cursor.C:
1969         * document.C:
1970         * BufferView.C:
1971         * BufferView_pimpl.C:
1972         * CutAndPaste.C: adjust
1973
1974 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1975
1976         * buffer.C: increment file format to 232.
1977         * LaTeXFeatures.C: add bibtopic package.
1978         * bufferparams.[Ch]: param \use_bibtopic.
1979
1980         * lyxrc.[Ch]: add lyxrc bibtex_command
1981         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1982
1983         * buffer.C: increment file format to 231.
1984
1985 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * dociterator.C: implement forwardPar
1988         * iterators.[Ch]: remove, replaced by
1989         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1990         * BufferView.C:
1991         * BufferView_pimpl.C:
1992         * CutAndPaste.C:
1993         * buffer.C:
1994         * bufferview_funcs.C:
1995         * cursor.C:
1996         * lyxfind.C
1997         * lyxfunc.C
1998         * paragraph_funcs.C
1999         * toc.C:
2000         * Makefile.am: adjust
2001
2002 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * CutAndPaste.C (pasteSelection): fix 2 crashes
2005         (eraseSelection): fix a crash
2006         * paragraph_funcs.C: remove a warning
2007
2008 2004-03-28  Angus Leeming  <leeming@lyx.org>
2009
2010         * lfuns.h:
2011         * LyXAction.C (init): new LFUN_PRINT.
2012
2013         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2014
2015 2004-03-27  Angus Leeming  <leeming@lyx.org>
2016
2017         * lfuns.h:
2018         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2019
2020         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2021
2022 2004-03-27  Angus Leeming  <leeming@lyx.org>
2023
2024         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2025         insetlist always contains non-null pointers to insets.
2026
2027 2004-03-26  Angus Leeming  <leeming@lyx.org>
2028
2029         * src/BufferView_pimpl.C:
2030         * src/CutAndPaste.C:
2031         * src/buffer.C:
2032         * src/iterators.C:
2033         * src/output_plaintext.C:
2034         * src/outputparams.h:
2035         * src/paragraph_funcs.C:
2036         * src/rowpainter.C:
2037         * src/text.C:
2038         * src/text2.C:
2039         * src/frontends/controllers/ControlErrorList.C:
2040         * src/frontends/gtk/FileDialogPrivate.C:
2041         * src/frontends/gtk/GPainter.C:
2042         * src/frontends/gtk/GToolbar.C:
2043         * src/frontends/qt2/QRef.C:
2044         * src/mathed/math_scriptinset.C: squash compiler warnings.
2045
2046 2004-03-26  Angus Leeming  <leeming@lyx.org>
2047
2048         * ispell.C (LaunchIspell::start):
2049         * lyx_cb.C (AutoSaveBuffer::start):
2050         invoke run(DontWait) rather than runNonBlocking().
2051
2052 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2055
2056 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * kbsequence.C (print): adjust
2059
2060         * kbmap.C (printKeySym): rename and change signature
2061         (printKey): use LyXKeySym::print()
2062
2063 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2064
2065         * undo.C: add using std::advance to compile for stlport
2066
2067 2004-03-24  Angus Leeming  <leeming@lyx.org>
2068
2069         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2070         it leads to a crash when no buffer is present.
2071
2072 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073             Martin Vermeer  <martin.vermeer@hut.fi>
2074
2075         * lyxfunc.C (dispatch):
2076         * bufferparams.C (readToken): use the new LColor::setColor
2077
2078         * LColor.[Ch] (setColor): new version that takes two strings as
2079         argument and creates a new color entry if necessary
2080
2081 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2082
2083         * buffer.C (makeLaTeXFile): if the main latex file that is
2084         processed is usually a subdocument of some master, then pretend
2085         for a while that it is actually the master
2086
2087 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2088
2089         * buffer.C (getLabelList):
2090         (getBibkeyList): use getMasterBuffer()
2091         (getMasterBuffer): new method. Returns the main document in the
2092         case where one is using included documents.
2093
2094 2004-03-25  André Pönitz  <poenitz@gmx.net>
2095
2096         * Makefile.am:
2097         * iterators.[Ch]:
2098         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2099
2100         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2101
2102         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2103         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2104
2105         * ParameterStruct.h: merge with ParagraphParameters
2106
2107         * lyxtext.h: remove LyXText::parOffset() and getPar()
2108
2109         * text3.C: Remove all 'manual' update calls. We do now one per user
2110         interaction which is completely sufficient.
2111
2112         * Bidi.C:
2113         * BufferView.[Ch]:
2114         * BufferView_pimpl.C:
2115         * FontIterator.[Ch]:
2116         * MenuBackend.C:
2117         * ParagraphParameters.[Ch]:
2118         * buffer.C:
2119         * buffer.h:
2120         * bufferlist.C:
2121         * cursor.[Ch]:
2122         * cursor_slice.[Ch]:
2123         * dociterator.[Ch]:
2124         * errorlist.[Ch]:
2125         * factory.C:
2126         * lfuns.h:
2127         * lyxfind.C:
2128         * lyxfunc.C:
2129         * output_docbook.[Ch]:
2130         * output_latex.[Ch]:
2131         * output_linuxdoc.[Ch]:
2132         * output_plaintext.[Ch]:
2133         * paragraph.[Ch]:
2134         * paragraph_funcs.[Ch]:
2135         * paragraph_pimpl.[Ch]:
2136         * rowpainter.C:
2137         * tabular.[Ch]:
2138         * text.C:
2139         * text2.C:
2140         * toc.C:
2141         * undo.[Ch]: adjust
2142
2143         * frontends/controllers/ControlDocument.C:
2144         * frontends/controllers/ControlErrorList.C:
2145         * frontends/controllers/ControlSpellchecker.C:
2146         * insets/inset.C:
2147         * insets/inset.h:
2148         * insets/insetbase.h:
2149         * insets/insetbibitem.C:
2150         * insets/insetbox.C:
2151         * insets/insetbranch.C:
2152         * insets/insetcaption.C:
2153         * insets/insetcharstyle.C:
2154         * insets/insetcharstyle.h:
2155         * insets/insetcollapsable.C:
2156         * insets/insetcollapsable.h:
2157         * insets/insetert.C:
2158         * insets/insetfloat.C:
2159         * insets/insetfoot.C:
2160         * insets/insetmarginal.C:
2161         * insets/insetnote.C:
2162         * insets/insetoptarg.C:
2163         * insets/insettabular.C:
2164         * insets/insettext.C:
2165         * insets/insettext.h:
2166         * insets/insetwrap.C:
2167         * mathed/math_mboxinset.C:
2168         * mathed/math_nestinset.C:
2169         * mathed/math_scriptinset.C:
2170         * mathed/math_scriptinset.h:
2171         * support/types.h:
2172
2173 2004-03-24  Angus Leeming  <leeming@lyx.org>
2174
2175         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2176         deal with any child processes that have finished but are waiting to
2177         communicate this fact to the rest of LyX.
2178
2179 2004-03-24  Angus Leeming  <leeming@lyx.org>
2180
2181         64-bit compile fixes.
2182
2183         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2184         (c-tor): pass lyx::pos_types rather than ints.
2185
2186         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2187         lyx::pos_type.
2188
2189         * text.C (Delete): compile fix.
2190         (getPar): ensure that function declaration is the same as that in
2191         the header file.
2192
2193 2004-03-23  Angus Leeming  <leeming@lyx.org>
2194
2195         * ispell.C (LaunchIspell):
2196         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2197         a boost::shred_ptr rather than a std::auto_ptr.
2198
2199 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2200
2201         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2202         handle LFUN_FILE_INSERT_*
2203
2204         * lyxrc.C (setDefaults, getDescription, output, read):
2205         * lyxrc.h: remove ps_command
2206
2207 2004-03-22  Angus Leeming  <leeming@lyx.org>
2208
2209         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2210         Ensure that error_handler is processed once only and that all data
2211         is saved before attempting to output any warning messages.
2212
2213         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2214
2215 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2218
2219 2004-03-19  André Pönitz  <poenitz@gmx.net>
2220
2221         * cursor.[Ch] (reset): take main text inset as argument
2222
2223         * BufferView: adjust
2224         * BufferView_pimpl.C: adjust
2225
2226         * paragraph.[Ch]: fix completely broken operator=()
2227
2228 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * LColor.C (getFromLyXName): make sure that the color name is used
2231         as lowercase.
2232
2233 2004-03-17  Angus Leeming  <leeming@lyx.org>
2234
2235         * lfuns.h:
2236         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2237
2238         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2239         dialog and to kill a forked process.
2240
2241 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * text2.C (setCursorFromCoordinates): fix font problem
2244
2245 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2248         bogus "rebuild cursor" code
2249
2250 2004-03-11  André Pönitz  <poenitz@gmx.net>
2251
2252         * buffer.[Ch]: use InsetText instead of LyXText as container for
2253         the main lyx text.
2254
2255         * dociterator.[Ch]: drop the BufferView * member which is not needed
2256         anymore after the change to buffer.C
2257
2258         * paragraph_funcs.C:
2259         * text.C:
2260         * text2.C:
2261         * BufferView.[Ch]:
2262         * BufferView_pimpl.[Ch]:
2263         * cursor.[Ch]:
2264         * cursor_slice.[Ch]: adjust
2265
2266         * text3.C: fix bug in mathDispatch
2267
2268 2004-03-08  André Pönitz  <poenitz@gmx.net>
2269
2270         * undo.[Ch]: use 'StableDocumentIterator' as base for
2271         the Undo struct.
2272
2273 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2274
2275         * LaTeXFeatures.C:
2276         * bufferparams.[Ch]: add jurabib support and param.
2277
2278         * LaTeX.C: add FIXME/comment.
2279
2280 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2281
2282         * buffer.C: increment file format to 230.
2283
2284 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2285
2286         * cursor.C (dispatch): avoid infinite loops
2287
2288 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * rowpainter.C (paintSelection): fix x coordinates
2291
2292 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2293
2294         * text.C (rowBreakPoint): fix breaking before displayed insets
2295
2296 2004-03-01  André Pönitz  <poenitz@gmx.net>
2297
2298         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2299
2300         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2301
2302         * Makefile.am:
2303         * BufferView.C:
2304         * BufferView_pimpl.C:
2305         * buffer.C:
2306         * lyxfind.C:
2307         * lyxfunc.C:
2308         * text.C:
2309         * text2.C:
2310         * text3.C: adjust
2311
2312 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * lyxtext.h:
2315         * text.C:
2316         * text2.C:
2317         * rowpainter.C:
2318         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2319         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2320
2321 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * Bidi.[Ch] (computeTables): const correctness
2324         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2325         fill_hfill, fill_label_hfill and x from Row
2326         * lyxtext.h: prepareToPrint returns a RowMetrics
2327         * rowPainter.C: adjust
2328         * text.C (prepareToPrint): use width, not textWidth. adjust
2329         (redoParagraphInternal, cursorX): adjust
2330         * text2.C (getColumnNearX): adjust
2331         (init): put a default value to the top LyXText::width
2332
2333 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2336
2337 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2338
2339         * lyxtext.h: add FontIterator class
2340
2341         * text.C (FontIterator, operator*, operator->, operator++): add
2342         (rowBreakPoint, setRowWidth): adjust (fixing a
2343         rebreaking bug)
2344
2345 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * BufferView_pimpl.C (workAreaDispatch): allow also
2348         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2349
2350 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * text.C (rowBreakPoint): fix a bug showing with very large insets
2353
2354 2004-02-25  André Pönitz  <poenitz@gmx.net>
2355
2356         * text3.C:
2357         * cursor.[Ch]: move some mathed specific code to mathed
2358
2359 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2360
2361         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2362         use_tempdir in preferences
2363         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2364         tempfile creation
2365         * lyx_main.C: ensure that tempdir is valid
2366         * lyxlex.h: correct typo
2367         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2368         * paragraph.[Ch] (isMultiLingual): make const
2369         * cursor.[Ch] (openable): make const
2370
2371 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2372
2373         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2374
2375 2004-02-20  André Pönitz  <poenitz@gmx.net>
2376
2377         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2378
2379         * cursor.[Ch]: prepare for localized getStatus()
2380
2381         * lyxtext.h:
2382         * tabular.C:
2383         * text.C:
2384         * text2.C:
2385         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2386
2387 2004-02-20  André Pönitz  <poenitz@gmx.net>
2388
2389         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2390
2391 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2392
2393         * text2.C (setCursorFromCoordinates): switch to absolute coords
2394         (cursorUp): adjust
2395         (cursorDown): adjust
2396         * text3.C (dispatch): adjust
2397
2398 2004-02-16  André Pönitz  <poenitz@gmx.net>
2399
2400         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2401           insets/ChangeLog)
2402
2403         * cursor_slice.[Ch]: remove unneeded acessor function
2404
2405         * lyxtext.h: rename rtl() to isRTL()
2406
2407         * rowpainter.C:
2408         * tabular.C:
2409         * text.C:
2410         * text2.C:
2411         * text3.C: adjust
2412
2413 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * rowpainter.C (paintSelection): coord fix
2416
2417 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2418
2419         * Spacing.C: compile fix
2420
2421 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2422
2423         * cursor.C (dispatch): restore current_ before returning
2424
2425 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2426
2427         * text2.C (cursorUp, cursorDown): fix coords
2428         (moveUp): fix crash
2429
2430 2004-02-12  André Pönitz  <poenitz@gmx.net>
2431
2432         * lyxtext.h:
2433         * text.C:
2434         * text2.C:
2435         * text3.C: add LCursor & parameter to most cursor movement functions
2436           remove usage of LyXText::cursorRow() and cursorPar()
2437
2438         * cursor.[Ch]: add textRow() needed members
2439
2440         * BufferView.C:
2441         * BufferView_pimpl.C:
2442         * paragraph.[Ch]:
2443         * BufferView.C:
2444         * BufferView_pimpl.C: adjust
2445
2446 2004-02-11  André Pönitz  <poenitz@gmx.net>
2447
2448         * lyxfunc.C:
2449         * BufferView.[Ch]:
2450         * BufferView_pimpl.C: shift undo/redo handling
2451
2452         * cursor.[Ch]: fix mathed crash
2453
2454         * lyxfind.C:
2455         * lyxtext.h: move selectionAsText to LCursor
2456
2457         * output_latex.C:
2458         * paragraph.C:
2459         * text.C:
2460         * text2.C:
2461         * text3.C: adjust
2462
2463         * rowpainter.C: fix excessive drawing
2464
2465 2004-02-06  André Pönitz  <poenitz@gmx.net>
2466
2467         * BufferView.[Ch]:
2468         * BufferView_pimpl.[Ch]:
2469         * text3.C: move some text specific LFUN handling
2470
2471 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * text3.C (checkInsetHit): adjust coords
2474         * text2.C (getColumnNearX): adjust coords
2475         (edit): adjust coords
2476         * text.C (getRowNearY): add two asserts
2477
2478 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2479
2480         * converter.C:
2481         * format.C: add using std::distance to compile on gcc 2.95/stlport
2482
2483 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2484
2485         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2486
2487 2004-02-04  André Pönitz  <poenitz@gmx.net>
2488
2489         * BufferView.[Ch] (insertInset):
2490         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2491
2492         * text2.C:
2493         * text3.C: adjust
2494
2495 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2496
2497         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2498         on the default clause of the switch
2499         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2500         wasn't catched by LCursor::dispatch
2501
2502 2004-02-03  André Pönitz  <poenitz@gmx.net>
2503
2504         * BufferView.C:
2505         * cursor.[Ch]: some additional asserts
2506
2507         * undo.[Ch]: remove LyXText dependency in interface
2508
2509         * lyxfunc.C: adjust
2510
2511         * lyxtext.h (firstPar, lastPar): remove dead functions
2512
2513         * text.C:
2514         * text2.C:
2515         * text3.C:
2516         * paragraph.[Ch]: adjust
2517
2518 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * lyxfind.C (find): fix argument order in call to ::find
2521
2522 2004-02-02  André Pönitz  <poenitz@gmx.net>
2523
2524         * cursor.[Ch]: remove direct access to anchor
2525
2526         * text.C: remove findText() hack
2527
2528 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2529
2530         * iterators.[Ch] (lockPath): remove in favour of...
2531         * BufferView.[Ch] (setCursor): this addition
2532         * BufferView.C (putSelectionAt): adjust
2533         * undo.C (performUndoOrRedo): adjust
2534         * lyxfunc.C (dispatch): adjust
2535
2536 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2537
2538         * iterators.C (lockPath): add a missing slice
2539         * undo.C (performUndoOrRedo): remove redundant positioning code
2540
2541 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2542
2543         * vc-backend.C (scanMaster): ";" -> ';'
2544
2545 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2546
2547         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2548         std::binary_function
2549
2550         * lyxtextclass.C (compare_name): rename to...
2551         (LayoutNamesEqual): ...this
2552
2553         * lyxlex_pimpl.C (compare_tags): inherit from
2554         std::binary_function, put back into anon namespace
2555
2556         * lyxfind.C (MatchString): inherig from std::binary_function
2557         (findChange): use empty() istead of !size()
2558
2559         * format.C (FormatNamesEqual): new functor
2560         (getFormat): use it
2561         (getNumber): use it
2562         (add): use it
2563         (erase): use it
2564         (setViewer): use it
2565
2566         * converter.C (compare_Converter): rename to...
2567         (ConverterEqual): ...this, and fixup a bit.
2568         (getConverter): use it, and make function const
2569         (getNumber): use it, and make function const
2570         (add): use it
2571         (erase): use it:
2572
2573         * bufferlist.C: add using boost::bind
2574
2575         * MenuBackend.C (MenuNamesEqual): new functor
2576         (hasMenu): use it, and make function const
2577         (hasSubmenu): use nested bind to get rid of compare_memfun.
2578
2579 2004-01-30  André Pönitz  <poenitz@gmx.net>
2580
2581         * BufferView_pimpl.C:
2582         * cursor.C:
2583         * cursor.h:
2584         * cursor_slice.[Ch]:
2585         * lyxfunc.C:
2586         * lyxtext.h:
2587         * paragraph_funcs.C:
2588         * paragraph_funcs.h:
2589         * rowpainter.C:
2590         * text.C:
2591         * text2.C:
2592         * text3.C: move some of the edit(x,y) handling to the insets
2593         some coordinate changes.
2594
2595 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2596
2597         * text.C: add using statements for std::advance and std::distance
2598
2599         * paragraph.C: add using statement for std::distance
2600
2601         * lyxfind.C: add using statement for std::advance
2602
2603         * cursor.C (region): remove std:: from swap
2604         (openable): use nucleus in stead of operator->
2605
2606         * BufferView.C: add using statements for std::distance and std::swap
2607
2608 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2609
2610         * iterators.C: Remove the pimple, move the needed structures to
2611         the header file. Create accessor for the positions stack.
2612         (asPosIterator): remove function
2613
2614         * PosIterator.C (PosIterator): move constructors to top of file
2615         (PosIterator): reimplement the constructor taking a ParIterator in
2616         terms of setFrom.
2617         (setFrom): new function
2618         (operator!=): inline it
2619
2620 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2621
2622         * lyxfind.C (replaceAll): use std::advance
2623
2624         * iterators.h: inherit from std::iterator.
2625
2626         * PosIterator.C (advance, distance): remove
2627         * PosIterator.h: interit from std::iterator.
2628
2629 2004-01-26  André Pönitz  <poenitz@gmx.net>
2630
2631         * BufferView.[Ch]:
2632         * BufferView_pimpl.[Ch]:
2633         * InsetList.[Ch]:
2634         * PosIterator.[Ch]:
2635         * buffer.h:
2636         * bufferview_funcs.C:
2637         * cursor.[Ch]:
2638         * cursor_slice.h:
2639         * factory.[Ch]:
2640         * iterators.[Ch]:
2641         * lyxfind.C:
2642         * lyxfunc.C:
2643         * lyxtext.h:
2644         * output_docbook.C:
2645         * output_latex.C:
2646         * output_linuxdoc.C:
2647         * output_plaintext.C:
2648         * paragraph.[Ch]:
2649         * paragraph_funcs.[Ch]:
2650         * paragraph_pimpl.[Ch]:
2651         * rowpainter.C:
2652         * tabular.C:
2653         * tabular.h:
2654         * text.C:
2655         * text2.C:
2656         * text3.C: more IU:  dumps most of the rest of the mathcursor
2657     implementation into cursor.[Ch]; "globalize" a bit of it.
2658
2659 2004-01-25  Angus Leeming  <leeming@lyx.org>
2660
2661         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2662
2663 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2664
2665         * LaTeXFeatures.h: add nice_ and nice() const
2666         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2667
2668 2004-01-20  André Pönitz  <poenitz@gmx.net>
2669
2670         * BufferView.[Ch]:
2671         * BufferView_pimpl.C:
2672         * PosIterator.C:
2673         * bufferview_funcs.C:
2674         * cursor.[Ch]:
2675         * cursor_slice.[Ch]:
2676         * factory.C:
2677         * iterators.C:
2678         * lyx_cb.C:
2679         * lyxfind.C:
2680         * lyxfunc.C:
2681         * lyxtext.h:
2682         * rowpainter.C:
2683         * text.C:
2684         * text2.C:
2685         * text3.C:
2686         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2687           LCursor and mathcursor parts to LCursor and InsetBase.
2688
2689 2004-01-15  André Pönitz  <poenitz@gmx.net>
2690
2691         * cursor_slice.[Ch]: add a few covienience functions
2692
2693         * funcrequest.[Ch]: remove BufferView * member
2694
2695         * BufferView_pimpl.C:
2696         * cursor.C:
2697         * factory.[Ch]:
2698         * lyxfind.[Ch]:
2699         * lyxfunc.C:
2700         * lyxtext.h:
2701         * text3.C:
2702         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2703
2704 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2707         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2708
2709 2004-01-13  André Pönitz  <poenitz@gmx.net>
2710
2711         * textcursor.[Ch]:
2712         * lyxtext.h: hide cursor and selection anchor behind accessor function
2713
2714         * BufferView.C:
2715         * BufferView_pimpl.[Ch]:
2716         * PosIterator.C:
2717         * bufferview_funcs.C:
2718         * cursor.h:
2719         * lyxfind.C:
2720         * lyxfunc.C:
2721         * text.C:
2722         * text2.C:
2723         * text3.C:
2724         * undo.C: adjust
2725
2726         * cursor.h:
2727         * cursor_slice.[Ch]: some integer type changes for inset unification
2728
2729         * lyxcursor.[hC]: remove, it's CursorSlice now.
2730
2731         * Makefile.am:
2732         * BufferView_pimpl.[Ch]:
2733         * bufferview_funcs.C:
2734         * cursor_slice.C:
2735         * lyxtext.h:
2736         * text.C:
2737         * text2.C:
2738         * text3.C:
2739         * textcursor.[Ch]: adjust
2740
2741 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * text2.C (undoSpan): add and use
2744         * text.C (breakParagraph): use undoSpan (fix bug 578)
2745         * lyxtext.h: adjust
2746
2747 2004-01-08  Angus Leeming  <leeming@lyx.org>
2748
2749         * BufferView_pimpl.C (MenuInsertLyXFile):
2750         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2751         * lyxfunc.C (menuNew, open, doImport):
2752         FileFilterList change to the FileDialog open and save functions.
2753
2754 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2755
2756         * ShareContainer.h: make isEqual and isUnique adaptable
2757
2758         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2759
2760 2004-01-07  Angus Leeming  <leeming@lyx.org>
2761
2762         * LyXAction.C:
2763         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2764
2765         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2766
2767         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2768         functions replacing find, replace and replaceAll.
2769
2770         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2771         LFUN_WORDFIND(FORWARD|BACKWARD).
2772
2773 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2774
2775         * text.C (breakParagraph): remove an outdated #warning
2776
2777 2004-01-07  André Pönitz  <poenitz@gmx.net>
2778
2779         * lyxfind.C: somewhat clearer logic
2780
2781         * text.C: prevent crash in cursorX on unitialized row cache
2782
2783 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2784
2785         * lyxcursor.[Ch] (operator>): add
2786         * textcursor.C (selStart, selEnd): use std::min and std::max
2787
2788 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2789
2790         * Chktex.C: include boost/format.hpp
2791
2792 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2793
2794         * InsetList.C: replace functor MathcIt with adaptable functor
2795         InsetTablePosLess
2796         (insetIterator): modify accordingly
2797
2798         * BranchList.h: move the BranchNamesEqual functor here from...
2799         * BranchList.C: ... to here
2800
2801         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2802         SameName and match.
2803         (add): replace a finding loop with std::find_if.
2804
2805 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2806
2807         * output_docbook.C: moving LatexParam functionality into
2808         .layout files
2809
2810 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2811
2812         * buffer.C: increment format to 229.
2813
2814 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2815
2816         * LaTeXFeatures.C:
2817         * lyx_sty.[Ch]: remove minipageindent_def
2818
2819         * LyXAction.C:
2820         * factory.C:
2821         * lfuns.h:
2822         * lyxfunc.C:
2823         * text3.C: remove LFUN_INSET_MINIPAGE
2824
2825 2003-12-28  Angus Leeming  <leeming@lyx.org>
2826
2827         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2828
2829 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2830
2831         * text2.C (setParagraph): fix off-by-one crash
2832
2833 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2834
2835         * output_docbook.C: header stuff for AGU
2836
2837 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * text2.C (redoCursor): remove
2840         * text.C:
2841         * text3.C:
2842         * BufferView_pimpl.C: remove calls to redoCursor and
2843         setCursor(cursor.par(), cursor.pos()) all around
2844
2845 2003-12-15  Angus Leeming  <leeming@lyx.org>
2846
2847         * buffer.C: up the format to 228.
2848
2849 2003-12-15  André Pönitz  <poenitz@gmx.net>
2850
2851         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2852         slices
2853
2854         * Makefile.am:
2855
2856         * BufferView_pimpl.C:
2857         * cursor.[Ch]:
2858         * lyxcursor.[Ch]:
2859         * rowpainter.[Ch]:
2860         * lyxtext.h:
2861         * text.C:
2862         * text2.C:
2863         * text3.C: adjust
2864
2865 2003-12-15  Angus Leeming  <leeming@lyx.org>
2866
2867         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2868         than getFromGUIName to manipulate the color.
2869
2870 2003-12-14  Angus Leeming  <leeming@lyx.org>
2871
2872         * BranchList.[Ch]: minimize the API.
2873         (Branch::getBranch, getColor): now return a 'const &'.
2874         (Branch::setSelected) now returns a bool set to true if the
2875         selection status changes.
2876         (BranchList::clear, size, getColor, setColor, setSelected,
2877         allBranches, allSelected, separator): removed.
2878         (BranchList::find): new functions, returning the Branch with
2879         the given name.
2880         (BranchList::add, remove): return a bool indicating that
2881         the operation was successful.
2882
2883         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2884         new InsetBranch::isBranchSlected member function.
2885
2886         * LColor.[Ch]: mimimize the API.
2887         (fill): renamed as addColor and made private.
2888         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2889         versions of these functions taking a string arg have been removed.
2890
2891         * bufferparams.C (readToken):
2892         * lyxfunc.C (dispatch):
2893         * lyxrc.C (read): changes due to the altered BranchList and
2894         LColor APIs.
2895
2896         * factory.C (createInset, readInset): changes due to altered
2897         InsetBranch c-tor.
2898
2899 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2900
2901         * factory.C:
2902         * lyxfunc.C: remove insetminipage. "minipage-insert"
2903         now produces a frameless minipage box inset.
2904
2905 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2906
2907         * textcursor.[Ch] (selStart,selEnd): add new methods
2908         remove selection::start, end, use LyXCursor::operator<
2909         * lyxcursor.[Ch] (operator<): add
2910         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2911         * BufferView.[Ch] (unsetXSel): add
2912         * text2.C (clearSelection): use unsetXSel,adjust
2913         * text.C: adjust
2914         * text3.C: adjust
2915         * rowpainter.C: adjust
2916         * bufferview_funcs.C (put_selection_at): adjust
2917
2918 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * BufferView_pimpl.C: small coord. correction
2921
2922 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2925         dragging over the splash screen.
2926
2927 2003-12-11  Angus Leeming  <leeming@lyx.org>
2928
2929         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2930         as it is now handled in LyXText::dispatch.
2931
2932         * text3.C (doInsertInset): remove a level of nesting.
2933
2934 2003-12-11  Angus Leeming  <leeming@lyx.org>
2935
2936         * factory.C (createInset): changes due to the changed interface to
2937         InsetCommandMailer::string2params.
2938
2939 2003-12-10  Angus Leeming  <leeming@lyx.org>
2940
2941         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2942         'dialog-show-new-inset <inset name>'
2943
2944 2003-12-10  Angus Leeming  <leeming@lyx.org>
2945
2946         * buffer.C: up the format to 227.
2947
2948         * factory.C: the box inset is now identified simply by 'Box'.
2949
2950 2003-12-10  Angus Leeming  <leeming@lyx.org>
2951
2952         * buffer.C: up the format to 226.
2953
2954         * factory.C: the note inset is now identified simply by 'Note'.
2955
2956 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2959         when a pit is enough. Standarize a couple of loops.
2960
2961 2003-12-05  Angus Leeming  <leeming@lyx.org>
2962
2963         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2964         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2965         data to the re-worked "log" dialog.
2966
2967 2003-12-03  André Pönitz  <poenitz@gmx.net>
2968
2969         * PosIterator.C:
2970         * iterators.C:
2971         * lyxtext.h:
2972         * output_latex.C:
2973         * paragraph_funcs.C:
2974         * text.C:
2975         * text2.C: use Inset::getText instead of Inset::getParagraph
2976
2977 2003-12-03  André Pönitz  <poenitz@gmx.net>
2978
2979         * buffer.[Ch]:
2980         * lyxtext.h:
2981         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2982         InsetText::read() as LyXText::read()
2983
2984 2003-12-02  Angus Leeming  <leeming@lyx.org>
2985
2986         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2987         type. Add a comment in the implementation that the function uses
2988         the stream's bad() function rather than fail() as the std::streams
2989         would do.
2990
2991 2003-12-02  André Pönitz  <poenitz@gmx.net>
2992
2993         * lyxlex.[Ch]: make interface more similar to std::stream
2994
2995         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2996
2997 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2998
2999         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3000
3001 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3002
3003         * vspace.[Ch]: remove VSpace::NONE
3004
3005 2003-12-01  André Pönitz  <poenitz@gmx.net>
3006
3007         * buffer.[Ch]:
3008         * lyxtext.h: move ParagraphList member to LyXText
3009         rename LyXText::ownerParagraphs to LyXText::paragraph
3010
3011         * CutAndPaste.C:
3012         * bufferview_funcs.C:
3013         * iterators.[Ch]:
3014         * lyx_cb.C:
3015         * paragraph.C:
3016         * rowpainter.C:
3017         * tabular.C:
3018         * text.C:
3019         * text2.C:
3020         * text3.C: adjust
3021
3022         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3023
3024         * undo.C: fix cursor positioning
3025
3026 2003-12-01  John Levon  <levon@movementarian.org>
3027
3028         * BufferView_pimpl.C: fix a crash on exit with
3029         a buffer open
3030
3031 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * BranchList.C: fix setSelected() method.
3034
3035 2003-11-28  André Pönitz  <poenitz@gmx.net>
3036
3037         * ParagraphParameters.[Ch]:
3038         * ParameterStruct.h: remove space above/below from Paragraph to
3039          InsetVSpace
3040
3041         * BufferView_pimpl.C:
3042         * factory.C:
3043         * lyxfunc.C:
3044         * lyxtext.h:
3045         * output_latex.C:
3046         * paragraph.C:
3047         * paragraph_funcs.C:
3048         * rowpainter.[Ch]:
3049         * text.C:
3050         * text2.C:
3051         * text3.C: adjust
3052
3053 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * factory.C: Syntax change for CharStyles
3056
3057 2003-11-28  André Pönitz  <poenitz@gmx.net>
3058
3059         * BufferView.[Ch]:
3060         * BufferView.[Ch]:
3061         * buffer.[Ch]:
3062         * buffer.[Ch]: move LyXText member
3063
3064 2003-11-28  André Pönitz  <poenitz@gmx.net>
3065
3066         * BufferView.[Ch]: make LyXText * text a private member
3067
3068         * BufferView_pimpl.C:
3069         * cursor.C:
3070         * iterators.C:
3071         * lyx_cb.C:
3072         * lyxfind.C:
3073         * lyxtext.h:
3074         * rowpainter.[Ch]:
3075         * text.C:
3076         * text2.C:
3077         * undo.C: adjust
3078
3079         * output_plaintext.C: cleanup
3080
3081 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3082
3083         * buffer.C:
3084         * lyxtextclass.[Ch]: parametrize SGML document header
3085
3086 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * converter.[Ch]:
3089         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3090         getFlavor().
3091
3092 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3093
3094         * text2.C (setFont): rework using PosIterator (no more recursive)
3095         (setCharFont): no more needed
3096         (setLayout): no more selection cursors fiddling (done by redoCursor)
3097         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3098         destroy remaining ones)
3099
3100 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3101
3102         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3103         * lyxtext.h: ditto
3104         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3105         selection cursors
3106         * lyxfunc.C: adjust
3107         * text3.C: adjust + re-allow multi par depth changes
3108         * textcursor.C: simplify a bit
3109
3110 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3111
3112         * src/buffer.C:
3113         * src/lyxlayout.C:
3114         * src/lyxlayout.h:
3115         * src/lyxtext.h:
3116         * src/output_docbook.C:
3117         * src/output_latex.C:
3118         * src/paragraph.C:
3119         * src/paragraph.h:
3120         * src/sgml.C:
3121         * src/sgml.h:
3122         * src/text2.C: Introducing a number of tags parametrizing various
3123         XML formats that we may want to support
3124
3125 2003-11-25  André Pönitz  <poenitz@gmx.net>
3126
3127         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3128
3129         * lyxtext.h (leftMargin/rightMargin): simplify interface
3130
3131         * rowpainter.C:
3132         * text.C:
3133         * text2.C:
3134         * text3.C: adjust
3135
3136 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3137
3138         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3139         master file to any child files. Fixes bug 546.
3140
3141 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3144
3145 2003-11-24  André Pönitz  <poenitz@gmx.net>
3146
3147         * rowpainter.C: simplification
3148
3149         * text2.C (updateCounters): remove call to redoParagraph on
3150         changed labels as this is far too expensive.
3151
3152 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3153
3154         * converter.C (convert): fix a crash: this function gets
3155         called with buffer == 0 from importer code.
3156
3157 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3158
3159         * text3.C (cursorPrevious): make sure that we do not compare
3160         iterators form different containers.
3161         (cursorNext): ditto
3162
3163         * rowpainter.C (paintSelection): make sure that we do not compare
3164         iterators from different containers.
3165
3166         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3167         iterators from different ParagraphList containers.
3168         [NEXT] ditto
3169
3170         * text2.C (LyXText): change order of initialization slightly
3171         (operator=): new function. copy all variables except cache_par_
3172         (moveUp): make sure that we do not compare iterators from
3173         different ParagraphList constainers.
3174         (moveDown): ditto
3175
3176         * text.C (firstPar): new function
3177         (lastPar): new function
3178         (endPar): new function
3179
3180         * lyxtext.h: move things around and group public functions, public
3181         variables, private functions, private variables
3182
3183 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3184
3185         * factory.C: change call to InsetERT constructor to avoid
3186         additional invocation of method status
3187         * text2.C (toggleInset): remove redundant update() call
3188         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3189         instead of a Bufferview pointer
3190
3191 2003-11-21  André Pönitz  <poenitz@gmx.net>
3192
3193         * rowpainter.C: simplification
3194
3195 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * text3.C (dispatch): make possible to extend a word/row selection
3198         with the mouse
3199
3200 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3201
3202         * lyxtext.h: x0_,y0_ -> xo_,yo_
3203         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3204         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3205         * rowpainter.C (paintRows): paint full paragraphs
3206
3207 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3210         screen coordinates)
3211
3212 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * lyxtext.h: add x0_, y0_
3215         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3216         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3217
3218 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3219
3220         * text2.C (setCursorIntern): move the x_target update here *
3221         * text3.C: change some bv() to true/false in calls to
3222         cursorUp/Down/Right/Left
3223         * cursor.C: use helper function.
3224
3225 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3226
3227         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3228         * paragraph_funcs.[Ch]: correct comment
3229         * rowpainter.C: do not paint selections away from bv->cursor()
3230         Fix a long standing selection painting bug.
3231         * text3.C: generalize mouse-selection code to LyXTexts other that
3232         top one
3233         * textcursor.C: do not use y coords if we can use par offsets
3234
3235 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3236
3237         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3238         cursor position after e.g. inset insert)
3239
3240 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * lyxfind.C (replace): adjust to locking removal + some
3243         code simplification
3244
3245 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3246
3247         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3248         of the path
3249
3250 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3251
3252         * lyxlayout.[Ch]:
3253         * output_docbook.C: XML sanitation: new layout
3254         parameters InnerTag and CommandDepth
3255
3256 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3257
3258         * BufferView_pimpl.C:
3259         * factory.C:
3260         * text3.C: Fix the insertion and modification of button-style
3261         insets
3262
3263 2003-11-13  André Pönitz  <poenitz@gmx.net>
3264
3265         * InsetList.[Ch]: remove deleteLyXText
3266
3267         * paragraph.[Ch]: cache beginOfBody position
3268
3269         * Bidi.C:
3270         * text.C:
3271         * text2.C:
3272         * text3.C: remove superfluous update() calls
3273
3274         * vspace.C: cleanup
3275
3276 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3279         * BufferView.C (fitLockedInsetCursor): remove
3280         * cursor.[Ch] (getDim): add
3281         * text.C (getRowNearY): add faster version
3282         * text3.C: remove some update calls
3283
3284 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3285
3286         * LaTeXFeatures.C:
3287         * LyXAction.C:
3288         * MenuBackend.C:
3289         * MenuBackend.h:
3290         * dispatchresult.h:
3291         * factory.C:
3292         * lfuns.h:
3293         * lyxfunc.C:
3294         * lyxtextclass.C:
3295         * lyxtextclass.h:
3296         * text3.C: The Character Style /XML short element patch.
3297
3298 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3299
3300         * text3.C:
3301         * factory.C: Small step to solving 'unable to insert some insets'
3302         problem
3303
3304 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3305
3306         * cursor.[Ch] (updatePos): new function for updating the y
3307         position of the tip inset
3308         * bufferview_funcs.C (put_selection_at):
3309         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3310
3311 2003-11-11  André Pönitz  <poenitz@gmx.net>
3312
3313         * text.C: remove big comment on invalid Paragraph pointers as it is
3314         not valid anymore
3315
3316 2003-11-11  André Pönitz  <poenitz@gmx.net>
3317
3318         * text_funcs.[Ch]: merge with ...
3319
3320         * text.C: ... this
3321
3322         * lyxtext.h:
3323         * text2.C:
3324         * text3.C: adjust
3325
3326         * Makefile.am: remove text_funcs.[Ch]
3327
3328 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * cursor.C (getPos): return absolute cached y coord
3331
3332         * BufferView_pimpl.C (fitCursor): new simplistic code
3333         (workAreaDispatch): add a fitCursor call
3334
3335 2003-11-10  André Pönitz  <poenitz@gmx.net>
3336
3337         * BufferView.[Ch]:
3338         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3339
3340 2003-11-10  André Pönitz  <poenitz@gmx.net>
3341
3342         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3343         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3344         indicate that the cursor needs to leave an inset
3345
3346         * lyxtext.h: remove inset locking
3347
3348         * cursor.[Ch]: re-implement functionality provided by inset locking
3349
3350         * BufferView.[Ch]:
3351         * BufferView_pimpl.[Ch]:
3352         * LyXAction.C:
3353         * bufferview_funcs.[Ch]:
3354         * factory.C:
3355         * funcrequest.[Ch]:
3356         * iterators.C:
3357         * lyx_cb.C:
3358         * lyxfind.C:
3359         * lyxfunc.C:
3360         * text.C:
3361         * text2.C:
3362         * text3.C:
3363         * undo.C: adjust
3364
3365 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3366
3367         * PosIterator.[Ch]: replace the stack with a vector, add inset
3368         accesor
3369         * iterators.[C]: adjust
3370
3371 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3374         replaced
3375         * paragraph_funcs.C (readParToken): put the correct id in the
3376         error item, not the id of the top paragraph
3377
3378 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3381         * bufferview_funcs.C (put_selection_at): use the above
3382
3383 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3386
3387 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3388
3389         * output_linuxdoc.h:
3390         * output_plaintext.h:
3391         * output.h:
3392         * output_docbook.h: add #include statements
3393
3394 2003-11-05  José Matos  <jamatos@lyx.org>
3395
3396         * output_docbook.[Ch]:
3397         * output_latex.[Ch]:
3398         * output_linuxdoc.[Ch]:
3399         * output_plaintext.[Ch]: New files for output formats.
3400         * output.[Ch]: New file for helper functions.
3401
3402         * buffer.[Ch]:
3403         * paragraph_funcs.[Ch]: output functions moved to new files.
3404
3405         * outputparams.h: rename of latexrunparams.h
3406
3407         * LaTeX.[Ch]:
3408         * buffer.[Ch]:
3409         * bufferlist.[Ch]:
3410         * converter.[Ch]:
3411         * exporter.C:
3412         * paragraph.[Ch]:
3413         * paragraph_funcs.[Ch]:
3414         * paragraph_pimpl.[Ch]:
3415         * tabular.[Ch]: rename ascii to plaintext
3416         and LatexRunParams to OutputParams.
3417
3418 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * iterators.[Ch] (text): require bv argument
3421         * undo.C (recordUndo):
3422         * lyxfunc.C (dispatch):
3423         * bufferview_funcs.C (put_selection_at): adjust
3424
3425 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3426
3427         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3428
3429 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3432         nestings
3433
3434 2003-11-04  André Pönitz  <poenitz@gmx.net>
3435
3436         * cursor.[Ch]: restructure
3437
3438         * BufferView.[Ch]:
3439         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3440
3441         * iterators.[Ch] (asCursor): remove
3442
3443         * lfuns.h: remove LFUN_INSET_EDIT
3444
3445         * lyxfunc.C:
3446         * tabular.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3450
3451 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * lyxfind.[Ch]: complete overhaul
3454         * BufferView_pimpl.C:
3455         * lyxfunc.C: adjust
3456         * paragraph.[Ch] (insert): add
3457
3458 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * BufferView.[Ch]:
3461         * lyxtext.h:
3462         * text.C: remove dead spellcheck code
3463
3464 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * dispatchresult.h: add a val setter
3467
3468         * cursor.C (dispatch): use a tempvar for data_[i]
3469
3470 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * PosIterator.[Ch]: compile fix
3473
3474 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3475
3476         * text.C (cursorPar): deactivate the cursor cache
3477
3478 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3479
3480         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3481
3482 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * text3.C (dispatch): adjust for new DisptchResult semantics.
3485
3486         * lyxfunc.C (dispatch): handle update when return from
3487         Cursor::dispatch, adjust for new DispatchResult semantics.
3488
3489         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3490         DispatchResult(true) mean to not update. Add class functions for
3491         setting dispatched and update, as well as reading.
3492
3493         * cursor.C (dispatch): don't handle update here
3494
3495 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3498         * trans_mgr.C: adjust
3499
3500         * paragraph_funcs.C (readParToken): exception safety
3501
3502         * lyxvc.h: store the vcs pointer in a scoped_ptr
3503         * lyxvc.C: adjust
3504
3505         * lyxsocket.C (serverCallback): exception safety
3506
3507         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3508
3509         * ispell.C (clone): make it return a auto_ptr
3510
3511         * factory.C (createInset): exception safety
3512         (readInset): exception safety
3513
3514         * bufferlist.C (newBuffer): exception safety
3515
3516         * Thesaurus.C (Thesaurus): use initialization for aik_
3517
3518         * MenuBackend.C (expandToc): exception safety.
3519
3520 2003-11-03  André Pönitz  <poenitz@gmx.net>
3521
3522         * buffer.C:
3523         * buffer.h:
3524         * bufferview_funcs.C: remove getInsetFromId()
3525
3526         * lyxcursor.[Ch]:
3527         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3528
3529         * lyxfunc.C:
3530         * text2.C:
3531         * text3.C: adjust
3532
3533 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * PosIterator.C (distance, advance): new
3536         * bufferview_funcs.[Ch] (put_selection_at): new
3537         * iterators.[Ch] (lockPath): new
3538
3539 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * iterators.[Ch] (asPosIterator): added
3542         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3543         * PosIterator.[Ch]: added
3544
3545 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * text3.C:
3548         * lyxfunc.C:
3549         * cursor.C (dispatch):
3550         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3551
3552         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3553         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3554         contructor, add a class function dispatched. Remove operator>=
3555
3556 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * debug.C: only use the default constructor for debugstream
3559         (lyxerr) here.
3560
3561         * main.C (main): include debug.h and setup the lyxerr streambuf
3562         here.
3563
3564 2003-10-31  José Matos  <jamatos@lyx.org>
3565
3566         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3567
3568         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3569         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3570         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3571         * paragraph_pimpl.C (simpleTeXSpecialC):
3572         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3573         add LatexRunParams argument.
3574
3575         * exporter.C (Export): change call accordingly.
3576
3577         * latexrunparams.h: add new member to take care of the other backends.
3578 2003-10-30  José Matos  <jamatos@lyx.org>
3579
3580         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3581         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3582         factorise code for paragraph output.
3583         * buffer.[Ch]:
3584         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3585         move functions.
3586
3587 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * text3.C (dispatch):
3590         * lyxfunc.C (dispatch):
3591         * cursor.C (dispatch):
3592         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3593
3594         * dispatchresult.h: make the dispatch_result_t ctor explicit
3595
3596 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3597
3598         * sgml.[Ch]:
3599         * buffer.C: small refactoring of docbook stuff
3600
3601 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3604         meaning.
3605
3606 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3609         operator dispatch_result_t, and operators for == != and >=
3610
3611         * cursor.C (dispatch): adjust for operator dispatch_result_t
3612         removal. comment out call to update
3613
3614         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3615
3616 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * text3.C:
3619         * text2.C:
3620         * text.C:
3621         * lyxtext.h:
3622         * lyxfunc.C:
3623         * cursor.C:
3624         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3625         (dispatch):
3626
3627         * dispatchresult.h: new file, DispatchResult broken out of
3628         insets/insetbase.h
3629
3630         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3631
3632 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3633
3634         * text.C (rowBreakPoint): put a hack inside #if 0
3635
3636 2003-10-28  André Pönitz  <poenitz@gmx.net>
3637
3638         * lyxtext.h:
3639         * metricsinfo.C:
3640         * paragraph_funcs.C:
3641         * rowpainter.C:
3642         * text.C:
3643         * text2.C: general cleanup (lots of small stuff)
3644
3645 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * text2.C (cursorEnd): simple fix to the "end key goes to one
3648         before the end on last row" bug
3649
3650 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3651
3652         * text.C (backspace): fix the "zombie characters"
3653
3654 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3655
3656         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3657
3658 2003-10-27  André Pönitz  <poenitz@gmx.net>
3659
3660         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3661
3662         * factory.C: handle new InsetPagebreak, InsetLine
3663
3664         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3665         and move handling into new InsetPagebreak, InsetLine
3666
3667         * BufferView_pimpl.C:
3668         * LyXAction.C:
3669         * ParagraphParameters.C:
3670         * ParameterStruct.h:
3671         * lyxfunc.C:
3672         * lyxtext.h:
3673         * paragraph.C:
3674         * paragraph.h:
3675         * paragraph_funcs.C:
3676         * paragraph_pimpl.C:
3677         * rowpainter.C:
3678         * text.C:
3679         * text2.C:
3680         * text3.C: adjust
3681
3682 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * text.C:
3685         * lyxrow_funcs.[Ch]:
3686         * Bidi.C:
3687         * paragraph.C:
3688         * lyxtext.h:
3689         * rowpainter.C:
3690         * text2.C:
3691         * text3.C: remove lastPos uses in favour of Row::endpos
3692
3693 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * undo.C (performUndoOrRedo): fix two crashes by setting a
3696         cursor by hand and reordering some calls. Use bv->lockInset instead
3697         of inset->edit because the latter loses cursor information
3698
3699 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3702         by Martin
3703         (rowBreakPoint): fix width. change point to point + 1.
3704         Add a missing check.
3705
3706 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3707
3708         * MenuBackend.C:
3709         * lyxfunc.C: fix (at least partly) the problems
3710         with the Nav menu and headers inside branch insets
3711         reported by Kayvan
3712
3713 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3714
3715         * paragraph.C (getChar): add strong asserts
3716
3717         * lyxrow_funcs.C (lastPos): remove hideous hack
3718
3719         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3720         (fill): adjust to that (avoid an infinite loop)
3721
3722 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3723
3724         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3725
3726 2003-10-23  André Pönitz  <poenitz@gmx.net>
3727
3728         * RowList_fwd.h: change list<> to vector<> to gain speed
3729         after suggestion from Alfredo
3730
3731 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3732
3733         * lyxtext.h: move the bidi stuff from here...
3734         * text.C: and here
3735         * text2.C: and here
3736         * Bidi.[Ch]: ... to here
3737
3738 2003-10-23  André Pönitz  <poenitz@gmx.net>
3739
3740         * lyxtext.h:
3741         * text.C (isLastRow, isFirstRow): new functions
3742
3743         * paragraph.h: new width cache member
3744
3745         * rowpainter.C: replace RowList::iterator with Row & where possible
3746
3747         * lyxfunc.C: replace several view()->text with a single call
3748
3749         * toc.C: fix 'unused' warning
3750
3751 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3752
3753         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3754         when woring with stream::pos_type
3755         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3756
3757 2003-10-22  André Pönitz  <poenitz@gmx.net>
3758
3759         * lyxtext.h:
3760         * text.C: use Row & instead of RowList::iterator
3761
3762         * lyxrow.h: rename end() to endpos()
3763
3764         * rowpainter.C:
3765         * text.C:
3766         * text2.C: adjust
3767
3768 2003-10-22  Angus Leeming  <leeming@lyx.org>
3769
3770         * buffer.[Ch] (fully_loaded): new member function, returning true
3771         only when the file has been loaded fully.
3772         Used to prevent the premature generation of previews and by the
3773         citation inset to prevent computation of the natbib-style label.
3774
3775         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3776         templates are all set up.
3777
3778         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3779
3780 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3781
3782         * text.C: fixed an "oops" in the "is a bit silly"
3783         bug fix
3784
3785 2003-10-21  André Pönitz  <poenitz@gmx.net>
3786
3787         * FuncStatus.[Ch]: small stuff, whitespace
3788
3789         * lyxfont.[Ch]: operator<<() for debug reasons
3790
3791         * lyxfunc.C:
3792         * lyxrow_funcs.C:
3793         * lyxtext.h: whitespace, spelling
3794
3795         * paragraph.C: naming of variables
3796
3797         * text.C:
3798         * text2.C: small stuff
3799
3800
3801 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3802
3803         * text.C: (1) finish off the inset display() work;
3804         (2) fix the "is a bit silly" bug (accessing char
3805         past end of par).
3806
3807 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3808
3809         * text.C: re-introduce display() for insets, fixing the
3810         various bugs (stretch of line above, math inset
3811         positioning, ...)
3812
3813 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3814
3815         * text.C (rightMargin): remove spurious semicolon
3816
3817         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3818         1415)
3819
3820 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3821
3822         * text3.C: fix one crash due to wrong cursor def
3823
3824 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * vc-backend.C (scanMaster): make the regex static
3827
3828         * LaTeX.C (scanAuxFile): make the regexs static
3829
3830         * text3.C (doInsertInset, dispatch, dispatch):
3831         * text2.C (cursorUp, cursorDown):
3832         * text.C (selectNextWordToSpellcheck):
3833         * BufferView_pimpl.C (dispatch):
3834         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3835
3836 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3837
3838         * lyxsocket.C: include <cerrno>
3839
3840 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * lyxfunc.C (dispatch): remove textcache stuff
3843
3844         * bufferlist.C (release): remove textcache stuff
3845         (closeAll): ditto
3846
3847         * TextCache.C: delete file
3848         * TextCache.h: delete file
3849
3850         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3851
3852         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3853         delete of the bv_->text.
3854         (resizeCurrentBuffer): remove texcache stuff
3855         (workAreaResize): ditto
3856
3857 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3860         action.
3861
3862 2003-10-16  André Pönitz  <poenitz@gmx.net>
3863
3864         * lyxrow.[Ch]:
3865         * paragraph.h:
3866         * rowpainter.C:
3867         * text.C:
3868         * text2.C:
3869         * text3.C: speed up by storing y positions per paragraph plus per-row
3870         offset instead of having a 'full' y position in the row.
3871
3872 2003-10-15  André Pönitz  <poenitz@gmx.net>
3873
3874         * iterators.[Ch]:
3875         * iterators.[Ch]:
3876         * undo.[Ch]: make undo aware of inner insets
3877
3878 2003-10-14  Angus Leeming  <leeming@lyx.org>
3879
3880         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3881         static member functions LyX::ref() and LyX::cref.
3882         (lastfiles): new accessor functions for the new lastfiles_ member var.
3883         (addLyXView, views_): add a new LyXView to the list of views_.
3884         (updateInset): loop over all LyXViews to call their own updateInset
3885         member function, returning a pointer to the Buffer owning the inset.
3886
3887         * BufferView_pimpl.C (loadLyXFile):
3888         * MenuBackend.C (expandLastfiles):
3889         * bufferlist.C (MenuWrite, QuitLyX):
3890         lastfiles is no longer a global variable.
3891         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3892
3893         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3894         static function. Access through LyX::cref().emergencyCleanup().
3895
3896 2003-10-14  André Pönitz  <poenitz@gmx.net>
3897
3898         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3899
3900         * undo.[Ch]: restoring part of 'undo in insets'
3901
3902         * Makefile.am:
3903         * undo_funcs.[Ch]: merge with undo.[Ch]
3904
3905         * tabular.C: small cleansing stuff
3906
3907 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3908
3909         * paragraph_funcs.C (readParToken): report unknown insets as error
3910         boxes. Use the outer paragraph as location (also for unknown
3911         tokens).
3912
3913         * factory.C (readInset): do not abort on reading an unknown inset.
3914         Eat it and return 0.
3915
3916 2003-10-13  Angus Leeming  <leeming@lyx.org>
3917
3918         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3919
3920         * lyxrc.C: displayTranslator is now a function,
3921         declared in GraphicsTypes.h.
3922
3923 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3924
3925         * format.C: new placeholder $$a to pass the socket address.
3926
3927         * bufferlist.[Ch]: new function getBufferFromTmp.
3928
3929         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3930           files in the temporary dir.
3931
3932 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3933
3934         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3935
3936         * Makefile.am: add lyxsocket.[Ch].
3937
3938         * lyx_main.C (error_handler): handle SIGPIPE.
3939
3940 2003-10-13  André Pönitz  <poenitz@gmx.net>
3941
3942         * BufferView_pimpl.C:
3943         * lyxtext.h:
3944         * text.C:
3945         * text2.C:
3946         * text3.C:
3947         * undo_funcs.[Ch]: use paroffset_type instead of
3948           ParagraphList::iterators to prevent multiple conversion
3949           (and get a more robust interface)
3950
3951 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3954         * lyxtext.h: ditto
3955         * text3.C (dispatch): ditto
3956
3957 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3960         move the onlyfile, use onlyfile instead of foundfile in a couple
3961         of places.
3962
3963         * DepTable.C (update): flush the error stream a bit more
3964
3965 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * lyxserver.C (callback): adjust
3968
3969         * lyxfunc.C (getStatus): add a missing brace in commented code
3970         (ensureBufferClean): reindent
3971         (dispatch): delete version taking a string
3972
3973 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * LaTeX.C (deplog): move found file handlig from here...
3976         (handleFoundFile): .. to new function here.
3977         (deplog): make sure to discover several files mentioned on the
3978         same log line.
3979
3980 2003-10-10  André Pönitz  <poenitz@gmx.net>
3981
3982         * lyxfunc.C:
3983         * lyxtext.h:
3984         * tabular.C:
3985         * text.C:
3986         * text2.C:
3987         * text3.C: fix some of the tabular crashes
3988
3989 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3990
3991         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3992
3993         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3994
3995 2003-10-09  André Pönitz  <poenitz@gmx.net>
3996
3997         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3998
3999         * BufferView.C:
4000         * BufferView_pimpl.C:
4001         * bufferview_funcs.C:
4002         * lyx_cb.C:
4003         * lyxcursor.C:
4004         * lyxfind.C:
4005         * lyxfunc.C:
4006         * lyxtext.h:
4007         * text.C:
4008         * text2.C:
4009         * text3.C:
4010         * text_funcs.[Ch]:
4011         * textcursor.[Ch]:
4012         * undo_funcs.C: adjust
4013
4014 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * text2.C (incrementItemDepth): new function, use a backtracking
4017         algorithm to discover the correct item depth.
4018         (resetEnumCounterIfNeeded): new function, use a backtracking
4019         algorithm to discover if counter reset is needed.
4020         (setCounter): use them. Simplify a bit. Add different labels for
4021         different item depths for itemize.
4022
4023         * paragraph.C (Paragraph): remove initialization of enumdepth
4024         (operator=): ditto
4025
4026         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4027         enumerate and itemize. Change the type of itemdepth to signed char.
4028
4029 2003-10-08  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4032           thing assignable.
4033         * text.C:
4034         * text2.C: adjust
4035
4036         * tabular.[Ch]: fix crash after 'row-insert'
4037
4038 2003-10-08  Angus Leeming  <leeming@lyx.org>
4039
4040         Fix doxygen warnings.
4041
4042         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4043         Remove CutAndPaste:: prefix from header file declaration.
4044
4045         * LColor.h (fill): remove LColor:: prefix from declaration.
4046
4047         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4048         use lyx::depth_type rather than Paragraph::depth_type so that
4049         header file and .C file match.
4050
4051         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4052
4053         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4054         * aspell.C: \file aspell_local.C -> \file aspell.C
4055         * gettext.C: \file gettext.C -> \file src/gettext.C
4056         * gettext.h: \file gettext.h -> \file src/gettext.h
4057         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4058         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4059         * text.C: \file text.C -> \file src/text.C
4060
4061         * toc.C: move comment so that doxygen is not confused.
4062
4063 2003-10-07  Angus Leeming  <leeming@lyx.org>
4064
4065         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4066
4067 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4068
4069         * aspell.C:
4070         * aspell_local.h: add forgotten std::string's.
4071
4072 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4073
4074         * LaTeXFeatures.C:
4075         * LyXAction.C:
4076         * factory.C:
4077         * lfuns.h:
4078         * lyxfunc.C:
4079         * text3.C: The Box patch. Fancybox support, minipage, parbox
4080
4081 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4082
4083         * CutAndPaste.h:
4084         * DepTable.h:
4085         * FloatList.h:
4086         * LaTeXFeatures.h:
4087         * ParagraphParameters.h:
4088         * TextCache.h:
4089         * Thesaurus.h:
4090         * bufferlist.h:
4091         * exporter.h:
4092         * importer.h:
4093         * lastfiles.h:
4094         * lyxfind.h:
4095         * lyxfont.h:
4096         * lyxlex.h:
4097         * lyxtextclasslist.h:
4098         * messages.h:
4099         * paragraph.h:
4100         * paragraph_pimpl.C:
4101         * textcursor.h: add <string> and other small fixes to make Lars'
4102         std::string patch compile with STLport.
4103
4104 2003-10-06  Angus Leeming  <leeming@lyx.org>
4105
4106         * LColor.h: Add missing #include <string>.
4107
4108 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * All most all file in all subdirs: Make <string> be the prefered
4111         way of getting to std::string, add using declarations.
4112
4113 2003-10-06  André Pönitz  <poenitz@gmx.net>
4114
4115         * metricsinfo.C: initialize LyXFont before changing attribute.
4116         (fixes the 'math in \emph is upright' bug)
4117
4118 2003-10-06  André Pönitz  <poenitz@gmx.net>
4119
4120         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4121
4122 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4123
4124         * graph.C:
4125         * paragraph_pimpl.C: Small fixes to build using STLport
4126
4127 2003-10-02  André Pönitz  <poenitz@gmx.net>
4128
4129         * lyxfunc.C:
4130         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4131
4132 2003-10-01  André Pönitz  <poenitz@gmx.net>
4133
4134         * factory.C: assert early
4135
4136 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * lyx_main.C: remove the global debug object
4139
4140         * debug.h: adjust for new debugstream
4141
4142         * debug.C: adjust for new debugstream and keep the global debug
4143         object here.
4144
4145 2003-09-22  Angus Leeming  <leeming@lyx.org>
4146
4147         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4148         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4149         an incomplete class LyXFont.
4150
4151 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * factory.C: bug fix in branches
4154
4155 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * lyxfunc.C (processKeySym): adjust
4158         (dispatch): adjust
4159         (dispatch): change arg name from ev to func, adjust
4160         (sendDispatchMessage): ditto
4161
4162         * lyx_main.C (defaultKeyBindings): adjust keybindings
4163         (deadKeyBindings): ditto
4164
4165         * kbsequence.C (addkey): return a FuncRequest
4166
4167         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4168
4169         * kbmap.C (bind): take a FuncRequest as arg, adjust
4170         (read): adjust
4171         (lookup): adjust
4172         (defkey): change to take a FuncRequest as arg, adjust
4173         (findbinding): take a FuncRequest as arg, adjust.
4174
4175         * funcrequest.h (operator=): added
4176
4177         * funcrequest.C (FuncRequest): default kb_action changed from
4178         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4179
4180         * buffer.C (dispatch): simplify
4181         (dispatch): adjust to take a FuncRequest as arg, adjust
4182
4183         * boost.C (assertion_failed): change assertion message slightly
4184
4185         * ToolbarBackend.C (read): simplify
4186
4187         * MenuBackend.C (binding): adjust call to findbinding, add a
4188         message if no binding is found.
4189         (read): simplify
4190         (expandToc): correct by adding a empty FuncRequest
4191
4192         * LyXAction.C: include <boost/assert.hpp>
4193         (isPseudoAction): delete function
4194         (LookupFunc): change name to...
4195         (lookupFunc): this. change return type to FuncRequest.
4196         (getActionName): take kb_action as arg, simplify
4197         (funcHasFlag): add an assert, simplify.
4198
4199 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * toc.C (action): return a FuncRequest, simplify
4202
4203         * lyxfunc.C (processKeySym): adjust
4204         (getStatus): delete version that takes an int.
4205         (getStatus): adjust
4206         (dispatch): delete version that takes action as int
4207         (dispatch): adjust
4208         (sendDispatchMessage): simplify and adjust
4209
4210         * funcrequest.C (getArg): take unsigned int as arg
4211
4212         * ToolbarBackend.C (read): adjust
4213         (add): delete version that takes func as a string.
4214         (getIton): take a FuncRequest as arg
4215
4216         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4217         action.
4218
4219         * MenuBackend.C (MenuItem): add a new construct that only takes a
4220         Kind, simplify the constructor use for submenus.
4221         (add): adjust
4222         (expandLastfiles): adjust
4223         (expandDocuments): adjust
4224         (expandFormats): adjust
4225         (expandFloatListInsert): adjust
4226         (expandFloatInsert): adjust
4227         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4228
4229         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4230         Remove class variables lyx_pseudo_map and lyx_arg_map
4231
4232         * LyXAction.C (searchActionArg): delete function
4233         (getPseudoAction): delete function
4234         (retrieveActionArg): delete function
4235         (LookupFunc): make it return kb_action, simplify.
4236         (getActionName): simplify
4237
4238         * factory.C (createInset): fix new bug
4239
4240 2003-09-19  Angus Leeming  <leeming@lyx.org>
4241
4242         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4243         masterFilename_ parameter in the include inset.
4244
4245         * factory.C (createInset): changes due to the changes to InsetInclude.
4246
4247 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4248
4249         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4250
4251 2003-09-18  Angus Leeming  <leeming@lyx.org>
4252
4253         * buffer.C:
4254         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4255         Inset::fillWithBibKeys.
4256         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4257
4258 2003-09-18  Angus Leeming  <leeming@lyx.org>
4259
4260         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4261         variables.
4262         (ctor): pass and store a 'Buffer const &'
4263         (buffer): new member function.
4264
4265         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4266         '*this' to the LaTeXFeatures ctor.
4267
4268 2003-09-18  Angus Leeming  <leeming@lyx.org>
4269
4270         * LColor.h:
4271         * lyxfont.C:
4272         * lyxfont.h:
4273         * lyxtext.h:
4274         * text.C: rename EnumLColor as LColor_color.
4275
4276 2003-09-18  Angus Leeming  <leeming@lyx.org>
4277
4278         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4279         remove #include "insets/insetbase.h" from cursor.h.
4280
4281 2003-09-18  Angus Leeming  <leeming@lyx.org>
4282
4283         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4284         InsetOld_code to remove #include "inset.h".
4285
4286         * iterators.C: add #include "insets/inset.h"
4287
4288 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4289
4290         * BufferView.C: remove more locking stuff that apparently doesn't
4291         do anything sensible.
4292
4293 2003-09-16  André Pönitz  <poenitz@gmx.net>
4294
4295         * paragraph.[Ch]:
4296         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4297           performance boost.
4298
4299 2003-09-16  Angus Leeming  <leeming@lyx.org>
4300
4301         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4302
4303         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4304         arg/return type.
4305
4306         * paragraph.h: remove #include "lyxfont.h". Forward declare
4307         LyXFont_size.
4308
4309 2003-09-16  Angus Leeming  <leeming@lyx.org>
4310
4311         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4312         of support/textutils.h.
4313         (isWord): move the contents of support/textutils.h's IsWordChar here.
4314
4315         * buffer.C:
4316         * lyxfind.C:
4317         * rowpainter.C:
4318         * text.C:
4319         * text2.C: add #include "paragraph.h".
4320
4321         * rowpainter.C:
4322         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4323
4324 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * main.C:
4327         * lyx_main.C:
4328         * lyx_cb.C:
4329         * buffer.C:
4330         * LaTeX.C: use namespace alias for lyx::support::os
4331
4332 2003-09-16  Angus Leeming  <leeming@lyx.org>
4333
4334         * bufferparams.C:
4335         * bufferview_funcs.C:
4336         * factory.C:
4337         * lyxfunc.C:
4338         * paragraph_pimpl.C:
4339         * rowpainter.C:
4340         * text.C: add #include "LColor.h".
4341
4342 2003-09-16  Angus Leeming  <leeming@lyx.org>
4343
4344         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4345         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4346         return LyXFont &.
4347         Store the FontBits::color variable as an int rather than as an
4348         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4349         file.
4350
4351         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4352         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4353         string calls together.
4354
4355         * lyxrc.C: add #include "LColor.h".
4356
4357 2003-09-15  Angus Leeming  <leeming@lyx.org>
4358
4359         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4360         a cow_ptr.
4361
4362 2003-09-15  Angus Leeming  <leeming@lyx.org>
4363
4364         * LColor.h: add an EnumLColor wrapper for LColor::color.
4365
4366         * lyxfont.[Ch] (color, setColor, realColor):
4367         * lyxtext.h, text.C (backgroundColor):
4368         pass EnumLColor args to/from the functions, rather than LColor::color
4369         ones.
4370
4371         * lyxfont.h:
4372         * lyxtext.h: forward declare EnumLColor.
4373
4374         * lyx_main.C: add #include "LColor.h".
4375
4376 2003-09-15  Angus Leeming  <leeming@lyx.org>
4377
4378         * .cvsignore: add lyx-gtk.
4379
4380 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * Chktex.C
4383         * LaTeX.C
4384         * LaTeXFeatures.C
4385         * ParagraphParameters.C
4386         * Spacing.C
4387         * buffer.C
4388         * bufferparams.C
4389         * bufferview_funcs.C
4390         * chset.C
4391         * counters.C
4392         * funcrequest.C
4393         * lyxfont.C
4394         * lyxgluelength.C
4395         * lyxlength.C
4396         * paragraph.C
4397         * paragraph_funcs.C
4398         * text3.C
4399         * vc-backend.C: remove usage of STRCONV
4400
4401 2003-09-15  Angus Leeming  <leeming@lyx.org>
4402
4403         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4404         explicitly define the color passed to the painter.
4405
4406 2003-09-15  Angus Leeming  <leeming@lyx.org>
4407
4408         * bufferparams.C (BufferParams): reorder member initializers to avoid
4409         compiler warning.
4410
4411 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4414         * text.C (updateRowPositions): remove an unusual nop
4415
4416 2003-09-12  André Pönitz  <poenitz@gmx.net>
4417
4418         * BufferView_pimpl.C:
4419         * Bullet.C:
4420         * layout.h:
4421         * lyxfunc.C:
4422         * lyxlayout.[Ch]:
4423         * lyxtextclass.C:
4424         * rowpainter.C:
4425         * text.C:
4426         * text2.C:
4427         * Counters.[Ch]: finish the 'automatic counters' job
4428
4429 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4430
4431         * aspell.C: include <boost/assert.cpp> (compile fix)
4432
4433 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4434
4435         * boost.C (assertion_failed): use lyx::support::abort instead of
4436         assert.
4437
4438 2003-09-10  Angus Leeming  <leeming@lyx.org>
4439
4440         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4441         with their _fwd progeny.
4442
4443 2003-09-09  Angus Leeming  <leeming@lyx.org>
4444
4445         134 files throughtout the source tree: replace 'using namespace abc;'
4446         directives with the appropriate 'using abc::xyz;' declarations.
4447
4448 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4449
4450         * boost.C (emergencyCleanup): moved here from LAssert.c
4451         (assertion_failed): new function, called by BOOST_ASSERT
4452
4453         * several files: change Assert to BOOST_ASSERT
4454
4455 2003-09-09  Angus Leeming  <leeming@lyx.org>
4456
4457         * buffer.[Ch]: Add an Impl class and move Buffer's member
4458         variables into it. As a result move several header files out of
4459         buffer.h.
4460
4461         Add header files to lots of .C files all over the tree as a result.
4462
4463 2003-09-09  Angus Leeming  <leeming@lyx.org>
4464
4465         * buffer.[Ch]: make Buffer's member variables private. Add
4466         accessor functions.
4467
4468         Lots of changes all over the tree as a result.
4469
4470 2003-09-08  Angus Leeming  <leeming@lyx.org>
4471
4472         * graph.C: #include <config.h>.
4473
4474 2003-09-08  Angus Leeming  <leeming@lyx.org>
4475
4476         * BranchList.C:
4477         * BufferView.C:
4478         * BufferView_pimpl.C:
4479         * CutAndPaste.C:
4480         * DepTable.C:
4481         * LaTeX.C:
4482         * LaTeXFeatures.C:
4483         * LyXAction.C:
4484         * MenuBackend.C:
4485         * TextCache.C:
4486         * aspell.C:
4487         * buffer.C:
4488         * bufferlist.C:
4489         * changes.C:
4490         * chset.C:
4491         * converter.C:
4492         * counters.C:
4493         * debug.C:
4494         * graph.C:
4495         * ispell.C:
4496         * lyx_cb.C:
4497         * lyxfind.C:
4498         * lyxfunc.C:
4499         * lyxlex_pimpl.C:
4500         * lyxrc.C:
4501         * lyxrow.C:
4502         * paragraph.C:
4503         * rowpainter.C:
4504         * texrow.C:
4505         * text.C:
4506         * text2.C:
4507         * toc.C: remove redundant using directives.
4508
4509 2003-09-07  Angus Leeming  <leeming@lyx.org>
4510
4511         * LaTeXFeatures.h: remove #include "support/types.h".
4512         * ToolbarBackend.h: remove #include <algorithm>.
4513         * changes.h: remove #include <ctime>.
4514         * debug.h: remove #include <iosfwd>.
4515         * graph.h: remove #include "support/std_string.h".
4516         * lyx_main.h: remove #include <csignal>.
4517         * lyxlex_pimpl.h: remove #include <fstream>.
4518         * sgml.h: remove #include <algorithm>, <utility>.
4519         * toc.h: remove #include "support/std_ostream.h".
4520         Add #include <iosfwd>.
4521
4522 2003-09-07  Angus Leeming  <leeming@lyx.org>
4523
4524         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4525
4526         * converter.h: forward declare LatexRunParams.
4527         * encoding.h: remove #include "lyxrc.h".
4528         * lyxtext.h: remove #include "LColor.h".
4529         * lyxtextclass.h: remove #include "support/types.h".
4530         * trans.h: remove #include "tex-accent.h".
4531         * trans_mgr.h: remove #include "tex-accent.h".
4532         * insets/inset.h: remove #include "support/types.h", <vector>.
4533         * insets/insetcollapsable.h: remove #include "LColor.h".
4534         * insets/insetinclude.h: remove #include "dimension.h".
4535         * insets/insetlatexaccent.h: remove #include "dimension.h".
4536         * insets/insetoptarg.h:: remove #include "insettext.h".
4537         * insets/insettext.h: remove #include "dimension.h",
4538         <boost/shared_ptr.hpp>
4539
4540         * insets/renderers.h: add #include "dimension.h".
4541         * insets/updatableinset.h: add #include "support/types.h".
4542
4543         * many .C files: Associated changes.
4544
4545 2003-09-06  Angus Leeming  <leeming@lyx.org>
4546
4547         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4548         one, inside testInvariant.
4549
4550         * PrinterParams.C: new file.
4551         * PrinterParams.[Ch]: move the function bodies out of line.
4552
4553 2003-09-06  Angus Leeming  <leeming@lyx.org>
4554
4555         * ParagraphParameters.h: forward declare ParameterStruct rather than
4556         including its header file.
4557         (depth): moved out-of-line.
4558
4559 2003-09-06  Angus Leeming  <leeming@lyx.org>
4560
4561         * BufferView_pimpl.h:
4562         * kbmap.h:
4563         * kbsequence.h:
4564         * lyxfunc.h: forward declare LyXKeySym rather than
4565         #include "frontends/LyXKeySym.h".
4566
4567         * BufferView_pimpl.C:
4568         * kbmap.C:
4569         * kbsequence.C:
4570         * lyxfunc.C: associated changes.
4571
4572 2003-09-06  Angus Leeming  <leeming@lyx.org>
4573
4574         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4575         As a result, can remove the #include "insets/inset.h" from BufferView.h
4576
4577 2003-09-06  Angus Leeming  <leeming@lyx.org>
4578
4579         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4580         As a result, can remove the #include "insets/inset.h" from BufferView.h
4581
4582 2003-09-06  Angus Leeming  <leeming@lyx.org>
4583
4584         * buffer_funcs.C:
4585         * buffer.h:
4586         * bufferlist.C:
4587         * BufferView.C:
4588         * bufferview_funcs.C:
4589         * BufferView_pimpl.C:
4590         * CutAndPaste.C:
4591         * lyx_cb.C:
4592         * lyxfunc.C:
4593         * paragraph.h:
4594         * ParagraphParameters.C:
4595         * tabular.C:
4596         * text3.C:
4597         * toc.C:
4598         * undo_funcs.C:
4599         * frontends/controllers/ControlDocument.C:
4600         * insets/insetcaption.C: rearrange the #includes into some sort of
4601         coherent order.
4602
4603         * buffer.h: remove #includes ErrorList.h, undo.h
4604
4605 2003-09-06  Angus Leeming  <leeming@lyx.org>
4606
4607         * support/types.h: add a 'depth_type' typedef, used to store the
4608         nesting depth of a paragraph.
4609
4610         * paragraph.h:
4611         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4612         defining explicitly.
4613
4614         * buffer.h:
4615         * paragraph_funcs.h:
4616         * ParagraphParameters.h:
4617         * sgml.h: use lyx::depth_type rather than Paragraph or
4618         ParameterStruct's depth_type.
4619
4620         * buffer.h
4621         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4622
4623         * BufferView.C:
4624         * BufferView_pimpl.C:
4625         * CutAndPaste.C:
4626         * ParagraphParameters.C:
4627         * buffer_funcs.C:
4628         * bufferlist.C:
4629         * bufferview_funcs.C:
4630         * lyx_cb.C:
4631         * lyxfunc.C:
4632         * tabular.C:
4633         * text3.C:
4634         * toc.C:
4635         * undo_funcs.C:
4636         * frontends/LyXView.C:
4637         * frontends/controllers/ControlDocument.C:
4638         * frontends/controllers/ControlErrorList.C:
4639         * insets/insetbibitem.C:
4640         * insets/insetbranch.C:
4641         * insets/insetcaption.C:
4642         * insets/insetcollapsable.C:
4643         * insets/insetenv.C:
4644         * insets/insetert.C:
4645         * insets/insetfloat.C:
4646         * insets/insetfoot.C:
4647         * insets/insetfootlike.C:
4648         * insets/insetnewline.C:
4649         * insets/insetquotes.C:
4650         * insets/insettabular.C:
4651         * insets/insettext.C:
4652         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4653
4654         * frontends/controllers/ControlChanges.C: #include "changes.h".
4655
4656 2003-09-06  Angus Leeming  <leeming@lyx.org>
4657
4658         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4659         than #including paragraph.h.
4660
4661         * ParagraphList.h:
4662         * RowList.h: deleted. Superfluous.
4663
4664         * CutAndPaste.h:
4665         * iterators.h:
4666         * lyxcursor.h:
4667         * lyxtext.h:
4668         * text_funcs.h:
4669         * undo.h:
4670         * undo_funcs.h:
4671         * insets/inset.h:
4672         * insets/insettext.h: use ParagraphList_fwd.h rather than
4673         ParagraphList.h.
4674
4675         * paragraph.h: don't forward declare ParagraphList.
4676
4677         * buffer.h:
4678         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4679         rather than ParagraphList.h. paragraph.h is still needed for the
4680         Paragraph::depth_type parameters.
4681
4682         * textcursor.h: enable it to compile stand-alone in light of the
4683         above changes.
4684
4685         * bufferview_funcs.C:
4686         * iterators.C:
4687         * lyxfunc.C:
4688         * lyxrow_funcs.C:
4689         * paragraph.C:
4690         * rowpainter.C:
4691         * text.C:
4692         * text2.C:
4693         * text3.C:
4694         * text_funcs.C:
4695         * textcursor.C:
4696         * undo.C:
4697         * frontends/controllers/ControlParagraph.C:
4698         * frontends/controllers/ControlTabular.C:
4699         * insets/insetmarginal.C:
4700         * insets/insetminipage.C:
4701         * insets/insetnote.C:
4702         * insets/insetoptarg.C: add header files needed to compile again.
4703
4704 2003-09-06  Angus Leeming  <leeming@lyx.org>
4705
4706         * RowList_fwd.h: new file, forward-declaring Row rather than
4707         #including lyxrow.h.
4708
4709         * lyxrow_funcs.h:
4710         * lyxtext.h:
4711         * paragraph.h:
4712         * insets/insettext.h: use it instead of RowList.h
4713
4714         * bufferview_funcs.C:
4715         * lyxfunc.C:
4716         * lyxrow_funcs.C:
4717         * paragraph.C:
4718         * rowpainter.C:
4719         * text.C:
4720         * text2.C:
4721         * text3.C: #include "RowList.h".
4722
4723 2003-09-05  Angus Leeming  <leeming@lyx.org>
4724
4725         * factory.C (createInset):
4726         * vspace.C (c-tor): replace sscanf call with an istringstream.
4727         * ispell.C: re-add missing HP/UX headers.
4728         * lyxserver.C: re-add missing  os2 headers.
4729
4730 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4731
4732         * BranchList.C:
4733         * graph.C:
4734         * ispell.C:
4735         * lastfiles.C:
4736         * lyx_cb.C:
4737         * lyxserver.C:
4738         * texrow.C:
4739         * text3.C: re-add missing system headers, needed for 2.95.2.
4740
4741 2003-09-05  Angus Leeming  <leeming@lyx.org>
4742
4743         Changes most place everywhere due to the removal of using directives
4744         from support/std_sstream.h.
4745
4746 2003-09-05  Angus Leeming  <leeming@lyx.org>
4747
4748         Replace LString.h with support/std_string.h,
4749         Lsstream.h with support/std_sstream.h,
4750         support/LIstream.h with support/std_istream.h,
4751         support/LOstream.h with support/std_ostream.h.
4752
4753         Changes resulting throughout the tree.
4754
4755 2003-09-05  Angus Leeming  <leeming@lyx.org>
4756
4757         * sgml.h: ensure that the header file can be compiled stand-alone.
4758         * *.C: strip out redundant #includes. (320 in total.)
4759
4760 2003-09-04  Angus Leeming  <leeming@lyx.org>
4761
4762         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4763         here (from getPackages).
4764
4765         * debug.[Ch]: add a new EXTERNAL tag.
4766
4767 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4768
4769         * text2.C (cursorEnd): simplify
4770         (setCursor): adjust
4771         (getColumnNearX): adjust
4772
4773         * text.C (computeBidiTables): adjust
4774         (fill): adjust
4775
4776         * rowpainter.C (paintChars): adjust
4777         (paintSelection): adjust
4778         (paintChangeBar): adjust
4779         (paintText): adjust
4780
4781         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4782         lastPos instead.
4783         (numberOfSeparators): adjust
4784
4785 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4786
4787         * LyXAction.C:
4788         * box.[Ch]:
4789         * lfuns.h:
4790         * lyxfunc.C:
4791         * text3.C: Restricts the mouse click functionality
4792         of insets like bibtex, include, toc and floatlist to the visible
4793         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4794         up the dialogs. Cursor has to be in front of the inset (i.e.
4795         start of row) for this to function.
4796
4797 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4798
4799         * bufferview_funcs.C (currentState): output row information
4800
4801 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4802
4803         * bufferview_funcs.C (currentState): output paragraph position
4804
4805 2003-09-04  Angus Leeming  <leeming@lyx.org>
4806
4807         * FloatList.h: move out #include "Floating.h".
4808         * LaTeX.h: move out #include "DepTable.h".
4809         * LyXAction.h: move out #include "funcrequest.h".
4810         * buffer.h: move out #include "author.h", "iterators.h".
4811         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4812         * lyx_main.h: move out #include "errorlist.h".
4813         * lyxfunc.h: move out #include "FuncStatus.h".
4814         * lyxtext: move out #include "lyxcursor.h".
4815         * paragraph_pimpl.h: move out #include "counters.h".
4816
4817 2003-09-03  Angus Leeming  <leeming@lyx.org>
4818
4819         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4820         preamble_snippets list, enabling us to add snippets to the preamble
4821         only if the snippet was not there already.
4822
4823 2003-09-04  Angus Leeming  <leeming@lyx.org>
4824
4825         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4826
4827 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4830         update
4831
4832 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4833
4834         * BranchList.C: point fix, earlier forgotten
4835
4836 2003-09-02  Angus Leeming  <leeming@lyx.org>
4837
4838         * box.C (contains): renamed from 'contained' after a fantastic
4839         amount of hot air.
4840
4841 2003-09-02  John Levon  <levon@movementarian.org>
4842
4843         * BufferView.C:
4844         * lyxcursor.h:
4845         * lyxcursor.C:
4846         * lyxfunc.C:
4847         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4848
4849 2003-09-02  John Levon  <levon@movementarian.org>
4850
4851         * text2.C: simplification of cursorEnd(), including partial
4852         fix for bug 1376
4853
4854 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4855
4856         * buffer.C (readFile): add a space
4857
4858 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4861
4862 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * buffer.C (readFile): new function, take a filename and a
4865         ParagraphList::iterator
4866         (readFile): adjust
4867         (readFile): adjust, make it private. don't use setStream, make
4868         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4869         always contain the filename.
4870
4871         * BufferView.C (insertLyXFile): simplify and make it work for
4872         gzipped files.
4873
4874 2003-08-30  John Levon  <levon@movementarian.org>
4875
4876         * Makefile.am: fix dist (from Kayvan)
4877
4878 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * most files: change to use const Buffer refs
4881
4882 2003-08-27  André Pönitz  <poenitz@gmx.net>
4883
4884         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4885         on top of ownerPar().
4886
4887 2003-08-27  John Levon  <levon@movementarian.org>
4888
4889         * funcrequest.C: properly initialise POD members
4890
4891 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * lyxtext.h (top_y): move top_y from here
4894         * text.C:
4895         * text2.C:
4896         * text3.C:
4897         * BufferView.[Ch]:
4898         * BufferView_pimpl.[Ch]: to here
4899         * frontends/screen.C:
4900         * insets/insettabular.C:
4901         * insets/insettext.C: adjust
4902         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4903
4904 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4905
4906         * BufferView.[Ch]:
4907         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4908
4909 2003-08-26  André Pönitz  <poenitz@gmx.net>
4910
4911         * paragraph_func.[Ch] (outerPar): new function
4912
4913         * paragraph.C:
4914         * paragraph_funcs.C:
4915         * paragraph_funcs.h:
4916         * paragraph_pimpl.C:
4917         * text2.C: remove Inset::par_owner
4918
4919 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4920
4921         * lyxrow_funcs.C:
4922         * lyxtext.h:
4923         * text.C:
4924         * text2.C: eliminates the needFullRow/display() stuff
4925         altogether, putting the logic in metrics/draw in the insets.
4926
4927 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * text2.C (redoParagraphInternal, redoParagraphs):
4930         * text.C (redoParagraph): add a call to updateRowPositions at the
4931         end of each 'metrics-like' call. Remove all others.
4932         (getRow): remove the 'y-computing' version.
4933         (getRowNearY): do not compute nor return the real y. Solve the
4934         'y < 0' problem and simplify.
4935
4936 2003-08-22  Angus Leeming  <leeming@lyx.org>
4937
4938         * *.[Ch]: clean-up of licence and author blurbs.
4939         Also move config.h out of a few .h files and into a few .C files.
4940
4941 2003-08-22  André Pönitz  <poenitz@gmx.net>
4942
4943         * lyxrow.[Ch]: add x_ and *fill_ members
4944
4945         * lyxtext.h:
4946         * text.C:
4947         * rowpainter.C:
4948         * text2.C: adjust/remove prepareToPrint() calls
4949
4950 2003-08-22  André Pönitz  <poenitz@gmx.net>
4951
4952         * lyxrow.[Ch]: add  end_ member
4953
4954         * lyxrow_funcs.C: use LyXRow::end_
4955
4956         * lyxtext.h (singleWidth): add LyXFont parameter
4957
4958         * rowpainter.C:
4959         * text2.C: adjust LyXText::singleWidth() calls
4960
4961         * text.C (redoParagraph): simplify row breaking logic
4962
4963
4964 2003-08-19  André Pönitz  <poenitz@gmx.net>
4965
4966         * funcrequest.C: initialize button_ member
4967
4968         * text3.C:
4969         * rowpainter.[Ch]: interface consolidation
4970
4971 2003-08-18  André Pönitz  <poenitz@gmx.net>
4972
4973         * BufferView.C:
4974         * BufferView_pimpl.C:
4975         * lyxfind.C:
4976         * paragraph_funcs.C:
4977         * rowpainter.C:
4978         * text3.C: remove LyXScreen::draw() and fitCursor calls
4979
4980         * BranchList.h: remove spurious semicolons
4981
4982         * MenuBackend.C: fix branchlist related crash
4983
4984 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4985
4986         * BranchList.[Ch]:
4987         * InsetList.[Ch]:
4988         * LColor.[Ch]:
4989         * LyXAction.C:
4990         * Makefile.am:
4991         * MenuBackend.[Ch]:
4992         * bufferparams.[Ch]:
4993         * factory.C:
4994         * lfuns.h:
4995         * lyxfunc.C:
4996         * text3.C: implements the 'branch inset'
4997         idea. This allows the output of various versions of a document
4998         from a single source version, selectively outputing or suppressing
4999         output of parts of the text.
5000         This implementation contains a 'branch list editor' in a separate
5001         tab of the document settings dialog. Branches are user definable
5002         and have a "display colour" to distinguish them on-screen.
5003
5004         ColorHandler was somewhat cleaned up.
5005         (1) make possible a dynamically growing LColor list by allowing
5006         the graphic context cache to grow along (vector);
5007         (2) eliminate an IMHO unnecessary step in colour allocation.
5008
5009 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5010
5011         * BufferView_pimpl.C: compile fix
5012
5013 2003-08-15  André Pönitz  <poenitz@gmx.net>
5014
5015         * rowpainter.C: remove extra metrics calls
5016
5017         * lyxtext.h: merge the two constructors into a single one,
5018           pass reference to owner's par list
5019
5020         * BufferView_pimpl.C:
5021         * text.C:
5022         * text2.C: adjust
5023
5024 2003-08-15  André Pönitz  <poenitz@gmx.net>
5025
5026         * lyxrow_funcs.[Ch]:
5027         * lyxtext.h:
5028         * paragraph.h:
5029         * paragraph_funcs.C:
5030         * rowpainter.C:
5031         * text.C:
5032         * text2.C:
5033         * text3.C:
5034         * text_funcs.C: split LyXText::rowlist_ into individual
5035         Paragraph::rows_ chunks
5036
5037         * BufferView.[Ch]:
5038         * BufferView_pimpl.[Ch]:
5039         * lyxfind.C:
5040         * lyxtext.h:
5041         * text3.C: remove toggleSelection()
5042
5043 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5044
5045         * bufferlist.C: beautify two alerts (shorter text of buttons)
5046         * buffer.C: Remove redundant ' ' from message
5047         * tabular.h:
5048         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5049         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5050         rename VALIGN_CENTER to VALIGN_MIDDLE
5051
5052 2003-08-11  André Pönitz  <poenitz@gmx.net>
5053
5054         * lyxtext.h (getPar):
5055         * text.C: new function
5056
5057 2003-08-11  André Pönitz  <poenitz@gmx.net>
5058
5059         * Makefile.am:
5060         * tracer.[Ch]: remove unneeded files
5061
5062         * InsetList.[Ch]: remove resizeInsetsLyXText()
5063
5064         * lyxtext.h:
5065         * text.C:
5066         * text2.C:
5067         * text3.C: merge insertParagraphs() and appendParagraph()
5068         remove breakAgain(), update()
5069
5070         * BufferView_pimpl.[Ch]:
5071         * bufferview_funcs.[Ch]:
5072         * lyxfunc.C:
5073         * paragraph.[Ch]:
5074         * rowpainter.C:
5075         * tabular.C: adjust after text & InsetList changes.
5076
5077 2003-08-08  André Pönitz  <poenitz@gmx.net>
5078
5079         * text.C (insertChar, backspace): replace rowlist fiddling
5080         with rebreak of full par
5081
5082         * lyxtext.h:
5083         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5084         checkParagraph, updateInset): removed
5085
5086 2003-08-07  André Pönitz  <poenitz@gmx.net>
5087
5088         * paragraph.C:
5089         * text3.C: merge some LFUN handlers, remove dead code
5090
5091 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5092
5093         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5094
5095 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5096
5097         * text2.C (DEPM): fix part of bug 1255 and 1256
5098
5099 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5100
5101         * BufferView_pimpl.C (workAreaDispatch): change to use
5102         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5103         that are no mouse related.
5104
5105 2003-08-05  André Pönitz  <poenitz@gmx.net>
5106
5107         * BufferView.[Ch]:
5108         * BufferView_pimpl.[Ch]:
5109         * bufferview_funcs.C:
5110         * text2.C:
5111         * text3.C: rip out "deep update"
5112
5113         * textcursor.[Ch] (last_sel_cursor): remove unused member
5114
5115 2003-08-04  André Pönitz  <poenitz@gmx.net>
5116
5117         * BufferView.[Ch]:
5118         * BufferView_pimpl.[Ch]:
5119         * ParagraphParameters.C:
5120         * bufferview_funcs.C:
5121         * lyx_cb.C:
5122         * lyxfind.C:
5123         * lyxfunc.C:
5124         * text.C:
5125         * text2.C:
5126         * text3.C: replace "complicated" BufferView::update(...) calls with
5127         simpler ones.
5128
5129         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5130
5131 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5132
5133         * Makefile.am (lyx_SOURCES): add paper.h
5134
5135 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5136
5137         * Makefile.am: move things around so that both lyx-qt and
5138         lyx-xforms can be built (according to --with-frontend). Then lyx
5139         is a symbolic link to lyx-[firstfrontend]
5140
5141 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5142
5143         * Always use std::endl with lyxerr
5144
5145 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5146
5147         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5148
5149 2003-08-01  André Pönitz  <poenitz@gmx.net>
5150
5151         * BufferView.[Ch]:
5152         * BufferView_pimpl.[Ch]:
5153         * lyxfunc.C:
5154         * text3.C: merge BufferView::repaint() and BufferView::update()
5155
5156 2003-08-01  José Matos  <jamatos@lyx.org>
5157
5158         * buffer.[Ch]: file_format is no longer a buffer data element.
5159
5160 2003-08-01  André Pönitz  <poenitz@gmx.net>
5161
5162         * BufferView.C:
5163         * lyxtext.h:
5164         * text.C:
5165         * text2.C: make redoParagraph more independent of current cursor
5166
5167         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5168         * text.C:
5169         * text2.C: remove unneeded members
5170
5171 2003-07-30  André Pönitz  <poenitz@gmx.net>
5172
5173         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5174
5175         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5176           create a single function...
5177
5178         * paragraph_funcs.C (moveItem): ... here.
5179
5180         * text.C:
5181           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5182
5183 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5184
5185         * LColor.[Ch]: Add comment and greyedout logical colors.
5186
5187 2003-07-30  André Pönitz  <poenitz@gmx.net>
5188
5189         * tabular.C: don't use Assert too heavily. This crashes where it
5190           shouldn't
5191
5192 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5195         is disabled (bug 1232)
5196
5197 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5198
5199         * factory.C: limited 'arg' scope
5200
5201 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5202
5203         * factory.C: fixed Note submenu issues
5204
5205 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5206
5207         * factory.C: submenu for Note/Comment/Greyedout
5208
5209 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * lyx_main.C (LyX):
5212         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5213
5214 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5215
5216         * LaTeXFeatures.C:
5217         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5218         greyedout. Patch provided by Jürgen Spitzmüller.
5219
5220 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5221
5222         * kbmap.C (read): fix error message when reading bind files
5223
5224 2003-07-29  Angus Leeming  <leeming@lyx.org>
5225
5226         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5227         certainly does not do what it purports to do. I am doing it, and
5228         us, a favour by killing it.
5229
5230 2003-07-28  José Matos  <jamatos@lyx.org>
5231
5232         * buffer.C (readBody, do_writeFile):
5233         * paragraph.C(readParagraph): \end_document replaces \the_end.
5234
5235 2003-07-29  André Pönitz  <poenitz@gmx.net>
5236
5237         * BufferView.[Ch]:
5238         * BufferView_pimpl.[Ch]:
5239         * lyxfunc.C:
5240         * text2.C:
5241         * text3.C:
5242         * textcursor.[Ch]: remove toggleToggle & Co
5243
5244 2003-07-28  José Matos  <jamatos@fep.up.pt>
5245
5246         * buffer.C (readParagraph):
5247         * params_func (readParToken, readParagraph):
5248         * paragraph.C (write): \layout -> \begin_layout.
5249
5250 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * lyxlex_pimpl.C (setFile): clean up slightly.
5253
5254         * bufferparams.h: add compressed var
5255
5256         * buffer_funcs.C (readFile): adjust for LyXLex change
5257         (newFile): ditto + simplify
5258
5259         * buffer.C (writeFile): handle writing of compressed files
5260
5261         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5262         Check if the file is compressed and set a bufferparm if so.
5263
5264         * Makefile.am (lyx_LDADD): remove explicit -lz
5265
5266 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5267
5268         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5269         makeDocBookFile): put the real LyX version in the first line of
5270         the file
5271
5272         * version.h:
5273         * version.C.in: remove lyx_docversion
5274
5275         * tabular.C (write_attribute): add a template-based version to
5276         write enums properly
5277
5278 2003-07-28  André Pönitz  <poenitz@gmx.net>
5279
5280         * lyxtext.h:
5281         * text.C:
5282         * text2.C:
5283         * text3.C: use doubles again for x-coordinates. They are needed.
5284
5285 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * messages.C (getLocaleDir): use lyx_localedir()
5288
5289         * lyxlex_pimpl.C (setFile): compress stuff
5290
5291         * buffer.C (writeFile): add some compression stuff
5292         (do_writeFile): new func, dont call expliti close... will this
5293         breake anything?
5294
5295         * Makefile.am (lyx_LDADD): add -lz
5296
5297 2003-07-28  José Matos  <jamatos@fep.up.pt>
5298
5299         * buffer.C: increment file format.
5300         * paragraph_funcs (readParagraph, readParToken):
5301         * paragraph.C (readParagraph): add \end_layout.
5302
5303 2003-07-27  Angus Leeming  <leeming@lyx.org>
5304
5305         * Makefile.am: remove special casing for configure-time setting of
5306         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5307
5308         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5309         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5310
5311 2003-07-26  André Pönitz  <poenitz@gmx.net>
5312
5313         * paragraph_func.[Ch]:
5314         * paragraph.C (realizeFont): inline it whereever it is used
5315
5316         * rowpainter.C:
5317         * text.C:
5318         * text2.C:
5319         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5320
5321
5322 2003-07-26  André Pönitz  <poenitz@gmx.net>
5323
5324         *       lyxtext.h:
5325         * text.C:
5326         * text2.C: get rid of LyXText::need_break_row
5327
5328 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * toc.[Ch]: put namespace toc inside namespace lyx
5331
5332         * MenuBackend.C (expandToc2): adjust for lyx::toc
5333         (expandToc): ditto
5334
5335         * lyxfunc.C (dispatch): adjust for lyx::find
5336
5337         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5338         lyx::find instead. Reorganize a bit.
5339         (LyXReplace): rename to replace
5340         (LyXFind): rename to find
5341
5342         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5343         (dispatch): ditto
5344
5345 2003-07-26  André Pönitz  <poenitz@gmx.net>
5346
5347         * text.C (setHeightOfRow): restrict scope of temporary variable
5348
5349         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5350           code (never has been used?)
5351
5352 2003-07-27  Asger Alstrup  <alstrup@local>
5353
5354         * text.C (fill): Optimise algorithm to exploit that we can reuse
5355         the LyXFont for many characters.
5356         (setHeightOfRow): Same thing.
5357         (rowBreakPoint): Same thing.
5358
5359 2003-07-26  Asger Alstrup  <alstrup@local>
5360
5361         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5362
5363         * text.C (singleWidth): Spurious font copying in hot-spot
5364         singleWidth avoided. Reorder tests for arabic for efficiency.
5365
5366         * text.C (fill): handle empty paragraphs better.
5367
5368 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5369
5370         * ispell.C:
5371         * encoding.h: add includes
5372
5373         * lyxrc.C: remove reading of bind files
5374
5375         * lyx_main.C (init): setup bindings and menus only if we have a
5376         gui.
5377
5378         * kbmap.C (read): new method. Do the actual reading of bind
5379         files.
5380
5381         * converter.C (dvipdfm_options):
5382         * bufferparams.C:
5383         * lyxrc.C (read):
5384         (output): adapt PAPER_* enums.
5385
5386         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5387
5388         * bufferparams.h: remove paper-related enums from there
5389
5390         * paper.h: New file. A trivial header file to hold paper-related
5391         enums. It should later expand to contain many paper-related
5392         horrors access.
5393
5394         * lyxrc.C: declare extern displayTranslator
5395
5396 2003-07-27  José Matos  <jamatos@fep.up.pt>
5397
5398         * tabular.[Ch] (linuxdoc): add support for tables and figures
5399         (linuxdoc).
5400
5401 2003-07-27  José Matos  <jamatos@fep.up.pt>
5402
5403         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5404         consistency in both functions.
5405         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5406
5407 2003-07-26  Asger Alstrup  <alstrup@local>
5408
5409         * rowpainter.C (paintRows): Change algorithm to work directly on
5410         the insets rather than asking every character in the document
5411         whether its an inset.
5412
5413 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5414
5415         * buffer.C (openFileWrite): factorize some code
5416
5417 2003-07-26  Angus Leeming  <leeming@lyx.org>
5418
5419         * lyx_cb.C:
5420         * lyx_main.[Ch]: replace occurances of system_tempdir with
5421         os::getTmpDir().
5422
5423 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * rename Inset to InsetOld
5426
5427 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5428
5429         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5430         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5431         which I think is a bit clearer. EDIT is gone, since it was
5432         premature optimisation, and broken for mathed anyway.
5433         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5434         with cursor positioning in insets as well (math insets still do not
5435         work, but that's a different story anyway.) It mysteriously
5436         crashes sometimes with undo in the first paragraph, but I'm fairly
5437         confident that this is a compiler bug.
5438
5439 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * paragraph.C (Paragraph): adjust for new clone return type
5442         (operator==): ditto
5443         (copyIntoMinibuffer): ditto
5444
5445 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5446
5447         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5448         by not having a special case, and always doing a full rebreak of
5449         the document after undo.
5450
5451 2003-07-23  Angus Leeming  <leeming@lyx.org>
5452
5453         * factory.C (createInset): InsetExternal::setParams now takes a
5454         Buffer const * arg.
5455
5456 2003-07-23  Angus Leeming  <leeming@lyx.org>
5457
5458         * factory.C (createInset): changed interface to the external and
5459         graphics mailers' string2params functions.
5460
5461 2003-07-23  Angus Leeming  <leeming@lyx.org>
5462
5463         * factory.C (createInset): pass a
5464         Buffer const * parameter to InsetExternalMailer's string2params.
5465
5466 2003-07-22  John Levon  <levon@movementarian.org>
5467
5468         * Thesaurus.h: include the right aiksaurus header
5469
5470 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5471
5472         * MenuBackend.C (expand): check menu shortcuts unconditionally
5473
5474 2003-07-21  Angus Leeming  <leeming@lyx.org>
5475
5476         * factory.C (createInset): pass a
5477         buffer_path parameter to InsetGraphicsMailer's string2params.
5478
5479 2003-07-21  Angus Leeming  <leeming@lyx.org>
5480
5481         * BufferView_pimpl.C (buffer):
5482         * buffer.C (d-tor):
5483         * lyx_main.C (LyX):
5484         * lyxfunc.C (dispatch):
5485         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5486         rather than the grfx shortcut.
5487
5488 2003-07-21  André Pönitz  <poenitz@gmx.net>
5489
5490         * rowpainter.C: remove unused variables
5491
5492         * tabular_funcs.C:
5493         * tabular_funcs.h: move to tabular.C
5494         * Makefile.am: adjust
5495
5496         * tabular.[Ch]: basic optical cleaning
5497
5498         * author.h: pass references, not values
5499
5500 2003-07-18  André Pönitz  <poenitz@gmx.net>
5501
5502         * lyxtext.h:
5503         * metricsinfo.C:
5504         * metricsinfo.h:
5505         * rowpainter.C:
5506         * text.C:
5507         * text2.C:
5508         * text3.C: two-phase drawing for InsetText and InsetTabular
5509         some float -> int changes.
5510
5511 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5512
5513         * lyx_main.C: fix the fix
5514
5515 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5516
5517         * lyx_main.C: fix a crash in batch mode if no files specified
5518         * converter.C: ws
5519
5520 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * format.[Ch] (papersize): moved to BufferParams
5523         * converter.[Ch] (dvips_options): moved to BufferParams
5524         (dvipdfm_options): moved to anon namespace
5525         * bufferparams.[Ch]: added above functions.
5526
5527 2003-07-17  André Pönitz  <poenitz@gmx.net>
5528
5529         * lyxtext.h:
5530         * rowpainter.C:
5531         * text2.C: don't call inset->update() anymore
5532
5533         * metricsinfo.[Ch]: add convenience constructor
5534
5535 2003-07-16  André Pönitz  <poenitz@gmx.net>
5536
5537         * lyxcursor.[Ch]:
5538         * lyxfunc.[Ch]:
5539         * text.C:
5540         * text2.C: replace the LyXCursor::irow_ member with
5541          on-demand computation of the value
5542
5543 2003-07-16  John Levon  <levon@movementarian.org>
5544
5545         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5546
5547 2003-07-15  André Pönitz  <poenitz@gmx.net>
5548
5549         * text.C:
5550         * text2.C: remove no more needed refresh_row
5551
5552 2003-07-15  André Pönitz  <poenitz@gmx.net>
5553
5554         * lyxtext.h:
5555         * rowpainter.C:
5556         * text2.C:
5557         * text3.C: refresh_status tristate -> need_update bool
5558
5559 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * lyxtext.h (init): remove reinit argument (act as if always true)
5562         * text2.C: adjust to that
5563
5564 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5565
5566         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5567         * text3.C: use it to delete selections in some cases
5568         (bugs 441, 673, 702, 954).
5569
5570 2003-07-14  André Pönitz  <poenitz@gmx.net>
5571
5572         * rowpainter.[Ch]: reduce interface
5573
5574 2003-07-14  André Pönitz  <poenitz@gmx.net>
5575
5576         * BufferView_pimpl.C:
5577         * text2.C: adjust after removing unused BufferView * argument
5578
5579 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5580
5581         * text2.C (init): fix a crash fired on resize
5582
5583 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5584
5585         * buffer.[Ch]: added new closing signal
5586         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5587         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5588         BufferView::Pimpl via the closing the signal
5589
5590 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5591
5592         * buffer.[Ch]: take out all bv-related from buffer
5593         * BufferView.C:
5594         * BufferView_pimpl.[Ch]: connect to new signals
5595         * CutAndPaste.C: removed useless asserts
5596         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5597         * lyxvc.[Ch]:
5598         * vc-backend.[Ch]:
5599         * lyxfunc.C: moved view-related funciontality from vc here
5600         * paragraph.C: removed outdated comments
5601         * text.C: ws
5602
5603 2003-07-10  André Pönitz  <poenitz@gmx.net>
5604
5605         * BufferView_pimpl.C:
5606         * tabular.h:
5607         * tabular_funcs.C:
5608         * text.C:
5609         * text2.C: remove InsetText::InnerCache, clean up consequences
5610
5611 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5612
5613         * ispell.C: fix two typos in error messages
5614
5615 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5616
5617         * Extend Note inset to other forms of annotation like Comment
5618         and Greyedout. Right button click gives dialog.
5619
5620         Files modified or added (+):
5621
5622         * insetnote.[Ch]
5623         * FormNote.[Ch]      +
5624         * ControlNote.[Ch]   +
5625         * form_note.fd       +
5626         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5627         frontends/controllers
5628         * xforms/Dialogs.C
5629         * factory.C
5630
5631 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5632
5633         * aspell.C: add missing namespace lyx::support
5634
5635 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5636
5637         * BufferView.[Ch] (newFile): Add
5638         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5639         * LaTeX.[Ch] (message): added this signal and use it
5640         * buffer.[Ch] (busy, message): added these signals and use them
5641         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5642         * converter.C:
5643         * exporter.C:
5644         * format.C:
5645         * importer.C: use buffer signals instead of direct bv calling
5646         * lyx_cb.[Ch] (ShowMessage): removed
5647         * lyx_main.C:
5648         * lyxfunc.C:
5649         * paragraph_funcs.C:
5650         * text2.C: use buffer signals
5651
5652 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * introduce namespace lyx::graphics
5655
5656 2003-07-02  André Pönitz  <poenitz@gmx.net>
5657
5658         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5659
5660 2003-07-01  André Pönitz  <poenitz@gmx.net>
5661
5662         * text.C:
5663         * text2.C:
5664         * text3.C:
5665         * text_funcs.[Ch]:
5666         * textcursor.h:
5667         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5668           text*.C to text_func.C
5669
5670 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * introduce namespace lyx::support
5673
5674 2003-06-30  André Pönitz  <poenitz@gmx.net>
5675
5676         * Chktex.C:
5677         * funcrequest.C:
5678         * lyxtext.h:
5679         * text.C: re-enable --with-included-string
5680
5681 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * textcursor.C: add <config.h>
5684
5685         * text.C (getWord): remove const from word_location arg
5686
5687         * lyxvc.C (getLogFile): fix const type order
5688
5689         * lyxtext.h: remove const from word_location arg, add arg name
5690
5691         * lyxlayout.h: currect type on labeltype.
5692
5693         * importer.C: correct \file
5694
5695         * converter.C (intToFormat): use std:: on ret val, ws changes
5696
5697         * bufferlist.h: correct \file
5698
5699         * buffer.C (makeLinuxDocFile): fix const type order
5700         (makeDocBookFile): ditto
5701         (fillWithBibKeys): use std:: on stdlib args.
5702
5703         * CutAndPaste.C: fix authors.
5704         (availableSelections): use std:: on return vector
5705
5706 2003-06-27  André Pönitz  <poenitz@gmx.net>
5707
5708         * BufferView_pimpl.C:
5709         * bufferview_funcs.C:
5710         * lyxcursor.C:
5711         * lyxcursor.h:
5712         * lyxfunc.C:
5713         * lyxtext.h:
5714         * rowpainter.C:
5715         * text.C:
5716         * text2.C:
5717         * text3.C: remove LyXCursor::row_ member
5718
5719         * lyxtext.h:
5720         * text.C: rename fullRebreak() to partialRebreak() and implement
5721           a fullRebreak() that really bereks fully
5722
5723         * textcursor.h: new struct for cursor-related data
5724
5725 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5726
5727         * lyx_main.C (LyX): get full path of document loaded on the
5728         command line
5729
5730 2003-06-26  André Pönitz  <poenitz@gmx.net>
5731
5732         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5733           remove unused/broken operator>,<,>=.
5734
5735         *       text.C: remove only use of broken operator<= in an Assert().
5736
5737 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5738
5739         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5740         moved errorlist_.clear to showErrorList
5741
5742 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5743
5744         * converter.C (scanLog, runLaTeX):
5745         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5746         move the bv->showErrorList call to the callers
5747         * lyxfunc.C: i.e. here...
5748         * text2.C: and here
5749         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5750         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5751         namespace, the second to...
5752         * buffer_funcs (BufferFormat, parseErrors): added
5753         * errorlist.C (ErrorList(TeXErrors const &)): removed
5754
5755 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5756
5757         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5758
5759 2003-06-24  "Garst R. Reese" <reese@isn.net>
5760
5761         * debug.C: fix typo
5762
5763 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5764
5765         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5766
5767         * version.C.in: change docversion to 1.4
5768
5769 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5770
5771         * buffer.C: fix a bug just introduced
5772
5773 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5774
5775         * buffer.[Ch]: added the parseError signal and use it, removed
5776         sgmlError
5777         * BufferView.[Ch] (addError): moved to ...
5778         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5779         to the Buffer::parseError signal to catch (guess what) parse errors
5780         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5781
5782 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5783
5784         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5785         ability to create a buffer and to return an existing one from
5786         the list. Moved these functions to...
5787         * buffer_funcs.[Ch]: added
5788         * BufferView.[Ch] (loadLyXFile): added
5789         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5790         job removed from bufferlist::loadLyXFile.
5791         * buffer.C (setReadOnly): make it work without view
5792         (i.e added an if (users))
5793
5794 2003-06-19  Angus Leeming  <leeming@lyx.org>
5795
5796         * lfuns.h:
5797         * LyXAction.C (init):
5798         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5799         with LFUN_DIALOG_SHOW <name> <data>.
5800
5801 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5802
5803         * CutAndPaste.C (availableSelections): small compilation fix for
5804         ancient (gcc 2.9x) compilers
5805
5806 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807
5808         * text3.C (cursorNext): add tmp var
5809
5810         * text2.C (updateCounters): for function calling out of for clause
5811         (replaceSelectionWithString): ditto
5812         (insertStringAsParagraphs): ditto
5813         (getColumnNearX): add tmp var
5814         (setCursorFromCoordinates): add tmp var
5815         (cursorDownParagraph): add tmp var
5816         (deleteEmptyParagraphMechanism): add tmp var
5817
5818         * text.C (insertChar): add tmp var
5819
5820         * rowpainter.C (paintDepthBar): add tmp var
5821
5822         * CutAndPaste.C (availableSelections): potentially check all
5823         paragraphs in a cut to fill the shown strings.
5824
5825 2003-06-18  André Pönitz  <poenitz@gmx.net>
5826
5827         * kbmap.[Ch]: use vector<> instead of list<>
5828
5829 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5830
5831         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5832         pasteSelection with index
5833
5834         * text2.C (pasteSelection): modify, call pasteSelection with index
5835
5836         * paragraph.C (asString): reimplement version with no interval to
5837         call the one with interval.
5838
5839         * lyxtext.h: add index arg to pasteSelection
5840
5841         * MenuBackend.C (MenuItem): handle PasteRecent
5842         (Menu::read::Menutags): add md_pasterecent
5843         (read): handle it
5844         (expandPasteRecent): new function
5845         (expand): use it
5846
5847         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5848
5849         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5850         the limited stack
5851         (availableSelections): new function
5852
5853 2003-06-17  Angus Leeming  <leeming@lyx.org>
5854
5855         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5856
5857 2003-06-17  Angus Leeming  <leeming@lyx.org>
5858
5859         * lfuns.h:
5860         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5861
5862         * lyxfunc.C (dispatch): invoke it.
5863
5864 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5865
5866         * iterators.C (operator++, ParPosition): reintroduce some
5867         const_cast for the benefit of older compilers.
5868
5869 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5870
5871         * text3.C (dispatch): do not modify clipboard when doing
5872         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5873         LFUN_DELETE_SKIP on a selection selection
5874
5875 2003-06-16  André Pönitz  <poenitz@gmx.net>
5876
5877         * BufferView.C:
5878         * buffer.C:
5879         * buffer.h:
5880         * paragraph.C:
5881         * tabular.[Ch]: IU of clone() and getLabelList();
5882
5883 2003-06-13  André Pönitz  <poenitz@gmx.net>
5884
5885         * tabular.h: compactification
5886
5887 2003-06-12  André Pönitz  <poenitz@gmx.net>
5888
5889         * tabular.C:
5890         * tabular.h:
5891         * tabular_funcs.h: some renaming plus whitespace
5892
5893 2003-06-12  André Pönitz  <poenitz@gmx.net>
5894
5895         * BufferView.C:
5896         * BufferView_pimpl.C:
5897         * CutAndPaste.C:
5898         * buffer.C:
5899         * iterators.[Ch]:
5900         * lyxfunc.C:
5901         * text.C:
5902         * toc.C: Return a Paragraph & for ParIterator::operator*()
5903
5904 2003-06-11  John Levon  <levon@movementarian.org>
5905
5906         * lyx_main.C:
5907         * ToolbarBackend.h:
5908         * ToolbarBackend.C: add "Toolbars" section and
5909         put the flags there
5910
5911 2003-06-10  Angus Leeming  <leeming@lyx.org>
5912
5913         * lfuns.h:
5914         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5915
5916         * lyxfunc.C (dispatch): invoke it.
5917
5918 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * main.C: protect <ios> with HAVE_IOS
5921         (main): protect sync_with_stdio with HAVE_IOS
5922
5923 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5924
5925         * text2.C (cutSelection): adjust
5926         (pasteSelection): adjust
5927
5928         * messages.C: handle get of empty string
5929
5930         * main.C (main): use sync_with_stdio(false)
5931
5932         * lyxfunc.C (dispatch): adjust
5933
5934         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5935         (WriteAs): remove unneeded BufferView arg.
5936
5937         * bufferparams.h: use correct types on papersize, papersize2 and
5938         paperpackage.
5939
5940         * bufferparams.C (readToken): adjust for type
5941         (writeLaTeX): add missing cases to switch.
5942
5943         * bufferlist.C (quitWriteBuffer): adjust
5944         (close): adjust
5945
5946         * buffer.C (asciiParagraph): remove some commented code.
5947
5948         * CutAndPaste.C: remove current_view extern variable.
5949         (cutSelection): add BufferParams arg.
5950         (eraseSelection): add BufferParams arg.
5951         (pasteSelection): add Buffer const & arg
5952
5953 2003-06-07  John Levon  <levon@movementarian.org>
5954
5955         * buffer.C:
5956         * paragraph_funcs.C:
5957         * paragraph_pimpl.C:
5958         * text.C:
5959         * text2.C:
5960         * paragraph.h:
5961         * paragraph.C: allow InsetERT to freely space lines,
5962         and some consolidation of code
5963
5964 2003-06-06  José Matos  <jamatos@fep.up.pt>
5965
5966         * buffer.C (makeDocBookFile): fix bug #821
5967
5968 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5971
5972 2003-06-04  Angus Leeming  <leeming@lyx.org>
5973
5974         * buffer.C: bump format to 224.
5975
5976 2003-06-05  André Pönitz  <poenitz@gmx.net>
5977
5978         * text2.C (redoParagraphs): remove two const_cast<>
5979
5980 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5981
5982         * ParagraphList.h: remove last remnants of NO_STD_LIST
5983
5984 2003-06-03  Angus Leeming  <leeming@lyx.org>
5985
5986         * factory.C (createInset): small change to the way InsetExternal's params
5987         are set.
5988
5989 2003-06-04  André Pönitz  <poenitz@gmx.net>
5990
5991         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5992
5993         * paragraph_pimpl.h:
5994         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5995
5996         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5997
5998         * undo_funcs.C: make some simple cases of undo work again
5999
6000 2003-06-03  John Levon  <levon@movementarian.org>
6001
6002         * ispell.C: HPUX doesn't have sys/select.h
6003         (from Albert Chin)
6004
6005 2003-06-03  John Levon  <levon@movementarian.org>
6006
6007         * CutAndPaste.C: update tabular and include inset
6008         buffer references
6009
6010         * buffer.h:
6011         * paragraph.h:
6012         * paragraph.C: remove owningBuffer(), don't pass Buffer
6013         to clone()
6014
6015         * factory.C: insetGraphicsParams changed
6016
6017 2003-06-02  John Levon  <levon@movementarian.org>
6018
6019         * LyXAction.C:
6020         * factory.C:
6021         * lfuns.h:
6022         * lyxfunc.C:
6023         * text3.C: remove insetparent
6024
6025 2003-06-02  John Levon  <levon@movementarian.org>
6026
6027         * buffer.h:
6028         * buffer.C: fix inset_iterator.end(), move out of line
6029         (bug 1149)
6030
6031 2003-06-01  John Levon  <levon@movementarian.org>
6032
6033         * text3.C: use a proper cut/paste when doing inset
6034         insert (from Jürgen Spitzmüller)
6035
6036 2003-06-01  John Levon  <levon@movementarian.org>
6037
6038         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6039
6040 2003-05-30  André Pönitz  <poenitz@gmx.net>
6041
6042         * rowpainter.C: unify second drawing phase
6043
6044 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * trans_mgr.C: remove one case of current_view
6047
6048         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6049
6050         * paragraph_funcs.h: remove paragraph.h include
6051
6052         * paragraph.h: delete NO_STD_LIST stuff
6053
6054         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6055
6056         * buffer.h: remove paragraph.h include
6057
6058         * ParagraphList.C: delete file
6059
6060         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6061
6062         * toc.C (getTocList): adjust
6063
6064         * paragraph_pimpl.C (validate): adjust
6065
6066         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6067
6068         * paragraph.C (Paragraph): adjust
6069         (getPositionOfInset): use const_iterator, adjust
6070         (bibitem): use const_iterator, adjust
6071         (setInsetOwner): adjust
6072
6073         * iterators.C (operator++): adjust
6074
6075         * InsetList.[Ch]: Replace selfmade iterator with standard
6076         vector::iterator also introduce const_iterator. Remove getPos,
6077         getInset and setInset from InsetTable. Adjust accordingly.
6078
6079         * BufferView.C (lockInset): adjust
6080         (ChangeInsets): adjust
6081
6082         * tabular.[Ch]: delete commented same_id functions
6083
6084 2003-05-28  John Levon  <levon@movementarian.org>
6085
6086         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6087
6088 2003-05-28  André Pönitz  <poenitz@gmx.net>
6089
6090         * metricsinfo.[Ch]: remove 'fullredraw' member
6091
6092 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6093
6094         * lyxtextclass.C (operator): remove caching.
6095
6096 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * text3.C: adjust
6099
6100         * text2.C (cursorBottom): adjust
6101         (setCounter): use ParagraphList::find, adjust
6102
6103         * text.C (workWidth): use ParagraphList::find, adjust
6104
6105         * lyxcursor.C (LyXCursor): adjust
6106
6107         * buffer.C (inset_iterator): adjust
6108
6109         * ParagraphList.h: make iterator(value_type) private, make
6110         ParagraphList a friend of iterator.
6111
6112         * ParagraphList.C (find): new function
6113
6114         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6115
6116 2003-05-27  André Pönitz  <poenitz@gmx.net>
6117
6118         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6119
6120 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6121
6122         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6123
6124 2003-05-26  John Levon  <levon@movementarian.org>
6125
6126         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6127
6128 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * remove same_id from function signatures, adjust.
6131
6132 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6135
6136         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6137
6138         * paragraph.C (Paragraph): get rid of same_ids parameter
6139
6140         * ParagraphList.C (insert): adjust
6141         (push_back): adjust
6142
6143 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6144
6145         * paragraph_funcs.C (breakParagraph): adjust
6146         (breakParagraphConservative): adjust
6147
6148         * buffer.C (readParagraph): adjust
6149
6150         * ParagraphList.C (insert): take a reference instead of a pointer
6151         (insert): adjust
6152
6153         * paragraph.[Ch] (id): new function
6154
6155         * bufferlist.C (newFile): adjust
6156
6157         * ParagraphList.C (ParagraphList): adjust
6158         (assign): adjust
6159         (push_back): take a reference instead of a pointer.
6160
6161         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6162
6163         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6164         instead.
6165
6166         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6167         set else use old code.
6168
6169         * ParagraphList.C: remove all NO_NEXT code and only compile this
6170         code of NO_STD_LIST is set.
6171
6172 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6173
6174         * BufferView_pimpl.C:
6175         * TextCache.C:
6176         * TextCache.h:
6177         * bufferlist.C:
6178         * errorlist.h:
6179         * format.C:
6180         * format.h:
6181         * graph.C:
6182         * lyxfunc.C:
6183         * lyxrc.C:
6184         * graphics/GraphicsConverter.C:
6185         * graphics/PreviewLoader.C: header adjustment
6186
6187 2003-05-23  Angus Leeming  <leeming@lyx.org>
6188
6189         * LaTeXFeatures.[Ch] (useBabel): new method.
6190         * bufferparams.C (writeLaTeX): use it.
6191
6192 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * ParagraphList.h (set): remove unused function.
6195
6196 2003-05-23  André Pönitz  <poenitz@gmx.net>
6197
6198         * BufferView.C:
6199         * BufferView_pimpl.C:
6200         * buffer.C:
6201         * buffer.h:
6202         * lyxfunc.C:
6203         * undo_funcs.C: setUndo reworked
6204
6205         * iterators.[Ch]: add access to topmost ParagraphList
6206
6207         * lyxtext.[Ch] (workWidth): add a const
6208
6209 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6210
6211         * texrow.[Ch] (increasePos): remove function
6212         * exporter.C (export): removed unused var and outdated comment
6213
6214 2003-05-23  Angus Leeming  <leeming@lyx.org>
6215
6216         * latexrunparams.h: rename fragile as moving_arg.
6217         * paragraph.C (simpleTeXOnePar): ditto.
6218         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6219
6220 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6223         (createUndo): ditto
6224         (textUndoOrRedo): comment out a currently unused var.
6225
6226         * paragraph.h (NO_NEXT): enable NO_NEXT
6227
6228         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6229
6230         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6231
6232         * exporter.C (Export): adjust for removeAutoInsets removal.
6233
6234         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6235
6236         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6237
6238         * BufferView.[Ch] (removeAutoInsets): delete function
6239
6240 2003-05-22  Angus Leeming  <leeming@lyx.org>
6241
6242         * latexrunparams.h: add a free_spacing variable.
6243
6244         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6245         to pass moving_arg, as the data is stored in runparams.fragile.
6246
6247         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6248         to Inset::latexOptional or to simpleTeXOnePar.
6249
6250         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6251         free_spacing arg to Inset::latexOptional.
6252
6253         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6254         free_spacing arg.
6255
6256 2003-05-22  Angus Leeming  <leeming@lyx.org>
6257
6258         * latexrunparams.h: add fragile and use_babel variables.
6259
6260         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6261         * buffer.C (makeLaTeXFile): store this returned value in
6262         runparams.use_babel, thus passing it to the inset::latex methods.
6263
6264         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6265         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6266
6267         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6268         longer has a fragile arg, as it is stored in runparams.fragile.
6269
6270         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6271         moving_arg parameter as the data is stored in runparams.fragile.
6272
6273         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6274         a fragile parameter as the data is stored in runparams.fragile.
6275
6276 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6277
6278         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6279
6280 2003-05-22  Angus Leeming  <leeming@lyx.org>
6281
6282         * latexrunparams.h: add a 'bool nice' which defaults to false.
6283
6284         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6285         now encapsulated within runparams.
6286
6287         * bufferlist.C (updateIncludedTeXfiles):
6288         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6289
6290 2003-05-22  Angus Leeming  <leeming@lyx.org>
6291
6292         * latexrunparams.h: new file containing struct LatexRunParams.
6293         * Makefile.am: add new file.
6294
6295         * LaTeX.[Ch] (c-tor, run):
6296         * buffer.[Ch] (makeLaTeXFile):
6297         * bufferlist.[Ch] (updateIncludedTeXfiles):
6298         * converter.C (convert, scanLog):
6299         * converter.[Ch] (runLaTeX):
6300         * exporter.C (Export):
6301         * paragraph.[Ch] (simpleTeXOnePar):
6302         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6303         * paragraph_funcs.[Ch] (latexParagraphs):
6304         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6305         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6306         pass around a LatexRunParams parameter.
6307
6308 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * paragraph.[Ch]: remove unused constructor
6311
6312         * ParagraphList.C (erase): new function, taking two iterators
6313
6314 2003-05-22  André Pönitz  <poenitz@gmx.net>
6315
6316         * undo_funcs.C: remove duplicated code
6317
6318         * iterator.[Ch]: operator=
6319
6320 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * tabular.C (SetMultiColumn): ws changes
6323
6324         * rowpainter.C (paintFirst): get rid of a ->previous
6325
6326         * lyx_cb.C (getPossibleLabel): parlist simplification
6327
6328         * BufferView.C (ChangeInsets): simplify slightly.
6329
6330 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6331
6332         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6333         * lfuns.h: new LFUN_SPACE
6334         * lyxfunc.C: protected space has a new lfun
6335         * paragraph_funcs.C: read new space insets
6336         * text3.C:
6337         * factory.C: handle new space insets
6338
6339 2003-05-22  André Pönitz  <poenitz@gmx.net>
6340
6341         * BufferView.C:
6342         * BufferView_pimpl.C:
6343         * buffer.[Ch]:
6344         * lyxfunc.C:
6345         * undo_funcs.C: return a ParIterator from getParFromID.
6346
6347         * iterators.[Ch]: add two const's
6348
6349 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * toc.C (getTocList): adjust
6352
6353         * iterators.[Ch]: rework for parlist
6354
6355         * buffer.C (par_iterator_begin): adjust
6356         (par_iterator_end): adjust
6357
6358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6359
6360         * BufferView.C (removeAutoInsets): adjust
6361         (ChangeInsets): adjust
6362
6363 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * text.C (top_y): fix bug 1110
6366
6367 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6368
6369         * errorlist.[Ch]: added
6370         * buffer.C:
6371         * BufferView.[Ch]:
6372         * BufferView_pimpl.C:
6373         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6374         instead
6375
6376 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * Makefile.am: ensure that lyx is relinked upon changes to the
6379         various "convenience" libs.
6380
6381 2003-05-20  Angus Leeming  <leeming@lyx.org>
6382
6383         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6384         files are compiled in alphabetical order again.
6385
6386         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6387
6388 2003-05-19  Angus Leeming  <leeming@lyx.org>
6389
6390         * gettext.[Ch]: remove "char const * _(char const *)".
6391
6392 2003-05-19  André Pönitz  <poenitz@gmx.net>
6393
6394         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6395
6396         * Makefile.am:
6397         * BufferView.C:
6398         * DepTable.h:
6399         * LaTeXFeatures.C:
6400         * buffer.C:
6401         * lyxfont.C:
6402         * lyxlex.h:
6403         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6404
6405 2003-05-19  André Pönitz  <poenitz@gmx.net>
6406
6407         * buffer.C:
6408         * lyxlayout.[Ch]:
6409         * lyxtextclass.[Ch]:
6410         * paragraph.C:
6411         * paragraph_funcs.[Ch]:
6412         * text2.C:
6413         * text3.C: more insetenv work
6414
6415 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6416
6417         * ParagraphParameters.C (params2string): small bug fixed
6418
6419 2003-05-16  André Pönitz  <poenitz@gmx.net>
6420
6421         * debug.C:
6422         * bufferview_funcs.C: patch from Kornel Benko to prevent
6423           crash when _(...) is called twice in a statement
6424
6425 2003-05-16  André Pönitz  <poenitz@gmx.net>
6426
6427         * BufferView.C:
6428         * lyxfunc.C:
6429         * text.C:
6430         * text2.C:
6431         * text3.C:
6432         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6433
6434 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * lyx_main.C (init): remove spurious static_cast
6437
6438 2003-05-14  André Pönitz  <poenitz@gmx.net>
6439
6440         * BufferView.C: fix format string
6441
6442 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6443
6444         * BufferView.[Ch] (insertErrors): removed
6445         * BufferView.[Ch] (showErrorList): added
6446         * buffer.C (runChkTeX):
6447         * converter.C (scanLog): call showErrorList instead of inserterrors
6448
6449 2003-05-13  André Pönitz  <poenitz@gmx.net>
6450
6451         * BufferView_pimpl.C:
6452         * buffer.C:
6453         * bufferview_func.C:
6454         * MenuBackend.C:
6455         * lyxfunc.C:
6456         * lyxrc.C:
6457         * tex-accent.C:
6458         * text3.C:
6459         * toc.C:
6460         * tabular_funcs.h: tostr() from its own header
6461
6462         * ParagraphParameters.C:
6463         * ToolbarBackend.C:
6464         * bufferparams.C:
6465         * format.C:
6466         * lyxlex_pimpl.C:
6467         * text3.C: STRCONV()
6468
6469 2003-05-12  André Pönitz  <poenitz@gmx.net>
6470
6471         * BufferView.C:
6472         * BufferView_pimpl.C:
6473         * CutAndPaste.C:
6474         * LaTeX.C:
6475         * LaTeXFeatures.C:
6476         * ParagraphParameters.C:
6477         * buffer.C:
6478         * bufferlist.C:
6479         * bufferparams.C:
6480         * bufferview_funcs.C:
6481         * converter.C:
6482         * counters.C:
6483         * debug.C:
6484         * exporter.C:
6485         * format.C:
6486         * importer.C:
6487         * lyx_cb.C:
6488         * lyx_main.C:
6489         * lyxfont.C:
6490         * lyxfunc.C:
6491         * lyxvc.C:
6492         * paragraph.C:
6493         * paragraph_funcs.C:
6494         * tabular.C:
6495         * tabular_funcs.C:
6496         * text2.C:
6497         * text3.C:  boost::format -> bformat  all over the place
6498
6499
6500 2003-05-09  André Pönitz  <poenitz@gmx.net>
6501
6502         * LColor.[Ch]: Pimpl the #include <map> away
6503
6504 2003-05-09  John Levon  <levon@movementarian.org>
6505
6506         * bufferlist.C: never remove emergency saves
6507
6508 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * Makefile.am: better lib building
6511
6512 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6515         instead.
6516         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6517         (simpleTeXSpecialChars): adjust
6518         (simpleTeXSpecialChars): adjust
6519         * paragraph.C (simpleTeXOnePar): adjust
6520         * buffer.C (makeLaTeXFile): adjust
6521
6522         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6523
6524         * text2.C (changeDepth): parlist cleanup
6525         (getColumnNearX): ditto
6526
6527         * rowpainter.C (getLabelFont): parlist cleanup
6528
6529         * bufferlist.C (newFile): parlist cleanup
6530
6531         * CutAndPaste.C (eraseSelection): parlist cleanup
6532
6533         * BufferView_pimpl.C (trackChanges): parlist cleanup
6534         (dispatch): ditto
6535
6536         * BufferView.C (lockInset): parlist cleanup.
6537         (ChangeInsets): ditto
6538
6539 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * CutAndPaste.h: Update file header.
6542
6543         * CutAndPaste.C: Update file header.
6544         Store the parts cut out of the Document in a limited_stack.
6545         (copySelection): adjust
6546         (pasteSelection): new function, takes the index in the limited stack.
6547         (nrOfParagraphs): adjust
6548         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6549         simplify error inset insertion.
6550         (checkPastePossible): adjust
6551
6552 2003-05-06  John Levon  <levon@movementarian.org>
6553
6554         * text2.C: don't cast wrap inset to float
6555
6556 2003-05-05  André Pönitz  <poenitz@gmx.net>
6557
6558         * iterator.C:
6559         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6560
6561         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6562           few naked Paragraph *.
6563
6564 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6565
6566         * bufferparams.C: Output warning if a document with missing
6567         TeX document class is loaded
6568         * exporter.C: Disable TeX exports if the document class is missing
6569         * lyxtextclass.C:
6570         * lyxtextclass.h:
6571         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6572         isTeXClassAvailable()
6573
6574 2003-05-03  John Levon  <levon@movementarian.org>
6575
6576         * BufferView.h:
6577         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6578         explicit cursor show/hide
6579
6580         * BufferView_pimpl.h:
6581         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6582         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6583
6584         * lyxfunc.C: hide cursor before dispatching.
6585
6586         * lyx_cb.C:
6587         * lyxfind.C:
6588         * text.C:
6589         * text3.C: remove explicit cursor hides
6590
6591 2003-05-02  André Pönitz  <poenitz@gmx.net>
6592
6593         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6594
6595         * undo_funcs.C:
6596         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6597           linked lists
6598
6599         * text2.C: tiny whitespace
6600
6601 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * undo_funcs.C: almost only ws changes.
6604
6605         * ParagraphList.C (splice): just return if pl is empty.
6606
6607 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * ParagraphList.C (splice): new function.
6610
6611         * CutAndPaste.C (pasteSelection): use it
6612
6613 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * CutAndPaste.C (pasteSelection): remove the last next and
6616         previous from this file.
6617
6618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * CutAndPaste.C (pasteSelection): more clean up, user proper
6621         ParagraphList functions for pasteing.
6622
6623         * ParagraphList.C (insert): new function, three arg insert
6624
6625 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6626
6627         * ParagraphList.C (insert): new function, three arg insert
6628
6629         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6630         not on paragraphs.
6631
6632 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6635
6636 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6639
6640 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6643         (copySelection): clean up a bit.
6644         (pasteSelection): use make_pair
6645
6646         * ParagraphList.C (ParagraphList): implement copy constructor
6647         (operator=): implement, base on copy constructor.
6648         (assign): new func
6649
6650         * paragraph.C (erase): return a bool
6651
6652         * paragraph_pimpl.C (erasePos): remove function, move contents...
6653         (erase): ... here. Return a bool.
6654         (erase): call erase instead of erasePos.
6655
6656 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6657
6658         * ParagraphList.h: define PitPosPair
6659         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6660         ParagraphList, fix a bug on pasting multiple pars
6661         * text2.C: change interface to C&P
6662
6663 2003-04-30  André Pönitz  <poenitz@gmx.net>
6664
6665         * undo_func.C: revert part of yesterday's patch 2
6666
6667 2003-04-30  John Levon  <levon@movementarian.org>
6668
6669         * LColor.C: s/tabular/table/
6670
6671 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * text3.C (dispatch): do not convert iterator -> pointer
6674         * undo_funcs.C (setCursorParUndo): ditto
6675         * text_funcs.C (transposeChars): ditto
6676
6677         * text2.C (setLayout): ws changes only
6678
6679         * text.C (breakParagraph): do not convert iterator -> pointer
6680         (insertChar): ditto
6681         (acceptChange): ditto
6682         (rejectChange): ditto
6683         (changeCase): ditto
6684         (Delete): ditto
6685         (backspace): ditto
6686
6687         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6688         pointer
6689
6690 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6691
6692         * text3.C (gotoInset): YABG (yet another bad getChar)
6693
6694 2003-04-29  André Pönitz  <poenitz@gmx.net>
6695
6696         * paragraph.h: make operator= private unimplemented as long as
6697           it is unusable
6698
6699         * ParagraphList.C: whitespace
6700
6701         * paragraph.[Ch]:
6702         * paragraph_pimpl.[Ch]:
6703         * paragraph_funcs.C:
6704         * CutAndPaste.C:
6705         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6706
6707         * text2.C:
6708           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6709
6710 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6713         * paragraph.[Ch] (erase):
6714         * paragraph_pimpl.[Ch] (erase): change return type and value
6715         * text2.C (cutSelection): some rework
6716
6717 2003-04-28  John Levon  <levon@movementarian.org>
6718
6719         * bufferlist.C: changes for unsaved changes dialog
6720
6721 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * bufferlist.C (newFile): set language (messages_) for new
6724         documents also.
6725
6726         * buffer.C (readFile): ws changes only.
6727
6728 2003-04-28  André Pönitz  <poenitz@gmx.net>
6729
6730         * undo_funcs.C:
6731         * lyxfunc.C:
6732         * buffer.[Ch]:
6733         * BufferView_pimpl.C:
6734         * BufferView.C: getParFromID related ParagraphList::iterator changes
6735
6736 2003-04-28  André Pönitz  <poenitz@gmx.net>
6737
6738         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6739           Changes
6740
6741 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * messages.C: remove one more localedir class variable.
6744
6745 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * messages.C (getLocaleDir): singleton generation function
6748         (Pimpl): use it.
6749         (Messages): add a default constructor.
6750
6751         * main.C (main): do not setup localedir here, do not call
6752         gettext_init.
6753
6754         * gettext.C (_): use it.
6755         (gettext_init): delete funciton
6756
6757 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * gettext.C (getLyXMessages): new singleton generating function.
6760
6761         * buffer.C (updateDocLang): adjust
6762
6763         * Makefile.am (messages.o): add target
6764         (main.o): remove target
6765
6766 2003-04-27  John Levon  <levon@movementarian.org>
6767
6768         * bufferlist.C:
6769         * lyx_cb.C:
6770         * lyxfunc.C:
6771         * lyxvc.C: specify cancel button in Alert::prompt
6772
6773 2003-04-26  John Levon  <levon@movementarian.org>
6774
6775         * text3.C:
6776         * lyxfunc.C:
6777         * lfuns.h:
6778         * LyXAction.C: add LFUN_INSET_SETTINGS
6779
6780         * lyxfunc.C: don't enable tabular-feature when there's
6781         just any locking inset
6782
6783 2003-04-26  John Levon  <levon@movementarian.org>
6784
6785         * bufferlist.C: re-add Cancel to buffer close question
6786
6787         * lyxfunc.C: fix import UI a bit
6788
6789 2003-04-25  John Levon  <levon@movementarian.org>
6790
6791         * gettext.C: remove the broken asserts for now
6792
6793 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6794
6795         * messages.C: make case where setlocale cannot comply work better.
6796
6797         * buffer.C (updateDocLang): new function
6798         (changeLanguage): use it
6799         (readFile): use it
6800
6801         * text2.C (setCounter): use B_ a bit.
6802
6803         * lyxlayout.C (Read): be sure to trim the label strings.
6804
6805         * messages.C (Messages): fix typo in comment
6806
6807         * buffer.C (readFile): set message_ after file is loaded.
6808         (makeDocBookFile): remove double return
6809         (changeLanguage): reset message_ upon language change.
6810         (B_): new func, use this to get translated buffer strings.
6811
6812         * main.C: add myself and Jean Marc as authors.
6813
6814 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * messages.[hC]: pimplify Messages, and three different pimpls to be
6817         used in different circumstances.
6818
6819         * gettext.[Ch]: change for use with new message code.
6820
6821 2003-04-24 André Pönitz <poenitz@gmx.net>
6822
6823         * factory.C: support for eqref
6824
6825 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * messages.[Ch]: add missing char
6828
6829         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6830
6831         * messages.[Ch]: New files
6832
6833 2003-04-18  John Levon  <levon@movementarian.org>
6834
6835         * BufferView.h:
6836         * BufferView.C:
6837         * BufferView_pimpl.C:
6838         * lfuns.h:
6839         * LyXAction.C:
6840         * lyxtext.h:
6841         * text2.C: remove layout-copy/paste (bug 778)
6842
6843 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6844
6845         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6846
6847 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6850         if they succeed. Act accordingly.
6851
6852 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * text2.C (setCharFont): adjust
6855         (setCounter): adjust
6856         (insertStringAsLines): adjust
6857
6858         * text.C (leftMargin): adjust
6859         (setHeightOfRow): adjust
6860
6861         * rowpainter.C (paintFirst): adjust
6862         (paintLast): adjust
6863
6864         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6865         (outerHook): ditto
6866         (isFirstInSequence): ditto
6867         (getEndLabel): ditto
6868         (outerFont): adjust
6869
6870         * paragraph.C (getParLanguage): comment out some hard stuff.
6871
6872         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6873         (sgmlError): ditto
6874         (simpleDocBookOnePar): ditto
6875         (makeDocBookFile): use ParagraphList::iterator
6876
6877         * CutAndPaste.C (pasteSelection): adjust
6878
6879 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * text2.C (getFont): adjust
6882         (getLayoutFont): adjust
6883         (getLabelFont): adjust
6884
6885         * paragraph_funcs.C (TeXOnePar): adjust
6886
6887         * buffer.C (simpleLinuxDocOnePar): adjust
6888         (simpleDocBookOnePar): adjust
6889
6890         * CutAndPaste.C (pasteSelection): adjust
6891
6892         * BufferView.C (getEncoding): adjust
6893
6894         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6895
6896 2003-04-16  John Levon  <levon@movementarian.org>
6897
6898         * lyxfind.C: use parlist stuff for search/changes
6899
6900 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6903
6904         * text2.C (deleteEmptyParagraphMechanism): adjust
6905
6906         * text2.[Ch] (ownerParagraph): delete func (both of them
6907
6908 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6911
6912 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * ParagraphList.C: prepare for NO_NEXT
6915
6916 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * text2.C (getFont): adjust
6919         (getLayoutFont): adjust
6920         (getLabelFont): adjust
6921
6922         * paragraph.C (getFont): adjust
6923         (getLabelFont): adjust
6924         (getLayoutFont): adjust
6925
6926         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6927
6928 2003-04-15  John Levon  <levon@movementarian.org>
6929
6930         From Angus Leeming
6931
6932         * lyx_main.C: handle Include in .ui files
6933
6934 2003-04-15  John Levon  <levon@movementarian.org>
6935
6936         * MenuBackend.C: make the doc files length shorter
6937
6938         * ToolbarBackend.h:
6939         * ToolbarBackend.C: handle toolbar placement flags,
6940         Minibuffer
6941
6942 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6945         adjust
6946
6947         * paragraph_funcs.C (TeXOnePar): adjust
6948
6949         * paragraph.C (getLabelFont): add outerfont arg, adjust
6950         (getLayoutFont): ditto
6951         (simpleTeXOnePar): adjust
6952
6953         * paragraph_pimpl.C (realizeFont): delete func
6954
6955 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6956
6957         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6958         row argument, constify cur argument.
6959
6960 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * text2.C (getFont): adjust
6963         (getLayoutFont): adjust
6964         (getLabelFont): adjust
6965
6966         * paragraph_funcs.C (TeXOnePar): adjust
6967         (outerFont): new func...
6968         (realizeFont): ...moved out from here, changed this to facilitate
6969         transition
6970
6971         * paragraph.C (getFont): take outerfont as arg, adjust
6972         (simpleTeXOnePar): add outerfont arg, adjust
6973
6974         * buffer.C (simpleLinuxDocOnePar): adjust
6975         (simpleDocBookOnePar): adjust
6976
6977         * CutAndPaste.C (pasteSelection): adjust
6978
6979         * BufferView.C (getEncoding): adjust
6980
6981 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * text2.C (setCharFont): adjust
6984         (setCounter): adjust
6985
6986         * text.C (leftMargin): adjust
6987         (setHeightOfRow): adjust
6988
6989         * rowpainter.C (paintFirst): adjust
6990         (paintLast): adjust
6991
6992         * paragraph_pimpl.C (realizeFont): adjust
6993
6994         * paragraph.C (isFirstInSequence): move from here...
6995         * paragraph_funcs.C (isFirstInSequence): ...to here
6996
6997         * paragraph.C (outerHook): move from here...
6998         * paragraph_funcs.C (outerHook): ...to here
6999
7000         * paragraph.C (depthHook): move from here...
7001         * paragraph_funcs.C (depthHook): ...to here
7002
7003         * paragraph.C (getEndLabel): move from here...
7004         * paragraph_funcs.C (getEndLabel): ...to here
7005
7006         * text2.C (realizeFont): move from here...
7007         * paragraph_funcs.C (realizeFont): ...to here
7008
7009 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7012
7013 2003-04-14  Angus Leeming  <leeming@lyx.org>
7014
7015         * LColor.[Ch]: scrap LColor mathcursor.
7016
7017 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * lyxlex.[Ch] (text): delete function
7020         * trans.C (Load): adjust
7021         * paragraph_funcs.C (readParToken): adjust
7022
7023 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7026         vector<char> instead of a char[].
7027
7028         * lyxlex_pimpl.C (getString): adjust
7029         (next): adjust
7030         (lex): use getString
7031         (eatLine): adjust
7032         (nextToken): adjust
7033
7034         * lyxlex.C (text): use pimpl_->getString()
7035         (getBool): ditto
7036         (findToken): ditto
7037
7038 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7041         (makeFontEntriesLayoutSpecific): temp var for par.size()
7042         (setLayout): temp var for ownerParagraphs().end()
7043         (fullRebreak): temp var for rows().end()
7044         (selectionAsString): temp var for boost::next(startpit), realize
7045         that the while really is a regular for loop.
7046         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7047         setCursor in one place.
7048         (setParagraph): temp vr for ownerParagraphs().end()
7049         (updateCounters): make the while loop a for loop
7050         (cutSelection): temp var for ownerParagraphs().end()
7051         (updateInset): make the do {} while() a regular for loop
7052         (getCursorX): use temp vars
7053         (setCurrentFont): use temp vars
7054         (getColumnNearX): use temp vars
7055
7056 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text.C (transformChar): use temp var for getChar
7059         (computeBidiTables): use temp var for row->par()
7060         (fill): move temp vars for row->par() and pit->layout() earlier in
7061         the function.
7062         (labelFill): use temp var for row->par()
7063         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7064         asc and desc, realize that pit never changes and that firstpit is
7065         just a duplicate and not needed. Exchange rit->par() with pit in a
7066         lot of places.
7067         (breakAgain): use a temp var for boost::next(rit)
7068         (breakAgainOneRow): ditto
7069         (breakParagraph): use a temp var for rows().begin()
7070         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7071         (cursorRightOneWord): use temp var for cursor.par() and
7072         cursor.pos(), remove usage of tmpcursor.
7073         (cursorLeftOneWord): use temp var for cursor.par() and
7074         cursor.pos() only set cur at end of function.
7075
7076 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7077
7078         * text.C, text2.C: exchange all usage of Paragraph::next with
7079         boost::next(ParagraphList::iterator)
7080
7081         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7082
7083         * text2.C (cursorTop): simplify implementation
7084         (cursorBottom): ditto
7085         (setParagraph): use ParagraphList::iterator
7086         (setCurrentFont): adjust
7087         (getColumnNearX): adjust
7088         (cursorRight): adjust
7089         (cursorLeft): remove usage of Paragraph::previous
7090         (cursorUpParagraph): ditto
7091         (deleteEmptyParagraphMechanism): slight cleanup
7092
7093         * text.C (isBoundary): take a Paragraph const & instead of a
7094         pointer as arg.
7095         (addressBreakPoint): ditto
7096         (leftMargin): remove usage of Paragraph::previous.
7097         (setHeightOfRow): ditto
7098         (cursorLeftOneWord): ditto
7099         (selectNextWordToSpellcheck): ditto
7100         (Delete): ditto
7101         (backspace): ditto
7102         (breakParagraph): remove one usage of Paragraph::next
7103         (redoParagraph): ditto
7104         (acceptChange): ditto
7105         (insertChar): adjust
7106         (rowBreakPoint): adjust
7107
7108         * bufferview_funcs.C (toggleAndShow): adjust
7109
7110 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7113         methods to access it.
7114         * lyxtext.h:
7115         * text.C: Added updateRowPositions to compute all row positions.
7116         Make top_y and getRowNearY() to use the cached y position
7117
7118 2003-04-11  John Levon  <levon@movementarian.org>
7119
7120         * text.C (rowBreakPoint): reintroduce the labelEnd
7121         checks, code copied from the row fill stuff. Deep voodoo.
7122
7123         * text.C (fill): add a comment and debugging for the
7124         next poor soul.
7125
7126 2003-04-11  John Levon  <levon@movementarian.org>
7127
7128         * text.C: make sure fullrow insets get wrapped to the next line,
7129         even when they're in a manual label
7130
7131 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * text2.C (insertParagraph): make it take ParagraphList::iterator
7134         as arg.
7135         (setLayout): make it return ParagraphList::iterator
7136         (redoParagraphs): ditto
7137         (setCounter): ditto
7138         (checkParagraph): ditto
7139
7140         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7141
7142         * text2.C: adjust several funcs.
7143         (realizeFont): take a ParagraphList::iterator as arg.
7144         (getLayoutFont): ditto
7145         (getLabelFont): ditto
7146         (setCharFont): ditto
7147
7148         * text.C: adjust several funcs.
7149
7150 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7151
7152         * text.C (selectNextWordToSpellcheck): don't accidentally
7153         skip insets
7154
7155 2003-04-10  John Levon  <levon@movementarian.org>
7156
7157         * ToolbarBackend.C (getIcon): special handling for
7158         LFUN_MATH_DELIM
7159
7160 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7161
7162         * text2.C (cursorRight): a getChar assert fixed
7163
7164 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * text2.C (getFont): change to take a ParagraphList::iterator
7167         instead of Paragraph*
7168         Adjust several functions.
7169
7170         * text.C (transformChar): change to take a ParagraphList::iterator
7171         instead of Paragraph*
7172         (singleWidth): ditto
7173         Adjust several functions.
7174
7175         * rowpainter.C: adjust several functions
7176         * rowpainter.h:store a ParagraphList::iterator and not a
7177         Paragraph&.
7178
7179
7180 2003-04-09  John Levon  <levon@movementarian.org>
7181
7182         * lyxfunc.C:
7183         * lfuns.h:
7184         * LyXAction.h:
7185         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7186         and the "help" bits as well
7187
7188 2003-04-09  John Levon  <levon@movementarian.org>
7189
7190         * ToolbarBackend.h:
7191         * ToolbarBackend.C: allow multiple toolbars
7192
7193 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * undo_funcs.C (setCursorParUndo): adjust
7196
7197         * text_funcs.C (transposeChars): adjust
7198
7199         * text3.C (gotoNextInset): adjust
7200         (dispatch): adjust
7201
7202         * text2.C (setLayout): adjust
7203         (changeDepth): adjust
7204         (setFont): adjust
7205         (redoParagraphs): adjust
7206         (selectionAsString): adjust
7207         (setParagraph): adjust
7208         (insertInset): adjust
7209         (cutSelection): adjust
7210         (copySelection): adjust
7211         (pasteSelection): adjust
7212         (insertStringAsLines): adjust
7213         (updateInset): adjust
7214         (setCursor): change to take a ParagraphList::iterator parameter
7215         (setCursorIntern): change to take a ParagraphList::iterator parameter
7216         (setCurrentFont): adjust
7217         (cursorLeft): adjust
7218         (cursorRight): adjust
7219         (deleteEmptyParagraphMechanism): adjust
7220
7221         * text.C (breakParagraph): adjust
7222         (insertChar): adjust
7223         (acceptChange): adjust
7224         (rejectChange): adjust
7225         (selectNextWordToSpellcheck): adjust
7226         (changeCase): adjust
7227         (Delete): adjust
7228         (backspace): adjust
7229
7230         * lyxfind.C (SearchForward): adjust
7231         (SearchBackward): adjust
7232         (nextChange): adjust
7233
7234         * lyxcursor.C (par): adjust
7235
7236         * lyxcursor.h: store a ParagraphList::iterator instead of a
7237         Paragraph*
7238
7239         * lyx_cb.C (getPossibleLabel): adjust
7240
7241         * bufferview_funcs.C (toggleAndShow): adjust
7242
7243         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7244         (dispatch): adjust
7245
7246         * BufferView.C (removeAutoInsets): adjust
7247         (lockedInsetStoreUndo): adjust
7248
7249 2003-04-09  John Levon  <levon@movementarian.org>
7250
7251         * ToolbarBackend.C: try icon without argument
7252         if with argument fails
7253
7254 2003-04-08  John Levon  <levon@movementarian.org>
7255
7256         * ToolbarBackend.h:
7257         * ToolbarBackend.C: add getIcon(), handle tooltip,
7258         and change from "Icon" to "Item".
7259
7260 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7261
7262         * BufferView.C (lockInset): another bad getchar crunched
7263
7264 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7267         again)
7268
7269 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * lyxfind.C (searchForward, searchBackwards): bug 782
7272
7273 2003-04-07  John Levon  <levon@movementarian.org>
7274
7275         * paragraph.C: remove dead comment
7276
7277         * text.C: remove troublesome depth-fiddling code
7278         in leftMargin() and rightMargin() (bug 1017)
7279
7280         * text.C: fix breaking of rows in nested lists
7281         (bug 1004)
7282
7283         * text2.C (updateCounters): fix up depth values
7284         (bug 1013)
7285
7286 2003-04-07  John Levon  <levon@movementarian.org>
7287
7288         * BufferView_pimpl.C: clear message when doc finishes resizing,
7289         and after a mouse event
7290
7291         * lyxfunc.C: clear message after exiting inset
7292
7293 2003-04-07  John Levon  <levon@movementarian.org>
7294
7295         * bufferview_funcs.C: show math status not outside
7296         status in the statusbar
7297
7298 2003-04-07  John Levon  <levon@movementarian.org>
7299
7300         * lyxfunc.C: note status changed after a depth change
7301
7302 2003-04-04  Angus Leeming  <leeming@lyx.org>
7303
7304         * LaTeX.h: move AuxInfo operator==, != out of line.
7305         Remove LaTeX virtual destructor; nothing derives from it.
7306         Move operator()() out of public area and rename it startscript().
7307         Change protected for private.
7308
7309 2003-04-04  Angus Leeming  <leeming@lyx.org>
7310
7311         * lyxfunc.C:
7312         * text2.C: remove unneeded #includes.
7313
7314 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7315
7316         * text2.C (dEPM): fix the heigth of the next row
7317
7318 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * text.C: squashed an invalid getChar requester + some ws changes
7321
7322 2003-04-03  John Levon  <levon@movementarian.org>
7323
7324         * bufferview_funcs.h:
7325         * bufferview_funcs.C:
7326         * lyxfunc.C:
7327         * lyxtext.h:
7328         * text2.C: make getStatus work for the env depth lfuns
7329
7330 2003-04-03  John Levon  <levon@movementarian.org>
7331
7332         * bufferview_funcs.h:
7333         * bufferview_funcs.C:
7334         * lyxfunc.C:
7335         * lyxtext.h:
7336         * text2.C: parlistize decDepth(), by merging it with incDepth()
7337
7338 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7339
7340         * lyxrow.h: store a ParagraphList::iterator instead of a
7341         Paragraph* and adjust other class functions to suit.
7342
7343         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7344         above.
7345
7346 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7347
7348         * text2.C (setCursor): do not anchor to cursor row for the time being
7349
7350 2003-04-02  John Levon  <levon@movementarian.org>
7351
7352         * LyXAction.C:
7353         * lfuns.h:
7354         * lyx_main.C:
7355         * lyxtext.h:
7356         * text.C:
7357         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7358
7359 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7360
7361         * paragraph.h: make ParagraphList and ParagraphList::iterator
7362         friends of Paragraph.
7363
7364         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7365
7366         * ParagraphList.C: Use the private next_ and previous_ from
7367         Paragraph.
7368
7369 2003-04-01  John Levon  <levon@movementarian.org>
7370
7371         * ToolbarBackend.h:
7372         * ToolbarBackend.C:
7373         * Makefile.am: rename, remove defaults gunk
7374
7375         * MenuBackend.h:
7376         * MenuBackend.C: remove defaults gunk
7377
7378         * Languages.h:
7379         * Languages.C: remove defaults gunk
7380
7381         * lyx_main.h:
7382         * lyx_main.C: error out if files couldn't be found.
7383
7384 2003-04-02  John Levon  <levon@movementarian.org>
7385
7386         * text2.C: make incDepth() use parlist
7387
7388 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * undo_funcs.C (firstUndoParagraph): adjust
7391
7392         * text3.C (gotoInset): adjust
7393         (dispatch): adjust, and rewrite loop.
7394
7395         * text2.C (init): adjust, and rewrite loop.
7396         (redoParagraphs): adjust
7397         (updateInset): adjust, and rewrite loop.
7398         (deleteEmptyParagraphMechanism): adjust
7399
7400         * tabular.C (LyXTabular): adjust
7401         (SetMultiColumn): adjust
7402         (TeXRow): adjust
7403
7404         * lyxtext.[Ch] (ownerParagraph): delete function
7405         (ownerParagraphs): new function returns a ParagraphList.
7406
7407         * BufferView.C (removeAutoInsets): adjust
7408         (insertErrors): adjust
7409         (setCursorFromRow): adjust
7410
7411 2003-04-01  Angus Leeming  <leeming@lyx.org>
7412
7413         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7414         in the frontends.
7415
7416 2003-04-02  John Levon  <levon@movementarian.org>
7417
7418         * lyxtext.h:
7419         * text.C:
7420         * Makefile.am:
7421         * text_funcs.h:
7422         * text_funcs.C: make transposeChars a free function
7423
7424         * lyxrow_funcs.C: remove wrong comment
7425
7426 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * lyxtext.h: adjust
7429         * rowpainter.C: adjust
7430         * text.C: adjust
7431         * text2.C: adjust
7432         * text3.C: adjust
7433
7434         * lyxrow_funcs. [Ch]: new files
7435
7436         * lyxrow.[Ch]: remove next and previous pointers
7437         (next,previous): remove accessor functions
7438         (isParEnd): move to lyxrow_funcs
7439         (lastPos): move to lyxrow_funcs
7440         (nextRowIsAllInset): move to lyxrow_funcs
7441         (lastPrintablePos): move to lyxrow_funcs
7442         (numberOfSeparators): move to lyxrow_funcs
7443         (numberOfHfills): move to lyxrow_funcs
7444         (numberOfLabelHfills): move to lyxrow_funcs
7445         (hfillExpansion): move to lyxrow_funcs
7446
7447         * lyxfunc.C: adjust
7448
7449         * bufferview_funcs.C (toggleAndShow): adjust
7450
7451         * RowList.h: Remove class RowList from file leave just a
7452         std::list<Row>.
7453
7454         * RowList.C: delete file
7455
7456         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7457         and lyxrow_funcs.h
7458
7459 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * text3.C (cursorPrevious): adjust
7462         (cursorNext): adjust
7463         (dispatch): adjust
7464
7465         * text2.C (redoHeightOfParagraph): adjust
7466         (redoDrawingOfParagraph): adjust
7467         (setCursor): adjust
7468
7469         * text.C (breakParagraph): adjust
7470         (insertChar): adjust
7471         (backspace): adjust
7472
7473         * rowpainter.C (RowPainter): adjust
7474         (leftMargin): simplify and adjust
7475         (most rowpainter functions): adjust.
7476
7477         * rowpainter.h: store the row as RowList::iterator not as Row*
7478
7479         * lyxcursor.C (row): taka RowList::iterator as arg
7480         (irow): ditto
7481
7482         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7483         of Row*.
7484
7485 2003-04-01  Angus Leeming  <leeming@lyx.org>
7486
7487         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7488         stuff like bool Bool.
7489
7490 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7493         rewrite a loop
7494
7495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7498         RowList::iterator.
7499
7500         * lyxtext.h (rows): drop one version and leve a const variant that
7501         returns a RowList::iterator.
7502
7503 2003-03-31  Angus Leeming  <leeming@lyx.org>
7504
7505         * text.C (fill): ensure that the signature is the same as that in the
7506         header file.
7507
7508 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * text2.C (redoParagraphs): adjust
7511         (updateCounters): adjust
7512         (checkParagraph): adjust
7513         (getColumnNearX): adjust and reformat a bit.
7514
7515         * text.C (top_y): adjust
7516         (workWidth): adjust
7517         (leftMargin): adjust
7518         (prepareToPrint): adjust
7519         (getRow): adjust
7520         (getRowNearY): adjust
7521
7522         * lyxtext.h: make rowlist_ mutable.
7523
7524         * RowList.h: add const_iterator
7525         * RowList.C: adjust for RowList::const_iterator.
7526
7527         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7528         adjust.
7529
7530 2003-03-31  John Levon  <levon@movementarian.org>
7531
7532         * lyxrc.h:
7533         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7534
7535         * lyx_main.C: set default fonts from using lyx_gui funcs
7536
7537         * exporter.C: pdf_mode moved from lyxrc
7538
7539         * lyx_cb.C:
7540         * lyxfunc.C: changes from above
7541
7542 2003-03-31  John Levon  <levon@movementarian.org>
7543
7544         * lyx_main.C: fix to the last fix
7545
7546 2003-03-31  John Levon  <levon@movementarian.org>
7547
7548         * bufferlist.C: "Load original" -> "Load Original"
7549
7550         * converter.C:
7551         * exporter.C:
7552         * importer.C:
7553         * lyx_main.C:
7554         * format.C: more Alert cleanups
7555
7556 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * text2.C (removeParagraph): make it take a RowList::iterator as
7559         arg, adjust.
7560         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7561         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7562
7563         * text.C (anchor_row): make it take a RowList::iterator as arg,
7564         adjust.
7565         (computeBidiTables): make it take a const reference to Row instead
7566         of Row pointer, adjust.
7567         (leftMargin): make it take a RowList::iterator as arg, adjust.
7568         (rowBreakPoint): adjust
7569         (breakAgainOneRow): make it take a RowList::iterator as arg,
7570         adjust.
7571         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7572
7573         * bufferview_funcs.C (toggleAndShow): adjust
7574
7575 2003-03-30  John Levon  <levon@movementarian.org>
7576
7577         * Makefile.am:
7578         * BoostFormat.h:
7579         * boost-inst.C: moved to support
7580
7581         * several files: changes as a result
7582
7583 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * text2.C (LyXText): adjust.
7586         (init): adjust
7587         (removeRow): make it take a RowList::iterator as arg, adjust.
7588         (fullRebreak): adjust
7589         (deleteEmptyParagraphMechanism): adjust
7590         (clearPaint): adjust
7591         (postPaint): adjust
7592
7593         * text.C (top_y): adjust
7594         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7595         (breakAgain): make it take a RowList::iterator as arg, adjust.
7596         (breakParagraph): adjust
7597         (insertChar): adjust
7598         (backspace): adjust
7599
7600         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7601         need_break_row, and refresh_row.
7602
7603         * text3.C (dispatch): adjust
7604
7605         * text2.C (checkParagraph): adjust
7606         (setCursor): adjust
7607         (setCursorFromCoordinates): adjust
7608
7609         * text.C (top_y): adjust
7610         (workWidth): adjust
7611         (getRow): make it return a RowList::iterator, adjust
7612         (getRowNearY): make it return a RowList::iterator, adjust
7613
7614         * text2.C (init): adjust
7615         (insertRow): remove function
7616         (insertParagraph): adjust
7617         (redoParagraphs): adjust
7618         (fullRebreak): adjust
7619         (updateCounters): adjust
7620
7621         * text.C (top_y): rewrite to use RowList iterators.
7622         (top_y): adjust
7623         (setHeightOfRow): rewrite to sue RowList iterators.
7624         (appendParagraph): adjust
7625         (breakAgain): adjust
7626         (breakAgainOneRow): adjust
7627         (breakParagraph): adjust
7628         (getRow): adjust
7629         (getRowNearY): adjust, and remove commented code.
7630
7631         * lyxtext.h (firstRow): delete function
7632         (lastRow): delete function
7633         (rows): new function (const and non-const versions.)
7634         (insertRow): delete function
7635
7636         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7637
7638 2003-03-29  John Levon  <levon@movementarian.org>
7639
7640         * BufferView_pimpl.C: always update scrollbar top
7641         because pasting text when we're anchored could mean we
7642         miss an update altogether
7643
7644 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * text2.C (init): use rowlist_.end() and not 0.
7647         (insertRow): change to take a RowList::iterator as arg, adjust
7648         for this.
7649         (insertParagraph): change to take a RowList::iterator as arg,
7650         adjust for this.
7651         (redoParagraphs): remove some debug msgs.
7652
7653         * text.C (appendParagraph): change to take a RowList::iterator
7654         arg, adjust for this.
7655         (breakAgain): add an assert
7656         (breakAgainOneRow): ditto
7657
7658 2003-03-29  John Levon  <levon@movementarian.org>
7659
7660         * text2.C: do not clear selection after inc/decDepth
7661         (bug 550)
7662
7663 2003-03-29  John Levon  <levon@movementarian.org>
7664
7665         * BufferView.C:
7666         * buffer.C: fix broken strerrors according to Lars
7667
7668 2003-03-29  John Levon  <levon@movementarian.org>
7669
7670         * converters.C: more Alert cleanups
7671
7672 2003-03-29  John Levon  <levon@movementarian.org>
7673
7674         * bufferview_funcs.C: remove pointless Alert
7675
7676         * buffer.C: fix confusing error message when
7677         a template is chmoded 000
7678
7679 2003-03-29  John Levon  <levon@movementarian.org>
7680
7681         * BufferView.C:
7682         * BufferView.h:
7683         * BufferView_pimpl.C: Alert fixes
7684
7685         * Makefile.am:
7686         * tabular.C:
7687         * tabular-old.C: remove unused table compat reading
7688
7689 2003-03-29  John Levon  <levon@movementarian.org>
7690
7691         * BufferView.C:
7692         * buffer.C:
7693         * lyx_cb.h:
7694         * lyx_cb.C: more Alert cleanups
7695
7696         * lyxfunc.C: don't allow chktex if not latex document
7697
7698 2003-03-29  John Levon  <levon@movementarian.org>
7699
7700         * lyx_cb.C:
7701         * BufferView.C:
7702         * buffer.C: warnings pushed down from support/,
7703         kill err_alert
7704
7705 2003-03-29  John Levon  <levon@movementarian.org>
7706
7707         * lyxfunc.C: safety check for C-r (revert)
7708
7709 2003-03-29  John Levon  <levon@movementarian.org>
7710
7711         * bufferlist.h:
7712         * bufferlist.C: several UI fixes using Alert::prompt.
7713         Fix the pointless looping quit code. Fix stupid revert
7714         behaviour (bug 938)
7715
7716         * lyxvc.h:
7717         * lyxvc.C:
7718         * lyx_cb.C: use Alert::prompt
7719
7720         * lyx_main.C: remove a silly question
7721
7722         * lyxfunc.C: remove a couple of silly questions,
7723         use Alert::prompt
7724
7725 2003-03-28  John Levon  <levon@movementarian.org>
7726
7727         * text2.C: fix bug 974 (End on empty par)
7728
7729 2003-03-28  John Levon  <levon@movementarian.org>
7730
7731         * BufferView_pimpl.C:
7732         * LyXAction.C:
7733         * lfuns.h: remove do-nothing math greek lfuns
7734
7735 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * lyxgluelength.h (isValidGlueLength): add default arg on
7738         parameter 2. Remove default arg from friend in class.
7739
7740         * lyxlength.h (isValidLength): add default arg on parameter 2.
7741         Remove default arg from friend in class.
7742
7743         * text2.C (LyXText): adjust, initialize refresh_row.
7744         (init): adjust
7745         (removeRow): adjust
7746         (insertRow): adjust
7747         (insertParagraph): adjst
7748         (redoParagraphs): adjust
7749         (fullRebreak): adjust
7750         (updateCounters): adjust
7751         (deleteEmptyParagraphMechanism): first attempt at fixing a
7752         crashing bug.
7753
7754         * text.C (top_y): adjust
7755         (setHeightOfRow): adjust
7756         (getRow): adjust
7757         (getRowNearY): adjust
7758
7759         * lyxtext.h: include RowList.h
7760         (~LyXText): not needed anymore, deleted.
7761         (firstRow): modify for RowList
7762         (lastRow): new function
7763         Delete firstrow and lastrow class variables, add a Rowlist
7764         rowlist_ class variable.
7765
7766         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7767         paragraph is empty.
7768
7769         * RowList.C (insert): fix case where it == begin().
7770
7771 2003-03-26  Angus Leeming  <leeming@lyx.org>
7772
7773         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7774         the thesaurus dialog.
7775
7776 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7779
7780         * RowList.[Ch]: new files
7781
7782         * ParagraphList.C (erase): handle the case where it == begin
7783         correctly.
7784
7785 2003-03-25  John Levon  <levon@movementarian.org>
7786
7787         * Makefile.am:
7788         * aspell_local.h:
7789         * aspell.C: add new aspell support
7790
7791         * lyxrc.h:
7792         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7793         have it accessible.
7794
7795 2003-03-25  Angus Leeming  <leeming@lyx.org>
7796
7797         * lfuns.h:
7798         * LyXAction.C (init): new LFUN_INSET_INSERT.
7799
7800         * BufferView_pimpl.C (dispatch): split out part of the
7801         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7802
7803         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7804         LFUN_INSET_APPLY.
7805
7806 2003-03-25  Angus Leeming  <leeming@lyx.org>
7807
7808         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7809
7810 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7811
7812         * text2.C:
7813         * text3.C: remove useless row->height(0)
7814
7815 2003-03-25  John Levon  <levon@movementarian.org>
7816
7817         * lyxtext.h:
7818         * text2.C:
7819         * text3.C: rename the refreshing stuff to better names
7820
7821 2003-03-24  John Levon  <levon@movementarian.org>
7822
7823         * BufferView_pimpl.h:
7824         * BufferView_pimpl.C: update layout choice on a mouse
7825         press/release
7826
7827 2003-03-23  John Levon  <levon@movementarian.org>
7828
7829         * Makefile.am: fix commandtags.h reference
7830
7831 2003-03-22  John Levon  <levon@movementarian.org>
7832
7833         * BufferView_pimpl.C:
7834         * lyxtext.h:
7835         * rowpainter.C:
7836         * rowpainter.h:
7837         * text.C:
7838         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7839
7840 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7841
7842         * lyxtext.h:
7843         * text.C: take the rtl methods out of line
7844
7845 2003-03-21 André Pönitz <poenitz@gmx.net>
7846
7847         * metricsinfo.[Ch]: new files containing structures to be passed around
7848         during the two-phase-drawing...
7849
7850 2003-03-21 André Pönitz <poenitz@gmx.net>
7851
7852         * lyxtextclass.C: read 'environment' tag.
7853
7854 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7855
7856         * text2.C (removeRow): fix bug 964
7857
7858 2003-03-20  John Levon  <levon@movementarian.org>
7859
7860         * rowpainter.C:
7861         * text.C:
7862         * text2.C: paint cleanups. Inset::update() dropped font
7863         parameter
7864
7865 2003-03-19  John Levon  <levon@movementarian.org>
7866
7867         * lyxfunc.C: only fitcursor/markDirty if available()
7868
7869 2003-03-19  John Levon  <levon@movementarian.org>
7870
7871         * commandtags.h: rename to ...
7872
7873         * lfuns.h: ... this, and renumber / cleanup
7874
7875 2003-03-19  John Levon  <levon@movementarian.org>
7876
7877         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7878         fit the cursor after an lfun
7879
7880         * BufferView.h:
7881         * BufferView.C:
7882         * BufferView_pimpl.h:
7883         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7884
7885         * LyXAction.C: layout-character should have ReadOnly
7886
7887         * ParagraphParameters.C:
7888         * buffer.C:
7889         * bufferview_funcs.C:
7890         * lyx_cb.C:
7891         * lyxfind.C:
7892         * lyxtext.h:
7893         * text.C:
7894         * text2.C:
7895         * text3.C:
7896         * undo_funcs.C: changes from above
7897
7898 2003-03-18  John Levon  <levon@movementarian.org>
7899
7900         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7901         remove it from update()
7902
7903         * lyxfunc.C: update layout choice after an lfun
7904
7905         * text3.C: remove extra updateLayoutChoice()s
7906
7907 2003-03-18  John Levon  <levon@movementarian.org>
7908
7909         * text.C: top_y change means full repaint, fix
7910         a drawing bug with cursor movement
7911
7912 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7913
7914         * lyxtext.h:
7915         * text.C:
7916         * text2.C: anchor row on setCursor
7917
7918 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7919
7920         * lyxtext.h: remove almost all mutable keywords
7921         * text.C:
7922         * text2.C:
7923         * text3.C: remove const keywords accordingly
7924
7925 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7928         anon namespace
7929         (TeXEnvironment): ditto
7930         (TeXOnePar): ditto
7931
7932 2003-03-17  John Levon  <levon@movementarian.org>
7933
7934         * text.C (rowBreakPoint): remove attempt to fix displayed
7935         math insets inside a manual label
7936
7937 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * lyxtext.h: remove BufferView* as first arg from almost all class
7940         functions.
7941         * other files: adjust.
7942
7943 2003-03-17  John Levon  <levon@movementarian.org>
7944
7945         * lyxtext.h:
7946         * undo_funcs.C:
7947         * text2.C: more paint cleanups
7948
7949         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7950
7951         * rowpainter.h:
7952         * rowpainter.C: remove "smart" background painting code
7953
7954 2003-03-16  John Levon  <levon@movementarian.org>
7955
7956         * lyxtext.h:
7957         * text.C:
7958         * text2.C:
7959         * text3.C: add helper functions for setting refresh_row/y
7960
7961 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7962
7963         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7964         newline inset which *can* get inserted in the pass_thru layouts.
7965         This is primarily for literate documents.
7966
7967 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7968
7969         * buffer.C: increment LYX_FORMAT to 223
7970
7971 2003-03-14 André Pönitz <poenitz@gmx.net>
7972
7973         * textclass.h: prepare for environment handling, ws changes
7974         * lyxlayout.C: read latexheader and latexfooter tags
7975
7976 2003-03-14  John Levon  <levon@movementarian.org>
7977
7978         * text2.C: rewrite ::status() a bit
7979
7980 2003-03-13  John Levon  <levon@movementarian.org>
7981
7982         * lyxtext.h: add some docs
7983
7984 2003-03-13  John Levon  <levon@movementarian.org>
7985
7986         * lyxtext.h:
7987         * text.C:
7988         * text2.C:
7989         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7990
7991 2003-03-13  John Levon  <levon@movementarian.org>
7992
7993         * text3.C: fix appendix redrawing
7994
7995 2003-03-13  John Levon  <levon@movementarian.org>
7996
7997         * text.C (setHeightOfRow):
7998         * rowpainter.h:
7999         * rowpainter.C: make appendix mark have the text
8000           "Appendix" so the user knows what it is
8001
8002         * LColor.h:
8003         * LColor.C: s/appendixline/appendix/ from above
8004
8005 2003-03-13  John Levon  <levon@movementarian.org>
8006
8007         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8008
8009         * text.C: fix a getChar(pos) bug properly
8010
8011 2003-03-13  Angus Leeming  <leeming@lyx.org>
8012
8013         * commandtags.h:
8014         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8015         Probably only temporary. Let's see how things pan out.
8016
8017         * BufferView.C (unlockInset):
8018         * BufferView_pimpl.C (fitCursor):
8019         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8020
8021         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8022         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8023
8024         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8025         new functions that convert ParagraphParameters to and from a string.
8026
8027         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8028         BufferView::Pimpl's dispatch.
8029         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8030
8031 2003-03-13 André Pönitz <poenitz@gmx.net>
8032
8033         * lyxfunc.C:
8034         * text3.C:
8035         * factory.C: make it aware of InsetEnv
8036
8037 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * text2.C (setCursor): never ask for one past last
8040         (setCursor): add some debugging messages.
8041
8042         * text.C (singleWidth): never ask for one past last
8043         (singleWidth): ditto
8044         (leftMargin): ditto
8045         (rightMargin): ditto
8046         (rowBreakPoint): ditto
8047         (setHeightOfRow): ditto
8048         (prepareToPrint): ditto
8049
8050         * rowpainter.C (paintBackground): never ask for one past last
8051         (paintText): never ask for one past last
8052
8053         * paragraph_pimpl.C (getChar): make the assert stricter, never
8054         allow the one past last pos to be taken
8055
8056         * paragraph.C (getChar): ws changes only
8057
8058         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8059         (numberOfSeparators): ditto
8060         (numberOfHfills): ditto
8061
8062 2003-03-12  John Levon  <levon@movementarian.org>
8063
8064         * author.h:
8065         * author.C:
8066         * bufferparams.h:
8067         * bufferparams.C:
8068         * paragraph_funcs.C: fix per-buffer authorlists
8069
8070 2003-03-12  John Levon  <levon@movementarian.org>
8071
8072         * text.C: fix newline in right address
8073
8074 2003-03-12  Angus Leeming  <leeming@lyx.org>
8075
8076         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8077         duplicate those in LyXFunc::dispatch.
8078
8079         * commandtags.h:
8080         * LyXAction.C:
8081         * ToolbarDefaults.C:
8082         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8083         Add LFUN_FONTFREE_UPDATE.
8084
8085         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8086         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8087
8088         * bufferview_func.[Ch]: several new functions to facilliate
8089         transfer of data to and from the character dialog.
8090
8091 2003-03-12  John Levon  <levon@movementarian.org>
8092
8093         * buffer.C:
8094         * paragraph.h:
8095         * paragraph.C:
8096         * paragraph_funcs.C:
8097         * paragraph_pimpl.C:
8098         * sgml.C:
8099         * tabular.C:
8100         * text.C:
8101         * text3.C: remove META_NEWLINE in favour of an inset
8102
8103         * rowpainter.h:
8104         * rowpainter.C: remove paintNewline (done by inset)
8105
8106 2003-03-12  John Levon  <levon@movementarian.org>
8107
8108         * paragraph_pimpl.C: complain about bad getChar()s
8109         for a while at least
8110
8111 2003-03-12  John Levon  <levon@movementarian.org>
8112
8113         * buffer.h:
8114         * buffer.C: move paragraph read into a separate function,
8115         a little renaming to reflect that.
8116
8117         * bufferparams.h:
8118         * bufferparams.C: remove the author_ids map, not necessary now
8119
8120         * factory.h:
8121         * factory.C: moved Buffer::readInset to here
8122
8123         * paragraph_funcs.h:
8124         * paragraph_funcs.C: readParagraph free function moved from
8125         buffer.C
8126
8127         * tabular.C: name change
8128
8129 2003-03-12  John Levon  <levon@movementarian.org>
8130
8131         * buffer.C:
8132         * ParagraphParameters.C: move par params input to
8133         a read() method
8134
8135         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8136         behave like a normal read from the stream wrt reading
8137         a line vs. a \\token
8138
8139 2003-03-12  John Levon  <levon@movementarian.org>
8140
8141         * paragraph.C:
8142         * ParagraphParameters.h:
8143         * ParagraphParameters.C: move output code to a
8144         ::write() method
8145
8146 2003-03-12  John Levon  <levon@movementarian.org>
8147
8148         * BufferView.C (insertLyXFile):
8149         * buffer.h:
8150         * buffer.C:
8151         * tabular.C: use a parlist iterator for creating the
8152           document.
8153
8154 2003-03-12  John Levon  <levon@movementarian.org>
8155
8156         * buffer.C: make current_change static local not
8157           static file-scope
8158
8159 2003-03-12  John Levon  <levon@movementarian.org>
8160
8161         * buffer.C: fix insertStringAsLines for change tracking
8162
8163 2003-03-12  John Levon  <levon@movementarian.org>
8164
8165         * BufferView.C:
8166         * tabular.C:
8167         * buffer.h:
8168         * buffer.C:
8169         * bufferparams.h:
8170         * bufferparams.C: move author list into params. Rename some
8171           functions. Move the header reading into a separate token
8172           loop. Move the header token reading into BufferParams.
8173
8174 2003-03-12  John Levon  <levon@movementarian.org>
8175
8176         * changes.C: put debug inside lyxerr.debugging() checks
8177
8178 2003-03-11 André Pönitz <poenitz@gmx.net>
8179
8180         * factory.C: make it aware of InsetHFill
8181
8182 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8183
8184         * buffer.C (latexParagraphs): move function from here...
8185         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8186         args.
8187
8188 2003-03-10  Angus Leeming  <leeming@lyx.org>
8189
8190         * LyXAction.C (init): fix bug in poplating array with multiple entries
8191         with the same LFUN (spotted by JMarc).
8192
8193 2003-03-10  John Levon  <levon@movementarian.org>
8194
8195         * text.C:
8196         * text2.C: move getColumnNearX() near its
8197         only call site
8198
8199 2003-03-10  John Levon  <levon@movementarian.org>
8200
8201         * text.C: fix break before a minipage
8202
8203 2003-03-10  John Levon  <levon@movementarian.org>
8204
8205         * text.C: fix the last commit
8206
8207 2003-03-09  John Levon  <levon@movementarian.org>
8208
8209         * lyxtext.h:
8210         * text.C:
8211         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8212         bug 365 (don't break before insets unless needed). Don't
8213         return a value > last under any circumstances.
8214
8215 2003-03-09  Angus Leeming  <leeming@lyx.org>
8216
8217         * BufferView_pimpl.C (trackChanges, dispatch): call
8218         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8219
8220 2003-03-09  Angus Leeming  <leeming@lyx.org>
8221
8222         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8223         than Dialogs::showAboutlyx().
8224
8225 2003-03-09  Angus Leeming  <leeming@lyx.org>
8226
8227         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8228         than Dialogs::showTabularCreate().
8229
8230 2003-03-09  John Levon  <levon@movementarian.org>
8231
8232         * lyxtext.h:
8233         * text.C:
8234         * text2.C: 3rd arg to nextBreakPoint was always the same.
8235           Use references.
8236
8237 2003-03-08  John Levon  <levon@movementarian.org>
8238
8239         * lyxrow.C:
8240         * paragraph.C:
8241         * paragraph.h:
8242         * rowpainter.C:
8243         * text.C:
8244         * text2.C: Remove the "main" bit from the "main body"
8245           notion.
8246
8247 2003-03-08  John Levon  <levon@movementarian.org>
8248
8249         * text.C (leftMargin): The left margin of an empty
8250         manual label paragraph should not include the label width
8251         string length.
8252
8253         * text.C (prepareToPrint): don't attempt to measure hfills
8254         for empty manual label paragraphs - the answer should be 0
8255
8256 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * CutAndPaste.C: remove commented code and reindent.
8259
8260 2003-03-08  John Levon  <levon@movementarian.org>
8261
8262         * lyxfunc.h:
8263         * lyxfunc.C: move reloadBuffer()
8264
8265         * BufferView.h:
8266         * BufferView.C: to here
8267
8268         * lyxvc.C: add comment
8269
8270         * vc-backend.h:
8271         * vc-backend.C: call bv->reload() to avoid
8272           getStatus() check on MENURELOAD
8273
8274 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8275
8276         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8277         to an old format .dep file.
8278
8279 2003-03-07  Angus Leeming  <leeming@lyx.org>
8280
8281         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8282         when the LFUN_MOUSE_RELEASE should have been handled by
8283         inset->localDispatch.
8284
8285 2003-03-07  Angus Leeming  <leeming@lyx.org>
8286
8287         * BufferView_pimpl.C (dispatch):
8288         * LyXAction.C (init):
8289         * ToolbarDefaults.C (init):
8290         * commandtags.h:
8291         * lyxfunc.C (getStatus):
8292         remove LFUN_INSET_GRAPHICS.
8293
8294         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8295
8296 2003-03-07  Angus Leeming  <leeming@lyx.org>
8297
8298         * commandtags.h:
8299         * LyXAction.C (init):
8300         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8301
8302         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8303
8304         * commandtags.h:
8305         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8306
8307         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8308         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8309
8310 2003-03-07  Angus Leeming  <leeming@lyx.org>
8311
8312         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8313         remove "ert".
8314
8315 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * ParagraphList.C (front): new function
8318         (back): implement
8319
8320 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8321
8322         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8323         and top_row_offset_. removed var first_y.
8324         * text.C (top_y):
8325         * text2.C (LyXText, removeRow):
8326         * text3.C:
8327         * BufferView_pimpl.C:
8328         use these methods instead of using first_y
8329
8330 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * text2.C (pasteSelection): adjust for checkPastePossible
8333
8334         * CutAndPaste.C: remove Paragraph * buf and replace with
8335         ParagraphList paragraphs.
8336         (DeleteBuffer): delete
8337         (cutSelection): change the tc type to textclass_type
8338         (copySelection): change the tc type to textclass_type
8339         (copySelection): adjust for ParagraphList
8340         (pasteSelection): change the tc type to textclass_type
8341         (pasteSelection): adjust for Paragraphlist
8342         (nrOfParagraphs): simplify for ParagraphList
8343         (checkPastePossible): simplify for ParagraphList
8344         (checkPastePossible): remove unused arg
8345
8346         * ParagraphList.C (insert): handle the case where there are no
8347         paragraphs yet.
8348
8349         * CutAndPaste.h: make CutAndPaste a namespace.
8350
8351         * text3.C (dispatch): adjust
8352
8353         * text.C (breakParagraph): add a ParagraphList as arg
8354
8355         * paragraph_funcs.C (breakParagraph): change to take a
8356         BufferParams and a ParagraphList as args.
8357         (breakParagraphConservative): ditto
8358         (mergeParagraph): ditto
8359         (TeXDeeper): add a ParagraphList arg
8360         (TeXEnvironment): ditto
8361         (TeXOnePar): ditto
8362
8363         * buffer.C (readLyXformat2): adjust
8364         (insertStringAsLines): adjust
8365         (latexParagraphs): adjust
8366
8367         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8368         (cutSelection): adjust
8369         (pasteSelection): adjust
8370
8371         * BufferView_pimpl.C (insertInset): adjust
8372
8373 2003-03-05  Angus Leeming  <leeming@lyx.org>
8374
8375         * commandtags.h:
8376         * LyXAction.C (init):
8377         * BufferView_pimpl.C (dispatch):
8378         * lyxfunc.C (getStatus):
8379         remove LFUN_CHILD_INSERT.
8380
8381         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8382
8383 2003-03-05  Angus Leeming  <leeming@lyx.org>
8384
8385         * commandtags.h:
8386         * LyXAction.C (init):
8387         * src/factory.C (createInset):
8388         * lyxfunc.C (getStatus):
8389         * text3.C (dispatch):
8390         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8391
8392         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8393
8394 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * ParagraphList.C (insert): handle insert right before end()
8397         (erase): fix cases where it can be first or last paragraph.
8398
8399 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8402         Paragraph::next and Paragraph::previous
8403         (TeXOnePar): ditto
8404
8405         * text.C (breakParagraph): adjust
8406
8407         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8408         BufferParams& as arg.
8409         (breakParagraph): use ParagraphList::insert
8410         (breakParagraphConservative): take a Buffer* instead of a
8411         BufferParams& as arg.
8412         (breakParagraphConservative): use ParagraphList::insert.
8413
8414         * buffer.C (insertStringAsLines): un-const it
8415         (insertStringAsLines): adjust
8416
8417         * ParagraphList.C (insert): new function
8418
8419         * CutAndPaste.C (pasteSelection): adjust
8420
8421         * text.C (backspace): adjust
8422
8423         * tabular.C (SetMultiColumn): adjust
8424
8425         * CutAndPaste.C (cutSelection): adjust
8426         (pasteSelection): adjust
8427
8428         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8429         Buffer const * as arg
8430
8431         * ParagraphList.C (erase): new function
8432         * paragraph_funcs.C (mergeParagraph): use it
8433         (mergeParagraph): make it take a Buffer* instead of a
8434         BufferParams* as arg
8435
8436         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8437         as arg
8438         (breakParagraphConservative): ditto
8439
8440         * paragraph.h: remove the breakParagraph friend
8441
8442         * paragraph.C (eraseIntern): new function
8443         (setChange): new function
8444
8445         * paragraph_funcs.C (mergeParagraph): make it take a
8446         ParagraphList::iterator instead of a Paragraph *, adjust
8447         accordingly.
8448
8449         * paragraph.h: move an #endif so that the change tracking stuff
8450         also works in the NO_NEXT case.
8451
8452 2003-03-04  Angus Leeming  <leeming@lyx.org>
8453
8454         * commandtags.h:
8455         * LyXAction.C: new LFUN_INSET_MODIFY.
8456
8457         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8458         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8459
8460 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * several files: ws changes only
8463
8464         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8465         (TeXEnvironment): ditto
8466         (TeXDeeper): ditto
8467
8468         * buffer.C (makeLaTeXFile): adjust
8469         (latexParagraphs): make it take ParagraphList::iterator as args
8470
8471 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * buffer.C (latexParagraphs): adjust
8474
8475         * paragraph.C (TeXOnePar): move function...
8476         (optArgInset): move function...
8477         (TeXEnvironment): move function...
8478         * paragraph_pimpl.C (TeXDeeper): move function...
8479         * paragraph_funcs.C: ...here
8480
8481         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8482
8483 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * buffer.C (readInset): remove compability code for old Figure and
8486         InsetInfo insets
8487
8488 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * buffer.C: ws changes
8491         (readInset):
8492
8493         * BufferView_pimpl.C: ditto
8494         * author.C: ditto
8495         * buffer.h: ditto
8496         * bufferlist.h: ditto
8497         * changes.h: ditto
8498         * lyxfunc.C: ditto
8499
8500 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8501
8502         * converter.[Ch]: split into itself +
8503         * graph.[Ch]
8504         * format.[Ch]
8505         * Makefile.am: += graph.[Ch] + format.[Ch]
8506         * MenuBackend.C
8507         * buffer.C
8508         * exporter.C
8509         * importer.C
8510         * lyx_main.C
8511         * lyxfunc.C
8512         * lyxrc.C: added #include "format.h"
8513
8514 2003-02-27  Angus Leeming  <leeming@lyx.org>
8515
8516         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8517           a label.
8518
8519         * factory.C (createInset): add "label" to the factory.
8520
8521         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8522           string and do no more.
8523
8524 2003-02-27  Angus Leeming  <leeming@lyx.org>
8525
8526         * commandtags.h:
8527         * LyXAction.C (init):
8528         * factory.C (createInset):
8529         * BufferView_pimpl.C (dispatch):
8530           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8531
8532         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8533
8534         * lyxfunc.C (dispatch):
8535         * text3.C (dispatch): pass name to params2string.
8536
8537 2003-02-26  Angus Leeming  <leeming@lyx.org>
8538
8539         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8540           blocks together.
8541           Rearrange the ~includes. Strip out the unnecessary ones.
8542
8543         * factory.C (createInset): reformat.
8544           create new insets for the various LFUN_XYZ_APPLY lfuns.
8545
8546 2003-02-26  John Levon  <levon@movementarian.org>
8547
8548         * lyxrow.h:
8549         * lyxrow.C: add isParStart,isParEnd helpers
8550
8551         * paragraph.h: make isInserted/DeletedText take refs
8552
8553         * paragraph_funcs.h:
8554         * paragraph_funcs.C: remove #if 0'd code
8555
8556         * lyxtext.h:
8557         * text3.C:
8558         * text2.C:
8559         * text.C: use lyxrow helpers above.
8560           Move draw and paint routines to RowPainter.
8561           Make several methods use refs not pointers.
8562           Make backgroundColor() const.
8563           Add markChangeInDraw(), isInInset().
8564           Merge changeRegionCase into changeCase.
8565           Make workWidth() shouldn't-happen code into an Assert.
8566
8567         * rowpainter.h:
8568         * rowpainter.C: new class for painting a row.
8569
8570         * vspace.h:
8571         * vspace.C: make inPixels take a ref
8572
8573 2003-02-26  Angus Leeming  <leeming@lyx.org>
8574
8575         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8576         LFUN_REF_APPLY.
8577
8578 2003-02-25  John Levon  <levon@movementarian.org>
8579
8580         * ispell.C: give the forked command a more accurate name
8581
8582 2003-02-22  John Levon  <levon@movementarian.org>
8583
8584         * toc.h:
8585         * toc.C: make TocItem store an id not a Paragraph *
8586           (bug #913)
8587
8588 2003-02-21  Angus Leeming  <leeming@lyx.org>
8589
8590         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8591           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8592           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8593           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8594           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8595           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8596
8597         * BufferView_pimpl.C (dispatch):
8598         * LyXAction.C (init):
8599         * factory.C (createInset):
8600         * lyxfunc.C (getStatus, dispatch):
8601         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8602
8603 2003-02-21  Angus Leeming  <leeming@lyx.org>
8604
8605         * BufferView_pimpl.C (MenuInsertLyXFile):
8606         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8607         * lyxfunc.C (menuNew, open, doImport):
8608           no longer pass a LyXView & to fileDlg.
8609
8610 2003-02-21  Angus Leeming  <leeming@lyx.org>
8611
8612         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8613         * LyXAction.C: change, BIBKEY to BIBITEM.
8614         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8615         Change InsetBibKey to InsetBibitem.
8616         Change BIBKEY_CODE to BIBITEM_CODE.
8617         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8618         * factory.C: replace insetbib.h with insetbibitem.h.
8619         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8620         * paragraph.C: replace insetbib.h with insetbibitem.h.
8621         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8622         Change bibkey() to bibitem().
8623         * text.C: remove insetbib.h.
8624         * text2.C: replace insetbib.h with insetbibitem.h.
8625         change bibkey() to bibitem().
8626         * text3.C: remove insetbib.h.
8627         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8628
8629 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8630
8631         * lyxrc.C (output): enclose user email in quotes (in case there are
8632         several words)
8633
8634 2003-02-18  John Levon  <levon@movementarian.org>
8635
8636         * buffer.h: add std::
8637
8638 2003-02-17  John Levon  <levon@movementarian.org>
8639
8640         * SpellBase.h:
8641         * ispell.h:
8642         * ispell.C:
8643         * pspell.h:
8644         * pspell.C: reworking. Especially in ispell, a large
8645           number of clean ups and bug fixes.
8646
8647         * lyxfunc.C: fix revert to behave sensibly
8648
8649 2003-02-17 André Pönitz <poenitz@gmx.net>
8650
8651         * LyXAction.C:
8652         * commandtags.h: new LFUN_INSERT_BIBKEY
8653
8654         * layout.h:
8655         * lyxlayout.C:
8656         * buffer.C:
8657         * factory.C:
8658         * text.C:
8659         * text2.C:
8660         * text3.C:
8661         * paragraph.[Ch]:
8662         * paragraph_func.C: remove special bibkey handling
8663
8664 2003-02-17  John Levon  <levon@movementarian.org>
8665
8666         * text.C (Delete): fix case where delete at the end of
8667           the very first paragraph would not merge the pars
8668
8669 2003-02-17  John Levon  <levon@movementarian.org>
8670
8671         * lyxrow.C: fix lastPrintablePos()
8672
8673 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8674
8675         * bufferparams.C (writeLaTeX): add a std:here
8676
8677         * buffer.C: and remove a using directive there
8678
8679 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8680
8681         * buffer.C (makeLaTeXFile): move the code that generates the
8682           preamble...
8683
8684         * bufferparams.C (writeLaTeX): ... in this new method
8685
8686         * LaTeXFeatures.C (getEncodingSet): make const
8687           (getLanguages): make const
8688
8689         * MenuBackend.C (binding): returns the binding associated to this
8690           action
8691           (add): sets the status of each item by calling getStatus. Adds
8692           some intelligence.
8693           (read): add support for OptSubMenu
8694           (expand): remove extra separator at the end of expanded menu
8695
8696 2003-02-15  John Levon  <levon@movementarian.org>
8697
8698         * BufferView.C:
8699         * BufferView_pimpl.C:
8700         * bufferlist.h:
8701         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8702           inset code that had no actual effect. Remove unneeded status
8703           code.
8704
8705 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8708           in preamble
8709
8710 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8711
8712         * text.C (drawLengthMarker): also draw an arrow marker for
8713           symbolic lengths (medskip...)
8714
8715 2003-02-14  John Levon  <levon@movementarian.org>
8716
8717         * tabular.h:
8718         * tabular.C: better method names
8719
8720 2003-02-14  John Levon  <levon@movementarian.org>
8721
8722         * BufferView_pimpl.C:
8723         * bufferlist.C:
8724         * buffer.C:
8725         * converter.C:
8726         * lyx_cb.C:
8727         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8728           it's a more accurate name. Remove some pointless uses.
8729
8730 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8731
8732         * text2.C (LyXText): change order of initilizers to shut off
8733           warnings
8734
8735 2003-02-14  John Levon  <levon@movementarian.org>
8736
8737         * buffer.C: use ParIterator for getParFromID()
8738
8739         * paragraph.h:
8740         * paragraph.C:
8741         * paragraph_pimpl.h:
8742         * paragraph_pimpl.C: remove unused getParFromID()
8743
8744 2003-02-14  John Levon  <levon@movementarian.org>
8745
8746         * buffer.C: remove some very old #if 0'd parse code
8747
8748 2003-02-13  John Levon  <levon@movementarian.org>
8749
8750         * text.h:
8751         * text.C:
8752         * text2.C: move hfillExpansion(), numberOfSeparators(),
8753           rowLast(), rowLastPrintable(), numberofHfills(),
8754           numberOfLabelHfills() ...
8755
8756         * lyxrow.h:
8757         * lyxrow.C: ... to member functions here.
8758
8759         * paragraph.h:
8760         * paragraph.C:
8761         * lyxtext.h:
8762         * text.C: remove LyXText::beginningOfMainBody(), and call
8763           p->beginningOfMainBody() directly. Move the check for
8764           LABEL_MANUAL into the latter.
8765
8766         * text.h:
8767         * text.C:
8768         * text2.C:
8769         * vspace.C:
8770         * BufferView.h:
8771         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8772
8773         * text.h:
8774         * text.C:
8775         * text2.C:
8776         * text3.C:
8777         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8778           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8779
8780 2003-02-13  John Levon  <levon@movementarian.org>
8781
8782         * CutAndPaste.C: remove debug
8783
8784 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * paragraph.C (asString): remove two unused variables
8787
8788         * lyxtextclass.C (readTitleType):
8789           (Read):
8790           (LyXTextClass): handle new members titletype_ and titlename_
8791
8792         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8793
8794 2003-02-09  John Levon  <levon@movementarian.org>
8795
8796         * buffer.h:
8797         * buffer.C: replace hand-coded list with a map for the dep clean
8798
8799 2003-02-08  John Levon  <levon@movementarian.org>
8800
8801         * LaTeX.C: consolidate code into showRunMessage() helper
8802
8803 2003-02-08  John Levon  <levon@movementarian.org>
8804
8805         * lyxfind.C:
8806         * lyxtext.h:
8807         * text2.C:
8808         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8809           and pass the size in explicitly
8810
8811         * BufferView_pimpl.h:
8812         * BufferView_pimpl.C:
8813         * BufferView.h:
8814         * BufferView.C: add getCurrentChange()
8815
8816         * BufferView_pimpl.h:
8817         * BufferView_pimpl.C: handle change lfuns
8818
8819         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8820           for changes. Mark pasted paragraphs as new.
8821
8822         * support/lyxtime.h:
8823         * support/lyxtime.C:
8824         * DepTable.C: abstract time_t as lyx::time_type
8825
8826         * LColor.h:
8827         * LColor.C: add colours for new text, deleted text, changebars
8828
8829         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8830           package use "usenames" option.
8831
8832         * commandtags.h:
8833         * lyxfunc.C:
8834         * LyXAction.C: add change lfuns
8835
8836         * Makefile.am:
8837         * author.h:
8838         * author.C: author handling
8839
8840         * buffer.h:
8841         * buffer.C: add a per-buffer author list, with first entry as
8842           current author. Handle new .lyx tokens for change tracking. Output
8843           author list to .lyx file. Output dvipost stuff to .tex preamble.
8844           Bump lyx format to 222.
8845
8846         * bufferlist.h:
8847         * bufferlist.C: add setCurrentAuthor() to reset current author details
8848           in all buffers.
8849
8850         * bufferparams.h:
8851         * bufferparams.C: add param for tracking
8852
8853         * bufferview_funcs.C: output change info in minibuffer
8854
8855         * Makefile.am:
8856         * changes.h:
8857         * changes.C: add change-tracking structure
8858
8859         * debug.h:
8860         * debug.C: add CHANGES debug flag
8861
8862         * lyxfind.h:
8863         * lyxfind.C: add code for finding the next change piece
8864
8865         * lyxrc.h:
8866         * lyxrc.C: add user_name and user_email
8867
8868         * lyxrow.h:
8869         * lyxrow.C: add a metric for the top of the text line
8870
8871         * lyxtext.h:
8872         * text.C: implement accept/rejectChange()
8873
8874         * lyxtext.h:
8875         * text.C: paint changebars. Paint new/deleted text in the chosen
8876         colours. Strike through deleted text.
8877
8878         * paragraph.h:
8879         * paragraph.C:
8880         * paragraph_pimpl.h:
8881         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8882           in the current change to the insert functions. Rework erase to
8883           mark text as deleted, adding an eraseIntern() and a range-based
8884           erase(). Implement per-paragraph change lookup and
8885           accept/reject.
8886
8887         * paragraph_funcs.C: Fixup paste for change tracking.
8888
8889         * tabular.C: mark added row/columns as new.
8890
8891         * text.C: fix rowLast() to never return -1. Don't allow
8892           spellchecking of deleted text. Track transpose changes. Don't
8893           allow paragraph break or merge where appropriate.
8894
8895         * text2.C: leave cursor at end of selection after a cut.
8896
8897 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8898
8899         * text.C (getLengthMarkerHeight):
8900         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8901         visible on screen too.
8902
8903 2003-02-07  John Levon  <levon@movementarian.org>
8904
8905         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8906
8907 2003-02-05  Angus Leeming  <leeming@lyx.org>
8908
8909         * lyxserver.C (read_ready): revert my patch of 11 September last year
8910         as it sends PC cpu through the roof. Presumably this means that
8911         the lyxserver will no longer run on an Alpha...
8912
8913 2003-01-30  Angus Leeming  <leeming@lyx.org>
8914
8915         * factory.C (createInset): create an InsetCommandParam of type "index"
8916         and use it to 'do the right thing'.
8917
8918         * text2.C (getStringToIndex): ensure that cursor position is always
8919         reset to the reset_cursor position.
8920
8921 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8922
8923         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8924         disabled.
8925
8926 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8927
8928         * bufferview.C:
8929         * lyxcb.C:
8930         * lyxfunc.C: Output messages with identical spelling, punctuation,
8931         and spaces
8932
8933 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8934
8935         * MenuBackend.C (expandFormats): List only viewable export formats
8936         in "View" menu
8937
8938         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8939         message
8940
8941         * lyxfunc.C (getStatus): Make sure that formats other than
8942         "fax" can also be disabled
8943
8944 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * text3.C (dispatch): put the lfuns that insert insets in 3
8947         groups, and call doInsertInset with appropriate arguments.
8948         (doInsertInset): new function, that creates an inset and inserts
8949         it according to some boolean parameters.
8950
8951 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * buffer.C (readFile): remember to pass on 'par' when calling
8954         readFile recursively.
8955
8956 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8957
8958         * MenuBackend.C (expandFormats): add "..." to import formats.
8959
8960 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8961
8962         * paragraph.C (asString): Remove XForms RTL hacks.
8963
8964 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8965         * buffer.C: fix typo
8966
8967 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * Makefile.am (LIBS): delete var
8970         (lyx_LDADD): add @LIBS@ here instead.
8971
8972 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8973
8974         * Clarify the meaning of "wheel mouse jump"
8975
8976 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8979         tabular in a float
8980
8981 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8982
8983         * importer.C (Loaders): do not preallocate 3 elements in the
8984         vector, since one ends up with 6 elements otherwise
8985
8986 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8987
8988         * DepTable.C (write): write the file name as last element of the
8989         .dep file (because it may contain spaces)
8990         (read): read info in the right order
8991
8992 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8993
8994         * paragraph_pimpl.C (simpleTeXBlanks):
8995         (simpleTeXSpecialChars):
8996         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8997
8998         * tabular.C (latex): add some missing case statements. Reindent.
8999
9000         * MenuBackend.C (expandToc): remove unused variable.
9001
9002 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9003
9004         * LColor.C:
9005         * LaTeX.C:
9006         * LyXAction.C:
9007         * MenuBackend.C:
9008         * buffer.C:
9009         * exporter.C:
9010         * lyxfunc.C:
9011         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9012         and the like.
9013
9014 2003-01-05  John Levon  <levon@movementarian.org>
9015
9016         * BufferView.h:
9017         * BufferView.C: add getEncoding()
9018
9019         * kbsequence.h:
9020         * kbsequence.C: do not store last keypress
9021
9022         * lyxfunc.h:
9023         * lyxfunc.C: store last keypress here instead. Pass encoding
9024           to getISOEncoded()
9025
9026 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9027
9028         * lyx_main.C (init): remove annoying error message when following
9029         symbolic links (bug #780)
9030
9031 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9032
9033         * text.C (insertChar):
9034         * lyxrc.C (getDescription): remove extra spaces
9035
9036 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9037
9038         * lyxrc.C (getDescription): remove extra spaces
9039
9040 2002-12-20  John Levon  <levon@movementarian.org>
9041
9042         * text3.C: hack fix for page up/down across tall rows
9043
9044 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9045
9046         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9047         not been invoked
9048
9049 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9050
9051         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9052         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9053         thesaurus is not compiled in
9054
9055 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9056
9057         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9058
9059 2002-12-16  Angus Leeming  <leeming@lyx.org>
9060
9061         * lyxrc.[Ch]:
9062         * lyx_main.C (init): remove override_x_deadkeys stuff.
9063
9064 2002-12-12  John Levon  <levon@movementarian.org>
9065
9066         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9067           insert. Only remove shift modifier under strict
9068           circumstances.
9069
9070 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * MenuBackend.C (expandToc): fix crash.
9073
9074 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9075
9076         * MenuBackend.C (expandToc): gettext on float names.
9077
9078 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9079
9080         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9081         implement bool empty() [bug 490]
9082
9083 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9084
9085         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9086
9087 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9088
9089         * several files: ws changes
9090
9091 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * text2.C (setCounter): clean up a bit, use boost.format.
9094         (updateCounters): initialize par upon declaration.
9095
9096         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9097         if the layout exists. We do not just store the layout any more.
9098         (SwitchLayoutsBetweenClasses): use boost.format
9099
9100 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9101
9102         * converter.C (convert): if from and to files are the same, use a
9103         temporary files as intermediary
9104
9105 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9106
9107         * commandtags.h:
9108         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9109
9110 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9111
9112         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9113
9114 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9115
9116         * tabular.C (asciiPrintCell): use string(size, char) instead of
9117         explicit loop.
9118
9119         * sgml.C (openTag): fix order of arguments to string constructor
9120         (closeTag): ditto
9121
9122         * lyxfunc.C (dispatch): use boost.format
9123
9124         * lots of files: change "c" -> 'c'
9125
9126 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9127
9128         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9129
9130 2002-11-25  Angus Leeming  <leeming@lyx.org>
9131
9132         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9133
9134         * lyx_main.C (init): compile fix.
9135
9136 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * lyx_cb.C (start): boost.formatify
9139         do not include <iostream>
9140
9141         * lengthcommon.C: ws only
9142
9143         * boost-inst.C,BoostFormat.h: add more explict instantations
9144
9145 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9146
9147         * lots of files: handle USE_BOOST_FORMAT
9148
9149 2002-11-21  John Levon  <levon@movementarian.org>
9150
9151         * pspell.C: fix compile
9152
9153 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9154
9155         * lyxfunc.C (dispatch): use boost::format
9156         (open): ditto
9157         (doImport): ditto
9158
9159         * lyxfont.C (stateText): use boost::format
9160
9161         * lyx_main.C (LyX): use boost::format
9162         (init): ditto
9163         (queryUserLyXDir): ditto
9164         (readRcFile): ditto
9165         (parse_dbg): ditto
9166         (typedef boost::function): use the recommened syntax.
9167
9168         * importer.C (Import): use boost::format
9169
9170         * debug.C (showLevel): use boost::format
9171
9172         * converter.C (view): use boost::format
9173         (convert): ditto
9174         (move): ditto
9175         (scanLog): ditto
9176
9177         * bufferview_funcs.C (currentState): use boost::format
9178
9179         * bufferlist.C (emergencyWrite): use boost::format
9180
9181         * buffer.C (readLyXformat2): use boost::format
9182         (parseSingleLyXformat2Token): ditto
9183
9184         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9185
9186         * LaTeX.C (run): use boost::format
9187
9188         * Chktex.C (scanLogFile): use boost::format
9189
9190         * BufferView_pimpl.C (savePosition): use boost::format
9191         (restorePosition): ditto
9192         (MenuInsertLyXFile): ditto
9193
9194         * BoostFormat.h: help file for explicit instation.
9195
9196 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9197
9198         * tabular.C (latex): Support for block alignment in fixed width
9199         columns.
9200
9201 2002-11-17  John Levon  <levon@movementarian.org>
9202
9203         * BufferView_pimpl.C:
9204         * lyx_cb.C:
9205         * lyxfunc.C: split filedialog into open/save
9206
9207 2002-11-08  Juergen Vigna  <jug@sad.it>
9208
9209         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9210         by my last patch (hopefully).
9211
9212 2002-11-08  John Levon  <levon@movementarian.org>
9213
9214         * iterators.h:
9215         * iterators.C:
9216         * buffer.h:
9217         * buffer.C:
9218         * paragraph.h:
9219         * paragraph.C:
9220         * toc.h:
9221         * toc.C: ParConstIterator, and use it (from Lars)
9222
9223 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9224
9225         * lyxtextclass.[Ch]: revise and add doxygen comments
9226
9227 2002-11-07  John Levon  <levon@movementarian.org>
9228
9229         * text.C: fix progress value for spellchecker
9230
9231         * toc.C: fix navigate menu for insetwrap inside minipage
9232
9233         * paragraph_funcs.C: added FIXME for suspect code
9234
9235 2002-11-07  John Levon  <levon@movementarian.org>
9236
9237         * BufferView_pimpl.C: fix redrawing of insets
9238           on buffer switch
9239
9240 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9241
9242         * text2.C (updateCounters): fix bug 668
9243
9244 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9245
9246         * text3.C (dispatch): Do not make the buffer dirty when moving the
9247         cursor.
9248
9249 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * vc-backend.C: STRCONV
9252         (scanMaster): ditto
9253
9254         * text2.C (setCounter): STRCONV
9255
9256         * paragraph.C (asString): STRCONV
9257
9258         * lyxlength.C (asString): STRCONV
9259         (asLatexString): ditto
9260
9261         * lyxgluelength.C (asString): STRCONV
9262         (asLatexString): ditto
9263
9264         * lyxfunc.C (dispatch): STRCONV
9265         (open): ditto
9266
9267         * lyxfont.C (stateText): STRCONV
9268
9269         * importer.C (Import): STRCONV
9270
9271         * counters.C (labelItem): STRCONV
9272         (numberLabel): ditto
9273         (numberLabel): remove unused ostringstream o
9274
9275         * chset.C: STRCONV
9276         (loadFile): ditto
9277
9278         * bufferview_funcs.C (currentState): STRCONV
9279
9280         * buffer.C (readFile): STRCONV
9281         (asciiParagraph): ditto
9282         (makeLaTeXFile): ditto
9283
9284         * Spacing.C (writeEnvirBegin): STRCONV
9285
9286         * LaTeXFeatures.C (getLanguages): STRCONV
9287         (getPackages): ditto
9288         (getMacros): ditto
9289         (getBabelOptions): ditto
9290         (getTClassPreamble): ditto
9291         (getLyXSGMLEntities): ditto
9292         (getIncludedFiles): ditto
9293
9294         * LaTeX.C: STRCONV
9295         (run): ditto
9296         (scanAuxFile): ditto
9297         (deplog): ditto
9298
9299         * LString.h: add the STRCONV macros
9300
9301         * BufferView_pimpl.C (savePosition): STRCONV
9302         (restorePosition): ditto
9303         (MenuInsertLyXFile): ditto
9304
9305         * vc-backend.C (scanMaster): change from submatch[...] to
9306         submatch.str(...)
9307
9308         * funcrequest.C: include config.h
9309
9310         * factory.C: include config.h
9311
9312         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9313
9314         * box.C: include config.h
9315
9316         * LaTeX.C (scanAuxFile): change from submatch[...] to
9317         submatch.str(...)
9318         (deplog): ditto
9319
9320 2002-10-25  Angus Leeming  <leeming@lyx.org>
9321
9322         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9323
9324         * ispell.[Ch] (setError): new method.
9325         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9326         Use setError() insetead of goto END.
9327
9328         * lyx_cb.C (AutoSave): move out child process into new class
9329         AutoSaveBuffer.
9330
9331 2002-10-30  John Levon  <levon@movementarian.org>
9332
9333         * text3.C: make start appendix undoable
9334
9335 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9336
9337         * lyxlength.C (inPixels): Fix returned value.
9338
9339         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9340         environment.
9341
9342 2002-10-24  Angus Leeming  <leeming@lyx.org>
9343
9344         * lyxgluelength.h: no need to forward declare BufferParams
9345         or BufferView, so don't.
9346
9347 2002-10-21  John Levon  <levon@movementarian.org>
9348
9349         * BufferView.C: menuUndo ->undo, redo
9350
9351         * BufferView.h: document, remove dead, make some methods private
9352
9353         * paragraph_funcs.h:
9354         * paragraph_funcs.C:
9355         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9356
9357         * buffer.h:
9358         * buffer.C:
9359         * sgml.h:
9360         * sgml.C: move sgml open/close tag into sgml.C
9361
9362         * bufferview_funcs.h: unused prototype
9363
9364         * lyxfunc.h:
9365         * lyxfunc.C: remove unused
9366
9367         * lyxtext.h:
9368         * text.C: remove unused
9369
9370 2002-10-21  John Levon  <levon@movementarian.org>
9371
9372         * BufferView.h:
9373         * BufferView.C:
9374         * BufferView_pimpl.h:
9375         * BufferView_pimpl.C: fix mouse wheel handling based on
9376           patch from Darren Freeman
9377
9378 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9379
9380         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9381
9382 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9383
9384         * lyxlength.C (inPixels): Fix hanfling of negative length.
9385         Fix LyXLength::MU case.
9386
9387 2002-10-16  John Levon  <levon@movementarian.org>
9388
9389         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9390
9391 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9392
9393         * converter.C (view): add support for $$i (file name) and $$p
9394         (file path) for the viewer command. If $$i is not specified, then
9395         it is appended to the command (for compatibility with old syntax)
9396
9397 2002-10-14  Juergen Vigna  <jug@sad.it>
9398
9399         * undo_funcs.C (textHandleUndo): alter the order in which the
9400         new undopar is added to the LyXText, as we have to set first
9401         the right prev/next and then add it as otherwise the rebuild of
9402         LyXText is not correct. Also reset the cursor to the right paragraph,
9403         with this IMO we could remove the hack in "redoParagraphs()".
9404
9405 2002-10-09  Angus Leeming  <leeming@lyx.org>
9406
9407         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9408         to turn off an optimisation if a new inset is to be inserted.
9409
9410 2002-10-11 André Pönitz <poenitz@gmx.net>
9411
9412         * lyxtext.h: make some functions public to allow access
9413         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9414
9415 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9416
9417         * text3.C (dispatch): when changing layout, avoid an infinite loop
9418         [bug #652]
9419
9420 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9421
9422         * lyxrc.C (read): treat a viewer or converter command of "none" as
9423         if it were empty.
9424
9425         * MenuBackend.C (expandFormats): for an update, also allow the
9426         formats that are not viewable
9427
9428         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9429         script if it is newer than the lyxrc.defaults in user directory
9430
9431 2002-10-07 André Pönitz <poenitz@gmx.net>
9432
9433         * text.C: Vitaly Lipatov's small i18n fix
9434
9435 2002-09-25  Angus Leeming  <leeming@lyx.org>
9436
9437         * ispell.h: doxygen fix.
9438
9439 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9440
9441         * buffer.h (readFile): Add a new argument to the method, to allow
9442         reading of old-format templates.
9443
9444 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9445
9446         * toc.C (getTocList): Get TOC from InsetWrap.
9447
9448 2002-09-16  John Levon  <levon@movementarian.org>
9449
9450         * lyxfunc.C: check tabular for cut/copy too
9451
9452 2002-09-12  John Levon  <levon@movementarian.org>
9453
9454         * LyXAction.C: tidy
9455
9456         * factory.h:
9457         * factory.C: add header
9458
9459         * paragraph_funcs.h:
9460         * paragraph_funcs.C: cleanup
9461
9462 2002-09-11  John Levon  <levon@movementarian.org>
9463
9464         * PrinterParams.h: odd/even default to true
9465
9466 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9467
9468         * PrinterParams.h: update printer parameters for new xforms dialog
9469
9470 2002-09-11  Angus Leeming  <leeming@lyx.org>
9471
9472         * lyxserver.C (read_ready): re-write to make it more transparent
9473         and to make it work in coherent fashion under Tru64 Unix.
9474
9475 2002-09-11  André Pönitz <poenitz@gmx.net>
9476
9477         * commandtags.h:
9478         * LyXAction.C:
9479         * text3.C: implement LFUN_WORDSEL
9480
9481 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9482
9483         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9484         make floatlist_ a boost::shared_ptr<FloatList>
9485
9486         * lyxtextclass.C: include FloatList.h
9487         (LyXTextClass): initialize floatlist_
9488         (TextClassTags): add TC_NOFLOAT
9489         (Read): match "nofloat" to TC_NOFLOAT and use it.
9490         (readFloat): modify call to floatlist_
9491         (floats): ditto
9492         (floats): ditto
9493
9494         * FloatList.[Ch] (FloatList): remove commented out float
9495         initialization.
9496         (erase): new function
9497
9498 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9499
9500         * MenuBackend.C (expandToc): fix crash when there is no document
9501         open
9502
9503 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9504
9505         * many files: Add insetwrap.
9506
9507 2002-09-09  John Levon  <levon@movementarian.org>
9508
9509         * text2.C: remove confusing and awkward depth wraparound
9510
9511 2002-09-09  John Levon  <levon@movementarian.org>
9512
9513         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9514
9515         * buffer.h:
9516         * buffer.C: remove getIncludeonlyList()
9517
9518         * paragraph.C:
9519         * lyxfunc.C: remove headers
9520
9521 2002-09-09  Juergen Vigna  <jug@sad.it>
9522
9523         * text.C (getColumnNearX): fix form Michael this is most
9524         probably a cut&paste bug.
9525
9526 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9529
9530         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9531         references, ws changes.
9532
9533         * text2.C (init): update counters after init
9534         (insertParagraph): no need to set counter on idividual paragraphs.
9535         (setCounter): access the counters object in the textclass object
9536         on in the buffer object.
9537         (updateCounters): ditto
9538
9539         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9540         shared_ptr<Counters> to avoid loading counters.h in all
9541         compilation units.
9542         (LyXTextClass): initialize ctrs_
9543         (TextClassTags): add TC_COUNTER, and ...
9544         (Read): use it here.
9545         (CounterTags): new tags
9546         (readCounter): new function
9547         (counters): new funtion
9548         (defaultLayoutName): return a const reference
9549
9550         * counters.C (Counters): remove contructor
9551         (newCounter): remove a couple of unneeded statements.
9552         (newCounter): simplify a bit.
9553         (numberLabel): some small formatting changes.
9554
9555         * buffer.[Ch]: remove all traces of counters, move the Counters
9556         object to the LyXTextClass.
9557
9558 2002-09-06  Alain Castera  <castera@in2p3.fr>
9559
9560         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9561         package to set the horizontal alignment on fixed width columns.
9562
9563         * lyx_sty.C:
9564         * lyx_sty.h: added tabularnewline macro def.
9565
9566         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9567
9568 2002-09-06  John Levon  <levon@movementarian.org>
9569
9570         * LyXAction.C: tooltips for sub/superscript
9571
9572         * MenuBackend.C: a bit more verbose
9573
9574         * lyxfunc.C: tiny clean
9575
9576         * undo_funcs.C: document undo_frozen
9577
9578 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9579
9580         * counters.C (Counters): add missing algorithm counter.
9581
9582         * text2.C (setCounter): lookup the counter with layouts latexname
9583         instead of by section number.
9584         (setCounter): use a hackish way to lookup the correct enum
9585         counter.
9586         a float name->type change
9587         reset enum couners with counter name directly instead of depth value.
9588
9589         * counters.C (Counters): remove the push_backs, change to use the
9590         float type not the float name.
9591         (labelItem): remove unused string, float name->type change
9592
9593         * counters.h: don't include vector, loose the enums and sects vectors
9594
9595 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9596
9597         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9598         (Read): add float->TC_FLOAT to textclassTags
9599         (Read): and handle it in the switch
9600         (readFloat): new function
9601
9602         * FloatList.C (FloatList): comment out the hardcoded float
9603         definitions.
9604
9605         * lyxlayout.h: ws change.
9606
9607 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9608
9609         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9610
9611 2002-09-03  Angus Leeming  <leeming@lyx.org>
9612
9613         * BufferView_pimpl.h: qualified name is not allowed in member
9614         declaration: WorkArea & Pimpl::workarea() const;
9615
9616         * factory.C: added using std::endl directive.
9617
9618         * text3.C: added using std::find and std::vector directives.
9619
9620 2002-08-29  André Pönitz <poenitz@gmx.net>
9621
9622         * lyxtext.h:
9623         * text2.C: remove unused member number_of_rows
9624
9625         * Makefile.am:
9626         * BufferView2.C: remove file, move contents to...
9627         * BufferView.C: ... here
9628
9629         * BufferView_pimpl.C:
9630         * factory.C: move more inset creation to factory
9631
9632         * vspace.C: avoid direct usage of LyXText, ws changes
9633
9634         * BufferView.[Ch]:
9635                 don't provide direct access to WorkArea, use two simple
9636                 acessors haveSelction() and workHeight() instead
9637
9638
9639 2002-08-29  John Levon  <levon@movementarian.org>
9640
9641         * BufferView_pimpl.C (dispatch): do not continue when
9642           no buffer
9643
9644 2002-08-28  André Pönitz <poenitz@gmx.net>
9645
9646         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9647
9648         * BufferView.h:
9649         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9650
9651 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9652
9653         * buffer.C: increment LYX_FORMAT to 221
9654
9655         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9656         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9657
9658         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9659
9660         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9661
9662 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * factory.C (createInset): use LyXTextClass::floats
9665
9666         * MenuBackend.C (expandFloatListInsert):
9667         (expandFloatInsert):
9668         (expandToc):
9669
9670         * text2.C (setCounter):
9671
9672         * LaTeXFeatures.C (useFloat):
9673         (getFloatDefinitions):
9674
9675         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9676
9677         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9678         floatlist_, with accessor floats().
9679
9680         * FloatList.h: remove global FloatList
9681
9682 2002-08-26  André Pönitz <poenitz@gmx.net>
9683
9684         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9685
9686         * BufferView.h:
9687         * BufferView2.C:
9688         * BufferView_pimpl.C:
9689         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9690
9691 2002-08-25  John Levon  <levon@movementarian.org>
9692
9693         * LyXAction.C: fix margin note description
9694
9695 2002-08-24  John Levon  <levon@movementarian.org>
9696
9697         * buffer.C:
9698         * bufferlist.C:
9699         * bufferview_funcs.C:
9700         * lyxfont.C:
9701         * undo_funcs.C: cleanups
9702
9703         * lyxfunc.C: disable CUT/COPY when no selection
9704
9705 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9706
9707         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9708         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9709
9710         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9711         Add backward compatibility to "mono", "gray" and "no".
9712
9713 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9714
9715         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9716         (and file_format >= 200).
9717
9718 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9719
9720         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9721
9722 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9723
9724         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9725
9726 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9727
9728         * BufferView_pimpl.C:
9729         * LyXAction.C:
9730         * buffer.C:
9731         * commandtags.h:
9732         * lyxfunc.C:
9733         * paragraph.[Ch]:
9734         * text2.C:
9735         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9736         inset and code to make it  work with the paragraph code. The inset
9737         can be anywhere in the paragraph, but will only do the expected
9738         thing in LaTeX if the layout file contains the parameter line
9739                         OptionalArgs    1
9740         (or more generally, a nonzero value) for that layout.
9741
9742 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9743
9744         * paragraph.h: remove the declaration of undefined counters class
9745         function.
9746
9747 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9748
9749         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9750         Dr. Richard Hawkins.
9751
9752 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * paragraph_funcs.h: remove some unneeded includes
9755
9756         * text.C (backspace): pasteParagraph now in global scipe
9757
9758         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9759         (pasteSelection): ditto
9760
9761         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9762         * paragraph_funcs.C (pasteParagraph): ... here
9763
9764 2002-08-20  André Pönitz <poenitz@gmx.net>
9765
9766         * commandtags.h: new LFUNs for swapping/copying table row/colums
9767
9768         * LyXAction.C:
9769         * lyxfunc.C: support for new lfuns
9770
9771 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9772
9773         * tabular.C:
9774         * buffer.[Ch]: remove NO_COMPABILITY stuff
9775
9776 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9777
9778         * boost.C (throw_exception): new file, with helper function for
9779         boost compiled without exceptions.
9780
9781         * paragraph.h:
9782         * lyxlength.C:
9783         * buffer.C:
9784         * ParameterStruct.h:
9785         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9786
9787         * bufferlist.C (emergencyWriteAll): use boost bind
9788
9789         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9790
9791         * text.C: include paragraph_funcs.h
9792         (breakParagraph): breakParagraph is now in global scope
9793
9794         * paragraph_funcs.[Ch]: new files
9795
9796         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9797         global scope
9798
9799         * buffer.C: include paragraph_funcs.h
9800         (insertStringAsLines): breakParagraph is now in global scope
9801
9802         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9803         paragraph_funcs.C
9804
9805         * CutAndPaste.C: include paragraph_funcs.h
9806         (cutSelection): breakParagraphConservative is now in global scope
9807         (pasteSelection): ditto
9808
9809         * buffer.h: declare oprator== and operator!= for
9810         Buffer::inset_iterator
9811
9812         * bufferlist.C (emergencyWrite): don't use fmt(...)
9813
9814         * text3.C: add using std::endl
9815
9816         * BufferView.C (moveCursorUpdate): remove default arg
9817
9818 2002-08-20  André Pönitz <poenitz@gmx.net>
9819
9820         * buffer.[Ch]: move inline functions to .C
9821
9822         * BufferView2.C:
9823         * BufferView_pimpl.C:
9824         * text.C:
9825         * buffer.[Ch]: use improved inset_iterator
9826
9827         * buffer.C:
9828         * paragraph.[Ch]: write one paragraph at a time
9829
9830 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9831
9832         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9833         style if style is not specified.
9834
9835 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * text2.C (setCounter): when searching for right label for a
9838         caption, make sure to recurse to parent insets (so that a caption
9839         in a minipage in a figure float works) (bug #568)
9840
9841 2002-08-20  André Pönitz <poenitz@gmx.net>
9842
9843         * text3.C: new file for LyXText::dispatch() and helpers
9844
9845         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9846
9847         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9848
9849 2002-08-19  André Pönitz <poenitz@gmx.net>
9850
9851         * lyxtext.h:
9852         * text.C: new LyXText::dispatch()
9853
9854         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9855
9856 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9859
9860         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9861         Hebrew text.
9862
9863 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * Makefile.am: use $(variables) instead of @substitutions@
9866
9867 2002-08-15  André Pönitz <poenitz@gmx.net>
9868
9869         * lyxfunc.C:
9870         * BufferView_pimpl.C: streamlining mathed <-> outer world
9871         interaction
9872
9873         * commandtags.h:
9874         * LyXAction.C: remove unused LFUN_MATH
9875
9876 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9879
9880 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * paragraph.C (Paragraph): reformat a bit
9883         (cutIntoMinibuffer): use builtin InsetList function instad of
9884         doing it manually.
9885         (getInset): ditto
9886
9887         * buffer.C: include boost/bind.hpp, add using std::for_each
9888         (writeFileAscii): use ParagraphList iterators
9889         (validate): use for_each for validate traversal of paragraphs
9890         (getBibkeyList): use ParagraphList iterators
9891         (resizeInsets): use for_each to resizeInsetsLyXText for all
9892         paragraphs.
9893         (getParFromID): use ParagraphList iterators
9894
9895         * BufferView2.C (lockInset): use paragraph list and iterators
9896
9897 2002-08-14  John Levon  <levon@movementarian.org>
9898
9899         * lyxserver.C: remove spurious xforms include
9900
9901 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9904
9905 2002-08-13  André Pönitz <poenitz@gmx.net>
9906
9907         * LyXAction.[Ch]:
9908         * lyxfunc.C: further cleaning
9909
9910 2002-08-13  André Pönitz <poenitz@gmx.net>
9911
9912         * funcrequest.h: new constructor
9913
9914         * funcrequest.C: move stuff here from .h
9915
9916         * Makefile.am:
9917         * BufferView_pimpl.C:
9918         * LyXAction.C:
9919         * toc.C:
9920         * lyxfunc.C: subsequent changes
9921
9922         * lyxfunc.h: new view() member function
9923
9924         * lyxfunc.C: subsequent changes
9925
9926 2002-08-13  Angus Leeming  <leeming@lyx.org>
9927
9928         * BufferView2.C:
9929         * BufferView_pimpl.C:
9930         * buffer.C:
9931         * converter.C:
9932         * importer.C:
9933         * lyxfunc.C:
9934         * lyxvc.C:
9935         * toc.C:
9936         * vc-backend.C:
9937         changes due to the changed LyXView interface that now returns references
9938         to member variables not pointers.
9939
9940 2002-08-13  Angus Leeming  <leeming@lyx.org>
9941
9942         * WordLangTuple (word, lang_code): return references to strings,
9943         not strings.
9944
9945         * BufferView.h:
9946         * SpellBase.h:
9947         * lyxtext.h: forward-declare WordLangTuple.
9948
9949         * BufferView2.C:
9950         * ispell.C:
9951         * pspell.C:
9952         * text.C: #include "WordLangTuple.h".
9953
9954         * lyxtext.h:
9955         * text.C: (selectNextWordToSpellcheck): constify return type.
9956
9957 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9958
9959         * buffer.C:
9960         * buffer.h:
9961         * lyxtext.h:
9962         * paragraph.C:
9963         * paragraph_pimpl.h:
9964         * text.C:
9965         * text2.C:
9966         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9967         suggested by Angus.
9968         Made updateCounter always count from start of buffer, and removed
9969         second argument (par).
9970         Reverted floats number display to '#'. Perhaps I'll try again when the
9971         code base is sanitized a bit.
9972
9973 2002-08-12  Angus Leeming  <leeming@lyx.org>
9974
9975         * buffer.[Ch] (getLabelList): constify.
9976
9977 2002-08-07  André Pönitz <poenitz@gmx.net>
9978
9979         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9980
9981         * funcrequest.h: extension to keep mouse (x,y) position
9982
9983 2002-08-12  Juergen Vigna  <jug@sad.it>
9984
9985         * BufferView2.C (insertErrors): forbid undo when inserting error
9986         insets.
9987
9988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9989
9990 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9991
9992         * ParagraphList.[Ch]: new files
9993
9994         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9995
9996         * BufferView2.C (lockInset): ParagraphList changes
9997         * toc.C: ditto
9998         * text2.C: ditto
9999         * bufferlist.C: ditto
10000         * buffer.h: ditto
10001         * buffer.C: ditto
10002
10003 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10004
10005         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10006         unused class variable counter_,
10007
10008         * paragraph.[Ch] (getFirstCounter): delete unused function
10009
10010         * counters.C: include LAssert.h
10011         (reset): add a new function with no arg, change other version to
10012         not have def. arg and to not allow empty arg.
10013
10014         * text2.C (setCounter): remove empty arg from call to Counters::reset
10015
10016 2002-08-11  John Levon  <levon@movementarian.org>
10017
10018         * Makefile.am: add WordLangTuple.h
10019
10020 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10021
10022         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10023         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10024
10025         * insets/insettext.C: InsetList changes
10026
10027         * graphics/GraphicsSupport.C (operator()): InsetList changes
10028
10029         * toc.C (getTocList): InsetList changes
10030
10031         * paragraph_pimpl.[Ch]: InsetList changes
10032
10033         * paragraph.[Ch]: InsetList changes
10034
10035         * buffer.C (inset_iterator): InsetList changes
10036         (setParagraph): ditto
10037         * buffer.h (inset_iterator): ditto
10038         * iterators.C (operator++): ditto
10039         * iterators.h: ditto
10040
10041         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10042
10043         * InsetList.[Ch]: new files, most InsetList handling moved out of
10044         paragraph.C.
10045
10046         * BufferView2.C (removeAutoInsets): InsetList changes
10047         (lockInset): ditto
10048         (ChangeInsets): ditto
10049
10050 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10051
10052         * paragraph_pimpl.h (empty): new function
10053
10054         * paragraph.[Ch] (empty): new function
10055
10056         * other files: use the new Paragraph::empty function
10057
10058 2002-08-09  John Levon  <levon@movementarian.org>
10059
10060         * lyxtext.h: remove unused refresh_height
10061
10062 2002-08-09  John Levon  <levon@movementarian.org>
10063
10064         * Makefile.am:
10065         * sgml.h:
10066         * sgml.C:
10067         * buffer.C:
10068         * paragraph.h:
10069         * paragraph.C: move sgml char escaping out of paragraph
10070
10071         * paragraph.h:
10072         * paragraph.C: remove id setter
10073
10074         * buffer.C:
10075         * paragraph.C:
10076         * paragraph_pimpl.C: remove dead tex_code_break_column
10077
10078         * bufferview_funcs.C: small cleanup
10079
10080         * lyxfunc.C: remove dead proto
10081
10082         * lyxtext.h: make some stuff private. Remove some dead stuff.
10083
10084         * lyxgluelength.C: make as[LyX]String() readable
10085
10086 2002-08-08  John Levon  <levon@movementarian.org>
10087
10088         * LyXAction.h:
10089         * LyXAction.C:
10090         * MenuBackend.C:
10091         * ToolbarDefaults.C:
10092         * lyxfunc.C:
10093         * lyxrc.C:
10094         * toc.C: lyxaction cleanup
10095
10096 2002-08-08  John Levon  <levon@movementarian.org>
10097
10098         * BufferView2.C: small cleanup
10099
10100         * lyxfind.h:
10101         * lyxfind.C: move unnecessary header into the .C
10102
10103 2002-08-08  John Levon  <levon@movementarian.org>
10104
10105         * funcrequest.h: just tedious nonsense
10106
10107         * lyx_main.h:
10108         * lyx_main.C: cleanups
10109
10110         * buffer.C:
10111         * vspace.C: remove dead header lyx_main.h
10112
10113 2002-08-07  Angus Leeming  <leeming@lyx.org>
10114
10115         * Paragraph.[Ch]:
10116         * paragraph_pimpl.h:
10117         Forward declare class Counters in paragraph.h by moving the ctrs member
10118         variable into Paragraph::Pimpl.
10119         (counters): new method, returning a reference to pimpl_->ctrs.
10120
10121         * text2.C: ensuing changes.
10122
10123 2002-08-07  John Levon  <levon@movementarian.org>
10124
10125         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10126
10127         * BufferView_pimpl.C: announce X selection on double/triple
10128           click
10129
10130         * lyx_main.C: use correct bool in batch dispatch
10131
10132         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10133
10134 2002-08-07  André Pönitz <poenitz@gmx.net>
10135
10136         * funcrequest.h: new class to wrap a kb_action and its argument
10137
10138         * BufferView.[Ch]:
10139         * BufferView_pimpl[Ch]:
10140         * LaTeX.C:
10141         * LyXAction.[Ch]:
10142         * lyxfunc.[Ch]:
10143         * lyxrc.C: subsequent changes
10144
10145
10146 2002-08-07  John Levon  <levon@movementarian.org>
10147
10148         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10149           document options change.
10150
10151 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10152
10153         * counters.[Ch]
10154         * text2.C
10155         * paragraph.[Ch]
10156         * makefile.am: move counters functionality over from
10157         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10158
10159 2002-08-06  John Levon  <levon@movementarian.org>
10160
10161         * WordLangTuple.h: new file for word + language code tuple
10162
10163         * SpellBase.h:
10164         * pspell.h:
10165         * pspell.C:
10166         * ispell.h:
10167         * ispell.C:
10168         * lyxtext.h:
10169         * text.C:
10170         * text2.C:
10171         * BufferView.h:
10172         * BufferView2.C: use WordLangTuple
10173
10174         * layout.h:
10175         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10176
10177 2002-08-06  John Levon  <levon@movementarian.org>
10178
10179         * lyx_main.C: fix cmdline batch handling
10180
10181 2002-08-06  André Pönitz <poenitz@gmx.net>
10182
10183         * lyxrc.C: set default for show_banner to true
10184
10185 2002-08-06  John Levon  <levon@movementarian.org>
10186
10187         * pspell.C: fix a crash, and allow new aspell to work
10188
10189 2002-08-06  John Levon  <levon@movementarian.org>
10190
10191         * lyxfunc.C:
10192         * kbmap.C: small cleanup
10193
10194         * vspace.h:
10195         * vspace.C: add const
10196
10197 2002-08-05  John Levon  <levon@movementarian.org>
10198
10199         * LyXAction.C: back to tabular-insert
10200
10201 2002-08-04  John Levon  <levon@movementarian.org>
10202
10203         * BufferView.h:
10204         * BufferView.C: cosmetic change
10205
10206         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10207
10208         * bufferlist.C:
10209         * buffer.h:
10210         * buffer.C:
10211         * lyxcb.h:
10212         * lyxcb.C:
10213         * lyxserver.C:
10214         * lyxvc.C:
10215         * vc-backend.C:
10216         * BufferView2.C: purge all "Lyx" not "LyX" strings
10217
10218         * lyxcursor.h:
10219         * lyxcursor.C: attempt to add some documentation
10220
10221         * lyxfunc.C:
10222         * commandtags.h:
10223         * LyXAction.C:
10224         * ToolbarDefaults.C:
10225         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10226           merge with LFUN_TABULAR_INSERT
10227
10228         * Makefile.am:
10229         * SpellBase.h:
10230         * ispell.h:
10231         * ispell.C:
10232         * pspell.h:
10233         * pspell.C: split up i/pspell implementations into separate
10234           files, many cleanups
10235
10236         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10237
10238         * text2.C: some cleanup
10239
10240         * lyxfunc.C: don't check for isp_command == "none" any more, it
10241           didn't make any sense
10242
10243 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10244
10245         * counters.[Ch]
10246         * text2.C
10247         * paragraph.[Ch]
10248         * makefile.am: move counters functionality over
10249         from text2.C/paragraph.[Ch] to counters.[Ch], and
10250         make proper C++.
10251 2002-08-02  John Levon  <levon@movementarian.org>
10252
10253         * buffer.C: s/lyxconvert/lyx2lyx/
10254
10255 2002-08-02  Angus Leeming  <leeming@lyx.org>
10256
10257         * lyxlex.C: revert John's change as it breaks reading of the user
10258         preamble.
10259
10260 2002-08-02  Angus Leeming  <leeming@lyx.org>
10261
10262         * importer.C (Import):
10263         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10264         changes due to LyXView::view() now returning a boost::shared_ptr.
10265
10266 2002-08-02  John Levon  <levon@movementarian.org>
10267
10268         * lyxlex.C: small cleanup
10269
10270 2002-08-02  John Levon  <levon@movementarian.org>
10271
10272         * text2.C (status): small cleanup, no logic change
10273
10274 2002-08-01  John Levon  <levon@movementarian.org>
10275
10276         * buffer.h:
10277         * buffer.C (writeFile): don't output alerts, caller
10278           handles this
10279
10280         * bufferlist.C:
10281         * lyx_cb.C: from above
10282
10283         * lyxfunc.C: allow to open non-existent files
10284
10285 2002-07-31  John Levon  <levon@movementarian.org>
10286
10287         * lyxserver.C: don't let incidental errors get
10288           in the way (errno)
10289
10290 2002-07-30  John Levon  <levon@movementarian.org>
10291
10292         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10293
10294 2002-07-30  John Levon  <levon@movementarian.org>
10295
10296         * lyxserver.h:
10297         * lyxserver.C: remove I/O callback too
10298
10299 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10302         log.
10303
10304 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10305
10306         * many files: strip,frontStrip -> trim,ltrim,rtrim
10307
10308 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10309
10310         * PrinterParams.h: remove extern containsOnly, and include
10311         support/lstrings.h instead.
10312
10313         * LaTeX.C (scanAuxFile): modify because of strip changes
10314         (deplog): ditto
10315         * buffer.C (makeLaTeXFile): ditto
10316         * bufferparams.C (writeFile): ditt
10317         * lyxfont.C (stateText): ditto
10318         * lyxserver.C (read_ready): ditto
10319         * vc-backend.C (scanMaster): ditto
10320
10321         * BufferView_pimpl.h: ws changes
10322
10323         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10324
10325 2002-07-26  André Pönitz <poenitz@gmx.net>
10326
10327         * kb_sequence.C: remove unnedred usings
10328
10329 2002-07-26  Juergen Vigna  <jug@sad.it>
10330
10331         * lyxfind.C (LyXReplace): we have to check better if the returned
10332         text is not of theLockingInset()->getLockingInset().
10333
10334 2002-07-25  Juergen Vigna  <jug@sad.it>
10335
10336         * lyxfind.C (LyXReplace): don't replace if we don't get the
10337         right LyXText.
10338
10339         * undo_funcs.C (createUndo): remove debugging code.
10340
10341 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10342
10343         * buffer.C (parseSingleLyXformat2Token): Use default placement
10344         when reading old floats.
10345
10346         * FloatList.C (FloatList): Change the default placement of figure
10347         and tables to "tbp".
10348
10349 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * MenuBackend.C: using std::max
10352
10353 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * MenuBackend.C (expandToc):
10356         (expandToc2): code moved from xforms menu frontend. It is now
10357         generic and TOCs are transparent to menu frontends.
10358
10359 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10360
10361         * toc.C (getTocList): protect against buf=0
10362
10363         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10364         Menu as first parameter. Now, this calls itself recursively to
10365         expand a whole tree (this will be useful for TOC handling)
10366         (expandFloatInsert): remove 'wide' version of floats
10367
10368         * MenuBackend.h (submenuname): returns the name of the submenu.
10369         (submenu): returns the submenu itself, provided it has been
10370         created by MenuBackend::expand
10371
10372 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10375         insets which have noFontChange == true. (bug #172)
10376
10377 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * BufferView_pimpl.C: add connection objects and use them...
10380         (Pimpl): here.
10381
10382 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * MenuBackend.C (expandLastfiles):
10385         (expandDocuments):
10386         (expandFormats):
10387         (expandFloatListInsert):
10388         (expandFloatInsert):
10389         (expand): split expand in parts
10390
10391 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * lyx_gui.C: use lyx_gui::exit()
10394
10395 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * LyXAction.C: show the failing pseudo action
10398
10399 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10400
10401         * buffer.C (readFile): Run the lyxconvert script in order to read
10402         old files.
10403
10404 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * LyXAction.C:
10407         * commandtags.h:
10408         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10409
10410 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * LyXAction.C:
10413         * commandtags.h:
10414         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10415
10416 2002-07-22  Herbert Voss  <voss@lyx.org>
10417
10418         * lengthcommon.C:
10419         * lyxlength.[Ch]: add support for the vertical lengths
10420
10421 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * toc.[Ch]: std:: fixes
10424
10425 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10426
10427         * lyxrc.C: do not include lyx_main.h
10428
10429         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10430         for layouts
10431
10432         * lyxrc.C:
10433         * encoding.C:
10434         * bufferlist.C:
10435         * BufferView2.C: include "lyxlex.h"
10436
10437         * tabular.h:
10438         * bufferparams.h: do not #include "lyxlex.h"
10439
10440         * lyxtextclasslist.C (Add): remove method
10441         (classlist): renamed to classlist_
10442
10443         * paragraph_pimpl.C:
10444         * paragraph.C:
10445         * text2.C:
10446         * CutAndPaste.C:
10447         * bufferview_funcs.C:
10448         * bufferlist.C:
10449         * text.C:
10450         * LaTeXFeatures.C:
10451         * buffer.C:
10452         * toc.C (getTocList): use BufferParams::getLyXTextClass
10453
10454         * toc.C (getTocList): use InsetFloat::addToToc
10455
10456         * toc.[Ch]: new files, containing helper functions to handle table
10457         of contents
10458
10459         * lyxfunc.C (dispatch): no need to remove spaces around command
10460         given as a string
10461         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10462         first command of the sequence; it is not very clever, but I do not
10463         have a better idea, actually
10464
10465         * LyXAction.C (LookupFunc): make sure to remove space at the
10466         beginning and end of the command
10467
10468 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * MenuBackend.C (getMenubar): new method: return the menubar of
10471         this menu set
10472         (read): treat differently reading of menu and menubar (in
10473         particular, the menubar has no name now)
10474         (Menu::menubar): remove
10475
10476         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10477         saving is finished
10478
10479 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10480
10481         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10482         a bibitem inset in a RTL paragraph.
10483
10484 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * paragraph_pimpl.C: constify
10487
10488         * BufferView_pimpl.C:
10489         * LaTeX.C:
10490         * lyxfunc.C: fix dispatch in a nicer way
10491
10492 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10493
10494         * lyxfunc.C (dispatch):
10495         * BufferView_pimpl.C:
10496         * BufferView_pimpl.h:
10497         * BufferView.C:
10498         * BufferView.h: rename Dispatch() to dispatch()
10499
10500         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10501
10502         * lyxlayout.C (Read): honor DependsOn tag
10503
10504         * lyxlayout.[Ch] (depends_on): new method
10505
10506         * version.C.in: update lyx_docversion
10507
10508         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10509
10510         * paragraph.C (validate): remove from here...
10511         * paragraph_pimpl.C (validate): ... and move here
10512         (isTextAt): make it const
10513
10514         * buffer.C (getLists): ws cleanup
10515
10516 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10517
10518         * language.C (read): Use iso8859-1 encoding in latex_lang
10519         (this prevents LyX from crashing when using iso10646-1 encoding).
10520
10521 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10522
10523         * text2.C (toggleInset): if cursor is inside an inset, close the
10524         inset and leave cursor _after_ it
10525
10526 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * lyxfunc.C: move minibuffer completion handling out of here
10529
10530 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.C:
10533         * LaTeX.C: fix dispatch calls
10534
10535 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10536
10537         * text.C (drawChars): Fix Arabic text rendering.
10538
10539 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * LyXAction.C:
10542         * commandtags.h:
10543         * lyxfunc.C: remove message-push/pop
10544
10545         * lyxserver.C:
10546         * lyxfunc.h:
10547         * lyxfunc.C: rationalise some code by removing verboseDispatch
10548           in favour of a bool argument to dispatch()
10549
10550 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * lyx_main.C (init): make sure to read symlinks as absolute paths
10553
10554 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * lyxfunc.h:
10557         * lyxfunc.C: no need for commandshortcut to be a member
10558
10559 2002-07-15  André Pönitz <poenitz@gmx.net>
10560
10561         * converter.C: add support for $$s (scripts from lib/scripts dir)
10562         * lyx_main.C: white space
10563
10564 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * bufferlist.C:
10567         * lyxrc.h:
10568         * lyxrc.C: remove second exit confirmation
10569
10570 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * BufferView.h:
10573         * BufferView.C:
10574         * BufferView2.C:
10575         * BufferView_pimpl.h:
10576         * BufferView_pimpl.C:
10577         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10578
10579 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10580
10581         * MenuBackend.C (expand): add numeric shortcuts to document menu
10582
10583         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10584
10585 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfont.C (setLyXFamily):
10588         (setLyXSeries):
10589         (setLyXShape):
10590         (setLyXSize):
10591         (setLyXMisc):
10592         (lyxRead):
10593         * debug.C (value):
10594         * buffer.C (asciiParagraph): use ascii_lowercase
10595
10596 2002-07-15  Mike Fabian  <mfabian@suse.de>
10597
10598         * lyxlex_pimpl.C (search_kw):
10599         * lyxlex.C (getLongString):
10600         * converter.h (operator<):
10601         * converter.C (operator<):
10602         * buffer.C (parseSingleLyXformat2Token):
10603         (asciiParagraph):
10604         * ToolbarDefaults.C (read):
10605         * MenuBackend.C (checkShortcuts):
10606         (read):
10607         * LColor.C (getFromGUIName):
10608         (getFromLyXName): use the compare_ascii_no_case instead of
10609         compare_no_case, because in turkish, 'i' is not the lowercase
10610         version of 'I', and thus turkish locale breaks parsing of tags.
10611
10612 2002-07-16  Angus Leeming  <leeming@lyx.org>
10613
10614         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10615         now takes a Buffer const & argument.
10616
10617 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * BufferView.C (resize): check there's a buffer to resize
10620
10621 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfunc.C: remove dead code
10624
10625         * lyxserver.h:
10626         * lyxserver.C: use lyx_guii::set_read_callback
10627
10628 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10631         an inset in a RTL paragraph.
10632
10633 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * lyxfunc.C: repaint after a font size update
10636
10637 2002-07-15  André Pönitz <poenitz@gmx.net>
10638
10639         * lyxlength.C: inBP should be able to return negative values
10640
10641 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * lyxfunc.C: use lyx_gui::update_fonts()
10644
10645 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxfunc.C: use lyx_gui::update_color()
10648
10649 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10650
10651         * bufferlist.C:
10652         * lyxfunc.h:
10653         * lyxfunc.C:
10654         * lyxrc.h:
10655         * lyxrc.C: remove file->new asks for name option, and let
10656           buffer-new take an argument
10657
10658 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * BufferView_pimpl.C: remove unneeded extra repaint()
10661
10662 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * LyXAction.C: allow command-sequence with NoBuffer
10665
10666         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10667
10668 2002-07-10  Angus Leeming  <leeming@lyx.org>
10669
10670         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10671
10672 2002-07-09  Angus Leeming  <leeming@lyx.org>
10673
10674         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10675
10676 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10677
10678         * lengthcommon.h: whitespace
10679
10680         * lyxfunc.C: update scrollbar after goto paragraph
10681
10682         * lyxtext.h: factor out page break drawing, and fix it so
10683           page break/added space paints as selected nicely
10684
10685 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView_pimpl.C: add FIXMEs, clean up a little
10688
10689 2002-07-09  André Pönitz <poenitz@gmx.net>
10690
10691         * lyxfont.[Ch]: support for wasy symbols
10692
10693 2002-07-08  André Pönitz <poenitz@gmx.net>
10694
10695         * BufferView_pimpl.C: apply John's patch for #93.
10696
10697 2002-07-05  Angus Leeming  <leeming@lyx.org>
10698
10699         * BufferView_pimpl.C (buffer): generate previews if desired.
10700
10701         * LColor.h: add "preview" to the color enum.
10702
10703         * LColor.C (LColor): add a corresponding entry to the items array.
10704
10705         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10706         with this buffer.
10707
10708 2002-07-05  Angus Leeming  <leeming@lyx.org>
10709
10710         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10711         The body of the code is now in the method that is passed an ostream &
10712         rather than a file name.
10713         Pass an additional only_preamble parameter, useful for the forthcoming
10714         preview stuff.
10715
10716 2002-07-03  André Pönitz <poenitz@gmx.net>
10717
10718         * lyxfunc.C: simplify getStatus() a bit for math stuff
10719
10720 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10723
10724 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * text.C (changeRegionCase): do not change case of all the
10727         document when region ends at paragraph end (bug #461)
10728
10729 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * paragraph.C (startTeXParParams):
10732         (endTeXParParams): add \protect when necessary
10733
10734 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * BufferView_pimpl.C (workAreaExpose): remove warning
10737
10738 2002-06-27  Angus Leeming  <leeming@lyx.org>
10739
10740         * Makefile.am: add lyxlayout_ptr_fwd.h.
10741
10742 2002-06-26  André Pönitz <poenitz@gmx.net>
10743
10744         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10745
10746 2002-06-25  Angus Leeming  <leeming@lyx.org>
10747
10748         * lyxfunc.C (dispatch): Comment out the call to
10749         grfx::GCache::changeDisplay. The method no longer exists now that the
10750         pixmap generation part of the graphics loader has been moved into
10751         InsetGraphics.
10752
10753 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * text2.C: layout as layout
10756
10757         * text.C: layout as layout
10758
10759         * tabular.C (OldFormatRead): layout as layout
10760
10761         * paragraph_pimpl.C (TeXDeeper): layout as layout
10762         (realizeFont): layout as layout
10763
10764         * paragraph.C (writeFile): layout as layout
10765         (validate): layout as layout
10766         (getFont): layout as layout
10767         (getLabelFont): layout as layout
10768         (getLayoutFont): layout as layout
10769         (breakParagraph): layout as layout
10770         (stripLeadingSpaces): layout as layout
10771         (getEndLabel): layout as layout
10772         (getMaxDepthAfter): layout as layout
10773         (applyLayout): layout as layout
10774         (TeXOnePar): layout as layout
10775         (simpleTeXOnePar): layout as layout
10776         (TeXEnvironment): layout as layout
10777         (layout): layout as layout
10778         (layout): layout as layout
10779
10780         * lyxtextclass.C (compare_name): new functor to work with
10781         shared_ptr, layout as layout
10782         (Read): layout as layout
10783         (hasLayout): layout as layout
10784         (operator): layout as layout
10785         (delete_layout): layout as layout
10786         (defaultLayout): layout as layout
10787
10788         * lyxlayout_ptr_fwd.h: new file
10789
10790         * lyxlayout.C (Read): layout as layout
10791
10792         * lyx_cb.C (MenuInsertLabel): layout as layout
10793
10794         * bufferlist.C (newFile): layout as layout
10795
10796         * buffer.C (readLyXformat2): layout as layout
10797         (parseSingleLyXformat2Token): layout as layout
10798         (insertStringAsLines): layout as layout
10799         (asciiParagraph): layout as layout
10800         (latexParagraphs): layout as layout
10801         (makeLinuxDocFile): layout as layout
10802         (simpleLinuxDocOnePar): layout as layout
10803         (makeDocBookFile): layout as layout
10804         (simpleDocBookOnePar): layout as layout
10805         (getLists): layout as layout
10806
10807         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10808
10809         * CutAndPaste.C (cutSelection): layout as layout
10810         (pasteSelection): layout as layout
10811         (SwitchLayoutsBetweenClasses): layout as layout
10812
10813         * BufferView_pimpl.C (Dispatch): layout as layout
10814         (smartQuote): layout as layout
10815
10816         * BufferView2.C (unlockInset): layout as layout
10817
10818 2002-06-24  André Pönitz <poenitz@gmx.net>
10819
10820         * lyxfunc.C: fix #487
10821
10822 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * lyxrc.h:
10825         * lyxrc.C:
10826         * lyxfunc.C: remove display_shortcuts, show_banner
10827
10828 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * Buffer_pimpl.C: oops, update on resize
10831
10832 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * buffer.C:
10835         * converter.C:
10836         * exporter.C:
10837         * lyxfunc.C:
10838         * BufferView.h:
10839         * BufferView.C: use repaint()
10840
10841         * BufferView_pimpl.h:
10842         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10843           as it's a clearer description. Remove superfluous
10844           redraws.
10845
10846 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * text.C: fix bug 488. Not ideal, but getting
10849           getWord() to work properly for the insets that
10850           matter is more difficult ...
10851
10852 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * BufferView_pimpl.C:
10855         * LyXAction.C:
10856         * commandtags.h:
10857         * lyxfunc.C: remove the six million index lyxfuncs to just
10858           one, and DTRT (bug 458)
10859
10860 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * BufferView.h:
10863         * BufferView.C:
10864         * BufferView_pimpl.h:
10865         * BufferView_pimpl.C: clean up resize() stuff,
10866           and unnecessary updateScreen()s
10867
10868 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * BufferView.h:
10871         * BufferView.C:
10872         * BufferView_pimpl.h:
10873         * BufferView_pimpl.C:
10874         * lyxfind.h:
10875         * lyxfind.C:
10876         * minibuffer.C: remove focus management of workarea,
10877           not needed. Use screen's greyOut()
10878
10879 2002-06-17  Herbert Voss  <voss@lyx.org>
10880
10881         * converter.C: (convert) do not post a message, when converting
10882         fails, let the calling function decide what to do in this case
10883
10884 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10885
10886         * lyxfunc.C: tidy up a little
10887
10888 2002-06-16    <alstrup@diku.dk>
10889
10890         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10891         Got rid of FORMS_H_LOCATION include. Now we are
10892         GUII.
10893
10894 2002-06-15  LyX Development team  <lyx@rilke>
10895
10896         * buffer.[Ch] (sgmlOpenTag):
10897         (sgmlCloseTag): Added support for avoiding pernicious mixed
10898         content. Return number of lines written.
10899
10900         (makeLinuxDocFile):
10901         (makeDocBookFile): Fixed calls to sgml*Tag.
10902         Simple white space clean.
10903
10904         (simpleDocBookOnePar): Simple white space clean.
10905
10906         * tabular.[Ch] (docBook): Renamed to docbook and got another
10907         argument to related with the pernicious mixed content.
10908
10909         (docbookRow): Fixed calls for docbook inset method.
10910
10911 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10912
10913         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10914         so it's X11 independent.
10915
10916         * kb*.[Ch]: ditto.
10917
10918         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10919
10920 2002-06-15  Lyx Development team  <lyx@electronia>
10921
10922         * intl.h: Renamed getTrans to getTransManager.
10923
10924 2002-06-14  Angus Leeming  <leeming@lyx.org>
10925
10926         * Makefile.am: nuke forgotten stl_string_fwd.h.
10927
10928 2002-06-12  Angus Leeming  <leeming@lyx.org>
10929
10930         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10931
10932 2002-06-13  Angus Leeming  <leeming@lyx.org>
10933
10934         * LaTeX.C:
10935         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10936
10937 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10938
10939         * kbmap.C (getiso): add support for cyrillic and greek
10940
10941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * BufferView.h:
10944         * BufferView.C:
10945         * BufferView_pimpl.h:
10946         * BufferView_pimpl.C: move bogus scrolling logic
10947           to xforms
10948
10949 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxfunc.C:
10952         * BufferView_pimpl.C: view->resize() change
10953
10954 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * BufferView_pimpl.C: topCursorVisible
10957           prototype change
10958
10959 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * Makefile.am:
10962         * lyx_gui.h:
10963         * lyx_gui.C: move to frontends/
10964
10965         * main.C:
10966         * lyx_main.h:
10967         * lyx_main.C: changes from above
10968
10969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * intl.C:
10972         * intl.h:
10973         * kbmap.C:
10974         * kbsequence.C:
10975         * lyx_cb.C:
10976         * lyx_main.C: minor tidy
10977
10978 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10979
10980         * BufferView_pimpl.h:
10981         * BufferView_pimpl.C:
10982         * BufferView.h:
10983         * BufferView.C: make painter() const,
10984           remove dead code
10985
10986         * BufferView2.C: use screen() accessor
10987
10988         * lyx_main.h:
10989         * lyx_main.C: some minor cleanup
10990
10991 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * BufferView_pimpl.h:
10994         * BufferView_pimpl.C: remove enter/leaveView,
10995           use workHeight()
10996
10997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10998
10999         * BufferView.h:
11000         * BufferView.C:
11001         * BufferView2.C:
11002         * BufferView_pimpl.h:
11003         * BufferView_pimpl.C: only construct screen once,
11004           rename
11005
11006         * lyxrc.C: remove pointless comment
11007
11008 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * BufferView.h:
11011         * BufferView.C: remove active() and belowMouse()
11012
11013         * BufferView_pimpl.h:
11014         * BufferView_pimpl.C: use workarea() not workarea_,
11015           and make it use a scoped_ptr instead
11016
11017 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * lyx_gui.C: add debug message on BadWindow
11020
11021 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * sp_spell.C: fdopen is not part of the C++ standard.
11024
11025         * paragraph.C (InsetIterator): use >= instead of ==
11026
11027 2002-06-07  Angus Leeming  <leeming@lyx.org>
11028
11029         Fixes needed to compile with Compaq cxx 6.5.
11030         * BufferView_pimpl.C:
11031         * DepTable.C:
11032         * buffer.C:
11033         * converter.C:
11034         * encoding.C:
11035         * lyx_gui.C:
11036         * lyx_main.C:
11037         * lyxtextclasslist.C:
11038         * minibuffer.C:
11039         * sp_spell.C:
11040         * tabular_funcs.C:
11041         * vc-backend.C:
11042         all c-library variables have been moved into namespace std. Wrap
11043         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11044
11045         * lyxlength.C:
11046         * tabular-old.C:
11047         * tabular.C:
11048         Add a using std::abs declaration.
11049
11050         * kbmap.h (modifier_pair):
11051         * paragraph.h (InsetTable, InsetList):
11052         * lyxfont.h (FontBits):
11053         type definition made public.
11054
11055         * bufferlist.C (emergencyWriteAll): the compiler complains that
11056         there is more than one possible lyx::class_fun template to choose from.
11057         I re-named the void specialisation as lyx::void_class_fun.
11058
11059         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11060
11061         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11062         the compiler is is unable to find tostr in write_attribute.
11063
11064 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * buffer.C (sgmlError): hide #warning
11067
11068 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * xtl/*: get rid of xtl, which is not in use anyway
11071
11072         * LyXAction.C (init):
11073         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11074         were unimplemented xtl experimentation
11075
11076 2002-06-04  André Pönitz <poenitz@gmx.net>
11077
11078         * lyxfunc.C: disable array operation on simple formulae
11079
11080 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * converter.C: constify a bit
11083
11084 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * lyx_gui.C: check xforms version correctly
11087
11088 2002-04-30  Herbert Voss  <voss@lyx.org>
11089
11090         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11091         "keep" option
11092
11093 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11096           attempt to register it with a VCS)
11097
11098 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * lyx_main.C (init): honor variables LYX_DIR_13x and
11101         LYX_USERDIR_13x
11102
11103 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * buffer.h:
11106         * buffer.C:
11107         * lyx_main.C: fix a crash on bad command line,
11108           and give a useful exit status on error
11109
11110         * lyxfunc.C (doImport): allow -i lyx to work
11111
11112 2002-03-30  André Pönitz <poenitz@gmx.net>
11113
11114         * lyxfunc.C: mathed font changes
11115
11116 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * LaTeX.C:
11119         * importer.h:
11120         * importer.C:
11121         * lyx_sty.h:
11122         * lyx_sty.C:
11123         * lyxlex.C:
11124         * lyxrow.h:
11125         * lyxtext.h:
11126         * paragraph.h:
11127         * paragraph.C:
11128         * texrow.h:
11129         * texrow.C:
11130         * text.C:
11131         * trans_mgr.h: srcdocs, and some minor cleanups
11132
11133 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11134
11135         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11136         call getFont all the time)
11137
11138 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11139
11140         * switch from SigC signals to boost::signals
11141
11142 2002-05-29  André Pönitz <poenitz@gmx.net>
11143
11144         * paragraph_pimpl.C (getChar): don't call size() too often...
11145
11146 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11147
11148         * paragraph_pimpl.C (insertChar): do not try to update tables when
11149         appending (pos == size())
11150
11151         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11152         in order to reduce drastically the number of comparisons needed to
11153         parse a large document
11154
11155 2002-05-29  André Pönitz <poenitz@gmx.net>
11156
11157         * text.C:
11158         * text2.C:
11159         * lyxtextclass.C:
11160         * sp_pspell.h:
11161         * textclasslist.[Ch]:
11162         * sp_ispell.h: whitespace change
11163
11164 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11167         lyxaction directly now.
11168
11169 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * trans.C:
11172         * lyxfont.C:
11173         * lyxvc.C: remove unused headers
11174
11175 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * Makefile.am:
11178         * buffer.h:
11179         * undostack.h:
11180         * undostack.C:
11181         * undo_funcs.h:
11182         * undo_funcs.C: some cleanups. Use shared_ptr
11183           and a template for the undo stacks.
11184
11185 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * BufferView_pimpl.h:
11188         * BufferView_pimpl.C:
11189         * kbmap.h:
11190         * kbmap.C:
11191         * kbsequence.h:
11192         * kbsequence.C:
11193         * lyxfunc.h:
11194         * lyxfunc.C:
11195         * text2.C: use key_state/mouse_state
11196
11197 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11200         and LSubstring
11201
11202         * chset.C: change include order
11203         (loadFile): use boost regex and get rid of LRegex and LSubstring
11204
11205         * Makefile.am (BOOST_LIBS): new variable
11206         (lyx_LDADD): use it
11207
11208         * LaTeX.C: change include order.
11209         (scanAuxFile): use boost regex and get rid of LRegex and
11210         LSubstring
11211         (deplog): ditto
11212
11213 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * ColorHandler.h:
11216         * ColorHandler.C:
11217         * FontInfo.h:
11218         * FontInfo.C: moved to frontends/xforms/
11219
11220         * FontLoader.h:
11221         * FontLoader.C: moved into frontends for GUIIzation
11222
11223         * Makefile.am:
11224         * lyx_gui.C:
11225         * lyxfont.C:
11226         * lyxfunc.C: changes from above
11227
11228 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * LColor.C: remove spurious X include
11231
11232         * BufferView_pimpl.C:
11233         * Makefile.am:
11234         * font.h:
11235         * font.C:
11236         * text.C:
11237         * text2.C: move font metrics to frontends/
11238
11239 2002-05-24  Juergen Vigna  <jug@sad.it>
11240
11241         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11242         setting the undo_cursor.
11243
11244         * ParagraphParameters.h: include local includes first.
11245
11246 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * BufferView_pimpl.C:
11249         * BufferView_pimpl.h:
11250         * Makefile.am:
11251         * WorkArea.h:
11252         * WorkArea.C:
11253         * screen.C: move WorkArea into frontends/
11254
11255         * lyxscreen.h:
11256         * screen.C:
11257         * text.C:
11258         * BufferView.C:
11259         * BufferView2.C: move LyXScreen into frontends/
11260
11261         * lyxlookup.h:
11262         * lyxlookup.C:
11263         * lyx_gui.C: move lyxlookup into frontends/xforms/
11264
11265 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * BufferView2.C:
11268         * BufferView_pimpl.C:
11269         * FontLoader.C:
11270         * LyXView.h:
11271         * LyXView.C:
11272         * Makefile.am:
11273         * WorkArea.C:
11274         * XFormsView.h:
11275         * XFormsView.C:
11276         * buffer.C:
11277         * bufferlist.C:
11278         * bufferview_funcs.C:
11279         * converter.C:
11280         * importer.C:
11281         * lyx_cb.C:
11282         * lyx_gui.C:
11283         * lyx_main.C:
11284         * lyx_find.C:
11285         * lyxfunc.C:
11286         * lyxvc.C:
11287         * minibuffer.C:
11288         * text.C:
11289         * text2.C:
11290         * trans.C:
11291         * vc-backend.C: move LyX/XFormsView into frontends/
11292
11293 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * Makefile.am:
11296         * PainterBase.C:
11297         * PainterBase.h:
11298         * Painter.C:
11299         * Painter.h:
11300         * WorkArea.C:
11301         * WorkArea.h:
11302         * screen.C:
11303         * tabular.C:
11304         * text.C:
11305         * text2.C: move Painter to frontends/
11306
11307 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * buffer.C: comment out some some code that depend upon lyx_format
11310         < 220
11311
11312         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11313         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11314
11315         * buffer.h (NO_COMPABILITY): turn off compability
11316
11317         * ColorHandler.C: include scoped_array.hpp
11318
11319         * font.C: Use more specific smart_ptr header.
11320         * Painter.C: ditto
11321         * gettext.C: ditto
11322         * ShareContainer.h: ditto
11323         * lyx_main.h: ditto
11324         * kbmap.h: ditto
11325         * FontInfo.h: ditto
11326         * BufferView_pimpl.h: ditto
11327         * ColorHandler.h: ditto
11328
11329         * kbmap.C (defkey): change call to shared_ptr::reset
11330
11331 2002-05-21  Juergen Vigna  <jug@sad.it>
11332
11333         * buffer.C (insertErtContents): fix to insert ert asis if it is
11334         non empty. Skip it completely if it contains only whitespaces.
11335
11336 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * BufferView_pimpl.C:
11339         * BufferView2.C: clear selection on paste (bug 393)
11340
11341 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * DepTable.C: include ctime
11344
11345 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11346
11347         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11348
11349 2002-05-14  Juergen Vigna  <jug@sad.it>
11350
11351         * text.C (breakParagraph): fixed function to honor the keepempty
11352         layout in the right maner and also to permit the right breaking
11353         algorithm on empty or non empyt keepempty paragraphs.
11354
11355         * paragraph.C (breakParagraph): we have to check also if the par
11356         is really empty (!size()) for isempty otherwise we do the wrong
11357         paragraph break.
11358
11359 2002-05-10  Juergen Vigna  <jug@sad.it>
11360
11361         * buffer.[Ch] : The following are only changes to the ert
11362         compatibility read reading old LaTeX layout and font stuff and
11363         convert it to ERTInsets.
11364
11365         * buffer.h: added isErtInset().
11366
11367         * buffer.C (struct ErtComp): add a fromlayout bool to check
11368         if we're inside a LaTeX layout.
11369         (isErtInset): new helper function.
11370         (insertErtContents): look for other ert insets before this one
11371         and insert the contents there, so that we don't have subsequent
11372         ERT insets with nothing between them. This way we create only one
11373         inset with multiple paragraphs. Also check if we don't insert only
11374         spaces ' ' as they are ignored anyway afterwards in the .tex file
11375         so if we have only spaces we will ignore this latex part in the
11376         new file.
11377         (parseSingleLyXformat2Token \\layout): better compatibility when
11378         reading layout-latex stuff.
11379         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11380         language tag.
11381         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11382         stuff after reading the inset only get the information back from
11383         the stack.
11384
11385 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11386
11387         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11388
11389         * LaTeXFeatures.C (getBabelOptions): New method.
11390
11391 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * BufferView_pimpl.C (Dispatch): work around missing argument for
11394         'layout'
11395
11396 2002-05-08  Juergen Vigna  <jug@sad.it>
11397
11398         * text.C (leftMargin): handle paragraph leftindent.
11399
11400         * paragraph.C (writeFile): write the new \\leftindent tag.
11401         (validate): handle leftindent code.
11402         (TeXEnvironment): handle paragraphleftindent code again.
11403
11404         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11405
11406         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11407         for paragrap_extra indent code and new token \\leftindent.
11408         (latexParagraphs): handle the leftindent as environment.
11409
11410         * ParameterStruct.h: added leftindent support.
11411
11412         * ParagraphParameters.C (leftIndent): added support functions for
11413         the paragraph left indent.
11414
11415         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11416         more appropriate.
11417
11418 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11419
11420         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11421         inside insetERT.
11422
11423         * text.C (computeBidiTables): No bidi in insetERT.
11424
11425         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11426         in RTL documents.
11427
11428 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * version.C.in: pre 5
11431
11432 2002-05-02  José Matos  <jamatos@fep.up.pt>
11433         * buffer.C (makeDocBookFile): white space changes, add newline to
11434         command styles.
11435         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11436
11437         * tabular.C (docBook): fix typo.
11438
11439 2002-05-03  Juergen Vigna  <jug@sad.it>
11440
11441         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11442         change in LyXText as we can not be sure it was not freed.
11443         (drawOneRow): remove unused code.
11444
11445         * text.C (drawInset): redo the calculation of the need_break_row as
11446         it could have a row which was already freed.
11447         (draw): look at the return value of drawInset and return false if
11448         it also returned false.
11449         (paintRowText): look at the return value of draw and return false if
11450         it also returned false.
11451
11452         * lyxtext.h: added bool return type to drawInset() and draw() so that
11453         if we have a change in the row so that the rowbreak has to be redone
11454         we abort drawing as it will be called again.
11455
11456 2002-05-02  Juergen Vigna  <jug@sad.it>
11457
11458         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11459         a change in the maintext also if we're inside an inset.
11460         (Dispatch): set the cursor again after a break line and after the
11461         screen has been updated as it could be we're in a different row.
11462
11463         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11464         to set the cursor behind the pargraph with > size().
11465         (setCursor): check also for the same paragraph when checking where
11466         to put the cursor if we have a NFR inset.
11467
11468         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11469         parts of layout read further up as it still was in the wrong
11470         position.
11471
11472 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * screen.C (drawFromTo): change sine fullRebreak always return
11475         true.
11476
11477         * buffer.C (parseSingleLyXformat2Token): reindent some
11478
11479         * BufferView_pimpl.C (update): change since fullRebreak always
11480         return true.
11481         (Dispatch): git rid of the last hardcoded "Standard"s.
11482
11483 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * text2.[Ch] (fullRebreak): make it return void now that we always
11486         returned true.
11487
11488 2002-04-30  Juergen Vigna  <jug@sad.it>
11489
11490         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11491         ert compatibility check for "latex" layout.
11492
11493 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11494
11495         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11496         minipages: use col% instead of p%, and also use the current font.
11497         (makeLaTeXFile): Fix use babel condition.
11498         (parseSingleLyXformat2Token): Correct font when reading old floats.
11499
11500 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11501
11502         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11503         inserting list of floats.
11504
11505 2002-04-25  Herbert Voss  <voss@lyx.org>
11506
11507         * MenuBackend.C (expand): don't add the graphics extensions to the
11508         export menu
11509
11510 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11511
11512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11513         non-existing layout, do not complain if it was the default layout
11514         of the original class (bug #342)
11515
11516 2002-04-24  Juergen Vigna  <jug@sad.it>
11517
11518         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11519         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11520
11521 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * buffer.C (getBibkeyList): If using \bibliography, return the
11524         option field with the reference itself. Enables us to provide natbib
11525         support when using \bibliography.
11526
11527 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11528
11529         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11530
11531         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11532         natbib is provided by the LaTeX class.
11533
11534 2002-04-23  Juergen Vigna  <jug@sad.it>
11535
11536         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11537         Wakeup functions.
11538
11539         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11540
11541 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11542
11543         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11544
11545         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11546         ensuremath around textordmasculine, textordfeminine and
11547         textdegree.
11548
11549 2002-04-19  Juergen Vigna  <jug@sad.it>
11550
11551         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11552         reinitializing the buffer otherwise row-dimensions may be wrong.
11553         (update): reset also the selection cursors if they do exits otherwise
11554         their x/y positions may be wrong.
11555
11556         * text2.C (cursorDown): don't enter the inset if we came from a row
11557         above and are one row over the inset.
11558
11559         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11560         really leaving an inset.
11561
11562 2002-04-18  Juergen Vigna  <jug@sad.it>
11563
11564         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11565         of the selected paragraph does not have the selected layout also if
11566         the last one had!
11567
11568         * text2.C (setLayout): fixed bug which did not change last selected
11569         paragraph.
11570
11571         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11572         changed the read and substituted \\end_float with \\end_inset!
11573
11574         * BufferView_pimpl.C (cursorPrevious):
11575         (cursorNext): fixed to make it work with rows heigher than the work
11576         area without moving the cursor only the draw of the row.
11577         (workAreaMotionNotify): fix jumping over high rows.
11578
11579 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11582         Ressler.
11583
11584 2002-04-16  Juergen Vigna  <jug@sad.it>
11585
11586         * text2.C (setCursor): set also the irow().
11587         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11588         (cursorUp):
11589         (cursorDown): support for locking an inset if the x_fix value goes
11590         inside it. That way I can transverse insets too with cursor up/down.
11591
11592         * lyxrow.h: added irow helper function same as other (i) functions.
11593
11594         * BufferView_pimpl.C (cursorPrevious):
11595         (cursorNext): fixed for insets!
11596
11597 2002-04-15  Juergen Vigna  <jug@sad.it>
11598
11599         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11600         position otherwise it is wrong in some cases.
11601
11602         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11603         inside the inset before the call.
11604
11605 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11606
11607         * buffer.[Ch] (getBibkeyList): make it const.
11608
11609 2002-04-12  Juergen Vigna  <jug@sad.it>
11610
11611         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11612
11613         * text2.C (getCursorX): new helper function
11614         (setCursor): compute also ix_
11615         (setCursorFromCoordinates): set also ix.
11616
11617         * lyxcursor.h: added ix_ and helper functions.
11618
11619         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11620
11621         * buffer.C (insertStringAsLines): dont break paragraph if the this
11622         paragraph is inside an inset which does not permit it!
11623
11624         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11625         also with no chars on this paragraph.
11626         (paintRowText): only paint stuff if it's inside the workarea!
11627
11628         * paragraph.C (breakParagraph): honor keepempty flag and break the
11629         paragraph always below not above.
11630
11631         * BufferView2.C (unlockInset): update the paragraph layout on inset
11632         unlock as we changed paragraph in such a case.
11633
11634         * lyxfind.C (LyXFind): clear the former selection if not found!
11635
11636         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11637         again called in insertChar().
11638
11639         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11640         an inset which uses the whole row!
11641         (rightMargin): ditto.
11642         (insertChar): force a rebreak if we inserted an inset!
11643
11644 2002-03-28  Herbert Voss  <voss@lyx.org>
11645
11646         * lyxlength.[Ch]: add inBP() to get the right PS-point
11647         units (BigPoint). With inPixels we have rounding errors
11648
11649 2002-04-11  Juergen Vigna  <jug@sad.it>
11650
11651         * text2.C (setCursorFromCoordinates): set iy to the right value.
11652         (setCursor): add check if row->previous exists!
11653
11654         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11655         an old float_type as this was the case in the old code!
11656
11657         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11658
11659         * BufferView2.C (showLockedInsetCursor): use iy
11660         (fitLockedInsetCursor): ditto
11661
11662         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11663         locked insets as there we have the right value now.
11664
11665         * lyxcursor.C: added iy_ variable and iy functions to set to the
11666         baseline of cursor-y of the locked inset.
11667
11668         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11669         (setCursor): fixed for insets which need a full row.
11670
11671         * text.C (rowLastPrintable): don't ignore the last space when before
11672         an inset which needs a full row.
11673         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11674         as last character of a row when before a inset which needs a full row.
11675
11676 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11677
11678         * version.C.in: update date
11679
11680         * text2.C (fullRebreak): try to always return true and see what
11681         happens...
11682
11683 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * MenuBackend.C (expand): use Floating::listName
11686
11687         * FloatList.C (FloatList): add listName argument to the built-in
11688         floats
11689
11690         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11691         text associated with the float.
11692
11693 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11694
11695         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11696
11697 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11698
11699         * ShareContainer.h: add a couple of missing typenames.
11700
11701 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11702
11703         * lyxrc.C (getDescription): use _() correctly rather than N_().
11704
11705 2002-03-28  Herbert Voss  <voss@lyx.org>
11706
11707         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11708         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11709
11710 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11711
11712         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11713         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11714
11715 2002-03-29  Juergen Vigna  <jug@sad.it>
11716
11717         * lyxfunc.C (dispatch): add a missing fitCursor call.
11718
11719         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11720         it was scrolled by a cursor move, so return the bool status.
11721
11722         * BufferView.C (fitCursor): return the bool flag also to the outside
11723         world as this is needed.
11724
11725         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11726
11727         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11728         call the edit() as it is not needed (and wrong) IMO.
11729         (workAreaButtonPress): set the screen_first variable before evt.
11730         unlock the inset as this may change screen_first and then we have
11731         a wrong y position for the click!
11732
11733 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * MenuBackend.C (expand): another translation that I missed
11736
11737 2002-03-28  Juergen Vigna  <jug@sad.it>
11738
11739         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11740
11741         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11742
11743 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11746
11747         * MenuBackend.C (expand): fix export/view/update when there is no
11748         document open.
11749
11750 2002-03-27  Herbert Voss  <voss@lyx.org>
11751
11752         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11753         and text%
11754
11755 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11756
11757         * bufferview_funcs.C (currentState): only show paragraph number
11758         for is DEVEL_VERSION is set.
11759
11760         * lyxfunc.C (dispatch): put warning in INFO channel
11761
11762         * MenuBackend.C (expand): translate the name of floats
11763
11764         * FloatList.C (FloatList): mark the float names for translation
11765
11766         * converter.C (convert): use LibScriptSearch
11767
11768 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * MenuBackend.C (defaults): fix default menu (we might as well get
11771         rid of it...)
11772
11773 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11776         directory.
11777
11778 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * lyxvc.C: reorder includes.
11781
11782 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11785           properly
11786
11787 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * CutAndPaste.C: change layouts earlier on paste
11790           to avoid crashing when calling getFont()
11791
11792 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11793
11794         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11795         irritating #error.
11796
11797 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * WorkArea.C: remove 'Pending' debug message.
11800
11801         * most files: ws cleanup
11802
11803         * buffer.[Ch]: ws changes
11804
11805         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11806
11807 2002-03-21  Juergen Vigna  <jug@sad.it>
11808
11809         * tabular.C (SetMultiColumn): collapse also the contents of the
11810         cells and set the last border right. Added a Buffer const * param.
11811
11812 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11813
11814         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11815         linking or not.
11816
11817 2002-03-19  Juergen Vigna  <jug@sad.it>
11818
11819         * text2.C (clearSelection): reset also xsel_cache.
11820
11821         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11822         where it needs to be called (John tells us to do so too :)
11823         (selectionLost): reset sel_cache.
11824
11825         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11826
11827 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * text2.C (setCursorIntern): put debuging code in INSETS channel
11830
11831 2002-03-19  André Pönitz <poenitz@gmx.net>
11832
11833         * lyxfunc.C: tiny whitespace change
11834
11835 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11836
11837         * ToolbarDefaults.C (init):
11838         * LyXAction.C (init):
11839         * commandtags.h:
11840         * BufferView_pimpl.C (Dispatch):
11841         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11842
11843 2002-03-19  Allan Rae  <rae@lyx.org>
11844
11845         * exporter.C (Export): removeAutoInsets before doing anything else.
11846         While I've just introduced a dependency on BufferView this really is
11847         the best place to clean the buffer otherwise you need to cleanup in
11848         a dozen places before calling export or cleanup in a dozen functions
11849         that export calls.
11850
11851         * converter.C (runLaTeX):
11852         (scanLog): Better handling of removeAutoInsets and screen updates.
11853
11854         * lyxfunc.C (dispatch): small whitespace changes
11855
11856 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11857
11858         * WorkArea.C (C_WorkAreaEvent): return a value.
11859         (event_cb): return 1 if we handled the event, 0 otherwise.
11860
11861         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11862
11863 2002-03-18  Juergen Vigna  <jug@sad.it>
11864
11865         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11866         (GetAdditionalWidth): ditto.
11867         (RightLine): ditto.
11868         (LeftLine): ditto.
11869
11870         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11871         inset if we're there actually (probably not used right now but this
11872         is the direction to go for unifying code).
11873         (paste): disable code to clear the selection.
11874
11875         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11876         inside an InsetText and move the check further up as it is in the
11877         wrong place.
11878
11879         * text2.C (pasteSelection): set a selection over the pasted text.
11880
11881 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11882
11883         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11884         and libgraphics to build on Cygwin.
11885
11886 2002-03-15  Juergen Vigna  <jug@sad.it>
11887
11888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11889         inserting an Inset into the paragraph. I know this is not the best
11890         fix but we already use current_view in CutAndPaste so we will remove
11891         all of it's using at the same time.
11892
11893         * buffer.C (sgmlError): deactivated function till it is rewritten in
11894         the right mode, now it can create problems.
11895
11896         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11897         before accessing it.
11898
11899 2002-03-14  Juergen Vigna  <jug@sad.it>
11900
11901         * undo_funcs.C (textHandleUndo): do the right thing when updating
11902         the inset after the undo/redo.
11903
11904         * text2.C (setCursor): just some testcode for #44 not ready yet.
11905
11906         * undo_funcs.C (textHandleUndo): set the next() and previous()
11907         pointers of the paragraph to 0 before deleting otherwise we have
11908         problems with the Paragraph::[destructor].
11909
11910         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11911         on a paragraph insertion.
11912
11913 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * buffer.C (asciiParagraph): use += operator for char append to
11916         string.
11917
11918         * paragraph.C (getFontSettings): compare >= not just >
11919         (highestFontInRange): ditto
11920         (setFont): ditto
11921
11922 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * paragraph.C: change several algorithm to be more appripriate for
11925         the problem domain. This is lookip in FontList and in the InsetList.
11926
11927 2002-03-13  André Pönitz <poenitz@gmx.net>
11928
11929         * commandtags.h:
11930         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11931
11932 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * commandtags.h:
11935         * LyXAction.C:
11936         * lyxfunc.C:
11937         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11938
11939 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * Painter.C (display): anon helper function, adjust code for this
11942         change.
11943         (pixmap): remove function.
11944
11945         * Painter.h: remove private display variable.
11946
11947         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11948
11949 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11950
11951         * WorkArea.[Ch]: remove figinset_canvas cruft.
11952
11953 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * lyxtextclass.C (operator): add one item cache optimization.
11956
11957         * bufferlist.h: doxy changes
11958
11959         * bufferlist.C: ws changes
11960
11961         * DepTable.[Ch] (ext_exist): place const in the right spot.
11962
11963         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11964         call resizeInsets.
11965         (workAreaExpose): call resizeInsets when the with BufferView changes.
11966         (Dispatch): adjust for protectedBlank removal
11967         (specialChar): call updateInset if the insert went ok.
11968
11969         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11970         specialChar instead.
11971
11972         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11973
11974         * BufferView.h: doxy change
11975
11976         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11977
11978         * lyxtextclass.C (operator[]): remove non-const version
11979         (defaultLayout): remove non-const version
11980
11981 2002-03-12  Juergen Vigna  <jug@sad.it>
11982
11983         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11984         did resize the LyXText too.
11985
11986         * buffer.C (readLyXformat2): set layout information on newly allocated
11987         paragraphs.
11988
11989         * tabular.C (OldFormatRead): set layout information on the paragraph.
11990
11991 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11992
11993         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11994
11995 2002-03-11  Juergen Vigna  <jug@sad.it>
11996
11997         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11998         plainly wrong.
11999         (resizeCurrentBuffer): force also the insets to resize themselfes.
12000         (moveCursorUpdate): fixed up for InsetText.
12001
12002 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * commandtags.h:
12005         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12006         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12007         value of Dialogs::tooltipsEnabled().
12008         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12009
12010 2002-03-08  Juergen Vigna  <jug@sad.it>
12011
12012         * BufferView_pimpl.C (updateInset): update inset inside inset also
12013         if it isn't inside theLockingInset().
12014
12015 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * buffer.C (asciiParagraph): redo some of the word and line length
12018         handling.
12019         (getLists): look for Caption instead of caption.
12020
12021 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * buffer.C (Buffer): initialize niceFile to true
12024         (makeLaTeXFile):
12025         (makeLinuxDocFile):
12026         (makeDocBookFile): make sure niceFile is true on exit
12027
12028 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12029
12030         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12031
12032 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12033
12034         * LyXSendto.C: remove.
12035         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12036         * lyx_gui.C: remove now-redundant comment.
12037         * ColorHandler.h: remove forward declaration of class WorkArea.
12038         * lyxfunc.C: remove #include "WorkArea.h".
12039
12040 2002-03-07  Juergen Vigna  <jug@sad.it>
12041
12042         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12043         got moved away with the DEPM and also set the inset_owner always
12044         right which before could have been omitted.
12045
12046 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12049         wanted layout is not found.
12050
12051 2002-03-07  Juergen Vigna  <jug@sad.it>
12052
12053         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12054
12055 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * paragraph.C (breakParagraph): use default layout not layout of
12058         prev paragraph.
12059         (Paragraph): clear ParagraphParameters.
12060
12061 2002-03-06  Juergen Vigna  <jug@sad.it>
12062
12063         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12064         otherwise it would not be a valid lenght. Fixed a special case in
12065         the minipage compatibility read where we end the document with a
12066         minipage.
12067
12068         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12069         was set as it could be 0 for InsetTexts first entry.
12070
12071 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * paragraph.C (writeFile): if layout is empty write out
12074         defaultLayoutName().
12075
12076         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12077         file without named layout we set layout to defaultLayoutName().
12078
12079 2002-03-06  Juergen Vigna  <jug@sad.it>
12080
12081         * CutAndPaste.C (copySelection): set layout for new paragraph.
12082
12083         * text.C (prepareToPrint): leave ERT inset left aligned
12084         (leftMargin): don't indent paragraphs inside ERT insets
12085
12086 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * paragraph.C (breakParagraph): dont call clear do the work manually
12089
12090         * paragraph.[Ch] (clear): remove function
12091
12092 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * paragraph.C (Paragraph): dont call clear, the work has already
12095         been done.
12096
12097         * lyxtextclass.C (operator): assert if n is empty
12098
12099         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12100         work manually instead.
12101
12102 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView_pimpl.C: protect selectionLost against text == 0
12105
12106 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * text.C (breakParagraph): fix a setting layout to '0' problem.
12109
12110 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12111
12112         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12113         final location of file, for the included files, and graphics.
12114
12115 2002-03-05  Juergen Vigna  <jug@sad.it>
12116
12117         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12118
12119 2002-03-04  Juergen Vigna  <jug@sad.it>
12120
12121         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12122
12123         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12124         last column of multicolumn cells.
12125         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12126
12127 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12128
12129         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12130         file if it doesn't go to a temporary file.
12131
12132         * buffer.C (sgmlOpenTag):
12133         (sgmlCloseTag):  remove extra newline insertion.
12134
12135 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12136
12137         * text.C (getRowNearY): comment out debug msg
12138
12139 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * text2.C: first -> first_y
12142
12143         * text.C (getRowNearY): add some attemts at a possible
12144         optimization, not working.
12145
12146         * tabular.[Ch]: add BufferParams to several function so that newly
12147         created paragraph can be initialized to he default layotu for the
12148         buffers textclass.
12149
12150         * tabular-old.C (ReadOld): add buf->params to call of Init
12151
12152         * screen.C: rename text->first to text->first_y
12153
12154         * paragraph.C (breakParagraph): always set layout in the broken
12155         paragraph
12156
12157         * lyxtextclass.C (Read): remove lowercase
12158         (hasLayout): ditto
12159         (operator): ditto
12160         (delete_layout): ditto
12161
12162         * lyxtext.h: rename first -> first_y
12163
12164         * lyxlayout.C (Read): remove lowercase
12165         (name): ditto
12166         (setName): ditto
12167         (obsoleted_by): ditto
12168
12169         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12170
12171         * buffer.C (insertErtContents): add params are to InsetERT
12172         (parseSingleLyXformat2Token): add code to check if a paragraphs
12173         layout really exist.
12174         (parseSingleLyXformat2Token): add params to several inset
12175         constructors
12176         (asciiParagraph): remove lowercase, do the layout comparisons with
12177         no_case
12178
12179         * BufferView_pimpl.C (cursorNext): first -> first_y
12180         (resizeCurrentBuffer): first -> first_y
12181         (updateScrollbar): first -> first_y
12182         (scrollCB): first -> first_y
12183         (workAreaMotionNotify): first -> first_y
12184         (workAreaButtonPress): first -> first_y
12185         (checkInsetHit): first -> first_y
12186         (cursorPrevious): first -> first_y
12187         (cursorNext): first -> first_y
12188         (Dispatch): add buffer_->params to severl inset contructors
12189
12190 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * lyxlayout.C (Read): remove some debug info that I forgot.
12193
12194         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12195         clean up the code slightly.
12196         (makeLinuxDocFile): ditto
12197         (makeDocBookFile): ditto
12198
12199         * text2.C: layout as string
12200
12201         * text.C: layout as string
12202
12203         * paragraph_pimpl.C: layout as string
12204
12205         * paragraph.[Ch]: layout as string
12206
12207         * lyxtextclasslist.[Ch]: layout as string
12208
12209         * lyxtextclass.[Ch]: layout as string
12210
12211         * lyxtext.h: layout as string
12212
12213         * lyxlayout.[Ch]: layout as string
12214
12215         * lyx_cb.C: layout as string
12216
12217         * bufferview_funcs.C: layout as string
12218
12219         * bufferparams.C: layout as string
12220
12221         * buffer.C: layout as string
12222
12223         * LyXView.[Ch]: layout as string
12224
12225         * LaTeXFeatures.[Ch]: layout as string
12226
12227         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12228
12229         * BufferView_pimpl.C: change current_layout to string, remove
12230         lyx::layout_type.
12231         (Dispatch):
12232         (smartQuote):
12233         (insertInset):
12234         (workAreaButtonRelease): layout as string
12235
12236         * BufferView2.C (unlockInset): adjust
12237
12238         * vspace.C (asLatexCommand): use an explict temp variable.
12239
12240 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * Makefile.am: use FRONTEND_*
12243
12244 2002-03-01  Juergen Vigna  <jug@sad.it>
12245
12246         * tabular.C (SetWidthOfMulticolCell): changed to something better
12247         I hope but still work in progress.
12248         (recalculateMulticolumnsOfColumn): renamed function from
12249         recalculateMulticolCells as it is more appropriate now.
12250         (SetWidthOfCell): calculate multicols better.
12251
12252 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12255
12256         * lyxfunc.C (processKeySym): print sequence also if it is
12257         `deleted' (complete)
12258
12259         * kbsequence.C (print): print sequence even if it is deleted
12260         (complete would be a better word, actually).
12261
12262         * lyxfunc.C (dispatch): print complete options after a prefix key
12263
12264         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12265
12266 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12267
12268         * text2.C (setCharFont): eliminate setCharFont code duplication.
12269
12270 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12271
12272         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12273         LFUN_TABULAR_FEATURE (bug #177)
12274
12275 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * Makefile.am: remove figure.h
12278
12279 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12280
12281         * Bufferview_pimpl.C:
12282         * CutAndPasteC:
12283         * LaTeX.C:
12284         * LyXSendto.C:
12285         * buffer.C:
12286         * bufferlist.C:
12287         * converter.C:
12288         * language.C:
12289         * lyxfunc.C:
12290         * lyxvc.C:
12291         * paragraph.C:
12292         * text.C:
12293         * text2.C: remove #include "lyx_gui_misc.h".
12294
12295         * LaTeX.C: added #include <cstdio>
12296
12297 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12298
12299         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12300         that the paragraph following this one can have.
12301
12302         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12303
12304         * vspace.C (asLatexCommand): fix bogus gcc warning
12305
12306         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12307
12308 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12309
12310         * text2.C (setLayout): get rid of redundant code
12311
12312 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12313
12314         * text2.C (incDepth): make sure depth cannot be increased beyond
12315         reasonable values.
12316
12317 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12318
12319         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12320         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12321
12322         * PainterBase.h (image):
12323         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12324         a LyXImage const *.
12325
12326 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView.C:
12329         * BufferView.h:
12330         * BufferView_pimpl.C:
12331         * BufferView_pimpl.h:
12332         * LaTeXFeatures.C:
12333         * LyXAction.C:
12334         * LyXView.C:
12335         * Makefile.am:
12336         * UpdateList.h:
12337         * UpdateList.C:
12338         * buffer.C:
12339         * figure.h:
12340         * figureForm.C:
12341         * figureForm.h:
12342         * figure_form.C:
12343         * figure_form.h:
12344         * lyx_cb.C:
12345         * lyx_gui.C:
12346         * lyx_gui_misc.C:
12347         * lyxfunc.C:
12348         * sp_base.h:
12349         * sp_ispell.h:
12350         * sp_pspell.h:
12351         * sp_spell.C: remove fig inset, and the crap house of
12352           cards that follows it
12353
12354 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * Makefile.am:
12357         * lyxserver.C:
12358         * os2_defines.h:
12359         * os2_errortable.h:
12360         * nt_defines.h: move .h into support/
12361
12362         * vms_defines.h: remove
12363
12364         * WorkArea.C: add space in debug output
12365
12366         * text2.C:
12367         * paragraph.C:
12368         * buffer.C: add WITH_WARNINGS
12369
12370         * vc-backend.h:
12371         * vc-backend.C:
12372         * bufferlist.C: s/retrive/retrieve/, add docs
12373
12374         * vspace.h:
12375         * vspace.C:
12376         * kbmap.h:
12377         * lyxlength.h:
12378         * lyxgluelength.h:
12379         * length_common.h:
12380         * chset.h:
12381         * chset.C: add docs
12382
12383         * lyxgui.C: add ID to X error handler
12384
12385         * lyxtestclass.c: fix typo
12386
12387 2002-02-26  Juergen Vigna  <jug@sad.it>
12388
12389         * tabular_funcs.C (write_attribute): changed so that some default
12390         attributes are not written at all.
12391         (getTokenValue): set default values before trying to read the
12392         value so we have the return value always set as default if we don't
12393         find the token we search for.
12394
12395         * tabular.C (Write): write bools as bools not as strings!
12396
12397 2002-02-22  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12400         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12401
12402         * text.C (leftMargin): don't add an indent for paragraphs inside
12403         tabular cells (fix #208).
12404
12405 2002-02-21  José Matos  <jamatos@fep.up.pt>
12406
12407         * tabular.C (docBook): fixed support for long tables.
12408
12409 2002-02-20  Juergen Vigna  <jug@sad.it>
12410
12411         * text2.C (getFont): get the drawing font of the Inset if this
12412         paragraph is inside an inset (only important for InsetERT for now).
12413
12414         * buffer.C (insertErtContents): use new lanugage params in ERT
12415         constructor.
12416
12417         * CutAndPaste.C: commenting out seemingly uneeded code.
12418
12419 2002-02-19  Allan Rae  <rae@lyx.org>
12420
12421         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12422         Iterators might be simple to use but they also get invalidated.
12423         (removeAutoInsets): renamed saved cursor tracking variables and added
12424         some comments to clarify what everything does.
12425
12426 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12427
12428         * Chktex.C:
12429         * LaTeX.C:
12430         * LyXSendto.C:
12431         * converter.C:
12432         * lyx_cb.C:
12433         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12434         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12435
12436         * lyxfunc.C:
12437         * vc-backend.h: remove #include "support/syscall.h"
12438
12439         * LaTeX.C:
12440         * LyXSendto.C:
12441         * converter.C: rearrange #includes in Lars' approved fashion.
12442
12443         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12444         forward declare class Timeout in the header file.
12445
12446         * XFormsView.C: changes due to the above.
12447
12448         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12449         similar to LyXView.
12450
12451         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12452         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12453
12454 2002-02-18  José Matos  <jamatos@fep.up.pt>
12455
12456         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12457         insets contents.
12458
12459 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12460
12461         * a lot of small ws changes
12462         * add a lot of using std::XXX
12463         * use std construcs some places where approp.
12464         * use some exisint stuff from lyxfunctional where approp.
12465         * Make file changes to use partial linking (lets test this now...)
12466
12467 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * Chktex.C:
12470         * buffer.C:
12471         remove #include "support/syscontr.h" as it's redundant. Always has been.
12472
12473         * Chktex.C:
12474         * LaTeX.C:
12475         * LyXSendto.C:
12476         * converter.C:
12477         * lyx_cb.C:
12478         * vc-backend.C:
12479         change Systemcalls::System to Systemcalls::Wait and
12480         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12481         No change of functionality, just reflects the stripped down Systemcalls
12482         class.
12483
12484 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * debug.[Ch]: add a GRAPHICS type to the enum.
12487
12488 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12491
12492         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12493         there is an inset.
12494
12495 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12498         match the changes below.
12499
12500         * text2.C (toggleInset): if there is not editable inset at cursor
12501         position, try to see if cursor is _inside_ a collapsable inset
12502         and close it.
12503
12504 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12507         document menu has a nice checkbox
12508
12509 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12510
12511         * lyxlength.C (asLatexString): change PW to output as percent of
12512         \textwidth.
12513
12514         * lengthcommon.C: change '%' to 't%'
12515
12516         * lyxfunc.C (dispatch): a few comments from Martin
12517
12518 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * WorkArea.h:
12521         * WorkArea.C:
12522         * BufferView_pimpl.h:
12523         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12524           the X selection.
12525
12526 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12527
12528         * vspace.C (inPixels): fix compiler warning
12529
12530 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * lyxfunc.C (getStatus): fix status message for disabled commands.
12533
12534 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12535
12536         * BufferView_pimpl.C: fix crash on close buffer
12537         during selection (#227)
12538
12539 2002-01-27  Herbert Voss  <voss@lyx.org>
12540
12541         * buffer.C: link old Figure to new graphic inset
12542
12543 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * FontLoader.C (getFontinfo): Change the latex font names in order
12546         to match the names of type1inst.
12547
12548 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12551
12552         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12553         (extchanged): ditto
12554         (ext_exist): ditto
12555         (remove_files_with_extension): ditto
12556         (remove_file): ditto
12557         (write): ditto
12558
12559         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12560         document is smaller than the work area height. Do not initialize
12561         static variables to 0.
12562
12563 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12564
12565         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12566
12567         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12568         LFUN_LAYOUT_PARAGRAPHS.
12569
12570         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12571         tabular. It is possible to provide a possible cell, which will
12572         typically be the actcell from the corresponding insettabular
12573
12574         * lyxfunc.C (getStatus): small cleanup; disable
12575         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12576         true
12577
12578 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12581
12582         * paragraph.C (startTeXParParams):
12583         (endTeXParParams): new methods. The LaTeX code to
12584         start/end paragraph formatting
12585         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12586         empty (fixes bug #200)
12587
12588         * vspace.C (inPixels): adapt to the change below
12589         (inPixels): [later] more cleanups (remove unused variables)
12590
12591         * lyxlength.C (inPixels): change to use a width and a height as
12592         parameter.
12593
12594 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12597         Replaced with \paperwidth
12598
12599         * DepTable.C (insert): add std:: qualifier
12600
12601 2002-01-18  Allan Rae  <rae@lyx.org>
12602
12603         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12604         updated also?
12605
12606         * text.C (drawInset): Turned out I didn't know enough about how
12607         rebreaking worked.  This fixes most of the redraw problems.  I see
12608         an occasional cursor trail when a line is broken now and the cursor
12609         placement can seem out by a few pixels also after a rebreak.
12610
12611 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12612
12613         * buffer.C (parseSingleLyXformat2Token): update because minipage
12614         width is now a LyXLength
12615
12616         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12617
12618         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12619         math insets
12620
12621 2002-01-17  Juergen Vigna  <jug@sad.it>
12622
12623         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12624
12625         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12626         is set correctly and the inset is updated correctly.
12627
12628 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12629
12630         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12631         the beginning of the loop.
12632
12633 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * lyxrc.C: improve help for use_scalable_fonts
12636
12637 2002-01-17  Allan Rae  <rae@lyx.org>
12638
12639         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12640
12641 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12642
12643         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12644         make sure to set their inset_owner to the right value (bug #171)
12645
12646 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12647
12648         * DepTable.h
12649         * DepTable.C: Implement mtime checking to reduce time spent doing
12650         CRCs.
12651
12652 2002-01-16  Juergen Vigna  <jug@sad.it>
12653
12654         * tabular.C (GetAdditionalHeight): one of error fixed.
12655
12656         * lyxrc.C (output): small fix in writing use_pspell.
12657
12658 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12659
12660         * sp_base.h: #include LString.h
12661
12662 2002-01-16  Allan Rae  <rae@lyx.org>
12663
12664         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12665         Can someone check this please?
12666
12667         * text.C (drawInset): It was possible that p.row would be removed by
12668         breakAgainOneRow upsetting a few other settings.  There may be another
12669         small tweak possible by setting need_break_row = 0 when p.row has been
12670         removed but I don't know enough about the logic here.
12671
12672 2002-01-15  Allan Rae  <rae@lyx.org>
12673
12674         * text.C (insertChar): removed conditional truism.
12675
12676         * BufferView2.C (removeAutoInsets): More tweaks.
12677         cur_par_prev could be a stray pointer.  Check for trailing empty line
12678         in case last line was cur_par and only had an error inset on it.
12679
12680 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12681
12682         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12683         absolute
12684
12685         * vc-backend.C (most methods):
12686         * exporter.C (Export):
12687         * converter.C (convert):
12688         (runLaTeX):
12689         * LyXSendto.C (SendtoApplyCB):
12690         * lyxfunc.C (dispatch):
12691         (menuNew):
12692         (open):
12693         (doImport):
12694         * lyx_cb.C (AutoSave):
12695         (InsertAsciiFile):
12696         * BufferView_pimpl.C (MenuInsertLyXFile):
12697         * buffer.C (runChktex): use Buffer::filePath().
12698
12699         * buffer.h: rename filename to filename_; rename filepath to
12700         filepath_ and make it private
12701         (filePath): new method
12702
12703         * buffer.C (writeFile): use fileName()
12704         (getLatexName):
12705
12706         * lyx_main.C (init): fix starting  of LyX when the binary is a
12707         link from so,ewhere else.
12708
12709         * minibuffer.C: include <cctype> for isprint
12710
12711 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12712
12713         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12714         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12715         name clash with InsetCollapsable's width function.
12716
12717 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12718
12719         * lastfiles.C: include <iterator>
12720
12721 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12722
12723         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12724         std::count.
12725
12726         * buffer.C (makeLaTeXFile): ditto.
12727         Also make loop operation more transparent.
12728
12729 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * ToolbarDefaults.C: remove trailing comma closing namespace.
12732
12733         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12734
12735         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12736         as in WorkArea.
12737
12738         * trans.C (Load): comment out unused variable, allowed.
12739
12740 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12741
12742         * minibuffer.[Ch] (append_char): new method to recieve input from the
12743         drop-down completion browser. If a key was pressed, then recieve this
12744         char and append it to the existing string.
12745         (peek_event): modify the positioning data passed to the completion
12746         browser so that it can be placed above the minibuffer rather than below.
12747 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * LyXAction.C (init): alloe error-next for readonly documents.
12750
12751         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12752         count.
12753
12754 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12755
12756         * bufferlist.C (readFile): create the buffer _after_ checking that
12757         the file exists.
12758
12759         * lyxfunc.C (verboseDispatch): fix handling of arguments
12760
12761         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12762
12763         * lyxrc.C: use string::erase() instead of initializing to "".
12764
12765
12766 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * BufferView_pimpl.h:
12769         * BufferView_pimpl.C:
12770         * WorkArea.h:
12771         * WorkArea.C:
12772         * text2.C: tell X when we have made a selection for copying
12773
12774 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * BufferView_pimpl.C (MenuInsertLyXFile):
12777         * lyxfunc.C (menuNew):
12778         (open):
12779         (doImport): add shortcuts to directory buttons
12780
12781         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12782         open a float)
12783
12784         * lyxfunc.C (setStatusMessage):
12785         (getStatusMessage): new methods
12786         (getStatus):use setStatusMessage instead of setErrorMessage
12787         (dispatch): when function is disabled, set error message here
12788         [instead of in getStatus previously]
12789
12790         * BufferView_pimpl.C (workAreaButtonRelease): update
12791         toolbar/menubar here too.
12792
12793 2002-01-13  Allan Rae  <rae@lyx.org>
12794
12795         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12796         Now seems indestructible.  Remaining task is to audit all other
12797         code affected by deleteEmptyParagraphMechanism.  One small quirk
12798         left is that an empty document with an error in the preamble can
12799         be made to report an error but no error box appears.  I don't know
12800         where it goes.
12801         (removeAutoInsets): Improved comments.
12802
12803 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12804
12805         * Thesaurus.h:
12806         * Thesaurus.C: update for Aiksaurus 0.14
12807
12808 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * text2.C (firstParagraph): removed member function, all uses
12811         replaces with ownerParagraph
12812         (redoParagraphs): here
12813         (updateInset): here
12814         (toggleAppendix): here
12815         * BufferView2.C (insertErrors): here
12816         (setCursorFromRow): here
12817
12818 2002-01-13  Allan Rae  <rae@lyx.org>
12819
12820         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12821         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12822         There is still a way to segfault this although you may have to do this
12823         multiple times: Have an InsetERT with an unknown command in it.
12824         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12825         <down-arrow>, <Enter> again, View->DVI, BANG!
12826
12827         * text2.C (setCursor):
12828         (deleteEmptyParagraphMechanism):
12829         * lyxtext.h (setCursor):
12830         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12831         Making use of the return value may help fix other bugs.
12832
12833 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12836
12837         * LyXView.C (updateMenubar): call MenuBar::update here
12838         (updateToolbar): but not here
12839         (showState): do not update toolbar/menubar
12840
12841         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12842         should need to care about that.
12843
12844         * lyxfunc.C (verboseDispatch): simplify a bit
12845         (getStatus): have a version which takes a pseudoaction, and
12846         another which requires a (kb_action,string).
12847
12848         * LyXAction.C (retrieveActionArg): make it work also when action
12849         is not a pseudo-action.
12850         (getActionName): simplify a bit
12851         (helpText):
12852
12853 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12854
12855         * lyxfunc.C (verboseDispatch): new families of methods with
12856         several ways to specify a command and a bool to indicate whether
12857         the command name and shortcut should be displayed in minibuffer
12858         (eventually, we could extend that to a finer bitmask like
12859         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12860         (dispatch): the pristine dispatch command which just, well,
12861         dispatchs! Note it still sets its result to minibuffer; I'm not
12862         sure we want that.
12863
12864         * lyxfunc.h: remove setHintMessage
12865
12866         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12867
12868 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12869
12870         * BufferView_pimpl.C (specialChar): delete new inset if we have
12871         not been able to insert it.
12872
12873         * kbmap.C: revert to using int instead of kb_action, since all we
12874         are dealing with is pseudo-actions.
12875
12876         * LyXAction.C (searchActionArg): change to return int instead of
12877         kb_action, since the result is a pseudoaction.
12878
12879 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12880
12881         * buffer.C (insertErtContents): Fix (partially) the font bug.
12882
12883 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12886         as the other one is broken on my machine!
12887
12888 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12889
12890         * commandtags.h:
12891         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12892
12893 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12896         reflect their actual use. Provide compatibility code for older lyxrc
12897         files.
12898
12899         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12900         FL_NORMAL_STYLE.
12901         change names of popup font variables in line with the changes to lyxrc.C
12902
12903 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12904
12905         * buffer.C (asciiParagraph): avoid outputing a word twice after
12906         an inset.
12907
12908         * lyxrc.C (getDescription): document that document_path and
12909         template_path can be empty.
12910
12911 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12912
12913         * LaTeXFeatures.C (getMacros):
12914         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12915
12916         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12917
12918         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12919         getPackages.
12920         (getPackages): rename feature "floats" to "float". Use an array to
12921         iterate over 'simple' features (i.e. just a \usepackage). Add
12922         handling of "amsmath" (renamed from "amsstyle").
12923
12924 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12925
12926         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12927         features list.
12928
12929 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12930
12931         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12932         FuncStaus::FuncStatus & FuncStaus::some_method().
12933
12934 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12935
12936         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12937         of the func_satus stuff. Edited and massaged in various ways by
12938         JMarc.
12939
12940         * lyxfunc.C (getStatus): use FuncStatus
12941
12942 2002-01-08  Juergen Vigna  <jug@sad.it>
12943
12944         * text.C (nextBreakPoint): use function Inset::isChar().
12945
12946         * paragraph.C (TeXOnePar): use function
12947         Inset::forceDefaultParagraphs.
12948
12949         * buffer.C (latexParagraphs): use function
12950         Inset::forceDefaultParagraphs.
12951
12952 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12953
12954         * lyx_gui.C (init): set the style of the menu popups to
12955         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12956
12957 2002-01-07  Juergen Vigna  <jug@sad.it>
12958
12959         * text.C (setHeightOfRow): small fix
12960         (prepareToPrint): don't look at alignment if we don't have the place
12961         for doing it.
12962
12963 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12964
12965         * box.C: New file. Move the Box methods and functions out of box.h,
12966         following Lars' suggestion.
12967
12968 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12969
12970         * box.h: #include "support/LOstream.h", needed for inlined function.
12971
12972         * lyxtextclass.C:
12973         * lyxtextclasslist.C: added some using std declarations.
12974
12975 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * box.h: make signed dimensions to allow insets wider than
12978           the screen (bug #162)
12979
12980         * BufferView_pimpl.C: add some insetHit debug
12981
12982 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * vc-backend.C: add FIXME
12985
12986 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12987
12988         * lyxfunc.C (getStatus): enable code for showing math font status
12989         in toolbar/menu.
12990
12991 2002-01-07  Juergen Vigna  <jug@sad.it>
12992
12993         * text.C (nextBreakPoint): removed debug output not needed anymore.
12994
12995 2002-01-06  Juergen Vigna  <jug@sad.it>
12996
12997         * text.C (nextBreakPoint): fixed up this function we had this bug
12998         since ever but now hopefully we break row better.
12999         (insertChar): we have to check if an inset is the next char as it
13000         could now happen that a large inset is causing a break.
13001
13002 2002-01-05  Juergen Vigna  <jug@sad.it>
13003
13004         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13005         if it doesn't like to be drawed.
13006
13007 2002-01-04  Juergen Vigna  <jug@sad.it>
13008
13009         * BufferView2.C (lockInset): forgot to set a cursor.
13010
13011         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13012
13013 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13014
13015         * FormMathsPanel.C:
13016         * FormMathsPanel.h
13017         * MathsSymbols.C:
13018         * form_maths_panel.C:
13019         * form_maths_panel.h:
13020         * form_maths_panel.fd: implemented sub- and super- buttons in math
13021         panel.
13022
13023         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13024         (or ^ space) to be used as in TeX (req'd by André).
13025
13026         * lyxfunc.C: Allow ^ and _ again to be used both as
13027         super/subscript (mathed) and as themselves (in text).
13028
13029 2002-01-03  Allan Rae  <rae@lyx.org>
13030
13031         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13032         "LyX" or the filename of the current buffer if it has one.  This is a
13033         modified form of John Levon's patch.
13034
13035         * XFormsView.C (setWindowTitle): also set icon title.
13036
13037         * LyXView.h (setWindowTitle): signature changed.
13038         * XFormsView.h (setWindowTitle): ditto.
13039
13040 2002-01-02  Juergen Vigna  <jug@sad.it>
13041
13042         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13043
13044 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * screen.C (topCursorVisible): introduce a temp var for
13047         text->cursor.row(), handle the case where this row is null. (kindo
13048         hachish)
13049
13050         * text2.C (setCursor): add a couple of asserts.
13051
13052         * paragraph.h (inset_iterator): add -> operator
13053
13054         * paragraph.[Ch] (autoDeleteInsets): remove member function
13055
13056         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13057         cursor pos correctly and handle inset deletion by itself.
13058         (insertErrors): move iterator declaration out of for expression
13059
13060         * lyxtextclass.C: add <algorithm>
13061
13062         * Makefile.am: added the new files to sources, removed layout.C
13063
13064         * layout.C: removed file
13065
13066         * layout.h: remove LYX_DUMMY_LAYOUT
13067
13068         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13069         layout.
13070
13071         * lyxlayout.[Ch]:
13072         * lyxtextclass.[Ch]:
13073         * lyxtextclasslist.[Ch]: new files
13074
13075         * include order changes to a lot of files, also changes because of
13076         the six new files.
13077
13078 2001-12-27  Juergen Vigna  <jug@sad.it>
13079
13080         * buffer.C (asciiParagraph): more fixes.
13081
13082         * tabular.C (ascii): make ascii export support export of only the
13083         data separated by a column-delimiter.
13084         (ascii): better support for ascii export.
13085
13086         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13087
13088 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * tabular_funcs.C: use a "using std::getline" instead of the
13091         previous fix from Angus (necessary for cxx + lyxstring)
13092
13093 2001-12-24  Juergen Vigna  <jug@sad.it>
13094
13095         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13096
13097         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13098         problems. First check a minipage also if we have some ert-contents
13099         (not only on par->size(), second set the right depth of the paragraph
13100         on the relink to the root-paragraph-list!
13101
13102         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13103         which then did not anymore update the main paragraphs on undo/redo!
13104
13105 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13106
13107         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13108         code. Support all font-changing funcs (even those which are not in
13109         menu currently). Support for reporting font settings in
13110         mathed (disabled until Andre provides a function on mathed's side).
13111
13112         * func_status.h (toggle): small helper function to set toggle
13113         state on a flag.
13114
13115 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13116
13117         * tabular_funcs.C: getline -> std::getline
13118
13119 2001-12-21  Juergen Vigna  <jug@sad.it>
13120
13121         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13122         accessed and could be 0 (I couldn't generate this but it seems
13123         Michael could!).
13124
13125 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13128         * tabular_funcs.h: here and include iosfwd
13129
13130 2001-12-20  Juergen Vigna  <jug@sad.it>
13131
13132         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13133         inside inset but undo_par was.
13134
13135 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13136
13137         * Thesaurus.C: always include <config.h> in sources.
13138
13139         * Painter.h:
13140         * lyxlookup.h:
13141         * box.h: do not include <config.h> in header files
13142
13143         * text.C (paintLastRow): remove unused variable
13144
13145         * text.C (transformChar):
13146         (insertChar):
13147         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13148
13149         * Painter.C (text):
13150         * font.C (width): rewrite to use uppercase() instead of
13151         islower/toupper.
13152
13153         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13154
13155 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13156
13157         * lyxfind.C: clean up of find failure position change
13158
13159 2001-12-20  Juergen Vigna  <jug@sad.it>
13160
13161         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13162
13163         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13164         (TeXRow): added to LaTeX a single tabular row.
13165         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13166         (Latex): simplified and finally good LT-h/f support.
13167         (various_functions): just small adaptions for LT-h/f support.
13168
13169         * tabular_funcs.[hC]: added and moved here all not classfunctions
13170         of LyXTabular.
13171
13172 2001-12-19  Juergen Vigna  <jug@sad.it>
13173
13174         * tabular.[Ch]: better support for longtabular options (not finished
13175         yet!)
13176
13177 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13178
13179         * text.C (paintLastRow): use the label font instead of the font of
13180         the last character to compute the size of *_BOX. This makes more
13181         sense and avoids a crash with empty paragraphs.
13182         Use Painter::rectangle to draw EMPTY_BOX.
13183
13184 2001-12-19  Juergen Vigna  <jug@sad.it>
13185
13186         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13187         the paragraphs if the replaced paragraph is not the first one!
13188         Tried to delete not used paragraphs but does not work yet so for
13189         now it's inside #ifdef's and by default off!
13190
13191 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13192
13193         * MenuBackend.C: include "lyx_main.h" instead of declaring
13194         lastfiles (actually was declared as LastFiles* instead of a
13195         scoped_ptr).
13196
13197 2001-12-17  Juergen Vigna  <jug@sad.it>
13198
13199         * tabular.C (AppendColumn): applied John's fix
13200
13201 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * BufferView.h:
13204         * BufferView.C:
13205         * BufferView_pimpl.h:
13206         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13207
13208         * Makefile.am:
13209         * box.h: new start of class for above
13210
13211         * lyxfunc.C: ignore space-only minibuffer dispatches.
13212           Show the command name when it doesn't exist
13213
13214         * minibuffer.C: don't add empty lines to the history
13215
13216         * minibuffer.C: add a space on dropdown completion
13217
13218 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * text.C: fix line above/below drawing in insets
13221
13222 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * lyxlength.C (LyXLength): Initialize private variables.
13225
13226 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13227
13228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13229         when inserting error insets.
13230
13231 2001-12-13  Juergen Vigna  <jug@sad.it>
13232
13233         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13234         actually sometimes the before-paragraph.
13235         (setUndo): don't clear the redostack if we're not actually undoing!
13236
13237 2001-12-06  Juergen Vigna  <jug@sad.it>
13238
13239         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13240         and fixed redoing of main paragraph, so we can use it now ;)
13241
13242         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13243
13244 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13247         Juergen's request
13248
13249 2001-12-13  André Pönitz <poenitz@gmx.net>
13250
13251         * undostack.[Ch]:
13252         * undo_func.C: minor cleanup
13253
13254 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13255
13256         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13257         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13258         font in urw-fonts package which is marked as -urw-fontspecific and
13259         does not work (incidentally, changing the encoding in the
13260         fonts.dir of this package to -adobe-fontspecific fixes the
13261         problem).
13262
13263         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13264         is a crash when undoing first paragraph (Juergen, please take a
13265         look). THis does not mean the undo fix is wrong, just that it
13266         uncovers problems.
13267
13268         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13269         the (Paragraph*) version when needed instead of duplicating the
13270         code.
13271
13272         * text.C (workWidth): use Inset::parOwner to find out where the
13273         inset has been inserted. This is a huge performance gain for large
13274         documents with lots of insets. If Inset::parOwner is not set, fall
13275         back on the brute force method
13276
13277         * paragraph_pimpl.C (insertInset):
13278         * paragraph.C (Paragraph):
13279         (cutIntoMinibuffer): set parOwner of insets when
13280         inserting/removing them
13281
13282         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13283
13284 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13285
13286         * commandtags.h:
13287         * LyXAction.C:
13288         * lyx_main.C:
13289         * lyxfunc.C:
13290         * mathed/formulabase.C:
13291         * mathed/math_cursor.[Ch]:
13292         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13293
13294
13295 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13296
13297         * lyxlength.[Ch] (operator!=): new function
13298
13299 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13300
13301         * text.C (workWidth): use Inset::parOwner to find out where the
13302         inset has been inserted. This is a huge performance gain for large
13303         documents with lots of insets. If Inset::parOwner is not set, fall
13304         back on the brute force method
13305
13306         * paragraph_pimpl.C (insertInset):
13307         * paragraph.C (Paragraph):
13308         (cutIntoMinibuffer): set parOwner of insets when
13309         inserting/removing them
13310
13311         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13312
13313 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13314
13315         * tabular-old.C (getTokenValue):
13316         * tabular.C (getTokenValue):
13317         (write_attribute): new versions for LyXLength
13318         (everywhere): adjust the use of widths
13319
13320         * tabular.h: change the type of widths from string to LyXLength
13321
13322 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13323
13324         * paragraph.C: fixed missing line number count when exporting
13325         Environments to LaTeX file
13326
13327         * buffer.C: added informational message for checking line numbers.
13328
13329 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13332         paragraph, do the 'double space' part, but not the 'empty
13333         paragraph' one.
13334
13335         * text.C (workWidth): small optimization
13336         (getLengthMarkerHeight): use minimal size for negative lengths.
13337
13338 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13339
13340         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13341
13342         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13343
13344 2001-12-11  André Pönitz <poenitz@gmx.net>
13345
13346         * FontLoader.C:
13347         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13348
13349 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * text2.C: keep selection on a setFont()
13352
13353 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * lyx_cb.C: another bv->text misuse, from insert label
13356
13357 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * kbsequence.h:
13360         * kbsequence.C: re-instate nmodifier mask
13361
13362 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13363
13364         * lyx_main.h: make lyxGUI private.
13365
13366 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * lyxfind.C: place the cursor correctly on failed search
13369
13370 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13371
13372         * text.C (getLengthMarkerHeight): for small heights, the arrows
13373         are not always on top/bottom of the text
13374         (drawLengthMarker): smaller arrows; take the left margin in
13375         account; draw also vfills.
13376         (paintFirstRow):
13377         (paintLastRow): remove special code for vfill and standard spaces,
13378         since everything is handled in drawLengthMarker now.
13379
13380 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * buffer.C (insertErtContents): try to handle font and language
13383         interaction a bit better.g
13384
13385         * ColorHandler.C (updateColor): change the hash to cover the whole
13386         LColor enum, ws cleanup
13387         (getGCLinepars): ditto
13388         (getGCLinepars): only lookup in the linecache once.
13389
13390 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13391
13392         * iterators.C (operator++): Make the iterator more robust
13393
13394         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13395         (John's patch)
13396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13397
13398 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * lyxtext.h:
13401         * text.C: better added space drawing
13402
13403 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * LyXView.C:
13406         * BufferView2.C: fix layout combo update on inset unlock
13407
13408 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * Makefile.am: don't compile unused files
13411
13412 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * lyxfunc.C:
13415         * commandtags.h:
13416         * LyXAction.C: remove old LFUN_LAYOUTNO
13417
13418 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * paragraph_pimpl.h:
13421         * paragraph_pimpl.C: isTextAt() doesn't need font param
13422
13423 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * lyxlex.h:
13426         * lyxlex.C: little cleanup
13427
13428 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * BufferView_pimpl.C: fix insertAscii for insets
13431
13432 2001-12-05  Juergen Vigna  <jug@sad.it>
13433
13434         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13435         set the right font on the "multi" paragraph paste!
13436
13437 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * trans_decl.h:
13440         * trans_mgr.[Ch]:
13441         * trans.[Ch]:
13442         * lyxgluelength.C:
13443         * lyxlength.C: remove out-commented code.
13444
13445         * BufferView_pimpl:
13446         * CutAndPaste.C:
13447         * DepTable.C:
13448         * buffer.C:
13449         * chset.C:
13450         * lastfiles.C:
13451         * lyxlex.C:
13452         * lyxlex_pimpl.C:
13453         * lyxserver.C:
13454         * screen.C:
13455         * tabular-old.C:
13456         * tabular.C:
13457         * text.C:
13458         * trans_mgr.C:
13459         * vc-backend.C: change "while(" to "while ("
13460
13461         * lyxlength.[Ch]: add zero function to check if length is zero or
13462         not
13463         * lyxgluelength.C: use it
13464
13465 2001-12-05  Allan Rae  <rae@lyx.org>
13466
13467         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13468         Works for 2.95.3, from what I understand of Garst's reports this should
13469         work for other g++ versions.  We're screwed if the abs(int) definition
13470         changed between bugfix releases of gcc.
13471
13472 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * text.C: fix chapter label offset !
13475
13476 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * lyxtext.h:
13479         * text.C: fix hfill at end of line, clean up
13480
13481 2001-12-04  Juergen Vigna  <jug@sad.it>
13482
13483         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13484         that we force an update of the inset and it's owners if neccessary.
13485
13486 2001-12-03  Juergen Vigna  <jug@sad.it>
13487
13488         * text.C (rowLast): simplified code
13489
13490 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * lyxfunc.C: fix show options on timeout
13493
13494 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * screen.C (topCursorVisible): scroll half a page when the cursor
13497         reached top of bottom of screen
13498
13499 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13500
13501         * minibuffer.C: deactivate on loss of focus
13502
13503 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * vspace.[Ch] (operator!=): add operator.
13506
13507 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * BufferView_pimpl.C: refuse to open an inset when
13510         there's a selection.
13511
13512 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * BufferView_pimpl.C: allow to click on RHS of full row insets
13515
13516 2001-11-30  Juergen Vigna  <jug@sad.it>
13517
13518         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13519         insets for undo reasons.
13520
13521 2001-11-28  André Pönitz <poenitz@gmx.net>
13522
13523         * vspace.[Ch]: cosmetical changes
13524
13525 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * LyXAction.h:
13528         * LyXAction.C:
13529         * lyxfunc.h:
13530         * lyxfunc.C:
13531         * kbmap.h:
13532         * kbmap.C:
13533         * lyxrc.C:
13534         * kbsequence.h:
13535         * kbsequence.C: part re-write of old kb code
13536
13537         * Painter.C:
13538         * WorkArea.C: remove Lgb_bug_find_hack
13539
13540 2001-11-30  José Matos <jamatos@fep.up.pt>
13541
13542         * buffer.C (makeDocBookFile): add a comment to point a hack.
13543         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13544         Fixed a double write of labels.
13545
13546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13547
13548         * LaTeX.C:
13549         * LaTeX.h Fixed bug in LaTeX class where it would not
13550         re-run latex if no depfiles were changed, but the .dvi was removed.
13551
13552 2001-11-28  André Pönitz <poenitz@gmx.net>
13553
13554         * all the files from the change on 2001/11/26:
13555         use lyx::layout_type instead of LyXTextClass::size_type
13556         use lyx::textclass_type instead of LyXTextClassList::size_type
13557
13558 2001-11-29  Juergen Vigna  <jug@sad.it>
13559
13560         * text.C: added support for paragraph::isFreeSpacing()
13561
13562         * buffer.C: same as above
13563
13564         * paragraph.h: inserted isFreeSpacing() function to enable
13565         FreeSpacing inside InsetERT.
13566
13567         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13568         of the paragraph's in the cut/copy buffer to 0!
13569
13570         * text2.C (removeRow): remove the assert as it can!
13571
13572         * lyxtext.h: added helper function firstRow returning firstrow and
13573         made firstrow private again.
13574
13575         * BufferView2.C (lockInset): don't relock if we're already locked!
13576
13577         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13578         the only paragraph.
13579         (removeRow): added Assert::(firstrow)
13580
13581         * debug.C: forgot to add INSETTEXT here.
13582
13583 2001-11-28  Juergen Vigna  <jug@sad.it>
13584
13585         * sp_spell.C (initialize): changed error text to more general
13586         spellchecker command use (not only ispell!)
13587
13588         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13589
13590         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13591
13592 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * vspace.C: initialise lyxgluelength on failure
13595
13596 2001-11-28  Allan Rae  <rae@lyx.org>
13597
13598         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13599         declaration & definition that looks like a function declaration.
13600
13601 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * BufferView2.C (copy):
13604         (copyEnvironment): do not clear the selection when doing a copy.
13605
13606         * text.C (paintFirstRow): compilation fix
13607
13608 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13609
13610         * tabular.C (Latex): correct line count when writing latex.
13611
13612 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * paragraph_pimpl.h:
13615         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13616           bug a bit
13617
13618 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13619
13620         * text.C:
13621         * LColor.h:
13622         * LColor.C: change vfillline->added_space
13623
13624         * text.C: add markers and text for added space
13625
13626         * vspace.C: fix comment
13627
13628 2001-11-28  André Pönitz <poenitz@gmx.net>
13629
13630         * paragraph.C: whitespace changes
13631         * all the other files from the change on 2001/11/26:
13632         change *::pos_type into lyx::pos_type
13633
13634 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13637         language of the document when inserting error insets.
13638
13639 2001-11-26  André Pönitz <poenitz@gmx.net>
13640
13641         * BufferView_pimpl.[Ch]:
13642         *       CutAndPaste.C:
13643         * buffer.[Ch]:
13644         * lyxcursor.[Ch]:
13645         * lyxfind.C:
13646         * lyxfunc.C:
13647         * lyxrow.[Ch]:
13648         * paragraph.[Ch]:
13649         * paragraph_pimpl.[Ch]:
13650         * sp_spell.C:
13651         * text.C:
13652         * text2.C: reduce header dependencies, introduce type for positions
13653
13654 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * <various>: change to use Alert.h
13657
13658 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13661         when encountering an unknown token.
13662         (readLyXformat2): Show an error message if there were unknown tokens.
13663
13664 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * BufferView2.C:
13667         * BufferView_pimpl.C:
13668         * buffer.C:
13669         * paragraph.h:
13670         * text.C:
13671         * text2.C: use par->isInset()
13672
13673 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13674
13675         * paragraph_pimpl.h:
13676         * paragraph_pimpl.C: cleanup
13677
13678 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * text2.C (removeRow):
13681         * text.C (setHeightOfRow): remove useless (and costly) call to
13682         getRow.
13683
13684 2001-11-20  Allan Rae  <rae@lyx.org>
13685
13686         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13687         Now need Inset*::checkInsertChar() to return true for appropriate
13688         cases so that the characters in the minibuffer will actually be
13689         inserted.
13690
13691 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * text.C: change the order of the includes.
13694         (workWidth): initialize it at once.
13695         (workWidth): make maxw unsigned
13696         (setHeightOfRow): remove unused variable (inset)
13697         (selectSelectedWord): remove unused variable (inset)
13698         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13699
13700 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13703         server is not running.
13704         (openConnection):
13705         (closeConnection): add debug info when server is disabled.
13706
13707         * ColorHandler.C (getGCForeground): send debug message to GUI
13708         channel.
13709
13710         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13711
13712         * kbmap.C (bind): modify because return conventions of
13713         kb_sequence::parse have changed.
13714
13715         * kbsequence.C (parse): only ignore spaces and not any stupid
13716         control character. This avoids tests like s[i] <= ' ', which are
13717         guaranteed to fail with 8bit characters and signed chars.
13718         Change return code to string::npos when there have been no error
13719         (0 was a bad idea when error is at first character)
13720
13721 2001-11-14  José Matos  <jamatos@fep.up.pt>
13722
13723         * buffer.h:
13724         * buffer.C (simpleDocBookOnePar): removed unused argument.
13725
13726 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13729         insets which are part of a word. Paragraph::isLetter takes care of
13730         that now. Use Paragraph::isInset to identify insets.
13731         (selectSelectedWord): do not test for hyphenation break.
13732
13733         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13734         that protected spaces are considered as spaces.
13735
13736         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13737         Inset::isLetter.
13738
13739 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * lyxserver.h:
13742         * lyxserver.C: fix it. and small cleanup.
13743
13744 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.C: use inline helpers
13747
13748         * LaTeXFeatures.h:
13749         * LaTeXFeatures.C: fix typos
13750
13751         * Spacing.h:
13752         * Spacing.C: move spacing_string into class
13753
13754         * ToolbarDefaults.C: move stuff into namespace anon
13755
13756         * layout.h: update enum
13757
13758         * lyxfunc.C: use better debug
13759
13760         * minibuffer.h: fix typo
13761
13762         * debug.h:
13763         * debug.C:
13764         * WorkArea.C: add and use Debug::WORKAREA
13765
13766         * lyxtext.h:
13767         * text.C:
13768         * text2.C: code re-organisation, inline helpers
13769
13770 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13771
13772         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13773         std::vector.empty().
13774
13775 2001-11-09  Allan Rae  <rae@lyx.org>
13776
13777         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13778         '\n's after tables.  Tabular and ERT inset work now makes this no
13779         longer necessary.
13780
13781 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * minibuffer.h:
13784         * minibuffer.C: fix crash, improve drop-down completion
13785
13786 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * lyxserver.h:
13789         * lyxserver.C: invalidate fd's when doing endPipe()
13790
13791 2001-11-08  José Matos  <jamatos@fep.up.pt>
13792
13793         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13794         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13795
13796         * paragraph.h:
13797         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13798
13799 2001-11-07  José Matos  <jamatos@fep.up.pt>
13800
13801         * buffer.h:
13802         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13803         const qualifier.
13804
13805         * buffer.C (sgmlOpenTag):
13806         * buffer.C (sgmlCloseTag): removed debug info.
13807
13808         * buffer.h (sgmlOpenTag):
13809         * buffer.h (sgmlCloseTag): made public.
13810
13811 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * buffer.C (saveParamsAsDefaults):
13814         * lyx_cb.C (MenuLayoutSave): remove
13815
13816         * LyXAction.C (init):
13817         * commandtags.h:
13818         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13819
13820 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * buffer.C (setPaperStuff): removed from here...
13823
13824         * bufferparams.C (setPaperStuff): ... and moved there.
13825
13826 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13827
13828         * minibuffer.h:
13829         * minibuffer.C:
13830         * XFormsView.C: add support for drop-down completion
13831
13832 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13833
13834         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13835         commands.
13836
13837 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13838
13839         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13840         disabled.
13841
13842 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * lyx_main.C: change ref to known bugs
13845
13846 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13847
13848         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13849         to work around older babel problems.
13850
13851 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13852
13853         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13854
13855 2001-10-24  Juergen Vigna  <jug@sad.it>
13856
13857         * tabular-old.C (ReadOld): below variable changes reflected.
13858
13859         * tabular.[Ch]: added ltType struct for longtable header/footer
13860         defines and changed all instances where they are used. Added
13861         future support for double top/bottom rows.
13862
13863 2001-10-24  José Matos  <jamatos@fep.up.pt>
13864
13865         * buffer.h (docbookHandleCaption):
13866         * buffer.C (docbookHandleCaption): removed unused function.
13867         (makeDocBookFile): moved docbook supported version to v4.1.
13868
13869 2001-10-24  José Matos  <jamatos@fep.up.pt>
13870
13871         * tabular.h:
13872         * tabular.C (docbookRow): new function to export docbook code of a row.
13873         (DocBook): now honors the longtable flags.
13874
13875 2001-10-23  José Matos  <jamatos@fep.up.pt>
13876
13877         * LaTeXFeatures.h:
13878         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13879         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13880
13881         * buffer.C (makeLinuxDocFile):
13882         (makeDocBookFile): reworked the preamble, more clean, and with
13883         support for lyx defined entities. Changed the document declaration
13884         to be more XML friendly.
13885
13886         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13887         if we need to output XML that should be done with a filter.
13888
13889 2001-10-22  Juergen Vigna  <jug@sad.it>
13890
13891         * sp_pspell.h (class PSpell): add alive function needed in the
13892         controller to see if the spellchecker could be started.
13893
13894 2001-10-22  Juergen Vigna  <jug@sad.it>
13895
13896         * buffer.C (insertStringAsLines): modify the font for inserting
13897         chars in certain conditions by calling checkInsertChar(font).
13898
13899 2001-10-19  Juergen Vigna  <jug@sad.it>
13900
13901         * text.C (workWidth): use getRow instead of wrong algorithm.
13902         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13903
13904 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13905
13906         * lyxserver.h:
13907         * lyxserver.C:
13908         * lyx_main.h:
13909         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13910
13911 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * text.C (workWidth): do not search for the exact row when
13914         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13915         optimization for big documents.
13916
13917 2001-10-18  Juergen Vigna  <jug@sad.it>
13918
13919         * text.C (workWidth): new function with added Inset * parameter.
13920
13921 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13922
13923         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13924
13925         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13926         change return type of getColumnNearX.
13927
13928
13929         * text.C (changeRegionCase): use uppercase/lowercase instead of
13930         toupper/tolower.
13931         (leftMargin):
13932         (rightMargin): simplify code by factoring out the uses of
13933         textclasslist.
13934         (labelFill):
13935         (numberOfHfills):
13936         (setHeightOfRow):
13937         (appendParagraph): use Paragraph::size_type
13938
13939 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13940
13941         * vspace.C (asLatexString): add a missing break
13942
13943 2001-10-15  Herbert Voss  <voss@perce.de>
13944
13945         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13946
13947 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13950         is not available.
13951
13952 2001-10-10  André Pönitz <poenitz@gmx.net>
13953
13954         * lyxfunc.C: removed greek_kb_flag.
13955
13956 2001-10-10  Herbert Voss  <voss@perce.de>
13957
13958         * lyx_main.C: delete global string help_lyxdir.
13959
13960 2001-10-09  Herbert Voss  <voss@perce.de>
13961
13962         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13963
13964         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13965
13966         * lyx_main.C: added global string help_lyxdir.
13967
13968         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13969
13970 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13971
13972         * lyxrc.C (set_font_norm_type): support iso8859-4
13973
13974 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13975
13976         * LaTeX.C (deplog): add another regex for MikTeX
13977
13978 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13979
13980         * lyxrc.C (set_font_norm_type): support iso8859-3
13981
13982 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13983
13984         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13985
13986         * LaTeXFeatures.C: remove special case of french and index
13987
13988         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13989         before \begin{document}). This solves several incompatibilities.
13990
13991 2001-10-03  Garst Reese  <reese@isn.net>
13992
13993         * lyx_cb.C: change CheckTex error msg.
13994
13995 2001-10-03  José Matos  <jamatos@fep.up.pt>
13996
13997         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13998
13999 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * .cvsignore: update
14002
14003         * lyx_main.C (commandLineVersionInfo): use new style version info.
14004
14005         * buffer.C (writeFile):
14006         (makeLaTeXFile):
14007         (makeLinuxDocFile):
14008         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14009
14010         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14011
14012         * version.h: update to use stuff in version.C
14013
14014         * version.C.in: new file. Contains version information determined
14015         at compile time. This is a merging of version.h and
14016         version_info.h.in.
14017
14018 2001-10-03  Juergen Vigna  <jug@sad.it>
14019
14020         * BufferView_pimpl.C (update): don't change "dirty" status in
14021         updateInset call.
14022
14023 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14024
14025         * WorkArea.C (c-tor): re-position version string slightly.
14026
14027 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14028
14029         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14030         revert to previous code.
14031
14032         WorkArea.[Ch]: (show, destroySplash): methods removed.
14033
14034         WorkArea.C: rework code so that it's an amalgam of the codes before and
14035         after the splash screen was moved to WorkArea.
14036
14037 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * lyxrc.C (read):
14040         * vspace.C (inPixels):
14041         (lyx_advance):
14042         * kbmap.C (bind):
14043         * buffer.C (insertStringAsLines):
14044         (asciiParagraph): fix types to be large enough
14045
14046         * lyxlex_pimpl.h: change member status from short to int
14047
14048         * layout.h: fix type of endlabeltype
14049
14050         * kbmap.C (bind):
14051         * kbsequence.C (parse): change return type to string::size_type
14052
14053         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14054         variable
14055
14056         * Bullet.C (bulletSize):
14057         (bulletEntry): do not use short ints as parameters
14058
14059         * BufferView2.C (insertLyXFile): change a char to an int.
14060
14061         * WorkArea.C (WorkArea): remove unneeded floats in computation
14062
14063 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14066
14067         * paragraph.C (asString): Do not ignore newline/hfill chars when
14068         copying to the clipboard.
14069
14070 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14071
14072         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14073         after a multi-line inset.
14074
14075 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14076
14077         * paragraph.C (validate): Set NeedLyXFootnoteCode
14078
14079 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14080
14081         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14082         and decrease-error to decrease.
14083
14084 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085
14086         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14087         it more readable (should be equivalent)
14088
14089 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14090
14091         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14092
14093 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14094
14095         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14096         of a cursor (row, etc.) after a character has been deleted
14097         (deleteEmptyParagraphMechanism): call the method above on _all_
14098         cursors held by the LyXText when a double space has been
14099         detected/deleted.
14100
14101 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14102
14103         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14104         pixmap.
14105         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14106
14107         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14108         background. Use greyOut() and the new show() methods to toggle between
14109         the foreground and background. Add code to remove the splash after
14110         its initial showing.
14111
14112         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14113         (create_forms): no longer call Dialogs::showSplash.
14114
14115 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * .cvsignore: add version_info.h
14118
14119 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * version_info.h.in: new file
14122
14123         * Makefile.am: add version_info.h.in
14124
14125         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14126         version_info.h instead of VERSION_INFO
14127
14128 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14131         The ERT inset now returns string().
14132
14133 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14134
14135         * lyxtext.h, text.C (selectNextWord): renamed as
14136         selectNextWordToSpellcheck.
14137
14138         * text.C (selectNextWordToSpellcheck): Modified to not select
14139         words inside an ERT inset.
14140
14141 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * lyx_cb.C (MenuLayoutSave): change a bit the question
14144
14145         * sp_base.h: include <sys/types.h>
14146
14147 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14148
14149         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14150
14151 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14152
14153         * several files: fix typos in user-visible strings
14154
14155 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * text2.C (pasteSelection): do not set the selection, since it
14158         will be cleared later. Actually, the intent was to fix the way the
14159         selection was set, but I figured rmoving the code was just as good.
14160
14161 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * FontLoader.C (available): Check if font is available without
14164         loading the font.
14165
14166 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14167
14168         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14169
14170 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14171
14172         * lyxrc.[Ch]: added display_graphics variable and associated code.
14173
14174 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14175
14176         * bufferparams.C (hasClassDefaults): new method. Returns true if
14177         the buffer parameters correspond to known class defaults
14178
14179 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * XFormsView.C (show): set minimum size to the main window.
14182
14183 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14184
14185         * text2.C (copySelection):
14186         (cutSelection):
14187         * lyxfind.C (LyXReplace):
14188         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14189         LyXText::selectionAsString.
14190
14191         * paragraph.C (asString): add "label" argument to the second form
14192
14193         * text2.C (selectionAsString): add "label" argument and pass it to
14194         Paragraph::asString.
14195
14196 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14197
14198         * lyx_main.C (commandLineHelp): remove version information
14199
14200 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14201
14202         * lyx_main.C: add -version commandline option
14203
14204 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * paragraph.h: make the optional constructor arg required instead.
14207         some modifications to other files because of this.
14208
14209         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14210
14211         * lyxserver.C (C_LyXComm_callback): make it static
14212
14213         * lyx_main.C (error_handler): make it static
14214
14215         * lyx_gui.C (LyX_XErrHandler): make it static
14216
14217         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14218
14219         * WorkArea.C: make the extern "C" methods static.
14220
14221         * Makefile.am (lyx_LDADD): simplify
14222
14223 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14224
14225         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14226         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14227
14228         * LyXAction.C (init):
14229         * lyxfunc.C (dispatch): associated code removal.
14230
14231 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * lyxfont.h (isSymbolFont): shut off warning
14234
14235         * text.C (setHeightOfRow):
14236         (getVisibleRow): fix crash with empty paragraphs which have a
14237         bottom line
14238
14239 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14240
14241         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14242         code.
14243
14244 2001-09-04  José Matos  <jamatos@fep.up.pt>
14245         * buffer.C
14246         * buffer.h
14247         * tabular.C (docbook): rename docBook method to docbook.
14248
14249 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * Makefile.am: add dependencies to main.o.
14252
14253 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * FontLoader.C (available): Return false if !lyxrc.use_gui
14256
14257 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14258
14259         * FontInfo.C (query):
14260         * converter.C (view):
14261         * importer.C (Import):
14262         * exporter.C (Export): Can not -> cannot.
14263
14264 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * BufferView_pimpl.C: allow to create index inset even if
14267           string is empty
14268
14269 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14270
14271         * buffer.C (getLists): replace boost::tie code with an explicit pair
14272         as boost::tie can break some compilers.
14273
14274         * iterators.h: Added a std:: declaration to the return type of
14275         ParIterator::size.
14276
14277 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14280           case.
14281
14282 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14283
14284         * iterators.[Ch]: New files. Provide paragraph iterators.
14285
14286         * buffer.C (changeLanguage): Use paragraph iterators.
14287         (isMultiLingual): ditto
14288
14289         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14290
14291 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * FontLoader.C: Support for cmr font.
14294
14295 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14296
14297         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14298         (available): New method.
14299
14300         * FontInfo.C (getFontname): Use scalable fonts even when
14301         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14302         found.
14303
14304 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14305
14306         * converter.C (Formats::view): reverted! Incorrect fix.
14307
14308 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14309
14310         * converter.C (Formats::view): only output the -paper option
14311         if the dvi viewer is xdvi, thereby fixing bug #233429.
14312
14313 2001-08-23  Herbert Voss  <voss@perce>
14314
14315         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14316
14317 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14318
14319         * Spacing.h (Spacing): Set space to Default on in the default
14320         constructor.
14321
14322 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * vc-backend.h (RCS::versionString): add RCS to version
14325         (CVS::versionString): add CVS to version
14326
14327         * vc-backend.C (scanMaster): do not add CVS to version.
14328         (scanMaster): do not add RCS to version
14329
14330         * lyxvc.C (versionString): new method
14331
14332         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14333
14334 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * Spacing.C (set): initialize fval
14337
14338 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14341         " or \.
14342
14343 2001-08-16  Juergen Vigna  <jug@sad.it>
14344
14345         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14346
14347 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * BufferView_pimpl.C:
14350         * figureForm.C:
14351         * lyxtext.h:
14352         * text2.C: setParagraph takes linespacing now
14353
14354 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * LyxAction.C: add internal LFUN_CITATION_INSERT
14357
14358         * LyXView.C: actually apply fix
14359
14360         * bufferlist.C: fix open non-existent file
14361
14362         * lyxfind.C: fix indentation
14363
14364         * lyxfunc.C: remove unneeded assert, fix typo
14365
14366 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * MenuBackend.C: use "Floatname List"
14369
14370 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14373         when converting LaTeX layout to insetERT.
14374         Generate a non-collapsed float when reading old float
14375
14376 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14379         ERT insets.
14380
14381 2001-08-13  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (fill): return 0 instead of 20 as this seems to be the more
14384         correct value.
14385
14386 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14387
14388         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14389         lyxrc.font_norm.
14390
14391 2001-08-13  Juergen Vigna  <jug@sad.it>
14392
14393         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14394         casesensitive off.
14395         (SearchBackward): comment out the unlocking of the inset_owner this
14396         should not be needed!
14397
14398 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14399
14400         * Many files: Remove inherit_language, and add latex_language
14401
14402         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14403         collapsible insets.
14404
14405 2001-08-10  Juergen Vigna  <jug@sad.it>
14406
14407         * text.C (prepareToPrint): fixed hfill-width in draw!
14408
14409         * BufferView2.C (selectLastWord): save the selection cursor as this
14410         now is cleared in the function LyXText::clearSelection!
14411
14412 2001-08-08  Juergen Vigna  <jug@sad.it>
14413
14414         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14415         BACKSPACE type functions.
14416
14417         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14418         is only cutted from the document but not put in the cut-buffer, where
14419         still the old stuff should be.
14420
14421         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14422
14423         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14424
14425         * tabular.C (SetWidthOfCell): fixed special case where the width
14426         was not updated!
14427         (LeftLine): handle '|' in align_special.
14428         (RightLine): ditto
14429         (LeftAlreadyDrawed): ditto
14430         (SetWidthOfCell): ditto
14431
14432 2001-08-07  Juergen Vigna  <jug@sad.it>
14433
14434         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14435
14436 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14439         * lyxlex.[hC]: ditto
14440
14441 2001-08-06  Juergen Vigna  <jug@sad.it>
14442
14443         * text.C (getVisibleRow): fix up row clearing a bit.
14444
14445 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * minibuffer.C: make sure the X server sees the changes in the input.
14448
14449 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * paragraph.C (getFont): split into...
14452         (getLabelFont): this
14453         (getLayoutFont): and this
14454         * paragraph_pimpl.C (realizeFont): calling this
14455
14456         * text2.C (getFont): split into...
14457         (getLayoutFont): this
14458         (getLabelFont): and this
14459         (realizeFont): all three calling this
14460
14461         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14462         files where used.
14463
14464 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14465
14466         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14467
14468 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14469
14470         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14471         layouts from the Quote inset insertion.
14472
14473 2001-08-03  Juergen Vigna  <jug@sad.it>
14474
14475         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14476
14477         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14478         only if status not is already CHANGED_IN_DRAW (second level).
14479
14480         * text.C (draw): don't set the need_break_row when inside an
14481         InsetText LyXText.
14482
14483 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14484
14485         * buffer.C (parseSingleLyXformat2Token): handle more latex
14486         conversion cases.
14487
14488         * bufferview_funcs.[hC]: change function names to
14489         begin with small char, adjust other files.
14490
14491 2001-08-02  André Pönitz <poenitz@gmx.net>
14492
14493         * lyxfunc.C:
14494         BufferView_pimpl.C: remove broken special code for math-greek
14495
14496 2001-08-02  Juergen Vigna  <jug@sad.it>
14497
14498         * BufferView_pimpl.C (update): redone this function so that we
14499         update the text again if there was a CHANGE_IN_DRAW.
14500
14501         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14502         (drawFromTo): added a new internal bool which is used by draw() and
14503         redraw() function.
14504         (general): some cursor drawing problems fixed.
14505
14506 2001-08-01  Juergen Vigna  <jug@sad.it>
14507
14508         * lyxfind.C (LyXFind): fixed
14509         (SearchForward): ditto
14510         (SearchBackward): ditto
14511
14512         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14513         spurius drawing of the cursor in the main area.
14514
14515         * text2.C (status): small fix which could lead to a segfault!
14516         (clearSelection): remove unneeded BufferView param.
14517
14518 2001-08-01  André Pönitz <poenitz@gmx.net>
14519
14520         * lyxfunc.C: small change due to changed mathed interface
14521
14522 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14525
14526 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * lyxfunc.c: fail gracefully if file doesn't exist
14529
14530         * LyXSendto.C:
14531         * buffer.C:
14532         * lyxfunc.C:
14533         * BufferView_pimpl.C: IsDirWriteable() proto changed
14534
14535         * LyXView.C: fix updateWindowTitle() to store the last title
14536
14537 2001-07-31  Juergen Vigna  <jug@sad.it>
14538
14539         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14540         the font (wrong since using of Paragraph::highestFontInRange).
14541
14542         * paragraph.C (highestFontInRange): added a default_size parameter.
14543
14544         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14545         (setHeightOfRow): reformat
14546
14547 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * converter.[hC] + affected files: move to (inital-char)lowercase
14550         function names.
14551
14552         * ParagraphParameters.C (ParagraphParameters): remove commented code
14553
14554         * PainterBase.[Ch]: remove commented code
14555
14556         * LaTeXFeatures.h: add "bool floats" for float.sty
14557
14558         * LaTeXFeatures.C (LaTeXFeatures): init floats
14559         (require): handle float
14560         (getPackages): do it with floats
14561
14562 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * BufferView_pimpl.C (Dispatch): improve handling of
14565         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14566
14567         * commandtags.h: #include lyxfont.h here temporarily to avoid
14568         keybinding bug.
14569
14570         * bufferlist.h: include LString.h here.
14571
14572 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14573
14574         * text2.C (getStringToIndex): new method.
14575
14576 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14577
14578         * *: Reduced header file dependencies all over.
14579
14580 2001-07-30  Baruch Even  <baruch@lyx.org>
14581
14582         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14583
14584 2001-07-29  Baruch Even  <baruch@lyx.org>
14585
14586         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14587
14588 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * ParameterStruct.h (endif): add a default constructor to make
14591         sure that all variables is initialized.
14592
14593         * ParagraphParameters.C (ParagraphParameters): adjust
14594
14595 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14596
14597         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14598         index; also, check that there is something to index, and that it
14599         does not span over several paragraphs.
14600         (doubleClick): use WHOLE_WORD_STRICT for double click.
14601
14602         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14603
14604         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14605         scheme.
14606
14607 2001-07-26  Baruch Even  <baruch@lyx.org>
14608
14609         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14610         an InsetFig figure, backwards compatible reading of old figure code.
14611
14612 2001-07-27  Juergen Vigna  <jug@sad.it>
14613
14614         * text2.C: font.realize function adaption.
14615
14616         * text.C (draw): add a warnings lyxerr text if needed.
14617
14618         * layout.C: font.realize function adaption.
14619
14620         * language.C: add inherit_language and implement it's handlings
14621
14622         * bufferview_funcs.C (StyleReset): remove language parameter from
14623         font creation (should be language_inherit now).
14624
14625         * bufferparams.C (writeFile): handle ignore_language.
14626
14627         * paragraph.C (getFontSettings): the language has to be resolved
14628         otherwise we have problems in LyXFont!
14629
14630         * lyxfont.C (lyxWriteChanges): added document_language parameter
14631         (update): removed unneeded language parameter
14632
14633         * paragraph.C (validate): fixed wrong output of color-package when
14634         using interface colors for certain fonts in certain environments,
14635         which should not seen as that on the final output.
14636
14637 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * BufferView_pimpl.C:
14640         * Thesaurus.h:
14641         * Thesaurus.C:
14642         * Makefile.am:
14643         * commandtags.h:
14644         * LyXAction.C: add thesaurus support
14645
14646         * lyxfind.h:
14647         * lyxfind.C: add "once" parameter, for thesaurus, to not
14648           move to the next match
14649
14650 2001-07-26  Juergen Vigna  <jug@sad.it>
14651
14652         * lyxfont.C (realize): honor ignore_language too!
14653         (resolved): ditto.
14654
14655         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14656
14657         * text.C (draw): one place more for ignore_language to not draw
14658         itself!
14659
14660 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14661
14662         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14663
14664 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14665
14666         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14667         the minipage conversion problem.
14668
14669 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14670
14671         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14672         insert an inset.
14673
14674 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14675
14676         * BufferView.h: don't forward declare WorkArea
14677
14678         * BufferView.C: don't include WorkArea.h
14679
14680 2001-07-25  André Pönitz <poenitz@gmx.net>
14681
14682         * commandtags.h:
14683         * LyXAction.C:
14684         * lyxfunc.C:  new LFUN 'math-space'
14685
14686         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14687
14688 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * text2.C (toggleInset): call open/close
14691
14692 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14693
14694         * lyxfunc.C (dispatch): add debug for the disabled case
14695
14696         * font.C (buttonText): make similar to rectText
14697
14698         * buffer.C (readInset): comment out parsing of insetlist and
14699         insttheorem
14700
14701         * PainterBase.C (rectText): small correction
14702
14703         * BufferView_pimpl.C: comment out insettheorem and insetlist
14704         * LyXAction.C: ditto
14705         * commandtags.h: ditto
14706
14707 2001-07-24  Juergen Vigna  <jug@sad.it>
14708
14709         * text.C (draw): honor the ignore_language.
14710
14711         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14712
14713 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14716         char inset.
14717
14718 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14719
14720         * lyxtext.h: remove unused (and unimplemented) methods
14721
14722 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14723
14724         * text.C (getVisibleRow): honor background color
14725
14726         * PainterBase.h:
14727         * Painter.h: remove default color argument for fillRectangle
14728
14729         * text.C (backgroundColor): new method
14730
14731 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * text.C (getVisibleRow): adjust
14734
14735         * font.[Ch] (rectText): new method, metrics
14736         (buttonText): new method, metrics
14737
14738         * PainterBase.[hC]: make rectText and buttonText always draw and take
14739         fewer paramteres.
14740
14741 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14742
14743         * ToolbarDefaults.C (read):
14744         * MenuBackend.C (read): allow escaping in all strings
14745
14746         * BufferView_pimpl.C (insertAndEditInset): new method.
14747         (Dispatch): use insertAndEditInset whenever appropriate.
14748
14749         * BufferView_pimpl.C (insertNote): removed
14750
14751         * BufferView_pimpl.C (smartQuote): new method, moved from
14752         BufferView; if an insetquote cannot be inserted, insert a '"'
14753         character instead.
14754
14755         * BufferView2.C: remove insertCorrectQuote();
14756
14757         * lyxfunc.C (getStatus): Add support for all remaingin
14758         inset-insert lfuns.
14759
14760         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14761
14762         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14763         command (necessary to pass " as parameter of self-insert.
14764
14765         * text.C (selectWordWhenUnderCursor):
14766         (selectWord): add word_location parameter
14767         (selectWordWhenUnderCursor): same + remove special code for word
14768         boundary.
14769         (selectNextWord): use kind() to guess type of insetspecialchar,
14770         not latex().
14771
14772         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14773         (insertErtContents): create ert insets as collapsed.
14774         (readInset): better compatibility code for Info inset.
14775
14776 2001-07-20  Juergen Vigna  <jug@sad.it>
14777
14778         * lyxfunc.C (dispatch): use always LyXFind now!
14779
14780         * text2.C (init): add a reinit flag so that the LyXText can be
14781         reinited instead of deleted and reallocated (used in InsetText).
14782
14783         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14784
14785         * text.C: ditto
14786
14787         * text2.C: ditto
14788
14789 2001-07-18  Juergen Vigna  <jug@sad.it>
14790
14791         * text.C (selectNextWord): handle insets inside inset by calling
14792         always the bv->text functions so that we can go up the_locking_inset!
14793
14794         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14795         in strange locations when inside an inset!
14796
14797         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14798         handling to include insets.
14799
14800         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14801
14802 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * LyXAction.C (init):
14805         * commandtags.h:
14806         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14807         LIGATURE_BREAK, since the name is so stupid.
14808
14809 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14810
14811         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14812         InsetInfos.
14813
14814         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14815
14816         * sp_form.[Ch]: remove.
14817
14818         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14819
14820         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14821         InsetInfo.
14822
14823         * src/buffer.C (readInset): ditto.
14824
14825 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14826
14827         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14828         menuSeparator(), endOfSentenceDot(), ldots() and
14829         hyphenationPoint(), which are therefore removed.
14830         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14831
14832         * LyXAction.C (init):
14833         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14834
14835         * paragraph.C (getWord): removed.
14836
14837         * BufferView_pimpl.C (Dispatch): use last word or selection for
14838         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14839
14840         * lyx_main.C (queryUserLyXDir): do not ask before creating
14841         user_dir, except if it has been named explicitely.
14842
14843 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14844
14845         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14846         a document of zero size.
14847
14848 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14849
14850         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14851         approriately in the c-tor and in require().
14852         (getPackages): output the appropriate LaTeX for natbib support.
14853
14854         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14855         variables "use_natbib" and "use_numerical_citations" when reading the
14856         LyX file.
14857         (readInset): read the various natbib cite commands.
14858         (validate): white-space change.
14859
14860         * bufferparams.[Ch]: new variables "bool use_natbib" and
14861         "bool use_numerical_citations".
14862         (writeFile): output them in the LyX file.
14863
14864 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14865
14866         * lyxfunc.C (getStatus): add support for all the inset insertion
14867         commands.
14868
14869         * text2.C (insertInset):
14870         * paragraph.C (insetAllowed):
14871         * BufferView_pimpl.C (insertInset): update to take in account the
14872         renaming of insertInsetAllowed
14873
14874         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14875
14876         * text2.C (getInset): new method. returns inset at cursor position.
14877
14878         * BufferView_pimpl.C (Dispatch): changes because of this.
14879
14880         * LyXAction.C (init): rename open-stuff to inset-toggle.
14881
14882         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14883
14884         * text2.C (toggleInset): renamed from openStuff; use
14885         Inset::open().
14886
14887 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14888
14889         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14890
14891         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14892
14893 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14894
14895         * buffer.C (readLyXformat2): Add filename to the error dialog
14896
14897 2001-07-18  Juergen Vigna  <jug@sad.it>
14898
14899         * tabular.C (GetCellNumber): put an assert here instead of the check!
14900
14901 2001-07-17  Juergen Vigna  <jug@sad.it>
14902
14903         * BufferView_pimpl.C (toggleSelection): adapted too.
14904
14905         * text.C (selectNextWord): adapted for use with insets.
14906         (selectSelectedWord): ditto
14907
14908 2001-07-17  Juergen Vigna  <jug@sad.it>
14909
14910         * sp_spell.C (PSpell): fix initialitation order.
14911
14912 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * paragraph.C: spacing
14915
14916 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14917
14918         * sp_spell.C: repair language selection for pspell
14919
14920 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * lyxfunc.h: change more methods to begin with lower char.
14923
14924 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14925
14926         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14927         for unknown layouts.
14928
14929 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14930
14931         * buffer.C (readLyXformat2): Generate an error dialog if there are
14932         unknown layouts.
14933
14934 2001-07-16  Juergen Vigna  <jug@sad.it>
14935
14936         * sp_spell.C: always compile ISpell part.
14937
14938         * lyxrc.C: added use_pspell entry and it's handling.
14939
14940 2001-07-13  Juergen Vigna  <jug@sad.it>
14941
14942         * sp_spell.C: removed double includes.
14943
14944 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14945
14946         Consistent use of Lsstream.h:
14947         * Lsstream.h: added using std::stringstream for consistencies sake.
14948
14949         * buffer.C: removed using std::stringstream
14950
14951         * lyxfont.C (stateText):
14952         * paragraph.C (asString):
14953         * text.C (selectNextWord, selectSelectedWord):
14954         * text2.C (setCounter):
14955         * vspace.C (asString, asLatexString):
14956         std::ostringstream -> ostringstream.
14957
14958 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14959
14960         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14961         * commandtags.h: add LFUN_HELP_ABOUTLYX
14962         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14963
14964 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14965
14966         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14967         cursorToggle()
14968         * lyx_gui_misc.C: remove spellchecker
14969         * lyxfunc.C: showSpellchecker
14970         * sp_base.h: added
14971         * sp_ispell.h: added
14972         * sp_pspell.h: added
14973         * sp_spell.C: added
14974         * sp_form.[Ch]: removed
14975         * spellchecker.[Ch]: removed
14976
14977 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14978
14979         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14980         is set.
14981         (simpleTeXSpecialChars): Simply print the input character without
14982         any special translation if pass_thru is set.
14983
14984         * layout.h: Added bool pass_thru to layout class for being able to
14985         implement pass through of a paragraph for Literate Programming.
14986
14987         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14988         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14989         * layout.C (Read): add "passthru" to list of layout tags and add
14990         code to set the pass_thru boolean when it is read.
14991
14992 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * trans_decl.h: remove allowed from KmodInfo
14995
14996         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14997         remove allowed code
14998         (Load): adjust
14999
15000         * paragraph_pimpl.C (erase): use boost::prior
15001
15002         * Painter.C (text): use data() instead of c_str() when length is
15003         also provided.
15004         * WorkArea.C (putClipboard): ditto
15005         * font.h (width): ditto
15006
15007         * BufferView2.C: use it-> instead of (*it). for iterators
15008         * texrow.C: ditto
15009         * paragraph_pimpl.C: ditto
15010         * paragraph.C: ditto
15011         * minibuffer.C: ditto
15012         * language.C: ditto
15013         * kbmap.C: ditto
15014         * encoding.C: ditto
15015         * counters.C: ditto
15016         * converter.C: ditto
15017         * chset.C: ditto
15018         * Variables.C: ditto
15019         * TextCache.C: ditto
15020         * MenuBackend.C: ditto
15021         * LyXAction.C: ditto
15022         * LColor.C: ditto
15023         * FloatList.C: ditto
15024         * DepTable.C: ditto
15025         * ColorHandler.C (LyXColorHandler): ditto
15026
15027 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15030
15031         * text2.C (openStuff): reintroduce this method (which had been
15032         nuked in NEW_INSETS frenzy).
15033
15034         * lyxfunc.C (Dispatch): when an action has not been handled, use
15035         its name in the error message, not its number.
15036
15037         * paragraph.C (inInset): change method name to begin with lowercase.
15038
15039         * undo_funcs.C:
15040         * text2.C: updates because of this.
15041
15042 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15043
15044         * ToolbarDefaults.C (add): add spaces in error message
15045
15046 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15049         (readLyXformat2): rename return_par to first_par, use lyxlex's
15050         pushToken and remove the manual push handling.
15051         (parseSingleLyXformat2Token): add another ert comp. variable:
15052         in_tabular, rename return_par to first_par. handle newlines better
15053
15054 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15057
15058 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * text2.C (getParFromID): removed
15061
15062         * buffer.C (getParFromID): new method moved form lyxtext.
15063         * BufferView2.C (insertErrors): adjust
15064         (setCursorFromRow): adjust
15065         * BufferView_pimpl.C (restorePosition): adjust
15066         * lyxfunc.C (Dispatch): adjust
15067         * undo_funcs.C (textUndo): adjust
15068         (textRedo): adjust
15069         (textHandleUndo): adjust
15070         (textHandleUndo): adjust
15071
15072 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15073
15074         * buffer.C: up' the LYX_FORMAT
15075
15076         * lyxfont.h: turn NO_LATEX on as default
15077
15078         * buffer.C (insertErtContents): new methods of tex style compability.
15079         (parseSingleLyXformat2Token): use it several places.
15080         * tabular.C (OldFormatRead): and here
15081
15082 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * text2.C: remove some commented code.
15085         reindent file.
15086
15087         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15088         * trans.C: changes because of the above.
15089
15090 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * text2.C (setCounter): Fix counters bug with bibliography layout.
15093
15094 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15097         own member functions
15098         (simpleTeXSpecialChars): ditto
15099
15100 2001-07-06  Juergen Vigna  <jug@sad.it>
15101
15102         * a lot of files: changed the access to LyXText::status and the
15103         call of undo-functions.
15104
15105         * undo.[Ch]: added a inset_id to the undo informations.
15106
15107         * undo_funcs.[Ch]: added and moved here all undo functions.
15108
15109         * lyxtext.h: give the status enum a weight, made status_ a private
15110         variable and made accessor functions for it, removed the whole bunch
15111         of undo-functions as they are now in their own file, make some
15112         functions publically available. Added function ownerParagraph with
15113         int parameter.
15114
15115         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15116         made InInset() a const function, added getParFromID() function.
15117
15118         * buffer.[Ch]: added const version for inset_iterator functions,
15119         added getInsetFromID() function.
15120
15121         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15122         changed undo functions for new version.
15123
15124 2001-07-05  Juergen Vigna  <jug@sad.it>
15125
15126         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15127         unknow mechanism does not call the proper constructor but only this
15128         one also if I request the other!?
15129
15130 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15133
15134         * text2.C (LyXText): use initialization lists.
15135
15136         * lyxtext.h (Selection): initialize set_ and mark_
15137         (init): remove method
15138
15139 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15142
15143 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15144
15145         * screen.[Ch]: change method names to begin with lowercase
15146
15147         * BufferView_pimpl.C (updateScrollbar): simplify further and
15148         hopefully make it a bit faster.
15149
15150 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15151
15152         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15153         calling directly xforms functions.
15154
15155         * Painter.C (Painter):
15156         * lyx_cb.C (MenuWrite):
15157         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15158         fl_display.
15159
15160         * lyx_gui.C: remove bogus guiruntime extern declaration.
15161
15162 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15163
15164         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15165         in NEW_INSETS
15166         (redoDrawingOfParagraph): ditto
15167         (redoParagraphs): ditto
15168         (cutSelection): don't create a object for CutAndPaste use the
15169         static method directly
15170         (pasteSelection): ditto
15171
15172         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15173         LyXview (+ rename)
15174
15175 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15176
15177         * modifications to some other files because of this.
15178
15179         * Makefile.am (lyx_SOURCES): add XFormsView
15180
15181         * XFormsView.[Ch]: new files
15182
15183         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15184         the main window. Move the gui dependent stuff to XFormsView
15185
15186 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * tabular.C (GetCellInset): update cur_cell also in the row/col
15189         version of this function.
15190
15191         * lyxfunc.C: no need to include figure_form.h here.
15192
15193         * FontLoader.h:
15194         * lyxfunc.h:
15195         * lyxscreen.h:
15196         * text2.C:
15197         * lyxvc.C: no need to include forms.h here.
15198
15199 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15202
15203         * lyxfunc.C (Dispatch):
15204         * Spacing.C (set):
15205         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15206         constructor argument.
15207
15208 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * paragraph.C (Paragraph): dont't clear, and just set layout.
15211         (makeSameLayout): use params's copy contructor.
15212
15213         * ParagraphParameters.[Ch] (makeSame): delete method
15214
15215 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15216
15217         * Variables.[Ch]: fix indentation, rename set to isSet
15218
15219 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * lyxfunc.C (Dispatch): fix typo
15222
15223 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15226         upper_bound.
15227
15228         * bufferlist.C: include assert.h for emergencyWrite().
15229
15230 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15233           give up at last (bug #425202) !
15234
15235 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * lyx_gui_misc.C:
15238         * sp_form.h:
15239         * sp_form.C:
15240         * spellchecker.h:
15241         * spellchecker.C: strip spellchecker options and bring up
15242           preferences tab instead
15243
15244 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15247         the istringstream constructor
15248
15249 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * paragraph.C (getLayout): fix return value
15252
15253         * paragraph.h: do not declare getLayout as inline.
15254
15255         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15256
15257 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * lyxcursor.h (operator<): new func
15260         (operator>): new func
15261         (operator>=): new func
15262         (operator<=): new func
15263
15264         * text.C (changeCase): use selection.start and selection.end
15265         (changeRegionCase): require from to be <= to. Require par to be a
15266         valid paragraph.
15267
15268         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15269
15270 2001-06-27  Juergen Vigna  <jug@sad.it>
15271
15272         * text.C (cursorLeftOneWord): changed to return the cursor and added
15273         overlay with BufferView * parameter which calls this one.
15274         (getWord): added
15275         (selectWord): use new getWord function.
15276         (changeCase): renamed from changeWordCase as and extended to work
15277         also on selections.
15278
15279         * lyxtext.h: added enum word_location
15280
15281         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15282         changeCase as this operates now also on selections.
15283
15284 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15285
15286         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15287
15288         * many files: send debug output to Debug::INFO instead of
15289         Debug::ANY.
15290
15291         * converter.C (View):
15292         (Convert):
15293         (Move): send debug output to Debug::FILES instead of console.
15294
15295 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15296
15297         * lyxfunc.C (getStatus): use func_status
15298
15299         * func_status.h: new header, describing the results of
15300         LyXFunc::getStatus;
15301
15302         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15303         LFUN_MATH_HALIGN.
15304
15305 2001-06-25  The LyX Project  <jug@sad.it>
15306
15307         * buffer.C (sgmlOpenTag):
15308         (sgmlCloseTag):
15309         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15310
15311 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * text2.C: remove some dead code
15314
15315         * tabular.C (GetCellInset): store the last cell checked (gotten)
15316
15317         * tabular.h: add the helper for the speedup
15318
15319         * lyxtext.h: remove some dead code
15320
15321 2001-06-26  The LyX Project  <Asger>
15322
15323         * paragraph.C: Change export to LaTeX of alignment to
15324         \begin{center} and family for better roundtrip work with reLyX.
15325
15326         * Tune the math drawing a bit.
15327
15328 2001-06-25  The LyX Project  <Asger>
15329
15330         * LColor.C (LColor): New color for math background. New color
15331         for buttons.
15332
15333 2001-06-25  The LyX Project  <jug@sad.it>
15334
15335         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15336
15337         * lyxfunc.C (Open):
15338         * bufferlist.C (newFile): do not restrict to files ending with
15339         .lyx
15340
15341         * BufferView_pimpl.C (MenuInsertLyXFile):
15342
15343 2001-06-24  The LyX Project  <jug@sad.it>
15344
15345         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15346         of compare_no_case
15347
15348 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * lyxtext.h: rename most methods to begin with a small char.
15351         Lots of changes because of this.
15352
15353         * paragraph.C (Paragraph): do not call fitToSize
15354         (erase): call Pimpl::erase
15355         (insertChar): call Pimpl::insertChar
15356         (insertInset): call Pipl::insertInset
15357         (breakParagraph): do not call fitToSize
15358         (breakParagraphConservative): do not call fitToSize
15359         (fitToSize): remove method
15360
15361         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15362
15363 2001-06-24  The LyX Project  <Asger>
15364
15365         * Fix Qt compilation^2
15366
15367 2001-06-24  The LyX Project  <jug@sad.it>
15368
15369         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15370         depthHook(getDepth()-1).
15371
15372         * paragraph.h:
15373         * ParagraphParameters.h:
15374         * ParameterStruct.h: change type of depth to unsigned int ==
15375         depth_type. Many adaptations to other files before of that.
15376
15377 2001-06-24  The LyX Project  <Asger>
15378
15379         * Fix Qt compilation.
15380
15381 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * paragraph.h: renamed several methods to begin with small letter.
15384         several changes to many parts of the code because of this.
15385
15386 2001-06-23  The LyX Project  <jug@sad.it>
15387
15388         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15389         rewritten to discard all double spaces when KeepEmpty is off
15390         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15391         to only handle newlines but not fiddle with spaces and friends.
15392
15393         * lyxfunc.C (MenuNew): when doing 'new from template', use
15394         template_path as default directory
15395
15396 2001-06-23  The LyX Project  <Asger>
15397
15398         * Clean-up of header file includes all over
15399         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15400
15401 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * paragraph.h: renamed from lyxparagraph.h
15404
15405 2001-06-23  Asger  <lyx@violet.home.sad.it>
15406
15407         * Buffer.h: Removed Buffer::resize
15408         * BufferList.h: Removed BufferList::resize
15409         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15410         the document lazily when we change the width, or the font settings.
15411
15412 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15413
15414         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15415
15416 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15417
15418         * buffer.h: remove out of date comment
15419
15420 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15421
15422         * lyxscreen.h:
15423         * screen.C: fix "theoretical" GC leak
15424
15425 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * LaTeX.C (scanAuxFile):
15428         (deplog): remove trailing \r when reading stream (useful under
15429         win32)
15430
15431 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15432
15433         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15434         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15435         and BufferView::theLockingInset(Inset*), so should use them and not
15436         access bv_->text->the_locking_inset directly.
15437
15438         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15439
15440 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15441
15442         * Makefile.am:
15443         * tex-defs.h: remove old unused file
15444
15445 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15446
15447         * BufferView_pimpl.C: fix typo, remove minibuffer message
15448           when buffer has loaded
15449
15450 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * lyxfunc.C (Dispatch): use stringstream
15453         (MenuNew): use stringstream
15454         (Open): use stringstream
15455
15456         * importer.C (Import): use stringstream
15457
15458         * bufferview_funcs.C (CurrentState): use stringstream
15459
15460         * LaTeX.C (run): use stringstream
15461
15462         * BufferView_pimpl.C (savePosition): use stringstream
15463         (restorePosition): use stringstream
15464         (MenuInsertLyXFile): use stringstream
15465
15466 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15467
15468         * BufferView.C:
15469         * Bullet.C:
15470         * ColorHandler.C:
15471         * FontInfo.C:
15472         * FontLoader.C:
15473         * LColor.C:
15474         * LaTeXFeatures.C:
15475         * Painter.C:
15476         * gettext.C:
15477         * lyx_gui_misc.C:
15478         * lyxserver.C:
15479         * vspace.C: removed // -*- C++ -*- as first line.
15480
15481         * lyxfind.h:
15482         * version.h: added // -*- C++ -*- as first line.
15483
15484 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15487
15488         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15489         of string
15490
15491 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15494         of floats.
15495
15496 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * gettext.C: include LString.h even when --disable-nls is on.
15499
15500 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15501
15502         * converter.h (Get): changed argument type from int to
15503         FormatList::size_type to avoid unnecessary conversion.
15504
15505         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15506         before using it.
15507
15508 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15509
15510         * gettext.h: include LString.h even when --disable-nls is on.
15511
15512 2001-06-07  Juergen Vigna  <jug@sad.it>
15513
15514         * text.C (BreakAgain): subst spaces with tabs.
15515
15516         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15517         (resizeInsetsLyXText): set force on resizeLyXText.
15518
15519 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * gettext.h (gettext_init):
15522         (locale_init): use a real definition instead of a macro
15523
15524 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15525
15526         * Bufferview_pimpl.C:
15527         * LColor.h:
15528         * LColor.C: further lcolor tidies
15529
15530 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15531
15532         * BufferView_pimpl.C (updateScrollbar): simplify.
15533
15534         * BufferView2.C: don't include insets/insetinfo.h, change
15535         prototype for insertInset and call the Pimpl version. let
15536         updateInset call Pimpl version.
15537
15538         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15539         gotoInset to BufferView::Pimpl
15540
15541 2001-06-01  Juergen Vigna  <jug@sad.it>
15542
15543         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15544         inside a LockingInset (is the update needed at all?).
15545
15546 2001-05-31  Juergen Vigna  <jug@sad.it>
15547
15548         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15549         here not the old one otherwise how should we compare it afterwards
15550         if it's the same!
15551
15552 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15553
15554         * lyxfont.C:
15555         * tabular.C:
15556         * tabular-old.C:
15557         * FontInfo.C: bring C functions into global namespace when
15558         necessary
15559
15560 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * LString.h: make sure config.h has been loaded before LString.h.
15563
15564         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15565         (one for each char read by EatLine!).
15566
15567         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15568         variables.
15569
15570 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15571
15572         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15573         to the same as the par we break from
15574
15575 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15576
15577         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15578
15579         * MenuBackend.C (expand): also create menu entries for wide
15580         versions of the floats.
15581
15582         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15583
15584         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15585
15586         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15587         frontends/Makefile.am
15588
15589         * text2.C: adjust
15590         * text.C: adjust
15591
15592
15593         * tabular.C (getTokenValue): add std::
15594
15595         * tabular-old.C (getTokenValue): add std::
15596         (getTokenValue): ditto
15597         (getTokenValue): ditto
15598
15599         * screen.C (ToggleSelection): adjust
15600
15601         * lyxtext.h: put selection cursors inside a Selection struct.
15602
15603         * lyxfunc.C (moveCursorUpdate): adjust
15604
15605         * lyxfont.C (latexWriteStartChanges): add std::
15606
15607         * lyxfind.C: adjust
15608
15609         * font.h: delete with(char const *, LyXFont const &)
15610
15611         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15612
15613         * FontInfo.C (getFontname): add std::
15614
15615         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15616         (workAreaButtonPress): adjust
15617         (tripleClick): adjust
15618         (update): adjust
15619         (moveCursorUpdate): adjust
15620         (Dispatch): adjust
15621
15622         * BufferView2.C (gotoInset): adjust
15623
15624 2001-05-30  Juergen Vigna  <jug@sad.it>
15625
15626         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15627         to check pspell I add this as default as I now have new pspell
15628         libraries and they seem to use this.
15629
15630 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * text2.C (CutSelection): make the cursor valid before the call to
15633         ClearSelection.
15634
15635 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15638         relied on 0 terminated strings and other horrors. Bug found due to
15639         the new assert in lyxstring!
15640
15641         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15642         KP_ keys.
15643
15644 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15647         to latinkeys.bind.
15648
15649         * lyxfunc.C (processKeySym): change method of getting to the
15650         self-insert char.
15651
15652         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15653         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15654         * BufferView_pimpl.[Ch]: here as private methods.
15655
15656 2001-05-28  Juergen Vigna  <jug@sad.it>
15657
15658         * text.C (SetHeightOfRow): added the update() call again as it is
15659         needed to initialize inset dimensions!
15660
15661 2001-05-16  Juergen Vigna  <jug@sad.it>
15662
15663         * text2.C (SetCharFont): Add new function with BufferView * and
15664         bool toggleall parameters for setting insets internal fonts.
15665         (SetFont): Freeze the undo as we may change fonts in Insets and
15666         all this change should be inside only one Undo!
15667
15668         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15669         setting font's in insets as for them we have the SetFont function!
15670
15671 2001-05-15  Juergen Vigna  <jug@sad.it>
15672
15673         * text2.C (ClearSelection): to be sure we REALLY don't have any
15674         selection anymore!
15675
15676         * tabular.C (TeXCellPreamble): fixed the left border problem for
15677         multicolumn cells.
15678
15679 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15682         dependancy file
15683
15684 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15687         LFUN_BREAKPARAGRAPH.
15688
15689         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15690         help test to "internal only", similar for LFUN_INSERT_URL
15691
15692         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15693         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15694         auto_region_delete and deadkeys.
15695
15696 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15697
15698         * LColor.h:
15699         * LColor.C: remove some dead entries, tidy a little
15700
15701 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15704         commented code.
15705         (Dispatch): implement LFUN_ESCAPE
15706
15707         * commandtags.h: add LFUN_ESCAPE
15708
15709         * LyXAction.C (init): add entry for LFUN_ESCAPE
15710
15711         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15712         Remove commented code.
15713         (insertNote): moved here
15714         (open_new_inset): moved here
15715
15716         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15717         BufferView_pimpl
15718
15719 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * kbmap.C (findbinding): clean it up and make it work correctly.
15722
15723         * lyx_main.C (init): do not pass argc and argv as parameters
15724
15725 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15726
15727         * buffer.C: fix path for OS/2 & Win32
15728
15729         * lyx_gui.C:
15730         * lyx_main:
15731         * lyx_main.C: Added os:: class.
15732
15733         * os2_defines.h: update
15734
15735 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15738         better by trying again with reduced state.
15739
15740 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15741
15742         * lyxrc.C (read): print error about invalid key sequence only when
15743         debugging (because not all latinX keysyms are known to some X
15744         servers)
15745
15746         * kbsequence.C (getiso): add a few std:: qualifiers
15747         (getiso): comment out extra return statement.
15748
15749 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15750
15751         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15752         handling.
15753         (Dispatch): enhance the accent inset a bit. (not perfect)
15754
15755 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15756
15757         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15758
15759 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * bufferlist.C (emergencyWrite): fix assert() call
15762
15763 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15764
15765         * text.C (InsertChar): Added trivial patch to only send the "you
15766         can not do multiple spaces this way" message once during a
15767         session.
15768
15769 2001-05-08  Baruch Even  <baruch@lyx.org>
15770
15771         * Makefile.am: Changed order of libraries to get LyX to link properly
15772         with the gnome frontend.
15773
15774 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * LaTeXFeatures.h: add a std:: qualifier
15777
15778 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15779
15780         * paragraph.C (String): use stringstream
15781
15782 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * paragraph.C (writeFile): remove footflag arg
15785
15786         * buffer.C (makeLaTeXFile): use stringstream
15787         (latexParagraphs): remove footnot gurba
15788
15789         * LaTeXFeatures.C (getPackages): use stringstream
15790         (getMacros): likewise
15791         (getTClassPreamble): likewise
15792         (getFloatDefinitions): new method
15793
15794         * paragraph.C (writeFile): reindent
15795         (Erase): reindent
15796
15797         * WorkArea.h: revert the xpos + etc changes.
15798
15799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15800
15801         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15802
15803         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15804         (pasteSelection): likewise
15805         * text2.C (CreateUndo): likewise
15806
15807 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * minibuffer.C (peek_event): temporarily reduce the functionality
15810         of the minibuffer (to allow args on lfuns)
15811
15812         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15813         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15814
15815         * buffer.C (readInset): add compability reading of old float
15816         lists, add reading of new style float list.
15817         (readInset): avoid reevaluation of inscmd.getCmdName()
15818         (getLists): reindent
15819
15820         * MenuBackend.C (MenuItem): implement parsing of
15821         md_floatlistinsert and md_floatinsert.
15822         (expand::LastFiles): move initalizaton of iterators out of loop,
15823         avoid reevaluation.
15824         (expand::Documents): introduce typdedef vector<string> Strings,
15825         and use it.
15826         (expand::ExportFormats): introduce typedef vector<Format const *>
15827         Formats, and use it.
15828         (expand): implement FloatListInsert and FloatInsert.
15829
15830         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15831         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15832         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15833
15834         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15835         handling.
15836         (Dispatch::LFUN_FLOAT_LIST): implement
15837
15838 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15839
15840         * LaTeX.C (run): Fix problem with --export code.
15841
15842 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15843
15844         * BufferView.[Ch] (workarea): removed.
15845         (getClipboard) new method; wrapper for workarea()->getClipboard()
15846
15847         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15848         bug.
15849
15850         * WorkArea.h (width, height, xpos, ypos): These methods all
15851         returned the dimensions of the work_area sub-area of WorkArea,
15852         resulting in a position error if the WorkArea were resized. Now
15853         return the dimensions of the entire WorkArea.
15854
15855         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15856
15857 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * LaTeX.C (deplog): correct the syntax of regex reg1
15860
15861 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15862
15863         * undo.C: remove !NEW_INSETS cruft
15864
15865 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * text2.C: remove !NEW_INSETS cruft
15868
15869         * text.C: remove !NEW_INSETS cruft
15870
15871         * tabular.C: remove !NEW_INSETS cruft
15872
15873         * spellchecker.C: remove !NEW_INSETS cruft
15874
15875         * lyxtext.h: remove !NEW_INSETS cruft
15876
15877         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15878
15879         * lyxfunc.C: remove !NEW_INSETS cruft
15880
15881         * lyxfind.C: remove !NEW_INSETS cruft
15882
15883         * lyx_cb.C: remove !NEW_INSETS cruft
15884
15885         * figureForm.C: remove  !NEW_INSETS cruft
15886
15887         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15888
15889         * buffer.[Ch]: remove !NEW_INSETS cruft
15890
15891         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15892
15893         * CutAndPaste.C: remove !NEW_INSETS cruft
15894
15895         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15896
15897         * BufferView2.C: remove !NEW_INSETS cruft
15898
15899         * BufferView.h: remove !NEW_INSETS cruft
15900
15901 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * Lsstream.h: include LString.h before the sstream headers to
15904         fix problem with gcc 2.95.3 and lyxstring
15905
15906 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15907
15908         * lyx_main.C: add using directives when needed for C functions
15909         declared in std:: namespace.
15910
15911 2001-04-27  Juergen Vigna  <jug@sad.it>
15912
15913         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15914         (SetHeightOfRow): comment out the update call should not be needed!
15915
15916 2001-04-13  Juergen Vigna  <jug@sad.it>
15917
15918         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15919         (LyXTabular): tried to minimize operator= operations (and realized
15920         hopfully Lars wish).
15921
15922 2001-04-27  Juergen Vigna  <jug@sad.it>
15923
15924         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15925
15926 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15929
15930         * buffer.C (readInset): hack to make listof algorithm work
15931
15932         * BufferView_pimpl.C: hack to make listof algorithm work
15933
15934 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * LyXAction.C: removed all !NEW_INSETS cruft
15937         (init): moved lfun_item in method
15938
15939         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15940
15941 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15942
15943         * BufferView2.C (theLockingInset): white space.
15944
15945 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * minibuffer.C: include <iostream>
15948
15949         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15950
15951         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15952
15953         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15954
15955         * text.[Ch] (TransposeChars): new method
15956
15957 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15958
15959         * call message directly through LyXView instead of through LyXFunc
15960         * BufferView2.C: adjust
15961         * BufferView_pimpl.C: adjust
15962         * FontLoader.C: adjust
15963         * buffer.C: adjust
15964         * bufferview_funcs.C: adjust
15965         * converter.C: adjust
15966         * figureForm.C: adjust
15967         * importer.C: adjust
15968         * lyx_cb.C: adjust
15969         * lyx_gui_misc.C: adjust
15970         * lyxfunc.C: adjust
15971         * lyxvc.C: adjust
15972         * text2.C: adjust
15973         + more files in subdirs
15974
15975         * lyxparagraph.h (size): move up int file
15976         (GetLayout): ditto
15977
15978         * adjust all uses of Assert to lyx::Assert.
15979
15980         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15981         lyxfunctional in namespace lyx
15982         * layout.C (hasLayout): ditto
15983         (GetLayout): ditto
15984         (GetLayout): ditto
15985         (delete_layout): ditto
15986         (NumberOfClass): ditto
15987         * converter.C (GetFormat): ditto
15988         (GetNumber): ditto
15989         (Add): ditto
15990         (Delete): ditto
15991         (SetViewer): ditto
15992         * bufferlist.C (getFileNames): ditto
15993         (emergencyWriteAll): ditto
15994         (exists): ditto
15995         (getBuffer): ditto
15996         * MenuBackend.C (hasSubmenu): ditto
15997         (hasMenu): ditto
15998         (getMenu): ditto
15999         * BufferView_pimpl.C (getInsetByCode): ditto
16000
16001 2001-04-18  Juergen Vigna  <jug@sad.it>
16002
16003         * vspace.C (asLatexString): fixed the 100% problem.
16004
16005 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16006
16007         * lyxfunc.C (Dispatch):
16008         * minibuffer.C:
16009         * minibuffer.h: add a few std:: qualifiers
16010
16011 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16012
16013         * minibuffer.[Ch]: reimplement so that commands is initiated and
16014         run from lyxfunc, simplified som handling, and made the completion
16015         and history code for complete. wip.
16016
16017         * lyxfunc.C (processKeySym): call message
16018         (miniDispatch): new temporary method
16019         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16020         (LFUN_MESSAGE): implement
16021         (LFUN_MESSAGE_PUSH): implement
16022         (LFUN_MESSAGE_POP): implement
16023         (initMiniBuffer): the initial/defualt minibuffer message.
16024
16025         * lyxfont.[Ch]: inline some more getters
16026
16027         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16028
16029         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16030
16031         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16032         (AutoSave): use LFUN_MESSAGE
16033         (Reconfigure): ditto
16034
16035         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16036
16037         * figureForm.C: use LFUN_MESSAGE
16038
16039         * converter.C (runLaTeX): use LFUN_MESSAGE
16040
16041         * bufferview_funcs.C: use LFUN_MESSAGE
16042         (Melt): ditto
16043         (changeDepth): ditto
16044
16045         * bufferparams.h: use boost::
16046
16047         * bufferlist.h: inherit privately from noncopyable
16048
16049         * bufferlist.C (loadLyXFile): remove some commented code.
16050
16051         * buffer.C (runChktex): use LFUN_MESSAGE
16052
16053         * ShareContainer.h: inherit privately from noncopyable
16054
16055         * ParagraphParameters.[hC] (depth): inline it.
16056
16057         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16058         methods.
16059         (message): new method
16060         (messagePush): ditto
16061         (messagePop): ditto
16062         (show): init minibuffer
16063         (showState): direct call
16064
16065         * LaTeX.[Ch]: inherit privately from noncopyable
16066         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16067         instead of WriteStatus.
16068
16069         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16070
16071         * BufferView_pimpl.C (buffer): don't init minibuffer
16072         (workAreaButtonPress): use LFUN_MESSAGE
16073         (workAreaButtonRelease): ditto
16074         (savePosition): ditto
16075         (restorePosition): ditto
16076         (MenuInsertLyXFile): ditto
16077         (workAreaExpose): don't init minibuffer
16078         (update): remove commented code, simplify
16079
16080         * BufferView2.C (openStuff): use LFUN_MESSAGE
16081         (toggleFloat): ditto
16082         (menuUndo): ditto
16083         (menuRedo): ditto
16084         (copyEnvironment): ditto
16085         (pasteEnvironment): ditto
16086         (copy): ditto
16087         (cut): ditto
16088         (paste): ditto
16089         (gotoInset): ditto
16090         (updateInset): remove some commented code
16091
16092         * lastfiles.h: inherit privately from noncopyable
16093         * layout.h: ditto
16094         * lyx_gui.h: ditto
16095         * lyx_main.h: ditto
16096         * lyxlex.h: ditto
16097         * lyxlex_pimpl.h: ditto
16098
16099         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16100         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16101         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16102
16103         * LyXAction.h: inherit privately from noncopyable, add methods
16104         func_begin, func_end, returning iterators to the func map.
16105
16106         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16107         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16108         (func_begin): new method
16109         (func_end): new method
16110
16111         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16112         and not)
16113         (copySelection): ditto
16114         (pasteSelection): ditto
16115
16116         * BufferView.C: whitespace change
16117         * BufferView.h: inherit privately from noncopyable
16118
16119 2001-04-16  Allan Rae  <rae@lyx.org>
16120
16121         * tabular-old.C (l_getline):
16122         * spellchecker.C (sc_check_word):
16123         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16124         an unrecognised preprocessor directive.  So ensure they're wrapped.
16125
16126 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16127
16128         * src/exporter.C (Export): Give an error message when path to file
16129         contains spaces.
16130
16131 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16132
16133         * LaTeX.C (deplog): Always check that foundfile exists.
16134
16135 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * lyx_main.h:
16138         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16139
16140 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * tabular.[Ch] (getLabelList): implement new method
16143
16144         * minibuffer.h: comment ouf setTiimer
16145
16146         * minibuffer.C (ExecutingCB): constify res
16147         (peek_event): constify s
16148         (Set): constify ntext
16149         (Init): constify nicename
16150
16151         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16152
16153         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16154         (savePosition): use two params to Minibuffer::Set
16155         (restorePosition): ditto
16156
16157 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16158
16159         * lyx_main.C: include language.h
16160
16161         * Makefile.am (lyx_main.o): add language.h
16162
16163 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16164
16165         * exporter.C:
16166         * paragraph.C:
16167         * screen.C:
16168         * tabular.C:
16169         * CutAndPaste.C: include gettext.h
16170
16171         * lyxfont.h: remove old hack with ON and OFF.
16172
16173         * lyxparagraph.h:
16174         * lyxfont.h: do not include language.h...
16175
16176         * BufferView2.C:
16177         * LaTeXFeatures.C:
16178         * Painter.C:
16179         * bufferview_funcs.C:
16180         * font.C:
16181         * lyxfont.C:
16182         * text.C:
16183         * text2.C:
16184         * trans_mgr.C:
16185         * paragraph.C: ... but do it here instead
16186
16187 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16188
16189         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16190
16191         * tabular.C: small reformat
16192
16193         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16194         NEW_INSETS version
16195         (GetChar): ditto
16196         (BreakParagraph): ditto
16197         (SetOnlyLayout): ditto
16198         (SetLayout): ditto
16199
16200         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16201         with one arg less.
16202
16203         * lastfiles.C: removed most using decl, add std:: where needed
16204
16205         * buffer.C: ws changes
16206
16207         * MenuBackend.C (class compare_format): put into anon namespace
16208         (expand): constify label, names, action, action2
16209         (expand):
16210
16211         * text.C (SingleWidth): constify font
16212         (IsBoundary): constify rtl2
16213         (GetVisibleRow): constify ww
16214
16215         * LaTeX.C (deplog): constify logfile
16216
16217         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16218         start_x, end_x
16219         (workAreaExpose): constify widthChange, heightChange
16220
16221         * lyxrow.C (par): moved
16222         (height): moved
16223         (next): moved
16224         * lyxrow.h: as inlines here
16225
16226         * lyxfont.h (shape): moved from lyxfont.C
16227         (emph): moved from lyxfont.C
16228
16229         * lyxfont.C (LyXFont): use initialization list for all
16230         constructors
16231         (shape): move to lyxfont.h as inline
16232         (emph): move to lyxfont.h as inline
16233
16234
16235 2001-04-04  Juergen Vigna  <jug@sad.it>
16236
16237         * vspace.C: had to include stdio.h for use of sscanf
16238
16239 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16240
16241         * BufferView.h:
16242         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16243         independent of xforms.
16244
16245 2001-04-02  Juergen Vigna  <jug@sad.it>
16246
16247         * spellchecker.C: fixed namespace placing!
16248
16249 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16250
16251         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16252         the LyXParagraph * is 0.
16253
16254 2001-03-29  Juergen Vigna  <jug@sad.it>
16255
16256         * vspace.C: added support for %, c%, p%, l%.
16257         (stringFromUnit): added helper function.
16258         (asLatexString): changed to give right results for the %-values.
16259
16260         * buffer.C: convert the widthp in a width%.
16261
16262 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16265         figureForm.[Ch].
16266
16267         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16268         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16269
16270         * lyx_cb.[Ch]: see above.
16271
16272         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16273         form1.[Ch].
16274
16275         * form1.[Ch]:
16276         * lyx.[Ch]: replaced by figure_form.[Ch].
16277
16278         * lyx_gui.C:
16279         * lyx_gui_misc.C:
16280         * lyxfunc.C: changed headers associated with above changes.
16281
16282 2001-03-27  Juergen Vigna  <jug@sad.it>
16283
16284         * BufferView_pimpl.C: set the temporary cursor right!
16285
16286 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16287
16288         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16289
16290 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16291
16292         * LString.h: removed "using std::getline"!
16293
16294         * BufferView_pimpl.C (Dispatch): changes due to changes in
16295         InsetInclude::Params.
16296
16297         * buffer.C (tag_name): removed redundant break statements as they were
16298         producing lots of warnings with my compiler.
16299
16300 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * LString.h: add "using std::getline" when using the real <string>.
16303
16304 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16305
16306         * buffer.C: removed bitset usage.
16307         PAR_TAG moved to an anonymous name space.
16308         (tag_name): new funtion, also in the anonymous namespace.
16309         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16310         (makeDocBookFile): clean code. Completed transition from string arrays
16311         to string vectors.
16312         (SimpleDocBookOnePar): code clean.
16313
16314 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16315
16316         * tabular.C: add some comments.
16317
16318 2001-03-22  Juergen Vigna  <jug@sad.it>
16319
16320         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16321         compatibility read a bit and fixed bug with minipage in different
16322         depth.
16323
16324 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16325
16326         * buffer.C (pop_tag): removed.
16327         (push_tag): removed.
16328         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16329         array replaced with vector. Added support for CDATA sections.
16330         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16331         at any nest level.
16332         (makeDocBookFile): XML conformant declaration of CDATA section,
16333         fixed bug related to <emphasis> in the first paragraph char.
16334         (sgmlOpenTag): exclude empty tags.
16335         (sgmlCloseTag): ditto.
16336
16337         * buffer.h (pop_tag): removed.
16338         (push_tag): removed.
16339
16340 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16341
16342         * language.h (Languages): added size_type and size().
16343
16344 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16345
16346         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16347         response on compability reading of minipages. One probliem is that
16348         the old usage of minipages was «flertydig»
16349
16350         * several files here and in subdirs: don't use static at file
16351         scope use anon namespaces instead.
16352
16353 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16354
16355         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16356         LaTeX output. This is necessary for Literate document
16357         processing.
16358
16359 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16360
16361         * buffer.C: insert hfill when needed.
16362
16363         * tabular.C (l_getline): use string::erase, small whitespace change.
16364
16365         * BufferView_pimpl.C: try the anon namespace.
16366         * WorkArea.C: ditto
16367
16368 2001-03-16  Juergen Vigna  <jug@sad.it>
16369
16370         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16371         otherwise it won't open options-dialogs.
16372
16373         * buffer.C: honor pextraWidth(p) on converting minipages.
16374
16375         * tabular.C (l_getline): changed the functions to strip trailing \r.
16376
16377 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16378
16379         * BufferView_pimpl.C:
16380         * minibuffer..C: added "using SigC::slot" declaration.
16381
16382 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16383
16384         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16385
16386         * text2.C: ditto
16387
16388         * text.C: ditto
16389
16390         * paragraph.C: ditto
16391
16392         * lyxtext.h: NO_PEXTRA
16393
16394         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16395
16396         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16397         * ParameterStruct.h: ditto
16398         * ParagraphParameters.h: ditto
16399         * lyxparagraph.h: ditto
16400
16401 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16402
16403         * buffer.C: add compability for minipage alignment.
16404         (latexParagraphs): remove unwanted pextra check.
16405
16406         * several files: remove CXX_WORKING_NAMESPACES
16407
16408         * buffer.C (pop_tag): tie is in namespace boost
16409
16410         * BufferView.h: noncopyable is in namespace boost
16411         * lyxlex.h: ditto
16412         * lyx_main.h: ditto
16413         * lyx_gui.h: ditto
16414         * layout.h: ditto
16415         * lastfiles.h: ditto
16416         * bufferlist.h: ditto
16417         * ShareContainer.h: ditto
16418         * LyXView.h: ditto
16419         * LyXAction.h: ditto
16420         * LaTeX.h: ditto
16421
16422 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16423
16424         * Merging changes from BRANCH_MVC back into HEAD.
16425
16426         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16427
16428 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16429
16430         * BufferView_pimpl.C: change from intl.C
16431
16432         * combox.h:
16433         * combox.C:
16434         * Makefile.am: move combox.*
16435
16436         * form1.h:
16437         * form1.C:
16438         * lyx_gui.C:
16439         * intl.h:
16440         * intl.C: remove dialog (covered by prefs)
16441
16442 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16443
16444         * lyxfunc.C (Dispatch): removed redundant break statement.
16445
16446 2001-03-14  Juergen Vigna  <jug@sad.it>
16447
16448         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16449
16450 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16451
16452         * buffer.C: add hack to fix compability reading of minipages.
16453
16454 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16455
16456         * buffer.C (getLists): Cleanup.
16457
16458 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16459
16460         * lyxfont.C (update): don't honor toggleall on font size.
16461
16462 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16463
16464         * bmtable.c:
16465         * bmtable.h:
16466         * Makefile.am: moved to frontends/xforms/
16467
16468         * lyx_gui_misc.C:
16469         * lyxfunc.C:
16470         * BufferView_pimpl.C: changes for moved mathpanel
16471
16472 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16473
16474         * gettext.h: fix gettext_init() in --disable-nls
16475
16476 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16477
16478         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16479
16480 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16481
16482         * lyx.C:
16483         * lyx.h: strip external form
16484
16485 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16486
16487         * BufferView_pimpl.C: add comment, destroySplash()
16488
16489 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16490
16491         * BufferView_pimpl.C:
16492         * LyXAction.C:
16493         * buffer.C:
16494         * commandtags.h:
16495         * lyxfunc.C: use re-worked insetinclude
16496
16497 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16498
16499         * buffer.C: add using std::stringstream.
16500
16501         * lyx_cb.C: readd using std::ios.
16502
16503         * buffer.C: add using std::map.
16504
16505         * BufferView_pimpl.C: add using std::vector.
16506
16507         * ShareContainer.h: add std:: to swap.
16508
16509         * buffer.h: add some typedefs
16510         * buffer.C (getLists): use them
16511         (getLists): renamed from getTocList.
16512         add a counter for the different float types and use it in the
16513         generated string.
16514         (getLists): use the same counter for the NEW_INSETS and the "non"
16515         NEW_INSETS
16516
16517         * lyx_cb.h: remove unused items, includes, using etc.
16518
16519         * ShareContainer.h: remove some commented code, add more comments
16520         and "documentation".
16521
16522 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16523
16524         * buffer.C (getTocList): make the list also when NEW_INSETS is
16525         defined.
16526
16527         * buffer.h: remove TocType
16528
16529         * buffer.C (getTocList): change to return a map<string,
16530         vector<TocItem> >, implement for dynamic number of list.
16531
16532         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16533         * text2.C (PasteSelection): adjust
16534         * CutAndPaste.C (pasteSelection): adjust
16535
16536         * FloatList.C (FloatList): update from the new_insets branch.
16537         * Floating.[Ch]: ditto
16538         * LaTeXFeatures.C: ditto
16539         * buffer.C: ditto
16540         * lyxlex_pimpl.C: ditto
16541
16542         * paragraph.C (Last): remove when NEW_INSETS is defined.
16543
16544         * other file: changes because of the above.
16545
16546 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16547
16548         * lyxparagraph.h: rename next to next_, previous to previous_,
16549         make them private for NEW_INSETS. Rename Next() to next(),
16550         Previous() to previous().
16551
16552         * other files: changes because of the above.
16553
16554 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16555
16556         * BufferView.h:
16557         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16558         problem.
16559
16560 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16561
16562         * main.C (main): pass lyx_localedir to gettext_init().
16563
16564         * gettext.h: remove locale_init and gettext_init macros
16565
16566         * gettext.C (locale_init): new function
16567         (gettext_init): new function
16568
16569         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16570         setlocale().
16571
16572 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16573
16574         * Moved credits to frontends:
16575         * credits.[Ch]: removed
16576         * credits_form.[Ch]: removed
16577         * lyx_gui_misc.C: remove credits stuff
16578         * Makefile.am:
16579
16580 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16581
16582         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16583
16584         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16585         unneeded destructor.
16586
16587         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16588         a standalone pointer again.
16589
16590         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16591
16592 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16593
16594         * Makefile.am:
16595         * filedlg.h:
16596         * filedlg.C:
16597         * LyXAction.C:
16598         * ToolbarDefaults.C:
16599         * bufferlist.C:
16600         * commandtags.h:
16601         * form1.C:
16602         * form1.h:
16603         * lyx_cb.C:
16604         * lyx_cb.h:
16605         * lyxfunc.h:
16606         * lyxfunc.C:
16607         * BufferView_pimpl.C: use new file dialog in GUII
16608
16609         * lyx_cb.h:
16610         * lyx_cb.C: remove LayoutsCB to Toolbar
16611
16612 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * ShareContainer.h (get): add std:: qualifier
16615
16616 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16617
16618         * ShareContainer.h: define a proper ShareContainer::value_type
16619         type (and use typename to please compaq cxx)
16620
16621 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16622
16623         * lyxparagraph.h: move serveral local vars to
16624         ParameterStruct/ParagraphParameters., use ShareContainer in
16625         FontTable., make vars in FontTable private and add getter and
16626         setter.
16627
16628         * paragraph.C: changes because of the above.
16629
16630         * lyxfont.h: remove copy constructor and copy assignment. (the
16631         default ones is ok), move number inside FontBits. move inlines to
16632         lyxfont.C
16633
16634         * lyxfont.C: add number to initializaton of statics, move several
16635         inlines here. constify several local vars. some whitespace
16636         cleanup. Dont hide outerscope variables.
16637
16638         * Spacing.h: add two new constructors to match the set methods.
16639
16640         * ShareContainer.h: new file, will perhaps be moved to support
16641
16642         * ParameterStruct.h: new file
16643
16644         * ParagraphParameters.h: new file
16645
16646         * ParagraphParameters.C: new file
16647
16648         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16649         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16650
16651         * BufferView_pimpl.C: ParagraphParameter changes.
16652         * buffer.C: Likewise.
16653         * bufferview_funcs.C: Likewise.
16654         * text.C: Likewise.
16655         * text2.C: Likewise.
16656
16657 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16658
16659         * lyxfind.C (LyXReplace): do not redefine default argument in
16660         implementation.
16661         (IsStringInText): ditto
16662         (SearchForward): ditto
16663         (SearchBackward): ditto
16664
16665 2001-03-06  Juergen Vigna  <jug@sad.it>
16666
16667         * lyxfind.C (IsStringInText): put parentes around expressions.
16668
16669 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16670
16671         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16672
16673 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16674
16675         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16676
16677         * stl_string_fwd.h: add comment
16678
16679         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16680
16681         * tabular.h:
16682         * tabular.C: remove unused DocBook methods
16683
16684         * intl.C:
16685         * language.C:
16686         * paragraph.C:
16687         * buffer.C:
16688         killed DO_USE_DEFAULT_LANGUAGE
16689
16690 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * lyx_gui.C: do not include language.h.
16693
16694         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16695         arguments in function implementation.
16696
16697 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16698
16699         * BufferView_pimpl.C: add <ctime>
16700
16701 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16702
16703         * BufferView_pimpl.C: add using std::find_if
16704
16705 2001-02-27  José Matos  <jamatos@fep.up.pt>
16706
16707         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16708         by OnlyPath.
16709
16710 2001-02-11  José Matos  <jamatos@fep.up.pt>
16711
16712         * buffer.C (makeDocBookFile): command styles now have a parameter as
16713         "title" by default.
16714
16715 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16716
16717         * layout_forms.[Ch]: removed
16718         * lyx_cb.[Ch]: out character
16719         * lyx_gui.C: out character
16720         * lyx_gui_misc.C: out character
16721         * bufferview_funcs.C: : out character,
16722         added toggleall as parameter in ToggleAndShow
16723
16724 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16725
16726         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16727
16728         * text2.C (SetCurrentFont): Disable number property at boundary.
16729
16730 2001-02-26  Juergen Vigna  <jug@sad.it>
16731
16732         * lyxfunc.C (getStatus): added a string argument override function so
16733         that this is correctly called from LyXFunc::Dispatch if it contains a
16734         do_not_use_argument which is used!
16735         (Dispatch): added check for "custom" export and call appropriate func.
16736
16737 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16738
16739         * lyxrc.C: Add language_command_local, language_use_babel and
16740         language_global_options.
16741
16742         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16743
16744         * buffer.C (makeLaTeXFile): Use language_use_babel and
16745         language_global_options.
16746
16747 2001-02-23  Juergen Vigna  <jug@sad.it>
16748
16749         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16750         which works with LyXText and putted it inside BufferView. Here now we
16751         only call for that part the BufferView::Dispatch() function.
16752
16753         * BufferView.C (Dispatch): added.
16754
16755         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16756         functions which needs to use a LyXText over from LyXFunc.
16757         (MenuInsertLyXFile): added
16758         (getInsetByCode): added
16759         (moveCursorUpdate): added
16760         (static TEXT): added
16761
16762 2001-02-22  Juergen Vigna  <jug@sad.it>
16763
16764         * BufferView_pimpl.C (update): call a status update to see if LyXText
16765         needs it.
16766
16767 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16768
16769         * vc-backend.C (revert): implement for CVS
16770         (getLog): implement for CVS
16771
16772 2001-02-20  Juergen Vigna  <jug@sad.it>
16773
16774         * text2.C (ClearSelection): added BufferView param for inset_owner call
16775
16776         * lyxfunc.C (TEXT): added this function and use it instead of
16777         directly owner->view()-text of getLyXText().
16778
16779 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16780
16781         * src/layout_forms.C: out preamble
16782         * src/layout_forms.h: out preamble
16783         * src/lyx_cb.C: out preamble
16784         * src/lyx_cb.h: out preamble
16785         * src/lyx_gui.C: out preamble
16786         * src/lyx_gui_misc.C: out preamble
16787         * src/lyxfunc.C: connect with guii preamble
16788
16789 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16790
16791         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16792
16793 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16794
16795         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16796         whether to run bibtex.
16797
16798 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16799
16800         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16801
16802 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16803
16804         * Makefile.am (lyx_SOURCES): removed bibforms.h
16805
16806         * vspace.h: doxygen
16807
16808         * text.C (GetVisibleRow): make several local vars const
16809
16810         * tabular.C: small cleanup.
16811
16812         * lyxserver.C (callback): use compare instead of strncmp
16813
16814         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16815         inlines to after class or to paragraph.C
16816
16817         * lyxfont.h: remove friend operator!=
16818
16819         * converter.h: move friend bool operator< to non friend and after
16820         class def.
16821
16822         * combox.h: small cleanup
16823
16824         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16825         to inlines after class def.
16826
16827         * buffer.C (pop_tag): use string operations instead of strcmp
16828
16829         * bmtable.c: doxygen, small cleanup
16830
16831         * LaTeX.h: remove friend operator==
16832
16833 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16834
16835         * screen.C:
16836         * lyxrc.[Ch]:
16837         * lyxfunc.C:
16838         * lyxfont.[Ch]:
16839         * lyx_cb.C:
16840         * intl.[Ch]:
16841         * commandtags.h:
16842         * buffer.C:
16843         * WorkArea.[Ch]:
16844         * LyXAction.C:
16845         * BufferView_pimpl.C:
16846         * BufferView.[Ch]: remove cruft
16847
16848 2001-02-14  Juergen Vigna  <jug@sad.it>
16849
16850         * lyxfunc.C: removed #if 0 unused code
16851
16852         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16853
16854         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16855
16856         * text2.C (SetSelection): added a BufferView * parameter
16857
16858 2001-02-13  Juergen Vigna  <jug@sad.it>
16859
16860         * lyxfunc.C (Dispatch): fixed protected blank problem.
16861         * BufferView2.C (protectedBlank): added LyxText * parameter.
16862
16863         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16864         (AppendColumn): same as above for column_info.
16865
16866         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16867         (moveCursorUpdate): use a LyXText param for support of InsetText.
16868
16869         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16870         (tripleClick): ditto
16871
16872         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16873
16874         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16875
16876         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16877
16878         * text2.C (SetSelection): set correct update status if inset_owner
16879         (ToggleFree): ditto
16880
16881 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16882
16883         * tabular.C: remove some commented code.
16884
16885 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16886
16887         * BufferView_pimpl.C: call hideSplash()
16888
16889         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16890
16891         * include_form.h:
16892         * bibforms.h: remove
16893
16894         * lyxfunc.C:
16895         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16896           add LFUN_CHILD_CREATE
16897
16898         * counters.h: fix tiny typo
16899
16900         * lyx_cb.C:
16901         * lyx.h:
16902         * lyx_gui.C:
16903         * lyx.C: move splash to frontends/xforms/
16904
16905         * lyx_gui_misc.C: move Include and Bibform to frontends
16906
16907         * lyxvc.h: clarify comment
16908
16909         * vspace.C: tiny housekeeping
16910
16911 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16912
16913         * text.C (PrepareToPrint): RTL Fix.
16914
16915         * paragraph.C (GetUChar): New method.
16916         (String):  Use GetUChar.
16917
16918         * buffer.C (asciiParagraph): Use GetUChar.
16919
16920 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16921
16922         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16923
16924 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16925
16926         * buffer.h:
16927         * buffer.C: rename to getLogName(), handle
16928           build log / latex log nicely
16929
16930 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16931
16932         * MenuBackend.C:
16933         * MenuBackend.h: remove support for reference menuitem type.
16934
16935 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16936
16937         * BufferView_pimpl.C: housekeeping
16938         * BufferView_pimpl.h:
16939         * LyXView.h:
16940         * Makefile.am:
16941         * Timeout.C:
16942         * Timeout.h:
16943         * minibuffer.h: move Timeout GUI-I
16944
16945 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16946
16947         * lyxrc.C (read): Update converters data-structures.
16948
16949 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16950
16951         * LaTeX.h (operator!=): add operator != for Aux_Info
16952
16953 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16956
16957         * LaTeXLog.C: deleted, useful code moved to Buffer
16958
16959         * buffer.h:
16960         * buffer.C: new function getLatexLogName()
16961
16962         * lyx_gui_misc.C:
16963         * lyx_gui.C:
16964         * lyxvc.C:
16965         * lyxvc.h:
16966         * lyxfunc.C: use frontends for LaTeX and VC logs
16967
16968 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16969
16970         * LaTeX.h: yet another std:: that Allan forgot.
16971
16972         * Variables.C (set): renamed from isset(), because this clashes
16973         with some HP-UX macros (grr).
16974
16975 2001-02-06  Allan Rae  <rae@lyx.org>
16976
16977         * LaTeX.h: Another bug fix.  Missing std:: this time.
16978
16979 2001-02-04  Allan Rae  <rae@lyx.org>
16980
16981         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16982         floats problem. I've left it commented out because it's not quite
16983         correct.  It should also test that the current object is a table or
16984         figure inset.  But I haven't gotten around to figuring out how to do
16985         that.  I *think* it'll be something like: "table" == inset.type()
16986
16987         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16988         bool.
16989
16990 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16991
16992         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16993         all the citation/databases/styles in the auxilary file.
16994         (run): Rerun latex if there was a babel language error.
16995
16996 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16997
16998         * text.C (Backspace): Preserve the font when changing newline char
16999         with a space.
17000         (BreakParagraph): If the cursor is before a space, delete the space.
17001
17002         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17003
17004 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17005
17006         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17007         new argument (code).
17008         (ChangeCitationsIfUnique): New method.
17009
17010         * paragraph.C (GetPositionOfInset): Handle bibkey.
17011
17012 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17013
17014         * BufferView_pimpl.h: change type of Position::par_pos to
17015         LyXParagraph::size_type.
17016
17017 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17018
17019         * BufferView_pimpl.C (savePosition, restorePosition): Write
17020         messages to minibuffer.
17021
17022 2001-01-28  José Matos  <jamatos@fep.up.pt>
17023
17024         * buffer.C (makeDocBookFile): adds support for document language.
17025         A silly restriction on the name of LatexCommand types where removed.
17026         Added support for CDATA sections, allows to chars unescaped, used
17027         among others in code, to avoid escape < and >.
17028
17029 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17030
17031         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17032         saved positions instrad of a stack. Furthermore, a position is
17033         stored using paragraph id/paragraph position.
17034
17035         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17036         Remove LFUN_REF_BACK.
17037
17038 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17039
17040         * converter.C (dvipdfm_options): New method.
17041
17042 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17043
17044         * vspace.C (isValidLength): Fix for empty input string.
17045
17046 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17047
17048         * LyXAction.C (init): change description of LFUN_FIGURE to
17049         "Insert Graphics"
17050
17051 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * LaTeX.C: add using directive
17054
17055 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17056
17057         * MenuBackend.C (expand): Fix the sorting of the formats.
17058
17059 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17060
17061         * lyx_main.C: tiny error message fix
17062
17063 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17064
17065         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17066         calling fl_initialize(). This fixes the problem with ',' as
17067         decimal separator in text files.
17068
17069 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17070
17071         * trans.C (process): Fix the keymap bug.
17072
17073 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17074
17075         * LaTeX.C (scanAuxFiles): New method. Provides support for
17076         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17077         (scanLogFile) Scan for "run BibTeX" messages.
17078
17079         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17080         OT1 font encoding. Also, load the aecompl package if the ae
17081         package is loaded.
17082
17083         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17084
17085 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17086
17087         * texrow.C (increasePos): turn two error messages into debug
17088         messages.
17089
17090 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17091
17092         * LaTeX.C (scanAux): Handle the \@input macro.
17093         (runBibTeX): Use scanAux().
17094
17095         * language.C (latex_options_): New field.
17096
17097         * LaTeXFeatures.C (getMacros): Add language macros.
17098
17099         * buffer.C (makeLaTeXFile): Small fix.
17100
17101 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17104
17105         * text2.C: add a using directive.
17106
17107 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17108
17109         * BufferView2.C:
17110         * lyx_gui_misc.h:
17111         * lyxfr1.C:
17112         * lyxfunc.C: kill LyXBell.
17113
17114 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17115
17116         * text.C (IsBoundary): Remove the error message
17117
17118         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17119
17120         * lyxrc.C (setDefaults): Correct initialization value for
17121         font_norm_type.
17122
17123 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17124
17125         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17126         gotoError().
17127
17128         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17129         and GotoNextNote().
17130
17131         * src/LyXAction.C: Added reference-next.
17132
17133         * text.C (InsertChar): Use contains instead of strchr.
17134
17135         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17136
17137 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17138
17139         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17140         alignment commands (when needed).
17141
17142         * text.C (InsertChar): Add ':' to number separator chars.