]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4f7f33316fa855986389deb399ae5b69f3b2eee1
[lyx.git] / src / ChangeLog
1 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * CutAndPaste.C (pasteSelectionHelper): fix a crash
4
5 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * buffer.C: format up to 241.
8         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
9         break if pasting into ERT
10         * lyxfunc.C (getStatus): suppress mathpanel and
11         LFUN_DIALOG_SHOW_NEW_INSET in ERT 
12
13 2005-02-01  Angus Leeming  <leeming@lyx.org>
14
15         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
16
17 2005-02-01  Angus Leeming  <leeming@lyx.org>
18
19         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
20         calling fs::is_directory().
21
22 2005-01-31  Angus Leeming  <leeming@lyx.org>
23
24         * lyx_main.C (priv_exec): specify explicitly the relative location
25         of the top level build directory when run in-place.
26
27 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
30         LyXText containing the cursor, not the top-level one.
31
32         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
33         true. 
34         (insertStringAsLines): rename par to pit; use temporary variable
35         par to hold a Paragraph; do not store par.layout() in a variable,
36         since the pointer may die when breaking paragraphs; pass pars to
37         breakParagraph() instead of Buffer::paragraphs().
38
39 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
40
41         * lyxlex_pimpl.h: #include <fstream>.
42
43         * BufferView.[Ch] (getLyXText): add a const version.
44
45         * BufferView_pimpl.C: add debug aids.
46
47         * RowList_fwd.h:
48         * buffer.h:
49         * lyxrow.h:
50         * paragraph_funcs.h: add commentary explaining what the class does.
51
52
53         * coordcache.[Ch]: add lots of commentary.
54         (startUpdating, doneUpdating): debug aids.
55         (arrays, insets, parPos, getParPos): accessors to private data.
56
57         * cursor_slice.[Ch] (text): add a const version.
58         * dociterator.[Ch] (text, innerText): add const versions.
59
60         * lyxtext.h (breakParagraph): change the keep_layout arg to a
61         bool.
62
63         * paragraph.C (getRow, pos2ros): add asserts.
64
65         * paragraph.h: add commentary. Lots of.
66
67         * paragraph.[Ch] (metrucs, draw): removed.
68
69         * cursor.C:
70         * rowpainter.[Ch]: const-correct changes.
71
72         * text.C: various obvious clean-ups. Removal of ancient cruft.
73         Bug fixes, even.
74         
75 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * vc-backend.C (find_file): rewrite to use boost.filesystem
78         (scanMaster): ditto
79
80         * main.C (main): set default name check for boost.filesystem to
81         no check
82
83         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
84         (open): ditto
85         (doImport): ditto
86         (actOnUpdatedPrefs): ditto
87
88         * lyx_main.C (init): rewrite to use boost.filesystem
89         (queryUserLyXDir): ditto
90
91         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
92         (getContentsOfAsciiFile): ditto
93
94         * lastfiles.C (readFile): rewrite to use boost.filesystem
95
96         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
97
98         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
99         (loadLyXFile): ditto
100
101         * buffer.C (Buffer): adjust for destroydir
102         (getLogName): rewrite to use boost.filesystem
103         (setFileName): ditto
104         (save): use fs::copy_file (from fs_extras)
105
106         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
107
108         * LaTeX.C (run): rewrite to use boost.filesystem
109         (scanAuxFiles): ditto
110         (handleFoundFile): ditto
111
112 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
115
116         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
117
118 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
119
120         * lyxlayout.[Ch]: change some vars from float to double
121
122         * buffer.C (readFile): make a local var const
123
124         * Several files: use convert<> instead of atoi,strToXXX and friends
125
126 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
127
128         * LaTeXFeatures.[Ch]: Add a static list packages_ that
129         holds the contents of packages.lst. New functions getAvailable
130         and isAvailable to parse and check that list, resp.
131
132         * LyXAction.C:
133         * lfuns.h:
134         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
135
136         * bufferparams.[Ch]: new param output_changes.
137
138         * Buffer.C: increase file format to 240.
139         Use output_changes and isVailable.
140
141         * changes.[Ch]:
142         * paragraph.C:
143         * paragraph_pimpl.C: Use output_changes and isVailable.
144
145 2005-01-23  Angus Leeming  <leeming@lyx.org>
146
147         * output_latex.C: #include "insetbibitem.h", rather than
148         forward declare function bibitemWidest.
149
150 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
151
152         * lyx_main.C (init): make it compile on the Mac.
153
154 2005-01-20  Angus Leeming  <leeming@lyx.org>
155
156         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
157         (setLyXMisc): (char string literal) != (char string literal) is
158         performing a comparison on the addresses. Convert one operand
159         explicitly to string to guarantee expected behaviour.
160         From MSVC warning.
161
162 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
163
164         * buffer.C:
165         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
166
167         * output_plaintext.C: remove unneeded #include gzstream.h.
168
169 2005-01-20  Angus Leeming  <leeming@lyx.org>
170
171         * SpellBase.h: rename some of the elements of the Result enum.
172
173         * aspell_local.h:
174         * ispell.h:
175         * pspell.h:
176         * aspell.C (check):
177         * ispell.C (check):
178         * pspell.C (check): ditto
179
180 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
181
182         * buffer.C: add #include <fstream>.
183
184         * lyx_main.C (init): Compile fix.
185
186         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
187
188 2005-01-20  Angus Leeming  <leeming@lyx.org>
189
190         * mover.h: change commentary to reflect the changed meaning of
191         the $$s placeholder.
192
193 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * output_linuxdoc.C (linuxdocParagraphs): silence warning
196
197         * lyxfind.C (MatchString::operator()): remove bogus semicolon
198
199 2005-01-20  Angus Leeming  <leeming@lyx.org>
200
201         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
202         printing diagnostic data by not dereferecing an iterator past the
203         end.
204
205 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
206
207         * buffer.C (readHeader): use "&&" rather than "and".
208
209         * lyxserver.h (inPipeName, outPipeName): make these const.
210
211 2005-01-19  Angus Leeming  <leeming@lyx.org>
212
213         * lyx_main.C (error_handler, init): protect SIGHUP with
214         #ifdef SIGHUP guards.
215
216 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
217
218         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
219
220 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * text.C (setHeightOfRow): add a margin at the top and bottom of
223         the document (bug 1761)
224
225 2005-01-17  Angus Leeming  <leeming@lyx.org>
226
227         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
228         with "python ". Workaround for a brain-dead Windows.
229
230 2005-01-16  Angus Leeming  <leeming@lyx.org>
231
232         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
233         for MacOSX and Windows to use prependEnvPath.
234         Strip out the hard-coded block to add elements to the PATH for
235         MacOSX and replace it with a call to prependEnvPath using the
236         contents of LyXRC::path_prefix.
237         (queryUserLyXDir): strip out the code to run reconfigure, instead
238         returning a boolean indicating the necessity to do so.
239         (reconfigureUserLyXDir): contains the code to reconfigure the
240         user support directory. Is now called after the various LyXRC data
241         files have been read.
242
243         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
244
245 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
246
247         * converter.[Ch] (convert): take a new parameter try_default. Use
248         a default converter (imagemagick) if try_default is true.
249
250 2005-01-13  Angus Leeming  <leeming@lyx.org>
251
252         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
253         os::cygwin_path_fix.
254         (write): output LyXRC::cygwin_path_fix as necessary.
255
256 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
257
258         * lyxrc.h:
259         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
260
261 2005-01-12  Angus Leeming  <leeming@lyx.org>
262
263         * lyx_main.C (init): set the PATH variable to include the
264         directory containing the LyX binary when running on Mac or Windows.
265
266 2005-01-12  Angus Leeming  <leeming@lyx.org>
267
268         * lyx_main.C (init): remove cruft that purports to set the locale
269         dir. It doesn't and is not needed anyway.
270
271 2005-01-10  Angus Leeming  <leeming@lyx.org>
272
273         * Makefile.am: remove the lyx_main.C special casing.
274
275         * BufferView_pimpl.C:
276         * bufferlist.C:
277         * exporter.C:
278         * lyx_cb.C:
279         * lyx_main.C:
280         * lyxfunc.C:
281         * messages.C: use support/package.h to provide the paths to the
282         various directories used by LyX.
283
284 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
287         layout if pasting into an empty paragraph)
288
289 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
290
291         * tex-accent.C: add <string>
292
293 2005-01-06  José Matos  <jamatos@lyx.org>
294
295         * ParagraphParameters.C (write): put every parameter in its own line.
296         * paragraph.C (write): reduce number of consecutive empty lines exported.
297         * buffer.C (LYX_FORMAT): increase file format to 239.
298
299 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
300
301         * everywhere: change support/tostr.h -> support/convert.h
302
303         * tabular.C: make all write_attributes templates, tostr -> convert
304
305         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
306         (emptyTag): and -> &&, and fix type for ret from getChar
307         (getFirstWord): fix type for ret from getChar
308         (onlyText): and -> &&
309         (simpleDocBookOnePar): and not -> && !, fix type for ret from
310         getChar
311
312         * toc.C (goTo, action):
313         * text3.C (dispatch):
314         * text.C (currentState):
315         * tex-accent.C (DoAccent):
316         * sgml.C:
317         * lyxrc.C:
318         * lyxfunc.C (menuNew):
319         * lyxfinc.C (replace):
320         * counters.C (laberItem):
321         * bufferview_funcs.C (font2string):
322         * bufferparams.C (writeFile):
323         * buffer.C (readFile):
324         * Spacing.C (set):
325         * MenuBackend.C: tostr -> convert
326
327         * LaTeX.C (runMessage): fix format
328         (scanAuxFiles): tostr -> convert
329
330         * BufferView_pimpl.C (savePosition): fix format
331         (restorePosition): ditto
332         (dispatch): ditto
333
334 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
335
336         * Spacing.[Ch]: New method getValueAsString().
337
338         * Spacing.[Ch]:
339         * bufferparams.C:
340         * ParagraphParameters.C:
341         * lyxlayout.C:
342         * text.C:
343         * text3.C: store/read spacing value as string.
344
345         * rowpainter.C: change float value (spacing_val) to double.
346
347         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
348         broken custom document spacing).
349
350 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
351
352         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
353         namespace, also more use of temp references and const
354
355         * cursor.[Ch] (getStatus): move to lyxfunc.C
356
357         * bufferparams.C: reformat slightly
358
359         * bufferview_funcs.C (font2string): constify arg
360
361         * changes.C:
362         * converter.C:
363         * counters.C:
364         * bufferlist.C:
365         * buffer_funcs.C: (many funcs): constify arg on function
366         definitions, also make more local vars const, also add ASSERTS on
367         pointer args.
368
369         * buffer.C (LYX_FORMAT): put const in correct place
370         (many funcs): constify arg on function definitions, also make
371         more local vars const
372
373         * aspell_local.h: remove "struct" from typdef setup
374
375         * aspell.C (check): make word_ok const
376         (nextMiss): simplify slightly
377         (error): ditto
378
379 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
380
381         * lyxrc.[Ch]: store all float values as strings.
382         use int (not float) for lyxrc.dpi.
383
384 2005-01-04  Angus Leeming  <leeming@lyx.org>
385
386         * lyx_cb.C (Reconfigure):
387         * lyx_main.C (queryUserLyXDir):
388         to run the <system_lyxdir>/configure correctly on Windows, prefix
389         the path to the script with "sh " when generating the string that
390         is passed to system().
391
392 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
395
396 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyxlength.C (asLatexString): get rid of setprecision
399
400 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * text2.C (setLayout): remove unused variable endpit.
403         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
404
405         * paragraph.C (onlyText): remove unused variable style.
406
407         * cursor.C (bruteFind): remove unused variables beg and end.
408
409         * Makefile.am (dist_noinset_DATA): not needed anymore
410
411         * cheaders/*: remove.
412
413 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
414
415         * text3.C: fix LFUN_MATH_MODE.
416
417 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * buffer_funcs.C (countWords): new function. Counts words between
420         two iterators.
421
422         * BufferView_pimpl.C (getStatus, dispatch): handle
423         LFUN_WORDS_COUNT.
424
425         * LyXAction.C (init):
426         * lfuns.h: add LFUN_WORDS_COUNT.
427
428 2004-12-19  Angus Leeming  <leeming@lyx.org>
429
430         * buffer.C (save): s/slashify_path/internal_path/.
431
432 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * lyxfind.C (findChange): do not search for end of pars, because
435         the change tracker cannot handle this (fixes bug 1719).
436
437 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * paragraph.[Ch] (autoBreakRows): remove
440
441         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
442
443         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
444         avoid using the paragraph one
445
446         * text2.C (LyXText, insertStringAsLines): adjust
447
448 2004-12-16  Angus Leeming  <leeming@lyx.org>
449
450         * bufferlist.C:
451         * lyx_main.C:
452         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
453
454 2004-12-14  Angus Leeming  <leeming@lyx.org>
455
456         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
457
458         * bufferlist.C (emergencyWrite):
459         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
460         GetEnvPath("HOME").
461
462 2004-12-14  Angus Leeming  <leeming@lyx.org>
463
464         * main.C: (main): no longer pass pointers to os::init.
465
466 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * undo.C (textUndoOrRedo): simplify logic, fix a crash
469         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
470
471 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * lyxfunc.C:
474         * text3.C: remove selection_possible global flag
475
476 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text2.C (getSelectionSpan): remove
479         (changeDepth, changeDepthAllowed): adjust
480
481 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
482
483         * Makefile.am (BOOST_LIBS): use boost variables
484
485 2004-12-03  José Matos  <jamatos@lyx.org>
486
487         * buffer.C: format up to 238.
488
489 2004-12-03  José Matos  <jamatos@lyx.org>
490
491         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
492
493 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
494
495         * cursor.C (goUpDown): remove call to idxUpDown2
496
497 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
498
499         * tabular.[Ch]: use size_t-like types for cell, row and column
500         indices
501
502 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
503
504         * lyxfunc.C (getStatus): do not lose previous information when
505         calling BufferView::getStatus; do not set a default "Command
506         disabled" message at the beginning, but just before returning.
507
508 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
509
510         * cursor.h (getStatus): add better comment from src/cursor.C
511
512 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * text3.C (getStatus): return false when the lfun is not handled
515
516 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * broken_headers.h: remove
519
520         * Makefile.am (lyx_SOURCES): remove broken_headers.h
521
522 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
525         offset_ref accessors
526
527         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
528         top_y_, merge fitcursor with update
529         (updateScrollbar, scrollDocView, fitCursor, center, update): new
530         coord scheme
531         (metrics): introduce
532         (workAreaDispatch): adapt to new coord scheme
533         (redoCurrentBuffer): remove
534
535         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
536
537         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
538         CurStatus enum.
539
540         * coordcache.[Ch]: add paragraph cache and helpers
541
542         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
543         adjust everywhere
544
545         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
546         (targetX, setTargetX): introduce
547
548         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
549         baseline -> ascent, as the rest of lyx
550
551         * lyxtext.h: remove redoParagraphs, updateParPositions,
552         fullRebreak, redoParagraphInternal. move dist to anon namespace in
553         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
554         have ascent/descent (ascent is ascent of first par)
555
556         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
557         step of BufferView
558
559         * paragraph.[Ch]: unify dimension handling with the rest of lyx
560
561         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
562
563         * pariterator.C: fix infinite loop introduced in par->pit renaming
564
565         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
566         in insets and LyXText, draw two off-screen paragraphs using
567         NullPainter, and adapt to new coord scheme
568
569         * text.C:
570         * text2.C:
571         * text3.C: adapt lfun handlers to the new coord scheme, which
572         means: there's only guaranteed coord information for onscreen pars
573         plus one above and one below. This implies that one can do search
574         from y coordinates in the range [-1,workHeight]
575
576 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
577
578         * rename a lot of InsetOld to InsetBase
579
580 2004-11-25  Angus Leeming  <leeming@lyx.org>
581
582         * BufferView_pimpl.C:
583         * lyx_cb.C:
584         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
585
586 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
589         call BufferView::getStatus if LCursor::getStatus did nothing
590         (setStatusMessage, getStatusMessage): removed.
591
592         * FuncStatus.C (message): new methods. Used to provide an error
593         message indicating why a command is disabled.
594         (clear, |=, FuncStatus): update for message.
595
596 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
597
598         * lyxfunc.C (dispatch): always call sendDispatchMessage
599
600 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
601
602         * BufferView.C:
603         * BufferView_pimpl.C:
604         * CutAndPaste.C:
605         * FontIterator.C:
606         * buffer.C:
607         * cursor.C:
608         * cursor_slice.[Ch]:
609         * dociterator.[Ch]:
610         * lyxfind.C:
611         * paragraph_funcs.C:
612         * pariterator.C:
613         * rowpainter.C:
614         * text.C:
615         * text2.C:
616         * text3.C:
617         * undo.C: par->pit renaming
618
619 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
620
621         * tabular.C (cellstruct): use initialization, store a shared_ptr
622         to insettext instead of the insettext directly, adjust to fit.
623         (operator=):  new function
624         (swap): new function
625         (rowstruct): use initialization
626         (columnstruct): use initialization
627         (ltType): use initialization
628
629
630         * lyxlength.h (swap): new function
631
632         * LColor.[Ch] (operator=): use the common semantics
633
634 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxfind.C (findNextChange): update the bufferview after setting
637         the selection.
638
639 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
642         number of InsetOptArgs has already been inserted.
643
644         * output_latex.C (latexOptArgInsets): new method. This outputs all
645         the optarg insets, up to the limit defined in the layout file.
646         (optArgInset): removed
647         (TeXOnePar): call latexOptArgInsets; correctly update texrow
648
649 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * paragraph.C (isLetter): remove special spellchecker-related
652         code; return true also for digits
653         (isWord, isKomma): remove
654
655         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
656         * lyxfind.C (MatchString()): use isLetter instead of isWord
657
658 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
659
660         * pariterator.h (operatir=): comment out un-implemented member
661         function.
662
663         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
664         static cast.
665
666 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * lyxfont.h: include LColor.h to satisfy concept checks.
669
670 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
671
672         * pariterator.h: add typdefs for value_type, difference_type,
673         pointer and reference to satisfy concept checks. Also add default
674         constructor for same reason.
675
676         * pariterator.C (operator++): add post-increment operator to
677         satisfy concept checks.
678
679         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
680         checks.
681
682         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
683
684         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
685         checks. Also rename base_type to BaseType to follow naming
686         standard better.
687
688         * FloatList.h: include Floating.h to satisfy concept checks.
689
690 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
691
692         * lyxfunc.C (getStatus): when the origin of the request is menu or
693         toolbar, and the LyXView does not have focus, do as if there was
694         no buffer (bug 1720)
695
696         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
697         FuncRequest to individual entries of LFUN_SEQUENCE
698
699 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * output_latex.C (TeXOnePar): override runparams.moving_arg
702         according to the needprotect value of the current paragraph (bug
703         1739)
704
705         * paragraph.C (simpleTeXOnePar): no need to override
706         runparams.moving_args here
707
708 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
709
710         * vspace.C: fix off-by-one-error, related to fix #1682
711
712 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
713
714         * lengthcommon.C: a more general fix for bug 1682
715
716 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
717
718         * text.C (backspace): fix crash
719
720 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * format.[Ch] (getFormatFromFile): new method
723         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
724
725 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
728
729 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * lyxfunc.C (dispatch): remove the verbose argument
732         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
733         instead
734
735         * kbmap.C (defkey): set the origin of func to KEYBOARD
736
737         * MenuBackend.C (MenuItem):
738         * ToolbarBackend.C (add): set the origin of func to UI
739
740         * funcrequest.[Ch]: add origin member, which indicates which part
741         of LyX requests an action
742
743 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * converter.C (move): don't lie in the error message
746         * converter.h (isReachable, move): document
747
748 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
749
750         * buffer.C: remove unused using lyx::support::atoi
751         * paragraph_funcs.C: ditto
752
753 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * bufferlist.C (exists): use bind and equal_to instead of
756         compare_memfun
757         (getBuffer): ditto
758         * lyxtextclasslist.C (NumberOfClass): ditto
759
760         * cursor.C (insert): use for_each instead of explicit for loop
761
762         * bufferlist.C (getFileNames): use std::transform and
763         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
764
765         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
766         for loop
767
768         * buffer.C (changeLanguage): use for_each instead of explicit for
769         loop
770         (hasParWithID): implement using getParFromID
771
772         * LaTeXFeatures.C: ws change only
773
774         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
775         to cleanup a bit.
776
777         * BufferView_pimpl.C (trackChanges): use for_each instead of
778         expilicit for loop
779
780 2004-11-04  André Pönitz  <poenitz@gmx.net>
781
782         * undo.h:
783         * undo.C (textUndoOrRedo): fix crash when creating undo information.
784
785         * dociterator.C (asDocIterator): use hard assert again.
786
787 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * lyxlength.C (asLatexString): rewrite so that it does not use
790         snprintf anymore
791
792 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * text3.C (specialChar, dispatch): make sure cursor moves to the
795         right after inserting an inset
796
797 2004-11-02  José Matos  <jamatos@lyx.org>
798
799         * output_docbook.C (docbook):
800         * paragraph.C (getID):
801         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
802         garantee that the output is always legal.
803
804         * tabular.C (docbook):
805         * outputprams.[Ch]: remove mixed contents.
806
807 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * text2.C (setCounter): prevent endless loop
810
811 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
812
813         * exporter.C (copyFile): use the mover instead of support::copy()
814         * exporter.C (Export): pass format and latex name to copyFile()
815         * exporter.h (addExternalFile): document
816         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
817
818 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
819
820         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
821
822 2004-10-30  José Matos  <jamatos@lyx.org>
823
824         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
825         text and no inset or font change. This allows to use CDATA
826         sections just for the whole paragraph.
827
828 2004-10-30  José Matos  <jamatos@lyx.org>
829
830         * paragraph.C (getFirstWord): remove unused variable.
831
832 2004-10-30  José Matos  <jamatos@lyx.org>
833
834         * paragraph.C (getFirstWord): the content should always be escaped
835         there.
836         (simpleDocBookOnePar):
837         * output_docbook.C (makeEnvironment): replace reference to CDATA
838         to style pass_thru.
839
840 2004-10-30  José Matos  <jamatos@lyx.org>
841
842         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
843
844 2004-10-30  José Matos  <jamatos@lyx.org>
845
846         * output_docbook.C (makeParagraphs):
847         * paragraph.[Ch] (emptyTag): for docbook and company, if the
848         standard paragraph has only a given type of content drop the wrapper.
849
850 2004-10-29  José Matos  <jamatos@lyx.org>
851
852         * output_docbook.C (makeEnvironment):
853         * sgml.C (openTag):
854         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
855
856 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
857
858         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
859         (cleanID): sanitize any id.
860
861 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * buffer.C, lyxlex_pimpl.C:
864         * lyxlex_pimpl.C (setFile):
865         s/getExtFromContents/getFormatFromContents/
866
867 2004-10-28  José Matos  <jamatos@lyx.org>
868
869         * output_docbook.C (makeEnvironment): move id to broadest possible
870         scope.
871
872         * sgml.C (openTag): apply substitution of <> for all attributes.
873
874 2004-10-28  José Matos  <jamatos@lyx.org>
875
876         * buffer.C (makeLinuxDocFile, makeDocBookFile):
877         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
878         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
879
880         * sgml.[Ch]: new version for open and closeTag for paragraph and
881         for strings. Now they handle the ids of paragraphs.
882
883 2004-10-26  Angus Leeming  <leeming@lyx.org>
884
885         * Makefile.am: add mover.[Ch].
886
887         * converter.C (convert, move): use the new Movers to move external
888         files to the temp directory.
889
890         * lyx_main.C (init): ensure that the global system_movers data
891         is initialised.
892
893         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
894         preferences file.
895
896         * mover.[Ch]: new files, defining a Mover as a utility to move an
897         external file between directories and, if necessary, manipulate this
898         file using a helper script.
899
900 2004-10-25  José Matos  <jamatos@lyx.org>
901
902         * output_docbook.C (makeCommand): merge two if's that tested the
903         same condition.
904
905 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
906
907         * sgml.C (escapeString): fix warning in a better way
908
909 2004-10-25  José Matos  <jamatos@lyx.org>
910
911         * sgml.C (escapeString): import the require boosts header file for
912         tie, and avoid a signed unsigned comparison.
913
914 2004-10-25  José Matos  <jamatos@lyx.org>
915
916         * sgml.h: add #include <string>
917
918 2004-10-25  José Matos  <jamatos@lyx.org>
919
920         * sgml.[Ch] (escapeString): new function to escape all the string.
921
922 2004-10-24  José Matos  <jamatos@lyx.org>
923
924         * paragraph.[Ch] (getFirstWord): new function to get the first
925         word. Useful for description.
926         (simpleDocBookOnePar): remove depth argument, add another that
927         says where to start the paragraph.
928
929         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
930         use the new functions to fix cleanly the support for descriptions.
931
932 2004-10-24  José Matos  <jamatos@lyx.org>
933
934         * buffer.C (makeLinuxDocFile, makeDocBookFile):
935         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
936         * output_linuxdoc.C (linuxdocParagraphs):
937         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
938         add buffer as argument.
939
940 2004-10-24  José Matos  <jamatos@lyx.org>
941
942         * output_docbook.C (makeEnvironment, searchEnvironment): place
943         CDATA inside paragraphs and fix scope for listitems.
944
945 2004-10-24  José Matos  <jamatos@lyx.org>
946
947         * output_docbook.C: remove using statement for stack.
948
949 2004-10-23  José Matos  <jamatos@lyx.org>
950
951         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
952         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
953         docbook. The new scheme is recursive and makes use of iterators, the
954         same as latex export works.
955         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
956         directly with the paragraph contents. This code was moved up to
957         output_docbook.C (docbookParagraphs).
958         * sgml.C (openTag, closeTag): removed unneeded newlines.
959         (closeEnvTags) removed.
960
961 2004-10-23  André Pönitz  <poenitz@gmx.net>
962
963         * undo.C (textUndoOrRedo):
964         * dociterator.C (asDocIterator): work around crash
965
966         * cursor.C (getStatus): replace ASSERT by more verbose error message
967           and manual correction of the problem. Should increase stability
968           while providing more sensible information.
969
970 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
973
974         * bufferlist.C (previous, next): new methods
975
976         * lfuns.h:
977         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
978
979 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
980
981         * buffer.C (makeDocBookFile): add dsssl stylesheet control
982         entities to preamble.
983
984 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
985
986         * messages.C (Pimpl): strip off translation context information
987
988 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
991         the cursor is correct (bug 1694)
992
993 2004-10-13  José Matos  <jamatos@lyx.org>
994
995         * output_docbook.C (docbookParagraphs): fix closing tags in the
996         end of the document.
997
998 2004-10-09  José Matos  <jamatos@lyx.org>
999
1000         * buffer.C: format up to 237.
1001         * bufferparams.C (write): use tostr to convert booleans to strings.
1002
1003 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1004
1005         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1006
1007 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * LaTeX.C: implement use of babel language in xindy.
1010
1011 2004-10-05  José Matos  <jamatos@lyx.org>
1012
1013         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1014         Add new translators to help reading and writing the lyx file.
1015
1016 2004-10-05  José Matos  <jamatos@lyx.org>
1017
1018         * ParagraphParameters.C (read):
1019         * text.C (readParToken): replace nexToken by more appropriate lex
1020         methods.
1021
1022 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1023
1024         * LaTeX.C (runMakeIndex):
1025         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1026         (usually 'makeindex') configurable.
1027
1028         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1029         with a variable rather than with a number.
1030
1031 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * output_latex.C (TeXOnePar): make sure font setting is the first
1034         thing that gets output (and the last at the end). Should fix bug
1035         1404.
1036
1037 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1038
1039         * pch.h: use proper signal include
1040
1041         * LaTeX.h: Use preferred calling of Boost.Signal
1042         * buffer.h: ditto
1043
1044 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1045
1046         * pch.h: dont include <boost/function/function0.hpp>
1047
1048         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1049
1050         * paragraph_pimpl.h: remove usage of ShareContainer
1051
1052         * paragraph_pimpl.C: remove initialization of ShareContainer.
1053
1054 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         Fix bug #1666
1057
1058         * BufferView.C (putSelectionAt): change the semantics when
1059         backwards == true: now, this just swaps cursor and anchor wrt the
1060         forward case
1061
1062         * BufferView.h (putSelectionAt): add some documentation
1063
1064         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1065         make sure backwardChar is done at least once (to avoid getting
1066         stuck)
1067         (findNextChange): use putSelectionAt in the forward direction
1068         (operator()): use Paragraph::isWord
1069
1070 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * Spacing.C (set): c_str fix
1073
1074 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1075
1076         * lyx_cb.C (Reconfigure): quote the name of configure script in
1077         case it contains spaces
1078
1079 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1080
1081         * client: new dir
1082
1083         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1084         (BOOST_LIBS): use top_buildir when looking for the file
1085
1086 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1087
1088         * pch.h: do not use include boost/format.hpp, multiple symbols
1089                 will result (gcc bug)
1090
1091
1092 2004-08-23  José Matos  <jamatos@lyx.org>
1093
1094         * bufferparams.C (readToken): fix reading of the author field.
1095
1096 2004-08-20  José Matos  <jamatos@lyx.org>
1097
1098         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1099
1100 2004-08-20  José Matos  <jamatos@lyx.org>
1101
1102         * lyxlex.[Ch] (findToken): remove function.
1103
1104         * ParagraphParameters.C (findToken):
1105         * bufferparams.C (findToken): replace call for previous function
1106         with local copy. This local function has one more argument, the
1107         read string argument.
1108
1109 2004-08-16  José Matos  <jamatos@lyx.org>
1110
1111         * ParagraphParameters.C (write):
1112         * Spacing.C (writeFile):
1113         * bufferparams.C (writeLaTeX):
1114         * lyx_cb.C (Reconfigure):
1115         * paragraph.C (write):
1116         * tabular.C (write): remove unnecessary space at end of line.
1117
1118
1119 2004-08-16  José Matos  <jamatos@lyx.org>
1120
1121         * text.C (readParagraph): remove debug message.
1122
1123 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1126         crash
1127
1128         * output_plaintext.C (asciiParagraph): set depth correctly
1129
1130         * outputparams.h: add member depth
1131
1132         * paragraph_funcs.C (ownerPar): remove.
1133
1134         * text2.C (setCounter): remove first_pit; comment out some
1135         non-working code that uses ownerPar
1136
1137         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1138         uses ownerPar
1139
1140 2004-08-16  José Matos  <jamatos@lyx.org>
1141
1142         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1143         For the same level of importance use the same chanel to report problems.
1144         (read): add code to deal with \begin_body and \end_body.
1145
1146
1147 2004-08-15  José Matos  <jamatos@lyx.org>
1148
1149         * lyxlex.C (getString): fix comment, buffer::readBody is now
1150         buffer:readDocument.
1151
1152         * tex-strings.C (string_papersize): Default -> default,
1153         Custom -> custom, for consistency with other options.
1154
1155 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1156
1157         * pch.h: new file
1158
1159         * Makefile.am: support pch
1160
1161 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1162
1163         * text.C (readParToken): remove the static LyXFont variable and
1164         pass it as a parameter instead. This fixes a nasty bug where an
1165         inset will be inserted with a bad font in some situations
1166         (readParagraph): adapt
1167
1168         * text2.C (setCounter): reduce number of calls to pars_[pit]
1169
1170         * text.C (singleWidth): add an assert, fix a test
1171
1172         * rowpainter.C (paintText): reduce number of calls to singleWidth
1173
1174         * paragraph.C (isHfill):
1175         (isNewline): ws only
1176
1177 2004-08-14  André Pönitz  <poenitz@gmx.net>
1178
1179         * text.C:
1180         * text2.C:
1181         * rowpainter.C:
1182         * lyxtext.h (several functions): use a Paragraph & argument
1183         instead of par_type
1184
1185 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1188
1189         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1190
1191         * text.C (singleWidth): remove useless test
1192
1193 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1194
1195         * tabular.h: remove bogus comments
1196
1197         * tabular.C (getDescentOfRow):
1198         (isPartOfMultiColumn): add assertions
1199
1200         * lyxlength.C (inPixels): remove #warning
1201
1202 2004-08-14  André Pönitz  <poenitz@gmx.net>
1203
1204         * paragraph.h: inline getChar()
1205
1206         * BufferView.h: remove unused declarations
1207
1208 2004-08-14  José Matos  <jamatos@lyx.org>
1209
1210         * Buffer.[Ch] (readDocument): new name for old readBody.
1211         * Buffer.C: new file format, new keywords: \begin_document,
1212         \begin_header, \begin_body, \end_body.
1213
1214         * bufferparams.C (readToken): replace all calls to lex.nextToken
1215         by lex.next(). Do the same to eatLine except where really needed.
1216
1217         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1218         line when writing to the lyx file.
1219
1220         * output_plaintext.C (asciiParagraph): fix Bibliography style
1221         handling.
1222
1223         * text.C (read): fix end of file handling.
1224
1225 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * MenuBackend.C (Menu::operator[]): new method to access
1228         individual menu items
1229         (Menu::hasFunc): new method. search for an item that corresponds
1230         to a given func
1231         (MenuBackend::specialMenu): new method
1232         (MenuBackend::expand): if a special menu has been set, skip
1233         entries whose func() appears in this menu
1234
1235 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1236
1237         * text3.C: use Debug::DEBUG a bit more
1238
1239         * text.C (leftMargin): try to simplify a tiny bit change var x to
1240         l_margin. Dont output the wide margins always.
1241         (rightMargin): no margin in inner texts
1242
1243         * rowpainter.h (nestMargin): new func
1244         (changebarMargin): new func
1245         (rightMargin): new func
1246
1247         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1248         now functions.
1249         (paintLast): ditto
1250
1251         * factory.C (createInset): modify setDrawFrame
1252
1253         * cursor.C: use Debug::DEBUG a bit more
1254
1255 2004-08-14  André Pönitz  <poenitz@gmx.net>
1256
1257         * coordcache.[Ch]:
1258         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1259         cache for all insets in (at least partially) visible (top-level)
1260         paragraphs.
1261
1262         * BufferView_pimpl.C: reset external coord cache before every update.
1263         This means the coord cache only contains valid entries.
1264
1265 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1266
1267         bug 1096
1268         * BufferView_pimpl.C (getInsetByCode): move function out of class
1269         and change in to a template in anon namespace. Also fix to do what
1270         suits us better.
1271
1272 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1273
1274         bug 1305
1275         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1276         of char
1277         (breakParagraph): rename par to par_offset and use a local
1278         reference. Add code to keep the language over a rebreak.
1279         (breakParagraphConservative): rename par to par_offset, use a
1280         local reference
1281         (mergeParagraph): ditto
1282         (outerHook): ditto
1283         (isFirstInSequence): ditto
1284         (outerFont): rename pit to par_offset
1285
1286         * paragraph.C: ws change
1287         * paragraph.h: ditto
1288         * text3.C: ditto
1289         * text.C: ditto
1290
1291 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1294         treatment for ']'
1295
1296         * paragraph.C (simpleTeXOnePar): when we have a \item with
1297         optional argument, enclose the argument with curly brackets (in
1298         case it contains a closing square bracket)
1299
1300         * text2.C (editXY):
1301         * text2.C (editXY):
1302         * text3.C (checkInsetHit): constify
1303
1304 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1307         documents (bug 1629)
1308
1309 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         Fix toggling of collapsable insets with the mouse (bug 1558)
1312
1313         * lyxfunc.C (dispatch): adapt to LCursor changes
1314
1315         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1316         make sure that dispatch is not invoked twice
1317
1318         * cursor.C (needsUpdate): new method
1319         (dispatch): return void
1320         (result): new method, to access the DispatchResult of the cursor.
1321
1322 2004-08-13  José Matos  <jamatos@lyx.org>
1323
1324         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1325
1326 2004-08-13  André Pönitz  <poenitz@gmx.net>
1327
1328         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1329
1330         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1331           multiple cells
1332
1333 2004-08-12  André Pönitz  <poenitz@gmx.net>
1334
1335         * text3.C: take out the 'cursor right' form insertInset and only
1336         do it in those places when it is really needed. Fixes crash on
1337         C-m...
1338
1339 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1340
1341         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1342
1343         * BufferView_pimpl.C (setBuffer): initialize the current font of
1344         the underlying LyXText
1345
1346 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * kbsequence.C (print): use UI native formatting for menu
1349         shortcuts
1350
1351         * text.C (insertChar): call Paragraph::insertChar with a font
1352         argument (cosmetic)
1353
1354         * paragraph.C (insertInset, insertChar): the version that takes a
1355         LyXFont argument is now a wrapper around the other one (the
1356         opposite used to be true).
1357
1358         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1359         argument. Font setting is done in Paragraph now.
1360
1361 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * outputparams.h: add new members intitle and lang.
1364
1365         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1366         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1367
1368 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * text3.C (dispatch): remove special handling of button 4 and 5,
1371         it is now taken care of in the frontend code.
1372
1373 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1374
1375         * Spacing.h: add <string> (STLPort compile fix)
1376
1377 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1378
1379         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1380
1381 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1382
1383         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1384         to bool.
1385
1386         * converter.C (showMessage): inherit from unary_function, make
1387         operator() const.
1388
1389         * buffer.C (writeFile): initialize retval
1390
1391         * InsetList.h: rename private variable list to list_
1392         * InsetList.[Ch]: adjust accordingly.
1393
1394 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1395
1396         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1397         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1398         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1399         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1400         * ParagraphParameters.C, LaTeXFeatures.C: replace
1401         "support/std_sstream.h" with <sstream>
1402
1403 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1404
1405         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1406         * lyxsocket.C (LyXServerSocket): ditto
1407         (serverCallback): ditto
1408
1409 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1410
1411         * LaTeXFeatures.C: check release date when loading jurabib.
1412
1413 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1414
1415         * lyxserver.C (startPipe): call register_socket_callback
1416         (endPipe): call unregister_socket_callback
1417
1418 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1419
1420         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1421         (LyXServerSocket): register the callback
1422         (LyXServerSocket): unregister the callback
1423         (fd): delete function
1424         (serverCallback): improve error checking and setup the callbacks.
1425         (dataCallback): change arg to fd.
1426         (writeln): new func (copied fro the client socket) used for server
1427         write to client.
1428         (LyXDataSocket): simplify
1429         (~LyXDataSocket): close ann unregiser callback
1430         (server): delete function
1431         (fd): delete function
1432         (readln): small changes, improve some std::string usage
1433         (writeln): constify a bit
1434
1435 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1436
1437         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1438         Qt frontend
1439
1440 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1443         after it has been populated
1444
1445 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * text2.C (insertInset): move cursor when inserting inset.
1448
1449 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * kbmap.C (findbindings): a couple of new methods. returns a
1452         container of kb_sequence objects. The real work is done by the
1453         private recursive version
1454         (printbindings): uses findbindings to print out a bracketed list
1455         of bindings (renamed from findbinding).
1456
1457         * MenuBackend.C (binding): use kb_keymap::findbindings
1458
1459         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1460
1461 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1462
1463         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1464
1465 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * paragraph.C (isWord): return true on insets that report
1468         isLetter().
1469
1470         * text.C (getWord): use Paragraph::isWord to decide what is in a
1471         word and what is not; fix bug 1609.
1472
1473 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1474
1475         * tex-strings.C: add "none" to string_paperpackages[], fixes
1476         off-by-one-error in the paperpackage selection.
1477
1478         * lyxlex.[Ch]:
1479         * tex-strings.[Ch]: char const * string[n]
1480         -> char const * const string[]
1481
1482 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1485         command, return early.
1486
1487 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1488
1489         * debug.h: add DEBUG to enum and fix size of ANY.
1490
1491         * debug.C: add support for Debug::DEBUG
1492         (showTags): cast errorTags.level to unsigned int
1493
1494         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1495         (redoCurrentBuffer): ditto
1496         (updateScrollbar): ditto
1497         * cursor.C (dispatch): ditto
1498         * text2.C (setLayout): ditto
1499         (setFont): ditto
1500         (updateCounters): ditto
1501         (editXY): ditto
1502         (deleteEmptyParagraphMechanism): ditto
1503
1504 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1505
1506         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1507         annotations to cleanup the Makefile slightly.
1508
1509 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * lyxrc.C: do not set user_email to a default value but use empty
1512         instead. The entry used to be translated, which does not work
1513         since at the point where lyxrc is constructed there is no
1514         translation service available
1515
1516         * messages.C (getLocaleDir): remove and use directly
1517         lyx_localedir() instead
1518
1519 2004-06-02  Angus Leeming  <leeming@lyx.org>
1520
1521         Fix crash caused by dereferencing null pointer 'exportdata' in
1522         OutputParams by creating a new ExportData variable on the heap,
1523         storing it in a boost::shared_ptr.
1524         The crash was triggered when generating an Instant Preview
1525         of an external inset.
1526
1527         * Makefile.am: add outputparams.C
1528
1529         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1530         (c-tor): allocate memory to it.
1531
1532         * exporter.C (c-tor): associated changes.
1533
1534 2004-06-01  Angus Leeming  <leeming@lyx.org>
1535
1536         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1537         contains data before calling isInset(0). (Bug 1513.)
1538
1539 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1540
1541         * exporter.C (checkOverwrite): new method
1542         * exporter.C (copyFile): new method
1543         * exporter.C (Export): copy referenced files to the document dir
1544         * exporter.[Ch]: new class ExportedFile
1545         * exporter.[Ch]: new class ExportData. Contains currently the
1546         names of referenced external files
1547         * outputparams.h: add exportdata member.
1548
1549 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1550
1551         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1552         version.C-tmp
1553
1554 2004-05-19  Angus Leeming  <leeming@lyx.org>
1555
1556         * LaTeXFeatures.C:
1557         * ToolbarBackend.C:
1558         * bufferparams.C:
1559         * lyxfunc.C: small changes due to the introduction of namespace
1560         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1561
1562 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * text3.C (dispatch): supress update when only moving the cursor
1565         * cursor.C (selHandle): remove commented code
1566
1567 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1568
1569         * paragraph.C (startTeXParParams): correct column count
1570         * CutAndPaste.C (pasteSelection): remove const_cast
1571         * output_docbook.C (docbookParagraphs): remove const_cast
1572         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1573         const_cast and return ParagraphList::const_iterator
1574         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1575         * output_plaintext.C (writeFileAscii): remove const_cast
1576         * paragraph.[Ch] (simpleTeXOnePar): make const
1577         * paragraph_funcs.C (outerPar): use const iterators
1578         * paragraph_pimpl.C (validate): use const iterators
1579         * text.C (setHeightOfRow): use const iterators
1580
1581 2004-05-17  Angus Leeming  <leeming@lyx.org>
1582
1583         * lfuns.h:
1584         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1585
1586         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1587         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1588         if the citation engine has changed.
1589
1590 2004-05-14  José Matos  <jamatos@lyx.org>
1591
1592         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1593         if the textclass does not provide it. Have it different for sgml and
1594         xml.
1595         support the language of document.
1596         * output_docbook.C (docbookParagraphs):
1597         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1598         first anchor as the id of the paragraph, remove special case code.
1599         * sgml.C (escapeChar): escape only < & >.
1600
1601 2004-05-14  Angus Leeming  <leeming@lyx.org>
1602
1603         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1604         dependencies on src/frontends/controllers/biblio.h. Define a
1605         CiteEngine_enum wrapper class to enable the enum to be forward
1606         declared.
1607
1608 2004-05-12  Angus Leeming  <leeming@lyx.org>
1609
1610         * buffer.C: up LYX_FORMAT to 234.
1611         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1612         use_numerical_citations with a single biblio::CiteEngine cite_engine
1613         variable.
1614         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1615
1616 2004-05-13  José Matos  <jamatos@lyx.org>
1617
1618         * converter.h:
1619         * converter.C (Converter, readFlags): add xml member.
1620         * outputparams.h: add XML flavor.
1621         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1622
1623 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1624
1625         * lyxfunc.C (dispatch):
1626         (getStatus): fix handling of LFUN_SEQUENCE
1627
1628 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * debug.C (showLevel): do not forget the end-of-line marker
1631
1632 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * kbmap.C (read): do not stop parsing a bind file when an error
1635         occurs (bug 1575)
1636
1637 2004-04-29  Angus Leeming  <leeming@lyx.org>
1638
1639         * cursor.C:
1640         * factory.C:
1641         * pariterator.C:
1642         * text2.C: wrap a bunch of #warning statements
1643         inside #ifdef WITH_WARNINGS blocks.
1644
1645 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1646
1647         * buffer.C: increment format to 233.
1648
1649 2004-04-28  Angus Leeming  <leeming@lyx.org>
1650
1651         * BufferView_pimpl.C:
1652         * lyxfunc.C:
1653         * text3.C:
1654         s/updateToolbar()/updateToolbars()/
1655         s/Toolbar.h/Toolbars.h/
1656
1657 2004-04-28  Angus Leeming  <leeming@lyx.org>
1658
1659         * BufferView.[Ch] (c-tor):
1660         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1661         No longer passes these data to the WorkArea generator.
1662
1663 2004-04-28  Angus Leeming  <leeming@lyx.org>
1664
1665         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1666
1667 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1668
1669         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1670
1671 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * output_latex.C (TeXEnvironment): make sure that there is a line
1674         break before \end{foo} for the last paragraph of a document
1675         (TeXOnePar): if the paragraph is at the end of the document (or
1676         inset) and the language has to be reset, then make sure that the
1677         line break is _before_ the language command, not after (fixes bug
1678         1225); also make sure that the language reset command is the first
1679         thing after the paragraph (to ensure proper nesting of
1680         environments and thus fix bug 1404)
1681
1682 2004-04-21  John Levon  <levon@movementarian.org>
1683
1684         * ToolbarBackend.h:
1685         * ToolbarBackend.C: make "name" be a programmatic name
1686         and a gui_name field.
1687
1688         * lyxfunc.C: display the minibuffer on M-x
1689
1690 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1691
1692         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1693         (bug 1526)
1694
1695 2004-04-19  Angus Leeming  <leeming@lyx.org>
1696
1697         * BufferView_pimpl.C (setBuffer): changed preview interface.
1698
1699         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1700         possible values.
1701
1702 2004-04-19  John Levon  <levon@movementarian.org>
1703
1704         * BufferView_pimpl.C:
1705         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1706
1707 2004-04-05  Angus Leeming  <leeming@lyx.org>
1708
1709         * text.C (redoParagraphs): add call to updateCounters(), thereby
1710         fixing the missing "Figure #:" label from the caption of a
1711         figure float.
1712
1713 2004-04-13  Angus Leeming  <leeming@lyx.org>
1714
1715         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1716         cursor is clicked out of an inset.
1717
1718 2004-04-13  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1721         than an InsetOld one.
1722
1723 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1724
1725         * format.[Ch]: add editor to Format
1726         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1727         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1728
1729 2004-04-08  André Pönitz  <poenitz@gmx.net>
1730
1731         * metricsinfo.h: remove PainterInfo::width member
1732
1733 2004-04-08  Angus Leeming  <leeming@lyx.org>
1734
1735         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1736         "\providecommand" rather than "\newcommand", thereby preventing
1737         clashes with packages that define "\boldsymbol" themselves.
1738         Eg, beamer.
1739
1740 2004-04-08  Angus Leeming  <leeming@lyx.org>
1741
1742         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1743         thereby squashing an unnecessary warning.
1744
1745 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1746
1747         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1748         setBuffer()
1749
1750 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1751
1752         * BufferView.C (setCursor): call redoParagraph (some insets could
1753         have been opened)
1754         (putSelectionAt): remove the 'double update' trick
1755
1756         * BufferView_pimpl.C (fitCursor): call refreshPar
1757         (workAreaDispatch): remove an uneeded update call
1758         (dispatch): remove some manual update calls
1759
1760         * cursor.[Ch]: remove cached_y_, updatePos
1761         (selHandle): set noUpdate when appropriate
1762
1763         * lyxfunc.C (dispatch): track if we need an update
1764
1765         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1766
1767         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1768         (paintSelection): cheap optimization, do not call cursorX when not
1769         needed
1770         (paintPars): change signature
1771         (refreshPar): add
1772         (paintText): adjust
1773         (paintTextInset): adjust
1774
1775         * text.C: adjust
1776
1777 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * lengthcommon.C: compilation fix: remove explicit array size from
1780         unit_name[] and friends
1781
1782 2004-04-05  Angus Leeming  <leeming@lyx.org>
1783
1784         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1785
1786         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1787         present only for the preferences dialog.
1788         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1789
1790 2004-04-05  Angus Leeming  <leeming@lyx.org>
1791
1792         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1793         to enable the frontends to export changes to lyxrc correctly.
1794
1795         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1796
1797 2004-04-07  André Pönitz  <poenitz@gmx.net>
1798
1799         * cursor.[Ch] (selClear, adjust): remove math
1800
1801         * cursor_slice.C: more agressive assert
1802
1803         * lyxfunc.C:
1804         * BufferView_pimpl.C: rework mouse event dispatch
1805
1806         * dociterator.C:
1807         * paragraph.C:
1808         * text2.C:
1809         * text3.C: adjust
1810
1811 2004-04-05  André Pönitz  <poenitz@gmx.net>
1812
1813         * cursor.[Ch] (valign, halign...): remove unneeded functions
1814
1815 2004-04-05  Angus Leeming  <leeming@lyx.org>
1816
1817         * lyxlength.[Ch] (unit_name et al.): const-correct.
1818
1819 2004-04-05  Angus Leeming  <leeming@lyx.org>
1820
1821         * BufferView_pimpl.C:
1822         * buffer.C:
1823         * counters.C:
1824         * cursor.C:
1825         * lyxfunc.C
1826         * paragraph.C:
1827         * pariterator.C:
1828         * text.C:
1829         * text2.C:
1830         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1831
1832 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1833
1834         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1835
1836 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1839         * BufferView_pimpl.[Ch] (getStatus)
1840         * BufferView.[Ch] (getStatus): add
1841         * lyxfunc.C (getStatus): move lfuns handled in
1842         BufferView::dispatch to te function above
1843         * Cursor.C (setSelection): set selection() = true
1844
1845 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1848
1849 2004-03-31  Angus Leeming  <leeming@lyx.org>
1850
1851         * lyxfunc.C (dispatch): Fall through to the generic
1852         Dialogs::show("preamble").
1853
1854 2004-03-31  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyxfunc.C (dispatch): Fall through to the generic
1857         Dialogs::show("spellchecker").
1858
1859 2004-03-31  Angus Leeming  <leeming@lyx.org>
1860
1861         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1862         preferences dialog.
1863
1864 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * BufferView.C
1867         * cursor.[Ch]
1868         * dociterator.[Ch]:
1869         * insetiterator.[Ch]:
1870         * lyxfind.C:
1871         * lyxfunc.C:
1872         * pariterator.[Ch]:
1873         * text2.C:
1874         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1875
1876 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1877
1878         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1879         insets where we are putting the cursor.
1880
1881 2004-03-31  Angus Leeming  <leeming@lyx.org>
1882
1883         * lfuns.h:
1884         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1885
1886         * lyxrc.[Ch] (read, write): overloaded member functions taking
1887         a std::[io]stream arguments.
1888
1889         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1890
1891 2004-03-31  Angus Leeming  <leeming@lyx.org>
1892
1893         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1894         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1895
1896         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1897         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1898
1899 2004-03-31  Angus Leeming  <leeming@lyx.org>
1900
1901         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1902         the LFUN_ALL_INSETS_TOGGLE code.
1903
1904 2004-03-30  Angus Leeming  <leeming@lyx.org>
1905
1906         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1907         has died. Fall through to the generic Dialogs::show("document").
1908
1909 2004-03-30  Angus Leeming  <leeming@lyx.org>
1910
1911         * lfuns.h:
1912         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1913         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1914
1915         * lyxfunc.C (getStatus, dispatch): define the actions for these
1916         lfuns. Little more than a cut and pste job from ControlDocument.C
1917
1918         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1919
1920 2004-03-30  Angus Leeming  <leeming@lyx.org>
1921
1922         * lfuns.h:
1923         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1924         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1925
1926         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1927         open/closed state of ollapsable insets. Usage:
1928
1929         all-inset-toggle <state> <name>, where
1930         <state> == "open" || "closed" || "toggle" and
1931         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1932
1933         * lyxtext.h, text2.C (toggleInset): removed.
1934
1935         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1936         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1937         now passes LFUN_INSET_TOGGLE to the found inset.
1938
1939         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1940         is now invoked as "all-insets-toggle toggle branch".
1941
1942 2004-03-30  Angus Leeming  <leeming@lyx.org>
1943
1944         * dociterator.C:
1945         * insetiterator.C:
1946         * pariterator.[Ch]: added/corrected header blurb.
1947
1948 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * dociterator.[Ch]: add an inset_ member
1951         (backwardPos): implemented
1952         (backwardPos, forwardPos): use inset_ when the stack is empty.
1953         (doc_iterator_begin, doc_iterator_end): implemented
1954         * pariterator.[Ch]: adjust, add begin, end
1955         * insetiterator.[Ch]: adjust, add begin, end
1956         * cursor.C:
1957         * document.C:
1958         * BufferView.C:
1959         * BufferView_pimpl.C:
1960         * CutAndPaste.C: adjust
1961
1962 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1963
1964         * buffer.C: increment file format to 232.
1965         * LaTeXFeatures.C: add bibtopic package.
1966         * bufferparams.[Ch]: param \use_bibtopic.
1967
1968         * lyxrc.[Ch]: add lyxrc bibtex_command
1969         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1970
1971         * buffer.C: increment file format to 231.
1972
1973 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1974
1975         * dociterator.C: implement forwardPar
1976         * iterators.[Ch]: remove, replaced by
1977         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1978         * BufferView.C:
1979         * BufferView_pimpl.C:
1980         * CutAndPaste.C:
1981         * buffer.C:
1982         * bufferview_funcs.C:
1983         * cursor.C:
1984         * lyxfind.C
1985         * lyxfunc.C
1986         * paragraph_funcs.C
1987         * toc.C:
1988         * Makefile.am: adjust
1989
1990 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1991
1992         * CutAndPaste.C (pasteSelection): fix 2 crashes
1993         (eraseSelection): fix a crash
1994         * paragraph_funcs.C: remove a warning
1995
1996 2004-03-28  Angus Leeming  <leeming@lyx.org>
1997
1998         * lfuns.h:
1999         * LyXAction.C (init): new LFUN_PRINT.
2000
2001         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2002
2003 2004-03-27  Angus Leeming  <leeming@lyx.org>
2004
2005         * lfuns.h:
2006         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2007
2008         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2009
2010 2004-03-27  Angus Leeming  <leeming@lyx.org>
2011
2012         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2013         insetlist always contains non-null pointers to insets.
2014
2015 2004-03-26  Angus Leeming  <leeming@lyx.org>
2016
2017         * src/BufferView_pimpl.C:
2018         * src/CutAndPaste.C:
2019         * src/buffer.C:
2020         * src/iterators.C:
2021         * src/output_plaintext.C:
2022         * src/outputparams.h:
2023         * src/paragraph_funcs.C:
2024         * src/rowpainter.C:
2025         * src/text.C:
2026         * src/text2.C:
2027         * src/frontends/controllers/ControlErrorList.C:
2028         * src/frontends/gtk/FileDialogPrivate.C:
2029         * src/frontends/gtk/GPainter.C:
2030         * src/frontends/gtk/GToolbar.C:
2031         * src/frontends/qt2/QRef.C:
2032         * src/mathed/math_scriptinset.C: squash compiler warnings.
2033
2034 2004-03-26  Angus Leeming  <leeming@lyx.org>
2035
2036         * ispell.C (LaunchIspell::start):
2037         * lyx_cb.C (AutoSaveBuffer::start):
2038         invoke run(DontWait) rather than runNonBlocking().
2039
2040 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2043
2044 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045
2046         * kbsequence.C (print): adjust
2047
2048         * kbmap.C (printKeySym): rename and change signature
2049         (printKey): use LyXKeySym::print()
2050
2051 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2052
2053         * undo.C: add using std::advance to compile for stlport
2054
2055 2004-03-24  Angus Leeming  <leeming@lyx.org>
2056
2057         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2058         it leads to a crash when no buffer is present.
2059
2060 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2061             Martin Vermeer  <martin.vermeer@hut.fi>
2062
2063         * lyxfunc.C (dispatch):
2064         * bufferparams.C (readToken): use the new LColor::setColor
2065
2066         * LColor.[Ch] (setColor): new version that takes two strings as
2067         argument and creates a new color entry if necessary
2068
2069 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2070
2071         * buffer.C (makeLaTeXFile): if the main latex file that is
2072         processed is usually a subdocument of some master, then pretend
2073         for a while that it is actually the master
2074
2075 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2076
2077         * buffer.C (getLabelList):
2078         (getBibkeyList): use getMasterBuffer()
2079         (getMasterBuffer): new method. Returns the main document in the
2080         case where one is using included documents.
2081
2082 2004-03-25  André Pönitz  <poenitz@gmx.net>
2083
2084         * Makefile.am:
2085         * iterators.[Ch]:
2086         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2087
2088         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2089
2090         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2091         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2092
2093         * ParameterStruct.h: merge with ParagraphParameters
2094
2095         * lyxtext.h: remove LyXText::parOffset() and getPar()
2096
2097         * text3.C: Remove all 'manual' update calls. We do now one per user
2098         interaction which is completely sufficient.
2099
2100         * Bidi.C:
2101         * BufferView.[Ch]:
2102         * BufferView_pimpl.C:
2103         * FontIterator.[Ch]:
2104         * MenuBackend.C:
2105         * ParagraphParameters.[Ch]:
2106         * buffer.C:
2107         * buffer.h:
2108         * bufferlist.C:
2109         * cursor.[Ch]:
2110         * cursor_slice.[Ch]:
2111         * dociterator.[Ch]:
2112         * errorlist.[Ch]:
2113         * factory.C:
2114         * lfuns.h:
2115         * lyxfind.C:
2116         * lyxfunc.C:
2117         * output_docbook.[Ch]:
2118         * output_latex.[Ch]:
2119         * output_linuxdoc.[Ch]:
2120         * output_plaintext.[Ch]:
2121         * paragraph.[Ch]:
2122         * paragraph_funcs.[Ch]:
2123         * paragraph_pimpl.[Ch]:
2124         * rowpainter.C:
2125         * tabular.[Ch]:
2126         * text.C:
2127         * text2.C:
2128         * toc.C:
2129         * undo.[Ch]: adjust
2130
2131         * frontends/controllers/ControlDocument.C:
2132         * frontends/controllers/ControlErrorList.C:
2133         * frontends/controllers/ControlSpellchecker.C:
2134         * insets/inset.C:
2135         * insets/inset.h:
2136         * insets/insetbase.h:
2137         * insets/insetbibitem.C:
2138         * insets/insetbox.C:
2139         * insets/insetbranch.C:
2140         * insets/insetcaption.C:
2141         * insets/insetcharstyle.C:
2142         * insets/insetcharstyle.h:
2143         * insets/insetcollapsable.C:
2144         * insets/insetcollapsable.h:
2145         * insets/insetert.C:
2146         * insets/insetfloat.C:
2147         * insets/insetfoot.C:
2148         * insets/insetmarginal.C:
2149         * insets/insetnote.C:
2150         * insets/insetoptarg.C:
2151         * insets/insettabular.C:
2152         * insets/insettext.C:
2153         * insets/insettext.h:
2154         * insets/insetwrap.C:
2155         * mathed/math_mboxinset.C:
2156         * mathed/math_nestinset.C:
2157         * mathed/math_scriptinset.C:
2158         * mathed/math_scriptinset.h:
2159         * support/types.h:
2160
2161 2004-03-24  Angus Leeming  <leeming@lyx.org>
2162
2163         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2164         deal with any child processes that have finished but are waiting to
2165         communicate this fact to the rest of LyX.
2166
2167 2004-03-24  Angus Leeming  <leeming@lyx.org>
2168
2169         64-bit compile fixes.
2170
2171         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2172         (c-tor): pass lyx::pos_types rather than ints.
2173
2174         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2175         lyx::pos_type.
2176
2177         * text.C (Delete): compile fix.
2178         (getPar): ensure that function declaration is the same as that in
2179         the header file.
2180
2181 2004-03-23  Angus Leeming  <leeming@lyx.org>
2182
2183         * ispell.C (LaunchIspell):
2184         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2185         a boost::shred_ptr rather than a std::auto_ptr.
2186
2187 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2190         handle LFUN_FILE_INSERT_*
2191
2192         * lyxrc.C (setDefaults, getDescription, output, read):
2193         * lyxrc.h: remove ps_command
2194
2195 2004-03-22  Angus Leeming  <leeming@lyx.org>
2196
2197         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2198         Ensure that error_handler is processed once only and that all data
2199         is saved before attempting to output any warning messages.
2200
2201         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2202
2203 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2206
2207 2004-03-19  André Pönitz  <poenitz@gmx.net>
2208
2209         * cursor.[Ch] (reset): take main text inset as argument
2210
2211         * BufferView: adjust
2212         * BufferView_pimpl.C: adjust
2213
2214         * paragraph.[Ch]: fix completely broken operator=()
2215
2216 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * LColor.C (getFromLyXName): make sure that the color name is used
2219         as lowercase.
2220
2221 2004-03-17  Angus Leeming  <leeming@lyx.org>
2222
2223         * lfuns.h:
2224         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2225
2226         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2227         dialog and to kill a forked process.
2228
2229 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * text2.C (setCursorFromCoordinates): fix font problem
2232
2233 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2234
2235         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2236         bogus "rebuild cursor" code
2237
2238 2004-03-11  André Pönitz  <poenitz@gmx.net>
2239
2240         * buffer.[Ch]: use InsetText instead of LyXText as container for
2241         the main lyx text.
2242
2243         * dociterator.[Ch]: drop the BufferView * member which is not needed
2244         anymore after the change to buffer.C
2245
2246         * paragraph_funcs.C:
2247         * text.C:
2248         * text2.C:
2249         * BufferView.[Ch]:
2250         * BufferView_pimpl.[Ch]:
2251         * cursor.[Ch]:
2252         * cursor_slice.[Ch]: adjust
2253
2254         * text3.C: fix bug in mathDispatch
2255
2256 2004-03-08  André Pönitz  <poenitz@gmx.net>
2257
2258         * undo.[Ch]: use 'StableDocumentIterator' as base for
2259         the Undo struct.
2260
2261 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2262
2263         * LaTeXFeatures.C:
2264         * bufferparams.[Ch]: add jurabib support and param.
2265
2266         * LaTeX.C: add FIXME/comment.
2267
2268 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2269
2270         * buffer.C: increment file format to 230.
2271
2272 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2273
2274         * cursor.C (dispatch): avoid infinite loops
2275
2276 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * rowpainter.C (paintSelection): fix x coordinates
2279
2280 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * text.C (rowBreakPoint): fix breaking before displayed insets
2283
2284 2004-03-01  André Pönitz  <poenitz@gmx.net>
2285
2286         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2287
2288         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2289
2290         * Makefile.am:
2291         * BufferView.C:
2292         * BufferView_pimpl.C:
2293         * buffer.C:
2294         * lyxfind.C:
2295         * lyxfunc.C:
2296         * text.C:
2297         * text2.C:
2298         * text3.C: adjust
2299
2300 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * lyxtext.h:
2303         * text.C:
2304         * text2.C:
2305         * rowpainter.C:
2306         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2307         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2308
2309 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2310
2311         * Bidi.[Ch] (computeTables): const correctness
2312         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2313         fill_hfill, fill_label_hfill and x from Row
2314         * lyxtext.h: prepareToPrint returns a RowMetrics
2315         * rowPainter.C: adjust
2316         * text.C (prepareToPrint): use width, not textWidth. adjust
2317         (redoParagraphInternal, cursorX): adjust
2318         * text2.C (getColumnNearX): adjust
2319         (init): put a default value to the top LyXText::width
2320
2321 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2322
2323         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2324
2325 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * lyxtext.h: add FontIterator class
2328
2329         * text.C (FontIterator, operator*, operator->, operator++): add
2330         (rowBreakPoint, setRowWidth): adjust (fixing a
2331         rebreaking bug)
2332
2333 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2334
2335         * BufferView_pimpl.C (workAreaDispatch): allow also
2336         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2337
2338 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2339
2340         * text.C (rowBreakPoint): fix a bug showing with very large insets
2341
2342 2004-02-25  André Pönitz  <poenitz@gmx.net>
2343
2344         * text3.C:
2345         * cursor.[Ch]: move some mathed specific code to mathed
2346
2347 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2348
2349         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2350         use_tempdir in preferences
2351         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2352         tempfile creation
2353         * lyx_main.C: ensure that tempdir is valid
2354         * lyxlex.h: correct typo
2355         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2356         * paragraph.[Ch] (isMultiLingual): make const
2357         * cursor.[Ch] (openable): make const
2358
2359 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2360
2361         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2362
2363 2004-02-20  André Pönitz  <poenitz@gmx.net>
2364
2365         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2366
2367         * cursor.[Ch]: prepare for localized getStatus()
2368
2369         * lyxtext.h:
2370         * tabular.C:
2371         * text.C:
2372         * text2.C:
2373         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2374
2375 2004-02-20  André Pönitz  <poenitz@gmx.net>
2376
2377         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2378
2379 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2380
2381         * text2.C (setCursorFromCoordinates): switch to absolute coords
2382         (cursorUp): adjust
2383         (cursorDown): adjust
2384         * text3.C (dispatch): adjust
2385
2386 2004-02-16  André Pönitz  <poenitz@gmx.net>
2387
2388         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2389           insets/ChangeLog)
2390
2391         * cursor_slice.[Ch]: remove unneeded acessor function
2392
2393         * lyxtext.h: rename rtl() to isRTL()
2394
2395         * rowpainter.C:
2396         * tabular.C:
2397         * text.C:
2398         * text2.C:
2399         * text3.C: adjust
2400
2401 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * rowpainter.C (paintSelection): coord fix
2404
2405 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2406
2407         * Spacing.C: compile fix
2408
2409 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * cursor.C (dispatch): restore current_ before returning
2412
2413 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * text2.C (cursorUp, cursorDown): fix coords
2416         (moveUp): fix crash
2417
2418 2004-02-12  André Pönitz  <poenitz@gmx.net>
2419
2420         * lyxtext.h:
2421         * text.C:
2422         * text2.C:
2423         * text3.C: add LCursor & parameter to most cursor movement functions
2424           remove usage of LyXText::cursorRow() and cursorPar()
2425
2426         * cursor.[Ch]: add textRow() needed members
2427
2428         * BufferView.C:
2429         * BufferView_pimpl.C:
2430         * paragraph.[Ch]:
2431         * BufferView.C:
2432         * BufferView_pimpl.C: adjust
2433
2434 2004-02-11  André Pönitz  <poenitz@gmx.net>
2435
2436         * lyxfunc.C:
2437         * BufferView.[Ch]:
2438         * BufferView_pimpl.C: shift undo/redo handling
2439
2440         * cursor.[Ch]: fix mathed crash
2441
2442         * lyxfind.C:
2443         * lyxtext.h: move selectionAsText to LCursor
2444
2445         * output_latex.C:
2446         * paragraph.C:
2447         * text.C:
2448         * text2.C:
2449         * text3.C: adjust
2450
2451         * rowpainter.C: fix excessive drawing
2452
2453 2004-02-06  André Pönitz  <poenitz@gmx.net>
2454
2455         * BufferView.[Ch]:
2456         * BufferView_pimpl.[Ch]:
2457         * text3.C: move some text specific LFUN handling
2458
2459 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text3.C (checkInsetHit): adjust coords
2462         * text2.C (getColumnNearX): adjust coords
2463         (edit): adjust coords
2464         * text.C (getRowNearY): add two asserts
2465
2466 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2467
2468         * converter.C:
2469         * format.C: add using std::distance to compile on gcc 2.95/stlport
2470
2471 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2472
2473         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2474
2475 2004-02-04  André Pönitz  <poenitz@gmx.net>
2476
2477         * BufferView.[Ch] (insertInset):
2478         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2479
2480         * text2.C:
2481         * text3.C: adjust
2482
2483 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2484
2485         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2486         on the default clause of the switch
2487         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2488         wasn't catched by LCursor::dispatch
2489
2490 2004-02-03  André Pönitz  <poenitz@gmx.net>
2491
2492         * BufferView.C:
2493         * cursor.[Ch]: some additional asserts
2494
2495         * undo.[Ch]: remove LyXText dependency in interface
2496
2497         * lyxfunc.C: adjust
2498
2499         * lyxtext.h (firstPar, lastPar): remove dead functions
2500
2501         * text.C:
2502         * text2.C:
2503         * text3.C:
2504         * paragraph.[Ch]: adjust
2505
2506 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * lyxfind.C (find): fix argument order in call to ::find
2509
2510 2004-02-02  André Pönitz  <poenitz@gmx.net>
2511
2512         * cursor.[Ch]: remove direct access to anchor
2513
2514         * text.C: remove findText() hack
2515
2516 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2517
2518         * iterators.[Ch] (lockPath): remove in favour of...
2519         * BufferView.[Ch] (setCursor): this addition
2520         * BufferView.C (putSelectionAt): adjust
2521         * undo.C (performUndoOrRedo): adjust
2522         * lyxfunc.C (dispatch): adjust
2523
2524 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * iterators.C (lockPath): add a missing slice
2527         * undo.C (performUndoOrRedo): remove redundant positioning code
2528
2529 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2530
2531         * vc-backend.C (scanMaster): ";" -> ';'
2532
2533 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2534
2535         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2536         std::binary_function
2537
2538         * lyxtextclass.C (compare_name): rename to...
2539         (LayoutNamesEqual): ...this
2540
2541         * lyxlex_pimpl.C (compare_tags): inherit from
2542         std::binary_function, put back into anon namespace
2543
2544         * lyxfind.C (MatchString): inherig from std::binary_function
2545         (findChange): use empty() istead of !size()
2546
2547         * format.C (FormatNamesEqual): new functor
2548         (getFormat): use it
2549         (getNumber): use it
2550         (add): use it
2551         (erase): use it
2552         (setViewer): use it
2553
2554         * converter.C (compare_Converter): rename to...
2555         (ConverterEqual): ...this, and fixup a bit.
2556         (getConverter): use it, and make function const
2557         (getNumber): use it, and make function const
2558         (add): use it
2559         (erase): use it:
2560
2561         * bufferlist.C: add using boost::bind
2562
2563         * MenuBackend.C (MenuNamesEqual): new functor
2564         (hasMenu): use it, and make function const
2565         (hasSubmenu): use nested bind to get rid of compare_memfun.
2566
2567 2004-01-30  André Pönitz  <poenitz@gmx.net>
2568
2569         * BufferView_pimpl.C:
2570         * cursor.C:
2571         * cursor.h:
2572         * cursor_slice.[Ch]:
2573         * lyxfunc.C:
2574         * lyxtext.h:
2575         * paragraph_funcs.C:
2576         * paragraph_funcs.h:
2577         * rowpainter.C:
2578         * text.C:
2579         * text2.C:
2580         * text3.C: move some of the edit(x,y) handling to the insets
2581         some coordinate changes.
2582
2583 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2584
2585         * text.C: add using statements for std::advance and std::distance
2586
2587         * paragraph.C: add using statement for std::distance
2588
2589         * lyxfind.C: add using statement for std::advance
2590
2591         * cursor.C (region): remove std:: from swap
2592         (openable): use nucleus in stead of operator->
2593
2594         * BufferView.C: add using statements for std::distance and std::swap
2595
2596 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2597
2598         * iterators.C: Remove the pimple, move the needed structures to
2599         the header file. Create accessor for the positions stack.
2600         (asPosIterator): remove function
2601
2602         * PosIterator.C (PosIterator): move constructors to top of file
2603         (PosIterator): reimplement the constructor taking a ParIterator in
2604         terms of setFrom.
2605         (setFrom): new function
2606         (operator!=): inline it
2607
2608 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2609
2610         * lyxfind.C (replaceAll): use std::advance
2611
2612         * iterators.h: inherit from std::iterator.
2613
2614         * PosIterator.C (advance, distance): remove
2615         * PosIterator.h: interit from std::iterator.
2616
2617 2004-01-26  André Pönitz  <poenitz@gmx.net>
2618
2619         * BufferView.[Ch]:
2620         * BufferView_pimpl.[Ch]:
2621         * InsetList.[Ch]:
2622         * PosIterator.[Ch]:
2623         * buffer.h:
2624         * bufferview_funcs.C:
2625         * cursor.[Ch]:
2626         * cursor_slice.h:
2627         * factory.[Ch]:
2628         * iterators.[Ch]:
2629         * lyxfind.C:
2630         * lyxfunc.C:
2631         * lyxtext.h:
2632         * output_docbook.C:
2633         * output_latex.C:
2634         * output_linuxdoc.C:
2635         * output_plaintext.C:
2636         * paragraph.[Ch]:
2637         * paragraph_funcs.[Ch]:
2638         * paragraph_pimpl.[Ch]:
2639         * rowpainter.C:
2640         * tabular.C:
2641         * tabular.h:
2642         * text.C:
2643         * text2.C:
2644         * text3.C: more IU:  dumps most of the rest of the mathcursor
2645     implementation into cursor.[Ch]; "globalize" a bit of it.
2646
2647 2004-01-25  Angus Leeming  <leeming@lyx.org>
2648
2649         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2650
2651 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2652
2653         * LaTeXFeatures.h: add nice_ and nice() const
2654         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2655
2656 2004-01-20  André Pönitz  <poenitz@gmx.net>
2657
2658         * BufferView.[Ch]:
2659         * BufferView_pimpl.C:
2660         * PosIterator.C:
2661         * bufferview_funcs.C:
2662         * cursor.[Ch]:
2663         * cursor_slice.[Ch]:
2664         * factory.C:
2665         * iterators.C:
2666         * lyx_cb.C:
2667         * lyxfind.C:
2668         * lyxfunc.C:
2669         * lyxtext.h:
2670         * rowpainter.C:
2671         * text.C:
2672         * text2.C:
2673         * text3.C:
2674         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2675           LCursor and mathcursor parts to LCursor and InsetBase.
2676
2677 2004-01-15  André Pönitz  <poenitz@gmx.net>
2678
2679         * cursor_slice.[Ch]: add a few covienience functions
2680
2681         * funcrequest.[Ch]: remove BufferView * member
2682
2683         * BufferView_pimpl.C:
2684         * cursor.C:
2685         * factory.[Ch]:
2686         * lyxfind.[Ch]:
2687         * lyxfunc.C:
2688         * lyxtext.h:
2689         * text3.C:
2690         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2691
2692 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2695         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2696
2697 2004-01-13  André Pönitz  <poenitz@gmx.net>
2698
2699         * textcursor.[Ch]:
2700         * lyxtext.h: hide cursor and selection anchor behind accessor function
2701
2702         * BufferView.C:
2703         * BufferView_pimpl.[Ch]:
2704         * PosIterator.C:
2705         * bufferview_funcs.C:
2706         * cursor.h:
2707         * lyxfind.C:
2708         * lyxfunc.C:
2709         * text.C:
2710         * text2.C:
2711         * text3.C:
2712         * undo.C: adjust
2713
2714         * cursor.h:
2715         * cursor_slice.[Ch]: some integer type changes for inset unification
2716
2717         * lyxcursor.[hC]: remove, it's CursorSlice now.
2718
2719         * Makefile.am:
2720         * BufferView_pimpl.[Ch]:
2721         * bufferview_funcs.C:
2722         * cursor_slice.C:
2723         * lyxtext.h:
2724         * text.C:
2725         * text2.C:
2726         * text3.C:
2727         * textcursor.[Ch]: adjust
2728
2729 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * text2.C (undoSpan): add and use
2732         * text.C (breakParagraph): use undoSpan (fix bug 578)
2733         * lyxtext.h: adjust
2734
2735 2004-01-08  Angus Leeming  <leeming@lyx.org>
2736
2737         * BufferView_pimpl.C (MenuInsertLyXFile):
2738         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2739         * lyxfunc.C (menuNew, open, doImport):
2740         FileFilterList change to the FileDialog open and save functions.
2741
2742 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2743
2744         * ShareContainer.h: make isEqual and isUnique adaptable
2745
2746         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2747
2748 2004-01-07  Angus Leeming  <leeming@lyx.org>
2749
2750         * LyXAction.C:
2751         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2752
2753         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2754
2755         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2756         functions replacing find, replace and replaceAll.
2757
2758         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2759         LFUN_WORDFIND(FORWARD|BACKWARD).
2760
2761 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2762
2763         * text.C (breakParagraph): remove an outdated #warning
2764
2765 2004-01-07  André Pönitz  <poenitz@gmx.net>
2766
2767         * lyxfind.C: somewhat clearer logic
2768
2769         * text.C: prevent crash in cursorX on unitialized row cache
2770
2771 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2772
2773         * lyxcursor.[Ch] (operator>): add
2774         * textcursor.C (selStart, selEnd): use std::min and std::max
2775
2776 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2777
2778         * Chktex.C: include boost/format.hpp
2779
2780 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2781
2782         * InsetList.C: replace functor MathcIt with adaptable functor
2783         InsetTablePosLess
2784         (insetIterator): modify accordingly
2785
2786         * BranchList.h: move the BranchNamesEqual functor here from...
2787         * BranchList.C: ... to here
2788
2789         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2790         SameName and match.
2791         (add): replace a finding loop with std::find_if.
2792
2793 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2794
2795         * output_docbook.C: moving LatexParam functionality into
2796         .layout files
2797
2798 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2799
2800         * buffer.C: increment format to 229.
2801
2802 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2803
2804         * LaTeXFeatures.C:
2805         * lyx_sty.[Ch]: remove minipageindent_def
2806
2807         * LyXAction.C:
2808         * factory.C:
2809         * lfuns.h:
2810         * lyxfunc.C:
2811         * text3.C: remove LFUN_INSET_MINIPAGE
2812
2813 2003-12-28  Angus Leeming  <leeming@lyx.org>
2814
2815         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2816
2817 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2818
2819         * text2.C (setParagraph): fix off-by-one crash
2820
2821 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * output_docbook.C: header stuff for AGU
2824
2825 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2826
2827         * text2.C (redoCursor): remove
2828         * text.C:
2829         * text3.C:
2830         * BufferView_pimpl.C: remove calls to redoCursor and
2831         setCursor(cursor.par(), cursor.pos()) all around
2832
2833 2003-12-15  Angus Leeming  <leeming@lyx.org>
2834
2835         * buffer.C: up the format to 228.
2836
2837 2003-12-15  André Pönitz  <poenitz@gmx.net>
2838
2839         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2840         slices
2841
2842         * Makefile.am:
2843
2844         * BufferView_pimpl.C:
2845         * cursor.[Ch]:
2846         * lyxcursor.[Ch]:
2847         * rowpainter.[Ch]:
2848         * lyxtext.h:
2849         * text.C:
2850         * text2.C:
2851         * text3.C: adjust
2852
2853 2003-12-15  Angus Leeming  <leeming@lyx.org>
2854
2855         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2856         than getFromGUIName to manipulate the color.
2857
2858 2003-12-14  Angus Leeming  <leeming@lyx.org>
2859
2860         * BranchList.[Ch]: minimize the API.
2861         (Branch::getBranch, getColor): now return a 'const &'.
2862         (Branch::setSelected) now returns a bool set to true if the
2863         selection status changes.
2864         (BranchList::clear, size, getColor, setColor, setSelected,
2865         allBranches, allSelected, separator): removed.
2866         (BranchList::find): new functions, returning the Branch with
2867         the given name.
2868         (BranchList::add, remove): return a bool indicating that
2869         the operation was successful.
2870
2871         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2872         new InsetBranch::isBranchSlected member function.
2873
2874         * LColor.[Ch]: mimimize the API.
2875         (fill): renamed as addColor and made private.
2876         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2877         versions of these functions taking a string arg have been removed.
2878
2879         * bufferparams.C (readToken):
2880         * lyxfunc.C (dispatch):
2881         * lyxrc.C (read): changes due to the altered BranchList and
2882         LColor APIs.
2883
2884         * factory.C (createInset, readInset): changes due to altered
2885         InsetBranch c-tor.
2886
2887 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2888
2889         * factory.C:
2890         * lyxfunc.C: remove insetminipage. "minipage-insert"
2891         now produces a frameless minipage box inset.
2892
2893 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2894
2895         * textcursor.[Ch] (selStart,selEnd): add new methods
2896         remove selection::start, end, use LyXCursor::operator<
2897         * lyxcursor.[Ch] (operator<): add
2898         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2899         * BufferView.[Ch] (unsetXSel): add
2900         * text2.C (clearSelection): use unsetXSel,adjust
2901         * text.C: adjust
2902         * text3.C: adjust
2903         * rowpainter.C: adjust
2904         * bufferview_funcs.C (put_selection_at): adjust
2905
2906 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2907
2908         * BufferView_pimpl.C: small coord. correction
2909
2910 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2913         dragging over the splash screen.
2914
2915 2003-12-11  Angus Leeming  <leeming@lyx.org>
2916
2917         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2918         as it is now handled in LyXText::dispatch.
2919
2920         * text3.C (doInsertInset): remove a level of nesting.
2921
2922 2003-12-11  Angus Leeming  <leeming@lyx.org>
2923
2924         * factory.C (createInset): changes due to the changed interface to
2925         InsetCommandMailer::string2params.
2926
2927 2003-12-10  Angus Leeming  <leeming@lyx.org>
2928
2929         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2930         'dialog-show-new-inset <inset name>'
2931
2932 2003-12-10  Angus Leeming  <leeming@lyx.org>
2933
2934         * buffer.C: up the format to 227.
2935
2936         * factory.C: the box inset is now identified simply by 'Box'.
2937
2938 2003-12-10  Angus Leeming  <leeming@lyx.org>
2939
2940         * buffer.C: up the format to 226.
2941
2942         * factory.C: the note inset is now identified simply by 'Note'.
2943
2944 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2947         when a pit is enough. Standarize a couple of loops.
2948
2949 2003-12-05  Angus Leeming  <leeming@lyx.org>
2950
2951         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2952         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2953         data to the re-worked "log" dialog.
2954
2955 2003-12-03  André Pönitz  <poenitz@gmx.net>
2956
2957         * PosIterator.C:
2958         * iterators.C:
2959         * lyxtext.h:
2960         * output_latex.C:
2961         * paragraph_funcs.C:
2962         * text.C:
2963         * text2.C: use Inset::getText instead of Inset::getParagraph
2964
2965 2003-12-03  André Pönitz  <poenitz@gmx.net>
2966
2967         * buffer.[Ch]:
2968         * lyxtext.h:
2969         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2970         InsetText::read() as LyXText::read()
2971
2972 2003-12-02  Angus Leeming  <leeming@lyx.org>
2973
2974         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2975         type. Add a comment in the implementation that the function uses
2976         the stream's bad() function rather than fail() as the std::streams
2977         would do.
2978
2979 2003-12-02  André Pönitz  <poenitz@gmx.net>
2980
2981         * lyxlex.[Ch]: make interface more similar to std::stream
2982
2983         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2984
2985 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2986
2987         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2988
2989 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2990
2991         * vspace.[Ch]: remove VSpace::NONE
2992
2993 2003-12-01  André Pönitz  <poenitz@gmx.net>
2994
2995         * buffer.[Ch]:
2996         * lyxtext.h: move ParagraphList member to LyXText
2997         rename LyXText::ownerParagraphs to LyXText::paragraph
2998
2999         * CutAndPaste.C:
3000         * bufferview_funcs.C:
3001         * iterators.[Ch]:
3002         * lyx_cb.C:
3003         * paragraph.C:
3004         * rowpainter.C:
3005         * tabular.C:
3006         * text.C:
3007         * text2.C:
3008         * text3.C: adjust
3009
3010         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3011
3012         * undo.C: fix cursor positioning
3013
3014 2003-12-01  John Levon  <levon@movementarian.org>
3015
3016         * BufferView_pimpl.C: fix a crash on exit with
3017         a buffer open
3018
3019 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3020
3021         * BranchList.C: fix setSelected() method.
3022
3023 2003-11-28  André Pönitz  <poenitz@gmx.net>
3024
3025         * ParagraphParameters.[Ch]:
3026         * ParameterStruct.h: remove space above/below from Paragraph to
3027          InsetVSpace
3028
3029         * BufferView_pimpl.C:
3030         * factory.C:
3031         * lyxfunc.C:
3032         * lyxtext.h:
3033         * output_latex.C:
3034         * paragraph.C:
3035         * paragraph_funcs.C:
3036         * rowpainter.[Ch]:
3037         * text.C:
3038         * text2.C:
3039         * text3.C: adjust
3040
3041 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3042
3043         * factory.C: Syntax change for CharStyles
3044
3045 2003-11-28  André Pönitz  <poenitz@gmx.net>
3046
3047         * BufferView.[Ch]:
3048         * BufferView.[Ch]:
3049         * buffer.[Ch]:
3050         * buffer.[Ch]: move LyXText member
3051
3052 2003-11-28  André Pönitz  <poenitz@gmx.net>
3053
3054         * BufferView.[Ch]: make LyXText * text a private member
3055
3056         * BufferView_pimpl.C:
3057         * cursor.C:
3058         * iterators.C:
3059         * lyx_cb.C:
3060         * lyxfind.C:
3061         * lyxtext.h:
3062         * rowpainter.[Ch]:
3063         * text.C:
3064         * text2.C:
3065         * undo.C: adjust
3066
3067         * output_plaintext.C: cleanup
3068
3069 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3070
3071         * buffer.C:
3072         * lyxtextclass.[Ch]: parametrize SGML document header
3073
3074 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3075
3076         * converter.[Ch]:
3077         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3078         getFlavor().
3079
3080 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3081
3082         * text2.C (setFont): rework using PosIterator (no more recursive)
3083         (setCharFont): no more needed
3084         (setLayout): no more selection cursors fiddling (done by redoCursor)
3085         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3086         destroy remaining ones)
3087
3088 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3091         * lyxtext.h: ditto
3092         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3093         selection cursors
3094         * lyxfunc.C: adjust
3095         * text3.C: adjust + re-allow multi par depth changes
3096         * textcursor.C: simplify a bit
3097
3098 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3099
3100         * src/buffer.C:
3101         * src/lyxlayout.C:
3102         * src/lyxlayout.h:
3103         * src/lyxtext.h:
3104         * src/output_docbook.C:
3105         * src/output_latex.C:
3106         * src/paragraph.C:
3107         * src/paragraph.h:
3108         * src/sgml.C:
3109         * src/sgml.h:
3110         * src/text2.C: Introducing a number of tags parametrizing various
3111         XML formats that we may want to support
3112
3113 2003-11-25  André Pönitz  <poenitz@gmx.net>
3114
3115         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3116
3117         * lyxtext.h (leftMargin/rightMargin): simplify interface
3118
3119         * rowpainter.C:
3120         * text.C:
3121         * text2.C:
3122         * text3.C: adjust
3123
3124 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3125
3126         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3127         master file to any child files. Fixes bug 546.
3128
3129 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3130
3131         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3132
3133 2003-11-24  André Pönitz  <poenitz@gmx.net>
3134
3135         * rowpainter.C: simplification
3136
3137         * text2.C (updateCounters): remove call to redoParagraph on
3138         changed labels as this is far too expensive.
3139
3140 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * converter.C (convert): fix a crash: this function gets
3143         called with buffer == 0 from importer code.
3144
3145 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3146
3147         * text3.C (cursorPrevious): make sure that we do not compare
3148         iterators form different containers.
3149         (cursorNext): ditto
3150
3151         * rowpainter.C (paintSelection): make sure that we do not compare
3152         iterators from different containers.
3153
3154         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3155         iterators from different ParagraphList containers.
3156         [NEXT] ditto
3157
3158         * text2.C (LyXText): change order of initialization slightly
3159         (operator=): new function. copy all variables except cache_par_
3160         (moveUp): make sure that we do not compare iterators from
3161         different ParagraphList constainers.
3162         (moveDown): ditto
3163
3164         * text.C (firstPar): new function
3165         (lastPar): new function
3166         (endPar): new function
3167
3168         * lyxtext.h: move things around and group public functions, public
3169         variables, private functions, private variables
3170
3171 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3172
3173         * factory.C: change call to InsetERT constructor to avoid
3174         additional invocation of method status
3175         * text2.C (toggleInset): remove redundant update() call
3176         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3177         instead of a Bufferview pointer
3178
3179 2003-11-21  André Pönitz  <poenitz@gmx.net>
3180
3181         * rowpainter.C: simplification
3182
3183 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * text3.C (dispatch): make possible to extend a word/row selection
3186         with the mouse
3187
3188 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3189
3190         * lyxtext.h: x0_,y0_ -> xo_,yo_
3191         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3192         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3193         * rowpainter.C (paintRows): paint full paragraphs
3194
3195 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3198         screen coordinates)
3199
3200 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3201
3202         * lyxtext.h: add x0_, y0_
3203         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3204         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3205
3206 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3207
3208         * text2.C (setCursorIntern): move the x_target update here *
3209         * text3.C: change some bv() to true/false in calls to
3210         cursorUp/Down/Right/Left
3211         * cursor.C: use helper function.
3212
3213 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3216         * paragraph_funcs.[Ch]: correct comment
3217         * rowpainter.C: do not paint selections away from bv->cursor()
3218         Fix a long standing selection painting bug.
3219         * text3.C: generalize mouse-selection code to LyXTexts other that
3220         top one
3221         * textcursor.C: do not use y coords if we can use par offsets
3222
3223 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3226         cursor position after e.g. inset insert)
3227
3228 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * lyxfind.C (replace): adjust to locking removal + some
3231         code simplification
3232
3233 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3234
3235         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3236         of the path
3237
3238 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3239
3240         * lyxlayout.[Ch]:
3241         * output_docbook.C: XML sanitation: new layout
3242         parameters InnerTag and CommandDepth
3243
3244 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3245
3246         * BufferView_pimpl.C:
3247         * factory.C:
3248         * text3.C: Fix the insertion and modification of button-style
3249         insets
3250
3251 2003-11-13  André Pönitz  <poenitz@gmx.net>
3252
3253         * InsetList.[Ch]: remove deleteLyXText
3254
3255         * paragraph.[Ch]: cache beginOfBody position
3256
3257         * Bidi.C:
3258         * text.C:
3259         * text2.C:
3260         * text3.C: remove superfluous update() calls
3261
3262         * vspace.C: cleanup
3263
3264 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3267         * BufferView.C (fitLockedInsetCursor): remove
3268         * cursor.[Ch] (getDim): add
3269         * text.C (getRowNearY): add faster version
3270         * text3.C: remove some update calls
3271
3272 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3273
3274         * LaTeXFeatures.C:
3275         * LyXAction.C:
3276         * MenuBackend.C:
3277         * MenuBackend.h:
3278         * dispatchresult.h:
3279         * factory.C:
3280         * lfuns.h:
3281         * lyxfunc.C:
3282         * lyxtextclass.C:
3283         * lyxtextclass.h:
3284         * text3.C: The Character Style /XML short element patch.
3285
3286 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3287
3288         * text3.C:
3289         * factory.C: Small step to solving 'unable to insert some insets'
3290         problem
3291
3292 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3293
3294         * cursor.[Ch] (updatePos): new function for updating the y
3295         position of the tip inset
3296         * bufferview_funcs.C (put_selection_at):
3297         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3298
3299 2003-11-11  André Pönitz  <poenitz@gmx.net>
3300
3301         * text.C: remove big comment on invalid Paragraph pointers as it is
3302         not valid anymore
3303
3304 2003-11-11  André Pönitz  <poenitz@gmx.net>
3305
3306         * text_funcs.[Ch]: merge with ...
3307
3308         * text.C: ... this
3309
3310         * lyxtext.h:
3311         * text2.C:
3312         * text3.C: adjust
3313
3314         * Makefile.am: remove text_funcs.[Ch]
3315
3316 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3317
3318         * cursor.C (getPos): return absolute cached y coord
3319
3320         * BufferView_pimpl.C (fitCursor): new simplistic code
3321         (workAreaDispatch): add a fitCursor call
3322
3323 2003-11-10  André Pönitz  <poenitz@gmx.net>
3324
3325         * BufferView.[Ch]:
3326         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3327
3328 2003-11-10  André Pönitz  <poenitz@gmx.net>
3329
3330         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3331         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3332         indicate that the cursor needs to leave an inset
3333
3334         * lyxtext.h: remove inset locking
3335
3336         * cursor.[Ch]: re-implement functionality provided by inset locking
3337
3338         * BufferView.[Ch]:
3339         * BufferView_pimpl.[Ch]:
3340         * LyXAction.C:
3341         * bufferview_funcs.[Ch]:
3342         * factory.C:
3343         * funcrequest.[Ch]:
3344         * iterators.C:
3345         * lyx_cb.C:
3346         * lyxfind.C:
3347         * lyxfunc.C:
3348         * text.C:
3349         * text2.C:
3350         * text3.C:
3351         * undo.C: adjust
3352
3353 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * PosIterator.[Ch]: replace the stack with a vector, add inset
3356         accesor
3357         * iterators.[C]: adjust
3358
3359 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3360
3361         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3362         replaced
3363         * paragraph_funcs.C (readParToken): put the correct id in the
3364         error item, not the id of the top paragraph
3365
3366 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3367
3368         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3369         * bufferview_funcs.C (put_selection_at): use the above
3370
3371 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3374
3375 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3376
3377         * output_linuxdoc.h:
3378         * output_plaintext.h:
3379         * output.h:
3380         * output_docbook.h: add #include statements
3381
3382 2003-11-05  José Matos  <jamatos@lyx.org>
3383
3384         * output_docbook.[Ch]:
3385         * output_latex.[Ch]:
3386         * output_linuxdoc.[Ch]:
3387         * output_plaintext.[Ch]: New files for output formats.
3388         * output.[Ch]: New file for helper functions.
3389
3390         * buffer.[Ch]:
3391         * paragraph_funcs.[Ch]: output functions moved to new files.
3392
3393         * outputparams.h: rename of latexrunparams.h
3394
3395         * LaTeX.[Ch]:
3396         * buffer.[Ch]:
3397         * bufferlist.[Ch]:
3398         * converter.[Ch]:
3399         * exporter.C:
3400         * paragraph.[Ch]:
3401         * paragraph_funcs.[Ch]:
3402         * paragraph_pimpl.[Ch]:
3403         * tabular.[Ch]: rename ascii to plaintext
3404         and LatexRunParams to OutputParams.
3405
3406 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3407
3408         * iterators.[Ch] (text): require bv argument
3409         * undo.C (recordUndo):
3410         * lyxfunc.C (dispatch):
3411         * bufferview_funcs.C (put_selection_at): adjust
3412
3413 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3414
3415         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3416
3417 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3418
3419         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3420         nestings
3421
3422 2003-11-04  André Pönitz  <poenitz@gmx.net>
3423
3424         * cursor.[Ch]: restructure
3425
3426         * BufferView.[Ch]:
3427         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3428
3429         * iterators.[Ch] (asCursor): remove
3430
3431         * lfuns.h: remove LFUN_INSET_EDIT
3432
3433         * lyxfunc.C:
3434         * tabular.C:
3435         * text.C:
3436         * text2.C:
3437         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3438
3439 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3440
3441         * lyxfind.[Ch]: complete overhaul
3442         * BufferView_pimpl.C:
3443         * lyxfunc.C: adjust
3444         * paragraph.[Ch] (insert): add
3445
3446 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * BufferView.[Ch]:
3449         * lyxtext.h:
3450         * text.C: remove dead spellcheck code
3451
3452 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * dispatchresult.h: add a val setter
3455
3456         * cursor.C (dispatch): use a tempvar for data_[i]
3457
3458 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * PosIterator.[Ch]: compile fix
3461
3462 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * text.C (cursorPar): deactivate the cursor cache
3465
3466 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3469
3470 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * text3.C (dispatch): adjust for new DisptchResult semantics.
3473
3474         * lyxfunc.C (dispatch): handle update when return from
3475         Cursor::dispatch, adjust for new DispatchResult semantics.
3476
3477         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3478         DispatchResult(true) mean to not update. Add class functions for
3479         setting dispatched and update, as well as reading.
3480
3481         * cursor.C (dispatch): don't handle update here
3482
3483 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3486         * trans_mgr.C: adjust
3487
3488         * paragraph_funcs.C (readParToken): exception safety
3489
3490         * lyxvc.h: store the vcs pointer in a scoped_ptr
3491         * lyxvc.C: adjust
3492
3493         * lyxsocket.C (serverCallback): exception safety
3494
3495         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3496
3497         * ispell.C (clone): make it return a auto_ptr
3498
3499         * factory.C (createInset): exception safety
3500         (readInset): exception safety
3501
3502         * bufferlist.C (newBuffer): exception safety
3503
3504         * Thesaurus.C (Thesaurus): use initialization for aik_
3505
3506         * MenuBackend.C (expandToc): exception safety.
3507
3508 2003-11-03  André Pönitz  <poenitz@gmx.net>
3509
3510         * buffer.C:
3511         * buffer.h:
3512         * bufferview_funcs.C: remove getInsetFromId()
3513
3514         * lyxcursor.[Ch]:
3515         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3516
3517         * lyxfunc.C:
3518         * text2.C:
3519         * text3.C: adjust
3520
3521 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * PosIterator.C (distance, advance): new
3524         * bufferview_funcs.[Ch] (put_selection_at): new
3525         * iterators.[Ch] (lockPath): new
3526
3527 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * iterators.[Ch] (asPosIterator): added
3530         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3531         * PosIterator.[Ch]: added
3532
3533 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3534
3535         * text3.C:
3536         * lyxfunc.C:
3537         * cursor.C (dispatch):
3538         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3539
3540         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3541         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3542         contructor, add a class function dispatched. Remove operator>=
3543
3544 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * debug.C: only use the default constructor for debugstream
3547         (lyxerr) here.
3548
3549         * main.C (main): include debug.h and setup the lyxerr streambuf
3550         here.
3551
3552 2003-10-31  José Matos  <jamatos@lyx.org>
3553
3554         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3555
3556         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3557         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3558         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3559         * paragraph_pimpl.C (simpleTeXSpecialC):
3560         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3561         add LatexRunParams argument.
3562
3563         * exporter.C (Export): change call accordingly.
3564
3565         * latexrunparams.h: add new member to take care of the other backends.
3566 2003-10-30  José Matos  <jamatos@lyx.org>
3567
3568         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3569         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3570         factorise code for paragraph output.
3571         * buffer.[Ch]:
3572         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3573         move functions.
3574
3575 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * text3.C (dispatch):
3578         * lyxfunc.C (dispatch):
3579         * cursor.C (dispatch):
3580         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3581
3582         * dispatchresult.h: make the dispatch_result_t ctor explicit
3583
3584 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3585
3586         * sgml.[Ch]:
3587         * buffer.C: small refactoring of docbook stuff
3588
3589 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3592         meaning.
3593
3594 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3597         operator dispatch_result_t, and operators for == != and >=
3598
3599         * cursor.C (dispatch): adjust for operator dispatch_result_t
3600         removal. comment out call to update
3601
3602         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3603
3604 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * text3.C:
3607         * text2.C:
3608         * text.C:
3609         * lyxtext.h:
3610         * lyxfunc.C:
3611         * cursor.C:
3612         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3613         (dispatch):
3614
3615         * dispatchresult.h: new file, DispatchResult broken out of
3616         insets/insetbase.h
3617
3618         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3619
3620 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3621
3622         * text.C (rowBreakPoint): put a hack inside #if 0
3623
3624 2003-10-28  André Pönitz  <poenitz@gmx.net>
3625
3626         * lyxtext.h:
3627         * metricsinfo.C:
3628         * paragraph_funcs.C:
3629         * rowpainter.C:
3630         * text.C:
3631         * text2.C: general cleanup (lots of small stuff)
3632
3633 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * text2.C (cursorEnd): simple fix to the "end key goes to one
3636         before the end on last row" bug
3637
3638 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * text.C (backspace): fix the "zombie characters"
3641
3642 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3643
3644         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3645
3646 2003-10-27  André Pönitz  <poenitz@gmx.net>
3647
3648         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3649
3650         * factory.C: handle new InsetPagebreak, InsetLine
3651
3652         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3653         and move handling into new InsetPagebreak, InsetLine
3654
3655         * BufferView_pimpl.C:
3656         * LyXAction.C:
3657         * ParagraphParameters.C:
3658         * ParameterStruct.h:
3659         * lyxfunc.C:
3660         * lyxtext.h:
3661         * paragraph.C:
3662         * paragraph.h:
3663         * paragraph_funcs.C:
3664         * paragraph_pimpl.C:
3665         * rowpainter.C:
3666         * text.C:
3667         * text2.C:
3668         * text3.C: adjust
3669
3670 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3671
3672         * text.C:
3673         * lyxrow_funcs.[Ch]:
3674         * Bidi.C:
3675         * paragraph.C:
3676         * lyxtext.h:
3677         * rowpainter.C:
3678         * text2.C:
3679         * text3.C: remove lastPos uses in favour of Row::endpos
3680
3681 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * undo.C (performUndoOrRedo): fix two crashes by setting a
3684         cursor by hand and reordering some calls. Use bv->lockInset instead
3685         of inset->edit because the latter loses cursor information
3686
3687 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3690         by Martin
3691         (rowBreakPoint): fix width. change point to point + 1.
3692         Add a missing check.
3693
3694 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * MenuBackend.C:
3697         * lyxfunc.C: fix (at least partly) the problems
3698         with the Nav menu and headers inside branch insets
3699         reported by Kayvan
3700
3701 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3702
3703         * paragraph.C (getChar): add strong asserts
3704
3705         * lyxrow_funcs.C (lastPos): remove hideous hack
3706
3707         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3708         (fill): adjust to that (avoid an infinite loop)
3709
3710 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3711
3712         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3713
3714 2003-10-23  André Pönitz  <poenitz@gmx.net>
3715
3716         * RowList_fwd.h: change list<> to vector<> to gain speed
3717         after suggestion from Alfredo
3718
3719 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3720
3721         * lyxtext.h: move the bidi stuff from here...
3722         * text.C: and here
3723         * text2.C: and here
3724         * Bidi.[Ch]: ... to here
3725
3726 2003-10-23  André Pönitz  <poenitz@gmx.net>
3727
3728         * lyxtext.h:
3729         * text.C (isLastRow, isFirstRow): new functions
3730
3731         * paragraph.h: new width cache member
3732
3733         * rowpainter.C: replace RowList::iterator with Row & where possible
3734
3735         * lyxfunc.C: replace several view()->text with a single call
3736
3737         * toc.C: fix 'unused' warning
3738
3739 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3742         when woring with stream::pos_type
3743         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3744
3745 2003-10-22  André Pönitz  <poenitz@gmx.net>
3746
3747         * lyxtext.h:
3748         * text.C: use Row & instead of RowList::iterator
3749
3750         * lyxrow.h: rename end() to endpos()
3751
3752         * rowpainter.C:
3753         * text.C:
3754         * text2.C: adjust
3755
3756 2003-10-22  Angus Leeming  <leeming@lyx.org>
3757
3758         * buffer.[Ch] (fully_loaded): new member function, returning true
3759         only when the file has been loaded fully.
3760         Used to prevent the premature generation of previews and by the
3761         citation inset to prevent computation of the natbib-style label.
3762
3763         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3764         templates are all set up.
3765
3766         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3767
3768 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3769
3770         * text.C: fixed an "oops" in the "is a bit silly"
3771         bug fix
3772
3773 2003-10-21  André Pönitz  <poenitz@gmx.net>
3774
3775         * FuncStatus.[Ch]: small stuff, whitespace
3776
3777         * lyxfont.[Ch]: operator<<() for debug reasons
3778
3779         * lyxfunc.C:
3780         * lyxrow_funcs.C:
3781         * lyxtext.h: whitespace, spelling
3782
3783         * paragraph.C: naming of variables
3784
3785         * text.C:
3786         * text2.C: small stuff
3787
3788
3789 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3790
3791         * text.C: (1) finish off the inset display() work;
3792         (2) fix the "is a bit silly" bug (accessing char
3793         past end of par).
3794
3795 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3796
3797         * text.C: re-introduce display() for insets, fixing the
3798         various bugs (stretch of line above, math inset
3799         positioning, ...)
3800
3801 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3802
3803         * text.C (rightMargin): remove spurious semicolon
3804
3805         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3806         1415)
3807
3808 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3809
3810         * text3.C: fix one crash due to wrong cursor def
3811
3812 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * vc-backend.C (scanMaster): make the regex static
3815
3816         * LaTeX.C (scanAuxFile): make the regexs static
3817
3818         * text3.C (doInsertInset, dispatch, dispatch):
3819         * text2.C (cursorUp, cursorDown):
3820         * text.C (selectNextWordToSpellcheck):
3821         * BufferView_pimpl.C (dispatch):
3822         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3823
3824 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3825
3826         * lyxsocket.C: include <cerrno>
3827
3828 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3829
3830         * lyxfunc.C (dispatch): remove textcache stuff
3831
3832         * bufferlist.C (release): remove textcache stuff
3833         (closeAll): ditto
3834
3835         * TextCache.C: delete file
3836         * TextCache.h: delete file
3837
3838         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3839
3840         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3841         delete of the bv_->text.
3842         (resizeCurrentBuffer): remove texcache stuff
3843         (workAreaResize): ditto
3844
3845 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3848         action.
3849
3850 2003-10-16  André Pönitz  <poenitz@gmx.net>
3851
3852         * lyxrow.[Ch]:
3853         * paragraph.h:
3854         * rowpainter.C:
3855         * text.C:
3856         * text2.C:
3857         * text3.C: speed up by storing y positions per paragraph plus per-row
3858         offset instead of having a 'full' y position in the row.
3859
3860 2003-10-15  André Pönitz  <poenitz@gmx.net>
3861
3862         * iterators.[Ch]:
3863         * iterators.[Ch]:
3864         * undo.[Ch]: make undo aware of inner insets
3865
3866 2003-10-14  Angus Leeming  <leeming@lyx.org>
3867
3868         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3869         static member functions LyX::ref() and LyX::cref.
3870         (lastfiles): new accessor functions for the new lastfiles_ member var.
3871         (addLyXView, views_): add a new LyXView to the list of views_.
3872         (updateInset): loop over all LyXViews to call their own updateInset
3873         member function, returning a pointer to the Buffer owning the inset.
3874
3875         * BufferView_pimpl.C (loadLyXFile):
3876         * MenuBackend.C (expandLastfiles):
3877         * bufferlist.C (MenuWrite, QuitLyX):
3878         lastfiles is no longer a global variable.
3879         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3880
3881         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3882         static function. Access through LyX::cref().emergencyCleanup().
3883
3884 2003-10-14  André Pönitz  <poenitz@gmx.net>
3885
3886         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3887
3888         * undo.[Ch]: restoring part of 'undo in insets'
3889
3890         * Makefile.am:
3891         * undo_funcs.[Ch]: merge with undo.[Ch]
3892
3893         * tabular.C: small cleansing stuff
3894
3895 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3896
3897         * paragraph_funcs.C (readParToken): report unknown insets as error
3898         boxes. Use the outer paragraph as location (also for unknown
3899         tokens).
3900
3901         * factory.C (readInset): do not abort on reading an unknown inset.
3902         Eat it and return 0.
3903
3904 2003-10-13  Angus Leeming  <leeming@lyx.org>
3905
3906         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3907
3908         * lyxrc.C: displayTranslator is now a function,
3909         declared in GraphicsTypes.h.
3910
3911 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3912
3913         * format.C: new placeholder $$a to pass the socket address.
3914
3915         * bufferlist.[Ch]: new function getBufferFromTmp.
3916
3917         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3918           files in the temporary dir.
3919
3920 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3921
3922         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3923
3924         * Makefile.am: add lyxsocket.[Ch].
3925
3926         * lyx_main.C (error_handler): handle SIGPIPE.
3927
3928 2003-10-13  André Pönitz  <poenitz@gmx.net>
3929
3930         * BufferView_pimpl.C:
3931         * lyxtext.h:
3932         * text.C:
3933         * text2.C:
3934         * text3.C:
3935         * undo_funcs.[Ch]: use paroffset_type instead of
3936           ParagraphList::iterators to prevent multiple conversion
3937           (and get a more robust interface)
3938
3939 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3942         * lyxtext.h: ditto
3943         * text3.C (dispatch): ditto
3944
3945 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3948         move the onlyfile, use onlyfile instead of foundfile in a couple
3949         of places.
3950
3951         * DepTable.C (update): flush the error stream a bit more
3952
3953 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3954
3955         * lyxserver.C (callback): adjust
3956
3957         * lyxfunc.C (getStatus): add a missing brace in commented code
3958         (ensureBufferClean): reindent
3959         (dispatch): delete version taking a string
3960
3961 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3962
3963         * LaTeX.C (deplog): move found file handlig from here...
3964         (handleFoundFile): .. to new function here.
3965         (deplog): make sure to discover several files mentioned on the
3966         same log line.
3967
3968 2003-10-10  André Pönitz  <poenitz@gmx.net>
3969
3970         * lyxfunc.C:
3971         * lyxtext.h:
3972         * tabular.C:
3973         * text.C:
3974         * text2.C:
3975         * text3.C: fix some of the tabular crashes
3976
3977 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3978
3979         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3980
3981         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3982
3983 2003-10-09  André Pönitz  <poenitz@gmx.net>
3984
3985         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3986
3987         * BufferView.C:
3988         * BufferView_pimpl.C:
3989         * bufferview_funcs.C:
3990         * lyx_cb.C:
3991         * lyxcursor.C:
3992         * lyxfind.C:
3993         * lyxfunc.C:
3994         * lyxtext.h:
3995         * text.C:
3996         * text2.C:
3997         * text3.C:
3998         * text_funcs.[Ch]:
3999         * textcursor.[Ch]:
4000         * undo_funcs.C: adjust
4001
4002 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4003
4004         * text2.C (incrementItemDepth): new function, use a backtracking
4005         algorithm to discover the correct item depth.
4006         (resetEnumCounterIfNeeded): new function, use a backtracking
4007         algorithm to discover if counter reset is needed.
4008         (setCounter): use them. Simplify a bit. Add different labels for
4009         different item depths for itemize.
4010
4011         * paragraph.C (Paragraph): remove initialization of enumdepth
4012         (operator=): ditto
4013
4014         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4015         enumerate and itemize. Change the type of itemdepth to signed char.
4016
4017 2003-10-08  André Pönitz  <poenitz@gmx.net>
4018
4019         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4020           thing assignable.
4021         * text.C:
4022         * text2.C: adjust
4023
4024         * tabular.[Ch]: fix crash after 'row-insert'
4025
4026 2003-10-08  Angus Leeming  <leeming@lyx.org>
4027
4028         Fix doxygen warnings.
4029
4030         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4031         Remove CutAndPaste:: prefix from header file declaration.
4032
4033         * LColor.h (fill): remove LColor:: prefix from declaration.
4034
4035         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4036         use lyx::depth_type rather than Paragraph::depth_type so that
4037         header file and .C file match.
4038
4039         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4040
4041         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4042         * aspell.C: \file aspell_local.C -> \file aspell.C
4043         * gettext.C: \file gettext.C -> \file src/gettext.C
4044         * gettext.h: \file gettext.h -> \file src/gettext.h
4045         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4046         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4047         * text.C: \file text.C -> \file src/text.C
4048
4049         * toc.C: move comment so that doxygen is not confused.
4050
4051 2003-10-07  Angus Leeming  <leeming@lyx.org>
4052
4053         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4054
4055 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4056
4057         * aspell.C:
4058         * aspell_local.h: add forgotten std::string's.
4059
4060 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4061
4062         * LaTeXFeatures.C:
4063         * LyXAction.C:
4064         * factory.C:
4065         * lfuns.h:
4066         * lyxfunc.C:
4067         * text3.C: The Box patch. Fancybox support, minipage, parbox
4068
4069 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4070
4071         * CutAndPaste.h:
4072         * DepTable.h:
4073         * FloatList.h:
4074         * LaTeXFeatures.h:
4075         * ParagraphParameters.h:
4076         * TextCache.h:
4077         * Thesaurus.h:
4078         * bufferlist.h:
4079         * exporter.h:
4080         * importer.h:
4081         * lastfiles.h:
4082         * lyxfind.h:
4083         * lyxfont.h:
4084         * lyxlex.h:
4085         * lyxtextclasslist.h:
4086         * messages.h:
4087         * paragraph.h:
4088         * paragraph_pimpl.C:
4089         * textcursor.h: add <string> and other small fixes to make Lars'
4090         std::string patch compile with STLport.
4091
4092 2003-10-06  Angus Leeming  <leeming@lyx.org>
4093
4094         * LColor.h: Add missing #include <string>.
4095
4096 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * All most all file in all subdirs: Make <string> be the prefered
4099         way of getting to std::string, add using declarations.
4100
4101 2003-10-06  André Pönitz  <poenitz@gmx.net>
4102
4103         * metricsinfo.C: initialize LyXFont before changing attribute.
4104         (fixes the 'math in \emph is upright' bug)
4105
4106 2003-10-06  André Pönitz  <poenitz@gmx.net>
4107
4108         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4109
4110 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4111
4112         * graph.C:
4113         * paragraph_pimpl.C: Small fixes to build using STLport
4114
4115 2003-10-02  André Pönitz  <poenitz@gmx.net>
4116
4117         * lyxfunc.C:
4118         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4119
4120 2003-10-01  André Pönitz  <poenitz@gmx.net>
4121
4122         * factory.C: assert early
4123
4124 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * lyx_main.C: remove the global debug object
4127
4128         * debug.h: adjust for new debugstream
4129
4130         * debug.C: adjust for new debugstream and keep the global debug
4131         object here.
4132
4133 2003-09-22  Angus Leeming  <leeming@lyx.org>
4134
4135         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4136         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4137         an incomplete class LyXFont.
4138
4139 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4140
4141         * factory.C: bug fix in branches
4142
4143 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * lyxfunc.C (processKeySym): adjust
4146         (dispatch): adjust
4147         (dispatch): change arg name from ev to func, adjust
4148         (sendDispatchMessage): ditto
4149
4150         * lyx_main.C (defaultKeyBindings): adjust keybindings
4151         (deadKeyBindings): ditto
4152
4153         * kbsequence.C (addkey): return a FuncRequest
4154
4155         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4156
4157         * kbmap.C (bind): take a FuncRequest as arg, adjust
4158         (read): adjust
4159         (lookup): adjust
4160         (defkey): change to take a FuncRequest as arg, adjust
4161         (findbinding): take a FuncRequest as arg, adjust.
4162
4163         * funcrequest.h (operator=): added
4164
4165         * funcrequest.C (FuncRequest): default kb_action changed from
4166         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4167
4168         * buffer.C (dispatch): simplify
4169         (dispatch): adjust to take a FuncRequest as arg, adjust
4170
4171         * boost.C (assertion_failed): change assertion message slightly
4172
4173         * ToolbarBackend.C (read): simplify
4174
4175         * MenuBackend.C (binding): adjust call to findbinding, add a
4176         message if no binding is found.
4177         (read): simplify
4178         (expandToc): correct by adding a empty FuncRequest
4179
4180         * LyXAction.C: include <boost/assert.hpp>
4181         (isPseudoAction): delete function
4182         (LookupFunc): change name to...
4183         (lookupFunc): this. change return type to FuncRequest.
4184         (getActionName): take kb_action as arg, simplify
4185         (funcHasFlag): add an assert, simplify.
4186
4187 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * toc.C (action): return a FuncRequest, simplify
4190
4191         * lyxfunc.C (processKeySym): adjust
4192         (getStatus): delete version that takes an int.
4193         (getStatus): adjust
4194         (dispatch): delete version that takes action as int
4195         (dispatch): adjust
4196         (sendDispatchMessage): simplify and adjust
4197
4198         * funcrequest.C (getArg): take unsigned int as arg
4199
4200         * ToolbarBackend.C (read): adjust
4201         (add): delete version that takes func as a string.
4202         (getIton): take a FuncRequest as arg
4203
4204         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4205         action.
4206
4207         * MenuBackend.C (MenuItem): add a new construct that only takes a
4208         Kind, simplify the constructor use for submenus.
4209         (add): adjust
4210         (expandLastfiles): adjust
4211         (expandDocuments): adjust
4212         (expandFormats): adjust
4213         (expandFloatListInsert): adjust
4214         (expandFloatInsert): adjust
4215         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4216
4217         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4218         Remove class variables lyx_pseudo_map and lyx_arg_map
4219
4220         * LyXAction.C (searchActionArg): delete function
4221         (getPseudoAction): delete function
4222         (retrieveActionArg): delete function
4223         (LookupFunc): make it return kb_action, simplify.
4224         (getActionName): simplify
4225
4226         * factory.C (createInset): fix new bug
4227
4228 2003-09-19  Angus Leeming  <leeming@lyx.org>
4229
4230         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4231         masterFilename_ parameter in the include inset.
4232
4233         * factory.C (createInset): changes due to the changes to InsetInclude.
4234
4235 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4236
4237         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4238
4239 2003-09-18  Angus Leeming  <leeming@lyx.org>
4240
4241         * buffer.C:
4242         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4243         Inset::fillWithBibKeys.
4244         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4245
4246 2003-09-18  Angus Leeming  <leeming@lyx.org>
4247
4248         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4249         variables.
4250         (ctor): pass and store a 'Buffer const &'
4251         (buffer): new member function.
4252
4253         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4254         '*this' to the LaTeXFeatures ctor.
4255
4256 2003-09-18  Angus Leeming  <leeming@lyx.org>
4257
4258         * LColor.h:
4259         * lyxfont.C:
4260         * lyxfont.h:
4261         * lyxtext.h:
4262         * text.C: rename EnumLColor as LColor_color.
4263
4264 2003-09-18  Angus Leeming  <leeming@lyx.org>
4265
4266         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4267         remove #include "insets/insetbase.h" from cursor.h.
4268
4269 2003-09-18  Angus Leeming  <leeming@lyx.org>
4270
4271         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4272         InsetOld_code to remove #include "inset.h".
4273
4274         * iterators.C: add #include "insets/inset.h"
4275
4276 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4277
4278         * BufferView.C: remove more locking stuff that apparently doesn't
4279         do anything sensible.
4280
4281 2003-09-16  André Pönitz  <poenitz@gmx.net>
4282
4283         * paragraph.[Ch]:
4284         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4285           performance boost.
4286
4287 2003-09-16  Angus Leeming  <leeming@lyx.org>
4288
4289         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4290
4291         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4292         arg/return type.
4293
4294         * paragraph.h: remove #include "lyxfont.h". Forward declare
4295         LyXFont_size.
4296
4297 2003-09-16  Angus Leeming  <leeming@lyx.org>
4298
4299         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4300         of support/textutils.h.
4301         (isWord): move the contents of support/textutils.h's IsWordChar here.
4302
4303         * buffer.C:
4304         * lyxfind.C:
4305         * rowpainter.C:
4306         * text.C:
4307         * text2.C: add #include "paragraph.h".
4308
4309         * rowpainter.C:
4310         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4311
4312 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4313
4314         * main.C:
4315         * lyx_main.C:
4316         * lyx_cb.C:
4317         * buffer.C:
4318         * LaTeX.C: use namespace alias for lyx::support::os
4319
4320 2003-09-16  Angus Leeming  <leeming@lyx.org>
4321
4322         * bufferparams.C:
4323         * bufferview_funcs.C:
4324         * factory.C:
4325         * lyxfunc.C:
4326         * paragraph_pimpl.C:
4327         * rowpainter.C:
4328         * text.C: add #include "LColor.h".
4329
4330 2003-09-16  Angus Leeming  <leeming@lyx.org>
4331
4332         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4333         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4334         return LyXFont &.
4335         Store the FontBits::color variable as an int rather than as an
4336         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4337         file.
4338
4339         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4340         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4341         string calls together.
4342
4343         * lyxrc.C: add #include "LColor.h".
4344
4345 2003-09-15  Angus Leeming  <leeming@lyx.org>
4346
4347         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4348         a cow_ptr.
4349
4350 2003-09-15  Angus Leeming  <leeming@lyx.org>
4351
4352         * LColor.h: add an EnumLColor wrapper for LColor::color.
4353
4354         * lyxfont.[Ch] (color, setColor, realColor):
4355         * lyxtext.h, text.C (backgroundColor):
4356         pass EnumLColor args to/from the functions, rather than LColor::color
4357         ones.
4358
4359         * lyxfont.h:
4360         * lyxtext.h: forward declare EnumLColor.
4361
4362         * lyx_main.C: add #include "LColor.h".
4363
4364 2003-09-15  Angus Leeming  <leeming@lyx.org>
4365
4366         * .cvsignore: add lyx-gtk.
4367
4368 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * Chktex.C
4371         * LaTeX.C
4372         * LaTeXFeatures.C
4373         * ParagraphParameters.C
4374         * Spacing.C
4375         * buffer.C
4376         * bufferparams.C
4377         * bufferview_funcs.C
4378         * chset.C
4379         * counters.C
4380         * funcrequest.C
4381         * lyxfont.C
4382         * lyxgluelength.C
4383         * lyxlength.C
4384         * paragraph.C
4385         * paragraph_funcs.C
4386         * text3.C
4387         * vc-backend.C: remove usage of STRCONV
4388
4389 2003-09-15  Angus Leeming  <leeming@lyx.org>
4390
4391         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4392         explicitly define the color passed to the painter.
4393
4394 2003-09-15  Angus Leeming  <leeming@lyx.org>
4395
4396         * bufferparams.C (BufferParams): reorder member initializers to avoid
4397         compiler warning.
4398
4399 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4402         * text.C (updateRowPositions): remove an unusual nop
4403
4404 2003-09-12  André Pönitz  <poenitz@gmx.net>
4405
4406         * BufferView_pimpl.C:
4407         * Bullet.C:
4408         * layout.h:
4409         * lyxfunc.C:
4410         * lyxlayout.[Ch]:
4411         * lyxtextclass.C:
4412         * rowpainter.C:
4413         * text.C:
4414         * text2.C:
4415         * Counters.[Ch]: finish the 'automatic counters' job
4416
4417 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4418
4419         * aspell.C: include <boost/assert.cpp> (compile fix)
4420
4421 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4422
4423         * boost.C (assertion_failed): use lyx::support::abort instead of
4424         assert.
4425
4426 2003-09-10  Angus Leeming  <leeming@lyx.org>
4427
4428         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4429         with their _fwd progeny.
4430
4431 2003-09-09  Angus Leeming  <leeming@lyx.org>
4432
4433         134 files throughtout the source tree: replace 'using namespace abc;'
4434         directives with the appropriate 'using abc::xyz;' declarations.
4435
4436 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4437
4438         * boost.C (emergencyCleanup): moved here from LAssert.c
4439         (assertion_failed): new function, called by BOOST_ASSERT
4440
4441         * several files: change Assert to BOOST_ASSERT
4442
4443 2003-09-09  Angus Leeming  <leeming@lyx.org>
4444
4445         * buffer.[Ch]: Add an Impl class and move Buffer's member
4446         variables into it. As a result move several header files out of
4447         buffer.h.
4448
4449         Add header files to lots of .C files all over the tree as a result.
4450
4451 2003-09-09  Angus Leeming  <leeming@lyx.org>
4452
4453         * buffer.[Ch]: make Buffer's member variables private. Add
4454         accessor functions.
4455
4456         Lots of changes all over the tree as a result.
4457
4458 2003-09-08  Angus Leeming  <leeming@lyx.org>
4459
4460         * graph.C: #include <config.h>.
4461
4462 2003-09-08  Angus Leeming  <leeming@lyx.org>
4463
4464         * BranchList.C:
4465         * BufferView.C:
4466         * BufferView_pimpl.C:
4467         * CutAndPaste.C:
4468         * DepTable.C:
4469         * LaTeX.C:
4470         * LaTeXFeatures.C:
4471         * LyXAction.C:
4472         * MenuBackend.C:
4473         * TextCache.C:
4474         * aspell.C:
4475         * buffer.C:
4476         * bufferlist.C:
4477         * changes.C:
4478         * chset.C:
4479         * converter.C:
4480         * counters.C:
4481         * debug.C:
4482         * graph.C:
4483         * ispell.C:
4484         * lyx_cb.C:
4485         * lyxfind.C:
4486         * lyxfunc.C:
4487         * lyxlex_pimpl.C:
4488         * lyxrc.C:
4489         * lyxrow.C:
4490         * paragraph.C:
4491         * rowpainter.C:
4492         * texrow.C:
4493         * text.C:
4494         * text2.C:
4495         * toc.C: remove redundant using directives.
4496
4497 2003-09-07  Angus Leeming  <leeming@lyx.org>
4498
4499         * LaTeXFeatures.h: remove #include "support/types.h".
4500         * ToolbarBackend.h: remove #include <algorithm>.
4501         * changes.h: remove #include <ctime>.
4502         * debug.h: remove #include <iosfwd>.
4503         * graph.h: remove #include "support/std_string.h".
4504         * lyx_main.h: remove #include <csignal>.
4505         * lyxlex_pimpl.h: remove #include <fstream>.
4506         * sgml.h: remove #include <algorithm>, <utility>.
4507         * toc.h: remove #include "support/std_ostream.h".
4508         Add #include <iosfwd>.
4509
4510 2003-09-07  Angus Leeming  <leeming@lyx.org>
4511
4512         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4513
4514         * converter.h: forward declare LatexRunParams.
4515         * encoding.h: remove #include "lyxrc.h".
4516         * lyxtext.h: remove #include "LColor.h".
4517         * lyxtextclass.h: remove #include "support/types.h".
4518         * trans.h: remove #include "tex-accent.h".
4519         * trans_mgr.h: remove #include "tex-accent.h".
4520         * insets/inset.h: remove #include "support/types.h", <vector>.
4521         * insets/insetcollapsable.h: remove #include "LColor.h".
4522         * insets/insetinclude.h: remove #include "dimension.h".
4523         * insets/insetlatexaccent.h: remove #include "dimension.h".
4524         * insets/insetoptarg.h:: remove #include "insettext.h".
4525         * insets/insettext.h: remove #include "dimension.h",
4526         <boost/shared_ptr.hpp>
4527
4528         * insets/renderers.h: add #include "dimension.h".
4529         * insets/updatableinset.h: add #include "support/types.h".
4530
4531         * many .C files: Associated changes.
4532
4533 2003-09-06  Angus Leeming  <leeming@lyx.org>
4534
4535         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4536         one, inside testInvariant.
4537
4538         * PrinterParams.C: new file.
4539         * PrinterParams.[Ch]: move the function bodies out of line.
4540
4541 2003-09-06  Angus Leeming  <leeming@lyx.org>
4542
4543         * ParagraphParameters.h: forward declare ParameterStruct rather than
4544         including its header file.
4545         (depth): moved out-of-line.
4546
4547 2003-09-06  Angus Leeming  <leeming@lyx.org>
4548
4549         * BufferView_pimpl.h:
4550         * kbmap.h:
4551         * kbsequence.h:
4552         * lyxfunc.h: forward declare LyXKeySym rather than
4553         #include "frontends/LyXKeySym.h".
4554
4555         * BufferView_pimpl.C:
4556         * kbmap.C:
4557         * kbsequence.C:
4558         * lyxfunc.C: associated changes.
4559
4560 2003-09-06  Angus Leeming  <leeming@lyx.org>
4561
4562         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4563         As a result, can remove the #include "insets/inset.h" from BufferView.h
4564
4565 2003-09-06  Angus Leeming  <leeming@lyx.org>
4566
4567         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4568         As a result, can remove the #include "insets/inset.h" from BufferView.h
4569
4570 2003-09-06  Angus Leeming  <leeming@lyx.org>
4571
4572         * buffer_funcs.C:
4573         * buffer.h:
4574         * bufferlist.C:
4575         * BufferView.C:
4576         * bufferview_funcs.C:
4577         * BufferView_pimpl.C:
4578         * CutAndPaste.C:
4579         * lyx_cb.C:
4580         * lyxfunc.C:
4581         * paragraph.h:
4582         * ParagraphParameters.C:
4583         * tabular.C:
4584         * text3.C:
4585         * toc.C:
4586         * undo_funcs.C:
4587         * frontends/controllers/ControlDocument.C:
4588         * insets/insetcaption.C: rearrange the #includes into some sort of
4589         coherent order.
4590
4591         * buffer.h: remove #includes ErrorList.h, undo.h
4592
4593 2003-09-06  Angus Leeming  <leeming@lyx.org>
4594
4595         * support/types.h: add a 'depth_type' typedef, used to store the
4596         nesting depth of a paragraph.
4597
4598         * paragraph.h:
4599         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4600         defining explicitly.
4601
4602         * buffer.h:
4603         * paragraph_funcs.h:
4604         * ParagraphParameters.h:
4605         * sgml.h: use lyx::depth_type rather than Paragraph or
4606         ParameterStruct's depth_type.
4607
4608         * buffer.h
4609         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4610
4611         * BufferView.C:
4612         * BufferView_pimpl.C:
4613         * CutAndPaste.C:
4614         * ParagraphParameters.C:
4615         * buffer_funcs.C:
4616         * bufferlist.C:
4617         * bufferview_funcs.C:
4618         * lyx_cb.C:
4619         * lyxfunc.C:
4620         * tabular.C:
4621         * text3.C:
4622         * toc.C:
4623         * undo_funcs.C:
4624         * frontends/LyXView.C:
4625         * frontends/controllers/ControlDocument.C:
4626         * frontends/controllers/ControlErrorList.C:
4627         * insets/insetbibitem.C:
4628         * insets/insetbranch.C:
4629         * insets/insetcaption.C:
4630         * insets/insetcollapsable.C:
4631         * insets/insetenv.C:
4632         * insets/insetert.C:
4633         * insets/insetfloat.C:
4634         * insets/insetfoot.C:
4635         * insets/insetfootlike.C:
4636         * insets/insetnewline.C:
4637         * insets/insetquotes.C:
4638         * insets/insettabular.C:
4639         * insets/insettext.C:
4640         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4641
4642         * frontends/controllers/ControlChanges.C: #include "changes.h".
4643
4644 2003-09-06  Angus Leeming  <leeming@lyx.org>
4645
4646         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4647         than #including paragraph.h.
4648
4649         * ParagraphList.h:
4650         * RowList.h: deleted. Superfluous.
4651
4652         * CutAndPaste.h:
4653         * iterators.h:
4654         * lyxcursor.h:
4655         * lyxtext.h:
4656         * text_funcs.h:
4657         * undo.h:
4658         * undo_funcs.h:
4659         * insets/inset.h:
4660         * insets/insettext.h: use ParagraphList_fwd.h rather than
4661         ParagraphList.h.
4662
4663         * paragraph.h: don't forward declare ParagraphList.
4664
4665         * buffer.h:
4666         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4667         rather than ParagraphList.h. paragraph.h is still needed for the
4668         Paragraph::depth_type parameters.
4669
4670         * textcursor.h: enable it to compile stand-alone in light of the
4671         above changes.
4672
4673         * bufferview_funcs.C:
4674         * iterators.C:
4675         * lyxfunc.C:
4676         * lyxrow_funcs.C:
4677         * paragraph.C:
4678         * rowpainter.C:
4679         * text.C:
4680         * text2.C:
4681         * text3.C:
4682         * text_funcs.C:
4683         * textcursor.C:
4684         * undo.C:
4685         * frontends/controllers/ControlParagraph.C:
4686         * frontends/controllers/ControlTabular.C:
4687         * insets/insetmarginal.C:
4688         * insets/insetminipage.C:
4689         * insets/insetnote.C:
4690         * insets/insetoptarg.C: add header files needed to compile again.
4691
4692 2003-09-06  Angus Leeming  <leeming@lyx.org>
4693
4694         * RowList_fwd.h: new file, forward-declaring Row rather than
4695         #including lyxrow.h.
4696
4697         * lyxrow_funcs.h:
4698         * lyxtext.h:
4699         * paragraph.h:
4700         * insets/insettext.h: use it instead of RowList.h
4701
4702         * bufferview_funcs.C:
4703         * lyxfunc.C:
4704         * lyxrow_funcs.C:
4705         * paragraph.C:
4706         * rowpainter.C:
4707         * text.C:
4708         * text2.C:
4709         * text3.C: #include "RowList.h".
4710
4711 2003-09-05  Angus Leeming  <leeming@lyx.org>
4712
4713         * factory.C (createInset):
4714         * vspace.C (c-tor): replace sscanf call with an istringstream.
4715         * ispell.C: re-add missing HP/UX headers.
4716         * lyxserver.C: re-add missing  os2 headers.
4717
4718 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4719
4720         * BranchList.C:
4721         * graph.C:
4722         * ispell.C:
4723         * lastfiles.C:
4724         * lyx_cb.C:
4725         * lyxserver.C:
4726         * texrow.C:
4727         * text3.C: re-add missing system headers, needed for 2.95.2.
4728
4729 2003-09-05  Angus Leeming  <leeming@lyx.org>
4730
4731         Changes most place everywhere due to the removal of using directives
4732         from support/std_sstream.h.
4733
4734 2003-09-05  Angus Leeming  <leeming@lyx.org>
4735
4736         Replace LString.h with support/std_string.h,
4737         Lsstream.h with support/std_sstream.h,
4738         support/LIstream.h with support/std_istream.h,
4739         support/LOstream.h with support/std_ostream.h.
4740
4741         Changes resulting throughout the tree.
4742
4743 2003-09-05  Angus Leeming  <leeming@lyx.org>
4744
4745         * sgml.h: ensure that the header file can be compiled stand-alone.
4746         * *.C: strip out redundant #includes. (320 in total.)
4747
4748 2003-09-04  Angus Leeming  <leeming@lyx.org>
4749
4750         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4751         here (from getPackages).
4752
4753         * debug.[Ch]: add a new EXTERNAL tag.
4754
4755 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4756
4757         * text2.C (cursorEnd): simplify
4758         (setCursor): adjust
4759         (getColumnNearX): adjust
4760
4761         * text.C (computeBidiTables): adjust
4762         (fill): adjust
4763
4764         * rowpainter.C (paintChars): adjust
4765         (paintSelection): adjust
4766         (paintChangeBar): adjust
4767         (paintText): adjust
4768
4769         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4770         lastPos instead.
4771         (numberOfSeparators): adjust
4772
4773 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4774
4775         * LyXAction.C:
4776         * box.[Ch]:
4777         * lfuns.h:
4778         * lyxfunc.C:
4779         * text3.C: Restricts the mouse click functionality
4780         of insets like bibtex, include, toc and floatlist to the visible
4781         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4782         up the dialogs. Cursor has to be in front of the inset (i.e.
4783         start of row) for this to function.
4784
4785 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4786
4787         * bufferview_funcs.C (currentState): output row information
4788
4789 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4790
4791         * bufferview_funcs.C (currentState): output paragraph position
4792
4793 2003-09-04  Angus Leeming  <leeming@lyx.org>
4794
4795         * FloatList.h: move out #include "Floating.h".
4796         * LaTeX.h: move out #include "DepTable.h".
4797         * LyXAction.h: move out #include "funcrequest.h".
4798         * buffer.h: move out #include "author.h", "iterators.h".
4799         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4800         * lyx_main.h: move out #include "errorlist.h".
4801         * lyxfunc.h: move out #include "FuncStatus.h".
4802         * lyxtext: move out #include "lyxcursor.h".
4803         * paragraph_pimpl.h: move out #include "counters.h".
4804
4805 2003-09-03  Angus Leeming  <leeming@lyx.org>
4806
4807         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4808         preamble_snippets list, enabling us to add snippets to the preamble
4809         only if the snippet was not there already.
4810
4811 2003-09-04  Angus Leeming  <leeming@lyx.org>
4812
4813         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4814
4815 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4818         update
4819
4820 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4821
4822         * BranchList.C: point fix, earlier forgotten
4823
4824 2003-09-02  Angus Leeming  <leeming@lyx.org>
4825
4826         * box.C (contains): renamed from 'contained' after a fantastic
4827         amount of hot air.
4828
4829 2003-09-02  John Levon  <levon@movementarian.org>
4830
4831         * BufferView.C:
4832         * lyxcursor.h:
4833         * lyxcursor.C:
4834         * lyxfunc.C:
4835         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4836
4837 2003-09-02  John Levon  <levon@movementarian.org>
4838
4839         * text2.C: simplification of cursorEnd(), including partial
4840         fix for bug 1376
4841
4842 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * buffer.C (readFile): add a space
4845
4846 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4847
4848         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4849
4850 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * buffer.C (readFile): new function, take a filename and a
4853         ParagraphList::iterator
4854         (readFile): adjust
4855         (readFile): adjust, make it private. don't use setStream, make
4856         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4857         always contain the filename.
4858
4859         * BufferView.C (insertLyXFile): simplify and make it work for
4860         gzipped files.
4861
4862 2003-08-30  John Levon  <levon@movementarian.org>
4863
4864         * Makefile.am: fix dist (from Kayvan)
4865
4866 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * most files: change to use const Buffer refs
4869
4870 2003-08-27  André Pönitz  <poenitz@gmx.net>
4871
4872         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4873         on top of ownerPar().
4874
4875 2003-08-27  John Levon  <levon@movementarian.org>
4876
4877         * funcrequest.C: properly initialise POD members
4878
4879 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * lyxtext.h (top_y): move top_y from here
4882         * text.C:
4883         * text2.C:
4884         * text3.C:
4885         * BufferView.[Ch]:
4886         * BufferView_pimpl.[Ch]: to here
4887         * frontends/screen.C:
4888         * insets/insettabular.C:
4889         * insets/insettext.C: adjust
4890         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4891
4892 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * BufferView.[Ch]:
4895         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4896
4897 2003-08-26  André Pönitz  <poenitz@gmx.net>
4898
4899         * paragraph_func.[Ch] (outerPar): new function
4900
4901         * paragraph.C:
4902         * paragraph_funcs.C:
4903         * paragraph_funcs.h:
4904         * paragraph_pimpl.C:
4905         * text2.C: remove Inset::par_owner
4906
4907 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4908
4909         * lyxrow_funcs.C:
4910         * lyxtext.h:
4911         * text.C:
4912         * text2.C: eliminates the needFullRow/display() stuff
4913         altogether, putting the logic in metrics/draw in the insets.
4914
4915 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4916
4917         * text2.C (redoParagraphInternal, redoParagraphs):
4918         * text.C (redoParagraph): add a call to updateRowPositions at the
4919         end of each 'metrics-like' call. Remove all others.
4920         (getRow): remove the 'y-computing' version.
4921         (getRowNearY): do not compute nor return the real y. Solve the
4922         'y < 0' problem and simplify.
4923
4924 2003-08-22  Angus Leeming  <leeming@lyx.org>
4925
4926         * *.[Ch]: clean-up of licence and author blurbs.
4927         Also move config.h out of a few .h files and into a few .C files.
4928
4929 2003-08-22  André Pönitz  <poenitz@gmx.net>
4930
4931         * lyxrow.[Ch]: add x_ and *fill_ members
4932
4933         * lyxtext.h:
4934         * text.C:
4935         * rowpainter.C:
4936         * text2.C: adjust/remove prepareToPrint() calls
4937
4938 2003-08-22  André Pönitz  <poenitz@gmx.net>
4939
4940         * lyxrow.[Ch]: add  end_ member
4941
4942         * lyxrow_funcs.C: use LyXRow::end_
4943
4944         * lyxtext.h (singleWidth): add LyXFont parameter
4945
4946         * rowpainter.C:
4947         * text2.C: adjust LyXText::singleWidth() calls
4948
4949         * text.C (redoParagraph): simplify row breaking logic
4950
4951
4952 2003-08-19  André Pönitz  <poenitz@gmx.net>
4953
4954         * funcrequest.C: initialize button_ member
4955
4956         * text3.C:
4957         * rowpainter.[Ch]: interface consolidation
4958
4959 2003-08-18  André Pönitz  <poenitz@gmx.net>
4960
4961         * BufferView.C:
4962         * BufferView_pimpl.C:
4963         * lyxfind.C:
4964         * paragraph_funcs.C:
4965         * rowpainter.C:
4966         * text3.C: remove LyXScreen::draw() and fitCursor calls
4967
4968         * BranchList.h: remove spurious semicolons
4969
4970         * MenuBackend.C: fix branchlist related crash
4971
4972 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4973
4974         * BranchList.[Ch]:
4975         * InsetList.[Ch]:
4976         * LColor.[Ch]:
4977         * LyXAction.C:
4978         * Makefile.am:
4979         * MenuBackend.[Ch]:
4980         * bufferparams.[Ch]:
4981         * factory.C:
4982         * lfuns.h:
4983         * lyxfunc.C:
4984         * text3.C: implements the 'branch inset'
4985         idea. This allows the output of various versions of a document
4986         from a single source version, selectively outputing or suppressing
4987         output of parts of the text.
4988         This implementation contains a 'branch list editor' in a separate
4989         tab of the document settings dialog. Branches are user definable
4990         and have a "display colour" to distinguish them on-screen.
4991
4992         ColorHandler was somewhat cleaned up.
4993         (1) make possible a dynamically growing LColor list by allowing
4994         the graphic context cache to grow along (vector);
4995         (2) eliminate an IMHO unnecessary step in colour allocation.
4996
4997 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4998
4999         * BufferView_pimpl.C: compile fix
5000
5001 2003-08-15  André Pönitz  <poenitz@gmx.net>
5002
5003         * rowpainter.C: remove extra metrics calls
5004
5005         * lyxtext.h: merge the two constructors into a single one,
5006           pass reference to owner's par list
5007
5008         * BufferView_pimpl.C:
5009         * text.C:
5010         * text2.C: adjust
5011
5012 2003-08-15  André Pönitz  <poenitz@gmx.net>
5013
5014         * lyxrow_funcs.[Ch]:
5015         * lyxtext.h:
5016         * paragraph.h:
5017         * paragraph_funcs.C:
5018         * rowpainter.C:
5019         * text.C:
5020         * text2.C:
5021         * text3.C:
5022         * text_funcs.C: split LyXText::rowlist_ into individual
5023         Paragraph::rows_ chunks
5024
5025         * BufferView.[Ch]:
5026         * BufferView_pimpl.[Ch]:
5027         * lyxfind.C:
5028         * lyxtext.h:
5029         * text3.C: remove toggleSelection()
5030
5031 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5032
5033         * bufferlist.C: beautify two alerts (shorter text of buttons)
5034         * buffer.C: Remove redundant ' ' from message
5035         * tabular.h:
5036         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5037         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5038         rename VALIGN_CENTER to VALIGN_MIDDLE
5039
5040 2003-08-11  André Pönitz  <poenitz@gmx.net>
5041
5042         * lyxtext.h (getPar):
5043         * text.C: new function
5044
5045 2003-08-11  André Pönitz  <poenitz@gmx.net>
5046
5047         * Makefile.am:
5048         * tracer.[Ch]: remove unneeded files
5049
5050         * InsetList.[Ch]: remove resizeInsetsLyXText()
5051
5052         * lyxtext.h:
5053         * text.C:
5054         * text2.C:
5055         * text3.C: merge insertParagraphs() and appendParagraph()
5056         remove breakAgain(), update()
5057
5058         * BufferView_pimpl.[Ch]:
5059         * bufferview_funcs.[Ch]:
5060         * lyxfunc.C:
5061         * paragraph.[Ch]:
5062         * rowpainter.C:
5063         * tabular.C: adjust after text & InsetList changes.
5064
5065 2003-08-08  André Pönitz  <poenitz@gmx.net>
5066
5067         * text.C (insertChar, backspace): replace rowlist fiddling
5068         with rebreak of full par
5069
5070         * lyxtext.h:
5071         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5072         checkParagraph, updateInset): removed
5073
5074 2003-08-07  André Pönitz  <poenitz@gmx.net>
5075
5076         * paragraph.C:
5077         * text3.C: merge some LFUN handlers, remove dead code
5078
5079 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5080
5081         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5082
5083 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * text2.C (DEPM): fix part of bug 1255 and 1256
5086
5087 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5088
5089         * BufferView_pimpl.C (workAreaDispatch): change to use
5090         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5091         that are no mouse related.
5092
5093 2003-08-05  André Pönitz  <poenitz@gmx.net>
5094
5095         * BufferView.[Ch]:
5096         * BufferView_pimpl.[Ch]:
5097         * bufferview_funcs.C:
5098         * text2.C:
5099         * text3.C: rip out "deep update"
5100
5101         * textcursor.[Ch] (last_sel_cursor): remove unused member
5102
5103 2003-08-04  André Pönitz  <poenitz@gmx.net>
5104
5105         * BufferView.[Ch]:
5106         * BufferView_pimpl.[Ch]:
5107         * ParagraphParameters.C:
5108         * bufferview_funcs.C:
5109         * lyx_cb.C:
5110         * lyxfind.C:
5111         * lyxfunc.C:
5112         * text.C:
5113         * text2.C:
5114         * text3.C: replace "complicated" BufferView::update(...) calls with
5115         simpler ones.
5116
5117         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5118
5119 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5120
5121         * Makefile.am (lyx_SOURCES): add paper.h
5122
5123 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5124
5125         * Makefile.am: move things around so that both lyx-qt and
5126         lyx-xforms can be built (according to --with-frontend). Then lyx
5127         is a symbolic link to lyx-[firstfrontend]
5128
5129 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5130
5131         * Always use std::endl with lyxerr
5132
5133 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5134
5135         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5136
5137 2003-08-01  André Pönitz  <poenitz@gmx.net>
5138
5139         * BufferView.[Ch]:
5140         * BufferView_pimpl.[Ch]:
5141         * lyxfunc.C:
5142         * text3.C: merge BufferView::repaint() and BufferView::update()
5143
5144 2003-08-01  José Matos  <jamatos@lyx.org>
5145
5146         * buffer.[Ch]: file_format is no longer a buffer data element.
5147
5148 2003-08-01  André Pönitz  <poenitz@gmx.net>
5149
5150         * BufferView.C:
5151         * lyxtext.h:
5152         * text.C:
5153         * text2.C: make redoParagraph more independent of current cursor
5154
5155         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5156         * text.C:
5157         * text2.C: remove unneeded members
5158
5159 2003-07-30  André Pönitz  <poenitz@gmx.net>
5160
5161         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5162
5163         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5164           create a single function...
5165
5166         * paragraph_funcs.C (moveItem): ... here.
5167
5168         * text.C:
5169           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5170
5171 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5172
5173         * LColor.[Ch]: Add comment and greyedout logical colors.
5174
5175 2003-07-30  André Pönitz  <poenitz@gmx.net>
5176
5177         * tabular.C: don't use Assert too heavily. This crashes where it
5178           shouldn't
5179
5180 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5183         is disabled (bug 1232)
5184
5185 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5186
5187         * factory.C: limited 'arg' scope
5188
5189 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * factory.C: fixed Note submenu issues
5192
5193 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5194
5195         * factory.C: submenu for Note/Comment/Greyedout
5196
5197 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * lyx_main.C (LyX):
5200         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5201
5202 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5203
5204         * LaTeXFeatures.C:
5205         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5206         greyedout. Patch provided by Jürgen Spitzmüller.
5207
5208 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5209
5210         * kbmap.C (read): fix error message when reading bind files
5211
5212 2003-07-29  Angus Leeming  <leeming@lyx.org>
5213
5214         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5215         certainly does not do what it purports to do. I am doing it, and
5216         us, a favour by killing it.
5217
5218 2003-07-28  José Matos  <jamatos@lyx.org>
5219
5220         * buffer.C (readBody, do_writeFile):
5221         * paragraph.C(readParagraph): \end_document replaces \the_end.
5222
5223 2003-07-29  André Pönitz  <poenitz@gmx.net>
5224
5225         * BufferView.[Ch]:
5226         * BufferView_pimpl.[Ch]:
5227         * lyxfunc.C:
5228         * text2.C:
5229         * text3.C:
5230         * textcursor.[Ch]: remove toggleToggle & Co
5231
5232 2003-07-28  José Matos  <jamatos@fep.up.pt>
5233
5234         * buffer.C (readParagraph):
5235         * params_func (readParToken, readParagraph):
5236         * paragraph.C (write): \layout -> \begin_layout.
5237
5238 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * lyxlex_pimpl.C (setFile): clean up slightly.
5241
5242         * bufferparams.h: add compressed var
5243
5244         * buffer_funcs.C (readFile): adjust for LyXLex change
5245         (newFile): ditto + simplify
5246
5247         * buffer.C (writeFile): handle writing of compressed files
5248
5249         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5250         Check if the file is compressed and set a bufferparm if so.
5251
5252         * Makefile.am (lyx_LDADD): remove explicit -lz
5253
5254 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5255
5256         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5257         makeDocBookFile): put the real LyX version in the first line of
5258         the file
5259
5260         * version.h:
5261         * version.C.in: remove lyx_docversion
5262
5263         * tabular.C (write_attribute): add a template-based version to
5264         write enums properly
5265
5266 2003-07-28  André Pönitz  <poenitz@gmx.net>
5267
5268         * lyxtext.h:
5269         * text.C:
5270         * text2.C:
5271         * text3.C: use doubles again for x-coordinates. They are needed.
5272
5273 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * messages.C (getLocaleDir): use lyx_localedir()
5276
5277         * lyxlex_pimpl.C (setFile): compress stuff
5278
5279         * buffer.C (writeFile): add some compression stuff
5280         (do_writeFile): new func, dont call expliti close... will this
5281         breake anything?
5282
5283         * Makefile.am (lyx_LDADD): add -lz
5284
5285 2003-07-28  José Matos  <jamatos@fep.up.pt>
5286
5287         * buffer.C: increment file format.
5288         * paragraph_funcs (readParagraph, readParToken):
5289         * paragraph.C (readParagraph): add \end_layout.
5290
5291 2003-07-27  Angus Leeming  <leeming@lyx.org>
5292
5293         * Makefile.am: remove special casing for configure-time setting of
5294         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5295
5296         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5297         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5298
5299 2003-07-26  André Pönitz  <poenitz@gmx.net>
5300
5301         * paragraph_func.[Ch]:
5302         * paragraph.C (realizeFont): inline it whereever it is used
5303
5304         * rowpainter.C:
5305         * text.C:
5306         * text2.C:
5307         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5308
5309
5310 2003-07-26  André Pönitz  <poenitz@gmx.net>
5311
5312         *       lyxtext.h:
5313         * text.C:
5314         * text2.C: get rid of LyXText::need_break_row
5315
5316 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * toc.[Ch]: put namespace toc inside namespace lyx
5319
5320         * MenuBackend.C (expandToc2): adjust for lyx::toc
5321         (expandToc): ditto
5322
5323         * lyxfunc.C (dispatch): adjust for lyx::find
5324
5325         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5326         lyx::find instead. Reorganize a bit.
5327         (LyXReplace): rename to replace
5328         (LyXFind): rename to find
5329
5330         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5331         (dispatch): ditto
5332
5333 2003-07-26  André Pönitz  <poenitz@gmx.net>
5334
5335         * text.C (setHeightOfRow): restrict scope of temporary variable
5336
5337         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5338           code (never has been used?)
5339
5340 2003-07-27  Asger Alstrup  <alstrup@local>
5341
5342         * text.C (fill): Optimise algorithm to exploit that we can reuse
5343         the LyXFont for many characters.
5344         (setHeightOfRow): Same thing.
5345         (rowBreakPoint): Same thing.
5346
5347 2003-07-26  Asger Alstrup  <alstrup@local>
5348
5349         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5350
5351         * text.C (singleWidth): Spurious font copying in hot-spot
5352         singleWidth avoided. Reorder tests for arabic for efficiency.
5353
5354         * text.C (fill): handle empty paragraphs better.
5355
5356 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5357
5358         * ispell.C:
5359         * encoding.h: add includes
5360
5361         * lyxrc.C: remove reading of bind files
5362
5363         * lyx_main.C (init): setup bindings and menus only if we have a
5364         gui.
5365
5366         * kbmap.C (read): new method. Do the actual reading of bind
5367         files.
5368
5369         * converter.C (dvipdfm_options):
5370         * bufferparams.C:
5371         * lyxrc.C (read):
5372         (output): adapt PAPER_* enums.
5373
5374         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5375
5376         * bufferparams.h: remove paper-related enums from there
5377
5378         * paper.h: New file. A trivial header file to hold paper-related
5379         enums. It should later expand to contain many paper-related
5380         horrors access.
5381
5382         * lyxrc.C: declare extern displayTranslator
5383
5384 2003-07-27  José Matos  <jamatos@fep.up.pt>
5385
5386         * tabular.[Ch] (linuxdoc): add support for tables and figures
5387         (linuxdoc).
5388
5389 2003-07-27  José Matos  <jamatos@fep.up.pt>
5390
5391         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5392         consistency in both functions.
5393         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5394
5395 2003-07-26  Asger Alstrup  <alstrup@local>
5396
5397         * rowpainter.C (paintRows): Change algorithm to work directly on
5398         the insets rather than asking every character in the document
5399         whether its an inset.
5400
5401 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5402
5403         * buffer.C (openFileWrite): factorize some code
5404
5405 2003-07-26  Angus Leeming  <leeming@lyx.org>
5406
5407         * lyx_cb.C:
5408         * lyx_main.[Ch]: replace occurances of system_tempdir with
5409         os::getTmpDir().
5410
5411 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * rename Inset to InsetOld
5414
5415 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5416
5417         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5418         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5419         which I think is a bit clearer. EDIT is gone, since it was
5420         premature optimisation, and broken for mathed anyway.
5421         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5422         with cursor positioning in insets as well (math insets still do not
5423         work, but that's a different story anyway.) It mysteriously
5424         crashes sometimes with undo in the first paragraph, but I'm fairly
5425         confident that this is a compiler bug.
5426
5427 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * paragraph.C (Paragraph): adjust for new clone return type
5430         (operator==): ditto
5431         (copyIntoMinibuffer): ditto
5432
5433 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5434
5435         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5436         by not having a special case, and always doing a full rebreak of
5437         the document after undo.
5438
5439 2003-07-23  Angus Leeming  <leeming@lyx.org>
5440
5441         * factory.C (createInset): InsetExternal::setParams now takes a
5442         Buffer const * arg.
5443
5444 2003-07-23  Angus Leeming  <leeming@lyx.org>
5445
5446         * factory.C (createInset): changed interface to the external and
5447         graphics mailers' string2params functions.
5448
5449 2003-07-23  Angus Leeming  <leeming@lyx.org>
5450
5451         * factory.C (createInset): pass a
5452         Buffer const * parameter to InsetExternalMailer's string2params.
5453
5454 2003-07-22  John Levon  <levon@movementarian.org>
5455
5456         * Thesaurus.h: include the right aiksaurus header
5457
5458 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5459
5460         * MenuBackend.C (expand): check menu shortcuts unconditionally
5461
5462 2003-07-21  Angus Leeming  <leeming@lyx.org>
5463
5464         * factory.C (createInset): pass a
5465         buffer_path parameter to InsetGraphicsMailer's string2params.
5466
5467 2003-07-21  Angus Leeming  <leeming@lyx.org>
5468
5469         * BufferView_pimpl.C (buffer):
5470         * buffer.C (d-tor):
5471         * lyx_main.C (LyX):
5472         * lyxfunc.C (dispatch):
5473         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5474         rather than the grfx shortcut.
5475
5476 2003-07-21  André Pönitz  <poenitz@gmx.net>
5477
5478         * rowpainter.C: remove unused variables
5479
5480         * tabular_funcs.C:
5481         * tabular_funcs.h: move to tabular.C
5482         * Makefile.am: adjust
5483
5484         * tabular.[Ch]: basic optical cleaning
5485
5486         * author.h: pass references, not values
5487
5488 2003-07-18  André Pönitz  <poenitz@gmx.net>
5489
5490         * lyxtext.h:
5491         * metricsinfo.C:
5492         * metricsinfo.h:
5493         * rowpainter.C:
5494         * text.C:
5495         * text2.C:
5496         * text3.C: two-phase drawing for InsetText and InsetTabular
5497         some float -> int changes.
5498
5499 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * lyx_main.C: fix the fix
5502
5503 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * lyx_main.C: fix a crash in batch mode if no files specified
5506         * converter.C: ws
5507
5508 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5509
5510         * format.[Ch] (papersize): moved to BufferParams
5511         * converter.[Ch] (dvips_options): moved to BufferParams
5512         (dvipdfm_options): moved to anon namespace
5513         * bufferparams.[Ch]: added above functions.
5514
5515 2003-07-17  André Pönitz  <poenitz@gmx.net>
5516
5517         * lyxtext.h:
5518         * rowpainter.C:
5519         * text2.C: don't call inset->update() anymore
5520
5521         * metricsinfo.[Ch]: add convenience constructor
5522
5523 2003-07-16  André Pönitz  <poenitz@gmx.net>
5524
5525         * lyxcursor.[Ch]:
5526         * lyxfunc.[Ch]:
5527         * text.C:
5528         * text2.C: replace the LyXCursor::irow_ member with
5529          on-demand computation of the value
5530
5531 2003-07-16  John Levon  <levon@movementarian.org>
5532
5533         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5534
5535 2003-07-15  André Pönitz  <poenitz@gmx.net>
5536
5537         * text.C:
5538         * text2.C: remove no more needed refresh_row
5539
5540 2003-07-15  André Pönitz  <poenitz@gmx.net>
5541
5542         * lyxtext.h:
5543         * rowpainter.C:
5544         * text2.C:
5545         * text3.C: refresh_status tristate -> need_update bool
5546
5547 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5548
5549         * lyxtext.h (init): remove reinit argument (act as if always true)
5550         * text2.C: adjust to that
5551
5552 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5553
5554         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5555         * text3.C: use it to delete selections in some cases
5556         (bugs 441, 673, 702, 954).
5557
5558 2003-07-14  André Pönitz  <poenitz@gmx.net>
5559
5560         * rowpainter.[Ch]: reduce interface
5561
5562 2003-07-14  André Pönitz  <poenitz@gmx.net>
5563
5564         * BufferView_pimpl.C:
5565         * text2.C: adjust after removing unused BufferView * argument
5566
5567 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * text2.C (init): fix a crash fired on resize
5570
5571 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5572
5573         * buffer.[Ch]: added new closing signal
5574         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5575         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5576         BufferView::Pimpl via the closing the signal
5577
5578 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * buffer.[Ch]: take out all bv-related from buffer
5581         * BufferView.C:
5582         * BufferView_pimpl.[Ch]: connect to new signals
5583         * CutAndPaste.C: removed useless asserts
5584         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5585         * lyxvc.[Ch]:
5586         * vc-backend.[Ch]:
5587         * lyxfunc.C: moved view-related funciontality from vc here
5588         * paragraph.C: removed outdated comments
5589         * text.C: ws
5590
5591 2003-07-10  André Pönitz  <poenitz@gmx.net>
5592
5593         * BufferView_pimpl.C:
5594         * tabular.h:
5595         * tabular_funcs.C:
5596         * text.C:
5597         * text2.C: remove InsetText::InnerCache, clean up consequences
5598
5599 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5600
5601         * ispell.C: fix two typos in error messages
5602
5603 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5604
5605         * Extend Note inset to other forms of annotation like Comment
5606         and Greyedout. Right button click gives dialog.
5607
5608         Files modified or added (+):
5609
5610         * insetnote.[Ch]
5611         * FormNote.[Ch]      +
5612         * ControlNote.[Ch]   +
5613         * form_note.fd       +
5614         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5615         frontends/controllers
5616         * xforms/Dialogs.C
5617         * factory.C
5618
5619 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5620
5621         * aspell.C: add missing namespace lyx::support
5622
5623 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * BufferView.[Ch] (newFile): Add
5626         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5627         * LaTeX.[Ch] (message): added this signal and use it
5628         * buffer.[Ch] (busy, message): added these signals and use them
5629         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5630         * converter.C:
5631         * exporter.C:
5632         * format.C:
5633         * importer.C: use buffer signals instead of direct bv calling
5634         * lyx_cb.[Ch] (ShowMessage): removed
5635         * lyx_main.C:
5636         * lyxfunc.C:
5637         * paragraph_funcs.C:
5638         * text2.C: use buffer signals
5639
5640 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * introduce namespace lyx::graphics
5643
5644 2003-07-02  André Pönitz  <poenitz@gmx.net>
5645
5646         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5647
5648 2003-07-01  André Pönitz  <poenitz@gmx.net>
5649
5650         * text.C:
5651         * text2.C:
5652         * text3.C:
5653         * text_funcs.[Ch]:
5654         * textcursor.h:
5655         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5656           text*.C to text_func.C
5657
5658 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * introduce namespace lyx::support
5661
5662 2003-06-30  André Pönitz  <poenitz@gmx.net>
5663
5664         * Chktex.C:
5665         * funcrequest.C:
5666         * lyxtext.h:
5667         * text.C: re-enable --with-included-string
5668
5669 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * textcursor.C: add <config.h>
5672
5673         * text.C (getWord): remove const from word_location arg
5674
5675         * lyxvc.C (getLogFile): fix const type order
5676
5677         * lyxtext.h: remove const from word_location arg, add arg name
5678
5679         * lyxlayout.h: currect type on labeltype.
5680
5681         * importer.C: correct \file
5682
5683         * converter.C (intToFormat): use std:: on ret val, ws changes
5684
5685         * bufferlist.h: correct \file
5686
5687         * buffer.C (makeLinuxDocFile): fix const type order
5688         (makeDocBookFile): ditto
5689         (fillWithBibKeys): use std:: on stdlib args.
5690
5691         * CutAndPaste.C: fix authors.
5692         (availableSelections): use std:: on return vector
5693
5694 2003-06-27  André Pönitz  <poenitz@gmx.net>
5695
5696         * BufferView_pimpl.C:
5697         * bufferview_funcs.C:
5698         * lyxcursor.C:
5699         * lyxcursor.h:
5700         * lyxfunc.C:
5701         * lyxtext.h:
5702         * rowpainter.C:
5703         * text.C:
5704         * text2.C:
5705         * text3.C: remove LyXCursor::row_ member
5706
5707         * lyxtext.h:
5708         * text.C: rename fullRebreak() to partialRebreak() and implement
5709           a fullRebreak() that really bereks fully
5710
5711         * textcursor.h: new struct for cursor-related data
5712
5713 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5714
5715         * lyx_main.C (LyX): get full path of document loaded on the
5716         command line
5717
5718 2003-06-26  André Pönitz  <poenitz@gmx.net>
5719
5720         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5721           remove unused/broken operator>,<,>=.
5722
5723         *       text.C: remove only use of broken operator<= in an Assert().
5724
5725 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5726
5727         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5728         moved errorlist_.clear to showErrorList
5729
5730 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5731
5732         * converter.C (scanLog, runLaTeX):
5733         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5734         move the bv->showErrorList call to the callers
5735         * lyxfunc.C: i.e. here...
5736         * text2.C: and here
5737         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5738         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5739         namespace, the second to...
5740         * buffer_funcs (BufferFormat, parseErrors): added
5741         * errorlist.C (ErrorList(TeXErrors const &)): removed
5742
5743 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5744
5745         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5746
5747 2003-06-24  "Garst R. Reese" <reese@isn.net>
5748
5749         * debug.C: fix typo
5750
5751 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5752
5753         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5754
5755         * version.C.in: change docversion to 1.4
5756
5757 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * buffer.C: fix a bug just introduced
5760
5761 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * buffer.[Ch]: added the parseError signal and use it, removed
5764         sgmlError
5765         * BufferView.[Ch] (addError): moved to ...
5766         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5767         to the Buffer::parseError signal to catch (guess what) parse errors
5768         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5769
5770 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5771
5772         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5773         ability to create a buffer and to return an existing one from
5774         the list. Moved these functions to...
5775         * buffer_funcs.[Ch]: added
5776         * BufferView.[Ch] (loadLyXFile): added
5777         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5778         job removed from bufferlist::loadLyXFile.
5779         * buffer.C (setReadOnly): make it work without view
5780         (i.e added an if (users))
5781
5782 2003-06-19  Angus Leeming  <leeming@lyx.org>
5783
5784         * lfuns.h:
5785         * LyXAction.C (init):
5786         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5787         with LFUN_DIALOG_SHOW <name> <data>.
5788
5789 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5790
5791         * CutAndPaste.C (availableSelections): small compilation fix for
5792         ancient (gcc 2.9x) compilers
5793
5794 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * text3.C (cursorNext): add tmp var
5797
5798         * text2.C (updateCounters): for function calling out of for clause
5799         (replaceSelectionWithString): ditto
5800         (insertStringAsParagraphs): ditto
5801         (getColumnNearX): add tmp var
5802         (setCursorFromCoordinates): add tmp var
5803         (cursorDownParagraph): add tmp var
5804         (deleteEmptyParagraphMechanism): add tmp var
5805
5806         * text.C (insertChar): add tmp var
5807
5808         * rowpainter.C (paintDepthBar): add tmp var
5809
5810         * CutAndPaste.C (availableSelections): potentially check all
5811         paragraphs in a cut to fill the shown strings.
5812
5813 2003-06-18  André Pönitz  <poenitz@gmx.net>
5814
5815         * kbmap.[Ch]: use vector<> instead of list<>
5816
5817 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5818
5819         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5820         pasteSelection with index
5821
5822         * text2.C (pasteSelection): modify, call pasteSelection with index
5823
5824         * paragraph.C (asString): reimplement version with no interval to
5825         call the one with interval.
5826
5827         * lyxtext.h: add index arg to pasteSelection
5828
5829         * MenuBackend.C (MenuItem): handle PasteRecent
5830         (Menu::read::Menutags): add md_pasterecent
5831         (read): handle it
5832         (expandPasteRecent): new function
5833         (expand): use it
5834
5835         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5836
5837         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5838         the limited stack
5839         (availableSelections): new function
5840
5841 2003-06-17  Angus Leeming  <leeming@lyx.org>
5842
5843         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5844
5845 2003-06-17  Angus Leeming  <leeming@lyx.org>
5846
5847         * lfuns.h:
5848         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5849
5850         * lyxfunc.C (dispatch): invoke it.
5851
5852 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5853
5854         * iterators.C (operator++, ParPosition): reintroduce some
5855         const_cast for the benefit of older compilers.
5856
5857 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5858
5859         * text3.C (dispatch): do not modify clipboard when doing
5860         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5861         LFUN_DELETE_SKIP on a selection selection
5862
5863 2003-06-16  André Pönitz  <poenitz@gmx.net>
5864
5865         * BufferView.C:
5866         * buffer.C:
5867         * buffer.h:
5868         * paragraph.C:
5869         * tabular.[Ch]: IU of clone() and getLabelList();
5870
5871 2003-06-13  André Pönitz  <poenitz@gmx.net>
5872
5873         * tabular.h: compactification
5874
5875 2003-06-12  André Pönitz  <poenitz@gmx.net>
5876
5877         * tabular.C:
5878         * tabular.h:
5879         * tabular_funcs.h: some renaming plus whitespace
5880
5881 2003-06-12  André Pönitz  <poenitz@gmx.net>
5882
5883         * BufferView.C:
5884         * BufferView_pimpl.C:
5885         * CutAndPaste.C:
5886         * buffer.C:
5887         * iterators.[Ch]:
5888         * lyxfunc.C:
5889         * text.C:
5890         * toc.C: Return a Paragraph & for ParIterator::operator*()
5891
5892 2003-06-11  John Levon  <levon@movementarian.org>
5893
5894         * lyx_main.C:
5895         * ToolbarBackend.h:
5896         * ToolbarBackend.C: add "Toolbars" section and
5897         put the flags there
5898
5899 2003-06-10  Angus Leeming  <leeming@lyx.org>
5900
5901         * lfuns.h:
5902         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5903
5904         * lyxfunc.C (dispatch): invoke it.
5905
5906 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * main.C: protect <ios> with HAVE_IOS
5909         (main): protect sync_with_stdio with HAVE_IOS
5910
5911 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5912
5913         * text2.C (cutSelection): adjust
5914         (pasteSelection): adjust
5915
5916         * messages.C: handle get of empty string
5917
5918         * main.C (main): use sync_with_stdio(false)
5919
5920         * lyxfunc.C (dispatch): adjust
5921
5922         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5923         (WriteAs): remove unneeded BufferView arg.
5924
5925         * bufferparams.h: use correct types on papersize, papersize2 and
5926         paperpackage.
5927
5928         * bufferparams.C (readToken): adjust for type
5929         (writeLaTeX): add missing cases to switch.
5930
5931         * bufferlist.C (quitWriteBuffer): adjust
5932         (close): adjust
5933
5934         * buffer.C (asciiParagraph): remove some commented code.
5935
5936         * CutAndPaste.C: remove current_view extern variable.
5937         (cutSelection): add BufferParams arg.
5938         (eraseSelection): add BufferParams arg.
5939         (pasteSelection): add Buffer const & arg
5940
5941 2003-06-07  John Levon  <levon@movementarian.org>
5942
5943         * buffer.C:
5944         * paragraph_funcs.C:
5945         * paragraph_pimpl.C:
5946         * text.C:
5947         * text2.C:
5948         * paragraph.h:
5949         * paragraph.C: allow InsetERT to freely space lines,
5950         and some consolidation of code
5951
5952 2003-06-06  José Matos  <jamatos@fep.up.pt>
5953
5954         * buffer.C (makeDocBookFile): fix bug #821
5955
5956 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5959
5960 2003-06-04  Angus Leeming  <leeming@lyx.org>
5961
5962         * buffer.C: bump format to 224.
5963
5964 2003-06-05  André Pönitz  <poenitz@gmx.net>
5965
5966         * text2.C (redoParagraphs): remove two const_cast<>
5967
5968 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5969
5970         * ParagraphList.h: remove last remnants of NO_STD_LIST
5971
5972 2003-06-03  Angus Leeming  <leeming@lyx.org>
5973
5974         * factory.C (createInset): small change to the way InsetExternal's params
5975         are set.
5976
5977 2003-06-04  André Pönitz  <poenitz@gmx.net>
5978
5979         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5980
5981         * paragraph_pimpl.h:
5982         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5983
5984         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5985
5986         * undo_funcs.C: make some simple cases of undo work again
5987
5988 2003-06-03  John Levon  <levon@movementarian.org>
5989
5990         * ispell.C: HPUX doesn't have sys/select.h
5991         (from Albert Chin)
5992
5993 2003-06-03  John Levon  <levon@movementarian.org>
5994
5995         * CutAndPaste.C: update tabular and include inset
5996         buffer references
5997
5998         * buffer.h:
5999         * paragraph.h:
6000         * paragraph.C: remove owningBuffer(), don't pass Buffer
6001         to clone()
6002
6003         * factory.C: insetGraphicsParams changed
6004
6005 2003-06-02  John Levon  <levon@movementarian.org>
6006
6007         * LyXAction.C:
6008         * factory.C:
6009         * lfuns.h:
6010         * lyxfunc.C:
6011         * text3.C: remove insetparent
6012
6013 2003-06-02  John Levon  <levon@movementarian.org>
6014
6015         * buffer.h:
6016         * buffer.C: fix inset_iterator.end(), move out of line
6017         (bug 1149)
6018
6019 2003-06-01  John Levon  <levon@movementarian.org>
6020
6021         * text3.C: use a proper cut/paste when doing inset
6022         insert (from Jürgen Spitzmüller)
6023
6024 2003-06-01  John Levon  <levon@movementarian.org>
6025
6026         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6027
6028 2003-05-30  André Pönitz  <poenitz@gmx.net>
6029
6030         * rowpainter.C: unify second drawing phase
6031
6032 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * trans_mgr.C: remove one case of current_view
6035
6036         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6037
6038         * paragraph_funcs.h: remove paragraph.h include
6039
6040         * paragraph.h: delete NO_STD_LIST stuff
6041
6042         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6043
6044         * buffer.h: remove paragraph.h include
6045
6046         * ParagraphList.C: delete file
6047
6048         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6049
6050         * toc.C (getTocList): adjust
6051
6052         * paragraph_pimpl.C (validate): adjust
6053
6054         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6055
6056         * paragraph.C (Paragraph): adjust
6057         (getPositionOfInset): use const_iterator, adjust
6058         (bibitem): use const_iterator, adjust
6059         (setInsetOwner): adjust
6060
6061         * iterators.C (operator++): adjust
6062
6063         * InsetList.[Ch]: Replace selfmade iterator with standard
6064         vector::iterator also introduce const_iterator. Remove getPos,
6065         getInset and setInset from InsetTable. Adjust accordingly.
6066
6067         * BufferView.C (lockInset): adjust
6068         (ChangeInsets): adjust
6069
6070         * tabular.[Ch]: delete commented same_id functions
6071
6072 2003-05-28  John Levon  <levon@movementarian.org>
6073
6074         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6075
6076 2003-05-28  André Pönitz  <poenitz@gmx.net>
6077
6078         * metricsinfo.[Ch]: remove 'fullredraw' member
6079
6080 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6081
6082         * lyxtextclass.C (operator): remove caching.
6083
6084 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * text3.C: adjust
6087
6088         * text2.C (cursorBottom): adjust
6089         (setCounter): use ParagraphList::find, adjust
6090
6091         * text.C (workWidth): use ParagraphList::find, adjust
6092
6093         * lyxcursor.C (LyXCursor): adjust
6094
6095         * buffer.C (inset_iterator): adjust
6096
6097         * ParagraphList.h: make iterator(value_type) private, make
6098         ParagraphList a friend of iterator.
6099
6100         * ParagraphList.C (find): new function
6101
6102         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6103
6104 2003-05-27  André Pönitz  <poenitz@gmx.net>
6105
6106         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6107
6108 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6109
6110         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6111
6112 2003-05-26  John Levon  <levon@movementarian.org>
6113
6114         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6115
6116 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * remove same_id from function signatures, adjust.
6119
6120 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6123
6124         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6125
6126         * paragraph.C (Paragraph): get rid of same_ids parameter
6127
6128         * ParagraphList.C (insert): adjust
6129         (push_back): adjust
6130
6131 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * paragraph_funcs.C (breakParagraph): adjust
6134         (breakParagraphConservative): adjust
6135
6136         * buffer.C (readParagraph): adjust
6137
6138         * ParagraphList.C (insert): take a reference instead of a pointer
6139         (insert): adjust
6140
6141         * paragraph.[Ch] (id): new function
6142
6143         * bufferlist.C (newFile): adjust
6144
6145         * ParagraphList.C (ParagraphList): adjust
6146         (assign): adjust
6147         (push_back): take a reference instead of a pointer.
6148
6149         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6150
6151         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6152         instead.
6153
6154         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6155         set else use old code.
6156
6157         * ParagraphList.C: remove all NO_NEXT code and only compile this
6158         code of NO_STD_LIST is set.
6159
6160 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * BufferView_pimpl.C:
6163         * TextCache.C:
6164         * TextCache.h:
6165         * bufferlist.C:
6166         * errorlist.h:
6167         * format.C:
6168         * format.h:
6169         * graph.C:
6170         * lyxfunc.C:
6171         * lyxrc.C:
6172         * graphics/GraphicsConverter.C:
6173         * graphics/PreviewLoader.C: header adjustment
6174
6175 2003-05-23  Angus Leeming  <leeming@lyx.org>
6176
6177         * LaTeXFeatures.[Ch] (useBabel): new method.
6178         * bufferparams.C (writeLaTeX): use it.
6179
6180 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * ParagraphList.h (set): remove unused function.
6183
6184 2003-05-23  André Pönitz  <poenitz@gmx.net>
6185
6186         * BufferView.C:
6187         * BufferView_pimpl.C:
6188         * buffer.C:
6189         * buffer.h:
6190         * lyxfunc.C:
6191         * undo_funcs.C: setUndo reworked
6192
6193         * iterators.[Ch]: add access to topmost ParagraphList
6194
6195         * lyxtext.[Ch] (workWidth): add a const
6196
6197 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6198
6199         * texrow.[Ch] (increasePos): remove function
6200         * exporter.C (export): removed unused var and outdated comment
6201
6202 2003-05-23  Angus Leeming  <leeming@lyx.org>
6203
6204         * latexrunparams.h: rename fragile as moving_arg.
6205         * paragraph.C (simpleTeXOnePar): ditto.
6206         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6207
6208 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6211         (createUndo): ditto
6212         (textUndoOrRedo): comment out a currently unused var.
6213
6214         * paragraph.h (NO_NEXT): enable NO_NEXT
6215
6216         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6217
6218         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6219
6220         * exporter.C (Export): adjust for removeAutoInsets removal.
6221
6222         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6223
6224         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6225
6226         * BufferView.[Ch] (removeAutoInsets): delete function
6227
6228 2003-05-22  Angus Leeming  <leeming@lyx.org>
6229
6230         * latexrunparams.h: add a free_spacing variable.
6231
6232         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6233         to pass moving_arg, as the data is stored in runparams.fragile.
6234
6235         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6236         to Inset::latexOptional or to simpleTeXOnePar.
6237
6238         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6239         free_spacing arg to Inset::latexOptional.
6240
6241         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6242         free_spacing arg.
6243
6244 2003-05-22  Angus Leeming  <leeming@lyx.org>
6245
6246         * latexrunparams.h: add fragile and use_babel variables.
6247
6248         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6249         * buffer.C (makeLaTeXFile): store this returned value in
6250         runparams.use_babel, thus passing it to the inset::latex methods.
6251
6252         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6253         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6254
6255         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6256         longer has a fragile arg, as it is stored in runparams.fragile.
6257
6258         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6259         moving_arg parameter as the data is stored in runparams.fragile.
6260
6261         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6262         a fragile parameter as the data is stored in runparams.fragile.
6263
6264 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6267
6268 2003-05-22  Angus Leeming  <leeming@lyx.org>
6269
6270         * latexrunparams.h: add a 'bool nice' which defaults to false.
6271
6272         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6273         now encapsulated within runparams.
6274
6275         * bufferlist.C (updateIncludedTeXfiles):
6276         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6277
6278 2003-05-22  Angus Leeming  <leeming@lyx.org>
6279
6280         * latexrunparams.h: new file containing struct LatexRunParams.
6281         * Makefile.am: add new file.
6282
6283         * LaTeX.[Ch] (c-tor, run):
6284         * buffer.[Ch] (makeLaTeXFile):
6285         * bufferlist.[Ch] (updateIncludedTeXfiles):
6286         * converter.C (convert, scanLog):
6287         * converter.[Ch] (runLaTeX):
6288         * exporter.C (Export):
6289         * paragraph.[Ch] (simpleTeXOnePar):
6290         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6291         * paragraph_funcs.[Ch] (latexParagraphs):
6292         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6293         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6294         pass around a LatexRunParams parameter.
6295
6296 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6297
6298         * paragraph.[Ch]: remove unused constructor
6299
6300         * ParagraphList.C (erase): new function, taking two iterators
6301
6302 2003-05-22  André Pönitz  <poenitz@gmx.net>
6303
6304         * undo_funcs.C: remove duplicated code
6305
6306         * iterator.[Ch]: operator=
6307
6308 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * tabular.C (SetMultiColumn): ws changes
6311
6312         * rowpainter.C (paintFirst): get rid of a ->previous
6313
6314         * lyx_cb.C (getPossibleLabel): parlist simplification
6315
6316         * BufferView.C (ChangeInsets): simplify slightly.
6317
6318 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6319
6320         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6321         * lfuns.h: new LFUN_SPACE
6322         * lyxfunc.C: protected space has a new lfun
6323         * paragraph_funcs.C: read new space insets
6324         * text3.C:
6325         * factory.C: handle new space insets
6326
6327 2003-05-22  André Pönitz  <poenitz@gmx.net>
6328
6329         * BufferView.C:
6330         * BufferView_pimpl.C:
6331         * buffer.[Ch]:
6332         * lyxfunc.C:
6333         * undo_funcs.C: return a ParIterator from getParFromID.
6334
6335         * iterators.[Ch]: add two const's
6336
6337 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * toc.C (getTocList): adjust
6340
6341         * iterators.[Ch]: rework for parlist
6342
6343         * buffer.C (par_iterator_begin): adjust
6344         (par_iterator_end): adjust
6345
6346         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6347
6348         * BufferView.C (removeAutoInsets): adjust
6349         (ChangeInsets): adjust
6350
6351 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6352
6353         * text.C (top_y): fix bug 1110
6354
6355 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6356
6357         * errorlist.[Ch]: added
6358         * buffer.C:
6359         * BufferView.[Ch]:
6360         * BufferView_pimpl.C:
6361         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6362         instead
6363
6364 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * Makefile.am: ensure that lyx is relinked upon changes to the
6367         various "convenience" libs.
6368
6369 2003-05-20  Angus Leeming  <leeming@lyx.org>
6370
6371         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6372         files are compiled in alphabetical order again.
6373
6374         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6375
6376 2003-05-19  Angus Leeming  <leeming@lyx.org>
6377
6378         * gettext.[Ch]: remove "char const * _(char const *)".
6379
6380 2003-05-19  André Pönitz  <poenitz@gmx.net>
6381
6382         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6383
6384         * Makefile.am:
6385         * BufferView.C:
6386         * DepTable.h:
6387         * LaTeXFeatures.C:
6388         * buffer.C:
6389         * lyxfont.C:
6390         * lyxlex.h:
6391         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6392
6393 2003-05-19  André Pönitz  <poenitz@gmx.net>
6394
6395         * buffer.C:
6396         * lyxlayout.[Ch]:
6397         * lyxtextclass.[Ch]:
6398         * paragraph.C:
6399         * paragraph_funcs.[Ch]:
6400         * text2.C:
6401         * text3.C: more insetenv work
6402
6403 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6404
6405         * ParagraphParameters.C (params2string): small bug fixed
6406
6407 2003-05-16  André Pönitz  <poenitz@gmx.net>
6408
6409         * debug.C:
6410         * bufferview_funcs.C: patch from Kornel Benko to prevent
6411           crash when _(...) is called twice in a statement
6412
6413 2003-05-16  André Pönitz  <poenitz@gmx.net>
6414
6415         * BufferView.C:
6416         * lyxfunc.C:
6417         * text.C:
6418         * text2.C:
6419         * text3.C:
6420         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6421
6422 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6423
6424         * lyx_main.C (init): remove spurious static_cast
6425
6426 2003-05-14  André Pönitz  <poenitz@gmx.net>
6427
6428         * BufferView.C: fix format string
6429
6430 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6431
6432         * BufferView.[Ch] (insertErrors): removed
6433         * BufferView.[Ch] (showErrorList): added
6434         * buffer.C (runChkTeX):
6435         * converter.C (scanLog): call showErrorList instead of inserterrors
6436
6437 2003-05-13  André Pönitz  <poenitz@gmx.net>
6438
6439         * BufferView_pimpl.C:
6440         * buffer.C:
6441         * bufferview_func.C:
6442         * MenuBackend.C:
6443         * lyxfunc.C:
6444         * lyxrc.C:
6445         * tex-accent.C:
6446         * text3.C:
6447         * toc.C:
6448         * tabular_funcs.h: tostr() from its own header
6449
6450         * ParagraphParameters.C:
6451         * ToolbarBackend.C:
6452         * bufferparams.C:
6453         * format.C:
6454         * lyxlex_pimpl.C:
6455         * text3.C: STRCONV()
6456
6457 2003-05-12  André Pönitz  <poenitz@gmx.net>
6458
6459         * BufferView.C:
6460         * BufferView_pimpl.C:
6461         * CutAndPaste.C:
6462         * LaTeX.C:
6463         * LaTeXFeatures.C:
6464         * ParagraphParameters.C:
6465         * buffer.C:
6466         * bufferlist.C:
6467         * bufferparams.C:
6468         * bufferview_funcs.C:
6469         * converter.C:
6470         * counters.C:
6471         * debug.C:
6472         * exporter.C:
6473         * format.C:
6474         * importer.C:
6475         * lyx_cb.C:
6476         * lyx_main.C:
6477         * lyxfont.C:
6478         * lyxfunc.C:
6479         * lyxvc.C:
6480         * paragraph.C:
6481         * paragraph_funcs.C:
6482         * tabular.C:
6483         * tabular_funcs.C:
6484         * text2.C:
6485         * text3.C:  boost::format -> bformat  all over the place
6486
6487
6488 2003-05-09  André Pönitz  <poenitz@gmx.net>
6489
6490         * LColor.[Ch]: Pimpl the #include <map> away
6491
6492 2003-05-09  John Levon  <levon@movementarian.org>
6493
6494         * bufferlist.C: never remove emergency saves
6495
6496 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * Makefile.am: better lib building
6499
6500 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6503         instead.
6504         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6505         (simpleTeXSpecialChars): adjust
6506         (simpleTeXSpecialChars): adjust
6507         * paragraph.C (simpleTeXOnePar): adjust
6508         * buffer.C (makeLaTeXFile): adjust
6509
6510         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6511
6512         * text2.C (changeDepth): parlist cleanup
6513         (getColumnNearX): ditto
6514
6515         * rowpainter.C (getLabelFont): parlist cleanup
6516
6517         * bufferlist.C (newFile): parlist cleanup
6518
6519         * CutAndPaste.C (eraseSelection): parlist cleanup
6520
6521         * BufferView_pimpl.C (trackChanges): parlist cleanup
6522         (dispatch): ditto
6523
6524         * BufferView.C (lockInset): parlist cleanup.
6525         (ChangeInsets): ditto
6526
6527 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * CutAndPaste.h: Update file header.
6530
6531         * CutAndPaste.C: Update file header.
6532         Store the parts cut out of the Document in a limited_stack.
6533         (copySelection): adjust
6534         (pasteSelection): new function, takes the index in the limited stack.
6535         (nrOfParagraphs): adjust
6536         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6537         simplify error inset insertion.
6538         (checkPastePossible): adjust
6539
6540 2003-05-06  John Levon  <levon@movementarian.org>
6541
6542         * text2.C: don't cast wrap inset to float
6543
6544 2003-05-05  André Pönitz  <poenitz@gmx.net>
6545
6546         * iterator.C:
6547         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6548
6549         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6550           few naked Paragraph *.
6551
6552 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6553
6554         * bufferparams.C: Output warning if a document with missing
6555         TeX document class is loaded
6556         * exporter.C: Disable TeX exports if the document class is missing
6557         * lyxtextclass.C:
6558         * lyxtextclass.h:
6559         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6560         isTeXClassAvailable()
6561
6562 2003-05-03  John Levon  <levon@movementarian.org>
6563
6564         * BufferView.h:
6565         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6566         explicit cursor show/hide
6567
6568         * BufferView_pimpl.h:
6569         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6570         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6571
6572         * lyxfunc.C: hide cursor before dispatching.
6573
6574         * lyx_cb.C:
6575         * lyxfind.C:
6576         * text.C:
6577         * text3.C: remove explicit cursor hides
6578
6579 2003-05-02  André Pönitz  <poenitz@gmx.net>
6580
6581         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6582
6583         * undo_funcs.C:
6584         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6585           linked lists
6586
6587         * text2.C: tiny whitespace
6588
6589 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * undo_funcs.C: almost only ws changes.
6592
6593         * ParagraphList.C (splice): just return if pl is empty.
6594
6595 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * ParagraphList.C (splice): new function.
6598
6599         * CutAndPaste.C (pasteSelection): use it
6600
6601 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * CutAndPaste.C (pasteSelection): remove the last next and
6604         previous from this file.
6605
6606 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * CutAndPaste.C (pasteSelection): more clean up, user proper
6609         ParagraphList functions for pasteing.
6610
6611         * ParagraphList.C (insert): new function, three arg insert
6612
6613 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6614
6615         * ParagraphList.C (insert): new function, three arg insert
6616
6617         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6618         not on paragraphs.
6619
6620 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6623
6624 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6625
6626         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6627
6628 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6631         (copySelection): clean up a bit.
6632         (pasteSelection): use make_pair
6633
6634         * ParagraphList.C (ParagraphList): implement copy constructor
6635         (operator=): implement, base on copy constructor.
6636         (assign): new func
6637
6638         * paragraph.C (erase): return a bool
6639
6640         * paragraph_pimpl.C (erasePos): remove function, move contents...
6641         (erase): ... here. Return a bool.
6642         (erase): call erase instead of erasePos.
6643
6644 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6645
6646         * ParagraphList.h: define PitPosPair
6647         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6648         ParagraphList, fix a bug on pasting multiple pars
6649         * text2.C: change interface to C&P
6650
6651 2003-04-30  André Pönitz  <poenitz@gmx.net>
6652
6653         * undo_func.C: revert part of yesterday's patch 2
6654
6655 2003-04-30  John Levon  <levon@movementarian.org>
6656
6657         * LColor.C: s/tabular/table/
6658
6659 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * text3.C (dispatch): do not convert iterator -> pointer
6662         * undo_funcs.C (setCursorParUndo): ditto
6663         * text_funcs.C (transposeChars): ditto
6664
6665         * text2.C (setLayout): ws changes only
6666
6667         * text.C (breakParagraph): do not convert iterator -> pointer
6668         (insertChar): ditto
6669         (acceptChange): ditto
6670         (rejectChange): ditto
6671         (changeCase): ditto
6672         (Delete): ditto
6673         (backspace): ditto
6674
6675         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6676         pointer
6677
6678 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * text3.C (gotoInset): YABG (yet another bad getChar)
6681
6682 2003-04-29  André Pönitz  <poenitz@gmx.net>
6683
6684         * paragraph.h: make operator= private unimplemented as long as
6685           it is unusable
6686
6687         * ParagraphList.C: whitespace
6688
6689         * paragraph.[Ch]:
6690         * paragraph_pimpl.[Ch]:
6691         * paragraph_funcs.C:
6692         * CutAndPaste.C:
6693         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6694
6695         * text2.C:
6696           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6697
6698 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6699
6700         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6701         * paragraph.[Ch] (erase):
6702         * paragraph_pimpl.[Ch] (erase): change return type and value
6703         * text2.C (cutSelection): some rework
6704
6705 2003-04-28  John Levon  <levon@movementarian.org>
6706
6707         * bufferlist.C: changes for unsaved changes dialog
6708
6709 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * bufferlist.C (newFile): set language (messages_) for new
6712         documents also.
6713
6714         * buffer.C (readFile): ws changes only.
6715
6716 2003-04-28  André Pönitz  <poenitz@gmx.net>
6717
6718         * undo_funcs.C:
6719         * lyxfunc.C:
6720         * buffer.[Ch]:
6721         * BufferView_pimpl.C:
6722         * BufferView.C: getParFromID related ParagraphList::iterator changes
6723
6724 2003-04-28  André Pönitz  <poenitz@gmx.net>
6725
6726         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6727           Changes
6728
6729 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * messages.C: remove one more localedir class variable.
6732
6733 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * messages.C (getLocaleDir): singleton generation function
6736         (Pimpl): use it.
6737         (Messages): add a default constructor.
6738
6739         * main.C (main): do not setup localedir here, do not call
6740         gettext_init.
6741
6742         * gettext.C (_): use it.
6743         (gettext_init): delete funciton
6744
6745 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * gettext.C (getLyXMessages): new singleton generating function.
6748
6749         * buffer.C (updateDocLang): adjust
6750
6751         * Makefile.am (messages.o): add target
6752         (main.o): remove target
6753
6754 2003-04-27  John Levon  <levon@movementarian.org>
6755
6756         * bufferlist.C:
6757         * lyx_cb.C:
6758         * lyxfunc.C:
6759         * lyxvc.C: specify cancel button in Alert::prompt
6760
6761 2003-04-26  John Levon  <levon@movementarian.org>
6762
6763         * text3.C:
6764         * lyxfunc.C:
6765         * lfuns.h:
6766         * LyXAction.C: add LFUN_INSET_SETTINGS
6767
6768         * lyxfunc.C: don't enable tabular-feature when there's
6769         just any locking inset
6770
6771 2003-04-26  John Levon  <levon@movementarian.org>
6772
6773         * bufferlist.C: re-add Cancel to buffer close question
6774
6775         * lyxfunc.C: fix import UI a bit
6776
6777 2003-04-25  John Levon  <levon@movementarian.org>
6778
6779         * gettext.C: remove the broken asserts for now
6780
6781 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6782
6783         * messages.C: make case where setlocale cannot comply work better.
6784
6785         * buffer.C (updateDocLang): new function
6786         (changeLanguage): use it
6787         (readFile): use it
6788
6789         * text2.C (setCounter): use B_ a bit.
6790
6791         * lyxlayout.C (Read): be sure to trim the label strings.
6792
6793         * messages.C (Messages): fix typo in comment
6794
6795         * buffer.C (readFile): set message_ after file is loaded.
6796         (makeDocBookFile): remove double return
6797         (changeLanguage): reset message_ upon language change.
6798         (B_): new func, use this to get translated buffer strings.
6799
6800         * main.C: add myself and Jean Marc as authors.
6801
6802 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * messages.[hC]: pimplify Messages, and three different pimpls to be
6805         used in different circumstances.
6806
6807         * gettext.[Ch]: change for use with new message code.
6808
6809 2003-04-24 André Pönitz <poenitz@gmx.net>
6810
6811         * factory.C: support for eqref
6812
6813 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * messages.[Ch]: add missing char
6816
6817         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6818
6819         * messages.[Ch]: New files
6820
6821 2003-04-18  John Levon  <levon@movementarian.org>
6822
6823         * BufferView.h:
6824         * BufferView.C:
6825         * BufferView_pimpl.C:
6826         * lfuns.h:
6827         * LyXAction.C:
6828         * lyxtext.h:
6829         * text2.C: remove layout-copy/paste (bug 778)
6830
6831 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6832
6833         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6834
6835 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6836
6837         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6838         if they succeed. Act accordingly.
6839
6840 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * text2.C (setCharFont): adjust
6843         (setCounter): adjust
6844         (insertStringAsLines): adjust
6845
6846         * text.C (leftMargin): adjust
6847         (setHeightOfRow): adjust
6848
6849         * rowpainter.C (paintFirst): adjust
6850         (paintLast): adjust
6851
6852         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6853         (outerHook): ditto
6854         (isFirstInSequence): ditto
6855         (getEndLabel): ditto
6856         (outerFont): adjust
6857
6858         * paragraph.C (getParLanguage): comment out some hard stuff.
6859
6860         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6861         (sgmlError): ditto
6862         (simpleDocBookOnePar): ditto
6863         (makeDocBookFile): use ParagraphList::iterator
6864
6865         * CutAndPaste.C (pasteSelection): adjust
6866
6867 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6868
6869         * text2.C (getFont): adjust
6870         (getLayoutFont): adjust
6871         (getLabelFont): adjust
6872
6873         * paragraph_funcs.C (TeXOnePar): adjust
6874
6875         * buffer.C (simpleLinuxDocOnePar): adjust
6876         (simpleDocBookOnePar): adjust
6877
6878         * CutAndPaste.C (pasteSelection): adjust
6879
6880         * BufferView.C (getEncoding): adjust
6881
6882         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6883
6884 2003-04-16  John Levon  <levon@movementarian.org>
6885
6886         * lyxfind.C: use parlist stuff for search/changes
6887
6888 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6891
6892         * text2.C (deleteEmptyParagraphMechanism): adjust
6893
6894         * text2.[Ch] (ownerParagraph): delete func (both of them
6895
6896 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6899
6900 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * ParagraphList.C: prepare for NO_NEXT
6903
6904 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * text2.C (getFont): adjust
6907         (getLayoutFont): adjust
6908         (getLabelFont): adjust
6909
6910         * paragraph.C (getFont): adjust
6911         (getLabelFont): adjust
6912         (getLayoutFont): adjust
6913
6914         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6915
6916 2003-04-15  John Levon  <levon@movementarian.org>
6917
6918         From Angus Leeming
6919
6920         * lyx_main.C: handle Include in .ui files
6921
6922 2003-04-15  John Levon  <levon@movementarian.org>
6923
6924         * MenuBackend.C: make the doc files length shorter
6925
6926         * ToolbarBackend.h:
6927         * ToolbarBackend.C: handle toolbar placement flags,
6928         Minibuffer
6929
6930 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6933         adjust
6934
6935         * paragraph_funcs.C (TeXOnePar): adjust
6936
6937         * paragraph.C (getLabelFont): add outerfont arg, adjust
6938         (getLayoutFont): ditto
6939         (simpleTeXOnePar): adjust
6940
6941         * paragraph_pimpl.C (realizeFont): delete func
6942
6943 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6944
6945         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6946         row argument, constify cur argument.
6947
6948 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * text2.C (getFont): adjust
6951         (getLayoutFont): adjust
6952         (getLabelFont): adjust
6953
6954         * paragraph_funcs.C (TeXOnePar): adjust
6955         (outerFont): new func...
6956         (realizeFont): ...moved out from here, changed this to facilitate
6957         transition
6958
6959         * paragraph.C (getFont): take outerfont as arg, adjust
6960         (simpleTeXOnePar): add outerfont arg, adjust
6961
6962         * buffer.C (simpleLinuxDocOnePar): adjust
6963         (simpleDocBookOnePar): adjust
6964
6965         * CutAndPaste.C (pasteSelection): adjust
6966
6967         * BufferView.C (getEncoding): adjust
6968
6969 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * text2.C (setCharFont): adjust
6972         (setCounter): adjust
6973
6974         * text.C (leftMargin): adjust
6975         (setHeightOfRow): adjust
6976
6977         * rowpainter.C (paintFirst): adjust
6978         (paintLast): adjust
6979
6980         * paragraph_pimpl.C (realizeFont): adjust
6981
6982         * paragraph.C (isFirstInSequence): move from here...
6983         * paragraph_funcs.C (isFirstInSequence): ...to here
6984
6985         * paragraph.C (outerHook): move from here...
6986         * paragraph_funcs.C (outerHook): ...to here
6987
6988         * paragraph.C (depthHook): move from here...
6989         * paragraph_funcs.C (depthHook): ...to here
6990
6991         * paragraph.C (getEndLabel): move from here...
6992         * paragraph_funcs.C (getEndLabel): ...to here
6993
6994         * text2.C (realizeFont): move from here...
6995         * paragraph_funcs.C (realizeFont): ...to here
6996
6997 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7000
7001 2003-04-14  Angus Leeming  <leeming@lyx.org>
7002
7003         * LColor.[Ch]: scrap LColor mathcursor.
7004
7005 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * lyxlex.[Ch] (text): delete function
7008         * trans.C (Load): adjust
7009         * paragraph_funcs.C (readParToken): adjust
7010
7011 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7014         vector<char> instead of a char[].
7015
7016         * lyxlex_pimpl.C (getString): adjust
7017         (next): adjust
7018         (lex): use getString
7019         (eatLine): adjust
7020         (nextToken): adjust
7021
7022         * lyxlex.C (text): use pimpl_->getString()
7023         (getBool): ditto
7024         (findToken): ditto
7025
7026 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7029         (makeFontEntriesLayoutSpecific): temp var for par.size()
7030         (setLayout): temp var for ownerParagraphs().end()
7031         (fullRebreak): temp var for rows().end()
7032         (selectionAsString): temp var for boost::next(startpit), realize
7033         that the while really is a regular for loop.
7034         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7035         setCursor in one place.
7036         (setParagraph): temp vr for ownerParagraphs().end()
7037         (updateCounters): make the while loop a for loop
7038         (cutSelection): temp var for ownerParagraphs().end()
7039         (updateInset): make the do {} while() a regular for loop
7040         (getCursorX): use temp vars
7041         (setCurrentFont): use temp vars
7042         (getColumnNearX): use temp vars
7043
7044 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7045
7046         * text.C (transformChar): use temp var for getChar
7047         (computeBidiTables): use temp var for row->par()
7048         (fill): move temp vars for row->par() and pit->layout() earlier in
7049         the function.
7050         (labelFill): use temp var for row->par()
7051         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7052         asc and desc, realize that pit never changes and that firstpit is
7053         just a duplicate and not needed. Exchange rit->par() with pit in a
7054         lot of places.
7055         (breakAgain): use a temp var for boost::next(rit)
7056         (breakAgainOneRow): ditto
7057         (breakParagraph): use a temp var for rows().begin()
7058         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7059         (cursorRightOneWord): use temp var for cursor.par() and
7060         cursor.pos(), remove usage of tmpcursor.
7061         (cursorLeftOneWord): use temp var for cursor.par() and
7062         cursor.pos() only set cur at end of function.
7063
7064 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * text.C, text2.C: exchange all usage of Paragraph::next with
7067         boost::next(ParagraphList::iterator)
7068
7069         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7070
7071         * text2.C (cursorTop): simplify implementation
7072         (cursorBottom): ditto
7073         (setParagraph): use ParagraphList::iterator
7074         (setCurrentFont): adjust
7075         (getColumnNearX): adjust
7076         (cursorRight): adjust
7077         (cursorLeft): remove usage of Paragraph::previous
7078         (cursorUpParagraph): ditto
7079         (deleteEmptyParagraphMechanism): slight cleanup
7080
7081         * text.C (isBoundary): take a Paragraph const & instead of a
7082         pointer as arg.
7083         (addressBreakPoint): ditto
7084         (leftMargin): remove usage of Paragraph::previous.
7085         (setHeightOfRow): ditto
7086         (cursorLeftOneWord): ditto
7087         (selectNextWordToSpellcheck): ditto
7088         (Delete): ditto
7089         (backspace): ditto
7090         (breakParagraph): remove one usage of Paragraph::next
7091         (redoParagraph): ditto
7092         (acceptChange): ditto
7093         (insertChar): adjust
7094         (rowBreakPoint): adjust
7095
7096         * bufferview_funcs.C (toggleAndShow): adjust
7097
7098 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7099
7100         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7101         methods to access it.
7102         * lyxtext.h:
7103         * text.C: Added updateRowPositions to compute all row positions.
7104         Make top_y and getRowNearY() to use the cached y position
7105
7106 2003-04-11  John Levon  <levon@movementarian.org>
7107
7108         * text.C (rowBreakPoint): reintroduce the labelEnd
7109         checks, code copied from the row fill stuff. Deep voodoo.
7110
7111         * text.C (fill): add a comment and debugging for the
7112         next poor soul.
7113
7114 2003-04-11  John Levon  <levon@movementarian.org>
7115
7116         * text.C: make sure fullrow insets get wrapped to the next line,
7117         even when they're in a manual label
7118
7119 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7120
7121         * text2.C (insertParagraph): make it take ParagraphList::iterator
7122         as arg.
7123         (setLayout): make it return ParagraphList::iterator
7124         (redoParagraphs): ditto
7125         (setCounter): ditto
7126         (checkParagraph): ditto
7127
7128         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7129
7130         * text2.C: adjust several funcs.
7131         (realizeFont): take a ParagraphList::iterator as arg.
7132         (getLayoutFont): ditto
7133         (getLabelFont): ditto
7134         (setCharFont): ditto
7135
7136         * text.C: adjust several funcs.
7137
7138 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7139
7140         * text.C (selectNextWordToSpellcheck): don't accidentally
7141         skip insets
7142
7143 2003-04-10  John Levon  <levon@movementarian.org>
7144
7145         * ToolbarBackend.C (getIcon): special handling for
7146         LFUN_MATH_DELIM
7147
7148 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7149
7150         * text2.C (cursorRight): a getChar assert fixed
7151
7152 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text2.C (getFont): change to take a ParagraphList::iterator
7155         instead of Paragraph*
7156         Adjust several functions.
7157
7158         * text.C (transformChar): change to take a ParagraphList::iterator
7159         instead of Paragraph*
7160         (singleWidth): ditto
7161         Adjust several functions.
7162
7163         * rowpainter.C: adjust several functions
7164         * rowpainter.h:store a ParagraphList::iterator and not a
7165         Paragraph&.
7166
7167
7168 2003-04-09  John Levon  <levon@movementarian.org>
7169
7170         * lyxfunc.C:
7171         * lfuns.h:
7172         * LyXAction.h:
7173         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7174         and the "help" bits as well
7175
7176 2003-04-09  John Levon  <levon@movementarian.org>
7177
7178         * ToolbarBackend.h:
7179         * ToolbarBackend.C: allow multiple toolbars
7180
7181 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * undo_funcs.C (setCursorParUndo): adjust
7184
7185         * text_funcs.C (transposeChars): adjust
7186
7187         * text3.C (gotoNextInset): adjust
7188         (dispatch): adjust
7189
7190         * text2.C (setLayout): adjust
7191         (changeDepth): adjust
7192         (setFont): adjust
7193         (redoParagraphs): adjust
7194         (selectionAsString): adjust
7195         (setParagraph): adjust
7196         (insertInset): adjust
7197         (cutSelection): adjust
7198         (copySelection): adjust
7199         (pasteSelection): adjust
7200         (insertStringAsLines): adjust
7201         (updateInset): adjust
7202         (setCursor): change to take a ParagraphList::iterator parameter
7203         (setCursorIntern): change to take a ParagraphList::iterator parameter
7204         (setCurrentFont): adjust
7205         (cursorLeft): adjust
7206         (cursorRight): adjust
7207         (deleteEmptyParagraphMechanism): adjust
7208
7209         * text.C (breakParagraph): adjust
7210         (insertChar): adjust
7211         (acceptChange): adjust
7212         (rejectChange): adjust
7213         (selectNextWordToSpellcheck): adjust
7214         (changeCase): adjust
7215         (Delete): adjust
7216         (backspace): adjust
7217
7218         * lyxfind.C (SearchForward): adjust
7219         (SearchBackward): adjust
7220         (nextChange): adjust
7221
7222         * lyxcursor.C (par): adjust
7223
7224         * lyxcursor.h: store a ParagraphList::iterator instead of a
7225         Paragraph*
7226
7227         * lyx_cb.C (getPossibleLabel): adjust
7228
7229         * bufferview_funcs.C (toggleAndShow): adjust
7230
7231         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7232         (dispatch): adjust
7233
7234         * BufferView.C (removeAutoInsets): adjust
7235         (lockedInsetStoreUndo): adjust
7236
7237 2003-04-09  John Levon  <levon@movementarian.org>
7238
7239         * ToolbarBackend.C: try icon without argument
7240         if with argument fails
7241
7242 2003-04-08  John Levon  <levon@movementarian.org>
7243
7244         * ToolbarBackend.h:
7245         * ToolbarBackend.C: add getIcon(), handle tooltip,
7246         and change from "Icon" to "Item".
7247
7248 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * BufferView.C (lockInset): another bad getchar crunched
7251
7252 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7253
7254         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7255         again)
7256
7257 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7258
7259         * lyxfind.C (searchForward, searchBackwards): bug 782
7260
7261 2003-04-07  John Levon  <levon@movementarian.org>
7262
7263         * paragraph.C: remove dead comment
7264
7265         * text.C: remove troublesome depth-fiddling code
7266         in leftMargin() and rightMargin() (bug 1017)
7267
7268         * text.C: fix breaking of rows in nested lists
7269         (bug 1004)
7270
7271         * text2.C (updateCounters): fix up depth values
7272         (bug 1013)
7273
7274 2003-04-07  John Levon  <levon@movementarian.org>
7275
7276         * BufferView_pimpl.C: clear message when doc finishes resizing,
7277         and after a mouse event
7278
7279         * lyxfunc.C: clear message after exiting inset
7280
7281 2003-04-07  John Levon  <levon@movementarian.org>
7282
7283         * bufferview_funcs.C: show math status not outside
7284         status in the statusbar
7285
7286 2003-04-07  John Levon  <levon@movementarian.org>
7287
7288         * lyxfunc.C: note status changed after a depth change
7289
7290 2003-04-04  Angus Leeming  <leeming@lyx.org>
7291
7292         * LaTeX.h: move AuxInfo operator==, != out of line.
7293         Remove LaTeX virtual destructor; nothing derives from it.
7294         Move operator()() out of public area and rename it startscript().
7295         Change protected for private.
7296
7297 2003-04-04  Angus Leeming  <leeming@lyx.org>
7298
7299         * lyxfunc.C:
7300         * text2.C: remove unneeded #includes.
7301
7302 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7303
7304         * text2.C (dEPM): fix the heigth of the next row
7305
7306 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7307
7308         * text.C: squashed an invalid getChar requester + some ws changes
7309
7310 2003-04-03  John Levon  <levon@movementarian.org>
7311
7312         * bufferview_funcs.h:
7313         * bufferview_funcs.C:
7314         * lyxfunc.C:
7315         * lyxtext.h:
7316         * text2.C: make getStatus work for the env depth lfuns
7317
7318 2003-04-03  John Levon  <levon@movementarian.org>
7319
7320         * bufferview_funcs.h:
7321         * bufferview_funcs.C:
7322         * lyxfunc.C:
7323         * lyxtext.h:
7324         * text2.C: parlistize decDepth(), by merging it with incDepth()
7325
7326 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * lyxrow.h: store a ParagraphList::iterator instead of a
7329         Paragraph* and adjust other class functions to suit.
7330
7331         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7332         above.
7333
7334 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7335
7336         * text2.C (setCursor): do not anchor to cursor row for the time being
7337
7338 2003-04-02  John Levon  <levon@movementarian.org>
7339
7340         * LyXAction.C:
7341         * lfuns.h:
7342         * lyx_main.C:
7343         * lyxtext.h:
7344         * text.C:
7345         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7346
7347 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * paragraph.h: make ParagraphList and ParagraphList::iterator
7350         friends of Paragraph.
7351
7352         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7353
7354         * ParagraphList.C: Use the private next_ and previous_ from
7355         Paragraph.
7356
7357 2003-04-01  John Levon  <levon@movementarian.org>
7358
7359         * ToolbarBackend.h:
7360         * ToolbarBackend.C:
7361         * Makefile.am: rename, remove defaults gunk
7362
7363         * MenuBackend.h:
7364         * MenuBackend.C: remove defaults gunk
7365
7366         * Languages.h:
7367         * Languages.C: remove defaults gunk
7368
7369         * lyx_main.h:
7370         * lyx_main.C: error out if files couldn't be found.
7371
7372 2003-04-02  John Levon  <levon@movementarian.org>
7373
7374         * text2.C: make incDepth() use parlist
7375
7376 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * undo_funcs.C (firstUndoParagraph): adjust
7379
7380         * text3.C (gotoInset): adjust
7381         (dispatch): adjust, and rewrite loop.
7382
7383         * text2.C (init): adjust, and rewrite loop.
7384         (redoParagraphs): adjust
7385         (updateInset): adjust, and rewrite loop.
7386         (deleteEmptyParagraphMechanism): adjust
7387
7388         * tabular.C (LyXTabular): adjust
7389         (SetMultiColumn): adjust
7390         (TeXRow): adjust
7391
7392         * lyxtext.[Ch] (ownerParagraph): delete function
7393         (ownerParagraphs): new function returns a ParagraphList.
7394
7395         * BufferView.C (removeAutoInsets): adjust
7396         (insertErrors): adjust
7397         (setCursorFromRow): adjust
7398
7399 2003-04-01  Angus Leeming  <leeming@lyx.org>
7400
7401         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7402         in the frontends.
7403
7404 2003-04-02  John Levon  <levon@movementarian.org>
7405
7406         * lyxtext.h:
7407         * text.C:
7408         * Makefile.am:
7409         * text_funcs.h:
7410         * text_funcs.C: make transposeChars a free function
7411
7412         * lyxrow_funcs.C: remove wrong comment
7413
7414 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * lyxtext.h: adjust
7417         * rowpainter.C: adjust
7418         * text.C: adjust
7419         * text2.C: adjust
7420         * text3.C: adjust
7421
7422         * lyxrow_funcs. [Ch]: new files
7423
7424         * lyxrow.[Ch]: remove next and previous pointers
7425         (next,previous): remove accessor functions
7426         (isParEnd): move to lyxrow_funcs
7427         (lastPos): move to lyxrow_funcs
7428         (nextRowIsAllInset): move to lyxrow_funcs
7429         (lastPrintablePos): move to lyxrow_funcs
7430         (numberOfSeparators): move to lyxrow_funcs
7431         (numberOfHfills): move to lyxrow_funcs
7432         (numberOfLabelHfills): move to lyxrow_funcs
7433         (hfillExpansion): move to lyxrow_funcs
7434
7435         * lyxfunc.C: adjust
7436
7437         * bufferview_funcs.C (toggleAndShow): adjust
7438
7439         * RowList.h: Remove class RowList from file leave just a
7440         std::list<Row>.
7441
7442         * RowList.C: delete file
7443
7444         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7445         and lyxrow_funcs.h
7446
7447 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * text3.C (cursorPrevious): adjust
7450         (cursorNext): adjust
7451         (dispatch): adjust
7452
7453         * text2.C (redoHeightOfParagraph): adjust
7454         (redoDrawingOfParagraph): adjust
7455         (setCursor): adjust
7456
7457         * text.C (breakParagraph): adjust
7458         (insertChar): adjust
7459         (backspace): adjust
7460
7461         * rowpainter.C (RowPainter): adjust
7462         (leftMargin): simplify and adjust
7463         (most rowpainter functions): adjust.
7464
7465         * rowpainter.h: store the row as RowList::iterator not as Row*
7466
7467         * lyxcursor.C (row): taka RowList::iterator as arg
7468         (irow): ditto
7469
7470         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7471         of Row*.
7472
7473 2003-04-01  Angus Leeming  <leeming@lyx.org>
7474
7475         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7476         stuff like bool Bool.
7477
7478 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7479
7480         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7481         rewrite a loop
7482
7483 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7486         RowList::iterator.
7487
7488         * lyxtext.h (rows): drop one version and leve a const variant that
7489         returns a RowList::iterator.
7490
7491 2003-03-31  Angus Leeming  <leeming@lyx.org>
7492
7493         * text.C (fill): ensure that the signature is the same as that in the
7494         header file.
7495
7496 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7497
7498         * text2.C (redoParagraphs): adjust
7499         (updateCounters): adjust
7500         (checkParagraph): adjust
7501         (getColumnNearX): adjust and reformat a bit.
7502
7503         * text.C (top_y): adjust
7504         (workWidth): adjust
7505         (leftMargin): adjust
7506         (prepareToPrint): adjust
7507         (getRow): adjust
7508         (getRowNearY): adjust
7509
7510         * lyxtext.h: make rowlist_ mutable.
7511
7512         * RowList.h: add const_iterator
7513         * RowList.C: adjust for RowList::const_iterator.
7514
7515         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7516         adjust.
7517
7518 2003-03-31  John Levon  <levon@movementarian.org>
7519
7520         * lyxrc.h:
7521         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7522
7523         * lyx_main.C: set default fonts from using lyx_gui funcs
7524
7525         * exporter.C: pdf_mode moved from lyxrc
7526
7527         * lyx_cb.C:
7528         * lyxfunc.C: changes from above
7529
7530 2003-03-31  John Levon  <levon@movementarian.org>
7531
7532         * lyx_main.C: fix to the last fix
7533
7534 2003-03-31  John Levon  <levon@movementarian.org>
7535
7536         * bufferlist.C: "Load original" -> "Load Original"
7537
7538         * converter.C:
7539         * exporter.C:
7540         * importer.C:
7541         * lyx_main.C:
7542         * format.C: more Alert cleanups
7543
7544 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * text2.C (removeParagraph): make it take a RowList::iterator as
7547         arg, adjust.
7548         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7549         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7550
7551         * text.C (anchor_row): make it take a RowList::iterator as arg,
7552         adjust.
7553         (computeBidiTables): make it take a const reference to Row instead
7554         of Row pointer, adjust.
7555         (leftMargin): make it take a RowList::iterator as arg, adjust.
7556         (rowBreakPoint): adjust
7557         (breakAgainOneRow): make it take a RowList::iterator as arg,
7558         adjust.
7559         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7560
7561         * bufferview_funcs.C (toggleAndShow): adjust
7562
7563 2003-03-30  John Levon  <levon@movementarian.org>
7564
7565         * Makefile.am:
7566         * BoostFormat.h:
7567         * boost-inst.C: moved to support
7568
7569         * several files: changes as a result
7570
7571 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * text2.C (LyXText): adjust.
7574         (init): adjust
7575         (removeRow): make it take a RowList::iterator as arg, adjust.
7576         (fullRebreak): adjust
7577         (deleteEmptyParagraphMechanism): adjust
7578         (clearPaint): adjust
7579         (postPaint): adjust
7580
7581         * text.C (top_y): adjust
7582         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7583         (breakAgain): make it take a RowList::iterator as arg, adjust.
7584         (breakParagraph): adjust
7585         (insertChar): adjust
7586         (backspace): adjust
7587
7588         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7589         need_break_row, and refresh_row.
7590
7591         * text3.C (dispatch): adjust
7592
7593         * text2.C (checkParagraph): adjust
7594         (setCursor): adjust
7595         (setCursorFromCoordinates): adjust
7596
7597         * text.C (top_y): adjust
7598         (workWidth): adjust
7599         (getRow): make it return a RowList::iterator, adjust
7600         (getRowNearY): make it return a RowList::iterator, adjust
7601
7602         * text2.C (init): adjust
7603         (insertRow): remove function
7604         (insertParagraph): adjust
7605         (redoParagraphs): adjust
7606         (fullRebreak): adjust
7607         (updateCounters): adjust
7608
7609         * text.C (top_y): rewrite to use RowList iterators.
7610         (top_y): adjust
7611         (setHeightOfRow): rewrite to sue RowList iterators.
7612         (appendParagraph): adjust
7613         (breakAgain): adjust
7614         (breakAgainOneRow): adjust
7615         (breakParagraph): adjust
7616         (getRow): adjust
7617         (getRowNearY): adjust, and remove commented code.
7618
7619         * lyxtext.h (firstRow): delete function
7620         (lastRow): delete function
7621         (rows): new function (const and non-const versions.)
7622         (insertRow): delete function
7623
7624         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7625
7626 2003-03-29  John Levon  <levon@movementarian.org>
7627
7628         * BufferView_pimpl.C: always update scrollbar top
7629         because pasting text when we're anchored could mean we
7630         miss an update altogether
7631
7632 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * text2.C (init): use rowlist_.end() and not 0.
7635         (insertRow): change to take a RowList::iterator as arg, adjust
7636         for this.
7637         (insertParagraph): change to take a RowList::iterator as arg,
7638         adjust for this.
7639         (redoParagraphs): remove some debug msgs.
7640
7641         * text.C (appendParagraph): change to take a RowList::iterator
7642         arg, adjust for this.
7643         (breakAgain): add an assert
7644         (breakAgainOneRow): ditto
7645
7646 2003-03-29  John Levon  <levon@movementarian.org>
7647
7648         * text2.C: do not clear selection after inc/decDepth
7649         (bug 550)
7650
7651 2003-03-29  John Levon  <levon@movementarian.org>
7652
7653         * BufferView.C:
7654         * buffer.C: fix broken strerrors according to Lars
7655
7656 2003-03-29  John Levon  <levon@movementarian.org>
7657
7658         * converters.C: more Alert cleanups
7659
7660 2003-03-29  John Levon  <levon@movementarian.org>
7661
7662         * bufferview_funcs.C: remove pointless Alert
7663
7664         * buffer.C: fix confusing error message when
7665         a template is chmoded 000
7666
7667 2003-03-29  John Levon  <levon@movementarian.org>
7668
7669         * BufferView.C:
7670         * BufferView.h:
7671         * BufferView_pimpl.C: Alert fixes
7672
7673         * Makefile.am:
7674         * tabular.C:
7675         * tabular-old.C: remove unused table compat reading
7676
7677 2003-03-29  John Levon  <levon@movementarian.org>
7678
7679         * BufferView.C:
7680         * buffer.C:
7681         * lyx_cb.h:
7682         * lyx_cb.C: more Alert cleanups
7683
7684         * lyxfunc.C: don't allow chktex if not latex document
7685
7686 2003-03-29  John Levon  <levon@movementarian.org>
7687
7688         * lyx_cb.C:
7689         * BufferView.C:
7690         * buffer.C: warnings pushed down from support/,
7691         kill err_alert
7692
7693 2003-03-29  John Levon  <levon@movementarian.org>
7694
7695         * lyxfunc.C: safety check for C-r (revert)
7696
7697 2003-03-29  John Levon  <levon@movementarian.org>
7698
7699         * bufferlist.h:
7700         * bufferlist.C: several UI fixes using Alert::prompt.
7701         Fix the pointless looping quit code. Fix stupid revert
7702         behaviour (bug 938)
7703
7704         * lyxvc.h:
7705         * lyxvc.C:
7706         * lyx_cb.C: use Alert::prompt
7707
7708         * lyx_main.C: remove a silly question
7709
7710         * lyxfunc.C: remove a couple of silly questions,
7711         use Alert::prompt
7712
7713 2003-03-28  John Levon  <levon@movementarian.org>
7714
7715         * text2.C: fix bug 974 (End on empty par)
7716
7717 2003-03-28  John Levon  <levon@movementarian.org>
7718
7719         * BufferView_pimpl.C:
7720         * LyXAction.C:
7721         * lfuns.h: remove do-nothing math greek lfuns
7722
7723 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * lyxgluelength.h (isValidGlueLength): add default arg on
7726         parameter 2. Remove default arg from friend in class.
7727
7728         * lyxlength.h (isValidLength): add default arg on parameter 2.
7729         Remove default arg from friend in class.
7730
7731         * text2.C (LyXText): adjust, initialize refresh_row.
7732         (init): adjust
7733         (removeRow): adjust
7734         (insertRow): adjust
7735         (insertParagraph): adjst
7736         (redoParagraphs): adjust
7737         (fullRebreak): adjust
7738         (updateCounters): adjust
7739         (deleteEmptyParagraphMechanism): first attempt at fixing a
7740         crashing bug.
7741
7742         * text.C (top_y): adjust
7743         (setHeightOfRow): adjust
7744         (getRow): adjust
7745         (getRowNearY): adjust
7746
7747         * lyxtext.h: include RowList.h
7748         (~LyXText): not needed anymore, deleted.
7749         (firstRow): modify for RowList
7750         (lastRow): new function
7751         Delete firstrow and lastrow class variables, add a Rowlist
7752         rowlist_ class variable.
7753
7754         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7755         paragraph is empty.
7756
7757         * RowList.C (insert): fix case where it == begin().
7758
7759 2003-03-26  Angus Leeming  <leeming@lyx.org>
7760
7761         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7762         the thesaurus dialog.
7763
7764 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7767
7768         * RowList.[Ch]: new files
7769
7770         * ParagraphList.C (erase): handle the case where it == begin
7771         correctly.
7772
7773 2003-03-25  John Levon  <levon@movementarian.org>
7774
7775         * Makefile.am:
7776         * aspell_local.h:
7777         * aspell.C: add new aspell support
7778
7779         * lyxrc.h:
7780         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7781         have it accessible.
7782
7783 2003-03-25  Angus Leeming  <leeming@lyx.org>
7784
7785         * lfuns.h:
7786         * LyXAction.C (init): new LFUN_INSET_INSERT.
7787
7788         * BufferView_pimpl.C (dispatch): split out part of the
7789         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7790
7791         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7792         LFUN_INSET_APPLY.
7793
7794 2003-03-25  Angus Leeming  <leeming@lyx.org>
7795
7796         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7797
7798 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7799
7800         * text2.C:
7801         * text3.C: remove useless row->height(0)
7802
7803 2003-03-25  John Levon  <levon@movementarian.org>
7804
7805         * lyxtext.h:
7806         * text2.C:
7807         * text3.C: rename the refreshing stuff to better names
7808
7809 2003-03-24  John Levon  <levon@movementarian.org>
7810
7811         * BufferView_pimpl.h:
7812         * BufferView_pimpl.C: update layout choice on a mouse
7813         press/release
7814
7815 2003-03-23  John Levon  <levon@movementarian.org>
7816
7817         * Makefile.am: fix commandtags.h reference
7818
7819 2003-03-22  John Levon  <levon@movementarian.org>
7820
7821         * BufferView_pimpl.C:
7822         * lyxtext.h:
7823         * rowpainter.C:
7824         * rowpainter.h:
7825         * text.C:
7826         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7827
7828 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * lyxtext.h:
7831         * text.C: take the rtl methods out of line
7832
7833 2003-03-21 André Pönitz <poenitz@gmx.net>
7834
7835         * metricsinfo.[Ch]: new files containing structures to be passed around
7836         during the two-phase-drawing...
7837
7838 2003-03-21 André Pönitz <poenitz@gmx.net>
7839
7840         * lyxtextclass.C: read 'environment' tag.
7841
7842 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7843
7844         * text2.C (removeRow): fix bug 964
7845
7846 2003-03-20  John Levon  <levon@movementarian.org>
7847
7848         * rowpainter.C:
7849         * text.C:
7850         * text2.C: paint cleanups. Inset::update() dropped font
7851         parameter
7852
7853 2003-03-19  John Levon  <levon@movementarian.org>
7854
7855         * lyxfunc.C: only fitcursor/markDirty if available()
7856
7857 2003-03-19  John Levon  <levon@movementarian.org>
7858
7859         * commandtags.h: rename to ...
7860
7861         * lfuns.h: ... this, and renumber / cleanup
7862
7863 2003-03-19  John Levon  <levon@movementarian.org>
7864
7865         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7866         fit the cursor after an lfun
7867
7868         * BufferView.h:
7869         * BufferView.C:
7870         * BufferView_pimpl.h:
7871         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7872
7873         * LyXAction.C: layout-character should have ReadOnly
7874
7875         * ParagraphParameters.C:
7876         * buffer.C:
7877         * bufferview_funcs.C:
7878         * lyx_cb.C:
7879         * lyxfind.C:
7880         * lyxtext.h:
7881         * text.C:
7882         * text2.C:
7883         * text3.C:
7884         * undo_funcs.C: changes from above
7885
7886 2003-03-18  John Levon  <levon@movementarian.org>
7887
7888         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7889         remove it from update()
7890
7891         * lyxfunc.C: update layout choice after an lfun
7892
7893         * text3.C: remove extra updateLayoutChoice()s
7894
7895 2003-03-18  John Levon  <levon@movementarian.org>
7896
7897         * text.C: top_y change means full repaint, fix
7898         a drawing bug with cursor movement
7899
7900 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7901
7902         * lyxtext.h:
7903         * text.C:
7904         * text2.C: anchor row on setCursor
7905
7906 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7907
7908         * lyxtext.h: remove almost all mutable keywords
7909         * text.C:
7910         * text2.C:
7911         * text3.C: remove const keywords accordingly
7912
7913 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7914
7915         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7916         anon namespace
7917         (TeXEnvironment): ditto
7918         (TeXOnePar): ditto
7919
7920 2003-03-17  John Levon  <levon@movementarian.org>
7921
7922         * text.C (rowBreakPoint): remove attempt to fix displayed
7923         math insets inside a manual label
7924
7925 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * lyxtext.h: remove BufferView* as first arg from almost all class
7928         functions.
7929         * other files: adjust.
7930
7931 2003-03-17  John Levon  <levon@movementarian.org>
7932
7933         * lyxtext.h:
7934         * undo_funcs.C:
7935         * text2.C: more paint cleanups
7936
7937         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7938
7939         * rowpainter.h:
7940         * rowpainter.C: remove "smart" background painting code
7941
7942 2003-03-16  John Levon  <levon@movementarian.org>
7943
7944         * lyxtext.h:
7945         * text.C:
7946         * text2.C:
7947         * text3.C: add helper functions for setting refresh_row/y
7948
7949 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7950
7951         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7952         newline inset which *can* get inserted in the pass_thru layouts.
7953         This is primarily for literate documents.
7954
7955 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7956
7957         * buffer.C: increment LYX_FORMAT to 223
7958
7959 2003-03-14 André Pönitz <poenitz@gmx.net>
7960
7961         * textclass.h: prepare for environment handling, ws changes
7962         * lyxlayout.C: read latexheader and latexfooter tags
7963
7964 2003-03-14  John Levon  <levon@movementarian.org>
7965
7966         * text2.C: rewrite ::status() a bit
7967
7968 2003-03-13  John Levon  <levon@movementarian.org>
7969
7970         * lyxtext.h: add some docs
7971
7972 2003-03-13  John Levon  <levon@movementarian.org>
7973
7974         * lyxtext.h:
7975         * text.C:
7976         * text2.C:
7977         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7978
7979 2003-03-13  John Levon  <levon@movementarian.org>
7980
7981         * text3.C: fix appendix redrawing
7982
7983 2003-03-13  John Levon  <levon@movementarian.org>
7984
7985         * text.C (setHeightOfRow):
7986         * rowpainter.h:
7987         * rowpainter.C: make appendix mark have the text
7988           "Appendix" so the user knows what it is
7989
7990         * LColor.h:
7991         * LColor.C: s/appendixline/appendix/ from above
7992
7993 2003-03-13  John Levon  <levon@movementarian.org>
7994
7995         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7996
7997         * text.C: fix a getChar(pos) bug properly
7998
7999 2003-03-13  Angus Leeming  <leeming@lyx.org>
8000
8001         * commandtags.h:
8002         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8003         Probably only temporary. Let's see how things pan out.
8004
8005         * BufferView.C (unlockInset):
8006         * BufferView_pimpl.C (fitCursor):
8007         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8008
8009         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8010         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8011
8012         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8013         new functions that convert ParagraphParameters to and from a string.
8014
8015         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8016         BufferView::Pimpl's dispatch.
8017         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8018
8019 2003-03-13 André Pönitz <poenitz@gmx.net>
8020
8021         * lyxfunc.C:
8022         * text3.C:
8023         * factory.C: make it aware of InsetEnv
8024
8025 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * text2.C (setCursor): never ask for one past last
8028         (setCursor): add some debugging messages.
8029
8030         * text.C (singleWidth): never ask for one past last
8031         (singleWidth): ditto
8032         (leftMargin): ditto
8033         (rightMargin): ditto
8034         (rowBreakPoint): ditto
8035         (setHeightOfRow): ditto
8036         (prepareToPrint): ditto
8037
8038         * rowpainter.C (paintBackground): never ask for one past last
8039         (paintText): never ask for one past last
8040
8041         * paragraph_pimpl.C (getChar): make the assert stricter, never
8042         allow the one past last pos to be taken
8043
8044         * paragraph.C (getChar): ws changes only
8045
8046         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8047         (numberOfSeparators): ditto
8048         (numberOfHfills): ditto
8049
8050 2003-03-12  John Levon  <levon@movementarian.org>
8051
8052         * author.h:
8053         * author.C:
8054         * bufferparams.h:
8055         * bufferparams.C:
8056         * paragraph_funcs.C: fix per-buffer authorlists
8057
8058 2003-03-12  John Levon  <levon@movementarian.org>
8059
8060         * text.C: fix newline in right address
8061
8062 2003-03-12  Angus Leeming  <leeming@lyx.org>
8063
8064         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8065         duplicate those in LyXFunc::dispatch.
8066
8067         * commandtags.h:
8068         * LyXAction.C:
8069         * ToolbarDefaults.C:
8070         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8071         Add LFUN_FONTFREE_UPDATE.
8072
8073         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8074         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8075
8076         * bufferview_func.[Ch]: several new functions to facilliate
8077         transfer of data to and from the character dialog.
8078
8079 2003-03-12  John Levon  <levon@movementarian.org>
8080
8081         * buffer.C:
8082         * paragraph.h:
8083         * paragraph.C:
8084         * paragraph_funcs.C:
8085         * paragraph_pimpl.C:
8086         * sgml.C:
8087         * tabular.C:
8088         * text.C:
8089         * text3.C: remove META_NEWLINE in favour of an inset
8090
8091         * rowpainter.h:
8092         * rowpainter.C: remove paintNewline (done by inset)
8093
8094 2003-03-12  John Levon  <levon@movementarian.org>
8095
8096         * paragraph_pimpl.C: complain about bad getChar()s
8097         for a while at least
8098
8099 2003-03-12  John Levon  <levon@movementarian.org>
8100
8101         * buffer.h:
8102         * buffer.C: move paragraph read into a separate function,
8103         a little renaming to reflect that.
8104
8105         * bufferparams.h:
8106         * bufferparams.C: remove the author_ids map, not necessary now
8107
8108         * factory.h:
8109         * factory.C: moved Buffer::readInset to here
8110
8111         * paragraph_funcs.h:
8112         * paragraph_funcs.C: readParagraph free function moved from
8113         buffer.C
8114
8115         * tabular.C: name change
8116
8117 2003-03-12  John Levon  <levon@movementarian.org>
8118
8119         * buffer.C:
8120         * ParagraphParameters.C: move par params input to
8121         a read() method
8122
8123         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8124         behave like a normal read from the stream wrt reading
8125         a line vs. a \\token
8126
8127 2003-03-12  John Levon  <levon@movementarian.org>
8128
8129         * paragraph.C:
8130         * ParagraphParameters.h:
8131         * ParagraphParameters.C: move output code to a
8132         ::write() method
8133
8134 2003-03-12  John Levon  <levon@movementarian.org>
8135
8136         * BufferView.C (insertLyXFile):
8137         * buffer.h:
8138         * buffer.C:
8139         * tabular.C: use a parlist iterator for creating the
8140           document.
8141
8142 2003-03-12  John Levon  <levon@movementarian.org>
8143
8144         * buffer.C: make current_change static local not
8145           static file-scope
8146
8147 2003-03-12  John Levon  <levon@movementarian.org>
8148
8149         * buffer.C: fix insertStringAsLines for change tracking
8150
8151 2003-03-12  John Levon  <levon@movementarian.org>
8152
8153         * BufferView.C:
8154         * tabular.C:
8155         * buffer.h:
8156         * buffer.C:
8157         * bufferparams.h:
8158         * bufferparams.C: move author list into params. Rename some
8159           functions. Move the header reading into a separate token
8160           loop. Move the header token reading into BufferParams.
8161
8162 2003-03-12  John Levon  <levon@movementarian.org>
8163
8164         * changes.C: put debug inside lyxerr.debugging() checks
8165
8166 2003-03-11 André Pönitz <poenitz@gmx.net>
8167
8168         * factory.C: make it aware of InsetHFill
8169
8170 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8171
8172         * buffer.C (latexParagraphs): move function from here...
8173         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8174         args.
8175
8176 2003-03-10  Angus Leeming  <leeming@lyx.org>
8177
8178         * LyXAction.C (init): fix bug in poplating array with multiple entries
8179         with the same LFUN (spotted by JMarc).
8180
8181 2003-03-10  John Levon  <levon@movementarian.org>
8182
8183         * text.C:
8184         * text2.C: move getColumnNearX() near its
8185         only call site
8186
8187 2003-03-10  John Levon  <levon@movementarian.org>
8188
8189         * text.C: fix break before a minipage
8190
8191 2003-03-10  John Levon  <levon@movementarian.org>
8192
8193         * text.C: fix the last commit
8194
8195 2003-03-09  John Levon  <levon@movementarian.org>
8196
8197         * lyxtext.h:
8198         * text.C:
8199         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8200         bug 365 (don't break before insets unless needed). Don't
8201         return a value > last under any circumstances.
8202
8203 2003-03-09  Angus Leeming  <leeming@lyx.org>
8204
8205         * BufferView_pimpl.C (trackChanges, dispatch): call
8206         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8207
8208 2003-03-09  Angus Leeming  <leeming@lyx.org>
8209
8210         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8211         than Dialogs::showAboutlyx().
8212
8213 2003-03-09  Angus Leeming  <leeming@lyx.org>
8214
8215         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8216         than Dialogs::showTabularCreate().
8217
8218 2003-03-09  John Levon  <levon@movementarian.org>
8219
8220         * lyxtext.h:
8221         * text.C:
8222         * text2.C: 3rd arg to nextBreakPoint was always the same.
8223           Use references.
8224
8225 2003-03-08  John Levon  <levon@movementarian.org>
8226
8227         * lyxrow.C:
8228         * paragraph.C:
8229         * paragraph.h:
8230         * rowpainter.C:
8231         * text.C:
8232         * text2.C: Remove the "main" bit from the "main body"
8233           notion.
8234
8235 2003-03-08  John Levon  <levon@movementarian.org>
8236
8237         * text.C (leftMargin): The left margin of an empty
8238         manual label paragraph should not include the label width
8239         string length.
8240
8241         * text.C (prepareToPrint): don't attempt to measure hfills
8242         for empty manual label paragraphs - the answer should be 0
8243
8244 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * CutAndPaste.C: remove commented code and reindent.
8247
8248 2003-03-08  John Levon  <levon@movementarian.org>
8249
8250         * lyxfunc.h:
8251         * lyxfunc.C: move reloadBuffer()
8252
8253         * BufferView.h:
8254         * BufferView.C: to here
8255
8256         * lyxvc.C: add comment
8257
8258         * vc-backend.h:
8259         * vc-backend.C: call bv->reload() to avoid
8260           getStatus() check on MENURELOAD
8261
8262 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8263
8264         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8265         to an old format .dep file.
8266
8267 2003-03-07  Angus Leeming  <leeming@lyx.org>
8268
8269         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8270         when the LFUN_MOUSE_RELEASE should have been handled by
8271         inset->localDispatch.
8272
8273 2003-03-07  Angus Leeming  <leeming@lyx.org>
8274
8275         * BufferView_pimpl.C (dispatch):
8276         * LyXAction.C (init):
8277         * ToolbarDefaults.C (init):
8278         * commandtags.h:
8279         * lyxfunc.C (getStatus):
8280         remove LFUN_INSET_GRAPHICS.
8281
8282         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8283
8284 2003-03-07  Angus Leeming  <leeming@lyx.org>
8285
8286         * commandtags.h:
8287         * LyXAction.C (init):
8288         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8289
8290         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8291
8292         * commandtags.h:
8293         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8294
8295         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8296         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8297
8298 2003-03-07  Angus Leeming  <leeming@lyx.org>
8299
8300         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8301         remove "ert".
8302
8303 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * ParagraphList.C (front): new function
8306         (back): implement
8307
8308 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8309
8310         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8311         and top_row_offset_. removed var first_y.
8312         * text.C (top_y):
8313         * text2.C (LyXText, removeRow):
8314         * text3.C:
8315         * BufferView_pimpl.C:
8316         use these methods instead of using first_y
8317
8318 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text2.C (pasteSelection): adjust for checkPastePossible
8321
8322         * CutAndPaste.C: remove Paragraph * buf and replace with
8323         ParagraphList paragraphs.
8324         (DeleteBuffer): delete
8325         (cutSelection): change the tc type to textclass_type
8326         (copySelection): change the tc type to textclass_type
8327         (copySelection): adjust for ParagraphList
8328         (pasteSelection): change the tc type to textclass_type
8329         (pasteSelection): adjust for Paragraphlist
8330         (nrOfParagraphs): simplify for ParagraphList
8331         (checkPastePossible): simplify for ParagraphList
8332         (checkPastePossible): remove unused arg
8333
8334         * ParagraphList.C (insert): handle the case where there are no
8335         paragraphs yet.
8336
8337         * CutAndPaste.h: make CutAndPaste a namespace.
8338
8339         * text3.C (dispatch): adjust
8340
8341         * text.C (breakParagraph): add a ParagraphList as arg
8342
8343         * paragraph_funcs.C (breakParagraph): change to take a
8344         BufferParams and a ParagraphList as args.
8345         (breakParagraphConservative): ditto
8346         (mergeParagraph): ditto
8347         (TeXDeeper): add a ParagraphList arg
8348         (TeXEnvironment): ditto
8349         (TeXOnePar): ditto
8350
8351         * buffer.C (readLyXformat2): adjust
8352         (insertStringAsLines): adjust
8353         (latexParagraphs): adjust
8354
8355         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8356         (cutSelection): adjust
8357         (pasteSelection): adjust
8358
8359         * BufferView_pimpl.C (insertInset): adjust
8360
8361 2003-03-05  Angus Leeming  <leeming@lyx.org>
8362
8363         * commandtags.h:
8364         * LyXAction.C (init):
8365         * BufferView_pimpl.C (dispatch):
8366         * lyxfunc.C (getStatus):
8367         remove LFUN_CHILD_INSERT.
8368
8369         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8370
8371 2003-03-05  Angus Leeming  <leeming@lyx.org>
8372
8373         * commandtags.h:
8374         * LyXAction.C (init):
8375         * src/factory.C (createInset):
8376         * lyxfunc.C (getStatus):
8377         * text3.C (dispatch):
8378         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8379
8380         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8381
8382 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * ParagraphList.C (insert): handle insert right before end()
8385         (erase): fix cases where it can be first or last paragraph.
8386
8387 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8388
8389         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8390         Paragraph::next and Paragraph::previous
8391         (TeXOnePar): ditto
8392
8393         * text.C (breakParagraph): adjust
8394
8395         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8396         BufferParams& as arg.
8397         (breakParagraph): use ParagraphList::insert
8398         (breakParagraphConservative): take a Buffer* instead of a
8399         BufferParams& as arg.
8400         (breakParagraphConservative): use ParagraphList::insert.
8401
8402         * buffer.C (insertStringAsLines): un-const it
8403         (insertStringAsLines): adjust
8404
8405         * ParagraphList.C (insert): new function
8406
8407         * CutAndPaste.C (pasteSelection): adjust
8408
8409         * text.C (backspace): adjust
8410
8411         * tabular.C (SetMultiColumn): adjust
8412
8413         * CutAndPaste.C (cutSelection): adjust
8414         (pasteSelection): adjust
8415
8416         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8417         Buffer const * as arg
8418
8419         * ParagraphList.C (erase): new function
8420         * paragraph_funcs.C (mergeParagraph): use it
8421         (mergeParagraph): make it take a Buffer* instead of a
8422         BufferParams* as arg
8423
8424         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8425         as arg
8426         (breakParagraphConservative): ditto
8427
8428         * paragraph.h: remove the breakParagraph friend
8429
8430         * paragraph.C (eraseIntern): new function
8431         (setChange): new function
8432
8433         * paragraph_funcs.C (mergeParagraph): make it take a
8434         ParagraphList::iterator instead of a Paragraph *, adjust
8435         accordingly.
8436
8437         * paragraph.h: move an #endif so that the change tracking stuff
8438         also works in the NO_NEXT case.
8439
8440 2003-03-04  Angus Leeming  <leeming@lyx.org>
8441
8442         * commandtags.h:
8443         * LyXAction.C: new LFUN_INSET_MODIFY.
8444
8445         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8446         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8447
8448 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * several files: ws changes only
8451
8452         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8453         (TeXEnvironment): ditto
8454         (TeXDeeper): ditto
8455
8456         * buffer.C (makeLaTeXFile): adjust
8457         (latexParagraphs): make it take ParagraphList::iterator as args
8458
8459 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * buffer.C (latexParagraphs): adjust
8462
8463         * paragraph.C (TeXOnePar): move function...
8464         (optArgInset): move function...
8465         (TeXEnvironment): move function...
8466         * paragraph_pimpl.C (TeXDeeper): move function...
8467         * paragraph_funcs.C: ...here
8468
8469         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8470
8471 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * buffer.C (readInset): remove compability code for old Figure and
8474         InsetInfo insets
8475
8476 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * buffer.C: ws changes
8479         (readInset):
8480
8481         * BufferView_pimpl.C: ditto
8482         * author.C: ditto
8483         * buffer.h: ditto
8484         * bufferlist.h: ditto
8485         * changes.h: ditto
8486         * lyxfunc.C: ditto
8487
8488 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8489
8490         * converter.[Ch]: split into itself +
8491         * graph.[Ch]
8492         * format.[Ch]
8493         * Makefile.am: += graph.[Ch] + format.[Ch]
8494         * MenuBackend.C
8495         * buffer.C
8496         * exporter.C
8497         * importer.C
8498         * lyx_main.C
8499         * lyxfunc.C
8500         * lyxrc.C: added #include "format.h"
8501
8502 2003-02-27  Angus Leeming  <leeming@lyx.org>
8503
8504         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8505           a label.
8506
8507         * factory.C (createInset): add "label" to the factory.
8508
8509         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8510           string and do no more.
8511
8512 2003-02-27  Angus Leeming  <leeming@lyx.org>
8513
8514         * commandtags.h:
8515         * LyXAction.C (init):
8516         * factory.C (createInset):
8517         * BufferView_pimpl.C (dispatch):
8518           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8519
8520         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8521
8522         * lyxfunc.C (dispatch):
8523         * text3.C (dispatch): pass name to params2string.
8524
8525 2003-02-26  Angus Leeming  <leeming@lyx.org>
8526
8527         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8528           blocks together.
8529           Rearrange the ~includes. Strip out the unnecessary ones.
8530
8531         * factory.C (createInset): reformat.
8532           create new insets for the various LFUN_XYZ_APPLY lfuns.
8533
8534 2003-02-26  John Levon  <levon@movementarian.org>
8535
8536         * lyxrow.h:
8537         * lyxrow.C: add isParStart,isParEnd helpers
8538
8539         * paragraph.h: make isInserted/DeletedText take refs
8540
8541         * paragraph_funcs.h:
8542         * paragraph_funcs.C: remove #if 0'd code
8543
8544         * lyxtext.h:
8545         * text3.C:
8546         * text2.C:
8547         * text.C: use lyxrow helpers above.
8548           Move draw and paint routines to RowPainter.
8549           Make several methods use refs not pointers.
8550           Make backgroundColor() const.
8551           Add markChangeInDraw(), isInInset().
8552           Merge changeRegionCase into changeCase.
8553           Make workWidth() shouldn't-happen code into an Assert.
8554
8555         * rowpainter.h:
8556         * rowpainter.C: new class for painting a row.
8557
8558         * vspace.h:
8559         * vspace.C: make inPixels take a ref
8560
8561 2003-02-26  Angus Leeming  <leeming@lyx.org>
8562
8563         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8564         LFUN_REF_APPLY.
8565
8566 2003-02-25  John Levon  <levon@movementarian.org>
8567
8568         * ispell.C: give the forked command a more accurate name
8569
8570 2003-02-22  John Levon  <levon@movementarian.org>
8571
8572         * toc.h:
8573         * toc.C: make TocItem store an id not a Paragraph *
8574           (bug #913)
8575
8576 2003-02-21  Angus Leeming  <leeming@lyx.org>
8577
8578         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8579           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8580           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8581           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8582           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8583           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8584
8585         * BufferView_pimpl.C (dispatch):
8586         * LyXAction.C (init):
8587         * factory.C (createInset):
8588         * lyxfunc.C (getStatus, dispatch):
8589         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8590
8591 2003-02-21  Angus Leeming  <leeming@lyx.org>
8592
8593         * BufferView_pimpl.C (MenuInsertLyXFile):
8594         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8595         * lyxfunc.C (menuNew, open, doImport):
8596           no longer pass a LyXView & to fileDlg.
8597
8598 2003-02-21  Angus Leeming  <leeming@lyx.org>
8599
8600         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8601         * LyXAction.C: change, BIBKEY to BIBITEM.
8602         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8603         Change InsetBibKey to InsetBibitem.
8604         Change BIBKEY_CODE to BIBITEM_CODE.
8605         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8606         * factory.C: replace insetbib.h with insetbibitem.h.
8607         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8608         * paragraph.C: replace insetbib.h with insetbibitem.h.
8609         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8610         Change bibkey() to bibitem().
8611         * text.C: remove insetbib.h.
8612         * text2.C: replace insetbib.h with insetbibitem.h.
8613         change bibkey() to bibitem().
8614         * text3.C: remove insetbib.h.
8615         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8616
8617 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8618
8619         * lyxrc.C (output): enclose user email in quotes (in case there are
8620         several words)
8621
8622 2003-02-18  John Levon  <levon@movementarian.org>
8623
8624         * buffer.h: add std::
8625
8626 2003-02-17  John Levon  <levon@movementarian.org>
8627
8628         * SpellBase.h:
8629         * ispell.h:
8630         * ispell.C:
8631         * pspell.h:
8632         * pspell.C: reworking. Especially in ispell, a large
8633           number of clean ups and bug fixes.
8634
8635         * lyxfunc.C: fix revert to behave sensibly
8636
8637 2003-02-17 André Pönitz <poenitz@gmx.net>
8638
8639         * LyXAction.C:
8640         * commandtags.h: new LFUN_INSERT_BIBKEY
8641
8642         * layout.h:
8643         * lyxlayout.C:
8644         * buffer.C:
8645         * factory.C:
8646         * text.C:
8647         * text2.C:
8648         * text3.C:
8649         * paragraph.[Ch]:
8650         * paragraph_func.C: remove special bibkey handling
8651
8652 2003-02-17  John Levon  <levon@movementarian.org>
8653
8654         * text.C (Delete): fix case where delete at the end of
8655           the very first paragraph would not merge the pars
8656
8657 2003-02-17  John Levon  <levon@movementarian.org>
8658
8659         * lyxrow.C: fix lastPrintablePos()
8660
8661 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8662
8663         * bufferparams.C (writeLaTeX): add a std:here
8664
8665         * buffer.C: and remove a using directive there
8666
8667 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8668
8669         * buffer.C (makeLaTeXFile): move the code that generates the
8670           preamble...
8671
8672         * bufferparams.C (writeLaTeX): ... in this new method
8673
8674         * LaTeXFeatures.C (getEncodingSet): make const
8675           (getLanguages): make const
8676
8677         * MenuBackend.C (binding): returns the binding associated to this
8678           action
8679           (add): sets the status of each item by calling getStatus. Adds
8680           some intelligence.
8681           (read): add support for OptSubMenu
8682           (expand): remove extra separator at the end of expanded menu
8683
8684 2003-02-15  John Levon  <levon@movementarian.org>
8685
8686         * BufferView.C:
8687         * BufferView_pimpl.C:
8688         * bufferlist.h:
8689         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8690           inset code that had no actual effect. Remove unneeded status
8691           code.
8692
8693 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8696           in preamble
8697
8698 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8699
8700         * text.C (drawLengthMarker): also draw an arrow marker for
8701           symbolic lengths (medskip...)
8702
8703 2003-02-14  John Levon  <levon@movementarian.org>
8704
8705         * tabular.h:
8706         * tabular.C: better method names
8707
8708 2003-02-14  John Levon  <levon@movementarian.org>
8709
8710         * BufferView_pimpl.C:
8711         * bufferlist.C:
8712         * buffer.C:
8713         * converter.C:
8714         * lyx_cb.C:
8715         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8716           it's a more accurate name. Remove some pointless uses.
8717
8718 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8719
8720         * text2.C (LyXText): change order of initilizers to shut off
8721           warnings
8722
8723 2003-02-14  John Levon  <levon@movementarian.org>
8724
8725         * buffer.C: use ParIterator for getParFromID()
8726
8727         * paragraph.h:
8728         * paragraph.C:
8729         * paragraph_pimpl.h:
8730         * paragraph_pimpl.C: remove unused getParFromID()
8731
8732 2003-02-14  John Levon  <levon@movementarian.org>
8733
8734         * buffer.C: remove some very old #if 0'd parse code
8735
8736 2003-02-13  John Levon  <levon@movementarian.org>
8737
8738         * text.h:
8739         * text.C:
8740         * text2.C: move hfillExpansion(), numberOfSeparators(),
8741           rowLast(), rowLastPrintable(), numberofHfills(),
8742           numberOfLabelHfills() ...
8743
8744         * lyxrow.h:
8745         * lyxrow.C: ... to member functions here.
8746
8747         * paragraph.h:
8748         * paragraph.C:
8749         * lyxtext.h:
8750         * text.C: remove LyXText::beginningOfMainBody(), and call
8751           p->beginningOfMainBody() directly. Move the check for
8752           LABEL_MANUAL into the latter.
8753
8754         * text.h:
8755         * text.C:
8756         * text2.C:
8757         * vspace.C:
8758         * BufferView.h:
8759         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8760
8761         * text.h:
8762         * text.C:
8763         * text2.C:
8764         * text3.C:
8765         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8766           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8767
8768 2003-02-13  John Levon  <levon@movementarian.org>
8769
8770         * CutAndPaste.C: remove debug
8771
8772 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * paragraph.C (asString): remove two unused variables
8775
8776         * lyxtextclass.C (readTitleType):
8777           (Read):
8778           (LyXTextClass): handle new members titletype_ and titlename_
8779
8780         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8781
8782 2003-02-09  John Levon  <levon@movementarian.org>
8783
8784         * buffer.h:
8785         * buffer.C: replace hand-coded list with a map for the dep clean
8786
8787 2003-02-08  John Levon  <levon@movementarian.org>
8788
8789         * LaTeX.C: consolidate code into showRunMessage() helper
8790
8791 2003-02-08  John Levon  <levon@movementarian.org>
8792
8793         * lyxfind.C:
8794         * lyxtext.h:
8795         * text2.C:
8796         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8797           and pass the size in explicitly
8798
8799         * BufferView_pimpl.h:
8800         * BufferView_pimpl.C:
8801         * BufferView.h:
8802         * BufferView.C: add getCurrentChange()
8803
8804         * BufferView_pimpl.h:
8805         * BufferView_pimpl.C: handle change lfuns
8806
8807         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8808           for changes. Mark pasted paragraphs as new.
8809
8810         * support/lyxtime.h:
8811         * support/lyxtime.C:
8812         * DepTable.C: abstract time_t as lyx::time_type
8813
8814         * LColor.h:
8815         * LColor.C: add colours for new text, deleted text, changebars
8816
8817         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8818           package use "usenames" option.
8819
8820         * commandtags.h:
8821         * lyxfunc.C:
8822         * LyXAction.C: add change lfuns
8823
8824         * Makefile.am:
8825         * author.h:
8826         * author.C: author handling
8827
8828         * buffer.h:
8829         * buffer.C: add a per-buffer author list, with first entry as
8830           current author. Handle new .lyx tokens for change tracking. Output
8831           author list to .lyx file. Output dvipost stuff to .tex preamble.
8832           Bump lyx format to 222.
8833
8834         * bufferlist.h:
8835         * bufferlist.C: add setCurrentAuthor() to reset current author details
8836           in all buffers.
8837
8838         * bufferparams.h:
8839         * bufferparams.C: add param for tracking
8840
8841         * bufferview_funcs.C: output change info in minibuffer
8842
8843         * Makefile.am:
8844         * changes.h:
8845         * changes.C: add change-tracking structure
8846
8847         * debug.h:
8848         * debug.C: add CHANGES debug flag
8849
8850         * lyxfind.h:
8851         * lyxfind.C: add code for finding the next change piece
8852
8853         * lyxrc.h:
8854         * lyxrc.C: add user_name and user_email
8855
8856         * lyxrow.h:
8857         * lyxrow.C: add a metric for the top of the text line
8858
8859         * lyxtext.h:
8860         * text.C: implement accept/rejectChange()
8861
8862         * lyxtext.h:
8863         * text.C: paint changebars. Paint new/deleted text in the chosen
8864         colours. Strike through deleted text.
8865
8866         * paragraph.h:
8867         * paragraph.C:
8868         * paragraph_pimpl.h:
8869         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8870           in the current change to the insert functions. Rework erase to
8871           mark text as deleted, adding an eraseIntern() and a range-based
8872           erase(). Implement per-paragraph change lookup and
8873           accept/reject.
8874
8875         * paragraph_funcs.C: Fixup paste for change tracking.
8876
8877         * tabular.C: mark added row/columns as new.
8878
8879         * text.C: fix rowLast() to never return -1. Don't allow
8880           spellchecking of deleted text. Track transpose changes. Don't
8881           allow paragraph break or merge where appropriate.
8882
8883         * text2.C: leave cursor at end of selection after a cut.
8884
8885 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8886
8887         * text.C (getLengthMarkerHeight):
8888         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8889         visible on screen too.
8890
8891 2003-02-07  John Levon  <levon@movementarian.org>
8892
8893         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8894
8895 2003-02-05  Angus Leeming  <leeming@lyx.org>
8896
8897         * lyxserver.C (read_ready): revert my patch of 11 September last year
8898         as it sends PC cpu through the roof. Presumably this means that
8899         the lyxserver will no longer run on an Alpha...
8900
8901 2003-01-30  Angus Leeming  <leeming@lyx.org>
8902
8903         * factory.C (createInset): create an InsetCommandParam of type "index"
8904         and use it to 'do the right thing'.
8905
8906         * text2.C (getStringToIndex): ensure that cursor position is always
8907         reset to the reset_cursor position.
8908
8909 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8910
8911         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8912         disabled.
8913
8914 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8915
8916         * bufferview.C:
8917         * lyxcb.C:
8918         * lyxfunc.C: Output messages with identical spelling, punctuation,
8919         and spaces
8920
8921 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8922
8923         * MenuBackend.C (expandFormats): List only viewable export formats
8924         in "View" menu
8925
8926         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8927         message
8928
8929         * lyxfunc.C (getStatus): Make sure that formats other than
8930         "fax" can also be disabled
8931
8932 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8933
8934         * text3.C (dispatch): put the lfuns that insert insets in 3
8935         groups, and call doInsertInset with appropriate arguments.
8936         (doInsertInset): new function, that creates an inset and inserts
8937         it according to some boolean parameters.
8938
8939 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8940
8941         * buffer.C (readFile): remember to pass on 'par' when calling
8942         readFile recursively.
8943
8944 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * MenuBackend.C (expandFormats): add "..." to import formats.
8947
8948 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8949
8950         * paragraph.C (asString): Remove XForms RTL hacks.
8951
8952 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8953         * buffer.C: fix typo
8954
8955 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8956
8957         * Makefile.am (LIBS): delete var
8958         (lyx_LDADD): add @LIBS@ here instead.
8959
8960 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8961
8962         * Clarify the meaning of "wheel mouse jump"
8963
8964 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8965
8966         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8967         tabular in a float
8968
8969 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8970
8971         * importer.C (Loaders): do not preallocate 3 elements in the
8972         vector, since one ends up with 6 elements otherwise
8973
8974 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8975
8976         * DepTable.C (write): write the file name as last element of the
8977         .dep file (because it may contain spaces)
8978         (read): read info in the right order
8979
8980 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8981
8982         * paragraph_pimpl.C (simpleTeXBlanks):
8983         (simpleTeXSpecialChars):
8984         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8985
8986         * tabular.C (latex): add some missing case statements. Reindent.
8987
8988         * MenuBackend.C (expandToc): remove unused variable.
8989
8990 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8991
8992         * LColor.C:
8993         * LaTeX.C:
8994         * LyXAction.C:
8995         * MenuBackend.C:
8996         * buffer.C:
8997         * exporter.C:
8998         * lyxfunc.C:
8999         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9000         and the like.
9001
9002 2003-01-05  John Levon  <levon@movementarian.org>
9003
9004         * BufferView.h:
9005         * BufferView.C: add getEncoding()
9006
9007         * kbsequence.h:
9008         * kbsequence.C: do not store last keypress
9009
9010         * lyxfunc.h:
9011         * lyxfunc.C: store last keypress here instead. Pass encoding
9012           to getISOEncoded()
9013
9014 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9015
9016         * lyx_main.C (init): remove annoying error message when following
9017         symbolic links (bug #780)
9018
9019 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9020
9021         * text.C (insertChar):
9022         * lyxrc.C (getDescription): remove extra spaces
9023
9024 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9025
9026         * lyxrc.C (getDescription): remove extra spaces
9027
9028 2002-12-20  John Levon  <levon@movementarian.org>
9029
9030         * text3.C: hack fix for page up/down across tall rows
9031
9032 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9033
9034         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9035         not been invoked
9036
9037 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9038
9039         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9040         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9041         thesaurus is not compiled in
9042
9043 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9044
9045         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9046
9047 2002-12-16  Angus Leeming  <leeming@lyx.org>
9048
9049         * lyxrc.[Ch]:
9050         * lyx_main.C (init): remove override_x_deadkeys stuff.
9051
9052 2002-12-12  John Levon  <levon@movementarian.org>
9053
9054         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9055           insert. Only remove shift modifier under strict
9056           circumstances.
9057
9058 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9059
9060         * MenuBackend.C (expandToc): fix crash.
9061
9062 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9063
9064         * MenuBackend.C (expandToc): gettext on float names.
9065
9066 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9067
9068         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9069         implement bool empty() [bug 490]
9070
9071 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9072
9073         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9074
9075 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * several files: ws changes
9078
9079 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * text2.C (setCounter): clean up a bit, use boost.format.
9082         (updateCounters): initialize par upon declaration.
9083
9084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9085         if the layout exists. We do not just store the layout any more.
9086         (SwitchLayoutsBetweenClasses): use boost.format
9087
9088 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9089
9090         * converter.C (convert): if from and to files are the same, use a
9091         temporary files as intermediary
9092
9093 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9094
9095         * commandtags.h:
9096         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9097
9098 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9099
9100         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9101
9102 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * tabular.C (asciiPrintCell): use string(size, char) instead of
9105         explicit loop.
9106
9107         * sgml.C (openTag): fix order of arguments to string constructor
9108         (closeTag): ditto
9109
9110         * lyxfunc.C (dispatch): use boost.format
9111
9112         * lots of files: change "c" -> 'c'
9113
9114 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9115
9116         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9117
9118 2002-11-25  Angus Leeming  <leeming@lyx.org>
9119
9120         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9121
9122         * lyx_main.C (init): compile fix.
9123
9124 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9125
9126         * lyx_cb.C (start): boost.formatify
9127         do not include <iostream>
9128
9129         * lengthcommon.C: ws only
9130
9131         * boost-inst.C,BoostFormat.h: add more explict instantations
9132
9133 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9134
9135         * lots of files: handle USE_BOOST_FORMAT
9136
9137 2002-11-21  John Levon  <levon@movementarian.org>
9138
9139         * pspell.C: fix compile
9140
9141 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * lyxfunc.C (dispatch): use boost::format
9144         (open): ditto
9145         (doImport): ditto
9146
9147         * lyxfont.C (stateText): use boost::format
9148
9149         * lyx_main.C (LyX): use boost::format
9150         (init): ditto
9151         (queryUserLyXDir): ditto
9152         (readRcFile): ditto
9153         (parse_dbg): ditto
9154         (typedef boost::function): use the recommened syntax.
9155
9156         * importer.C (Import): use boost::format
9157
9158         * debug.C (showLevel): use boost::format
9159
9160         * converter.C (view): use boost::format
9161         (convert): ditto
9162         (move): ditto
9163         (scanLog): ditto
9164
9165         * bufferview_funcs.C (currentState): use boost::format
9166
9167         * bufferlist.C (emergencyWrite): use boost::format
9168
9169         * buffer.C (readLyXformat2): use boost::format
9170         (parseSingleLyXformat2Token): ditto
9171
9172         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9173
9174         * LaTeX.C (run): use boost::format
9175
9176         * Chktex.C (scanLogFile): use boost::format
9177
9178         * BufferView_pimpl.C (savePosition): use boost::format
9179         (restorePosition): ditto
9180         (MenuInsertLyXFile): ditto
9181
9182         * BoostFormat.h: help file for explicit instation.
9183
9184 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9185
9186         * tabular.C (latex): Support for block alignment in fixed width
9187         columns.
9188
9189 2002-11-17  John Levon  <levon@movementarian.org>
9190
9191         * BufferView_pimpl.C:
9192         * lyx_cb.C:
9193         * lyxfunc.C: split filedialog into open/save
9194
9195 2002-11-08  Juergen Vigna  <jug@sad.it>
9196
9197         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9198         by my last patch (hopefully).
9199
9200 2002-11-08  John Levon  <levon@movementarian.org>
9201
9202         * iterators.h:
9203         * iterators.C:
9204         * buffer.h:
9205         * buffer.C:
9206         * paragraph.h:
9207         * paragraph.C:
9208         * toc.h:
9209         * toc.C: ParConstIterator, and use it (from Lars)
9210
9211 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9212
9213         * lyxtextclass.[Ch]: revise and add doxygen comments
9214
9215 2002-11-07  John Levon  <levon@movementarian.org>
9216
9217         * text.C: fix progress value for spellchecker
9218
9219         * toc.C: fix navigate menu for insetwrap inside minipage
9220
9221         * paragraph_funcs.C: added FIXME for suspect code
9222
9223 2002-11-07  John Levon  <levon@movementarian.org>
9224
9225         * BufferView_pimpl.C: fix redrawing of insets
9226           on buffer switch
9227
9228 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9229
9230         * text2.C (updateCounters): fix bug 668
9231
9232 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9233
9234         * text3.C (dispatch): Do not make the buffer dirty when moving the
9235         cursor.
9236
9237 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9238
9239         * vc-backend.C: STRCONV
9240         (scanMaster): ditto
9241
9242         * text2.C (setCounter): STRCONV
9243
9244         * paragraph.C (asString): STRCONV
9245
9246         * lyxlength.C (asString): STRCONV
9247         (asLatexString): ditto
9248
9249         * lyxgluelength.C (asString): STRCONV
9250         (asLatexString): ditto
9251
9252         * lyxfunc.C (dispatch): STRCONV
9253         (open): ditto
9254
9255         * lyxfont.C (stateText): STRCONV
9256
9257         * importer.C (Import): STRCONV
9258
9259         * counters.C (labelItem): STRCONV
9260         (numberLabel): ditto
9261         (numberLabel): remove unused ostringstream o
9262
9263         * chset.C: STRCONV
9264         (loadFile): ditto
9265
9266         * bufferview_funcs.C (currentState): STRCONV
9267
9268         * buffer.C (readFile): STRCONV
9269         (asciiParagraph): ditto
9270         (makeLaTeXFile): ditto
9271
9272         * Spacing.C (writeEnvirBegin): STRCONV
9273
9274         * LaTeXFeatures.C (getLanguages): STRCONV
9275         (getPackages): ditto
9276         (getMacros): ditto
9277         (getBabelOptions): ditto
9278         (getTClassPreamble): ditto
9279         (getLyXSGMLEntities): ditto
9280         (getIncludedFiles): ditto
9281
9282         * LaTeX.C: STRCONV
9283         (run): ditto
9284         (scanAuxFile): ditto
9285         (deplog): ditto
9286
9287         * LString.h: add the STRCONV macros
9288
9289         * BufferView_pimpl.C (savePosition): STRCONV
9290         (restorePosition): ditto
9291         (MenuInsertLyXFile): ditto
9292
9293         * vc-backend.C (scanMaster): change from submatch[...] to
9294         submatch.str(...)
9295
9296         * funcrequest.C: include config.h
9297
9298         * factory.C: include config.h
9299
9300         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9301
9302         * box.C: include config.h
9303
9304         * LaTeX.C (scanAuxFile): change from submatch[...] to
9305         submatch.str(...)
9306         (deplog): ditto
9307
9308 2002-10-25  Angus Leeming  <leeming@lyx.org>
9309
9310         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9311
9312         * ispell.[Ch] (setError): new method.
9313         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9314         Use setError() insetead of goto END.
9315
9316         * lyx_cb.C (AutoSave): move out child process into new class
9317         AutoSaveBuffer.
9318
9319 2002-10-30  John Levon  <levon@movementarian.org>
9320
9321         * text3.C: make start appendix undoable
9322
9323 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9324
9325         * lyxlength.C (inPixels): Fix returned value.
9326
9327         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9328         environment.
9329
9330 2002-10-24  Angus Leeming  <leeming@lyx.org>
9331
9332         * lyxgluelength.h: no need to forward declare BufferParams
9333         or BufferView, so don't.
9334
9335 2002-10-21  John Levon  <levon@movementarian.org>
9336
9337         * BufferView.C: menuUndo ->undo, redo
9338
9339         * BufferView.h: document, remove dead, make some methods private
9340
9341         * paragraph_funcs.h:
9342         * paragraph_funcs.C:
9343         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9344
9345         * buffer.h:
9346         * buffer.C:
9347         * sgml.h:
9348         * sgml.C: move sgml open/close tag into sgml.C
9349
9350         * bufferview_funcs.h: unused prototype
9351
9352         * lyxfunc.h:
9353         * lyxfunc.C: remove unused
9354
9355         * lyxtext.h:
9356         * text.C: remove unused
9357
9358 2002-10-21  John Levon  <levon@movementarian.org>
9359
9360         * BufferView.h:
9361         * BufferView.C:
9362         * BufferView_pimpl.h:
9363         * BufferView_pimpl.C: fix mouse wheel handling based on
9364           patch from Darren Freeman
9365
9366 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9367
9368         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9369
9370 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * lyxlength.C (inPixels): Fix hanfling of negative length.
9373         Fix LyXLength::MU case.
9374
9375 2002-10-16  John Levon  <levon@movementarian.org>
9376
9377         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9378
9379 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9380
9381         * converter.C (view): add support for $$i (file name) and $$p
9382         (file path) for the viewer command. If $$i is not specified, then
9383         it is appended to the command (for compatibility with old syntax)
9384
9385 2002-10-14  Juergen Vigna  <jug@sad.it>
9386
9387         * undo_funcs.C (textHandleUndo): alter the order in which the
9388         new undopar is added to the LyXText, as we have to set first
9389         the right prev/next and then add it as otherwise the rebuild of
9390         LyXText is not correct. Also reset the cursor to the right paragraph,
9391         with this IMO we could remove the hack in "redoParagraphs()".
9392
9393 2002-10-09  Angus Leeming  <leeming@lyx.org>
9394
9395         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9396         to turn off an optimisation if a new inset is to be inserted.
9397
9398 2002-10-11 André Pönitz <poenitz@gmx.net>
9399
9400         * lyxtext.h: make some functions public to allow access
9401         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9402
9403 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9404
9405         * text3.C (dispatch): when changing layout, avoid an infinite loop
9406         [bug #652]
9407
9408 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9409
9410         * lyxrc.C (read): treat a viewer or converter command of "none" as
9411         if it were empty.
9412
9413         * MenuBackend.C (expandFormats): for an update, also allow the
9414         formats that are not viewable
9415
9416         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9417         script if it is newer than the lyxrc.defaults in user directory
9418
9419 2002-10-07 André Pönitz <poenitz@gmx.net>
9420
9421         * text.C: Vitaly Lipatov's small i18n fix
9422
9423 2002-09-25  Angus Leeming  <leeming@lyx.org>
9424
9425         * ispell.h: doxygen fix.
9426
9427 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9428
9429         * buffer.h (readFile): Add a new argument to the method, to allow
9430         reading of old-format templates.
9431
9432 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9433
9434         * toc.C (getTocList): Get TOC from InsetWrap.
9435
9436 2002-09-16  John Levon  <levon@movementarian.org>
9437
9438         * lyxfunc.C: check tabular for cut/copy too
9439
9440 2002-09-12  John Levon  <levon@movementarian.org>
9441
9442         * LyXAction.C: tidy
9443
9444         * factory.h:
9445         * factory.C: add header
9446
9447         * paragraph_funcs.h:
9448         * paragraph_funcs.C: cleanup
9449
9450 2002-09-11  John Levon  <levon@movementarian.org>
9451
9452         * PrinterParams.h: odd/even default to true
9453
9454 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9455
9456         * PrinterParams.h: update printer parameters for new xforms dialog
9457
9458 2002-09-11  Angus Leeming  <leeming@lyx.org>
9459
9460         * lyxserver.C (read_ready): re-write to make it more transparent
9461         and to make it work in coherent fashion under Tru64 Unix.
9462
9463 2002-09-11  André Pönitz <poenitz@gmx.net>
9464
9465         * commandtags.h:
9466         * LyXAction.C:
9467         * text3.C: implement LFUN_WORDSEL
9468
9469 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9472         make floatlist_ a boost::shared_ptr<FloatList>
9473
9474         * lyxtextclass.C: include FloatList.h
9475         (LyXTextClass): initialize floatlist_
9476         (TextClassTags): add TC_NOFLOAT
9477         (Read): match "nofloat" to TC_NOFLOAT and use it.
9478         (readFloat): modify call to floatlist_
9479         (floats): ditto
9480         (floats): ditto
9481
9482         * FloatList.[Ch] (FloatList): remove commented out float
9483         initialization.
9484         (erase): new function
9485
9486 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9487
9488         * MenuBackend.C (expandToc): fix crash when there is no document
9489         open
9490
9491 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9492
9493         * many files: Add insetwrap.
9494
9495 2002-09-09  John Levon  <levon@movementarian.org>
9496
9497         * text2.C: remove confusing and awkward depth wraparound
9498
9499 2002-09-09  John Levon  <levon@movementarian.org>
9500
9501         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9502
9503         * buffer.h:
9504         * buffer.C: remove getIncludeonlyList()
9505
9506         * paragraph.C:
9507         * lyxfunc.C: remove headers
9508
9509 2002-09-09  Juergen Vigna  <jug@sad.it>
9510
9511         * text.C (getColumnNearX): fix form Michael this is most
9512         probably a cut&paste bug.
9513
9514 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9515
9516         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9517
9518         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9519         references, ws changes.
9520
9521         * text2.C (init): update counters after init
9522         (insertParagraph): no need to set counter on idividual paragraphs.
9523         (setCounter): access the counters object in the textclass object
9524         on in the buffer object.
9525         (updateCounters): ditto
9526
9527         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9528         shared_ptr<Counters> to avoid loading counters.h in all
9529         compilation units.
9530         (LyXTextClass): initialize ctrs_
9531         (TextClassTags): add TC_COUNTER, and ...
9532         (Read): use it here.
9533         (CounterTags): new tags
9534         (readCounter): new function
9535         (counters): new funtion
9536         (defaultLayoutName): return a const reference
9537
9538         * counters.C (Counters): remove contructor
9539         (newCounter): remove a couple of unneeded statements.
9540         (newCounter): simplify a bit.
9541         (numberLabel): some small formatting changes.
9542
9543         * buffer.[Ch]: remove all traces of counters, move the Counters
9544         object to the LyXTextClass.
9545
9546 2002-09-06  Alain Castera  <castera@in2p3.fr>
9547
9548         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9549         package to set the horizontal alignment on fixed width columns.
9550
9551         * lyx_sty.C:
9552         * lyx_sty.h: added tabularnewline macro def.
9553
9554         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9555
9556 2002-09-06  John Levon  <levon@movementarian.org>
9557
9558         * LyXAction.C: tooltips for sub/superscript
9559
9560         * MenuBackend.C: a bit more verbose
9561
9562         * lyxfunc.C: tiny clean
9563
9564         * undo_funcs.C: document undo_frozen
9565
9566 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * counters.C (Counters): add missing algorithm counter.
9569
9570         * text2.C (setCounter): lookup the counter with layouts latexname
9571         instead of by section number.
9572         (setCounter): use a hackish way to lookup the correct enum
9573         counter.
9574         a float name->type change
9575         reset enum couners with counter name directly instead of depth value.
9576
9577         * counters.C (Counters): remove the push_backs, change to use the
9578         float type not the float name.
9579         (labelItem): remove unused string, float name->type change
9580
9581         * counters.h: don't include vector, loose the enums and sects vectors
9582
9583 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9584
9585         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9586         (Read): add float->TC_FLOAT to textclassTags
9587         (Read): and handle it in the switch
9588         (readFloat): new function
9589
9590         * FloatList.C (FloatList): comment out the hardcoded float
9591         definitions.
9592
9593         * lyxlayout.h: ws change.
9594
9595 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9596
9597         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9598
9599 2002-09-03  Angus Leeming  <leeming@lyx.org>
9600
9601         * BufferView_pimpl.h: qualified name is not allowed in member
9602         declaration: WorkArea & Pimpl::workarea() const;
9603
9604         * factory.C: added using std::endl directive.
9605
9606         * text3.C: added using std::find and std::vector directives.
9607
9608 2002-08-29  André Pönitz <poenitz@gmx.net>
9609
9610         * lyxtext.h:
9611         * text2.C: remove unused member number_of_rows
9612
9613         * Makefile.am:
9614         * BufferView2.C: remove file, move contents to...
9615         * BufferView.C: ... here
9616
9617         * BufferView_pimpl.C:
9618         * factory.C: move more inset creation to factory
9619
9620         * vspace.C: avoid direct usage of LyXText, ws changes
9621
9622         * BufferView.[Ch]:
9623                 don't provide direct access to WorkArea, use two simple
9624                 acessors haveSelction() and workHeight() instead
9625
9626
9627 2002-08-29  John Levon  <levon@movementarian.org>
9628
9629         * BufferView_pimpl.C (dispatch): do not continue when
9630           no buffer
9631
9632 2002-08-28  André Pönitz <poenitz@gmx.net>
9633
9634         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9635
9636         * BufferView.h:
9637         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9638
9639 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9640
9641         * buffer.C: increment LYX_FORMAT to 221
9642
9643         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9644         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9645
9646         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9647
9648         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9649
9650 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * factory.C (createInset): use LyXTextClass::floats
9653
9654         * MenuBackend.C (expandFloatListInsert):
9655         (expandFloatInsert):
9656         (expandToc):
9657
9658         * text2.C (setCounter):
9659
9660         * LaTeXFeatures.C (useFloat):
9661         (getFloatDefinitions):
9662
9663         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9664
9665         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9666         floatlist_, with accessor floats().
9667
9668         * FloatList.h: remove global FloatList
9669
9670 2002-08-26  André Pönitz <poenitz@gmx.net>
9671
9672         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9673
9674         * BufferView.h:
9675         * BufferView2.C:
9676         * BufferView_pimpl.C:
9677         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9678
9679 2002-08-25  John Levon  <levon@movementarian.org>
9680
9681         * LyXAction.C: fix margin note description
9682
9683 2002-08-24  John Levon  <levon@movementarian.org>
9684
9685         * buffer.C:
9686         * bufferlist.C:
9687         * bufferview_funcs.C:
9688         * lyxfont.C:
9689         * undo_funcs.C: cleanups
9690
9691         * lyxfunc.C: disable CUT/COPY when no selection
9692
9693 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9694
9695         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9696         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9697
9698         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9699         Add backward compatibility to "mono", "gray" and "no".
9700
9701 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9702
9703         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9704         (and file_format >= 200).
9705
9706 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9709
9710 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9713
9714 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9715
9716         * BufferView_pimpl.C:
9717         * LyXAction.C:
9718         * buffer.C:
9719         * commandtags.h:
9720         * lyxfunc.C:
9721         * paragraph.[Ch]:
9722         * text2.C:
9723         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9724         inset and code to make it  work with the paragraph code. The inset
9725         can be anywhere in the paragraph, but will only do the expected
9726         thing in LaTeX if the layout file contains the parameter line
9727                         OptionalArgs    1
9728         (or more generally, a nonzero value) for that layout.
9729
9730 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * paragraph.h: remove the declaration of undefined counters class
9733         function.
9734
9735 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9736
9737         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9738         Dr. Richard Hawkins.
9739
9740 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9741
9742         * paragraph_funcs.h: remove some unneeded includes
9743
9744         * text.C (backspace): pasteParagraph now in global scipe
9745
9746         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9747         (pasteSelection): ditto
9748
9749         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9750         * paragraph_funcs.C (pasteParagraph): ... here
9751
9752 2002-08-20  André Pönitz <poenitz@gmx.net>
9753
9754         * commandtags.h: new LFUNs for swapping/copying table row/colums
9755
9756         * LyXAction.C:
9757         * lyxfunc.C: support for new lfuns
9758
9759 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * tabular.C:
9762         * buffer.[Ch]: remove NO_COMPABILITY stuff
9763
9764 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9765
9766         * boost.C (throw_exception): new file, with helper function for
9767         boost compiled without exceptions.
9768
9769         * paragraph.h:
9770         * lyxlength.C:
9771         * buffer.C:
9772         * ParameterStruct.h:
9773         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9774
9775         * bufferlist.C (emergencyWriteAll): use boost bind
9776
9777         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9778
9779         * text.C: include paragraph_funcs.h
9780         (breakParagraph): breakParagraph is now in global scope
9781
9782         * paragraph_funcs.[Ch]: new files
9783
9784         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9785         global scope
9786
9787         * buffer.C: include paragraph_funcs.h
9788         (insertStringAsLines): breakParagraph is now in global scope
9789
9790         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9791         paragraph_funcs.C
9792
9793         * CutAndPaste.C: include paragraph_funcs.h
9794         (cutSelection): breakParagraphConservative is now in global scope
9795         (pasteSelection): ditto
9796
9797         * buffer.h: declare oprator== and operator!= for
9798         Buffer::inset_iterator
9799
9800         * bufferlist.C (emergencyWrite): don't use fmt(...)
9801
9802         * text3.C: add using std::endl
9803
9804         * BufferView.C (moveCursorUpdate): remove default arg
9805
9806 2002-08-20  André Pönitz <poenitz@gmx.net>
9807
9808         * buffer.[Ch]: move inline functions to .C
9809
9810         * BufferView2.C:
9811         * BufferView_pimpl.C:
9812         * text.C:
9813         * buffer.[Ch]: use improved inset_iterator
9814
9815         * buffer.C:
9816         * paragraph.[Ch]: write one paragraph at a time
9817
9818 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9819
9820         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9821         style if style is not specified.
9822
9823 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * text2.C (setCounter): when searching for right label for a
9826         caption, make sure to recurse to parent insets (so that a caption
9827         in a minipage in a figure float works) (bug #568)
9828
9829 2002-08-20  André Pönitz <poenitz@gmx.net>
9830
9831         * text3.C: new file for LyXText::dispatch() and helpers
9832
9833         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9834
9835         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9836
9837 2002-08-19  André Pönitz <poenitz@gmx.net>
9838
9839         * lyxtext.h:
9840         * text.C: new LyXText::dispatch()
9841
9842         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9843
9844 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9845
9846         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9847
9848         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9849         Hebrew text.
9850
9851 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9852
9853         * Makefile.am: use $(variables) instead of @substitutions@
9854
9855 2002-08-15  André Pönitz <poenitz@gmx.net>
9856
9857         * lyxfunc.C:
9858         * BufferView_pimpl.C: streamlining mathed <-> outer world
9859         interaction
9860
9861         * commandtags.h:
9862         * LyXAction.C: remove unused LFUN_MATH
9863
9864 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9867
9868 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9869
9870         * paragraph.C (Paragraph): reformat a bit
9871         (cutIntoMinibuffer): use builtin InsetList function instad of
9872         doing it manually.
9873         (getInset): ditto
9874
9875         * buffer.C: include boost/bind.hpp, add using std::for_each
9876         (writeFileAscii): use ParagraphList iterators
9877         (validate): use for_each for validate traversal of paragraphs
9878         (getBibkeyList): use ParagraphList iterators
9879         (resizeInsets): use for_each to resizeInsetsLyXText for all
9880         paragraphs.
9881         (getParFromID): use ParagraphList iterators
9882
9883         * BufferView2.C (lockInset): use paragraph list and iterators
9884
9885 2002-08-14  John Levon  <levon@movementarian.org>
9886
9887         * lyxserver.C: remove spurious xforms include
9888
9889 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9890
9891         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9892
9893 2002-08-13  André Pönitz <poenitz@gmx.net>
9894
9895         * LyXAction.[Ch]:
9896         * lyxfunc.C: further cleaning
9897
9898 2002-08-13  André Pönitz <poenitz@gmx.net>
9899
9900         * funcrequest.h: new constructor
9901
9902         * funcrequest.C: move stuff here from .h
9903
9904         * Makefile.am:
9905         * BufferView_pimpl.C:
9906         * LyXAction.C:
9907         * toc.C:
9908         * lyxfunc.C: subsequent changes
9909
9910         * lyxfunc.h: new view() member function
9911
9912         * lyxfunc.C: subsequent changes
9913
9914 2002-08-13  Angus Leeming  <leeming@lyx.org>
9915
9916         * BufferView2.C:
9917         * BufferView_pimpl.C:
9918         * buffer.C:
9919         * converter.C:
9920         * importer.C:
9921         * lyxfunc.C:
9922         * lyxvc.C:
9923         * toc.C:
9924         * vc-backend.C:
9925         changes due to the changed LyXView interface that now returns references
9926         to member variables not pointers.
9927
9928 2002-08-13  Angus Leeming  <leeming@lyx.org>
9929
9930         * WordLangTuple (word, lang_code): return references to strings,
9931         not strings.
9932
9933         * BufferView.h:
9934         * SpellBase.h:
9935         * lyxtext.h: forward-declare WordLangTuple.
9936
9937         * BufferView2.C:
9938         * ispell.C:
9939         * pspell.C:
9940         * text.C: #include "WordLangTuple.h".
9941
9942         * lyxtext.h:
9943         * text.C: (selectNextWordToSpellcheck): constify return type.
9944
9945 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9946
9947         * buffer.C:
9948         * buffer.h:
9949         * lyxtext.h:
9950         * paragraph.C:
9951         * paragraph_pimpl.h:
9952         * text.C:
9953         * text2.C:
9954         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9955         suggested by Angus.
9956         Made updateCounter always count from start of buffer, and removed
9957         second argument (par).
9958         Reverted floats number display to '#'. Perhaps I'll try again when the
9959         code base is sanitized a bit.
9960
9961 2002-08-12  Angus Leeming  <leeming@lyx.org>
9962
9963         * buffer.[Ch] (getLabelList): constify.
9964
9965 2002-08-07  André Pönitz <poenitz@gmx.net>
9966
9967         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9968
9969         * funcrequest.h: extension to keep mouse (x,y) position
9970
9971 2002-08-12  Juergen Vigna  <jug@sad.it>
9972
9973         * BufferView2.C (insertErrors): forbid undo when inserting error
9974         insets.
9975
9976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9977
9978 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9979
9980         * ParagraphList.[Ch]: new files
9981
9982         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9983
9984         * BufferView2.C (lockInset): ParagraphList changes
9985         * toc.C: ditto
9986         * text2.C: ditto
9987         * bufferlist.C: ditto
9988         * buffer.h: ditto
9989         * buffer.C: ditto
9990
9991 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9992
9993         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9994         unused class variable counter_,
9995
9996         * paragraph.[Ch] (getFirstCounter): delete unused function
9997
9998         * counters.C: include LAssert.h
9999         (reset): add a new function with no arg, change other version to
10000         not have def. arg and to not allow empty arg.
10001
10002         * text2.C (setCounter): remove empty arg from call to Counters::reset
10003
10004 2002-08-11  John Levon  <levon@movementarian.org>
10005
10006         * Makefile.am: add WordLangTuple.h
10007
10008 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10009
10010         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10011         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10012
10013         * insets/insettext.C: InsetList changes
10014
10015         * graphics/GraphicsSupport.C (operator()): InsetList changes
10016
10017         * toc.C (getTocList): InsetList changes
10018
10019         * paragraph_pimpl.[Ch]: InsetList changes
10020
10021         * paragraph.[Ch]: InsetList changes
10022
10023         * buffer.C (inset_iterator): InsetList changes
10024         (setParagraph): ditto
10025         * buffer.h (inset_iterator): ditto
10026         * iterators.C (operator++): ditto
10027         * iterators.h: ditto
10028
10029         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10030
10031         * InsetList.[Ch]: new files, most InsetList handling moved out of
10032         paragraph.C.
10033
10034         * BufferView2.C (removeAutoInsets): InsetList changes
10035         (lockInset): ditto
10036         (ChangeInsets): ditto
10037
10038 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10039
10040         * paragraph_pimpl.h (empty): new function
10041
10042         * paragraph.[Ch] (empty): new function
10043
10044         * other files: use the new Paragraph::empty function
10045
10046 2002-08-09  John Levon  <levon@movementarian.org>
10047
10048         * lyxtext.h: remove unused refresh_height
10049
10050 2002-08-09  John Levon  <levon@movementarian.org>
10051
10052         * Makefile.am:
10053         * sgml.h:
10054         * sgml.C:
10055         * buffer.C:
10056         * paragraph.h:
10057         * paragraph.C: move sgml char escaping out of paragraph
10058
10059         * paragraph.h:
10060         * paragraph.C: remove id setter
10061
10062         * buffer.C:
10063         * paragraph.C:
10064         * paragraph_pimpl.C: remove dead tex_code_break_column
10065
10066         * bufferview_funcs.C: small cleanup
10067
10068         * lyxfunc.C: remove dead proto
10069
10070         * lyxtext.h: make some stuff private. Remove some dead stuff.
10071
10072         * lyxgluelength.C: make as[LyX]String() readable
10073
10074 2002-08-08  John Levon  <levon@movementarian.org>
10075
10076         * LyXAction.h:
10077         * LyXAction.C:
10078         * MenuBackend.C:
10079         * ToolbarDefaults.C:
10080         * lyxfunc.C:
10081         * lyxrc.C:
10082         * toc.C: lyxaction cleanup
10083
10084 2002-08-08  John Levon  <levon@movementarian.org>
10085
10086         * BufferView2.C: small cleanup
10087
10088         * lyxfind.h:
10089         * lyxfind.C: move unnecessary header into the .C
10090
10091 2002-08-08  John Levon  <levon@movementarian.org>
10092
10093         * funcrequest.h: just tedious nonsense
10094
10095         * lyx_main.h:
10096         * lyx_main.C: cleanups
10097
10098         * buffer.C:
10099         * vspace.C: remove dead header lyx_main.h
10100
10101 2002-08-07  Angus Leeming  <leeming@lyx.org>
10102
10103         * Paragraph.[Ch]:
10104         * paragraph_pimpl.h:
10105         Forward declare class Counters in paragraph.h by moving the ctrs member
10106         variable into Paragraph::Pimpl.
10107         (counters): new method, returning a reference to pimpl_->ctrs.
10108
10109         * text2.C: ensuing changes.
10110
10111 2002-08-07  John Levon  <levon@movementarian.org>
10112
10113         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10114
10115         * BufferView_pimpl.C: announce X selection on double/triple
10116           click
10117
10118         * lyx_main.C: use correct bool in batch dispatch
10119
10120         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10121
10122 2002-08-07  André Pönitz <poenitz@gmx.net>
10123
10124         * funcrequest.h: new class to wrap a kb_action and its argument
10125
10126         * BufferView.[Ch]:
10127         * BufferView_pimpl[Ch]:
10128         * LaTeX.C:
10129         * LyXAction.[Ch]:
10130         * lyxfunc.[Ch]:
10131         * lyxrc.C: subsequent changes
10132
10133
10134 2002-08-07  John Levon  <levon@movementarian.org>
10135
10136         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10137           document options change.
10138
10139 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10140
10141         * counters.[Ch]
10142         * text2.C
10143         * paragraph.[Ch]
10144         * makefile.am: move counters functionality over from
10145         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10146
10147 2002-08-06  John Levon  <levon@movementarian.org>
10148
10149         * WordLangTuple.h: new file for word + language code tuple
10150
10151         * SpellBase.h:
10152         * pspell.h:
10153         * pspell.C:
10154         * ispell.h:
10155         * ispell.C:
10156         * lyxtext.h:
10157         * text.C:
10158         * text2.C:
10159         * BufferView.h:
10160         * BufferView2.C: use WordLangTuple
10161
10162         * layout.h:
10163         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10164
10165 2002-08-06  John Levon  <levon@movementarian.org>
10166
10167         * lyx_main.C: fix cmdline batch handling
10168
10169 2002-08-06  André Pönitz <poenitz@gmx.net>
10170
10171         * lyxrc.C: set default for show_banner to true
10172
10173 2002-08-06  John Levon  <levon@movementarian.org>
10174
10175         * pspell.C: fix a crash, and allow new aspell to work
10176
10177 2002-08-06  John Levon  <levon@movementarian.org>
10178
10179         * lyxfunc.C:
10180         * kbmap.C: small cleanup
10181
10182         * vspace.h:
10183         * vspace.C: add const
10184
10185 2002-08-05  John Levon  <levon@movementarian.org>
10186
10187         * LyXAction.C: back to tabular-insert
10188
10189 2002-08-04  John Levon  <levon@movementarian.org>
10190
10191         * BufferView.h:
10192         * BufferView.C: cosmetic change
10193
10194         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10195
10196         * bufferlist.C:
10197         * buffer.h:
10198         * buffer.C:
10199         * lyxcb.h:
10200         * lyxcb.C:
10201         * lyxserver.C:
10202         * lyxvc.C:
10203         * vc-backend.C:
10204         * BufferView2.C: purge all "Lyx" not "LyX" strings
10205
10206         * lyxcursor.h:
10207         * lyxcursor.C: attempt to add some documentation
10208
10209         * lyxfunc.C:
10210         * commandtags.h:
10211         * LyXAction.C:
10212         * ToolbarDefaults.C:
10213         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10214           merge with LFUN_TABULAR_INSERT
10215
10216         * Makefile.am:
10217         * SpellBase.h:
10218         * ispell.h:
10219         * ispell.C:
10220         * pspell.h:
10221         * pspell.C: split up i/pspell implementations into separate
10222           files, many cleanups
10223
10224         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10225
10226         * text2.C: some cleanup
10227
10228         * lyxfunc.C: don't check for isp_command == "none" any more, it
10229           didn't make any sense
10230
10231 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10232
10233         * counters.[Ch]
10234         * text2.C
10235         * paragraph.[Ch]
10236         * makefile.am: move counters functionality over
10237         from text2.C/paragraph.[Ch] to counters.[Ch], and
10238         make proper C++.
10239 2002-08-02  John Levon  <levon@movementarian.org>
10240
10241         * buffer.C: s/lyxconvert/lyx2lyx/
10242
10243 2002-08-02  Angus Leeming  <leeming@lyx.org>
10244
10245         * lyxlex.C: revert John's change as it breaks reading of the user
10246         preamble.
10247
10248 2002-08-02  Angus Leeming  <leeming@lyx.org>
10249
10250         * importer.C (Import):
10251         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10252         changes due to LyXView::view() now returning a boost::shared_ptr.
10253
10254 2002-08-02  John Levon  <levon@movementarian.org>
10255
10256         * lyxlex.C: small cleanup
10257
10258 2002-08-02  John Levon  <levon@movementarian.org>
10259
10260         * text2.C (status): small cleanup, no logic change
10261
10262 2002-08-01  John Levon  <levon@movementarian.org>
10263
10264         * buffer.h:
10265         * buffer.C (writeFile): don't output alerts, caller
10266           handles this
10267
10268         * bufferlist.C:
10269         * lyx_cb.C: from above
10270
10271         * lyxfunc.C: allow to open non-existent files
10272
10273 2002-07-31  John Levon  <levon@movementarian.org>
10274
10275         * lyxserver.C: don't let incidental errors get
10276           in the way (errno)
10277
10278 2002-07-30  John Levon  <levon@movementarian.org>
10279
10280         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10281
10282 2002-07-30  John Levon  <levon@movementarian.org>
10283
10284         * lyxserver.h:
10285         * lyxserver.C: remove I/O callback too
10286
10287 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10290         log.
10291
10292 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10293
10294         * many files: strip,frontStrip -> trim,ltrim,rtrim
10295
10296 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10297
10298         * PrinterParams.h: remove extern containsOnly, and include
10299         support/lstrings.h instead.
10300
10301         * LaTeX.C (scanAuxFile): modify because of strip changes
10302         (deplog): ditto
10303         * buffer.C (makeLaTeXFile): ditto
10304         * bufferparams.C (writeFile): ditt
10305         * lyxfont.C (stateText): ditto
10306         * lyxserver.C (read_ready): ditto
10307         * vc-backend.C (scanMaster): ditto
10308
10309         * BufferView_pimpl.h: ws changes
10310
10311         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10312
10313 2002-07-26  André Pönitz <poenitz@gmx.net>
10314
10315         * kb_sequence.C: remove unnedred usings
10316
10317 2002-07-26  Juergen Vigna  <jug@sad.it>
10318
10319         * lyxfind.C (LyXReplace): we have to check better if the returned
10320         text is not of theLockingInset()->getLockingInset().
10321
10322 2002-07-25  Juergen Vigna  <jug@sad.it>
10323
10324         * lyxfind.C (LyXReplace): don't replace if we don't get the
10325         right LyXText.
10326
10327         * undo_funcs.C (createUndo): remove debugging code.
10328
10329 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10330
10331         * buffer.C (parseSingleLyXformat2Token): Use default placement
10332         when reading old floats.
10333
10334         * FloatList.C (FloatList): Change the default placement of figure
10335         and tables to "tbp".
10336
10337 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * MenuBackend.C: using std::max
10340
10341 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * MenuBackend.C (expandToc):
10344         (expandToc2): code moved from xforms menu frontend. It is now
10345         generic and TOCs are transparent to menu frontends.
10346
10347 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10348
10349         * toc.C (getTocList): protect against buf=0
10350
10351         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10352         Menu as first parameter. Now, this calls itself recursively to
10353         expand a whole tree (this will be useful for TOC handling)
10354         (expandFloatInsert): remove 'wide' version of floats
10355
10356         * MenuBackend.h (submenuname): returns the name of the submenu.
10357         (submenu): returns the submenu itself, provided it has been
10358         created by MenuBackend::expand
10359
10360 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10363         insets which have noFontChange == true. (bug #172)
10364
10365 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * BufferView_pimpl.C: add connection objects and use them...
10368         (Pimpl): here.
10369
10370 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * MenuBackend.C (expandLastfiles):
10373         (expandDocuments):
10374         (expandFormats):
10375         (expandFloatListInsert):
10376         (expandFloatInsert):
10377         (expand): split expand in parts
10378
10379 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * lyx_gui.C: use lyx_gui::exit()
10382
10383 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * LyXAction.C: show the failing pseudo action
10386
10387 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * buffer.C (readFile): Run the lyxconvert script in order to read
10390         old files.
10391
10392 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * LyXAction.C:
10395         * commandtags.h:
10396         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10397
10398 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10399
10400         * LyXAction.C:
10401         * commandtags.h:
10402         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10403
10404 2002-07-22  Herbert Voss  <voss@lyx.org>
10405
10406         * lengthcommon.C:
10407         * lyxlength.[Ch]: add support for the vertical lengths
10408
10409 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10410
10411         * toc.[Ch]: std:: fixes
10412
10413 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * lyxrc.C: do not include lyx_main.h
10416
10417         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10418         for layouts
10419
10420         * lyxrc.C:
10421         * encoding.C:
10422         * bufferlist.C:
10423         * BufferView2.C: include "lyxlex.h"
10424
10425         * tabular.h:
10426         * bufferparams.h: do not #include "lyxlex.h"
10427
10428         * lyxtextclasslist.C (Add): remove method
10429         (classlist): renamed to classlist_
10430
10431         * paragraph_pimpl.C:
10432         * paragraph.C:
10433         * text2.C:
10434         * CutAndPaste.C:
10435         * bufferview_funcs.C:
10436         * bufferlist.C:
10437         * text.C:
10438         * LaTeXFeatures.C:
10439         * buffer.C:
10440         * toc.C (getTocList): use BufferParams::getLyXTextClass
10441
10442         * toc.C (getTocList): use InsetFloat::addToToc
10443
10444         * toc.[Ch]: new files, containing helper functions to handle table
10445         of contents
10446
10447         * lyxfunc.C (dispatch): no need to remove spaces around command
10448         given as a string
10449         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10450         first command of the sequence; it is not very clever, but I do not
10451         have a better idea, actually
10452
10453         * LyXAction.C (LookupFunc): make sure to remove space at the
10454         beginning and end of the command
10455
10456 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * MenuBackend.C (getMenubar): new method: return the menubar of
10459         this menu set
10460         (read): treat differently reading of menu and menubar (in
10461         particular, the menubar has no name now)
10462         (Menu::menubar): remove
10463
10464         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10465         saving is finished
10466
10467 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10468
10469         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10470         a bibitem inset in a RTL paragraph.
10471
10472 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * paragraph_pimpl.C: constify
10475
10476         * BufferView_pimpl.C:
10477         * LaTeX.C:
10478         * lyxfunc.C: fix dispatch in a nicer way
10479
10480 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10481
10482         * lyxfunc.C (dispatch):
10483         * BufferView_pimpl.C:
10484         * BufferView_pimpl.h:
10485         * BufferView.C:
10486         * BufferView.h: rename Dispatch() to dispatch()
10487
10488         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10489
10490         * lyxlayout.C (Read): honor DependsOn tag
10491
10492         * lyxlayout.[Ch] (depends_on): new method
10493
10494         * version.C.in: update lyx_docversion
10495
10496         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10497
10498         * paragraph.C (validate): remove from here...
10499         * paragraph_pimpl.C (validate): ... and move here
10500         (isTextAt): make it const
10501
10502         * buffer.C (getLists): ws cleanup
10503
10504 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * language.C (read): Use iso8859-1 encoding in latex_lang
10507         (this prevents LyX from crashing when using iso10646-1 encoding).
10508
10509 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * text2.C (toggleInset): if cursor is inside an inset, close the
10512         inset and leave cursor _after_ it
10513
10514 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * lyxfunc.C: move minibuffer completion handling out of here
10517
10518 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * BufferView_pimpl.C:
10521         * LaTeX.C: fix dispatch calls
10522
10523 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * text.C (drawChars): Fix Arabic text rendering.
10526
10527 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * LyXAction.C:
10530         * commandtags.h:
10531         * lyxfunc.C: remove message-push/pop
10532
10533         * lyxserver.C:
10534         * lyxfunc.h:
10535         * lyxfunc.C: rationalise some code by removing verboseDispatch
10536           in favour of a bool argument to dispatch()
10537
10538 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10539
10540         * lyx_main.C (init): make sure to read symlinks as absolute paths
10541
10542 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * lyxfunc.h:
10545         * lyxfunc.C: no need for commandshortcut to be a member
10546
10547 2002-07-15  André Pönitz <poenitz@gmx.net>
10548
10549         * converter.C: add support for $$s (scripts from lib/scripts dir)
10550         * lyx_main.C: white space
10551
10552 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * bufferlist.C:
10555         * lyxrc.h:
10556         * lyxrc.C: remove second exit confirmation
10557
10558 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * BufferView.h:
10561         * BufferView.C:
10562         * BufferView2.C:
10563         * BufferView_pimpl.h:
10564         * BufferView_pimpl.C:
10565         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10566
10567 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * MenuBackend.C (expand): add numeric shortcuts to document menu
10570
10571         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10572
10573 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * lyxfont.C (setLyXFamily):
10576         (setLyXSeries):
10577         (setLyXShape):
10578         (setLyXSize):
10579         (setLyXMisc):
10580         (lyxRead):
10581         * debug.C (value):
10582         * buffer.C (asciiParagraph): use ascii_lowercase
10583
10584 2002-07-15  Mike Fabian  <mfabian@suse.de>
10585
10586         * lyxlex_pimpl.C (search_kw):
10587         * lyxlex.C (getLongString):
10588         * converter.h (operator<):
10589         * converter.C (operator<):
10590         * buffer.C (parseSingleLyXformat2Token):
10591         (asciiParagraph):
10592         * ToolbarDefaults.C (read):
10593         * MenuBackend.C (checkShortcuts):
10594         (read):
10595         * LColor.C (getFromGUIName):
10596         (getFromLyXName): use the compare_ascii_no_case instead of
10597         compare_no_case, because in turkish, 'i' is not the lowercase
10598         version of 'I', and thus turkish locale breaks parsing of tags.
10599
10600 2002-07-16  Angus Leeming  <leeming@lyx.org>
10601
10602         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10603         now takes a Buffer const & argument.
10604
10605 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * BufferView.C (resize): check there's a buffer to resize
10608
10609 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * lyxfunc.C: remove dead code
10612
10613         * lyxserver.h:
10614         * lyxserver.C: use lyx_guii::set_read_callback
10615
10616 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10619         an inset in a RTL paragraph.
10620
10621 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * lyxfunc.C: repaint after a font size update
10624
10625 2002-07-15  André Pönitz <poenitz@gmx.net>
10626
10627         * lyxlength.C: inBP should be able to return negative values
10628
10629 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * lyxfunc.C: use lyx_gui::update_fonts()
10632
10633 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10634
10635         * lyxfunc.C: use lyx_gui::update_color()
10636
10637 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * bufferlist.C:
10640         * lyxfunc.h:
10641         * lyxfunc.C:
10642         * lyxrc.h:
10643         * lyxrc.C: remove file->new asks for name option, and let
10644           buffer-new take an argument
10645
10646 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * BufferView_pimpl.C: remove unneeded extra repaint()
10649
10650 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * LyXAction.C: allow command-sequence with NoBuffer
10653
10654         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10655
10656 2002-07-10  Angus Leeming  <leeming@lyx.org>
10657
10658         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10659
10660 2002-07-09  Angus Leeming  <leeming@lyx.org>
10661
10662         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10663
10664 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * lengthcommon.h: whitespace
10667
10668         * lyxfunc.C: update scrollbar after goto paragraph
10669
10670         * lyxtext.h: factor out page break drawing, and fix it so
10671           page break/added space paints as selected nicely
10672
10673 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * BufferView_pimpl.C: add FIXMEs, clean up a little
10676
10677 2002-07-09  André Pönitz <poenitz@gmx.net>
10678
10679         * lyxfont.[Ch]: support for wasy symbols
10680
10681 2002-07-08  André Pönitz <poenitz@gmx.net>
10682
10683         * BufferView_pimpl.C: apply John's patch for #93.
10684
10685 2002-07-05  Angus Leeming  <leeming@lyx.org>
10686
10687         * BufferView_pimpl.C (buffer): generate previews if desired.
10688
10689         * LColor.h: add "preview" to the color enum.
10690
10691         * LColor.C (LColor): add a corresponding entry to the items array.
10692
10693         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10694         with this buffer.
10695
10696 2002-07-05  Angus Leeming  <leeming@lyx.org>
10697
10698         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10699         The body of the code is now in the method that is passed an ostream &
10700         rather than a file name.
10701         Pass an additional only_preamble parameter, useful for the forthcoming
10702         preview stuff.
10703
10704 2002-07-03  André Pönitz <poenitz@gmx.net>
10705
10706         * lyxfunc.C: simplify getStatus() a bit for math stuff
10707
10708 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10711
10712 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10713
10714         * text.C (changeRegionCase): do not change case of all the
10715         document when region ends at paragraph end (bug #461)
10716
10717 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10718
10719         * paragraph.C (startTeXParParams):
10720         (endTeXParParams): add \protect when necessary
10721
10722 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * BufferView_pimpl.C (workAreaExpose): remove warning
10725
10726 2002-06-27  Angus Leeming  <leeming@lyx.org>
10727
10728         * Makefile.am: add lyxlayout_ptr_fwd.h.
10729
10730 2002-06-26  André Pönitz <poenitz@gmx.net>
10731
10732         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10733
10734 2002-06-25  Angus Leeming  <leeming@lyx.org>
10735
10736         * lyxfunc.C (dispatch): Comment out the call to
10737         grfx::GCache::changeDisplay. The method no longer exists now that the
10738         pixmap generation part of the graphics loader has been moved into
10739         InsetGraphics.
10740
10741 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10742
10743         * text2.C: layout as layout
10744
10745         * text.C: layout as layout
10746
10747         * tabular.C (OldFormatRead): layout as layout
10748
10749         * paragraph_pimpl.C (TeXDeeper): layout as layout
10750         (realizeFont): layout as layout
10751
10752         * paragraph.C (writeFile): layout as layout
10753         (validate): layout as layout
10754         (getFont): layout as layout
10755         (getLabelFont): layout as layout
10756         (getLayoutFont): layout as layout
10757         (breakParagraph): layout as layout
10758         (stripLeadingSpaces): layout as layout
10759         (getEndLabel): layout as layout
10760         (getMaxDepthAfter): layout as layout
10761         (applyLayout): layout as layout
10762         (TeXOnePar): layout as layout
10763         (simpleTeXOnePar): layout as layout
10764         (TeXEnvironment): layout as layout
10765         (layout): layout as layout
10766         (layout): layout as layout
10767
10768         * lyxtextclass.C (compare_name): new functor to work with
10769         shared_ptr, layout as layout
10770         (Read): layout as layout
10771         (hasLayout): layout as layout
10772         (operator): layout as layout
10773         (delete_layout): layout as layout
10774         (defaultLayout): layout as layout
10775
10776         * lyxlayout_ptr_fwd.h: new file
10777
10778         * lyxlayout.C (Read): layout as layout
10779
10780         * lyx_cb.C (MenuInsertLabel): layout as layout
10781
10782         * bufferlist.C (newFile): layout as layout
10783
10784         * buffer.C (readLyXformat2): layout as layout
10785         (parseSingleLyXformat2Token): layout as layout
10786         (insertStringAsLines): layout as layout
10787         (asciiParagraph): layout as layout
10788         (latexParagraphs): layout as layout
10789         (makeLinuxDocFile): layout as layout
10790         (simpleLinuxDocOnePar): layout as layout
10791         (makeDocBookFile): layout as layout
10792         (simpleDocBookOnePar): layout as layout
10793         (getLists): layout as layout
10794
10795         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10796
10797         * CutAndPaste.C (cutSelection): layout as layout
10798         (pasteSelection): layout as layout
10799         (SwitchLayoutsBetweenClasses): layout as layout
10800
10801         * BufferView_pimpl.C (Dispatch): layout as layout
10802         (smartQuote): layout as layout
10803
10804         * BufferView2.C (unlockInset): layout as layout
10805
10806 2002-06-24  André Pönitz <poenitz@gmx.net>
10807
10808         * lyxfunc.C: fix #487
10809
10810 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10811
10812         * lyxrc.h:
10813         * lyxrc.C:
10814         * lyxfunc.C: remove display_shortcuts, show_banner
10815
10816 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10817
10818         * Buffer_pimpl.C: oops, update on resize
10819
10820 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * buffer.C:
10823         * converter.C:
10824         * exporter.C:
10825         * lyxfunc.C:
10826         * BufferView.h:
10827         * BufferView.C: use repaint()
10828
10829         * BufferView_pimpl.h:
10830         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10831           as it's a clearer description. Remove superfluous
10832           redraws.
10833
10834 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * text.C: fix bug 488. Not ideal, but getting
10837           getWord() to work properly for the insets that
10838           matter is more difficult ...
10839
10840 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10841
10842         * BufferView_pimpl.C:
10843         * LyXAction.C:
10844         * commandtags.h:
10845         * lyxfunc.C: remove the six million index lyxfuncs to just
10846           one, and DTRT (bug 458)
10847
10848 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * BufferView.h:
10851         * BufferView.C:
10852         * BufferView_pimpl.h:
10853         * BufferView_pimpl.C: clean up resize() stuff,
10854           and unnecessary updateScreen()s
10855
10856 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * BufferView.h:
10859         * BufferView.C:
10860         * BufferView_pimpl.h:
10861         * BufferView_pimpl.C:
10862         * lyxfind.h:
10863         * lyxfind.C:
10864         * minibuffer.C: remove focus management of workarea,
10865           not needed. Use screen's greyOut()
10866
10867 2002-06-17  Herbert Voss  <voss@lyx.org>
10868
10869         * converter.C: (convert) do not post a message, when converting
10870         fails, let the calling function decide what to do in this case
10871
10872 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * lyxfunc.C: tidy up a little
10875
10876 2002-06-16    <alstrup@diku.dk>
10877
10878         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10879         Got rid of FORMS_H_LOCATION include. Now we are
10880         GUII.
10881
10882 2002-06-15  LyX Development team  <lyx@rilke>
10883
10884         * buffer.[Ch] (sgmlOpenTag):
10885         (sgmlCloseTag): Added support for avoiding pernicious mixed
10886         content. Return number of lines written.
10887
10888         (makeLinuxDocFile):
10889         (makeDocBookFile): Fixed calls to sgml*Tag.
10890         Simple white space clean.
10891
10892         (simpleDocBookOnePar): Simple white space clean.
10893
10894         * tabular.[Ch] (docBook): Renamed to docbook and got another
10895         argument to related with the pernicious mixed content.
10896
10897         (docbookRow): Fixed calls for docbook inset method.
10898
10899 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10900
10901         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10902         so it's X11 independent.
10903
10904         * kb*.[Ch]: ditto.
10905
10906         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10907
10908 2002-06-15  Lyx Development team  <lyx@electronia>
10909
10910         * intl.h: Renamed getTrans to getTransManager.
10911
10912 2002-06-14  Angus Leeming  <leeming@lyx.org>
10913
10914         * Makefile.am: nuke forgotten stl_string_fwd.h.
10915
10916 2002-06-12  Angus Leeming  <leeming@lyx.org>
10917
10918         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10919
10920 2002-06-13  Angus Leeming  <leeming@lyx.org>
10921
10922         * LaTeX.C:
10923         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10924
10925 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10926
10927         * kbmap.C (getiso): add support for cyrillic and greek
10928
10929 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * BufferView.h:
10932         * BufferView.C:
10933         * BufferView_pimpl.h:
10934         * BufferView_pimpl.C: move bogus scrolling logic
10935           to xforms
10936
10937 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * lyxfunc.C:
10940         * BufferView_pimpl.C: view->resize() change
10941
10942 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * BufferView_pimpl.C: topCursorVisible
10945           prototype change
10946
10947 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * Makefile.am:
10950         * lyx_gui.h:
10951         * lyx_gui.C: move to frontends/
10952
10953         * main.C:
10954         * lyx_main.h:
10955         * lyx_main.C: changes from above
10956
10957 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * intl.C:
10960         * intl.h:
10961         * kbmap.C:
10962         * kbsequence.C:
10963         * lyx_cb.C:
10964         * lyx_main.C: minor tidy
10965
10966 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * BufferView_pimpl.h:
10969         * BufferView_pimpl.C:
10970         * BufferView.h:
10971         * BufferView.C: make painter() const,
10972           remove dead code
10973
10974         * BufferView2.C: use screen() accessor
10975
10976         * lyx_main.h:
10977         * lyx_main.C: some minor cleanup
10978
10979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * BufferView_pimpl.h:
10982         * BufferView_pimpl.C: remove enter/leaveView,
10983           use workHeight()
10984
10985 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * BufferView.h:
10988         * BufferView.C:
10989         * BufferView2.C:
10990         * BufferView_pimpl.h:
10991         * BufferView_pimpl.C: only construct screen once,
10992           rename
10993
10994         * lyxrc.C: remove pointless comment
10995
10996 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10997
10998         * BufferView.h:
10999         * BufferView.C: remove active() and belowMouse()
11000
11001         * BufferView_pimpl.h:
11002         * BufferView_pimpl.C: use workarea() not workarea_,
11003           and make it use a scoped_ptr instead
11004
11005 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * lyx_gui.C: add debug message on BadWindow
11008
11009 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11010
11011         * sp_spell.C: fdopen is not part of the C++ standard.
11012
11013         * paragraph.C (InsetIterator): use >= instead of ==
11014
11015 2002-06-07  Angus Leeming  <leeming@lyx.org>
11016
11017         Fixes needed to compile with Compaq cxx 6.5.
11018         * BufferView_pimpl.C:
11019         * DepTable.C:
11020         * buffer.C:
11021         * converter.C:
11022         * encoding.C:
11023         * lyx_gui.C:
11024         * lyx_main.C:
11025         * lyxtextclasslist.C:
11026         * minibuffer.C:
11027         * sp_spell.C:
11028         * tabular_funcs.C:
11029         * vc-backend.C:
11030         all c-library variables have been moved into namespace std. Wrap
11031         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11032
11033         * lyxlength.C:
11034         * tabular-old.C:
11035         * tabular.C:
11036         Add a using std::abs declaration.
11037
11038         * kbmap.h (modifier_pair):
11039         * paragraph.h (InsetTable, InsetList):
11040         * lyxfont.h (FontBits):
11041         type definition made public.
11042
11043         * bufferlist.C (emergencyWriteAll): the compiler complains that
11044         there is more than one possible lyx::class_fun template to choose from.
11045         I re-named the void specialisation as lyx::void_class_fun.
11046
11047         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11048
11049         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11050         the compiler is is unable to find tostr in write_attribute.
11051
11052 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11053
11054         * buffer.C (sgmlError): hide #warning
11055
11056 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * xtl/*: get rid of xtl, which is not in use anyway
11059
11060         * LyXAction.C (init):
11061         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11062         were unimplemented xtl experimentation
11063
11064 2002-06-04  André Pönitz <poenitz@gmx.net>
11065
11066         * lyxfunc.C: disable array operation on simple formulae
11067
11068 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * converter.C: constify a bit
11071
11072 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * lyx_gui.C: check xforms version correctly
11075
11076 2002-04-30  Herbert Voss  <voss@lyx.org>
11077
11078         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11079         "keep" option
11080
11081 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11082
11083         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11084           attempt to register it with a VCS)
11085
11086 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * lyx_main.C (init): honor variables LYX_DIR_13x and
11089         LYX_USERDIR_13x
11090
11091 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11092
11093         * buffer.h:
11094         * buffer.C:
11095         * lyx_main.C: fix a crash on bad command line,
11096           and give a useful exit status on error
11097
11098         * lyxfunc.C (doImport): allow -i lyx to work
11099
11100 2002-03-30  André Pönitz <poenitz@gmx.net>
11101
11102         * lyxfunc.C: mathed font changes
11103
11104 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * LaTeX.C:
11107         * importer.h:
11108         * importer.C:
11109         * lyx_sty.h:
11110         * lyx_sty.C:
11111         * lyxlex.C:
11112         * lyxrow.h:
11113         * lyxtext.h:
11114         * paragraph.h:
11115         * paragraph.C:
11116         * texrow.h:
11117         * texrow.C:
11118         * text.C:
11119         * trans_mgr.h: srcdocs, and some minor cleanups
11120
11121 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11124         call getFont all the time)
11125
11126 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * switch from SigC signals to boost::signals
11129
11130 2002-05-29  André Pönitz <poenitz@gmx.net>
11131
11132         * paragraph_pimpl.C (getChar): don't call size() too often...
11133
11134 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * paragraph_pimpl.C (insertChar): do not try to update tables when
11137         appending (pos == size())
11138
11139         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11140         in order to reduce drastically the number of comparisons needed to
11141         parse a large document
11142
11143 2002-05-29  André Pönitz <poenitz@gmx.net>
11144
11145         * text.C:
11146         * text2.C:
11147         * lyxtextclass.C:
11148         * sp_pspell.h:
11149         * textclasslist.[Ch]:
11150         * sp_ispell.h: whitespace change
11151
11152 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11155         lyxaction directly now.
11156
11157 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * trans.C:
11160         * lyxfont.C:
11161         * lyxvc.C: remove unused headers
11162
11163 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * Makefile.am:
11166         * buffer.h:
11167         * undostack.h:
11168         * undostack.C:
11169         * undo_funcs.h:
11170         * undo_funcs.C: some cleanups. Use shared_ptr
11171           and a template for the undo stacks.
11172
11173 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * BufferView_pimpl.h:
11176         * BufferView_pimpl.C:
11177         * kbmap.h:
11178         * kbmap.C:
11179         * kbsequence.h:
11180         * kbsequence.C:
11181         * lyxfunc.h:
11182         * lyxfunc.C:
11183         * text2.C: use key_state/mouse_state
11184
11185 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11186
11187         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11188         and LSubstring
11189
11190         * chset.C: change include order
11191         (loadFile): use boost regex and get rid of LRegex and LSubstring
11192
11193         * Makefile.am (BOOST_LIBS): new variable
11194         (lyx_LDADD): use it
11195
11196         * LaTeX.C: change include order.
11197         (scanAuxFile): use boost regex and get rid of LRegex and
11198         LSubstring
11199         (deplog): ditto
11200
11201 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * ColorHandler.h:
11204         * ColorHandler.C:
11205         * FontInfo.h:
11206         * FontInfo.C: moved to frontends/xforms/
11207
11208         * FontLoader.h:
11209         * FontLoader.C: moved into frontends for GUIIzation
11210
11211         * Makefile.am:
11212         * lyx_gui.C:
11213         * lyxfont.C:
11214         * lyxfunc.C: changes from above
11215
11216 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * LColor.C: remove spurious X include
11219
11220         * BufferView_pimpl.C:
11221         * Makefile.am:
11222         * font.h:
11223         * font.C:
11224         * text.C:
11225         * text2.C: move font metrics to frontends/
11226
11227 2002-05-24  Juergen Vigna  <jug@sad.it>
11228
11229         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11230         setting the undo_cursor.
11231
11232         * ParagraphParameters.h: include local includes first.
11233
11234 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * BufferView_pimpl.C:
11237         * BufferView_pimpl.h:
11238         * Makefile.am:
11239         * WorkArea.h:
11240         * WorkArea.C:
11241         * screen.C: move WorkArea into frontends/
11242
11243         * lyxscreen.h:
11244         * screen.C:
11245         * text.C:
11246         * BufferView.C:
11247         * BufferView2.C: move LyXScreen into frontends/
11248
11249         * lyxlookup.h:
11250         * lyxlookup.C:
11251         * lyx_gui.C: move lyxlookup into frontends/xforms/
11252
11253 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * BufferView2.C:
11256         * BufferView_pimpl.C:
11257         * FontLoader.C:
11258         * LyXView.h:
11259         * LyXView.C:
11260         * Makefile.am:
11261         * WorkArea.C:
11262         * XFormsView.h:
11263         * XFormsView.C:
11264         * buffer.C:
11265         * bufferlist.C:
11266         * bufferview_funcs.C:
11267         * converter.C:
11268         * importer.C:
11269         * lyx_cb.C:
11270         * lyx_gui.C:
11271         * lyx_main.C:
11272         * lyx_find.C:
11273         * lyxfunc.C:
11274         * lyxvc.C:
11275         * minibuffer.C:
11276         * text.C:
11277         * text2.C:
11278         * trans.C:
11279         * vc-backend.C: move LyX/XFormsView into frontends/
11280
11281 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * Makefile.am:
11284         * PainterBase.C:
11285         * PainterBase.h:
11286         * Painter.C:
11287         * Painter.h:
11288         * WorkArea.C:
11289         * WorkArea.h:
11290         * screen.C:
11291         * tabular.C:
11292         * text.C:
11293         * text2.C: move Painter to frontends/
11294
11295 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * buffer.C: comment out some some code that depend upon lyx_format
11298         < 220
11299
11300         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11301         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11302
11303         * buffer.h (NO_COMPABILITY): turn off compability
11304
11305         * ColorHandler.C: include scoped_array.hpp
11306
11307         * font.C: Use more specific smart_ptr header.
11308         * Painter.C: ditto
11309         * gettext.C: ditto
11310         * ShareContainer.h: ditto
11311         * lyx_main.h: ditto
11312         * kbmap.h: ditto
11313         * FontInfo.h: ditto
11314         * BufferView_pimpl.h: ditto
11315         * ColorHandler.h: ditto
11316
11317         * kbmap.C (defkey): change call to shared_ptr::reset
11318
11319 2002-05-21  Juergen Vigna  <jug@sad.it>
11320
11321         * buffer.C (insertErtContents): fix to insert ert asis if it is
11322         non empty. Skip it completely if it contains only whitespaces.
11323
11324 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * BufferView_pimpl.C:
11327         * BufferView2.C: clear selection on paste (bug 393)
11328
11329 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * DepTable.C: include ctime
11332
11333 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11334
11335         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11336
11337 2002-05-14  Juergen Vigna  <jug@sad.it>
11338
11339         * text.C (breakParagraph): fixed function to honor the keepempty
11340         layout in the right maner and also to permit the right breaking
11341         algorithm on empty or non empyt keepempty paragraphs.
11342
11343         * paragraph.C (breakParagraph): we have to check also if the par
11344         is really empty (!size()) for isempty otherwise we do the wrong
11345         paragraph break.
11346
11347 2002-05-10  Juergen Vigna  <jug@sad.it>
11348
11349         * buffer.[Ch] : The following are only changes to the ert
11350         compatibility read reading old LaTeX layout and font stuff and
11351         convert it to ERTInsets.
11352
11353         * buffer.h: added isErtInset().
11354
11355         * buffer.C (struct ErtComp): add a fromlayout bool to check
11356         if we're inside a LaTeX layout.
11357         (isErtInset): new helper function.
11358         (insertErtContents): look for other ert insets before this one
11359         and insert the contents there, so that we don't have subsequent
11360         ERT insets with nothing between them. This way we create only one
11361         inset with multiple paragraphs. Also check if we don't insert only
11362         spaces ' ' as they are ignored anyway afterwards in the .tex file
11363         so if we have only spaces we will ignore this latex part in the
11364         new file.
11365         (parseSingleLyXformat2Token \\layout): better compatibility when
11366         reading layout-latex stuff.
11367         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11368         language tag.
11369         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11370         stuff after reading the inset only get the information back from
11371         the stack.
11372
11373 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11374
11375         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11376
11377         * LaTeXFeatures.C (getBabelOptions): New method.
11378
11379 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11380
11381         * BufferView_pimpl.C (Dispatch): work around missing argument for
11382         'layout'
11383
11384 2002-05-08  Juergen Vigna  <jug@sad.it>
11385
11386         * text.C (leftMargin): handle paragraph leftindent.
11387
11388         * paragraph.C (writeFile): write the new \\leftindent tag.
11389         (validate): handle leftindent code.
11390         (TeXEnvironment): handle paragraphleftindent code again.
11391
11392         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11393
11394         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11395         for paragrap_extra indent code and new token \\leftindent.
11396         (latexParagraphs): handle the leftindent as environment.
11397
11398         * ParameterStruct.h: added leftindent support.
11399
11400         * ParagraphParameters.C (leftIndent): added support functions for
11401         the paragraph left indent.
11402
11403         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11404         more appropriate.
11405
11406 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11407
11408         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11409         inside insetERT.
11410
11411         * text.C (computeBidiTables): No bidi in insetERT.
11412
11413         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11414         in RTL documents.
11415
11416 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * version.C.in: pre 5
11419
11420 2002-05-02  José Matos  <jamatos@fep.up.pt>
11421         * buffer.C (makeDocBookFile): white space changes, add newline to
11422         command styles.
11423         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11424
11425         * tabular.C (docBook): fix typo.
11426
11427 2002-05-03  Juergen Vigna  <jug@sad.it>
11428
11429         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11430         change in LyXText as we can not be sure it was not freed.
11431         (drawOneRow): remove unused code.
11432
11433         * text.C (drawInset): redo the calculation of the need_break_row as
11434         it could have a row which was already freed.
11435         (draw): look at the return value of drawInset and return false if
11436         it also returned false.
11437         (paintRowText): look at the return value of draw and return false if
11438         it also returned false.
11439
11440         * lyxtext.h: added bool return type to drawInset() and draw() so that
11441         if we have a change in the row so that the rowbreak has to be redone
11442         we abort drawing as it will be called again.
11443
11444 2002-05-02  Juergen Vigna  <jug@sad.it>
11445
11446         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11447         a change in the maintext also if we're inside an inset.
11448         (Dispatch): set the cursor again after a break line and after the
11449         screen has been updated as it could be we're in a different row.
11450
11451         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11452         to set the cursor behind the pargraph with > size().
11453         (setCursor): check also for the same paragraph when checking where
11454         to put the cursor if we have a NFR inset.
11455
11456         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11457         parts of layout read further up as it still was in the wrong
11458         position.
11459
11460 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * screen.C (drawFromTo): change sine fullRebreak always return
11463         true.
11464
11465         * buffer.C (parseSingleLyXformat2Token): reindent some
11466
11467         * BufferView_pimpl.C (update): change since fullRebreak always
11468         return true.
11469         (Dispatch): git rid of the last hardcoded "Standard"s.
11470
11471 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * text2.[Ch] (fullRebreak): make it return void now that we always
11474         returned true.
11475
11476 2002-04-30  Juergen Vigna  <jug@sad.it>
11477
11478         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11479         ert compatibility check for "latex" layout.
11480
11481 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11482
11483         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11484         minipages: use col% instead of p%, and also use the current font.
11485         (makeLaTeXFile): Fix use babel condition.
11486         (parseSingleLyXformat2Token): Correct font when reading old floats.
11487
11488 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11489
11490         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11491         inserting list of floats.
11492
11493 2002-04-25  Herbert Voss  <voss@lyx.org>
11494
11495         * MenuBackend.C (expand): don't add the graphics extensions to the
11496         export menu
11497
11498 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11501         non-existing layout, do not complain if it was the default layout
11502         of the original class (bug #342)
11503
11504 2002-04-24  Juergen Vigna  <jug@sad.it>
11505
11506         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11507         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11508
11509 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11510
11511         * buffer.C (getBibkeyList): If using \bibliography, return the
11512         option field with the reference itself. Enables us to provide natbib
11513         support when using \bibliography.
11514
11515 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11516
11517         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11518
11519         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11520         natbib is provided by the LaTeX class.
11521
11522 2002-04-23  Juergen Vigna  <jug@sad.it>
11523
11524         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11525         Wakeup functions.
11526
11527         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11528
11529 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11532
11533         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11534         ensuremath around textordmasculine, textordfeminine and
11535         textdegree.
11536
11537 2002-04-19  Juergen Vigna  <jug@sad.it>
11538
11539         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11540         reinitializing the buffer otherwise row-dimensions may be wrong.
11541         (update): reset also the selection cursors if they do exits otherwise
11542         their x/y positions may be wrong.
11543
11544         * text2.C (cursorDown): don't enter the inset if we came from a row
11545         above and are one row over the inset.
11546
11547         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11548         really leaving an inset.
11549
11550 2002-04-18  Juergen Vigna  <jug@sad.it>
11551
11552         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11553         of the selected paragraph does not have the selected layout also if
11554         the last one had!
11555
11556         * text2.C (setLayout): fixed bug which did not change last selected
11557         paragraph.
11558
11559         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11560         changed the read and substituted \\end_float with \\end_inset!
11561
11562         * BufferView_pimpl.C (cursorPrevious):
11563         (cursorNext): fixed to make it work with rows heigher than the work
11564         area without moving the cursor only the draw of the row.
11565         (workAreaMotionNotify): fix jumping over high rows.
11566
11567 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11570         Ressler.
11571
11572 2002-04-16  Juergen Vigna  <jug@sad.it>
11573
11574         * text2.C (setCursor): set also the irow().
11575         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11576         (cursorUp):
11577         (cursorDown): support for locking an inset if the x_fix value goes
11578         inside it. That way I can transverse insets too with cursor up/down.
11579
11580         * lyxrow.h: added irow helper function same as other (i) functions.
11581
11582         * BufferView_pimpl.C (cursorPrevious):
11583         (cursorNext): fixed for insets!
11584
11585 2002-04-15  Juergen Vigna  <jug@sad.it>
11586
11587         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11588         position otherwise it is wrong in some cases.
11589
11590         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11591         inside the inset before the call.
11592
11593 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * buffer.[Ch] (getBibkeyList): make it const.
11596
11597 2002-04-12  Juergen Vigna  <jug@sad.it>
11598
11599         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11600
11601         * text2.C (getCursorX): new helper function
11602         (setCursor): compute also ix_
11603         (setCursorFromCoordinates): set also ix.
11604
11605         * lyxcursor.h: added ix_ and helper functions.
11606
11607         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11608
11609         * buffer.C (insertStringAsLines): dont break paragraph if the this
11610         paragraph is inside an inset which does not permit it!
11611
11612         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11613         also with no chars on this paragraph.
11614         (paintRowText): only paint stuff if it's inside the workarea!
11615
11616         * paragraph.C (breakParagraph): honor keepempty flag and break the
11617         paragraph always below not above.
11618
11619         * BufferView2.C (unlockInset): update the paragraph layout on inset
11620         unlock as we changed paragraph in such a case.
11621
11622         * lyxfind.C (LyXFind): clear the former selection if not found!
11623
11624         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11625         again called in insertChar().
11626
11627         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11628         an inset which uses the whole row!
11629         (rightMargin): ditto.
11630         (insertChar): force a rebreak if we inserted an inset!
11631
11632 2002-03-28  Herbert Voss  <voss@lyx.org>
11633
11634         * lyxlength.[Ch]: add inBP() to get the right PS-point
11635         units (BigPoint). With inPixels we have rounding errors
11636
11637 2002-04-11  Juergen Vigna  <jug@sad.it>
11638
11639         * text2.C (setCursorFromCoordinates): set iy to the right value.
11640         (setCursor): add check if row->previous exists!
11641
11642         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11643         an old float_type as this was the case in the old code!
11644
11645         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11646
11647         * BufferView2.C (showLockedInsetCursor): use iy
11648         (fitLockedInsetCursor): ditto
11649
11650         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11651         locked insets as there we have the right value now.
11652
11653         * lyxcursor.C: added iy_ variable and iy functions to set to the
11654         baseline of cursor-y of the locked inset.
11655
11656         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11657         (setCursor): fixed for insets which need a full row.
11658
11659         * text.C (rowLastPrintable): don't ignore the last space when before
11660         an inset which needs a full row.
11661         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11662         as last character of a row when before a inset which needs a full row.
11663
11664 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * version.C.in: update date
11667
11668         * text2.C (fullRebreak): try to always return true and see what
11669         happens...
11670
11671 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * MenuBackend.C (expand): use Floating::listName
11674
11675         * FloatList.C (FloatList): add listName argument to the built-in
11676         floats
11677
11678         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11679         text associated with the float.
11680
11681 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11682
11683         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11684
11685 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * ShareContainer.h: add a couple of missing typenames.
11688
11689 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * lyxrc.C (getDescription): use _() correctly rather than N_().
11692
11693 2002-03-28  Herbert Voss  <voss@lyx.org>
11694
11695         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11696         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11697
11698 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11701         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11702
11703 2002-03-29  Juergen Vigna  <jug@sad.it>
11704
11705         * lyxfunc.C (dispatch): add a missing fitCursor call.
11706
11707         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11708         it was scrolled by a cursor move, so return the bool status.
11709
11710         * BufferView.C (fitCursor): return the bool flag also to the outside
11711         world as this is needed.
11712
11713         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11714
11715         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11716         call the edit() as it is not needed (and wrong) IMO.
11717         (workAreaButtonPress): set the screen_first variable before evt.
11718         unlock the inset as this may change screen_first and then we have
11719         a wrong y position for the click!
11720
11721 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * MenuBackend.C (expand): another translation that I missed
11724
11725 2002-03-28  Juergen Vigna  <jug@sad.it>
11726
11727         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11728
11729         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11730
11731 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11734
11735         * MenuBackend.C (expand): fix export/view/update when there is no
11736         document open.
11737
11738 2002-03-27  Herbert Voss  <voss@lyx.org>
11739
11740         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11741         and text%
11742
11743 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * bufferview_funcs.C (currentState): only show paragraph number
11746         for is DEVEL_VERSION is set.
11747
11748         * lyxfunc.C (dispatch): put warning in INFO channel
11749
11750         * MenuBackend.C (expand): translate the name of floats
11751
11752         * FloatList.C (FloatList): mark the float names for translation
11753
11754         * converter.C (convert): use LibScriptSearch
11755
11756 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * MenuBackend.C (defaults): fix default menu (we might as well get
11759         rid of it...)
11760
11761 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11764         directory.
11765
11766 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * lyxvc.C: reorder includes.
11769
11770 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11773           properly
11774
11775 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * CutAndPaste.C: change layouts earlier on paste
11778           to avoid crashing when calling getFont()
11779
11780 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11783         irritating #error.
11784
11785 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * WorkArea.C: remove 'Pending' debug message.
11788
11789         * most files: ws cleanup
11790
11791         * buffer.[Ch]: ws changes
11792
11793         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11794
11795 2002-03-21  Juergen Vigna  <jug@sad.it>
11796
11797         * tabular.C (SetMultiColumn): collapse also the contents of the
11798         cells and set the last border right. Added a Buffer const * param.
11799
11800 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11803         linking or not.
11804
11805 2002-03-19  Juergen Vigna  <jug@sad.it>
11806
11807         * text2.C (clearSelection): reset also xsel_cache.
11808
11809         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11810         where it needs to be called (John tells us to do so too :)
11811         (selectionLost): reset sel_cache.
11812
11813         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11814
11815 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * text2.C (setCursorIntern): put debuging code in INSETS channel
11818
11819 2002-03-19  André Pönitz <poenitz@gmx.net>
11820
11821         * lyxfunc.C: tiny whitespace change
11822
11823 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * ToolbarDefaults.C (init):
11826         * LyXAction.C (init):
11827         * commandtags.h:
11828         * BufferView_pimpl.C (Dispatch):
11829         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11830
11831 2002-03-19  Allan Rae  <rae@lyx.org>
11832
11833         * exporter.C (Export): removeAutoInsets before doing anything else.
11834         While I've just introduced a dependency on BufferView this really is
11835         the best place to clean the buffer otherwise you need to cleanup in
11836         a dozen places before calling export or cleanup in a dozen functions
11837         that export calls.
11838
11839         * converter.C (runLaTeX):
11840         (scanLog): Better handling of removeAutoInsets and screen updates.
11841
11842         * lyxfunc.C (dispatch): small whitespace changes
11843
11844 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * WorkArea.C (C_WorkAreaEvent): return a value.
11847         (event_cb): return 1 if we handled the event, 0 otherwise.
11848
11849         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11850
11851 2002-03-18  Juergen Vigna  <jug@sad.it>
11852
11853         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11854         (GetAdditionalWidth): ditto.
11855         (RightLine): ditto.
11856         (LeftLine): ditto.
11857
11858         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11859         inset if we're there actually (probably not used right now but this
11860         is the direction to go for unifying code).
11861         (paste): disable code to clear the selection.
11862
11863         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11864         inside an InsetText and move the check further up as it is in the
11865         wrong place.
11866
11867         * text2.C (pasteSelection): set a selection over the pasted text.
11868
11869 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11870
11871         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11872         and libgraphics to build on Cygwin.
11873
11874 2002-03-15  Juergen Vigna  <jug@sad.it>
11875
11876         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11877         inserting an Inset into the paragraph. I know this is not the best
11878         fix but we already use current_view in CutAndPaste so we will remove
11879         all of it's using at the same time.
11880
11881         * buffer.C (sgmlError): deactivated function till it is rewritten in
11882         the right mode, now it can create problems.
11883
11884         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11885         before accessing it.
11886
11887 2002-03-14  Juergen Vigna  <jug@sad.it>
11888
11889         * undo_funcs.C (textHandleUndo): do the right thing when updating
11890         the inset after the undo/redo.
11891
11892         * text2.C (setCursor): just some testcode for #44 not ready yet.
11893
11894         * undo_funcs.C (textHandleUndo): set the next() and previous()
11895         pointers of the paragraph to 0 before deleting otherwise we have
11896         problems with the Paragraph::[destructor].
11897
11898         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11899         on a paragraph insertion.
11900
11901 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * buffer.C (asciiParagraph): use += operator for char append to
11904         string.
11905
11906         * paragraph.C (getFontSettings): compare >= not just >
11907         (highestFontInRange): ditto
11908         (setFont): ditto
11909
11910 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * paragraph.C: change several algorithm to be more appripriate for
11913         the problem domain. This is lookip in FontList and in the InsetList.
11914
11915 2002-03-13  André Pönitz <poenitz@gmx.net>
11916
11917         * commandtags.h:
11918         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11919
11920 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11921
11922         * commandtags.h:
11923         * LyXAction.C:
11924         * lyxfunc.C:
11925         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11926
11927 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11928
11929         * Painter.C (display): anon helper function, adjust code for this
11930         change.
11931         (pixmap): remove function.
11932
11933         * Painter.h: remove private display variable.
11934
11935         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11936
11937 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11938
11939         * WorkArea.[Ch]: remove figinset_canvas cruft.
11940
11941 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * lyxtextclass.C (operator): add one item cache optimization.
11944
11945         * bufferlist.h: doxy changes
11946
11947         * bufferlist.C: ws changes
11948
11949         * DepTable.[Ch] (ext_exist): place const in the right spot.
11950
11951         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11952         call resizeInsets.
11953         (workAreaExpose): call resizeInsets when the with BufferView changes.
11954         (Dispatch): adjust for protectedBlank removal
11955         (specialChar): call updateInset if the insert went ok.
11956
11957         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11958         specialChar instead.
11959
11960         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11961
11962         * BufferView.h: doxy change
11963
11964         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11965
11966         * lyxtextclass.C (operator[]): remove non-const version
11967         (defaultLayout): remove non-const version
11968
11969 2002-03-12  Juergen Vigna  <jug@sad.it>
11970
11971         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11972         did resize the LyXText too.
11973
11974         * buffer.C (readLyXformat2): set layout information on newly allocated
11975         paragraphs.
11976
11977         * tabular.C (OldFormatRead): set layout information on the paragraph.
11978
11979 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11980
11981         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11982
11983 2002-03-11  Juergen Vigna  <jug@sad.it>
11984
11985         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11986         plainly wrong.
11987         (resizeCurrentBuffer): force also the insets to resize themselfes.
11988         (moveCursorUpdate): fixed up for InsetText.
11989
11990 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * commandtags.h:
11993         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11994         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11995         value of Dialogs::tooltipsEnabled().
11996         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11997
11998 2002-03-08  Juergen Vigna  <jug@sad.it>
11999
12000         * BufferView_pimpl.C (updateInset): update inset inside inset also
12001         if it isn't inside theLockingInset().
12002
12003 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * buffer.C (asciiParagraph): redo some of the word and line length
12006         handling.
12007         (getLists): look for Caption instead of caption.
12008
12009 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * buffer.C (Buffer): initialize niceFile to true
12012         (makeLaTeXFile):
12013         (makeLinuxDocFile):
12014         (makeDocBookFile): make sure niceFile is true on exit
12015
12016 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12017
12018         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12019
12020 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12021
12022         * LyXSendto.C: remove.
12023         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12024         * lyx_gui.C: remove now-redundant comment.
12025         * ColorHandler.h: remove forward declaration of class WorkArea.
12026         * lyxfunc.C: remove #include "WorkArea.h".
12027
12028 2002-03-07  Juergen Vigna  <jug@sad.it>
12029
12030         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12031         got moved away with the DEPM and also set the inset_owner always
12032         right which before could have been omitted.
12033
12034 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12037         wanted layout is not found.
12038
12039 2002-03-07  Juergen Vigna  <jug@sad.it>
12040
12041         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12042
12043 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * paragraph.C (breakParagraph): use default layout not layout of
12046         prev paragraph.
12047         (Paragraph): clear ParagraphParameters.
12048
12049 2002-03-06  Juergen Vigna  <jug@sad.it>
12050
12051         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12052         otherwise it would not be a valid lenght. Fixed a special case in
12053         the minipage compatibility read where we end the document with a
12054         minipage.
12055
12056         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12057         was set as it could be 0 for InsetTexts first entry.
12058
12059 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12060
12061         * paragraph.C (writeFile): if layout is empty write out
12062         defaultLayoutName().
12063
12064         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12065         file without named layout we set layout to defaultLayoutName().
12066
12067 2002-03-06  Juergen Vigna  <jug@sad.it>
12068
12069         * CutAndPaste.C (copySelection): set layout for new paragraph.
12070
12071         * text.C (prepareToPrint): leave ERT inset left aligned
12072         (leftMargin): don't indent paragraphs inside ERT insets
12073
12074 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * paragraph.C (breakParagraph): dont call clear do the work manually
12077
12078         * paragraph.[Ch] (clear): remove function
12079
12080 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * paragraph.C (Paragraph): dont call clear, the work has already
12083         been done.
12084
12085         * lyxtextclass.C (operator): assert if n is empty
12086
12087         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12088         work manually instead.
12089
12090 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * BufferView_pimpl.C: protect selectionLost against text == 0
12093
12094 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * text.C (breakParagraph): fix a setting layout to '0' problem.
12097
12098 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12099
12100         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12101         final location of file, for the included files, and graphics.
12102
12103 2002-03-05  Juergen Vigna  <jug@sad.it>
12104
12105         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12106
12107 2002-03-04  Juergen Vigna  <jug@sad.it>
12108
12109         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12110
12111         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12112         last column of multicolumn cells.
12113         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12114
12115 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12116
12117         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12118         file if it doesn't go to a temporary file.
12119
12120         * buffer.C (sgmlOpenTag):
12121         (sgmlCloseTag):  remove extra newline insertion.
12122
12123 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12124
12125         * text.C (getRowNearY): comment out debug msg
12126
12127 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12128
12129         * text2.C: first -> first_y
12130
12131         * text.C (getRowNearY): add some attemts at a possible
12132         optimization, not working.
12133
12134         * tabular.[Ch]: add BufferParams to several function so that newly
12135         created paragraph can be initialized to he default layotu for the
12136         buffers textclass.
12137
12138         * tabular-old.C (ReadOld): add buf->params to call of Init
12139
12140         * screen.C: rename text->first to text->first_y
12141
12142         * paragraph.C (breakParagraph): always set layout in the broken
12143         paragraph
12144
12145         * lyxtextclass.C (Read): remove lowercase
12146         (hasLayout): ditto
12147         (operator): ditto
12148         (delete_layout): ditto
12149
12150         * lyxtext.h: rename first -> first_y
12151
12152         * lyxlayout.C (Read): remove lowercase
12153         (name): ditto
12154         (setName): ditto
12155         (obsoleted_by): ditto
12156
12157         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12158
12159         * buffer.C (insertErtContents): add params are to InsetERT
12160         (parseSingleLyXformat2Token): add code to check if a paragraphs
12161         layout really exist.
12162         (parseSingleLyXformat2Token): add params to several inset
12163         constructors
12164         (asciiParagraph): remove lowercase, do the layout comparisons with
12165         no_case
12166
12167         * BufferView_pimpl.C (cursorNext): first -> first_y
12168         (resizeCurrentBuffer): first -> first_y
12169         (updateScrollbar): first -> first_y
12170         (scrollCB): first -> first_y
12171         (workAreaMotionNotify): first -> first_y
12172         (workAreaButtonPress): first -> first_y
12173         (checkInsetHit): first -> first_y
12174         (cursorPrevious): first -> first_y
12175         (cursorNext): first -> first_y
12176         (Dispatch): add buffer_->params to severl inset contructors
12177
12178 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * lyxlayout.C (Read): remove some debug info that I forgot.
12181
12182         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12183         clean up the code slightly.
12184         (makeLinuxDocFile): ditto
12185         (makeDocBookFile): ditto
12186
12187         * text2.C: layout as string
12188
12189         * text.C: layout as string
12190
12191         * paragraph_pimpl.C: layout as string
12192
12193         * paragraph.[Ch]: layout as string
12194
12195         * lyxtextclasslist.[Ch]: layout as string
12196
12197         * lyxtextclass.[Ch]: layout as string
12198
12199         * lyxtext.h: layout as string
12200
12201         * lyxlayout.[Ch]: layout as string
12202
12203         * lyx_cb.C: layout as string
12204
12205         * bufferview_funcs.C: layout as string
12206
12207         * bufferparams.C: layout as string
12208
12209         * buffer.C: layout as string
12210
12211         * LyXView.[Ch]: layout as string
12212
12213         * LaTeXFeatures.[Ch]: layout as string
12214
12215         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12216
12217         * BufferView_pimpl.C: change current_layout to string, remove
12218         lyx::layout_type.
12219         (Dispatch):
12220         (smartQuote):
12221         (insertInset):
12222         (workAreaButtonRelease): layout as string
12223
12224         * BufferView2.C (unlockInset): adjust
12225
12226         * vspace.C (asLatexCommand): use an explict temp variable.
12227
12228 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * Makefile.am: use FRONTEND_*
12231
12232 2002-03-01  Juergen Vigna  <jug@sad.it>
12233
12234         * tabular.C (SetWidthOfMulticolCell): changed to something better
12235         I hope but still work in progress.
12236         (recalculateMulticolumnsOfColumn): renamed function from
12237         recalculateMulticolCells as it is more appropriate now.
12238         (SetWidthOfCell): calculate multicols better.
12239
12240 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12241
12242         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12243
12244         * lyxfunc.C (processKeySym): print sequence also if it is
12245         `deleted' (complete)
12246
12247         * kbsequence.C (print): print sequence even if it is deleted
12248         (complete would be a better word, actually).
12249
12250         * lyxfunc.C (dispatch): print complete options after a prefix key
12251
12252         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12253
12254 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12255
12256         * text2.C (setCharFont): eliminate setCharFont code duplication.
12257
12258 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12261         LFUN_TABULAR_FEATURE (bug #177)
12262
12263 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * Makefile.am: remove figure.h
12266
12267 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * Bufferview_pimpl.C:
12270         * CutAndPasteC:
12271         * LaTeX.C:
12272         * LyXSendto.C:
12273         * buffer.C:
12274         * bufferlist.C:
12275         * converter.C:
12276         * language.C:
12277         * lyxfunc.C:
12278         * lyxvc.C:
12279         * paragraph.C:
12280         * text.C:
12281         * text2.C: remove #include "lyx_gui_misc.h".
12282
12283         * LaTeX.C: added #include <cstdio>
12284
12285 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12288         that the paragraph following this one can have.
12289
12290         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12291
12292         * vspace.C (asLatexCommand): fix bogus gcc warning
12293
12294         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12295
12296 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12297
12298         * text2.C (setLayout): get rid of redundant code
12299
12300 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12301
12302         * text2.C (incDepth): make sure depth cannot be increased beyond
12303         reasonable values.
12304
12305 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12308         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12309
12310         * PainterBase.h (image):
12311         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12312         a LyXImage const *.
12313
12314 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * BufferView.C:
12317         * BufferView.h:
12318         * BufferView_pimpl.C:
12319         * BufferView_pimpl.h:
12320         * LaTeXFeatures.C:
12321         * LyXAction.C:
12322         * LyXView.C:
12323         * Makefile.am:
12324         * UpdateList.h:
12325         * UpdateList.C:
12326         * buffer.C:
12327         * figure.h:
12328         * figureForm.C:
12329         * figureForm.h:
12330         * figure_form.C:
12331         * figure_form.h:
12332         * lyx_cb.C:
12333         * lyx_gui.C:
12334         * lyx_gui_misc.C:
12335         * lyxfunc.C:
12336         * sp_base.h:
12337         * sp_ispell.h:
12338         * sp_pspell.h:
12339         * sp_spell.C: remove fig inset, and the crap house of
12340           cards that follows it
12341
12342 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * Makefile.am:
12345         * lyxserver.C:
12346         * os2_defines.h:
12347         * os2_errortable.h:
12348         * nt_defines.h: move .h into support/
12349
12350         * vms_defines.h: remove
12351
12352         * WorkArea.C: add space in debug output
12353
12354         * text2.C:
12355         * paragraph.C:
12356         * buffer.C: add WITH_WARNINGS
12357
12358         * vc-backend.h:
12359         * vc-backend.C:
12360         * bufferlist.C: s/retrive/retrieve/, add docs
12361
12362         * vspace.h:
12363         * vspace.C:
12364         * kbmap.h:
12365         * lyxlength.h:
12366         * lyxgluelength.h:
12367         * length_common.h:
12368         * chset.h:
12369         * chset.C: add docs
12370
12371         * lyxgui.C: add ID to X error handler
12372
12373         * lyxtestclass.c: fix typo
12374
12375 2002-02-26  Juergen Vigna  <jug@sad.it>
12376
12377         * tabular_funcs.C (write_attribute): changed so that some default
12378         attributes are not written at all.
12379         (getTokenValue): set default values before trying to read the
12380         value so we have the return value always set as default if we don't
12381         find the token we search for.
12382
12383         * tabular.C (Write): write bools as bools not as strings!
12384
12385 2002-02-22  Juergen Vigna  <jug@sad.it>
12386
12387         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12388         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12389
12390         * text.C (leftMargin): don't add an indent for paragraphs inside
12391         tabular cells (fix #208).
12392
12393 2002-02-21  José Matos  <jamatos@fep.up.pt>
12394
12395         * tabular.C (docBook): fixed support for long tables.
12396
12397 2002-02-20  Juergen Vigna  <jug@sad.it>
12398
12399         * text2.C (getFont): get the drawing font of the Inset if this
12400         paragraph is inside an inset (only important for InsetERT for now).
12401
12402         * buffer.C (insertErtContents): use new lanugage params in ERT
12403         constructor.
12404
12405         * CutAndPaste.C: commenting out seemingly uneeded code.
12406
12407 2002-02-19  Allan Rae  <rae@lyx.org>
12408
12409         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12410         Iterators might be simple to use but they also get invalidated.
12411         (removeAutoInsets): renamed saved cursor tracking variables and added
12412         some comments to clarify what everything does.
12413
12414 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * Chktex.C:
12417         * LaTeX.C:
12418         * LyXSendto.C:
12419         * converter.C:
12420         * lyx_cb.C:
12421         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12422         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12423
12424         * lyxfunc.C:
12425         * vc-backend.h: remove #include "support/syscall.h"
12426
12427         * LaTeX.C:
12428         * LyXSendto.C:
12429         * converter.C: rearrange #includes in Lars' approved fashion.
12430
12431         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12432         forward declare class Timeout in the header file.
12433
12434         * XFormsView.C: changes due to the above.
12435
12436         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12437         similar to LyXView.
12438
12439         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12440         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12441
12442 2002-02-18  José Matos  <jamatos@fep.up.pt>
12443
12444         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12445         insets contents.
12446
12447 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12448
12449         * a lot of small ws changes
12450         * add a lot of using std::XXX
12451         * use std construcs some places where approp.
12452         * use some exisint stuff from lyxfunctional where approp.
12453         * Make file changes to use partial linking (lets test this now...)
12454
12455 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * Chktex.C:
12458         * buffer.C:
12459         remove #include "support/syscontr.h" as it's redundant. Always has been.
12460
12461         * Chktex.C:
12462         * LaTeX.C:
12463         * LyXSendto.C:
12464         * converter.C:
12465         * lyx_cb.C:
12466         * vc-backend.C:
12467         change Systemcalls::System to Systemcalls::Wait and
12468         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12469         No change of functionality, just reflects the stripped down Systemcalls
12470         class.
12471
12472 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * debug.[Ch]: add a GRAPHICS type to the enum.
12475
12476 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12479
12480         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12481         there is an inset.
12482
12483 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12486         match the changes below.
12487
12488         * text2.C (toggleInset): if there is not editable inset at cursor
12489         position, try to see if cursor is _inside_ a collapsable inset
12490         and close it.
12491
12492 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12495         document menu has a nice checkbox
12496
12497 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12498
12499         * lyxlength.C (asLatexString): change PW to output as percent of
12500         \textwidth.
12501
12502         * lengthcommon.C: change '%' to 't%'
12503
12504         * lyxfunc.C (dispatch): a few comments from Martin
12505
12506 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * WorkArea.h:
12509         * WorkArea.C:
12510         * BufferView_pimpl.h:
12511         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12512           the X selection.
12513
12514 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * vspace.C (inPixels): fix compiler warning
12517
12518 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * lyxfunc.C (getStatus): fix status message for disabled commands.
12521
12522 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * BufferView_pimpl.C: fix crash on close buffer
12525         during selection (#227)
12526
12527 2002-01-27  Herbert Voss  <voss@lyx.org>
12528
12529         * buffer.C: link old Figure to new graphic inset
12530
12531 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * FontLoader.C (getFontinfo): Change the latex font names in order
12534         to match the names of type1inst.
12535
12536 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12539
12540         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12541         (extchanged): ditto
12542         (ext_exist): ditto
12543         (remove_files_with_extension): ditto
12544         (remove_file): ditto
12545         (write): ditto
12546
12547         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12548         document is smaller than the work area height. Do not initialize
12549         static variables to 0.
12550
12551 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12554
12555         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12556         LFUN_LAYOUT_PARAGRAPHS.
12557
12558         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12559         tabular. It is possible to provide a possible cell, which will
12560         typically be the actcell from the corresponding insettabular
12561
12562         * lyxfunc.C (getStatus): small cleanup; disable
12563         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12564         true
12565
12566 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12567
12568         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12569
12570         * paragraph.C (startTeXParParams):
12571         (endTeXParParams): new methods. The LaTeX code to
12572         start/end paragraph formatting
12573         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12574         empty (fixes bug #200)
12575
12576         * vspace.C (inPixels): adapt to the change below
12577         (inPixels): [later] more cleanups (remove unused variables)
12578
12579         * lyxlength.C (inPixels): change to use a width and a height as
12580         parameter.
12581
12582 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12583
12584         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12585         Replaced with \paperwidth
12586
12587         * DepTable.C (insert): add std:: qualifier
12588
12589 2002-01-18  Allan Rae  <rae@lyx.org>
12590
12591         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12592         updated also?
12593
12594         * text.C (drawInset): Turned out I didn't know enough about how
12595         rebreaking worked.  This fixes most of the redraw problems.  I see
12596         an occasional cursor trail when a line is broken now and the cursor
12597         placement can seem out by a few pixels also after a rebreak.
12598
12599 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * buffer.C (parseSingleLyXformat2Token): update because minipage
12602         width is now a LyXLength
12603
12604         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12605
12606         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12607         math insets
12608
12609 2002-01-17  Juergen Vigna  <jug@sad.it>
12610
12611         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12612
12613         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12614         is set correctly and the inset is updated correctly.
12615
12616 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12617
12618         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12619         the beginning of the loop.
12620
12621 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * lyxrc.C: improve help for use_scalable_fonts
12624
12625 2002-01-17  Allan Rae  <rae@lyx.org>
12626
12627         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12628
12629 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12632         make sure to set their inset_owner to the right value (bug #171)
12633
12634 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12635
12636         * DepTable.h
12637         * DepTable.C: Implement mtime checking to reduce time spent doing
12638         CRCs.
12639
12640 2002-01-16  Juergen Vigna  <jug@sad.it>
12641
12642         * tabular.C (GetAdditionalHeight): one of error fixed.
12643
12644         * lyxrc.C (output): small fix in writing use_pspell.
12645
12646 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12647
12648         * sp_base.h: #include LString.h
12649
12650 2002-01-16  Allan Rae  <rae@lyx.org>
12651
12652         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12653         Can someone check this please?
12654
12655         * text.C (drawInset): It was possible that p.row would be removed by
12656         breakAgainOneRow upsetting a few other settings.  There may be another
12657         small tweak possible by setting need_break_row = 0 when p.row has been
12658         removed but I don't know enough about the logic here.
12659
12660 2002-01-15  Allan Rae  <rae@lyx.org>
12661
12662         * text.C (insertChar): removed conditional truism.
12663
12664         * BufferView2.C (removeAutoInsets): More tweaks.
12665         cur_par_prev could be a stray pointer.  Check for trailing empty line
12666         in case last line was cur_par and only had an error inset on it.
12667
12668 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12671         absolute
12672
12673         * vc-backend.C (most methods):
12674         * exporter.C (Export):
12675         * converter.C (convert):
12676         (runLaTeX):
12677         * LyXSendto.C (SendtoApplyCB):
12678         * lyxfunc.C (dispatch):
12679         (menuNew):
12680         (open):
12681         (doImport):
12682         * lyx_cb.C (AutoSave):
12683         (InsertAsciiFile):
12684         * BufferView_pimpl.C (MenuInsertLyXFile):
12685         * buffer.C (runChktex): use Buffer::filePath().
12686
12687         * buffer.h: rename filename to filename_; rename filepath to
12688         filepath_ and make it private
12689         (filePath): new method
12690
12691         * buffer.C (writeFile): use fileName()
12692         (getLatexName):
12693
12694         * lyx_main.C (init): fix starting  of LyX when the binary is a
12695         link from so,ewhere else.
12696
12697         * minibuffer.C: include <cctype> for isprint
12698
12699 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12702         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12703         name clash with InsetCollapsable's width function.
12704
12705 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * lastfiles.C: include <iterator>
12708
12709 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12712         std::count.
12713
12714         * buffer.C (makeLaTeXFile): ditto.
12715         Also make loop operation more transparent.
12716
12717 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * ToolbarDefaults.C: remove trailing comma closing namespace.
12720
12721         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12722
12723         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12724         as in WorkArea.
12725
12726         * trans.C (Load): comment out unused variable, allowed.
12727
12728 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * minibuffer.[Ch] (append_char): new method to recieve input from the
12731         drop-down completion browser. If a key was pressed, then recieve this
12732         char and append it to the existing string.
12733         (peek_event): modify the positioning data passed to the completion
12734         browser so that it can be placed above the minibuffer rather than below.
12735 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * LyXAction.C (init): alloe error-next for readonly documents.
12738
12739         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12740         count.
12741
12742 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12743
12744         * bufferlist.C (readFile): create the buffer _after_ checking that
12745         the file exists.
12746
12747         * lyxfunc.C (verboseDispatch): fix handling of arguments
12748
12749         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12750
12751         * lyxrc.C: use string::erase() instead of initializing to "".
12752
12753
12754 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * BufferView_pimpl.h:
12757         * BufferView_pimpl.C:
12758         * WorkArea.h:
12759         * WorkArea.C:
12760         * text2.C: tell X when we have made a selection for copying
12761
12762 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12763
12764         * BufferView_pimpl.C (MenuInsertLyXFile):
12765         * lyxfunc.C (menuNew):
12766         (open):
12767         (doImport): add shortcuts to directory buttons
12768
12769         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12770         open a float)
12771
12772         * lyxfunc.C (setStatusMessage):
12773         (getStatusMessage): new methods
12774         (getStatus):use setStatusMessage instead of setErrorMessage
12775         (dispatch): when function is disabled, set error message here
12776         [instead of in getStatus previously]
12777
12778         * BufferView_pimpl.C (workAreaButtonRelease): update
12779         toolbar/menubar here too.
12780
12781 2002-01-13  Allan Rae  <rae@lyx.org>
12782
12783         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12784         Now seems indestructible.  Remaining task is to audit all other
12785         code affected by deleteEmptyParagraphMechanism.  One small quirk
12786         left is that an empty document with an error in the preamble can
12787         be made to report an error but no error box appears.  I don't know
12788         where it goes.
12789         (removeAutoInsets): Improved comments.
12790
12791 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * Thesaurus.h:
12794         * Thesaurus.C: update for Aiksaurus 0.14
12795
12796 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12797
12798         * text2.C (firstParagraph): removed member function, all uses
12799         replaces with ownerParagraph
12800         (redoParagraphs): here
12801         (updateInset): here
12802         (toggleAppendix): here
12803         * BufferView2.C (insertErrors): here
12804         (setCursorFromRow): here
12805
12806 2002-01-13  Allan Rae  <rae@lyx.org>
12807
12808         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12809         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12810         There is still a way to segfault this although you may have to do this
12811         multiple times: Have an InsetERT with an unknown command in it.
12812         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12813         <down-arrow>, <Enter> again, View->DVI, BANG!
12814
12815         * text2.C (setCursor):
12816         (deleteEmptyParagraphMechanism):
12817         * lyxtext.h (setCursor):
12818         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12819         Making use of the return value may help fix other bugs.
12820
12821 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12824
12825         * LyXView.C (updateMenubar): call MenuBar::update here
12826         (updateToolbar): but not here
12827         (showState): do not update toolbar/menubar
12828
12829         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12830         should need to care about that.
12831
12832         * lyxfunc.C (verboseDispatch): simplify a bit
12833         (getStatus): have a version which takes a pseudoaction, and
12834         another which requires a (kb_action,string).
12835
12836         * LyXAction.C (retrieveActionArg): make it work also when action
12837         is not a pseudo-action.
12838         (getActionName): simplify a bit
12839         (helpText):
12840
12841 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12842
12843         * lyxfunc.C (verboseDispatch): new families of methods with
12844         several ways to specify a command and a bool to indicate whether
12845         the command name and shortcut should be displayed in minibuffer
12846         (eventually, we could extend that to a finer bitmask like
12847         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12848         (dispatch): the pristine dispatch command which just, well,
12849         dispatchs! Note it still sets its result to minibuffer; I'm not
12850         sure we want that.
12851
12852         * lyxfunc.h: remove setHintMessage
12853
12854         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12855
12856 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * BufferView_pimpl.C (specialChar): delete new inset if we have
12859         not been able to insert it.
12860
12861         * kbmap.C: revert to using int instead of kb_action, since all we
12862         are dealing with is pseudo-actions.
12863
12864         * LyXAction.C (searchActionArg): change to return int instead of
12865         kb_action, since the result is a pseudoaction.
12866
12867 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * buffer.C (insertErtContents): Fix (partially) the font bug.
12870
12871 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12872
12873         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12874         as the other one is broken on my machine!
12875
12876 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12877
12878         * commandtags.h:
12879         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12880
12881 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12882
12883         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12884         reflect their actual use. Provide compatibility code for older lyxrc
12885         files.
12886
12887         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12888         FL_NORMAL_STYLE.
12889         change names of popup font variables in line with the changes to lyxrc.C
12890
12891 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12892
12893         * buffer.C (asciiParagraph): avoid outputing a word twice after
12894         an inset.
12895
12896         * lyxrc.C (getDescription): document that document_path and
12897         template_path can be empty.
12898
12899 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12900
12901         * LaTeXFeatures.C (getMacros):
12902         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12903
12904         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12905
12906         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12907         getPackages.
12908         (getPackages): rename feature "floats" to "float". Use an array to
12909         iterate over 'simple' features (i.e. just a \usepackage). Add
12910         handling of "amsmath" (renamed from "amsstyle").
12911
12912 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12913
12914         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12915         features list.
12916
12917 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12918
12919         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12920         FuncStaus::FuncStatus & FuncStaus::some_method().
12921
12922 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12923
12924         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12925         of the func_satus stuff. Edited and massaged in various ways by
12926         JMarc.
12927
12928         * lyxfunc.C (getStatus): use FuncStatus
12929
12930 2002-01-08  Juergen Vigna  <jug@sad.it>
12931
12932         * text.C (nextBreakPoint): use function Inset::isChar().
12933
12934         * paragraph.C (TeXOnePar): use function
12935         Inset::forceDefaultParagraphs.
12936
12937         * buffer.C (latexParagraphs): use function
12938         Inset::forceDefaultParagraphs.
12939
12940 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12941
12942         * lyx_gui.C (init): set the style of the menu popups to
12943         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12944
12945 2002-01-07  Juergen Vigna  <jug@sad.it>
12946
12947         * text.C (setHeightOfRow): small fix
12948         (prepareToPrint): don't look at alignment if we don't have the place
12949         for doing it.
12950
12951 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12952
12953         * box.C: New file. Move the Box methods and functions out of box.h,
12954         following Lars' suggestion.
12955
12956 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12957
12958         * box.h: #include "support/LOstream.h", needed for inlined function.
12959
12960         * lyxtextclass.C:
12961         * lyxtextclasslist.C: added some using std declarations.
12962
12963 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * box.h: make signed dimensions to allow insets wider than
12966           the screen (bug #162)
12967
12968         * BufferView_pimpl.C: add some insetHit debug
12969
12970 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * vc-backend.C: add FIXME
12973
12974 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12975
12976         * lyxfunc.C (getStatus): enable code for showing math font status
12977         in toolbar/menu.
12978
12979 2002-01-07  Juergen Vigna  <jug@sad.it>
12980
12981         * text.C (nextBreakPoint): removed debug output not needed anymore.
12982
12983 2002-01-06  Juergen Vigna  <jug@sad.it>
12984
12985         * text.C (nextBreakPoint): fixed up this function we had this bug
12986         since ever but now hopefully we break row better.
12987         (insertChar): we have to check if an inset is the next char as it
12988         could now happen that a large inset is causing a break.
12989
12990 2002-01-05  Juergen Vigna  <jug@sad.it>
12991
12992         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12993         if it doesn't like to be drawed.
12994
12995 2002-01-04  Juergen Vigna  <jug@sad.it>
12996
12997         * BufferView2.C (lockInset): forgot to set a cursor.
12998
12999         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13000
13001 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13002
13003         * FormMathsPanel.C:
13004         * FormMathsPanel.h
13005         * MathsSymbols.C:
13006         * form_maths_panel.C:
13007         * form_maths_panel.h:
13008         * form_maths_panel.fd: implemented sub- and super- buttons in math
13009         panel.
13010
13011         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13012         (or ^ space) to be used as in TeX (req'd by André).
13013
13014         * lyxfunc.C: Allow ^ and _ again to be used both as
13015         super/subscript (mathed) and as themselves (in text).
13016
13017 2002-01-03  Allan Rae  <rae@lyx.org>
13018
13019         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13020         "LyX" or the filename of the current buffer if it has one.  This is a
13021         modified form of John Levon's patch.
13022
13023         * XFormsView.C (setWindowTitle): also set icon title.
13024
13025         * LyXView.h (setWindowTitle): signature changed.
13026         * XFormsView.h (setWindowTitle): ditto.
13027
13028 2002-01-02  Juergen Vigna  <jug@sad.it>
13029
13030         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13031
13032 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * screen.C (topCursorVisible): introduce a temp var for
13035         text->cursor.row(), handle the case where this row is null. (kindo
13036         hachish)
13037
13038         * text2.C (setCursor): add a couple of asserts.
13039
13040         * paragraph.h (inset_iterator): add -> operator
13041
13042         * paragraph.[Ch] (autoDeleteInsets): remove member function
13043
13044         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13045         cursor pos correctly and handle inset deletion by itself.
13046         (insertErrors): move iterator declaration out of for expression
13047
13048         * lyxtextclass.C: add <algorithm>
13049
13050         * Makefile.am: added the new files to sources, removed layout.C
13051
13052         * layout.C: removed file
13053
13054         * layout.h: remove LYX_DUMMY_LAYOUT
13055
13056         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13057         layout.
13058
13059         * lyxlayout.[Ch]:
13060         * lyxtextclass.[Ch]:
13061         * lyxtextclasslist.[Ch]: new files
13062
13063         * include order changes to a lot of files, also changes because of
13064         the six new files.
13065
13066 2001-12-27  Juergen Vigna  <jug@sad.it>
13067
13068         * buffer.C (asciiParagraph): more fixes.
13069
13070         * tabular.C (ascii): make ascii export support export of only the
13071         data separated by a column-delimiter.
13072         (ascii): better support for ascii export.
13073
13074         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13075
13076 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * tabular_funcs.C: use a "using std::getline" instead of the
13079         previous fix from Angus (necessary for cxx + lyxstring)
13080
13081 2001-12-24  Juergen Vigna  <jug@sad.it>
13082
13083         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13084
13085         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13086         problems. First check a minipage also if we have some ert-contents
13087         (not only on par->size(), second set the right depth of the paragraph
13088         on the relink to the root-paragraph-list!
13089
13090         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13091         which then did not anymore update the main paragraphs on undo/redo!
13092
13093 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13096         code. Support all font-changing funcs (even those which are not in
13097         menu currently). Support for reporting font settings in
13098         mathed (disabled until Andre provides a function on mathed's side).
13099
13100         * func_status.h (toggle): small helper function to set toggle
13101         state on a flag.
13102
13103 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * tabular_funcs.C: getline -> std::getline
13106
13107 2001-12-21  Juergen Vigna  <jug@sad.it>
13108
13109         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13110         accessed and could be 0 (I couldn't generate this but it seems
13111         Michael could!).
13112
13113 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13116         * tabular_funcs.h: here and include iosfwd
13117
13118 2001-12-20  Juergen Vigna  <jug@sad.it>
13119
13120         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13121         inside inset but undo_par was.
13122
13123 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13124
13125         * Thesaurus.C: always include <config.h> in sources.
13126
13127         * Painter.h:
13128         * lyxlookup.h:
13129         * box.h: do not include <config.h> in header files
13130
13131         * text.C (paintLastRow): remove unused variable
13132
13133         * text.C (transformChar):
13134         (insertChar):
13135         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13136
13137         * Painter.C (text):
13138         * font.C (width): rewrite to use uppercase() instead of
13139         islower/toupper.
13140
13141         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13142
13143 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * lyxfind.C: clean up of find failure position change
13146
13147 2001-12-20  Juergen Vigna  <jug@sad.it>
13148
13149         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13150
13151         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13152         (TeXRow): added to LaTeX a single tabular row.
13153         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13154         (Latex): simplified and finally good LT-h/f support.
13155         (various_functions): just small adaptions for LT-h/f support.
13156
13157         * tabular_funcs.[hC]: added and moved here all not classfunctions
13158         of LyXTabular.
13159
13160 2001-12-19  Juergen Vigna  <jug@sad.it>
13161
13162         * tabular.[Ch]: better support for longtabular options (not finished
13163         yet!)
13164
13165 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13166
13167         * text.C (paintLastRow): use the label font instead of the font of
13168         the last character to compute the size of *_BOX. This makes more
13169         sense and avoids a crash with empty paragraphs.
13170         Use Painter::rectangle to draw EMPTY_BOX.
13171
13172 2001-12-19  Juergen Vigna  <jug@sad.it>
13173
13174         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13175         the paragraphs if the replaced paragraph is not the first one!
13176         Tried to delete not used paragraphs but does not work yet so for
13177         now it's inside #ifdef's and by default off!
13178
13179 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13180
13181         * MenuBackend.C: include "lyx_main.h" instead of declaring
13182         lastfiles (actually was declared as LastFiles* instead of a
13183         scoped_ptr).
13184
13185 2001-12-17  Juergen Vigna  <jug@sad.it>
13186
13187         * tabular.C (AppendColumn): applied John's fix
13188
13189 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * BufferView.h:
13192         * BufferView.C:
13193         * BufferView_pimpl.h:
13194         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13195
13196         * Makefile.am:
13197         * box.h: new start of class for above
13198
13199         * lyxfunc.C: ignore space-only minibuffer dispatches.
13200           Show the command name when it doesn't exist
13201
13202         * minibuffer.C: don't add empty lines to the history
13203
13204         * minibuffer.C: add a space on dropdown completion
13205
13206 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * text.C: fix line above/below drawing in insets
13209
13210 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * lyxlength.C (LyXLength): Initialize private variables.
13213
13214 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13215
13216         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13217         when inserting error insets.
13218
13219 2001-12-13  Juergen Vigna  <jug@sad.it>
13220
13221         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13222         actually sometimes the before-paragraph.
13223         (setUndo): don't clear the redostack if we're not actually undoing!
13224
13225 2001-12-06  Juergen Vigna  <jug@sad.it>
13226
13227         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13228         and fixed redoing of main paragraph, so we can use it now ;)
13229
13230         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13231
13232 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13235         Juergen's request
13236
13237 2001-12-13  André Pönitz <poenitz@gmx.net>
13238
13239         * undostack.[Ch]:
13240         * undo_func.C: minor cleanup
13241
13242 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13243
13244         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13245         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13246         font in urw-fonts package which is marked as -urw-fontspecific and
13247         does not work (incidentally, changing the encoding in the
13248         fonts.dir of this package to -adobe-fontspecific fixes the
13249         problem).
13250
13251         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13252         is a crash when undoing first paragraph (Juergen, please take a
13253         look). THis does not mean the undo fix is wrong, just that it
13254         uncovers problems.
13255
13256         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13257         the (Paragraph*) version when needed instead of duplicating the
13258         code.
13259
13260         * text.C (workWidth): use Inset::parOwner to find out where the
13261         inset has been inserted. This is a huge performance gain for large
13262         documents with lots of insets. If Inset::parOwner is not set, fall
13263         back on the brute force method
13264
13265         * paragraph_pimpl.C (insertInset):
13266         * paragraph.C (Paragraph):
13267         (cutIntoMinibuffer): set parOwner of insets when
13268         inserting/removing them
13269
13270         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13271
13272 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13273
13274         * commandtags.h:
13275         * LyXAction.C:
13276         * lyx_main.C:
13277         * lyxfunc.C:
13278         * mathed/formulabase.C:
13279         * mathed/math_cursor.[Ch]:
13280         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13281
13282
13283 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * lyxlength.[Ch] (operator!=): new function
13286
13287 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13288
13289         * text.C (workWidth): use Inset::parOwner to find out where the
13290         inset has been inserted. This is a huge performance gain for large
13291         documents with lots of insets. If Inset::parOwner is not set, fall
13292         back on the brute force method
13293
13294         * paragraph_pimpl.C (insertInset):
13295         * paragraph.C (Paragraph):
13296         (cutIntoMinibuffer): set parOwner of insets when
13297         inserting/removing them
13298
13299         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13300
13301 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * tabular-old.C (getTokenValue):
13304         * tabular.C (getTokenValue):
13305         (write_attribute): new versions for LyXLength
13306         (everywhere): adjust the use of widths
13307
13308         * tabular.h: change the type of widths from string to LyXLength
13309
13310 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13311
13312         * paragraph.C: fixed missing line number count when exporting
13313         Environments to LaTeX file
13314
13315         * buffer.C: added informational message for checking line numbers.
13316
13317 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13320         paragraph, do the 'double space' part, but not the 'empty
13321         paragraph' one.
13322
13323         * text.C (workWidth): small optimization
13324         (getLengthMarkerHeight): use minimal size for negative lengths.
13325
13326 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13327
13328         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13329
13330         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13331
13332 2001-12-11  André Pönitz <poenitz@gmx.net>
13333
13334         * FontLoader.C:
13335         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13336
13337 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * text2.C: keep selection on a setFont()
13340
13341 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13342
13343         * lyx_cb.C: another bv->text misuse, from insert label
13344
13345 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13346
13347         * kbsequence.h:
13348         * kbsequence.C: re-instate nmodifier mask
13349
13350 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * lyx_main.h: make lyxGUI private.
13353
13354 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * lyxfind.C: place the cursor correctly on failed search
13357
13358 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * text.C (getLengthMarkerHeight): for small heights, the arrows
13361         are not always on top/bottom of the text
13362         (drawLengthMarker): smaller arrows; take the left margin in
13363         account; draw also vfills.
13364         (paintFirstRow):
13365         (paintLastRow): remove special code for vfill and standard spaces,
13366         since everything is handled in drawLengthMarker now.
13367
13368 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * buffer.C (insertErtContents): try to handle font and language
13371         interaction a bit better.g
13372
13373         * ColorHandler.C (updateColor): change the hash to cover the whole
13374         LColor enum, ws cleanup
13375         (getGCLinepars): ditto
13376         (getGCLinepars): only lookup in the linecache once.
13377
13378 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * iterators.C (operator++): Make the iterator more robust
13381
13382         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13383         (John's patch)
13384         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13385
13386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13387
13388         * lyxtext.h:
13389         * text.C: better added space drawing
13390
13391 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * LyXView.C:
13394         * BufferView2.C: fix layout combo update on inset unlock
13395
13396 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * Makefile.am: don't compile unused files
13399
13400 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * lyxfunc.C:
13403         * commandtags.h:
13404         * LyXAction.C: remove old LFUN_LAYOUTNO
13405
13406 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13407
13408         * paragraph_pimpl.h:
13409         * paragraph_pimpl.C: isTextAt() doesn't need font param
13410
13411 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * lyxlex.h:
13414         * lyxlex.C: little cleanup
13415
13416 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13417
13418         * BufferView_pimpl.C: fix insertAscii for insets
13419
13420 2001-12-05  Juergen Vigna  <jug@sad.it>
13421
13422         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13423         set the right font on the "multi" paragraph paste!
13424
13425 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13426
13427         * trans_decl.h:
13428         * trans_mgr.[Ch]:
13429         * trans.[Ch]:
13430         * lyxgluelength.C:
13431         * lyxlength.C: remove out-commented code.
13432
13433         * BufferView_pimpl:
13434         * CutAndPaste.C:
13435         * DepTable.C:
13436         * buffer.C:
13437         * chset.C:
13438         * lastfiles.C:
13439         * lyxlex.C:
13440         * lyxlex_pimpl.C:
13441         * lyxserver.C:
13442         * screen.C:
13443         * tabular-old.C:
13444         * tabular.C:
13445         * text.C:
13446         * trans_mgr.C:
13447         * vc-backend.C: change "while(" to "while ("
13448
13449         * lyxlength.[Ch]: add zero function to check if length is zero or
13450         not
13451         * lyxgluelength.C: use it
13452
13453 2001-12-05  Allan Rae  <rae@lyx.org>
13454
13455         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13456         Works for 2.95.3, from what I understand of Garst's reports this should
13457         work for other g++ versions.  We're screwed if the abs(int) definition
13458         changed between bugfix releases of gcc.
13459
13460 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * text.C: fix chapter label offset !
13463
13464 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * lyxtext.h:
13467         * text.C: fix hfill at end of line, clean up
13468
13469 2001-12-04  Juergen Vigna  <jug@sad.it>
13470
13471         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13472         that we force an update of the inset and it's owners if neccessary.
13473
13474 2001-12-03  Juergen Vigna  <jug@sad.it>
13475
13476         * text.C (rowLast): simplified code
13477
13478 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13479
13480         * lyxfunc.C: fix show options on timeout
13481
13482 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13483
13484         * screen.C (topCursorVisible): scroll half a page when the cursor
13485         reached top of bottom of screen
13486
13487 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * minibuffer.C: deactivate on loss of focus
13490
13491 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * vspace.[Ch] (operator!=): add operator.
13494
13495 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13496
13497         * BufferView_pimpl.C: refuse to open an inset when
13498         there's a selection.
13499
13500 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * BufferView_pimpl.C: allow to click on RHS of full row insets
13503
13504 2001-11-30  Juergen Vigna  <jug@sad.it>
13505
13506         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13507         insets for undo reasons.
13508
13509 2001-11-28  André Pönitz <poenitz@gmx.net>
13510
13511         * vspace.[Ch]: cosmetical changes
13512
13513 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * LyXAction.h:
13516         * LyXAction.C:
13517         * lyxfunc.h:
13518         * lyxfunc.C:
13519         * kbmap.h:
13520         * kbmap.C:
13521         * lyxrc.C:
13522         * kbsequence.h:
13523         * kbsequence.C: part re-write of old kb code
13524
13525         * Painter.C:
13526         * WorkArea.C: remove Lgb_bug_find_hack
13527
13528 2001-11-30  José Matos <jamatos@fep.up.pt>
13529
13530         * buffer.C (makeDocBookFile): add a comment to point a hack.
13531         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13532         Fixed a double write of labels.
13533
13534 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13535
13536         * LaTeX.C:
13537         * LaTeX.h Fixed bug in LaTeX class where it would not
13538         re-run latex if no depfiles were changed, but the .dvi was removed.
13539
13540 2001-11-28  André Pönitz <poenitz@gmx.net>
13541
13542         * all the files from the change on 2001/11/26:
13543         use lyx::layout_type instead of LyXTextClass::size_type
13544         use lyx::textclass_type instead of LyXTextClassList::size_type
13545
13546 2001-11-29  Juergen Vigna  <jug@sad.it>
13547
13548         * text.C: added support for paragraph::isFreeSpacing()
13549
13550         * buffer.C: same as above
13551
13552         * paragraph.h: inserted isFreeSpacing() function to enable
13553         FreeSpacing inside InsetERT.
13554
13555         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13556         of the paragraph's in the cut/copy buffer to 0!
13557
13558         * text2.C (removeRow): remove the assert as it can!
13559
13560         * lyxtext.h: added helper function firstRow returning firstrow and
13561         made firstrow private again.
13562
13563         * BufferView2.C (lockInset): don't relock if we're already locked!
13564
13565         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13566         the only paragraph.
13567         (removeRow): added Assert::(firstrow)
13568
13569         * debug.C: forgot to add INSETTEXT here.
13570
13571 2001-11-28  Juergen Vigna  <jug@sad.it>
13572
13573         * sp_spell.C (initialize): changed error text to more general
13574         spellchecker command use (not only ispell!)
13575
13576         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13577
13578         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13579
13580 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * vspace.C: initialise lyxgluelength on failure
13583
13584 2001-11-28  Allan Rae  <rae@lyx.org>
13585
13586         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13587         declaration & definition that looks like a function declaration.
13588
13589 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * BufferView2.C (copy):
13592         (copyEnvironment): do not clear the selection when doing a copy.
13593
13594         * text.C (paintFirstRow): compilation fix
13595
13596 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13597
13598         * tabular.C (Latex): correct line count when writing latex.
13599
13600 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * paragraph_pimpl.h:
13603         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13604           bug a bit
13605
13606 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * text.C:
13609         * LColor.h:
13610         * LColor.C: change vfillline->added_space
13611
13612         * text.C: add markers and text for added space
13613
13614         * vspace.C: fix comment
13615
13616 2001-11-28  André Pönitz <poenitz@gmx.net>
13617
13618         * paragraph.C: whitespace changes
13619         * all the other files from the change on 2001/11/26:
13620         change *::pos_type into lyx::pos_type
13621
13622 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13625         language of the document when inserting error insets.
13626
13627 2001-11-26  André Pönitz <poenitz@gmx.net>
13628
13629         * BufferView_pimpl.[Ch]:
13630         *       CutAndPaste.C:
13631         * buffer.[Ch]:
13632         * lyxcursor.[Ch]:
13633         * lyxfind.C:
13634         * lyxfunc.C:
13635         * lyxrow.[Ch]:
13636         * paragraph.[Ch]:
13637         * paragraph_pimpl.[Ch]:
13638         * sp_spell.C:
13639         * text.C:
13640         * text2.C: reduce header dependencies, introduce type for positions
13641
13642 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * <various>: change to use Alert.h
13645
13646 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13649         when encountering an unknown token.
13650         (readLyXformat2): Show an error message if there were unknown tokens.
13651
13652 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13653
13654         * BufferView2.C:
13655         * BufferView_pimpl.C:
13656         * buffer.C:
13657         * paragraph.h:
13658         * text.C:
13659         * text2.C: use par->isInset()
13660
13661 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13662
13663         * paragraph_pimpl.h:
13664         * paragraph_pimpl.C: cleanup
13665
13666 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * text2.C (removeRow):
13669         * text.C (setHeightOfRow): remove useless (and costly) call to
13670         getRow.
13671
13672 2001-11-20  Allan Rae  <rae@lyx.org>
13673
13674         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13675         Now need Inset*::checkInsertChar() to return true for appropriate
13676         cases so that the characters in the minibuffer will actually be
13677         inserted.
13678
13679 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13680
13681         * text.C: change the order of the includes.
13682         (workWidth): initialize it at once.
13683         (workWidth): make maxw unsigned
13684         (setHeightOfRow): remove unused variable (inset)
13685         (selectSelectedWord): remove unused variable (inset)
13686         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13687
13688 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13691         server is not running.
13692         (openConnection):
13693         (closeConnection): add debug info when server is disabled.
13694
13695         * ColorHandler.C (getGCForeground): send debug message to GUI
13696         channel.
13697
13698         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13699
13700         * kbmap.C (bind): modify because return conventions of
13701         kb_sequence::parse have changed.
13702
13703         * kbsequence.C (parse): only ignore spaces and not any stupid
13704         control character. This avoids tests like s[i] <= ' ', which are
13705         guaranteed to fail with 8bit characters and signed chars.
13706         Change return code to string::npos when there have been no error
13707         (0 was a bad idea when error is at first character)
13708
13709 2001-11-14  José Matos  <jamatos@fep.up.pt>
13710
13711         * buffer.h:
13712         * buffer.C (simpleDocBookOnePar): removed unused argument.
13713
13714 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13717         insets which are part of a word. Paragraph::isLetter takes care of
13718         that now. Use Paragraph::isInset to identify insets.
13719         (selectSelectedWord): do not test for hyphenation break.
13720
13721         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13722         that protected spaces are considered as spaces.
13723
13724         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13725         Inset::isLetter.
13726
13727 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * lyxserver.h:
13730         * lyxserver.C: fix it. and small cleanup.
13731
13732 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * BufferView_pimpl.C: use inline helpers
13735
13736         * LaTeXFeatures.h:
13737         * LaTeXFeatures.C: fix typos
13738
13739         * Spacing.h:
13740         * Spacing.C: move spacing_string into class
13741
13742         * ToolbarDefaults.C: move stuff into namespace anon
13743
13744         * layout.h: update enum
13745
13746         * lyxfunc.C: use better debug
13747
13748         * minibuffer.h: fix typo
13749
13750         * debug.h:
13751         * debug.C:
13752         * WorkArea.C: add and use Debug::WORKAREA
13753
13754         * lyxtext.h:
13755         * text.C:
13756         * text2.C: code re-organisation, inline helpers
13757
13758 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13759
13760         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13761         std::vector.empty().
13762
13763 2001-11-09  Allan Rae  <rae@lyx.org>
13764
13765         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13766         '\n's after tables.  Tabular and ERT inset work now makes this no
13767         longer necessary.
13768
13769 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13770
13771         * minibuffer.h:
13772         * minibuffer.C: fix crash, improve drop-down completion
13773
13774 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13775
13776         * lyxserver.h:
13777         * lyxserver.C: invalidate fd's when doing endPipe()
13778
13779 2001-11-08  José Matos  <jamatos@fep.up.pt>
13780
13781         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13782         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13783
13784         * paragraph.h:
13785         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13786
13787 2001-11-07  José Matos  <jamatos@fep.up.pt>
13788
13789         * buffer.h:
13790         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13791         const qualifier.
13792
13793         * buffer.C (sgmlOpenTag):
13794         * buffer.C (sgmlCloseTag): removed debug info.
13795
13796         * buffer.h (sgmlOpenTag):
13797         * buffer.h (sgmlCloseTag): made public.
13798
13799 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * buffer.C (saveParamsAsDefaults):
13802         * lyx_cb.C (MenuLayoutSave): remove
13803
13804         * LyXAction.C (init):
13805         * commandtags.h:
13806         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13807
13808 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * buffer.C (setPaperStuff): removed from here...
13811
13812         * bufferparams.C (setPaperStuff): ... and moved there.
13813
13814 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * minibuffer.h:
13817         * minibuffer.C:
13818         * XFormsView.C: add support for drop-down completion
13819
13820 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13821
13822         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13823         commands.
13824
13825 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13826
13827         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13828         disabled.
13829
13830 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * lyx_main.C: change ref to known bugs
13833
13834 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13835
13836         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13837         to work around older babel problems.
13838
13839 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13840
13841         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13842
13843 2001-10-24  Juergen Vigna  <jug@sad.it>
13844
13845         * tabular-old.C (ReadOld): below variable changes reflected.
13846
13847         * tabular.[Ch]: added ltType struct for longtable header/footer
13848         defines and changed all instances where they are used. Added
13849         future support for double top/bottom rows.
13850
13851 2001-10-24  José Matos  <jamatos@fep.up.pt>
13852
13853         * buffer.h (docbookHandleCaption):
13854         * buffer.C (docbookHandleCaption): removed unused function.
13855         (makeDocBookFile): moved docbook supported version to v4.1.
13856
13857 2001-10-24  José Matos  <jamatos@fep.up.pt>
13858
13859         * tabular.h:
13860         * tabular.C (docbookRow): new function to export docbook code of a row.
13861         (DocBook): now honors the longtable flags.
13862
13863 2001-10-23  José Matos  <jamatos@fep.up.pt>
13864
13865         * LaTeXFeatures.h:
13866         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13867         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13868
13869         * buffer.C (makeLinuxDocFile):
13870         (makeDocBookFile): reworked the preamble, more clean, and with
13871         support for lyx defined entities. Changed the document declaration
13872         to be more XML friendly.
13873
13874         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13875         if we need to output XML that should be done with a filter.
13876
13877 2001-10-22  Juergen Vigna  <jug@sad.it>
13878
13879         * sp_pspell.h (class PSpell): add alive function needed in the
13880         controller to see if the spellchecker could be started.
13881
13882 2001-10-22  Juergen Vigna  <jug@sad.it>
13883
13884         * buffer.C (insertStringAsLines): modify the font for inserting
13885         chars in certain conditions by calling checkInsertChar(font).
13886
13887 2001-10-19  Juergen Vigna  <jug@sad.it>
13888
13889         * text.C (workWidth): use getRow instead of wrong algorithm.
13890         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13891
13892 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * lyxserver.h:
13895         * lyxserver.C:
13896         * lyx_main.h:
13897         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13898
13899 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * text.C (workWidth): do not search for the exact row when
13902         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13903         optimization for big documents.
13904
13905 2001-10-18  Juergen Vigna  <jug@sad.it>
13906
13907         * text.C (workWidth): new function with added Inset * parameter.
13908
13909 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13912
13913         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13914         change return type of getColumnNearX.
13915
13916
13917         * text.C (changeRegionCase): use uppercase/lowercase instead of
13918         toupper/tolower.
13919         (leftMargin):
13920         (rightMargin): simplify code by factoring out the uses of
13921         textclasslist.
13922         (labelFill):
13923         (numberOfHfills):
13924         (setHeightOfRow):
13925         (appendParagraph): use Paragraph::size_type
13926
13927 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * vspace.C (asLatexString): add a missing break
13930
13931 2001-10-15  Herbert Voss  <voss@perce.de>
13932
13933         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13934
13935 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13938         is not available.
13939
13940 2001-10-10  André Pönitz <poenitz@gmx.net>
13941
13942         * lyxfunc.C: removed greek_kb_flag.
13943
13944 2001-10-10  Herbert Voss  <voss@perce.de>
13945
13946         * lyx_main.C: delete global string help_lyxdir.
13947
13948 2001-10-09  Herbert Voss  <voss@perce.de>
13949
13950         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13951
13952         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13953
13954         * lyx_main.C: added global string help_lyxdir.
13955
13956         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13957
13958 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13959
13960         * lyxrc.C (set_font_norm_type): support iso8859-4
13961
13962 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13963
13964         * LaTeX.C (deplog): add another regex for MikTeX
13965
13966 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13967
13968         * lyxrc.C (set_font_norm_type): support iso8859-3
13969
13970 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13973
13974         * LaTeXFeatures.C: remove special case of french and index
13975
13976         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13977         before \begin{document}). This solves several incompatibilities.
13978
13979 2001-10-03  Garst Reese  <reese@isn.net>
13980
13981         * lyx_cb.C: change CheckTex error msg.
13982
13983 2001-10-03  José Matos  <jamatos@fep.up.pt>
13984
13985         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13986
13987 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * .cvsignore: update
13990
13991         * lyx_main.C (commandLineVersionInfo): use new style version info.
13992
13993         * buffer.C (writeFile):
13994         (makeLaTeXFile):
13995         (makeLinuxDocFile):
13996         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13997
13998         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13999
14000         * version.h: update to use stuff in version.C
14001
14002         * version.C.in: new file. Contains version information determined
14003         at compile time. This is a merging of version.h and
14004         version_info.h.in.
14005
14006 2001-10-03  Juergen Vigna  <jug@sad.it>
14007
14008         * BufferView_pimpl.C (update): don't change "dirty" status in
14009         updateInset call.
14010
14011 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * WorkArea.C (c-tor): re-position version string slightly.
14014
14015 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14016
14017         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14018         revert to previous code.
14019
14020         WorkArea.[Ch]: (show, destroySplash): methods removed.
14021
14022         WorkArea.C: rework code so that it's an amalgam of the codes before and
14023         after the splash screen was moved to WorkArea.
14024
14025 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14026
14027         * lyxrc.C (read):
14028         * vspace.C (inPixels):
14029         (lyx_advance):
14030         * kbmap.C (bind):
14031         * buffer.C (insertStringAsLines):
14032         (asciiParagraph): fix types to be large enough
14033
14034         * lyxlex_pimpl.h: change member status from short to int
14035
14036         * layout.h: fix type of endlabeltype
14037
14038         * kbmap.C (bind):
14039         * kbsequence.C (parse): change return type to string::size_type
14040
14041         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14042         variable
14043
14044         * Bullet.C (bulletSize):
14045         (bulletEntry): do not use short ints as parameters
14046
14047         * BufferView2.C (insertLyXFile): change a char to an int.
14048
14049         * WorkArea.C (WorkArea): remove unneeded floats in computation
14050
14051 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14054
14055         * paragraph.C (asString): Do not ignore newline/hfill chars when
14056         copying to the clipboard.
14057
14058 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14061         after a multi-line inset.
14062
14063 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14064
14065         * paragraph.C (validate): Set NeedLyXFootnoteCode
14066
14067 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14068
14069         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14070         and decrease-error to decrease.
14071
14072 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14075         it more readable (should be equivalent)
14076
14077 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14078
14079         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14080
14081 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14084         of a cursor (row, etc.) after a character has been deleted
14085         (deleteEmptyParagraphMechanism): call the method above on _all_
14086         cursors held by the LyXText when a double space has been
14087         detected/deleted.
14088
14089 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14092         pixmap.
14093         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14094
14095         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14096         background. Use greyOut() and the new show() methods to toggle between
14097         the foreground and background. Add code to remove the splash after
14098         its initial showing.
14099
14100         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14101         (create_forms): no longer call Dialogs::showSplash.
14102
14103 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * .cvsignore: add version_info.h
14106
14107 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14108
14109         * version_info.h.in: new file
14110
14111         * Makefile.am: add version_info.h.in
14112
14113         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14114         version_info.h instead of VERSION_INFO
14115
14116 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14117
14118         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14119         The ERT inset now returns string().
14120
14121 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14122
14123         * lyxtext.h, text.C (selectNextWord): renamed as
14124         selectNextWordToSpellcheck.
14125
14126         * text.C (selectNextWordToSpellcheck): Modified to not select
14127         words inside an ERT inset.
14128
14129 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * lyx_cb.C (MenuLayoutSave): change a bit the question
14132
14133         * sp_base.h: include <sys/types.h>
14134
14135 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14138
14139 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14140
14141         * several files: fix typos in user-visible strings
14142
14143 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14144
14145         * text2.C (pasteSelection): do not set the selection, since it
14146         will be cleared later. Actually, the intent was to fix the way the
14147         selection was set, but I figured rmoving the code was just as good.
14148
14149 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14150
14151         * FontLoader.C (available): Check if font is available without
14152         loading the font.
14153
14154 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14155
14156         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14157
14158 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14159
14160         * lyxrc.[Ch]: added display_graphics variable and associated code.
14161
14162 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * bufferparams.C (hasClassDefaults): new method. Returns true if
14165         the buffer parameters correspond to known class defaults
14166
14167 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * XFormsView.C (show): set minimum size to the main window.
14170
14171 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * text2.C (copySelection):
14174         (cutSelection):
14175         * lyxfind.C (LyXReplace):
14176         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14177         LyXText::selectionAsString.
14178
14179         * paragraph.C (asString): add "label" argument to the second form
14180
14181         * text2.C (selectionAsString): add "label" argument and pass it to
14182         Paragraph::asString.
14183
14184 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14185
14186         * lyx_main.C (commandLineHelp): remove version information
14187
14188 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14189
14190         * lyx_main.C: add -version commandline option
14191
14192 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * paragraph.h: make the optional constructor arg required instead.
14195         some modifications to other files because of this.
14196
14197         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14198
14199         * lyxserver.C (C_LyXComm_callback): make it static
14200
14201         * lyx_main.C (error_handler): make it static
14202
14203         * lyx_gui.C (LyX_XErrHandler): make it static
14204
14205         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14206
14207         * WorkArea.C: make the extern "C" methods static.
14208
14209         * Makefile.am (lyx_LDADD): simplify
14210
14211 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14212
14213         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14214         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14215
14216         * LyXAction.C (init):
14217         * lyxfunc.C (dispatch): associated code removal.
14218
14219 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14220
14221         * lyxfont.h (isSymbolFont): shut off warning
14222
14223         * text.C (setHeightOfRow):
14224         (getVisibleRow): fix crash with empty paragraphs which have a
14225         bottom line
14226
14227 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14228
14229         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14230         code.
14231
14232 2001-09-04  José Matos  <jamatos@fep.up.pt>
14233         * buffer.C
14234         * buffer.h
14235         * tabular.C (docbook): rename docBook method to docbook.
14236
14237 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14238
14239         * Makefile.am: add dependencies to main.o.
14240
14241 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14242
14243         * FontLoader.C (available): Return false if !lyxrc.use_gui
14244
14245 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14246
14247         * FontInfo.C (query):
14248         * converter.C (view):
14249         * importer.C (Import):
14250         * exporter.C (Export): Can not -> cannot.
14251
14252 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * BufferView_pimpl.C: allow to create index inset even if
14255           string is empty
14256
14257 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * buffer.C (getLists): replace boost::tie code with an explicit pair
14260         as boost::tie can break some compilers.
14261
14262         * iterators.h: Added a std:: declaration to the return type of
14263         ParIterator::size.
14264
14265 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14268           case.
14269
14270 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * iterators.[Ch]: New files. Provide paragraph iterators.
14273
14274         * buffer.C (changeLanguage): Use paragraph iterators.
14275         (isMultiLingual): ditto
14276
14277         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14278
14279 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * FontLoader.C: Support for cmr font.
14282
14283 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14284
14285         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14286         (available): New method.
14287
14288         * FontInfo.C (getFontname): Use scalable fonts even when
14289         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14290         found.
14291
14292 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14293
14294         * converter.C (Formats::view): reverted! Incorrect fix.
14295
14296 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * converter.C (Formats::view): only output the -paper option
14299         if the dvi viewer is xdvi, thereby fixing bug #233429.
14300
14301 2001-08-23  Herbert Voss  <voss@perce>
14302
14303         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14304
14305 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14306
14307         * Spacing.h (Spacing): Set space to Default on in the default
14308         constructor.
14309
14310 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * vc-backend.h (RCS::versionString): add RCS to version
14313         (CVS::versionString): add CVS to version
14314
14315         * vc-backend.C (scanMaster): do not add CVS to version.
14316         (scanMaster): do not add RCS to version
14317
14318         * lyxvc.C (versionString): new method
14319
14320         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14321
14322 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * Spacing.C (set): initialize fval
14325
14326 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14327
14328         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14329         " or \.
14330
14331 2001-08-16  Juergen Vigna  <jug@sad.it>
14332
14333         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14334
14335 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * BufferView_pimpl.C:
14338         * figureForm.C:
14339         * lyxtext.h:
14340         * text2.C: setParagraph takes linespacing now
14341
14342 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14343
14344         * LyxAction.C: add internal LFUN_CITATION_INSERT
14345
14346         * LyXView.C: actually apply fix
14347
14348         * bufferlist.C: fix open non-existent file
14349
14350         * lyxfind.C: fix indentation
14351
14352         * lyxfunc.C: remove unneeded assert, fix typo
14353
14354 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14355
14356         * MenuBackend.C: use "Floatname List"
14357
14358 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14359
14360         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14361         when converting LaTeX layout to insetERT.
14362         Generate a non-collapsed float when reading old float
14363
14364 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14367         ERT insets.
14368
14369 2001-08-13  Juergen Vigna  <jug@sad.it>
14370
14371         * text.C (fill): return 0 instead of 20 as this seems to be the more
14372         correct value.
14373
14374 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14377         lyxrc.font_norm.
14378
14379 2001-08-13  Juergen Vigna  <jug@sad.it>
14380
14381         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14382         casesensitive off.
14383         (SearchBackward): comment out the unlocking of the inset_owner this
14384         should not be needed!
14385
14386 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14387
14388         * Many files: Remove inherit_language, and add latex_language
14389
14390         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14391         collapsible insets.
14392
14393 2001-08-10  Juergen Vigna  <jug@sad.it>
14394
14395         * text.C (prepareToPrint): fixed hfill-width in draw!
14396
14397         * BufferView2.C (selectLastWord): save the selection cursor as this
14398         now is cleared in the function LyXText::clearSelection!
14399
14400 2001-08-08  Juergen Vigna  <jug@sad.it>
14401
14402         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14403         BACKSPACE type functions.
14404
14405         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14406         is only cutted from the document but not put in the cut-buffer, where
14407         still the old stuff should be.
14408
14409         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14410
14411         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14412
14413         * tabular.C (SetWidthOfCell): fixed special case where the width
14414         was not updated!
14415         (LeftLine): handle '|' in align_special.
14416         (RightLine): ditto
14417         (LeftAlreadyDrawed): ditto
14418         (SetWidthOfCell): ditto
14419
14420 2001-08-07  Juergen Vigna  <jug@sad.it>
14421
14422         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14423
14424 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14427         * lyxlex.[hC]: ditto
14428
14429 2001-08-06  Juergen Vigna  <jug@sad.it>
14430
14431         * text.C (getVisibleRow): fix up row clearing a bit.
14432
14433 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * minibuffer.C: make sure the X server sees the changes in the input.
14436
14437 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14438
14439         * paragraph.C (getFont): split into...
14440         (getLabelFont): this
14441         (getLayoutFont): and this
14442         * paragraph_pimpl.C (realizeFont): calling this
14443
14444         * text2.C (getFont): split into...
14445         (getLayoutFont): this
14446         (getLabelFont): and this
14447         (realizeFont): all three calling this
14448
14449         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14450         files where used.
14451
14452 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14453
14454         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14455
14456 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14457
14458         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14459         layouts from the Quote inset insertion.
14460
14461 2001-08-03  Juergen Vigna  <jug@sad.it>
14462
14463         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14464
14465         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14466         only if status not is already CHANGED_IN_DRAW (second level).
14467
14468         * text.C (draw): don't set the need_break_row when inside an
14469         InsetText LyXText.
14470
14471 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14472
14473         * buffer.C (parseSingleLyXformat2Token): handle more latex
14474         conversion cases.
14475
14476         * bufferview_funcs.[hC]: change function names to
14477         begin with small char, adjust other files.
14478
14479 2001-08-02  André Pönitz <poenitz@gmx.net>
14480
14481         * lyxfunc.C:
14482         BufferView_pimpl.C: remove broken special code for math-greek
14483
14484 2001-08-02  Juergen Vigna  <jug@sad.it>
14485
14486         * BufferView_pimpl.C (update): redone this function so that we
14487         update the text again if there was a CHANGE_IN_DRAW.
14488
14489         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14490         (drawFromTo): added a new internal bool which is used by draw() and
14491         redraw() function.
14492         (general): some cursor drawing problems fixed.
14493
14494 2001-08-01  Juergen Vigna  <jug@sad.it>
14495
14496         * lyxfind.C (LyXFind): fixed
14497         (SearchForward): ditto
14498         (SearchBackward): ditto
14499
14500         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14501         spurius drawing of the cursor in the main area.
14502
14503         * text2.C (status): small fix which could lead to a segfault!
14504         (clearSelection): remove unneeded BufferView param.
14505
14506 2001-08-01  André Pönitz <poenitz@gmx.net>
14507
14508         * lyxfunc.C: small change due to changed mathed interface
14509
14510 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14511
14512         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14513
14514 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * lyxfunc.c: fail gracefully if file doesn't exist
14517
14518         * LyXSendto.C:
14519         * buffer.C:
14520         * lyxfunc.C:
14521         * BufferView_pimpl.C: IsDirWriteable() proto changed
14522
14523         * LyXView.C: fix updateWindowTitle() to store the last title
14524
14525 2001-07-31  Juergen Vigna  <jug@sad.it>
14526
14527         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14528         the font (wrong since using of Paragraph::highestFontInRange).
14529
14530         * paragraph.C (highestFontInRange): added a default_size parameter.
14531
14532         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14533         (setHeightOfRow): reformat
14534
14535 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14536
14537         * converter.[hC] + affected files: move to (inital-char)lowercase
14538         function names.
14539
14540         * ParagraphParameters.C (ParagraphParameters): remove commented code
14541
14542         * PainterBase.[Ch]: remove commented code
14543
14544         * LaTeXFeatures.h: add "bool floats" for float.sty
14545
14546         * LaTeXFeatures.C (LaTeXFeatures): init floats
14547         (require): handle float
14548         (getPackages): do it with floats
14549
14550 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * BufferView_pimpl.C (Dispatch): improve handling of
14553         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14554
14555         * commandtags.h: #include lyxfont.h here temporarily to avoid
14556         keybinding bug.
14557
14558         * bufferlist.h: include LString.h here.
14559
14560 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * text2.C (getStringToIndex): new method.
14563
14564 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14565
14566         * *: Reduced header file dependencies all over.
14567
14568 2001-07-30  Baruch Even  <baruch@lyx.org>
14569
14570         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14571
14572 2001-07-29  Baruch Even  <baruch@lyx.org>
14573
14574         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14575
14576 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * ParameterStruct.h (endif): add a default constructor to make
14579         sure that all variables is initialized.
14580
14581         * ParagraphParameters.C (ParagraphParameters): adjust
14582
14583 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14584
14585         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14586         index; also, check that there is something to index, and that it
14587         does not span over several paragraphs.
14588         (doubleClick): use WHOLE_WORD_STRICT for double click.
14589
14590         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14591
14592         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14593         scheme.
14594
14595 2001-07-26  Baruch Even  <baruch@lyx.org>
14596
14597         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14598         an InsetFig figure, backwards compatible reading of old figure code.
14599
14600 2001-07-27  Juergen Vigna  <jug@sad.it>
14601
14602         * text2.C: font.realize function adaption.
14603
14604         * text.C (draw): add a warnings lyxerr text if needed.
14605
14606         * layout.C: font.realize function adaption.
14607
14608         * language.C: add inherit_language and implement it's handlings
14609
14610         * bufferview_funcs.C (StyleReset): remove language parameter from
14611         font creation (should be language_inherit now).
14612
14613         * bufferparams.C (writeFile): handle ignore_language.
14614
14615         * paragraph.C (getFontSettings): the language has to be resolved
14616         otherwise we have problems in LyXFont!
14617
14618         * lyxfont.C (lyxWriteChanges): added document_language parameter
14619         (update): removed unneeded language parameter
14620
14621         * paragraph.C (validate): fixed wrong output of color-package when
14622         using interface colors for certain fonts in certain environments,
14623         which should not seen as that on the final output.
14624
14625 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * BufferView_pimpl.C:
14628         * Thesaurus.h:
14629         * Thesaurus.C:
14630         * Makefile.am:
14631         * commandtags.h:
14632         * LyXAction.C: add thesaurus support
14633
14634         * lyxfind.h:
14635         * lyxfind.C: add "once" parameter, for thesaurus, to not
14636           move to the next match
14637
14638 2001-07-26  Juergen Vigna  <jug@sad.it>
14639
14640         * lyxfont.C (realize): honor ignore_language too!
14641         (resolved): ditto.
14642
14643         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14644
14645         * text.C (draw): one place more for ignore_language to not draw
14646         itself!
14647
14648 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14649
14650         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14651
14652 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14653
14654         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14655         the minipage conversion problem.
14656
14657 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14660         insert an inset.
14661
14662 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * BufferView.h: don't forward declare WorkArea
14665
14666         * BufferView.C: don't include WorkArea.h
14667
14668 2001-07-25  André Pönitz <poenitz@gmx.net>
14669
14670         * commandtags.h:
14671         * LyXAction.C:
14672         * lyxfunc.C:  new LFUN 'math-space'
14673
14674         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14675
14676 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14677
14678         * text2.C (toggleInset): call open/close
14679
14680 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * lyxfunc.C (dispatch): add debug for the disabled case
14683
14684         * font.C (buttonText): make similar to rectText
14685
14686         * buffer.C (readInset): comment out parsing of insetlist and
14687         insttheorem
14688
14689         * PainterBase.C (rectText): small correction
14690
14691         * BufferView_pimpl.C: comment out insettheorem and insetlist
14692         * LyXAction.C: ditto
14693         * commandtags.h: ditto
14694
14695 2001-07-24  Juergen Vigna  <jug@sad.it>
14696
14697         * text.C (draw): honor the ignore_language.
14698
14699         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14700
14701 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14704         char inset.
14705
14706 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14707
14708         * lyxtext.h: remove unused (and unimplemented) methods
14709
14710 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14711
14712         * text.C (getVisibleRow): honor background color
14713
14714         * PainterBase.h:
14715         * Painter.h: remove default color argument for fillRectangle
14716
14717         * text.C (backgroundColor): new method
14718
14719 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * text.C (getVisibleRow): adjust
14722
14723         * font.[Ch] (rectText): new method, metrics
14724         (buttonText): new method, metrics
14725
14726         * PainterBase.[hC]: make rectText and buttonText always draw and take
14727         fewer paramteres.
14728
14729 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14730
14731         * ToolbarDefaults.C (read):
14732         * MenuBackend.C (read): allow escaping in all strings
14733
14734         * BufferView_pimpl.C (insertAndEditInset): new method.
14735         (Dispatch): use insertAndEditInset whenever appropriate.
14736
14737         * BufferView_pimpl.C (insertNote): removed
14738
14739         * BufferView_pimpl.C (smartQuote): new method, moved from
14740         BufferView; if an insetquote cannot be inserted, insert a '"'
14741         character instead.
14742
14743         * BufferView2.C: remove insertCorrectQuote();
14744
14745         * lyxfunc.C (getStatus): Add support for all remaingin
14746         inset-insert lfuns.
14747
14748         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14749
14750         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14751         command (necessary to pass " as parameter of self-insert.
14752
14753         * text.C (selectWordWhenUnderCursor):
14754         (selectWord): add word_location parameter
14755         (selectWordWhenUnderCursor): same + remove special code for word
14756         boundary.
14757         (selectNextWord): use kind() to guess type of insetspecialchar,
14758         not latex().
14759
14760         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14761         (insertErtContents): create ert insets as collapsed.
14762         (readInset): better compatibility code for Info inset.
14763
14764 2001-07-20  Juergen Vigna  <jug@sad.it>
14765
14766         * lyxfunc.C (dispatch): use always LyXFind now!
14767
14768         * text2.C (init): add a reinit flag so that the LyXText can be
14769         reinited instead of deleted and reallocated (used in InsetText).
14770
14771         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14772
14773         * text.C: ditto
14774
14775         * text2.C: ditto
14776
14777 2001-07-18  Juergen Vigna  <jug@sad.it>
14778
14779         * text.C (selectNextWord): handle insets inside inset by calling
14780         always the bv->text functions so that we can go up the_locking_inset!
14781
14782         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14783         in strange locations when inside an inset!
14784
14785         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14786         handling to include insets.
14787
14788         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14789
14790 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * LyXAction.C (init):
14793         * commandtags.h:
14794         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14795         LIGATURE_BREAK, since the name is so stupid.
14796
14797 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14798
14799         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14800         InsetInfos.
14801
14802         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14803
14804         * sp_form.[Ch]: remove.
14805
14806         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14807
14808         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14809         InsetInfo.
14810
14811         * src/buffer.C (readInset): ditto.
14812
14813 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14814
14815         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14816         menuSeparator(), endOfSentenceDot(), ldots() and
14817         hyphenationPoint(), which are therefore removed.
14818         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14819
14820         * LyXAction.C (init):
14821         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14822
14823         * paragraph.C (getWord): removed.
14824
14825         * BufferView_pimpl.C (Dispatch): use last word or selection for
14826         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14827
14828         * lyx_main.C (queryUserLyXDir): do not ask before creating
14829         user_dir, except if it has been named explicitely.
14830
14831 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14832
14833         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14834         a document of zero size.
14835
14836 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14837
14838         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14839         approriately in the c-tor and in require().
14840         (getPackages): output the appropriate LaTeX for natbib support.
14841
14842         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14843         variables "use_natbib" and "use_numerical_citations" when reading the
14844         LyX file.
14845         (readInset): read the various natbib cite commands.
14846         (validate): white-space change.
14847
14848         * bufferparams.[Ch]: new variables "bool use_natbib" and
14849         "bool use_numerical_citations".
14850         (writeFile): output them in the LyX file.
14851
14852 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14853
14854         * lyxfunc.C (getStatus): add support for all the inset insertion
14855         commands.
14856
14857         * text2.C (insertInset):
14858         * paragraph.C (insetAllowed):
14859         * BufferView_pimpl.C (insertInset): update to take in account the
14860         renaming of insertInsetAllowed
14861
14862         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14863
14864         * text2.C (getInset): new method. returns inset at cursor position.
14865
14866         * BufferView_pimpl.C (Dispatch): changes because of this.
14867
14868         * LyXAction.C (init): rename open-stuff to inset-toggle.
14869
14870         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14871
14872         * text2.C (toggleInset): renamed from openStuff; use
14873         Inset::open().
14874
14875 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14876
14877         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14878
14879         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14880
14881 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14882
14883         * buffer.C (readLyXformat2): Add filename to the error dialog
14884
14885 2001-07-18  Juergen Vigna  <jug@sad.it>
14886
14887         * tabular.C (GetCellNumber): put an assert here instead of the check!
14888
14889 2001-07-17  Juergen Vigna  <jug@sad.it>
14890
14891         * BufferView_pimpl.C (toggleSelection): adapted too.
14892
14893         * text.C (selectNextWord): adapted for use with insets.
14894         (selectSelectedWord): ditto
14895
14896 2001-07-17  Juergen Vigna  <jug@sad.it>
14897
14898         * sp_spell.C (PSpell): fix initialitation order.
14899
14900 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * paragraph.C: spacing
14903
14904 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14905
14906         * sp_spell.C: repair language selection for pspell
14907
14908 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * lyxfunc.h: change more methods to begin with lower char.
14911
14912 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14913
14914         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14915         for unknown layouts.
14916
14917 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14918
14919         * buffer.C (readLyXformat2): Generate an error dialog if there are
14920         unknown layouts.
14921
14922 2001-07-16  Juergen Vigna  <jug@sad.it>
14923
14924         * sp_spell.C: always compile ISpell part.
14925
14926         * lyxrc.C: added use_pspell entry and it's handling.
14927
14928 2001-07-13  Juergen Vigna  <jug@sad.it>
14929
14930         * sp_spell.C: removed double includes.
14931
14932 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14933
14934         Consistent use of Lsstream.h:
14935         * Lsstream.h: added using std::stringstream for consistencies sake.
14936
14937         * buffer.C: removed using std::stringstream
14938
14939         * lyxfont.C (stateText):
14940         * paragraph.C (asString):
14941         * text.C (selectNextWord, selectSelectedWord):
14942         * text2.C (setCounter):
14943         * vspace.C (asString, asLatexString):
14944         std::ostringstream -> ostringstream.
14945
14946 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14947
14948         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14949         * commandtags.h: add LFUN_HELP_ABOUTLYX
14950         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14951
14952 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14953
14954         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14955         cursorToggle()
14956         * lyx_gui_misc.C: remove spellchecker
14957         * lyxfunc.C: showSpellchecker
14958         * sp_base.h: added
14959         * sp_ispell.h: added
14960         * sp_pspell.h: added
14961         * sp_spell.C: added
14962         * sp_form.[Ch]: removed
14963         * spellchecker.[Ch]: removed
14964
14965 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14966
14967         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14968         is set.
14969         (simpleTeXSpecialChars): Simply print the input character without
14970         any special translation if pass_thru is set.
14971
14972         * layout.h: Added bool pass_thru to layout class for being able to
14973         implement pass through of a paragraph for Literate Programming.
14974
14975         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14976         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14977         * layout.C (Read): add "passthru" to list of layout tags and add
14978         code to set the pass_thru boolean when it is read.
14979
14980 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14981
14982         * trans_decl.h: remove allowed from KmodInfo
14983
14984         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14985         remove allowed code
14986         (Load): adjust
14987
14988         * paragraph_pimpl.C (erase): use boost::prior
14989
14990         * Painter.C (text): use data() instead of c_str() when length is
14991         also provided.
14992         * WorkArea.C (putClipboard): ditto
14993         * font.h (width): ditto
14994
14995         * BufferView2.C: use it-> instead of (*it). for iterators
14996         * texrow.C: ditto
14997         * paragraph_pimpl.C: ditto
14998         * paragraph.C: ditto
14999         * minibuffer.C: ditto
15000         * language.C: ditto
15001         * kbmap.C: ditto
15002         * encoding.C: ditto
15003         * counters.C: ditto
15004         * converter.C: ditto
15005         * chset.C: ditto
15006         * Variables.C: ditto
15007         * TextCache.C: ditto
15008         * MenuBackend.C: ditto
15009         * LyXAction.C: ditto
15010         * LColor.C: ditto
15011         * FloatList.C: ditto
15012         * DepTable.C: ditto
15013         * ColorHandler.C (LyXColorHandler): ditto
15014
15015 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15018
15019         * text2.C (openStuff): reintroduce this method (which had been
15020         nuked in NEW_INSETS frenzy).
15021
15022         * lyxfunc.C (Dispatch): when an action has not been handled, use
15023         its name in the error message, not its number.
15024
15025         * paragraph.C (inInset): change method name to begin with lowercase.
15026
15027         * undo_funcs.C:
15028         * text2.C: updates because of this.
15029
15030 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * ToolbarDefaults.C (add): add spaces in error message
15033
15034 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15037         (readLyXformat2): rename return_par to first_par, use lyxlex's
15038         pushToken and remove the manual push handling.
15039         (parseSingleLyXformat2Token): add another ert comp. variable:
15040         in_tabular, rename return_par to first_par. handle newlines better
15041
15042 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15043
15044         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15045
15046 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15047
15048         * text2.C (getParFromID): removed
15049
15050         * buffer.C (getParFromID): new method moved form lyxtext.
15051         * BufferView2.C (insertErrors): adjust
15052         (setCursorFromRow): adjust
15053         * BufferView_pimpl.C (restorePosition): adjust
15054         * lyxfunc.C (Dispatch): adjust
15055         * undo_funcs.C (textUndo): adjust
15056         (textRedo): adjust
15057         (textHandleUndo): adjust
15058         (textHandleUndo): adjust
15059
15060 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15061
15062         * buffer.C: up' the LYX_FORMAT
15063
15064         * lyxfont.h: turn NO_LATEX on as default
15065
15066         * buffer.C (insertErtContents): new methods of tex style compability.
15067         (parseSingleLyXformat2Token): use it several places.
15068         * tabular.C (OldFormatRead): and here
15069
15070 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * text2.C: remove some commented code.
15073         reindent file.
15074
15075         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15076         * trans.C: changes because of the above.
15077
15078 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * text2.C (setCounter): Fix counters bug with bibliography layout.
15081
15082 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15085         own member functions
15086         (simpleTeXSpecialChars): ditto
15087
15088 2001-07-06  Juergen Vigna  <jug@sad.it>
15089
15090         * a lot of files: changed the access to LyXText::status and the
15091         call of undo-functions.
15092
15093         * undo.[Ch]: added a inset_id to the undo informations.
15094
15095         * undo_funcs.[Ch]: added and moved here all undo functions.
15096
15097         * lyxtext.h: give the status enum a weight, made status_ a private
15098         variable and made accessor functions for it, removed the whole bunch
15099         of undo-functions as they are now in their own file, make some
15100         functions publically available. Added function ownerParagraph with
15101         int parameter.
15102
15103         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15104         made InInset() a const function, added getParFromID() function.
15105
15106         * buffer.[Ch]: added const version for inset_iterator functions,
15107         added getInsetFromID() function.
15108
15109         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15110         changed undo functions for new version.
15111
15112 2001-07-05  Juergen Vigna  <jug@sad.it>
15113
15114         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15115         unknow mechanism does not call the proper constructor but only this
15116         one also if I request the other!?
15117
15118 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15119
15120         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15121
15122         * text2.C (LyXText): use initialization lists.
15123
15124         * lyxtext.h (Selection): initialize set_ and mark_
15125         (init): remove method
15126
15127 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15128
15129         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15130
15131 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * screen.[Ch]: change method names to begin with lowercase
15134
15135         * BufferView_pimpl.C (updateScrollbar): simplify further and
15136         hopefully make it a bit faster.
15137
15138 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15141         calling directly xforms functions.
15142
15143         * Painter.C (Painter):
15144         * lyx_cb.C (MenuWrite):
15145         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15146         fl_display.
15147
15148         * lyx_gui.C: remove bogus guiruntime extern declaration.
15149
15150 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15153         in NEW_INSETS
15154         (redoDrawingOfParagraph): ditto
15155         (redoParagraphs): ditto
15156         (cutSelection): don't create a object for CutAndPaste use the
15157         static method directly
15158         (pasteSelection): ditto
15159
15160         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15161         LyXview (+ rename)
15162
15163 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * modifications to some other files because of this.
15166
15167         * Makefile.am (lyx_SOURCES): add XFormsView
15168
15169         * XFormsView.[Ch]: new files
15170
15171         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15172         the main window. Move the gui dependent stuff to XFormsView
15173
15174 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * tabular.C (GetCellInset): update cur_cell also in the row/col
15177         version of this function.
15178
15179         * lyxfunc.C: no need to include figure_form.h here.
15180
15181         * FontLoader.h:
15182         * lyxfunc.h:
15183         * lyxscreen.h:
15184         * text2.C:
15185         * lyxvc.C: no need to include forms.h here.
15186
15187 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15190
15191         * lyxfunc.C (Dispatch):
15192         * Spacing.C (set):
15193         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15194         constructor argument.
15195
15196 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * paragraph.C (Paragraph): dont't clear, and just set layout.
15199         (makeSameLayout): use params's copy contructor.
15200
15201         * ParagraphParameters.[Ch] (makeSame): delete method
15202
15203 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15204
15205         * Variables.[Ch]: fix indentation, rename set to isSet
15206
15207 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * lyxfunc.C (Dispatch): fix typo
15210
15211 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15214         upper_bound.
15215
15216         * bufferlist.C: include assert.h for emergencyWrite().
15217
15218 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15219
15220         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15221           give up at last (bug #425202) !
15222
15223 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * lyx_gui_misc.C:
15226         * sp_form.h:
15227         * sp_form.C:
15228         * spellchecker.h:
15229         * spellchecker.C: strip spellchecker options and bring up
15230           preferences tab instead
15231
15232 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15235         the istringstream constructor
15236
15237 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * paragraph.C (getLayout): fix return value
15240
15241         * paragraph.h: do not declare getLayout as inline.
15242
15243         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15244
15245 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * lyxcursor.h (operator<): new func
15248         (operator>): new func
15249         (operator>=): new func
15250         (operator<=): new func
15251
15252         * text.C (changeCase): use selection.start and selection.end
15253         (changeRegionCase): require from to be <= to. Require par to be a
15254         valid paragraph.
15255
15256         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15257
15258 2001-06-27  Juergen Vigna  <jug@sad.it>
15259
15260         * text.C (cursorLeftOneWord): changed to return the cursor and added
15261         overlay with BufferView * parameter which calls this one.
15262         (getWord): added
15263         (selectWord): use new getWord function.
15264         (changeCase): renamed from changeWordCase as and extended to work
15265         also on selections.
15266
15267         * lyxtext.h: added enum word_location
15268
15269         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15270         changeCase as this operates now also on selections.
15271
15272 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15273
15274         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15275
15276         * many files: send debug output to Debug::INFO instead of
15277         Debug::ANY.
15278
15279         * converter.C (View):
15280         (Convert):
15281         (Move): send debug output to Debug::FILES instead of console.
15282
15283 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15284
15285         * lyxfunc.C (getStatus): use func_status
15286
15287         * func_status.h: new header, describing the results of
15288         LyXFunc::getStatus;
15289
15290         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15291         LFUN_MATH_HALIGN.
15292
15293 2001-06-25  The LyX Project  <jug@sad.it>
15294
15295         * buffer.C (sgmlOpenTag):
15296         (sgmlCloseTag):
15297         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15298
15299 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * text2.C: remove some dead code
15302
15303         * tabular.C (GetCellInset): store the last cell checked (gotten)
15304
15305         * tabular.h: add the helper for the speedup
15306
15307         * lyxtext.h: remove some dead code
15308
15309 2001-06-26  The LyX Project  <Asger>
15310
15311         * paragraph.C: Change export to LaTeX of alignment to
15312         \begin{center} and family for better roundtrip work with reLyX.
15313
15314         * Tune the math drawing a bit.
15315
15316 2001-06-25  The LyX Project  <Asger>
15317
15318         * LColor.C (LColor): New color for math background. New color
15319         for buttons.
15320
15321 2001-06-25  The LyX Project  <jug@sad.it>
15322
15323         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15324
15325         * lyxfunc.C (Open):
15326         * bufferlist.C (newFile): do not restrict to files ending with
15327         .lyx
15328
15329         * BufferView_pimpl.C (MenuInsertLyXFile):
15330
15331 2001-06-24  The LyX Project  <jug@sad.it>
15332
15333         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15334         of compare_no_case
15335
15336 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15337
15338         * lyxtext.h: rename most methods to begin with a small char.
15339         Lots of changes because of this.
15340
15341         * paragraph.C (Paragraph): do not call fitToSize
15342         (erase): call Pimpl::erase
15343         (insertChar): call Pimpl::insertChar
15344         (insertInset): call Pipl::insertInset
15345         (breakParagraph): do not call fitToSize
15346         (breakParagraphConservative): do not call fitToSize
15347         (fitToSize): remove method
15348
15349         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15350
15351 2001-06-24  The LyX Project  <Asger>
15352
15353         * Fix Qt compilation^2
15354
15355 2001-06-24  The LyX Project  <jug@sad.it>
15356
15357         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15358         depthHook(getDepth()-1).
15359
15360         * paragraph.h:
15361         * ParagraphParameters.h:
15362         * ParameterStruct.h: change type of depth to unsigned int ==
15363         depth_type. Many adaptations to other files before of that.
15364
15365 2001-06-24  The LyX Project  <Asger>
15366
15367         * Fix Qt compilation.
15368
15369 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * paragraph.h: renamed several methods to begin with small letter.
15372         several changes to many parts of the code because of this.
15373
15374 2001-06-23  The LyX Project  <jug@sad.it>
15375
15376         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15377         rewritten to discard all double spaces when KeepEmpty is off
15378         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15379         to only handle newlines but not fiddle with spaces and friends.
15380
15381         * lyxfunc.C (MenuNew): when doing 'new from template', use
15382         template_path as default directory
15383
15384 2001-06-23  The LyX Project  <Asger>
15385
15386         * Clean-up of header file includes all over
15387         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15388
15389 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * paragraph.h: renamed from lyxparagraph.h
15392
15393 2001-06-23  Asger  <lyx@violet.home.sad.it>
15394
15395         * Buffer.h: Removed Buffer::resize
15396         * BufferList.h: Removed BufferList::resize
15397         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15398         the document lazily when we change the width, or the font settings.
15399
15400 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15401
15402         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15403
15404 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15405
15406         * buffer.h: remove out of date comment
15407
15408 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15409
15410         * lyxscreen.h:
15411         * screen.C: fix "theoretical" GC leak
15412
15413 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * LaTeX.C (scanAuxFile):
15416         (deplog): remove trailing \r when reading stream (useful under
15417         win32)
15418
15419 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15420
15421         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15422         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15423         and BufferView::theLockingInset(Inset*), so should use them and not
15424         access bv_->text->the_locking_inset directly.
15425
15426         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15427
15428 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15429
15430         * Makefile.am:
15431         * tex-defs.h: remove old unused file
15432
15433 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15434
15435         * BufferView_pimpl.C: fix typo, remove minibuffer message
15436           when buffer has loaded
15437
15438 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15439
15440         * lyxfunc.C (Dispatch): use stringstream
15441         (MenuNew): use stringstream
15442         (Open): use stringstream
15443
15444         * importer.C (Import): use stringstream
15445
15446         * bufferview_funcs.C (CurrentState): use stringstream
15447
15448         * LaTeX.C (run): use stringstream
15449
15450         * BufferView_pimpl.C (savePosition): use stringstream
15451         (restorePosition): use stringstream
15452         (MenuInsertLyXFile): use stringstream
15453
15454 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15455
15456         * BufferView.C:
15457         * Bullet.C:
15458         * ColorHandler.C:
15459         * FontInfo.C:
15460         * FontLoader.C:
15461         * LColor.C:
15462         * LaTeXFeatures.C:
15463         * Painter.C:
15464         * gettext.C:
15465         * lyx_gui_misc.C:
15466         * lyxserver.C:
15467         * vspace.C: removed // -*- C++ -*- as first line.
15468
15469         * lyxfind.h:
15470         * version.h: added // -*- C++ -*- as first line.
15471
15472 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15473
15474         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15475
15476         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15477         of string
15478
15479 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15482         of floats.
15483
15484 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * gettext.C: include LString.h even when --disable-nls is on.
15487
15488 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * converter.h (Get): changed argument type from int to
15491         FormatList::size_type to avoid unnecessary conversion.
15492
15493         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15494         before using it.
15495
15496 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * gettext.h: include LString.h even when --disable-nls is on.
15499
15500 2001-06-07  Juergen Vigna  <jug@sad.it>
15501
15502         * text.C (BreakAgain): subst spaces with tabs.
15503
15504         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15505         (resizeInsetsLyXText): set force on resizeLyXText.
15506
15507 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15508
15509         * gettext.h (gettext_init):
15510         (locale_init): use a real definition instead of a macro
15511
15512 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15513
15514         * Bufferview_pimpl.C:
15515         * LColor.h:
15516         * LColor.C: further lcolor tidies
15517
15518 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * BufferView_pimpl.C (updateScrollbar): simplify.
15521
15522         * BufferView2.C: don't include insets/insetinfo.h, change
15523         prototype for insertInset and call the Pimpl version. let
15524         updateInset call Pimpl version.
15525
15526         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15527         gotoInset to BufferView::Pimpl
15528
15529 2001-06-01  Juergen Vigna  <jug@sad.it>
15530
15531         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15532         inside a LockingInset (is the update needed at all?).
15533
15534 2001-05-31  Juergen Vigna  <jug@sad.it>
15535
15536         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15537         here not the old one otherwise how should we compare it afterwards
15538         if it's the same!
15539
15540 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * lyxfont.C:
15543         * tabular.C:
15544         * tabular-old.C:
15545         * FontInfo.C: bring C functions into global namespace when
15546         necessary
15547
15548 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15549
15550         * LString.h: make sure config.h has been loaded before LString.h.
15551
15552         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15553         (one for each char read by EatLine!).
15554
15555         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15556         variables.
15557
15558 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15559
15560         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15561         to the same as the par we break from
15562
15563 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15564
15565         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15566
15567         * MenuBackend.C (expand): also create menu entries for wide
15568         versions of the floats.
15569
15570         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15571
15572         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15573
15574         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15575         frontends/Makefile.am
15576
15577         * text2.C: adjust
15578         * text.C: adjust
15579
15580
15581         * tabular.C (getTokenValue): add std::
15582
15583         * tabular-old.C (getTokenValue): add std::
15584         (getTokenValue): ditto
15585         (getTokenValue): ditto
15586
15587         * screen.C (ToggleSelection): adjust
15588
15589         * lyxtext.h: put selection cursors inside a Selection struct.
15590
15591         * lyxfunc.C (moveCursorUpdate): adjust
15592
15593         * lyxfont.C (latexWriteStartChanges): add std::
15594
15595         * lyxfind.C: adjust
15596
15597         * font.h: delete with(char const *, LyXFont const &)
15598
15599         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15600
15601         * FontInfo.C (getFontname): add std::
15602
15603         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15604         (workAreaButtonPress): adjust
15605         (tripleClick): adjust
15606         (update): adjust
15607         (moveCursorUpdate): adjust
15608         (Dispatch): adjust
15609
15610         * BufferView2.C (gotoInset): adjust
15611
15612 2001-05-30  Juergen Vigna  <jug@sad.it>
15613
15614         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15615         to check pspell I add this as default as I now have new pspell
15616         libraries and they seem to use this.
15617
15618 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15619
15620         * text2.C (CutSelection): make the cursor valid before the call to
15621         ClearSelection.
15622
15623 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15626         relied on 0 terminated strings and other horrors. Bug found due to
15627         the new assert in lyxstring!
15628
15629         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15630         KP_ keys.
15631
15632 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15635         to latinkeys.bind.
15636
15637         * lyxfunc.C (processKeySym): change method of getting to the
15638         self-insert char.
15639
15640         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15641         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15642         * BufferView_pimpl.[Ch]: here as private methods.
15643
15644 2001-05-28  Juergen Vigna  <jug@sad.it>
15645
15646         * text.C (SetHeightOfRow): added the update() call again as it is
15647         needed to initialize inset dimensions!
15648
15649 2001-05-16  Juergen Vigna  <jug@sad.it>
15650
15651         * text2.C (SetCharFont): Add new function with BufferView * and
15652         bool toggleall parameters for setting insets internal fonts.
15653         (SetFont): Freeze the undo as we may change fonts in Insets and
15654         all this change should be inside only one Undo!
15655
15656         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15657         setting font's in insets as for them we have the SetFont function!
15658
15659 2001-05-15  Juergen Vigna  <jug@sad.it>
15660
15661         * text2.C (ClearSelection): to be sure we REALLY don't have any
15662         selection anymore!
15663
15664         * tabular.C (TeXCellPreamble): fixed the left border problem for
15665         multicolumn cells.
15666
15667 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15670         dependancy file
15671
15672 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15673
15674         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15675         LFUN_BREAKPARAGRAPH.
15676
15677         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15678         help test to "internal only", similar for LFUN_INSERT_URL
15679
15680         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15681         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15682         auto_region_delete and deadkeys.
15683
15684 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15685
15686         * LColor.h:
15687         * LColor.C: remove some dead entries, tidy a little
15688
15689 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15690
15691         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15692         commented code.
15693         (Dispatch): implement LFUN_ESCAPE
15694
15695         * commandtags.h: add LFUN_ESCAPE
15696
15697         * LyXAction.C (init): add entry for LFUN_ESCAPE
15698
15699         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15700         Remove commented code.
15701         (insertNote): moved here
15702         (open_new_inset): moved here
15703
15704         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15705         BufferView_pimpl
15706
15707 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15708
15709         * kbmap.C (findbinding): clean it up and make it work correctly.
15710
15711         * lyx_main.C (init): do not pass argc and argv as parameters
15712
15713 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15714
15715         * buffer.C: fix path for OS/2 & Win32
15716
15717         * lyx_gui.C:
15718         * lyx_main:
15719         * lyx_main.C: Added os:: class.
15720
15721         * os2_defines.h: update
15722
15723 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15724
15725         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15726         better by trying again with reduced state.
15727
15728 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * lyxrc.C (read): print error about invalid key sequence only when
15731         debugging (because not all latinX keysyms are known to some X
15732         servers)
15733
15734         * kbsequence.C (getiso): add a few std:: qualifiers
15735         (getiso): comment out extra return statement.
15736
15737 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15740         handling.
15741         (Dispatch): enhance the accent inset a bit. (not perfect)
15742
15743 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15744
15745         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15746
15747 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15748
15749         * bufferlist.C (emergencyWrite): fix assert() call
15750
15751 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15752
15753         * text.C (InsertChar): Added trivial patch to only send the "you
15754         can not do multiple spaces this way" message once during a
15755         session.
15756
15757 2001-05-08  Baruch Even  <baruch@lyx.org>
15758
15759         * Makefile.am: Changed order of libraries to get LyX to link properly
15760         with the gnome frontend.
15761
15762 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15763
15764         * LaTeXFeatures.h: add a std:: qualifier
15765
15766 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * paragraph.C (String): use stringstream
15769
15770 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * paragraph.C (writeFile): remove footflag arg
15773
15774         * buffer.C (makeLaTeXFile): use stringstream
15775         (latexParagraphs): remove footnot gurba
15776
15777         * LaTeXFeatures.C (getPackages): use stringstream
15778         (getMacros): likewise
15779         (getTClassPreamble): likewise
15780         (getFloatDefinitions): new method
15781
15782         * paragraph.C (writeFile): reindent
15783         (Erase): reindent
15784
15785         * WorkArea.h: revert the xpos + etc changes.
15786
15787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15788
15789         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15790
15791         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15792         (pasteSelection): likewise
15793         * text2.C (CreateUndo): likewise
15794
15795 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * minibuffer.C (peek_event): temporarily reduce the functionality
15798         of the minibuffer (to allow args on lfuns)
15799
15800         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15801         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15802
15803         * buffer.C (readInset): add compability reading of old float
15804         lists, add reading of new style float list.
15805         (readInset): avoid reevaluation of inscmd.getCmdName()
15806         (getLists): reindent
15807
15808         * MenuBackend.C (MenuItem): implement parsing of
15809         md_floatlistinsert and md_floatinsert.
15810         (expand::LastFiles): move initalizaton of iterators out of loop,
15811         avoid reevaluation.
15812         (expand::Documents): introduce typdedef vector<string> Strings,
15813         and use it.
15814         (expand::ExportFormats): introduce typedef vector<Format const *>
15815         Formats, and use it.
15816         (expand): implement FloatListInsert and FloatInsert.
15817
15818         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15819         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15820         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15821
15822         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15823         handling.
15824         (Dispatch::LFUN_FLOAT_LIST): implement
15825
15826 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15827
15828         * LaTeX.C (run): Fix problem with --export code.
15829
15830 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15831
15832         * BufferView.[Ch] (workarea): removed.
15833         (getClipboard) new method; wrapper for workarea()->getClipboard()
15834
15835         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15836         bug.
15837
15838         * WorkArea.h (width, height, xpos, ypos): These methods all
15839         returned the dimensions of the work_area sub-area of WorkArea,
15840         resulting in a position error if the WorkArea were resized. Now
15841         return the dimensions of the entire WorkArea.
15842
15843         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15844
15845 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * LaTeX.C (deplog): correct the syntax of regex reg1
15848
15849 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * undo.C: remove !NEW_INSETS cruft
15852
15853 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * text2.C: remove !NEW_INSETS cruft
15856
15857         * text.C: remove !NEW_INSETS cruft
15858
15859         * tabular.C: remove !NEW_INSETS cruft
15860
15861         * spellchecker.C: remove !NEW_INSETS cruft
15862
15863         * lyxtext.h: remove !NEW_INSETS cruft
15864
15865         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15866
15867         * lyxfunc.C: remove !NEW_INSETS cruft
15868
15869         * lyxfind.C: remove !NEW_INSETS cruft
15870
15871         * lyx_cb.C: remove !NEW_INSETS cruft
15872
15873         * figureForm.C: remove  !NEW_INSETS cruft
15874
15875         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15876
15877         * buffer.[Ch]: remove !NEW_INSETS cruft
15878
15879         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15880
15881         * CutAndPaste.C: remove !NEW_INSETS cruft
15882
15883         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15884
15885         * BufferView2.C: remove !NEW_INSETS cruft
15886
15887         * BufferView.h: remove !NEW_INSETS cruft
15888
15889 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * Lsstream.h: include LString.h before the sstream headers to
15892         fix problem with gcc 2.95.3 and lyxstring
15893
15894 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15895
15896         * lyx_main.C: add using directives when needed for C functions
15897         declared in std:: namespace.
15898
15899 2001-04-27  Juergen Vigna  <jug@sad.it>
15900
15901         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15902         (SetHeightOfRow): comment out the update call should not be needed!
15903
15904 2001-04-13  Juergen Vigna  <jug@sad.it>
15905
15906         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15907         (LyXTabular): tried to minimize operator= operations (and realized
15908         hopfully Lars wish).
15909
15910 2001-04-27  Juergen Vigna  <jug@sad.it>
15911
15912         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15913
15914 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15915
15916         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15917
15918         * buffer.C (readInset): hack to make listof algorithm work
15919
15920         * BufferView_pimpl.C: hack to make listof algorithm work
15921
15922 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * LyXAction.C: removed all !NEW_INSETS cruft
15925         (init): moved lfun_item in method
15926
15927         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15928
15929 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * BufferView2.C (theLockingInset): white space.
15932
15933 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15934
15935         * minibuffer.C: include <iostream>
15936
15937         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15938
15939         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15940
15941         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15942
15943         * text.[Ch] (TransposeChars): new method
15944
15945 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15946
15947         * call message directly through LyXView instead of through LyXFunc
15948         * BufferView2.C: adjust
15949         * BufferView_pimpl.C: adjust
15950         * FontLoader.C: adjust
15951         * buffer.C: adjust
15952         * bufferview_funcs.C: adjust
15953         * converter.C: adjust
15954         * figureForm.C: adjust
15955         * importer.C: adjust
15956         * lyx_cb.C: adjust
15957         * lyx_gui_misc.C: adjust
15958         * lyxfunc.C: adjust
15959         * lyxvc.C: adjust
15960         * text2.C: adjust
15961         + more files in subdirs
15962
15963         * lyxparagraph.h (size): move up int file
15964         (GetLayout): ditto
15965
15966         * adjust all uses of Assert to lyx::Assert.
15967
15968         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15969         lyxfunctional in namespace lyx
15970         * layout.C (hasLayout): ditto
15971         (GetLayout): ditto
15972         (GetLayout): ditto
15973         (delete_layout): ditto
15974         (NumberOfClass): ditto
15975         * converter.C (GetFormat): ditto
15976         (GetNumber): ditto
15977         (Add): ditto
15978         (Delete): ditto
15979         (SetViewer): ditto
15980         * bufferlist.C (getFileNames): ditto
15981         (emergencyWriteAll): ditto
15982         (exists): ditto
15983         (getBuffer): ditto
15984         * MenuBackend.C (hasSubmenu): ditto
15985         (hasMenu): ditto
15986         (getMenu): ditto
15987         * BufferView_pimpl.C (getInsetByCode): ditto
15988
15989 2001-04-18  Juergen Vigna  <jug@sad.it>
15990
15991         * vspace.C (asLatexString): fixed the 100% problem.
15992
15993 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * lyxfunc.C (Dispatch):
15996         * minibuffer.C:
15997         * minibuffer.h: add a few std:: qualifiers
15998
15999 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16000
16001         * minibuffer.[Ch]: reimplement so that commands is initiated and
16002         run from lyxfunc, simplified som handling, and made the completion
16003         and history code for complete. wip.
16004
16005         * lyxfunc.C (processKeySym): call message
16006         (miniDispatch): new temporary method
16007         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16008         (LFUN_MESSAGE): implement
16009         (LFUN_MESSAGE_PUSH): implement
16010         (LFUN_MESSAGE_POP): implement
16011         (initMiniBuffer): the initial/defualt minibuffer message.
16012
16013         * lyxfont.[Ch]: inline some more getters
16014
16015         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16016
16017         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16018
16019         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16020         (AutoSave): use LFUN_MESSAGE
16021         (Reconfigure): ditto
16022
16023         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16024
16025         * figureForm.C: use LFUN_MESSAGE
16026
16027         * converter.C (runLaTeX): use LFUN_MESSAGE
16028
16029         * bufferview_funcs.C: use LFUN_MESSAGE
16030         (Melt): ditto
16031         (changeDepth): ditto
16032
16033         * bufferparams.h: use boost::
16034
16035         * bufferlist.h: inherit privately from noncopyable
16036
16037         * bufferlist.C (loadLyXFile): remove some commented code.
16038
16039         * buffer.C (runChktex): use LFUN_MESSAGE
16040
16041         * ShareContainer.h: inherit privately from noncopyable
16042
16043         * ParagraphParameters.[hC] (depth): inline it.
16044
16045         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16046         methods.
16047         (message): new method
16048         (messagePush): ditto
16049         (messagePop): ditto
16050         (show): init minibuffer
16051         (showState): direct call
16052
16053         * LaTeX.[Ch]: inherit privately from noncopyable
16054         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16055         instead of WriteStatus.
16056
16057         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16058
16059         * BufferView_pimpl.C (buffer): don't init minibuffer
16060         (workAreaButtonPress): use LFUN_MESSAGE
16061         (workAreaButtonRelease): ditto
16062         (savePosition): ditto
16063         (restorePosition): ditto
16064         (MenuInsertLyXFile): ditto
16065         (workAreaExpose): don't init minibuffer
16066         (update): remove commented code, simplify
16067
16068         * BufferView2.C (openStuff): use LFUN_MESSAGE
16069         (toggleFloat): ditto
16070         (menuUndo): ditto
16071         (menuRedo): ditto
16072         (copyEnvironment): ditto
16073         (pasteEnvironment): ditto
16074         (copy): ditto
16075         (cut): ditto
16076         (paste): ditto
16077         (gotoInset): ditto
16078         (updateInset): remove some commented code
16079
16080         * lastfiles.h: inherit privately from noncopyable
16081         * layout.h: ditto
16082         * lyx_gui.h: ditto
16083         * lyx_main.h: ditto
16084         * lyxlex.h: ditto
16085         * lyxlex_pimpl.h: ditto
16086
16087         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16088         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16089         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16090
16091         * LyXAction.h: inherit privately from noncopyable, add methods
16092         func_begin, func_end, returning iterators to the func map.
16093
16094         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16095         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16096         (func_begin): new method
16097         (func_end): new method
16098
16099         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16100         and not)
16101         (copySelection): ditto
16102         (pasteSelection): ditto
16103
16104         * BufferView.C: whitespace change
16105         * BufferView.h: inherit privately from noncopyable
16106
16107 2001-04-16  Allan Rae  <rae@lyx.org>
16108
16109         * tabular-old.C (l_getline):
16110         * spellchecker.C (sc_check_word):
16111         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16112         an unrecognised preprocessor directive.  So ensure they're wrapped.
16113
16114 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16115
16116         * src/exporter.C (Export): Give an error message when path to file
16117         contains spaces.
16118
16119 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16120
16121         * LaTeX.C (deplog): Always check that foundfile exists.
16122
16123 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16124
16125         * lyx_main.h:
16126         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16127
16128 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * tabular.[Ch] (getLabelList): implement new method
16131
16132         * minibuffer.h: comment ouf setTiimer
16133
16134         * minibuffer.C (ExecutingCB): constify res
16135         (peek_event): constify s
16136         (Set): constify ntext
16137         (Init): constify nicename
16138
16139         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16140
16141         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16142         (savePosition): use two params to Minibuffer::Set
16143         (restorePosition): ditto
16144
16145 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16146
16147         * lyx_main.C: include language.h
16148
16149         * Makefile.am (lyx_main.o): add language.h
16150
16151 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16152
16153         * exporter.C:
16154         * paragraph.C:
16155         * screen.C:
16156         * tabular.C:
16157         * CutAndPaste.C: include gettext.h
16158
16159         * lyxfont.h: remove old hack with ON and OFF.
16160
16161         * lyxparagraph.h:
16162         * lyxfont.h: do not include language.h...
16163
16164         * BufferView2.C:
16165         * LaTeXFeatures.C:
16166         * Painter.C:
16167         * bufferview_funcs.C:
16168         * font.C:
16169         * lyxfont.C:
16170         * text.C:
16171         * text2.C:
16172         * trans_mgr.C:
16173         * paragraph.C: ... but do it here instead
16174
16175 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16176
16177         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16178
16179         * tabular.C: small reformat
16180
16181         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16182         NEW_INSETS version
16183         (GetChar): ditto
16184         (BreakParagraph): ditto
16185         (SetOnlyLayout): ditto
16186         (SetLayout): ditto
16187
16188         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16189         with one arg less.
16190
16191         * lastfiles.C: removed most using decl, add std:: where needed
16192
16193         * buffer.C: ws changes
16194
16195         * MenuBackend.C (class compare_format): put into anon namespace
16196         (expand): constify label, names, action, action2
16197         (expand):
16198
16199         * text.C (SingleWidth): constify font
16200         (IsBoundary): constify rtl2
16201         (GetVisibleRow): constify ww
16202
16203         * LaTeX.C (deplog): constify logfile
16204
16205         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16206         start_x, end_x
16207         (workAreaExpose): constify widthChange, heightChange
16208
16209         * lyxrow.C (par): moved
16210         (height): moved
16211         (next): moved
16212         * lyxrow.h: as inlines here
16213
16214         * lyxfont.h (shape): moved from lyxfont.C
16215         (emph): moved from lyxfont.C
16216
16217         * lyxfont.C (LyXFont): use initialization list for all
16218         constructors
16219         (shape): move to lyxfont.h as inline
16220         (emph): move to lyxfont.h as inline
16221
16222
16223 2001-04-04  Juergen Vigna  <jug@sad.it>
16224
16225         * vspace.C: had to include stdio.h for use of sscanf
16226
16227 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16228
16229         * BufferView.h:
16230         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16231         independent of xforms.
16232
16233 2001-04-02  Juergen Vigna  <jug@sad.it>
16234
16235         * spellchecker.C: fixed namespace placing!
16236
16237 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16238
16239         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16240         the LyXParagraph * is 0.
16241
16242 2001-03-29  Juergen Vigna  <jug@sad.it>
16243
16244         * vspace.C: added support for %, c%, p%, l%.
16245         (stringFromUnit): added helper function.
16246         (asLatexString): changed to give right results for the %-values.
16247
16248         * buffer.C: convert the widthp in a width%.
16249
16250 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16251
16252         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16253         figureForm.[Ch].
16254
16255         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16256         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16257
16258         * lyx_cb.[Ch]: see above.
16259
16260         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16261         form1.[Ch].
16262
16263         * form1.[Ch]:
16264         * lyx.[Ch]: replaced by figure_form.[Ch].
16265
16266         * lyx_gui.C:
16267         * lyx_gui_misc.C:
16268         * lyxfunc.C: changed headers associated with above changes.
16269
16270 2001-03-27  Juergen Vigna  <jug@sad.it>
16271
16272         * BufferView_pimpl.C: set the temporary cursor right!
16273
16274 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16275
16276         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16277
16278 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16279
16280         * LString.h: removed "using std::getline"!
16281
16282         * BufferView_pimpl.C (Dispatch): changes due to changes in
16283         InsetInclude::Params.
16284
16285         * buffer.C (tag_name): removed redundant break statements as they were
16286         producing lots of warnings with my compiler.
16287
16288 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * LString.h: add "using std::getline" when using the real <string>.
16291
16292 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16293
16294         * buffer.C: removed bitset usage.
16295         PAR_TAG moved to an anonymous name space.
16296         (tag_name): new funtion, also in the anonymous namespace.
16297         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16298         (makeDocBookFile): clean code. Completed transition from string arrays
16299         to string vectors.
16300         (SimpleDocBookOnePar): code clean.
16301
16302 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16303
16304         * tabular.C: add some comments.
16305
16306 2001-03-22  Juergen Vigna  <jug@sad.it>
16307
16308         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16309         compatibility read a bit and fixed bug with minipage in different
16310         depth.
16311
16312 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16313
16314         * buffer.C (pop_tag): removed.
16315         (push_tag): removed.
16316         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16317         array replaced with vector. Added support for CDATA sections.
16318         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16319         at any nest level.
16320         (makeDocBookFile): XML conformant declaration of CDATA section,
16321         fixed bug related to <emphasis> in the first paragraph char.
16322         (sgmlOpenTag): exclude empty tags.
16323         (sgmlCloseTag): ditto.
16324
16325         * buffer.h (pop_tag): removed.
16326         (push_tag): removed.
16327
16328 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16329
16330         * language.h (Languages): added size_type and size().
16331
16332 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16333
16334         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16335         response on compability reading of minipages. One probliem is that
16336         the old usage of minipages was «flertydig»
16337
16338         * several files here and in subdirs: don't use static at file
16339         scope use anon namespaces instead.
16340
16341 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16342
16343         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16344         LaTeX output. This is necessary for Literate document
16345         processing.
16346
16347 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16348
16349         * buffer.C: insert hfill when needed.
16350
16351         * tabular.C (l_getline): use string::erase, small whitespace change.
16352
16353         * BufferView_pimpl.C: try the anon namespace.
16354         * WorkArea.C: ditto
16355
16356 2001-03-16  Juergen Vigna  <jug@sad.it>
16357
16358         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16359         otherwise it won't open options-dialogs.
16360
16361         * buffer.C: honor pextraWidth(p) on converting minipages.
16362
16363         * tabular.C (l_getline): changed the functions to strip trailing \r.
16364
16365 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16366
16367         * BufferView_pimpl.C:
16368         * minibuffer..C: added "using SigC::slot" declaration.
16369
16370 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16371
16372         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16373
16374         * text2.C: ditto
16375
16376         * text.C: ditto
16377
16378         * paragraph.C: ditto
16379
16380         * lyxtext.h: NO_PEXTRA
16381
16382         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16383
16384         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16385         * ParameterStruct.h: ditto
16386         * ParagraphParameters.h: ditto
16387         * lyxparagraph.h: ditto
16388
16389 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16390
16391         * buffer.C: add compability for minipage alignment.
16392         (latexParagraphs): remove unwanted pextra check.
16393
16394         * several files: remove CXX_WORKING_NAMESPACES
16395
16396         * buffer.C (pop_tag): tie is in namespace boost
16397
16398         * BufferView.h: noncopyable is in namespace boost
16399         * lyxlex.h: ditto
16400         * lyx_main.h: ditto
16401         * lyx_gui.h: ditto
16402         * layout.h: ditto
16403         * lastfiles.h: ditto
16404         * bufferlist.h: ditto
16405         * ShareContainer.h: ditto
16406         * LyXView.h: ditto
16407         * LyXAction.h: ditto
16408         * LaTeX.h: ditto
16409
16410 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16411
16412         * Merging changes from BRANCH_MVC back into HEAD.
16413
16414         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16415
16416 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16417
16418         * BufferView_pimpl.C: change from intl.C
16419
16420         * combox.h:
16421         * combox.C:
16422         * Makefile.am: move combox.*
16423
16424         * form1.h:
16425         * form1.C:
16426         * lyx_gui.C:
16427         * intl.h:
16428         * intl.C: remove dialog (covered by prefs)
16429
16430 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16431
16432         * lyxfunc.C (Dispatch): removed redundant break statement.
16433
16434 2001-03-14  Juergen Vigna  <jug@sad.it>
16435
16436         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16437
16438 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16439
16440         * buffer.C: add hack to fix compability reading of minipages.
16441
16442 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16443
16444         * buffer.C (getLists): Cleanup.
16445
16446 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16447
16448         * lyxfont.C (update): don't honor toggleall on font size.
16449
16450 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16451
16452         * bmtable.c:
16453         * bmtable.h:
16454         * Makefile.am: moved to frontends/xforms/
16455
16456         * lyx_gui_misc.C:
16457         * lyxfunc.C:
16458         * BufferView_pimpl.C: changes for moved mathpanel
16459
16460 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16461
16462         * gettext.h: fix gettext_init() in --disable-nls
16463
16464 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16465
16466         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16467
16468 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16469
16470         * lyx.C:
16471         * lyx.h: strip external form
16472
16473 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16474
16475         * BufferView_pimpl.C: add comment, destroySplash()
16476
16477 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * BufferView_pimpl.C:
16480         * LyXAction.C:
16481         * buffer.C:
16482         * commandtags.h:
16483         * lyxfunc.C: use re-worked insetinclude
16484
16485 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16486
16487         * buffer.C: add using std::stringstream.
16488
16489         * lyx_cb.C: readd using std::ios.
16490
16491         * buffer.C: add using std::map.
16492
16493         * BufferView_pimpl.C: add using std::vector.
16494
16495         * ShareContainer.h: add std:: to swap.
16496
16497         * buffer.h: add some typedefs
16498         * buffer.C (getLists): use them
16499         (getLists): renamed from getTocList.
16500         add a counter for the different float types and use it in the
16501         generated string.
16502         (getLists): use the same counter for the NEW_INSETS and the "non"
16503         NEW_INSETS
16504
16505         * lyx_cb.h: remove unused items, includes, using etc.
16506
16507         * ShareContainer.h: remove some commented code, add more comments
16508         and "documentation".
16509
16510 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16511
16512         * buffer.C (getTocList): make the list also when NEW_INSETS is
16513         defined.
16514
16515         * buffer.h: remove TocType
16516
16517         * buffer.C (getTocList): change to return a map<string,
16518         vector<TocItem> >, implement for dynamic number of list.
16519
16520         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16521         * text2.C (PasteSelection): adjust
16522         * CutAndPaste.C (pasteSelection): adjust
16523
16524         * FloatList.C (FloatList): update from the new_insets branch.
16525         * Floating.[Ch]: ditto
16526         * LaTeXFeatures.C: ditto
16527         * buffer.C: ditto
16528         * lyxlex_pimpl.C: ditto
16529
16530         * paragraph.C (Last): remove when NEW_INSETS is defined.
16531
16532         * other file: changes because of the above.
16533
16534 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16535
16536         * lyxparagraph.h: rename next to next_, previous to previous_,
16537         make them private for NEW_INSETS. Rename Next() to next(),
16538         Previous() to previous().
16539
16540         * other files: changes because of the above.
16541
16542 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * BufferView.h:
16545         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16546         problem.
16547
16548 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16549
16550         * main.C (main): pass lyx_localedir to gettext_init().
16551
16552         * gettext.h: remove locale_init and gettext_init macros
16553
16554         * gettext.C (locale_init): new function
16555         (gettext_init): new function
16556
16557         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16558         setlocale().
16559
16560 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16561
16562         * Moved credits to frontends:
16563         * credits.[Ch]: removed
16564         * credits_form.[Ch]: removed
16565         * lyx_gui_misc.C: remove credits stuff
16566         * Makefile.am:
16567
16568 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16569
16570         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16571
16572         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16573         unneeded destructor.
16574
16575         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16576         a standalone pointer again.
16577
16578         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16579
16580 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16581
16582         * Makefile.am:
16583         * filedlg.h:
16584         * filedlg.C:
16585         * LyXAction.C:
16586         * ToolbarDefaults.C:
16587         * bufferlist.C:
16588         * commandtags.h:
16589         * form1.C:
16590         * form1.h:
16591         * lyx_cb.C:
16592         * lyx_cb.h:
16593         * lyxfunc.h:
16594         * lyxfunc.C:
16595         * BufferView_pimpl.C: use new file dialog in GUII
16596
16597         * lyx_cb.h:
16598         * lyx_cb.C: remove LayoutsCB to Toolbar
16599
16600 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * ShareContainer.h (get): add std:: qualifier
16603
16604 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16605
16606         * ShareContainer.h: define a proper ShareContainer::value_type
16607         type (and use typename to please compaq cxx)
16608
16609 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16610
16611         * lyxparagraph.h: move serveral local vars to
16612         ParameterStruct/ParagraphParameters., use ShareContainer in
16613         FontTable., make vars in FontTable private and add getter and
16614         setter.
16615
16616         * paragraph.C: changes because of the above.
16617
16618         * lyxfont.h: remove copy constructor and copy assignment. (the
16619         default ones is ok), move number inside FontBits. move inlines to
16620         lyxfont.C
16621
16622         * lyxfont.C: add number to initializaton of statics, move several
16623         inlines here. constify several local vars. some whitespace
16624         cleanup. Dont hide outerscope variables.
16625
16626         * Spacing.h: add two new constructors to match the set methods.
16627
16628         * ShareContainer.h: new file, will perhaps be moved to support
16629
16630         * ParameterStruct.h: new file
16631
16632         * ParagraphParameters.h: new file
16633
16634         * ParagraphParameters.C: new file
16635
16636         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16637         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16638
16639         * BufferView_pimpl.C: ParagraphParameter changes.
16640         * buffer.C: Likewise.
16641         * bufferview_funcs.C: Likewise.
16642         * text.C: Likewise.
16643         * text2.C: Likewise.
16644
16645 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16646
16647         * lyxfind.C (LyXReplace): do not redefine default argument in
16648         implementation.
16649         (IsStringInText): ditto
16650         (SearchForward): ditto
16651         (SearchBackward): ditto
16652
16653 2001-03-06  Juergen Vigna  <jug@sad.it>
16654
16655         * lyxfind.C (IsStringInText): put parentes around expressions.
16656
16657 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16658
16659         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16660
16661 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16662
16663         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16664
16665         * stl_string_fwd.h: add comment
16666
16667         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16668
16669         * tabular.h:
16670         * tabular.C: remove unused DocBook methods
16671
16672         * intl.C:
16673         * language.C:
16674         * paragraph.C:
16675         * buffer.C:
16676         killed DO_USE_DEFAULT_LANGUAGE
16677
16678 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * lyx_gui.C: do not include language.h.
16681
16682         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16683         arguments in function implementation.
16684
16685 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * BufferView_pimpl.C: add <ctime>
16688
16689 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16690
16691         * BufferView_pimpl.C: add using std::find_if
16692
16693 2001-02-27  José Matos  <jamatos@fep.up.pt>
16694
16695         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16696         by OnlyPath.
16697
16698 2001-02-11  José Matos  <jamatos@fep.up.pt>
16699
16700         * buffer.C (makeDocBookFile): command styles now have a parameter as
16701         "title" by default.
16702
16703 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16704
16705         * layout_forms.[Ch]: removed
16706         * lyx_cb.[Ch]: out character
16707         * lyx_gui.C: out character
16708         * lyx_gui_misc.C: out character
16709         * bufferview_funcs.C: : out character,
16710         added toggleall as parameter in ToggleAndShow
16711
16712 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16713
16714         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16715
16716         * text2.C (SetCurrentFont): Disable number property at boundary.
16717
16718 2001-02-26  Juergen Vigna  <jug@sad.it>
16719
16720         * lyxfunc.C (getStatus): added a string argument override function so
16721         that this is correctly called from LyXFunc::Dispatch if it contains a
16722         do_not_use_argument which is used!
16723         (Dispatch): added check for "custom" export and call appropriate func.
16724
16725 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16726
16727         * lyxrc.C: Add language_command_local, language_use_babel and
16728         language_global_options.
16729
16730         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16731
16732         * buffer.C (makeLaTeXFile): Use language_use_babel and
16733         language_global_options.
16734
16735 2001-02-23  Juergen Vigna  <jug@sad.it>
16736
16737         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16738         which works with LyXText and putted it inside BufferView. Here now we
16739         only call for that part the BufferView::Dispatch() function.
16740
16741         * BufferView.C (Dispatch): added.
16742
16743         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16744         functions which needs to use a LyXText over from LyXFunc.
16745         (MenuInsertLyXFile): added
16746         (getInsetByCode): added
16747         (moveCursorUpdate): added
16748         (static TEXT): added
16749
16750 2001-02-22  Juergen Vigna  <jug@sad.it>
16751
16752         * BufferView_pimpl.C (update): call a status update to see if LyXText
16753         needs it.
16754
16755 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16756
16757         * vc-backend.C (revert): implement for CVS
16758         (getLog): implement for CVS
16759
16760 2001-02-20  Juergen Vigna  <jug@sad.it>
16761
16762         * text2.C (ClearSelection): added BufferView param for inset_owner call
16763
16764         * lyxfunc.C (TEXT): added this function and use it instead of
16765         directly owner->view()-text of getLyXText().
16766
16767 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16768
16769         * src/layout_forms.C: out preamble
16770         * src/layout_forms.h: out preamble
16771         * src/lyx_cb.C: out preamble
16772         * src/lyx_cb.h: out preamble
16773         * src/lyx_gui.C: out preamble
16774         * src/lyx_gui_misc.C: out preamble
16775         * src/lyxfunc.C: connect with guii preamble
16776
16777 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16778
16779         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16780
16781 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16782
16783         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16784         whether to run bibtex.
16785
16786 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16789
16790 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16791
16792         * Makefile.am (lyx_SOURCES): removed bibforms.h
16793
16794         * vspace.h: doxygen
16795
16796         * text.C (GetVisibleRow): make several local vars const
16797
16798         * tabular.C: small cleanup.
16799
16800         * lyxserver.C (callback): use compare instead of strncmp
16801
16802         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16803         inlines to after class or to paragraph.C
16804
16805         * lyxfont.h: remove friend operator!=
16806
16807         * converter.h: move friend bool operator< to non friend and after
16808         class def.
16809
16810         * combox.h: small cleanup
16811
16812         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16813         to inlines after class def.
16814
16815         * buffer.C (pop_tag): use string operations instead of strcmp
16816
16817         * bmtable.c: doxygen, small cleanup
16818
16819         * LaTeX.h: remove friend operator==
16820
16821 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16822
16823         * screen.C:
16824         * lyxrc.[Ch]:
16825         * lyxfunc.C:
16826         * lyxfont.[Ch]:
16827         * lyx_cb.C:
16828         * intl.[Ch]:
16829         * commandtags.h:
16830         * buffer.C:
16831         * WorkArea.[Ch]:
16832         * LyXAction.C:
16833         * BufferView_pimpl.C:
16834         * BufferView.[Ch]: remove cruft
16835
16836 2001-02-14  Juergen Vigna  <jug@sad.it>
16837
16838         * lyxfunc.C: removed #if 0 unused code
16839
16840         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16841
16842         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16843
16844         * text2.C (SetSelection): added a BufferView * parameter
16845
16846 2001-02-13  Juergen Vigna  <jug@sad.it>
16847
16848         * lyxfunc.C (Dispatch): fixed protected blank problem.
16849         * BufferView2.C (protectedBlank): added LyxText * parameter.
16850
16851         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16852         (AppendColumn): same as above for column_info.
16853
16854         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16855         (moveCursorUpdate): use a LyXText param for support of InsetText.
16856
16857         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16858         (tripleClick): ditto
16859
16860         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16861
16862         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16863
16864         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16865
16866         * text2.C (SetSelection): set correct update status if inset_owner
16867         (ToggleFree): ditto
16868
16869 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16870
16871         * tabular.C: remove some commented code.
16872
16873 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16874
16875         * BufferView_pimpl.C: call hideSplash()
16876
16877         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16878
16879         * include_form.h:
16880         * bibforms.h: remove
16881
16882         * lyxfunc.C:
16883         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16884           add LFUN_CHILD_CREATE
16885
16886         * counters.h: fix tiny typo
16887
16888         * lyx_cb.C:
16889         * lyx.h:
16890         * lyx_gui.C:
16891         * lyx.C: move splash to frontends/xforms/
16892
16893         * lyx_gui_misc.C: move Include and Bibform to frontends
16894
16895         * lyxvc.h: clarify comment
16896
16897         * vspace.C: tiny housekeeping
16898
16899 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16900
16901         * text.C (PrepareToPrint): RTL Fix.
16902
16903         * paragraph.C (GetUChar): New method.
16904         (String):  Use GetUChar.
16905
16906         * buffer.C (asciiParagraph): Use GetUChar.
16907
16908 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16909
16910         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16911
16912 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16913
16914         * buffer.h:
16915         * buffer.C: rename to getLogName(), handle
16916           build log / latex log nicely
16917
16918 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16919
16920         * MenuBackend.C:
16921         * MenuBackend.h: remove support for reference menuitem type.
16922
16923 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16924
16925         * BufferView_pimpl.C: housekeeping
16926         * BufferView_pimpl.h:
16927         * LyXView.h:
16928         * Makefile.am:
16929         * Timeout.C:
16930         * Timeout.h:
16931         * minibuffer.h: move Timeout GUI-I
16932
16933 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16934
16935         * lyxrc.C (read): Update converters data-structures.
16936
16937 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16938
16939         * LaTeX.h (operator!=): add operator != for Aux_Info
16940
16941 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16942
16943         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16944
16945         * LaTeXLog.C: deleted, useful code moved to Buffer
16946
16947         * buffer.h:
16948         * buffer.C: new function getLatexLogName()
16949
16950         * lyx_gui_misc.C:
16951         * lyx_gui.C:
16952         * lyxvc.C:
16953         * lyxvc.h:
16954         * lyxfunc.C: use frontends for LaTeX and VC logs
16955
16956 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16957
16958         * LaTeX.h: yet another std:: that Allan forgot.
16959
16960         * Variables.C (set): renamed from isset(), because this clashes
16961         with some HP-UX macros (grr).
16962
16963 2001-02-06  Allan Rae  <rae@lyx.org>
16964
16965         * LaTeX.h: Another bug fix.  Missing std:: this time.
16966
16967 2001-02-04  Allan Rae  <rae@lyx.org>
16968
16969         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16970         floats problem. I've left it commented out because it's not quite
16971         correct.  It should also test that the current object is a table or
16972         figure inset.  But I haven't gotten around to figuring out how to do
16973         that.  I *think* it'll be something like: "table" == inset.type()
16974
16975         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16976         bool.
16977
16978 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16979
16980         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16981         all the citation/databases/styles in the auxilary file.
16982         (run): Rerun latex if there was a babel language error.
16983
16984 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16985
16986         * text.C (Backspace): Preserve the font when changing newline char
16987         with a space.
16988         (BreakParagraph): If the cursor is before a space, delete the space.
16989
16990         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16991
16992 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16993
16994         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16995         new argument (code).
16996         (ChangeCitationsIfUnique): New method.
16997
16998         * paragraph.C (GetPositionOfInset): Handle bibkey.
16999
17000 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * BufferView_pimpl.h: change type of Position::par_pos to
17003         LyXParagraph::size_type.
17004
17005 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17006
17007         * BufferView_pimpl.C (savePosition, restorePosition): Write
17008         messages to minibuffer.
17009
17010 2001-01-28  José Matos  <jamatos@fep.up.pt>
17011
17012         * buffer.C (makeDocBookFile): adds support for document language.
17013         A silly restriction on the name of LatexCommand types where removed.
17014         Added support for CDATA sections, allows to chars unescaped, used
17015         among others in code, to avoid escape < and >.
17016
17017 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17018
17019         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17020         saved positions instrad of a stack. Furthermore, a position is
17021         stored using paragraph id/paragraph position.
17022
17023         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17024         Remove LFUN_REF_BACK.
17025
17026 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17027
17028         * converter.C (dvipdfm_options): New method.
17029
17030 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17031
17032         * vspace.C (isValidLength): Fix for empty input string.
17033
17034 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17035
17036         * LyXAction.C (init): change description of LFUN_FIGURE to
17037         "Insert Graphics"
17038
17039 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17040
17041         * LaTeX.C: add using directive
17042
17043 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17044
17045         * MenuBackend.C (expand): Fix the sorting of the formats.
17046
17047 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17048
17049         * lyx_main.C: tiny error message fix
17050
17051 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17052
17053         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17054         calling fl_initialize(). This fixes the problem with ',' as
17055         decimal separator in text files.
17056
17057 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17058
17059         * trans.C (process): Fix the keymap bug.
17060
17061 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17062
17063         * LaTeX.C (scanAuxFiles): New method. Provides support for
17064         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17065         (scanLogFile) Scan for "run BibTeX" messages.
17066
17067         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17068         OT1 font encoding. Also, load the aecompl package if the ae
17069         package is loaded.
17070
17071         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17072
17073 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17074
17075         * texrow.C (increasePos): turn two error messages into debug
17076         messages.
17077
17078 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17079
17080         * LaTeX.C (scanAux): Handle the \@input macro.
17081         (runBibTeX): Use scanAux().
17082
17083         * language.C (latex_options_): New field.
17084
17085         * LaTeXFeatures.C (getMacros): Add language macros.
17086
17087         * buffer.C (makeLaTeXFile): Small fix.
17088
17089 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17090
17091         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17092
17093         * text2.C: add a using directive.
17094
17095 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17096
17097         * BufferView2.C:
17098         * lyx_gui_misc.h:
17099         * lyxfr1.C:
17100         * lyxfunc.C: kill LyXBell.
17101
17102 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17103
17104         * text.C (IsBoundary): Remove the error message
17105
17106         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17107
17108         * lyxrc.C (setDefaults): Correct initialization value for
17109         font_norm_type.
17110
17111 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17112
17113         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17114         gotoError().
17115
17116         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17117         and GotoNextNote().
17118
17119         * src/LyXAction.C: Added reference-next.
17120
17121         * text.C (InsertChar): Use contains instead of strchr.
17122
17123         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17124
17125 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17126
17127         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17128         alignment commands (when needed).
17129
17130         * text.C (InsertChar): Add ':' to number separator chars.