]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2aa080a3f4821ed347b6ea7db1e6d4a50b3caa3a
[lyx.git] / src / ChangeLog
1 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * output_linuxdoc.C (linuxdocParagraphs): silence warning
4
5         * lyxfind.C (MatchString::operator()): remove bogus semicolon
6
7 2005-01-20  Angus Leeming  <leeming@lyx.org>
8
9         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
10         printing diagnostic data by not dereferecing an iterator past the
11         end.
12
13 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
14
15         * buffer.C (readHeader): use "&&" rather than "and".
16
17         * lyxserver.h (inPipeName, outPipeName): make these const.
18
19 2005-01-19  Angus Leeming  <leeming@lyx.org>
20
21         * lyx_main.C (error_handler, init): protect SIGHUP with
22         #ifdef SIGHUP guards.
23
24 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
27
28 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * text.C (setHeightOfRow): add a margin at the top and bottom of
31         the document (bug 1761)
32
33 2005-01-17  Angus Leeming  <leeming@lyx.org>
34
35         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
36         with "python ". Workaround for a brain-dead Windows.
37
38 2005-01-16  Angus Leeming  <leeming@lyx.org>
39
40         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
41         for MacOSX and Windows to use prependEnvPath.
42         Strip out the hard-coded block to add elements to the PATH for
43         MacOSX and replace it with a call to prependEnvPath using the
44         contents of LyXRC::path_prefix.
45         (queryUserLyXDir): strip out the code to run reconfigure, instead
46         returning a boolean indicating the necessity to do so.
47         (reconfigureUserLyXDir): contains the code to reconfigure the
48         user support directory. Is now called after the various LyXRC data
49         files have been read.
50
51         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
52
53 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
54
55         * converter.[Ch] (convert): take a new parameter try_default. Use
56         a default converter (imagemagick) if try_default is true.
57
58 2005-01-13  Angus Leeming  <leeming@lyx.org>
59
60         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
61         os::cygwin_path_fix.
62         (write): output LyXRC::cygwin_path_fix as necessary.
63
64 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
65
66         * lyxrc.h:
67         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
68
69 2005-01-12  Angus Leeming  <leeming@lyx.org>
70
71         * lyx_main.C (init): set the PATH variable to include the
72         directory containing the LyX binary when running on Mac or Windows.
73
74 2005-01-12  Angus Leeming  <leeming@lyx.org>
75
76         * lyx_main.C (init): remove cruft that purports to set the locale
77         dir. It doesn't and is not needed anyway.
78
79 2005-01-10  Angus Leeming  <leeming@lyx.org>
80
81         * Makefile.am: remove the lyx_main.C special casing.
82
83         * BufferView_pimpl.C:
84         * bufferlist.C:
85         * exporter.C:
86         * lyx_cb.C:
87         * lyx_main.C:
88         * lyxfunc.C:
89         * messages.C: use support/package.h to provide the paths to the
90         various directories used by LyX.
91
92 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
95         layout if pasting into an empty paragraph)
96
97 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
98
99         * tex-accent.C: add <string>
100
101 2005-01-06  José Matos  <jamatos@lyx.org>
102
103         * ParagraphParameters.C (write): put every parameter in its own line.
104         * paragraph.C (write): reduce number of consecutive empty lines exported.
105         * buffer.C (LYX_FORMAT): increase file format to 239.
106
107 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
108
109         * everywhere: change support/tostr.h -> support/convert.h
110
111         * tabular.C: make all write_attributes templates, tostr -> convert
112
113         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
114         (emptyTag): and -> &&, and fix type for ret from getChar
115         (getFirstWord): fix type for ret from getChar
116         (onlyText): and -> &&
117         (simpleDocBookOnePar): and not -> && !, fix type for ret from
118         getChar
119
120         * toc.C (goTo, action):
121         * text3.C (dispatch):
122         * text.C (currentState):
123         * tex-accent.C (DoAccent):
124         * sgml.C:
125         * lyxrc.C:
126         * lyxfunc.C (menuNew):
127         * lyxfinc.C (replace):
128         * counters.C (laberItem):
129         * bufferview_funcs.C (font2string):
130         * bufferparams.C (writeFile):
131         * buffer.C (readFile):
132         * Spacing.C (set):
133         * MenuBackend.C: tostr -> convert
134
135         * LaTeX.C (runMessage): fix format
136         (scanAuxFiles): tostr -> convert
137
138         * BufferView_pimpl.C (savePosition): fix format
139         (restorePosition): ditto
140         (dispatch): ditto
141
142 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
143
144         * Spacing.[Ch]: New method getValueAsString().
145
146         * Spacing.[Ch]:
147         * bufferparams.C:
148         * ParagraphParameters.C:
149         * lyxlayout.C:
150         * text.C:
151         * text3.C: store/read spacing value as string.
152
153         * rowpainter.C: change float value (spacing_val) to double.
154
155         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
156         broken custom document spacing).
157
158 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
159
160         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
161         namespace, also more use of temp references and const
162
163         * cursor.[Ch] (getStatus): move to lyxfunc.C
164
165         * bufferparams.C: reformat slightly
166
167         * bufferview_funcs.C (font2string): constify arg
168
169         * changes.C:
170         * converter.C:
171         * counters.C:
172         * bufferlist.C:
173         * buffer_funcs.C: (many funcs): constify arg on function
174         definitions, also make more local vars const, also add ASSERTS on
175         pointer args.
176
177         * buffer.C (LYX_FORMAT): put const in correct place
178         (many funcs): constify arg on function definitions, also make
179         more local vars const
180
181         * aspell_local.h: remove "struct" from typdef setup
182
183         * aspell.C (check): make word_ok const
184         (nextMiss): simplify slightly
185         (error): ditto
186
187 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * lyxrc.[Ch]: store all float values as strings.
190         use int (not float) for lyxrc.dpi.
191
192 2005-01-04  Angus Leeming  <leeming@lyx.org>
193
194         * lyx_cb.C (Reconfigure):
195         * lyx_main.C (queryUserLyXDir):
196         to run the <system_lyxdir>/configure correctly on Windows, prefix
197         the path to the script with "sh " when generating the string that
198         is passed to system().
199
200 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
203
204 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * lyxlength.C (asLatexString): get rid of setprecision
207
208 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text2.C (setLayout): remove unused variable endpit.
211         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
212
213         * paragraph.C (onlyText): remove unused variable style.
214
215         * cursor.C (bruteFind): remove unused variables beg and end.
216
217         * Makefile.am (dist_noinset_DATA): not needed anymore
218
219         * cheaders/*: remove.
220
221 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
222
223         * text3.C: fix LFUN_MATH_MODE.
224
225 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * buffer_funcs.C (countWords): new function. Counts words between
228         two iterators.
229
230         * BufferView_pimpl.C (getStatus, dispatch): handle
231         LFUN_WORDS_COUNT.
232
233         * LyXAction.C (init):
234         * lfuns.h: add LFUN_WORDS_COUNT.
235
236 2004-12-19  Angus Leeming  <leeming@lyx.org>
237
238         * buffer.C (save): s/slashify_path/internal_path/.
239
240 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
241
242         * lyxfind.C (findChange): do not search for end of pars, because
243         the change tracker cannot handle this (fixes bug 1719).
244
245 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * paragraph.[Ch] (autoBreakRows): remove
248
249         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
250
251         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
252         avoid using the paragraph one
253
254         * text2.C (LyXText, insertStringAsLines): adjust
255
256 2004-12-16  Angus Leeming  <leeming@lyx.org>
257
258         * bufferlist.C:
259         * lyx_main.C:
260         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
261
262 2004-12-14  Angus Leeming  <leeming@lyx.org>
263
264         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
265
266         * bufferlist.C (emergencyWrite):
267         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
268         GetEnvPath("HOME").
269
270 2004-12-14  Angus Leeming  <leeming@lyx.org>
271
272         * main.C: (main): no longer pass pointers to os::init.
273
274 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
275
276         * undo.C (textUndoOrRedo): simplify logic, fix a crash
277         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
278
279 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * lyxfunc.C:
282         * text3.C: remove selection_possible global flag
283
284 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * text2.C (getSelectionSpan): remove
287         (changeDepth, changeDepthAllowed): adjust
288
289 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
290
291         * Makefile.am (BOOST_LIBS): use boost variables
292
293 2004-12-03  José Matos  <jamatos@lyx.org>
294
295         * buffer.C: format up to 238.
296
297 2004-12-03  José Matos  <jamatos@lyx.org>
298
299         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
300
301 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
302
303         * cursor.C (goUpDown): remove call to idxUpDown2
304
305 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
306
307         * tabular.[Ch]: use size_t-like types for cell, row and column
308         indices
309
310 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * lyxfunc.C (getStatus): do not lose previous information when
313         calling BufferView::getStatus; do not set a default "Command
314         disabled" message at the beginning, but just before returning.
315
316 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
317
318         * cursor.h (getStatus): add better comment from src/cursor.C
319
320 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
321
322         * text3.C (getStatus): return false when the lfun is not handled
323
324 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * broken_headers.h: remove
327
328         * Makefile.am (lyx_SOURCES): remove broken_headers.h
329
330 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
333         offset_ref accessors
334
335         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
336         top_y_, merge fitcursor with update
337         (updateScrollbar, scrollDocView, fitCursor, center, update): new
338         coord scheme
339         (metrics): introduce
340         (workAreaDispatch): adapt to new coord scheme
341         (redoCurrentBuffer): remove
342
343         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
344
345         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
346         CurStatus enum.
347
348         * coordcache.[Ch]: add paragraph cache and helpers
349
350         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
351         adjust everywhere
352
353         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
354         (targetX, setTargetX): introduce
355
356         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
357         baseline -> ascent, as the rest of lyx
358
359         * lyxtext.h: remove redoParagraphs, updateParPositions,
360         fullRebreak, redoParagraphInternal. move dist to anon namespace in
361         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
362         have ascent/descent (ascent is ascent of first par)
363
364         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
365         step of BufferView
366
367         * paragraph.[Ch]: unify dimension handling with the rest of lyx
368
369         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
370
371         * pariterator.C: fix infinite loop introduced in par->pit renaming
372
373         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
374         in insets and LyXText, draw two off-screen paragraphs using
375         NullPainter, and adapt to new coord scheme
376
377         * text.C:
378         * text2.C:
379         * text3.C: adapt lfun handlers to the new coord scheme, which
380         means: there's only guaranteed coord information for onscreen pars
381         plus one above and one below. This implies that one can do search
382         from y coordinates in the range [-1,workHeight]
383
384 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
385
386         * rename a lot of InsetOld to InsetBase
387
388 2004-11-25  Angus Leeming  <leeming@lyx.org>
389
390         * BufferView_pimpl.C:
391         * lyx_cb.C:
392         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
393
394 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
397         call BufferView::getStatus if LCursor::getStatus did nothing
398         (setStatusMessage, getStatusMessage): removed.
399
400         * FuncStatus.C (message): new methods. Used to provide an error
401         message indicating why a command is disabled.
402         (clear, |=, FuncStatus): update for message.
403
404 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
405
406         * lyxfunc.C (dispatch): always call sendDispatchMessage
407
408 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
409
410         * BufferView.C:
411         * BufferView_pimpl.C:
412         * CutAndPaste.C:
413         * FontIterator.C:
414         * buffer.C:
415         * cursor.C:
416         * cursor_slice.[Ch]:
417         * dociterator.[Ch]:
418         * lyxfind.C:
419         * paragraph_funcs.C:
420         * pariterator.C:
421         * rowpainter.C:
422         * text.C:
423         * text2.C:
424         * text3.C:
425         * undo.C: par->pit renaming
426
427 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
428
429         * tabular.C (cellstruct): use initialization, store a shared_ptr
430         to insettext instead of the insettext directly, adjust to fit.
431         (operator=):  new function
432         (swap): new function
433         (rowstruct): use initialization
434         (columnstruct): use initialization
435         (ltType): use initialization
436
437
438         * lyxlength.h (swap): new function
439
440         * LColor.[Ch] (operator=): use the common semantics
441
442 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * lyxfind.C (findNextChange): update the bufferview after setting
445         the selection.
446
447 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
450         number of InsetOptArgs has already been inserted.
451
452         * output_latex.C (latexOptArgInsets): new method. This outputs all
453         the optarg insets, up to the limit defined in the layout file.
454         (optArgInset): removed
455         (TeXOnePar): call latexOptArgInsets; correctly update texrow
456
457 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * paragraph.C (isLetter): remove special spellchecker-related
460         code; return true also for digits
461         (isWord, isKomma): remove
462
463         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
464         * lyxfind.C (MatchString()): use isLetter instead of isWord
465
466 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
467
468         * pariterator.h (operatir=): comment out un-implemented member
469         function.
470
471         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
472         static cast.
473
474 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
475
476         * lyxfont.h: include LColor.h to satisfy concept checks.
477
478 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
479
480         * pariterator.h: add typdefs for value_type, difference_type,
481         pointer and reference to satisfy concept checks. Also add default
482         constructor for same reason.
483
484         * pariterator.C (operator++): add post-increment operator to
485         satisfy concept checks.
486
487         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
488         checks.
489
490         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
491
492         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
493         checks. Also rename base_type to BaseType to follow naming
494         standard better.
495
496         * FloatList.h: include Floating.h to satisfy concept checks.
497
498 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * lyxfunc.C (getStatus): when the origin of the request is menu or
501         toolbar, and the LyXView does not have focus, do as if there was
502         no buffer (bug 1720)
503
504         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
505         FuncRequest to individual entries of LFUN_SEQUENCE
506
507 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508
509         * output_latex.C (TeXOnePar): override runparams.moving_arg
510         according to the needprotect value of the current paragraph (bug
511         1739)
512
513         * paragraph.C (simpleTeXOnePar): no need to override
514         runparams.moving_args here
515
516 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
517
518         * vspace.C: fix off-by-one-error, related to fix #1682
519
520 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
521
522         * lengthcommon.C: a more general fix for bug 1682
523
524 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * text.C (backspace): fix crash
527
528 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
529
530         * format.[Ch] (getFormatFromFile): new method
531         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
532
533 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
534
535         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
536
537 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * lyxfunc.C (dispatch): remove the verbose argument
540         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
541         instead
542
543         * kbmap.C (defkey): set the origin of func to KEYBOARD
544
545         * MenuBackend.C (MenuItem):
546         * ToolbarBackend.C (add): set the origin of func to UI
547
548         * funcrequest.[Ch]: add origin member, which indicates which part
549         of LyX requests an action
550
551 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * converter.C (move): don't lie in the error message
554         * converter.h (isReachable, move): document
555
556 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
557
558         * buffer.C: remove unused using lyx::support::atoi
559         * paragraph_funcs.C: ditto
560
561 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
562
563         * bufferlist.C (exists): use bind and equal_to instead of
564         compare_memfun
565         (getBuffer): ditto
566         * lyxtextclasslist.C (NumberOfClass): ditto
567
568         * cursor.C (insert): use for_each instead of explicit for loop
569
570         * bufferlist.C (getFileNames): use std::transform and
571         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
572
573         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
574         for loop
575
576         * buffer.C (changeLanguage): use for_each instead of explicit for
577         loop
578         (hasParWithID): implement using getParFromID
579
580         * LaTeXFeatures.C: ws change only
581
582         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
583         to cleanup a bit.
584
585         * BufferView_pimpl.C (trackChanges): use for_each instead of
586         expilicit for loop
587
588 2004-11-04  André Pönitz  <poenitz@gmx.net>
589
590         * undo.h:
591         * undo.C (textUndoOrRedo): fix crash when creating undo information.
592
593         * dociterator.C (asDocIterator): use hard assert again.
594
595 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         * lyxlength.C (asLatexString): rewrite so that it does not use
598         snprintf anymore
599
600 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * text3.C (specialChar, dispatch): make sure cursor moves to the
603         right after inserting an inset
604
605 2004-11-02  José Matos  <jamatos@lyx.org>
606
607         * output_docbook.C (docbook):
608         * paragraph.C (getID):
609         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
610         garantee that the output is always legal.
611
612         * tabular.C (docbook):
613         * outputprams.[Ch]: remove mixed contents.
614
615 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * text2.C (setCounter): prevent endless loop
618
619 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
620
621         * exporter.C (copyFile): use the mover instead of support::copy()
622         * exporter.C (Export): pass format and latex name to copyFile()
623         * exporter.h (addExternalFile): document
624         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
625
626 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
627
628         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
629
630 2004-10-30  José Matos  <jamatos@lyx.org>
631
632         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
633         text and no inset or font change. This allows to use CDATA
634         sections just for the whole paragraph.
635
636 2004-10-30  José Matos  <jamatos@lyx.org>
637
638         * paragraph.C (getFirstWord): remove unused variable.
639
640 2004-10-30  José Matos  <jamatos@lyx.org>
641
642         * paragraph.C (getFirstWord): the content should always be escaped
643         there.
644         (simpleDocBookOnePar):
645         * output_docbook.C (makeEnvironment): replace reference to CDATA
646         to style pass_thru.
647
648 2004-10-30  José Matos  <jamatos@lyx.org>
649
650         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
651
652 2004-10-30  José Matos  <jamatos@lyx.org>
653
654         * output_docbook.C (makeParagraphs):
655         * paragraph.[Ch] (emptyTag): for docbook and company, if the
656         standard paragraph has only a given type of content drop the wrapper.
657
658 2004-10-29  José Matos  <jamatos@lyx.org>
659
660         * output_docbook.C (makeEnvironment):
661         * sgml.C (openTag):
662         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
663
664 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
665
666         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
667         (cleanID): sanitize any id.
668
669 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
670
671         * buffer.C, lyxlex_pimpl.C:
672         * lyxlex_pimpl.C (setFile):
673         s/getExtFromContents/getFormatFromContents/
674
675 2004-10-28  José Matos  <jamatos@lyx.org>
676
677         * output_docbook.C (makeEnvironment): move id to broadest possible
678         scope.
679
680         * sgml.C (openTag): apply substitution of <> for all attributes.
681
682 2004-10-28  José Matos  <jamatos@lyx.org>
683
684         * buffer.C (makeLinuxDocFile, makeDocBookFile):
685         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
686         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
687
688         * sgml.[Ch]: new version for open and closeTag for paragraph and
689         for strings. Now they handle the ids of paragraphs.
690
691 2004-10-26  Angus Leeming  <leeming@lyx.org>
692
693         * Makefile.am: add mover.[Ch].
694
695         * converter.C (convert, move): use the new Movers to move external
696         files to the temp directory.
697
698         * lyx_main.C (init): ensure that the global system_movers data
699         is initialised.
700
701         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
702         preferences file.
703
704         * mover.[Ch]: new files, defining a Mover as a utility to move an
705         external file between directories and, if necessary, manipulate this
706         file using a helper script.
707
708 2004-10-25  José Matos  <jamatos@lyx.org>
709
710         * output_docbook.C (makeCommand): merge two if's that tested the
711         same condition.
712
713 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
714
715         * sgml.C (escapeString): fix warning in a better way
716
717 2004-10-25  José Matos  <jamatos@lyx.org>
718
719         * sgml.C (escapeString): import the require boosts header file for
720         tie, and avoid a signed unsigned comparison.
721
722 2004-10-25  José Matos  <jamatos@lyx.org>
723
724         * sgml.h: add #include <string>
725
726 2004-10-25  José Matos  <jamatos@lyx.org>
727
728         * sgml.[Ch] (escapeString): new function to escape all the string.
729
730 2004-10-24  José Matos  <jamatos@lyx.org>
731
732         * paragraph.[Ch] (getFirstWord): new function to get the first
733         word. Useful for description.
734         (simpleDocBookOnePar): remove depth argument, add another that
735         says where to start the paragraph.
736
737         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
738         use the new functions to fix cleanly the support for descriptions.
739
740 2004-10-24  José Matos  <jamatos@lyx.org>
741
742         * buffer.C (makeLinuxDocFile, makeDocBookFile):
743         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
744         * output_linuxdoc.C (linuxdocParagraphs):
745         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
746         add buffer as argument.
747
748 2004-10-24  José Matos  <jamatos@lyx.org>
749
750         * output_docbook.C (makeEnvironment, searchEnvironment): place
751         CDATA inside paragraphs and fix scope for listitems.
752
753 2004-10-24  José Matos  <jamatos@lyx.org>
754
755         * output_docbook.C: remove using statement for stack.
756
757 2004-10-23  José Matos  <jamatos@lyx.org>
758
759         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
760         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
761         docbook. The new scheme is recursive and makes use of iterators, the
762         same as latex export works.
763         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
764         directly with the paragraph contents. This code was moved up to
765         output_docbook.C (docbookParagraphs).
766         * sgml.C (openTag, closeTag): removed unneeded newlines.
767         (closeEnvTags) removed.
768
769 2004-10-23  André Pönitz  <poenitz@gmx.net>
770
771         * undo.C (textUndoOrRedo):
772         * dociterator.C (asDocIterator): work around crash
773
774         * cursor.C (getStatus): replace ASSERT by more verbose error message
775           and manual correction of the problem. Should increase stability
776           while providing more sensible information.
777
778 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
781
782         * bufferlist.C (previous, next): new methods
783
784         * lfuns.h:
785         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
786
787 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
788
789         * buffer.C (makeDocBookFile): add dsssl stylesheet control
790         entities to preamble.
791
792 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * messages.C (Pimpl): strip off translation context information
795
796 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
797
798         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
799         the cursor is correct (bug 1694)
800
801 2004-10-13  José Matos  <jamatos@lyx.org>
802
803         * output_docbook.C (docbookParagraphs): fix closing tags in the
804         end of the document.
805
806 2004-10-09  José Matos  <jamatos@lyx.org>
807
808         * buffer.C: format up to 237.
809         * bufferparams.C (write): use tostr to convert booleans to strings.
810
811 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
812
813         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
814
815 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * LaTeX.C: implement use of babel language in xindy.
818
819 2004-10-05  José Matos  <jamatos@lyx.org>
820
821         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
822         Add new translators to help reading and writing the lyx file.
823
824 2004-10-05  José Matos  <jamatos@lyx.org>
825
826         * ParagraphParameters.C (read):
827         * text.C (readParToken): replace nexToken by more appropriate lex
828         methods.
829
830 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
831
832         * LaTeX.C (runMakeIndex):
833         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
834         (usually 'makeindex') configurable.
835
836         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
837         with a variable rather than with a number.
838
839 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
840
841         * output_latex.C (TeXOnePar): make sure font setting is the first
842         thing that gets output (and the last at the end). Should fix bug
843         1404.
844
845 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
846
847         * pch.h: use proper signal include
848
849         * LaTeX.h: Use preferred calling of Boost.Signal
850         * buffer.h: ditto
851
852 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
853
854         * pch.h: dont include <boost/function/function0.hpp>
855
856         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
857
858         * paragraph_pimpl.h: remove usage of ShareContainer
859
860         * paragraph_pimpl.C: remove initialization of ShareContainer.
861
862 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         Fix bug #1666
865
866         * BufferView.C (putSelectionAt): change the semantics when
867         backwards == true: now, this just swaps cursor and anchor wrt the
868         forward case
869
870         * BufferView.h (putSelectionAt): add some documentation
871
872         * lyxfind.C (findBackwards): rewrite using while(). In particular,
873         make sure backwardChar is done at least once (to avoid getting
874         stuck)
875         (findNextChange): use putSelectionAt in the forward direction
876         (operator()): use Paragraph::isWord
877
878 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
879
880         * Spacing.C (set): c_str fix
881
882 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * lyx_cb.C (Reconfigure): quote the name of configure script in
885         case it contains spaces
886
887 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
888
889         * client: new dir
890
891         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
892         (BOOST_LIBS): use top_buildir when looking for the file
893
894 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
895
896         * pch.h: do not use include boost/format.hpp, multiple symbols
897                 will result (gcc bug)
898
899
900 2004-08-23  José Matos  <jamatos@lyx.org>
901
902         * bufferparams.C (readToken): fix reading of the author field.
903
904 2004-08-20  José Matos  <jamatos@lyx.org>
905
906         * lyxrc.C: remove support/translator.h inclusion since it is not used.
907
908 2004-08-20  José Matos  <jamatos@lyx.org>
909
910         * lyxlex.[Ch] (findToken): remove function.
911
912         * ParagraphParameters.C (findToken):
913         * bufferparams.C (findToken): replace call for previous function
914         with local copy. This local function has one more argument, the
915         read string argument.
916
917 2004-08-16  José Matos  <jamatos@lyx.org>
918
919         * ParagraphParameters.C (write):
920         * Spacing.C (writeFile):
921         * bufferparams.C (writeLaTeX):
922         * lyx_cb.C (Reconfigure):
923         * paragraph.C (write):
924         * tabular.C (write): remove unnecessary space at end of line.
925
926
927 2004-08-16  José Matos  <jamatos@lyx.org>
928
929         * text.C (readParagraph): remove debug message.
930
931 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
934         crash
935
936         * output_plaintext.C (asciiParagraph): set depth correctly
937
938         * outputparams.h: add member depth
939
940         * paragraph_funcs.C (ownerPar): remove.
941
942         * text2.C (setCounter): remove first_pit; comment out some
943         non-working code that uses ownerPar
944
945         * BufferView.C (getParentLanguage): remove. Not used anymore, and
946         uses ownerPar
947
948 2004-08-16  José Matos  <jamatos@lyx.org>
949
950         * text.C (readParToken, readParagraph, read): report all unknown tokens.
951         For the same level of importance use the same chanel to report problems.
952         (read): add code to deal with \begin_body and \end_body.
953
954
955 2004-08-15  José Matos  <jamatos@lyx.org>
956
957         * lyxlex.C (getString): fix comment, buffer::readBody is now
958         buffer:readDocument.
959
960         * tex-strings.C (string_papersize): Default -> default,
961         Custom -> custom, for consistency with other options.
962
963 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
964
965         * pch.h: new file
966
967         * Makefile.am: support pch
968
969 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * text.C (readParToken): remove the static LyXFont variable and
972         pass it as a parameter instead. This fixes a nasty bug where an
973         inset will be inserted with a bad font in some situations
974         (readParagraph): adapt
975
976         * text2.C (setCounter): reduce number of calls to pars_[pit]
977
978         * text.C (singleWidth): add an assert, fix a test
979
980         * rowpainter.C (paintText): reduce number of calls to singleWidth
981
982         * paragraph.C (isHfill):
983         (isNewline): ws only
984
985 2004-08-14  André Pönitz  <poenitz@gmx.net>
986
987         * text.C:
988         * text2.C:
989         * rowpainter.C:
990         * lyxtext.h (several functions): use a Paragraph & argument
991         instead of par_type
992
993 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * metricsinfo.h: add a new field ltr_pos to PainterInfo
996
997         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
998
999         * text.C (singleWidth): remove useless test
1000
1001 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * tabular.h: remove bogus comments
1004
1005         * tabular.C (getDescentOfRow):
1006         (isPartOfMultiColumn): add assertions
1007
1008         * lyxlength.C (inPixels): remove #warning
1009
1010 2004-08-14  André Pönitz  <poenitz@gmx.net>
1011
1012         * paragraph.h: inline getChar()
1013
1014         * BufferView.h: remove unused declarations
1015
1016 2004-08-14  José Matos  <jamatos@lyx.org>
1017
1018         * Buffer.[Ch] (readDocument): new name for old readBody.
1019         * Buffer.C: new file format, new keywords: \begin_document,
1020         \begin_header, \begin_body, \end_body.
1021
1022         * bufferparams.C (readToken): replace all calls to lex.nextToken
1023         by lex.next(). Do the same to eatLine except where really needed.
1024
1025         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1026         line when writing to the lyx file.
1027
1028         * output_plaintext.C (asciiParagraph): fix Bibliography style
1029         handling.
1030
1031         * text.C (read): fix end of file handling.
1032
1033 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * MenuBackend.C (Menu::operator[]): new method to access
1036         individual menu items
1037         (Menu::hasFunc): new method. search for an item that corresponds
1038         to a given func
1039         (MenuBackend::specialMenu): new method
1040         (MenuBackend::expand): if a special menu has been set, skip
1041         entries whose func() appears in this menu
1042
1043 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1044
1045         * text3.C: use Debug::DEBUG a bit more
1046
1047         * text.C (leftMargin): try to simplify a tiny bit change var x to
1048         l_margin. Dont output the wide margins always.
1049         (rightMargin): no margin in inner texts
1050
1051         * rowpainter.h (nestMargin): new func
1052         (changebarMargin): new func
1053         (rightMargin): new func
1054
1055         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1056         now functions.
1057         (paintLast): ditto
1058
1059         * factory.C (createInset): modify setDrawFrame
1060
1061         * cursor.C: use Debug::DEBUG a bit more
1062
1063 2004-08-14  André Pönitz  <poenitz@gmx.net>
1064
1065         * coordcache.[Ch]:
1066         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1067         cache for all insets in (at least partially) visible (top-level)
1068         paragraphs.
1069
1070         * BufferView_pimpl.C: reset external coord cache before every update.
1071         This means the coord cache only contains valid entries.
1072
1073 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1074
1075         bug 1096
1076         * BufferView_pimpl.C (getInsetByCode): move function out of class
1077         and change in to a template in anon namespace. Also fix to do what
1078         suits us better.
1079
1080 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1081
1082         bug 1305
1083         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1084         of char
1085         (breakParagraph): rename par to par_offset and use a local
1086         reference. Add code to keep the language over a rebreak.
1087         (breakParagraphConservative): rename par to par_offset, use a
1088         local reference
1089         (mergeParagraph): ditto
1090         (outerHook): ditto
1091         (isFirstInSequence): ditto
1092         (outerFont): rename pit to par_offset
1093
1094         * paragraph.C: ws change
1095         * paragraph.h: ditto
1096         * text3.C: ditto
1097         * text.C: ditto
1098
1099 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1102         treatment for ']'
1103
1104         * paragraph.C (simpleTeXOnePar): when we have a \item with
1105         optional argument, enclose the argument with curly brackets (in
1106         case it contains a closing square bracket)
1107
1108         * text2.C (editXY):
1109         * text2.C (editXY):
1110         * text3.C (checkInsetHit): constify
1111
1112 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1115         documents (bug 1629)
1116
1117 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         Fix toggling of collapsable insets with the mouse (bug 1558)
1120
1121         * lyxfunc.C (dispatch): adapt to LCursor changes
1122
1123         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1124         make sure that dispatch is not invoked twice
1125
1126         * cursor.C (needsUpdate): new method
1127         (dispatch): return void
1128         (result): new method, to access the DispatchResult of the cursor.
1129
1130 2004-08-13  José Matos  <jamatos@lyx.org>
1131
1132         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1133
1134 2004-08-13  André Pönitz  <poenitz@gmx.net>
1135
1136         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1137
1138         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1139           multiple cells
1140
1141 2004-08-12  André Pönitz  <poenitz@gmx.net>
1142
1143         * text3.C: take out the 'cursor right' form insertInset and only
1144         do it in those places when it is really needed. Fixes crash on
1145         C-m...
1146
1147 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1150
1151         * BufferView_pimpl.C (setBuffer): initialize the current font of
1152         the underlying LyXText
1153
1154 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1155
1156         * kbsequence.C (print): use UI native formatting for menu
1157         shortcuts
1158
1159         * text.C (insertChar): call Paragraph::insertChar with a font
1160         argument (cosmetic)
1161
1162         * paragraph.C (insertInset, insertChar): the version that takes a
1163         LyXFont argument is now a wrapper around the other one (the
1164         opposite used to be true).
1165
1166         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1167         argument. Font setting is done in Paragraph now.
1168
1169 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1170
1171         * outputparams.h: add new members intitle and lang.
1172
1173         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1174         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1175
1176 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1177
1178         * text3.C (dispatch): remove special handling of button 4 and 5,
1179         it is now taken care of in the frontend code.
1180
1181 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1182
1183         * Spacing.h: add <string> (STLPort compile fix)
1184
1185 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1186
1187         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1188
1189 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1192         to bool.
1193
1194         * converter.C (showMessage): inherit from unary_function, make
1195         operator() const.
1196
1197         * buffer.C (writeFile): initialize retval
1198
1199         * InsetList.h: rename private variable list to list_
1200         * InsetList.[Ch]: adjust accordingly.
1201
1202 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1203
1204         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1205         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1206         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1207         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1208         * ParagraphParameters.C, LaTeXFeatures.C: replace
1209         "support/std_sstream.h" with <sstream>
1210
1211 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1212
1213         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1214         * lyxsocket.C (LyXServerSocket): ditto
1215         (serverCallback): ditto
1216
1217 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1218
1219         * LaTeXFeatures.C: check release date when loading jurabib.
1220
1221 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1222
1223         * lyxserver.C (startPipe): call register_socket_callback
1224         (endPipe): call unregister_socket_callback
1225
1226 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1227
1228         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1229         (LyXServerSocket): register the callback
1230         (LyXServerSocket): unregister the callback
1231         (fd): delete function
1232         (serverCallback): improve error checking and setup the callbacks.
1233         (dataCallback): change arg to fd.
1234         (writeln): new func (copied fro the client socket) used for server
1235         write to client.
1236         (LyXDataSocket): simplify
1237         (~LyXDataSocket): close ann unregiser callback
1238         (server): delete function
1239         (fd): delete function
1240         (readln): small changes, improve some std::string usage
1241         (writeln): constify a bit
1242
1243 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1246         Qt frontend
1247
1248 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1251         after it has been populated
1252
1253 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1254
1255         * text2.C (insertInset): move cursor when inserting inset.
1256
1257 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * kbmap.C (findbindings): a couple of new methods. returns a
1260         container of kb_sequence objects. The real work is done by the
1261         private recursive version
1262         (printbindings): uses findbindings to print out a bracketed list
1263         of bindings (renamed from findbinding).
1264
1265         * MenuBackend.C (binding): use kb_keymap::findbindings
1266
1267         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1268
1269 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1270
1271         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1272
1273 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         * paragraph.C (isWord): return true on insets that report
1276         isLetter().
1277
1278         * text.C (getWord): use Paragraph::isWord to decide what is in a
1279         word and what is not; fix bug 1609.
1280
1281 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1282
1283         * tex-strings.C: add "none" to string_paperpackages[], fixes
1284         off-by-one-error in the paperpackage selection.
1285
1286         * lyxlex.[Ch]:
1287         * tex-strings.[Ch]: char const * string[n]
1288         -> char const * const string[]
1289
1290 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1293         command, return early.
1294
1295 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1296
1297         * debug.h: add DEBUG to enum and fix size of ANY.
1298
1299         * debug.C: add support for Debug::DEBUG
1300         (showTags): cast errorTags.level to unsigned int
1301
1302         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1303         (redoCurrentBuffer): ditto
1304         (updateScrollbar): ditto
1305         * cursor.C (dispatch): ditto
1306         * text2.C (setLayout): ditto
1307         (setFont): ditto
1308         (updateCounters): ditto
1309         (editXY): ditto
1310         (deleteEmptyParagraphMechanism): ditto
1311
1312 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1313
1314         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1315         annotations to cleanup the Makefile slightly.
1316
1317 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1318
1319         * lyxrc.C: do not set user_email to a default value but use empty
1320         instead. The entry used to be translated, which does not work
1321         since at the point where lyxrc is constructed there is no
1322         translation service available
1323
1324         * messages.C (getLocaleDir): remove and use directly
1325         lyx_localedir() instead
1326
1327 2004-06-02  Angus Leeming  <leeming@lyx.org>
1328
1329         Fix crash caused by dereferencing null pointer 'exportdata' in
1330         OutputParams by creating a new ExportData variable on the heap,
1331         storing it in a boost::shared_ptr.
1332         The crash was triggered when generating an Instant Preview
1333         of an external inset.
1334
1335         * Makefile.am: add outputparams.C
1336
1337         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1338         (c-tor): allocate memory to it.
1339
1340         * exporter.C (c-tor): associated changes.
1341
1342 2004-06-01  Angus Leeming  <leeming@lyx.org>
1343
1344         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1345         contains data before calling isInset(0). (Bug 1513.)
1346
1347 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1348
1349         * exporter.C (checkOverwrite): new method
1350         * exporter.C (copyFile): new method
1351         * exporter.C (Export): copy referenced files to the document dir
1352         * exporter.[Ch]: new class ExportedFile
1353         * exporter.[Ch]: new class ExportData. Contains currently the
1354         names of referenced external files
1355         * outputparams.h: add exportdata member.
1356
1357 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1358
1359         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1360         version.C-tmp
1361
1362 2004-05-19  Angus Leeming  <leeming@lyx.org>
1363
1364         * LaTeXFeatures.C:
1365         * ToolbarBackend.C:
1366         * bufferparams.C:
1367         * lyxfunc.C: small changes due to the introduction of namespace
1368         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1369
1370 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * text3.C (dispatch): supress update when only moving the cursor
1373         * cursor.C (selHandle): remove commented code
1374
1375 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * paragraph.C (startTeXParParams): correct column count
1378         * CutAndPaste.C (pasteSelection): remove const_cast
1379         * output_docbook.C (docbookParagraphs): remove const_cast
1380         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1381         const_cast and return ParagraphList::const_iterator
1382         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1383         * output_plaintext.C (writeFileAscii): remove const_cast
1384         * paragraph.[Ch] (simpleTeXOnePar): make const
1385         * paragraph_funcs.C (outerPar): use const iterators
1386         * paragraph_pimpl.C (validate): use const iterators
1387         * text.C (setHeightOfRow): use const iterators
1388
1389 2004-05-17  Angus Leeming  <leeming@lyx.org>
1390
1391         * lfuns.h:
1392         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1393
1394         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1395         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1396         if the citation engine has changed.
1397
1398 2004-05-14  José Matos  <jamatos@lyx.org>
1399
1400         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1401         if the textclass does not provide it. Have it different for sgml and
1402         xml.
1403         support the language of document.
1404         * output_docbook.C (docbookParagraphs):
1405         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1406         first anchor as the id of the paragraph, remove special case code.
1407         * sgml.C (escapeChar): escape only < & >.
1408
1409 2004-05-14  Angus Leeming  <leeming@lyx.org>
1410
1411         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1412         dependencies on src/frontends/controllers/biblio.h. Define a
1413         CiteEngine_enum wrapper class to enable the enum to be forward
1414         declared.
1415
1416 2004-05-12  Angus Leeming  <leeming@lyx.org>
1417
1418         * buffer.C: up LYX_FORMAT to 234.
1419         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1420         use_numerical_citations with a single biblio::CiteEngine cite_engine
1421         variable.
1422         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1423
1424 2004-05-13  José Matos  <jamatos@lyx.org>
1425
1426         * converter.h:
1427         * converter.C (Converter, readFlags): add xml member.
1428         * outputparams.h: add XML flavor.
1429         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1430
1431 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * lyxfunc.C (dispatch):
1434         (getStatus): fix handling of LFUN_SEQUENCE
1435
1436 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1437
1438         * debug.C (showLevel): do not forget the end-of-line marker
1439
1440 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * kbmap.C (read): do not stop parsing a bind file when an error
1443         occurs (bug 1575)
1444
1445 2004-04-29  Angus Leeming  <leeming@lyx.org>
1446
1447         * cursor.C:
1448         * factory.C:
1449         * pariterator.C:
1450         * text2.C: wrap a bunch of #warning statements
1451         inside #ifdef WITH_WARNINGS blocks.
1452
1453 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * buffer.C: increment format to 233.
1456
1457 2004-04-28  Angus Leeming  <leeming@lyx.org>
1458
1459         * BufferView_pimpl.C:
1460         * lyxfunc.C:
1461         * text3.C:
1462         s/updateToolbar()/updateToolbars()/
1463         s/Toolbar.h/Toolbars.h/
1464
1465 2004-04-28  Angus Leeming  <leeming@lyx.org>
1466
1467         * BufferView.[Ch] (c-tor):
1468         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1469         No longer passes these data to the WorkArea generator.
1470
1471 2004-04-28  Angus Leeming  <leeming@lyx.org>
1472
1473         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1474
1475 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1476
1477         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1478
1479 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * output_latex.C (TeXEnvironment): make sure that there is a line
1482         break before \end{foo} for the last paragraph of a document
1483         (TeXOnePar): if the paragraph is at the end of the document (or
1484         inset) and the language has to be reset, then make sure that the
1485         line break is _before_ the language command, not after (fixes bug
1486         1225); also make sure that the language reset command is the first
1487         thing after the paragraph (to ensure proper nesting of
1488         environments and thus fix bug 1404)
1489
1490 2004-04-21  John Levon  <levon@movementarian.org>
1491
1492         * ToolbarBackend.h:
1493         * ToolbarBackend.C: make "name" be a programmatic name
1494         and a gui_name field.
1495
1496         * lyxfunc.C: display the minibuffer on M-x
1497
1498 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1501         (bug 1526)
1502
1503 2004-04-19  Angus Leeming  <leeming@lyx.org>
1504
1505         * BufferView_pimpl.C (setBuffer): changed preview interface.
1506
1507         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1508         possible values.
1509
1510 2004-04-19  John Levon  <levon@movementarian.org>
1511
1512         * BufferView_pimpl.C:
1513         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1514
1515 2004-04-05  Angus Leeming  <leeming@lyx.org>
1516
1517         * text.C (redoParagraphs): add call to updateCounters(), thereby
1518         fixing the missing "Figure #:" label from the caption of a
1519         figure float.
1520
1521 2004-04-13  Angus Leeming  <leeming@lyx.org>
1522
1523         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1524         cursor is clicked out of an inset.
1525
1526 2004-04-13  Angus Leeming  <leeming@lyx.org>
1527
1528         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1529         than an InsetOld one.
1530
1531 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1532
1533         * format.[Ch]: add editor to Format
1534         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1535         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1536
1537 2004-04-08  André Pönitz  <poenitz@gmx.net>
1538
1539         * metricsinfo.h: remove PainterInfo::width member
1540
1541 2004-04-08  Angus Leeming  <leeming@lyx.org>
1542
1543         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1544         "\providecommand" rather than "\newcommand", thereby preventing
1545         clashes with packages that define "\boldsymbol" themselves.
1546         Eg, beamer.
1547
1548 2004-04-08  Angus Leeming  <leeming@lyx.org>
1549
1550         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1551         thereby squashing an unnecessary warning.
1552
1553 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1554
1555         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1556         setBuffer()
1557
1558 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * BufferView.C (setCursor): call redoParagraph (some insets could
1561         have been opened)
1562         (putSelectionAt): remove the 'double update' trick
1563
1564         * BufferView_pimpl.C (fitCursor): call refreshPar
1565         (workAreaDispatch): remove an uneeded update call
1566         (dispatch): remove some manual update calls
1567
1568         * cursor.[Ch]: remove cached_y_, updatePos
1569         (selHandle): set noUpdate when appropriate
1570
1571         * lyxfunc.C (dispatch): track if we need an update
1572
1573         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1574
1575         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1576         (paintSelection): cheap optimization, do not call cursorX when not
1577         needed
1578         (paintPars): change signature
1579         (refreshPar): add
1580         (paintText): adjust
1581         (paintTextInset): adjust
1582
1583         * text.C: adjust
1584
1585 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * lengthcommon.C: compilation fix: remove explicit array size from
1588         unit_name[] and friends
1589
1590 2004-04-05  Angus Leeming  <leeming@lyx.org>
1591
1592         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1593
1594         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1595         present only for the preferences dialog.
1596         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1597
1598 2004-04-05  Angus Leeming  <leeming@lyx.org>
1599
1600         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1601         to enable the frontends to export changes to lyxrc correctly.
1602
1603         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1604
1605 2004-04-07  André Pönitz  <poenitz@gmx.net>
1606
1607         * cursor.[Ch] (selClear, adjust): remove math
1608
1609         * cursor_slice.C: more agressive assert
1610
1611         * lyxfunc.C:
1612         * BufferView_pimpl.C: rework mouse event dispatch
1613
1614         * dociterator.C:
1615         * paragraph.C:
1616         * text2.C:
1617         * text3.C: adjust
1618
1619 2004-04-05  André Pönitz  <poenitz@gmx.net>
1620
1621         * cursor.[Ch] (valign, halign...): remove unneeded functions
1622
1623 2004-04-05  Angus Leeming  <leeming@lyx.org>
1624
1625         * lyxlength.[Ch] (unit_name et al.): const-correct.
1626
1627 2004-04-05  Angus Leeming  <leeming@lyx.org>
1628
1629         * BufferView_pimpl.C:
1630         * buffer.C:
1631         * counters.C:
1632         * cursor.C:
1633         * lyxfunc.C
1634         * paragraph.C:
1635         * pariterator.C:
1636         * text.C:
1637         * text2.C:
1638         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1639
1640 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1643
1644 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1645
1646         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1647         * BufferView_pimpl.[Ch] (getStatus)
1648         * BufferView.[Ch] (getStatus): add
1649         * lyxfunc.C (getStatus): move lfuns handled in
1650         BufferView::dispatch to te function above
1651         * Cursor.C (setSelection): set selection() = true
1652
1653 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1654
1655         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1656
1657 2004-03-31  Angus Leeming  <leeming@lyx.org>
1658
1659         * lyxfunc.C (dispatch): Fall through to the generic
1660         Dialogs::show("preamble").
1661
1662 2004-03-31  Angus Leeming  <leeming@lyx.org>
1663
1664         * lyxfunc.C (dispatch): Fall through to the generic
1665         Dialogs::show("spellchecker").
1666
1667 2004-03-31  Angus Leeming  <leeming@lyx.org>
1668
1669         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1670         preferences dialog.
1671
1672 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * BufferView.C
1675         * cursor.[Ch]
1676         * dociterator.[Ch]:
1677         * insetiterator.[Ch]:
1678         * lyxfind.C:
1679         * lyxfunc.C:
1680         * pariterator.[Ch]:
1681         * text2.C:
1682         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1683
1684 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1685
1686         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1687         insets where we are putting the cursor.
1688
1689 2004-03-31  Angus Leeming  <leeming@lyx.org>
1690
1691         * lfuns.h:
1692         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1693
1694         * lyxrc.[Ch] (read, write): overloaded member functions taking
1695         a std::[io]stream arguments.
1696
1697         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1698
1699 2004-03-31  Angus Leeming  <leeming@lyx.org>
1700
1701         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1702         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1703
1704         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1705         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1706
1707 2004-03-31  Angus Leeming  <leeming@lyx.org>
1708
1709         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1710         the LFUN_ALL_INSETS_TOGGLE code.
1711
1712 2004-03-30  Angus Leeming  <leeming@lyx.org>
1713
1714         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1715         has died. Fall through to the generic Dialogs::show("document").
1716
1717 2004-03-30  Angus Leeming  <leeming@lyx.org>
1718
1719         * lfuns.h:
1720         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1721         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1722
1723         * lyxfunc.C (getStatus, dispatch): define the actions for these
1724         lfuns. Little more than a cut and pste job from ControlDocument.C
1725
1726         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1727
1728 2004-03-30  Angus Leeming  <leeming@lyx.org>
1729
1730         * lfuns.h:
1731         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1732         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1733
1734         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1735         open/closed state of ollapsable insets. Usage:
1736
1737         all-inset-toggle <state> <name>, where
1738         <state> == "open" || "closed" || "toggle" and
1739         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1740
1741         * lyxtext.h, text2.C (toggleInset): removed.
1742
1743         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1744         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1745         now passes LFUN_INSET_TOGGLE to the found inset.
1746
1747         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1748         is now invoked as "all-insets-toggle toggle branch".
1749
1750 2004-03-30  Angus Leeming  <leeming@lyx.org>
1751
1752         * dociterator.C:
1753         * insetiterator.C:
1754         * pariterator.[Ch]: added/corrected header blurb.
1755
1756 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * dociterator.[Ch]: add an inset_ member
1759         (backwardPos): implemented
1760         (backwardPos, forwardPos): use inset_ when the stack is empty.
1761         (doc_iterator_begin, doc_iterator_end): implemented
1762         * pariterator.[Ch]: adjust, add begin, end
1763         * insetiterator.[Ch]: adjust, add begin, end
1764         * cursor.C:
1765         * document.C:
1766         * BufferView.C:
1767         * BufferView_pimpl.C:
1768         * CutAndPaste.C: adjust
1769
1770 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1771
1772         * buffer.C: increment file format to 232.
1773         * LaTeXFeatures.C: add bibtopic package.
1774         * bufferparams.[Ch]: param \use_bibtopic.
1775
1776         * lyxrc.[Ch]: add lyxrc bibtex_command
1777         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1778
1779         * buffer.C: increment file format to 231.
1780
1781 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * dociterator.C: implement forwardPar
1784         * iterators.[Ch]: remove, replaced by
1785         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1786         * BufferView.C:
1787         * BufferView_pimpl.C:
1788         * CutAndPaste.C:
1789         * buffer.C:
1790         * bufferview_funcs.C:
1791         * cursor.C:
1792         * lyxfind.C
1793         * lyxfunc.C
1794         * paragraph_funcs.C
1795         * toc.C:
1796         * Makefile.am: adjust
1797
1798 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * CutAndPaste.C (pasteSelection): fix 2 crashes
1801         (eraseSelection): fix a crash
1802         * paragraph_funcs.C: remove a warning
1803
1804 2004-03-28  Angus Leeming  <leeming@lyx.org>
1805
1806         * lfuns.h:
1807         * LyXAction.C (init): new LFUN_PRINT.
1808
1809         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1810
1811 2004-03-27  Angus Leeming  <leeming@lyx.org>
1812
1813         * lfuns.h:
1814         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1815
1816         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1817
1818 2004-03-27  Angus Leeming  <leeming@lyx.org>
1819
1820         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1821         insetlist always contains non-null pointers to insets.
1822
1823 2004-03-26  Angus Leeming  <leeming@lyx.org>
1824
1825         * src/BufferView_pimpl.C:
1826         * src/CutAndPaste.C:
1827         * src/buffer.C:
1828         * src/iterators.C:
1829         * src/output_plaintext.C:
1830         * src/outputparams.h:
1831         * src/paragraph_funcs.C:
1832         * src/rowpainter.C:
1833         * src/text.C:
1834         * src/text2.C:
1835         * src/frontends/controllers/ControlErrorList.C:
1836         * src/frontends/gtk/FileDialogPrivate.C:
1837         * src/frontends/gtk/GPainter.C:
1838         * src/frontends/gtk/GToolbar.C:
1839         * src/frontends/qt2/QRef.C:
1840         * src/mathed/math_scriptinset.C: squash compiler warnings.
1841
1842 2004-03-26  Angus Leeming  <leeming@lyx.org>
1843
1844         * ispell.C (LaunchIspell::start):
1845         * lyx_cb.C (AutoSaveBuffer::start):
1846         invoke run(DontWait) rather than runNonBlocking().
1847
1848 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1851
1852 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * kbsequence.C (print): adjust
1855
1856         * kbmap.C (printKeySym): rename and change signature
1857         (printKey): use LyXKeySym::print()
1858
1859 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1860
1861         * undo.C: add using std::advance to compile for stlport
1862
1863 2004-03-24  Angus Leeming  <leeming@lyx.org>
1864
1865         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1866         it leads to a crash when no buffer is present.
1867
1868 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1869             Martin Vermeer  <martin.vermeer@hut.fi>
1870
1871         * lyxfunc.C (dispatch):
1872         * bufferparams.C (readToken): use the new LColor::setColor
1873
1874         * LColor.[Ch] (setColor): new version that takes two strings as
1875         argument and creates a new color entry if necessary
1876
1877 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1878
1879         * buffer.C (makeLaTeXFile): if the main latex file that is
1880         processed is usually a subdocument of some master, then pretend
1881         for a while that it is actually the master
1882
1883 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1884
1885         * buffer.C (getLabelList):
1886         (getBibkeyList): use getMasterBuffer()
1887         (getMasterBuffer): new method. Returns the main document in the
1888         case where one is using included documents.
1889
1890 2004-03-25  André Pönitz  <poenitz@gmx.net>
1891
1892         * Makefile.am:
1893         * iterators.[Ch]:
1894         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1895
1896         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1897
1898         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1899         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1900
1901         * ParameterStruct.h: merge with ParagraphParameters
1902
1903         * lyxtext.h: remove LyXText::parOffset() and getPar()
1904
1905         * text3.C: Remove all 'manual' update calls. We do now one per user
1906         interaction which is completely sufficient.
1907
1908         * Bidi.C:
1909         * BufferView.[Ch]:
1910         * BufferView_pimpl.C:
1911         * FontIterator.[Ch]:
1912         * MenuBackend.C:
1913         * ParagraphParameters.[Ch]:
1914         * buffer.C:
1915         * buffer.h:
1916         * bufferlist.C:
1917         * cursor.[Ch]:
1918         * cursor_slice.[Ch]:
1919         * dociterator.[Ch]:
1920         * errorlist.[Ch]:
1921         * factory.C:
1922         * lfuns.h:
1923         * lyxfind.C:
1924         * lyxfunc.C:
1925         * output_docbook.[Ch]:
1926         * output_latex.[Ch]:
1927         * output_linuxdoc.[Ch]:
1928         * output_plaintext.[Ch]:
1929         * paragraph.[Ch]:
1930         * paragraph_funcs.[Ch]:
1931         * paragraph_pimpl.[Ch]:
1932         * rowpainter.C:
1933         * tabular.[Ch]:
1934         * text.C:
1935         * text2.C:
1936         * toc.C:
1937         * undo.[Ch]: adjust
1938
1939         * frontends/controllers/ControlDocument.C:
1940         * frontends/controllers/ControlErrorList.C:
1941         * frontends/controllers/ControlSpellchecker.C:
1942         * insets/inset.C:
1943         * insets/inset.h:
1944         * insets/insetbase.h:
1945         * insets/insetbibitem.C:
1946         * insets/insetbox.C:
1947         * insets/insetbranch.C:
1948         * insets/insetcaption.C:
1949         * insets/insetcharstyle.C:
1950         * insets/insetcharstyle.h:
1951         * insets/insetcollapsable.C:
1952         * insets/insetcollapsable.h:
1953         * insets/insetert.C:
1954         * insets/insetfloat.C:
1955         * insets/insetfoot.C:
1956         * insets/insetmarginal.C:
1957         * insets/insetnote.C:
1958         * insets/insetoptarg.C:
1959         * insets/insettabular.C:
1960         * insets/insettext.C:
1961         * insets/insettext.h:
1962         * insets/insetwrap.C:
1963         * mathed/math_mboxinset.C:
1964         * mathed/math_nestinset.C:
1965         * mathed/math_scriptinset.C:
1966         * mathed/math_scriptinset.h:
1967         * support/types.h:
1968
1969 2004-03-24  Angus Leeming  <leeming@lyx.org>
1970
1971         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1972         deal with any child processes that have finished but are waiting to
1973         communicate this fact to the rest of LyX.
1974
1975 2004-03-24  Angus Leeming  <leeming@lyx.org>
1976
1977         64-bit compile fixes.
1978
1979         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1980         (c-tor): pass lyx::pos_types rather than ints.
1981
1982         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1983         lyx::pos_type.
1984
1985         * text.C (Delete): compile fix.
1986         (getPar): ensure that function declaration is the same as that in
1987         the header file.
1988
1989 2004-03-23  Angus Leeming  <leeming@lyx.org>
1990
1991         * ispell.C (LaunchIspell):
1992         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1993         a boost::shred_ptr rather than a std::auto_ptr.
1994
1995 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1998         handle LFUN_FILE_INSERT_*
1999
2000         * lyxrc.C (setDefaults, getDescription, output, read):
2001         * lyxrc.h: remove ps_command
2002
2003 2004-03-22  Angus Leeming  <leeming@lyx.org>
2004
2005         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2006         Ensure that error_handler is processed once only and that all data
2007         is saved before attempting to output any warning messages.
2008
2009         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2010
2011 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2012
2013         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2014
2015 2004-03-19  André Pönitz  <poenitz@gmx.net>
2016
2017         * cursor.[Ch] (reset): take main text inset as argument
2018
2019         * BufferView: adjust
2020         * BufferView_pimpl.C: adjust
2021
2022         * paragraph.[Ch]: fix completely broken operator=()
2023
2024 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2025
2026         * LColor.C (getFromLyXName): make sure that the color name is used
2027         as lowercase.
2028
2029 2004-03-17  Angus Leeming  <leeming@lyx.org>
2030
2031         * lfuns.h:
2032         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2033
2034         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2035         dialog and to kill a forked process.
2036
2037 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2038
2039         * text2.C (setCursorFromCoordinates): fix font problem
2040
2041 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2042
2043         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2044         bogus "rebuild cursor" code
2045
2046 2004-03-11  André Pönitz  <poenitz@gmx.net>
2047
2048         * buffer.[Ch]: use InsetText instead of LyXText as container for
2049         the main lyx text.
2050
2051         * dociterator.[Ch]: drop the BufferView * member which is not needed
2052         anymore after the change to buffer.C
2053
2054         * paragraph_funcs.C:
2055         * text.C:
2056         * text2.C:
2057         * BufferView.[Ch]:
2058         * BufferView_pimpl.[Ch]:
2059         * cursor.[Ch]:
2060         * cursor_slice.[Ch]: adjust
2061
2062         * text3.C: fix bug in mathDispatch
2063
2064 2004-03-08  André Pönitz  <poenitz@gmx.net>
2065
2066         * undo.[Ch]: use 'StableDocumentIterator' as base for
2067         the Undo struct.
2068
2069 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2070
2071         * LaTeXFeatures.C:
2072         * bufferparams.[Ch]: add jurabib support and param.
2073
2074         * LaTeX.C: add FIXME/comment.
2075
2076 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2077
2078         * buffer.C: increment file format to 230.
2079
2080 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2081
2082         * cursor.C (dispatch): avoid infinite loops
2083
2084 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2085
2086         * rowpainter.C (paintSelection): fix x coordinates
2087
2088 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * text.C (rowBreakPoint): fix breaking before displayed insets
2091
2092 2004-03-01  André Pönitz  <poenitz@gmx.net>
2093
2094         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2095
2096         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2097
2098         * Makefile.am:
2099         * BufferView.C:
2100         * BufferView_pimpl.C:
2101         * buffer.C:
2102         * lyxfind.C:
2103         * lyxfunc.C:
2104         * text.C:
2105         * text2.C:
2106         * text3.C: adjust
2107
2108 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * lyxtext.h:
2111         * text.C:
2112         * text2.C:
2113         * rowpainter.C:
2114         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2115         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2116
2117 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * Bidi.[Ch] (computeTables): const correctness
2120         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2121         fill_hfill, fill_label_hfill and x from Row
2122         * lyxtext.h: prepareToPrint returns a RowMetrics
2123         * rowPainter.C: adjust
2124         * text.C (prepareToPrint): use width, not textWidth. adjust
2125         (redoParagraphInternal, cursorX): adjust
2126         * text2.C (getColumnNearX): adjust
2127         (init): put a default value to the top LyXText::width
2128
2129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2132
2133 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2134
2135         * lyxtext.h: add FontIterator class
2136
2137         * text.C (FontIterator, operator*, operator->, operator++): add
2138         (rowBreakPoint, setRowWidth): adjust (fixing a
2139         rebreaking bug)
2140
2141 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * BufferView_pimpl.C (workAreaDispatch): allow also
2144         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2145
2146 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * text.C (rowBreakPoint): fix a bug showing with very large insets
2149
2150 2004-02-25  André Pönitz  <poenitz@gmx.net>
2151
2152         * text3.C:
2153         * cursor.[Ch]: move some mathed specific code to mathed
2154
2155 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2156
2157         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2158         use_tempdir in preferences
2159         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2160         tempfile creation
2161         * lyx_main.C: ensure that tempdir is valid
2162         * lyxlex.h: correct typo
2163         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2164         * paragraph.[Ch] (isMultiLingual): make const
2165         * cursor.[Ch] (openable): make const
2166
2167 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2168
2169         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2170
2171 2004-02-20  André Pönitz  <poenitz@gmx.net>
2172
2173         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2174
2175         * cursor.[Ch]: prepare for localized getStatus()
2176
2177         * lyxtext.h:
2178         * tabular.C:
2179         * text.C:
2180         * text2.C:
2181         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2182
2183 2004-02-20  André Pönitz  <poenitz@gmx.net>
2184
2185         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2186
2187 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * text2.C (setCursorFromCoordinates): switch to absolute coords
2190         (cursorUp): adjust
2191         (cursorDown): adjust
2192         * text3.C (dispatch): adjust
2193
2194 2004-02-16  André Pönitz  <poenitz@gmx.net>
2195
2196         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2197           insets/ChangeLog)
2198
2199         * cursor_slice.[Ch]: remove unneeded acessor function
2200
2201         * lyxtext.h: rename rtl() to isRTL()
2202
2203         * rowpainter.C:
2204         * tabular.C:
2205         * text.C:
2206         * text2.C:
2207         * text3.C: adjust
2208
2209 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2210
2211         * rowpainter.C (paintSelection): coord fix
2212
2213 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2214
2215         * Spacing.C: compile fix
2216
2217 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * cursor.C (dispatch): restore current_ before returning
2220
2221 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2222
2223         * text2.C (cursorUp, cursorDown): fix coords
2224         (moveUp): fix crash
2225
2226 2004-02-12  André Pönitz  <poenitz@gmx.net>
2227
2228         * lyxtext.h:
2229         * text.C:
2230         * text2.C:
2231         * text3.C: add LCursor & parameter to most cursor movement functions
2232           remove usage of LyXText::cursorRow() and cursorPar()
2233
2234         * cursor.[Ch]: add textRow() needed members
2235
2236         * BufferView.C:
2237         * BufferView_pimpl.C:
2238         * paragraph.[Ch]:
2239         * BufferView.C:
2240         * BufferView_pimpl.C: adjust
2241
2242 2004-02-11  André Pönitz  <poenitz@gmx.net>
2243
2244         * lyxfunc.C:
2245         * BufferView.[Ch]:
2246         * BufferView_pimpl.C: shift undo/redo handling
2247
2248         * cursor.[Ch]: fix mathed crash
2249
2250         * lyxfind.C:
2251         * lyxtext.h: move selectionAsText to LCursor
2252
2253         * output_latex.C:
2254         * paragraph.C:
2255         * text.C:
2256         * text2.C:
2257         * text3.C: adjust
2258
2259         * rowpainter.C: fix excessive drawing
2260
2261 2004-02-06  André Pönitz  <poenitz@gmx.net>
2262
2263         * BufferView.[Ch]:
2264         * BufferView_pimpl.[Ch]:
2265         * text3.C: move some text specific LFUN handling
2266
2267 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2268
2269         * text3.C (checkInsetHit): adjust coords
2270         * text2.C (getColumnNearX): adjust coords
2271         (edit): adjust coords
2272         * text.C (getRowNearY): add two asserts
2273
2274 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2275
2276         * converter.C:
2277         * format.C: add using std::distance to compile on gcc 2.95/stlport
2278
2279 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2280
2281         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2282
2283 2004-02-04  André Pönitz  <poenitz@gmx.net>
2284
2285         * BufferView.[Ch] (insertInset):
2286         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2287
2288         * text2.C:
2289         * text3.C: adjust
2290
2291 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2292
2293         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2294         on the default clause of the switch
2295         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2296         wasn't catched by LCursor::dispatch
2297
2298 2004-02-03  André Pönitz  <poenitz@gmx.net>
2299
2300         * BufferView.C:
2301         * cursor.[Ch]: some additional asserts
2302
2303         * undo.[Ch]: remove LyXText dependency in interface
2304
2305         * lyxfunc.C: adjust
2306
2307         * lyxtext.h (firstPar, lastPar): remove dead functions
2308
2309         * text.C:
2310         * text2.C:
2311         * text3.C:
2312         * paragraph.[Ch]: adjust
2313
2314 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * lyxfind.C (find): fix argument order in call to ::find
2317
2318 2004-02-02  André Pönitz  <poenitz@gmx.net>
2319
2320         * cursor.[Ch]: remove direct access to anchor
2321
2322         * text.C: remove findText() hack
2323
2324 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2325
2326         * iterators.[Ch] (lockPath): remove in favour of...
2327         * BufferView.[Ch] (setCursor): this addition
2328         * BufferView.C (putSelectionAt): adjust
2329         * undo.C (performUndoOrRedo): adjust
2330         * lyxfunc.C (dispatch): adjust
2331
2332 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2333
2334         * iterators.C (lockPath): add a missing slice
2335         * undo.C (performUndoOrRedo): remove redundant positioning code
2336
2337 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2338
2339         * vc-backend.C (scanMaster): ";" -> ';'
2340
2341 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2342
2343         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2344         std::binary_function
2345
2346         * lyxtextclass.C (compare_name): rename to...
2347         (LayoutNamesEqual): ...this
2348
2349         * lyxlex_pimpl.C (compare_tags): inherit from
2350         std::binary_function, put back into anon namespace
2351
2352         * lyxfind.C (MatchString): inherig from std::binary_function
2353         (findChange): use empty() istead of !size()
2354
2355         * format.C (FormatNamesEqual): new functor
2356         (getFormat): use it
2357         (getNumber): use it
2358         (add): use it
2359         (erase): use it
2360         (setViewer): use it
2361
2362         * converter.C (compare_Converter): rename to...
2363         (ConverterEqual): ...this, and fixup a bit.
2364         (getConverter): use it, and make function const
2365         (getNumber): use it, and make function const
2366         (add): use it
2367         (erase): use it:
2368
2369         * bufferlist.C: add using boost::bind
2370
2371         * MenuBackend.C (MenuNamesEqual): new functor
2372         (hasMenu): use it, and make function const
2373         (hasSubmenu): use nested bind to get rid of compare_memfun.
2374
2375 2004-01-30  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView_pimpl.C:
2378         * cursor.C:
2379         * cursor.h:
2380         * cursor_slice.[Ch]:
2381         * lyxfunc.C:
2382         * lyxtext.h:
2383         * paragraph_funcs.C:
2384         * paragraph_funcs.h:
2385         * rowpainter.C:
2386         * text.C:
2387         * text2.C:
2388         * text3.C: move some of the edit(x,y) handling to the insets
2389         some coordinate changes.
2390
2391 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2392
2393         * text.C: add using statements for std::advance and std::distance
2394
2395         * paragraph.C: add using statement for std::distance
2396
2397         * lyxfind.C: add using statement for std::advance
2398
2399         * cursor.C (region): remove std:: from swap
2400         (openable): use nucleus in stead of operator->
2401
2402         * BufferView.C: add using statements for std::distance and std::swap
2403
2404 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2405
2406         * iterators.C: Remove the pimple, move the needed structures to
2407         the header file. Create accessor for the positions stack.
2408         (asPosIterator): remove function
2409
2410         * PosIterator.C (PosIterator): move constructors to top of file
2411         (PosIterator): reimplement the constructor taking a ParIterator in
2412         terms of setFrom.
2413         (setFrom): new function
2414         (operator!=): inline it
2415
2416 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2417
2418         * lyxfind.C (replaceAll): use std::advance
2419
2420         * iterators.h: inherit from std::iterator.
2421
2422         * PosIterator.C (advance, distance): remove
2423         * PosIterator.h: interit from std::iterator.
2424
2425 2004-01-26  André Pönitz  <poenitz@gmx.net>
2426
2427         * BufferView.[Ch]:
2428         * BufferView_pimpl.[Ch]:
2429         * InsetList.[Ch]:
2430         * PosIterator.[Ch]:
2431         * buffer.h:
2432         * bufferview_funcs.C:
2433         * cursor.[Ch]:
2434         * cursor_slice.h:
2435         * factory.[Ch]:
2436         * iterators.[Ch]:
2437         * lyxfind.C:
2438         * lyxfunc.C:
2439         * lyxtext.h:
2440         * output_docbook.C:
2441         * output_latex.C:
2442         * output_linuxdoc.C:
2443         * output_plaintext.C:
2444         * paragraph.[Ch]:
2445         * paragraph_funcs.[Ch]:
2446         * paragraph_pimpl.[Ch]:
2447         * rowpainter.C:
2448         * tabular.C:
2449         * tabular.h:
2450         * text.C:
2451         * text2.C:
2452         * text3.C: more IU:  dumps most of the rest of the mathcursor
2453     implementation into cursor.[Ch]; "globalize" a bit of it.
2454
2455 2004-01-25  Angus Leeming  <leeming@lyx.org>
2456
2457         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2458
2459 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2460
2461         * LaTeXFeatures.h: add nice_ and nice() const
2462         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2463
2464 2004-01-20  André Pönitz  <poenitz@gmx.net>
2465
2466         * BufferView.[Ch]:
2467         * BufferView_pimpl.C:
2468         * PosIterator.C:
2469         * bufferview_funcs.C:
2470         * cursor.[Ch]:
2471         * cursor_slice.[Ch]:
2472         * factory.C:
2473         * iterators.C:
2474         * lyx_cb.C:
2475         * lyxfind.C:
2476         * lyxfunc.C:
2477         * lyxtext.h:
2478         * rowpainter.C:
2479         * text.C:
2480         * text2.C:
2481         * text3.C:
2482         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2483           LCursor and mathcursor parts to LCursor and InsetBase.
2484
2485 2004-01-15  André Pönitz  <poenitz@gmx.net>
2486
2487         * cursor_slice.[Ch]: add a few covienience functions
2488
2489         * funcrequest.[Ch]: remove BufferView * member
2490
2491         * BufferView_pimpl.C:
2492         * cursor.C:
2493         * factory.[Ch]:
2494         * lyxfind.[Ch]:
2495         * lyxfunc.C:
2496         * lyxtext.h:
2497         * text3.C:
2498         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2499
2500 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2503         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2504
2505 2004-01-13  André Pönitz  <poenitz@gmx.net>
2506
2507         * textcursor.[Ch]:
2508         * lyxtext.h: hide cursor and selection anchor behind accessor function
2509
2510         * BufferView.C:
2511         * BufferView_pimpl.[Ch]:
2512         * PosIterator.C:
2513         * bufferview_funcs.C:
2514         * cursor.h:
2515         * lyxfind.C:
2516         * lyxfunc.C:
2517         * text.C:
2518         * text2.C:
2519         * text3.C:
2520         * undo.C: adjust
2521
2522         * cursor.h:
2523         * cursor_slice.[Ch]: some integer type changes for inset unification
2524
2525         * lyxcursor.[hC]: remove, it's CursorSlice now.
2526
2527         * Makefile.am:
2528         * BufferView_pimpl.[Ch]:
2529         * bufferview_funcs.C:
2530         * cursor_slice.C:
2531         * lyxtext.h:
2532         * text.C:
2533         * text2.C:
2534         * text3.C:
2535         * textcursor.[Ch]: adjust
2536
2537 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2538
2539         * text2.C (undoSpan): add and use
2540         * text.C (breakParagraph): use undoSpan (fix bug 578)
2541         * lyxtext.h: adjust
2542
2543 2004-01-08  Angus Leeming  <leeming@lyx.org>
2544
2545         * BufferView_pimpl.C (MenuInsertLyXFile):
2546         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2547         * lyxfunc.C (menuNew, open, doImport):
2548         FileFilterList change to the FileDialog open and save functions.
2549
2550 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2551
2552         * ShareContainer.h: make isEqual and isUnique adaptable
2553
2554         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2555
2556 2004-01-07  Angus Leeming  <leeming@lyx.org>
2557
2558         * LyXAction.C:
2559         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2560
2561         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2562
2563         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2564         functions replacing find, replace and replaceAll.
2565
2566         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2567         LFUN_WORDFIND(FORWARD|BACKWARD).
2568
2569 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2570
2571         * text.C (breakParagraph): remove an outdated #warning
2572
2573 2004-01-07  André Pönitz  <poenitz@gmx.net>
2574
2575         * lyxfind.C: somewhat clearer logic
2576
2577         * text.C: prevent crash in cursorX on unitialized row cache
2578
2579 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2580
2581         * lyxcursor.[Ch] (operator>): add
2582         * textcursor.C (selStart, selEnd): use std::min and std::max
2583
2584 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2585
2586         * Chktex.C: include boost/format.hpp
2587
2588 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2589
2590         * InsetList.C: replace functor MathcIt with adaptable functor
2591         InsetTablePosLess
2592         (insetIterator): modify accordingly
2593
2594         * BranchList.h: move the BranchNamesEqual functor here from...
2595         * BranchList.C: ... to here
2596
2597         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2598         SameName and match.
2599         (add): replace a finding loop with std::find_if.
2600
2601 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2602
2603         * output_docbook.C: moving LatexParam functionality into
2604         .layout files
2605
2606 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2607
2608         * buffer.C: increment format to 229.
2609
2610 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2611
2612         * LaTeXFeatures.C:
2613         * lyx_sty.[Ch]: remove minipageindent_def
2614
2615         * LyXAction.C:
2616         * factory.C:
2617         * lfuns.h:
2618         * lyxfunc.C:
2619         * text3.C: remove LFUN_INSET_MINIPAGE
2620
2621 2003-12-28  Angus Leeming  <leeming@lyx.org>
2622
2623         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2624
2625 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * text2.C (setParagraph): fix off-by-one crash
2628
2629 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2630
2631         * output_docbook.C: header stuff for AGU
2632
2633 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2634
2635         * text2.C (redoCursor): remove
2636         * text.C:
2637         * text3.C:
2638         * BufferView_pimpl.C: remove calls to redoCursor and
2639         setCursor(cursor.par(), cursor.pos()) all around
2640
2641 2003-12-15  Angus Leeming  <leeming@lyx.org>
2642
2643         * buffer.C: up the format to 228.
2644
2645 2003-12-15  André Pönitz  <poenitz@gmx.net>
2646
2647         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2648         slices
2649
2650         * Makefile.am:
2651
2652         * BufferView_pimpl.C:
2653         * cursor.[Ch]:
2654         * lyxcursor.[Ch]:
2655         * rowpainter.[Ch]:
2656         * lyxtext.h:
2657         * text.C:
2658         * text2.C:
2659         * text3.C: adjust
2660
2661 2003-12-15  Angus Leeming  <leeming@lyx.org>
2662
2663         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2664         than getFromGUIName to manipulate the color.
2665
2666 2003-12-14  Angus Leeming  <leeming@lyx.org>
2667
2668         * BranchList.[Ch]: minimize the API.
2669         (Branch::getBranch, getColor): now return a 'const &'.
2670         (Branch::setSelected) now returns a bool set to true if the
2671         selection status changes.
2672         (BranchList::clear, size, getColor, setColor, setSelected,
2673         allBranches, allSelected, separator): removed.
2674         (BranchList::find): new functions, returning the Branch with
2675         the given name.
2676         (BranchList::add, remove): return a bool indicating that
2677         the operation was successful.
2678
2679         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2680         new InsetBranch::isBranchSlected member function.
2681
2682         * LColor.[Ch]: mimimize the API.
2683         (fill): renamed as addColor and made private.
2684         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2685         versions of these functions taking a string arg have been removed.
2686
2687         * bufferparams.C (readToken):
2688         * lyxfunc.C (dispatch):
2689         * lyxrc.C (read): changes due to the altered BranchList and
2690         LColor APIs.
2691
2692         * factory.C (createInset, readInset): changes due to altered
2693         InsetBranch c-tor.
2694
2695 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2696
2697         * factory.C:
2698         * lyxfunc.C: remove insetminipage. "minipage-insert"
2699         now produces a frameless minipage box inset.
2700
2701 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2702
2703         * textcursor.[Ch] (selStart,selEnd): add new methods
2704         remove selection::start, end, use LyXCursor::operator<
2705         * lyxcursor.[Ch] (operator<): add
2706         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2707         * BufferView.[Ch] (unsetXSel): add
2708         * text2.C (clearSelection): use unsetXSel,adjust
2709         * text.C: adjust
2710         * text3.C: adjust
2711         * rowpainter.C: adjust
2712         * bufferview_funcs.C (put_selection_at): adjust
2713
2714 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * BufferView_pimpl.C: small coord. correction
2717
2718 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2719
2720         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2721         dragging over the splash screen.
2722
2723 2003-12-11  Angus Leeming  <leeming@lyx.org>
2724
2725         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2726         as it is now handled in LyXText::dispatch.
2727
2728         * text3.C (doInsertInset): remove a level of nesting.
2729
2730 2003-12-11  Angus Leeming  <leeming@lyx.org>
2731
2732         * factory.C (createInset): changes due to the changed interface to
2733         InsetCommandMailer::string2params.
2734
2735 2003-12-10  Angus Leeming  <leeming@lyx.org>
2736
2737         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2738         'dialog-show-new-inset <inset name>'
2739
2740 2003-12-10  Angus Leeming  <leeming@lyx.org>
2741
2742         * buffer.C: up the format to 227.
2743
2744         * factory.C: the box inset is now identified simply by 'Box'.
2745
2746 2003-12-10  Angus Leeming  <leeming@lyx.org>
2747
2748         * buffer.C: up the format to 226.
2749
2750         * factory.C: the note inset is now identified simply by 'Note'.
2751
2752 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2755         when a pit is enough. Standarize a couple of loops.
2756
2757 2003-12-05  Angus Leeming  <leeming@lyx.org>
2758
2759         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2760         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2761         data to the re-worked "log" dialog.
2762
2763 2003-12-03  André Pönitz  <poenitz@gmx.net>
2764
2765         * PosIterator.C:
2766         * iterators.C:
2767         * lyxtext.h:
2768         * output_latex.C:
2769         * paragraph_funcs.C:
2770         * text.C:
2771         * text2.C: use Inset::getText instead of Inset::getParagraph
2772
2773 2003-12-03  André Pönitz  <poenitz@gmx.net>
2774
2775         * buffer.[Ch]:
2776         * lyxtext.h:
2777         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2778         InsetText::read() as LyXText::read()
2779
2780 2003-12-02  Angus Leeming  <leeming@lyx.org>
2781
2782         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2783         type. Add a comment in the implementation that the function uses
2784         the stream's bad() function rather than fail() as the std::streams
2785         would do.
2786
2787 2003-12-02  André Pönitz  <poenitz@gmx.net>
2788
2789         * lyxlex.[Ch]: make interface more similar to std::stream
2790
2791         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2792
2793 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2794
2795         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2796
2797 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2798
2799         * vspace.[Ch]: remove VSpace::NONE
2800
2801 2003-12-01  André Pönitz  <poenitz@gmx.net>
2802
2803         * buffer.[Ch]:
2804         * lyxtext.h: move ParagraphList member to LyXText
2805         rename LyXText::ownerParagraphs to LyXText::paragraph
2806
2807         * CutAndPaste.C:
2808         * bufferview_funcs.C:
2809         * iterators.[Ch]:
2810         * lyx_cb.C:
2811         * paragraph.C:
2812         * rowpainter.C:
2813         * tabular.C:
2814         * text.C:
2815         * text2.C:
2816         * text3.C: adjust
2817
2818         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2819
2820         * undo.C: fix cursor positioning
2821
2822 2003-12-01  John Levon  <levon@movementarian.org>
2823
2824         * BufferView_pimpl.C: fix a crash on exit with
2825         a buffer open
2826
2827 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2828
2829         * BranchList.C: fix setSelected() method.
2830
2831 2003-11-28  André Pönitz  <poenitz@gmx.net>
2832
2833         * ParagraphParameters.[Ch]:
2834         * ParameterStruct.h: remove space above/below from Paragraph to
2835          InsetVSpace
2836
2837         * BufferView_pimpl.C:
2838         * factory.C:
2839         * lyxfunc.C:
2840         * lyxtext.h:
2841         * output_latex.C:
2842         * paragraph.C:
2843         * paragraph_funcs.C:
2844         * rowpainter.[Ch]:
2845         * text.C:
2846         * text2.C:
2847         * text3.C: adjust
2848
2849 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * factory.C: Syntax change for CharStyles
2852
2853 2003-11-28  André Pönitz  <poenitz@gmx.net>
2854
2855         * BufferView.[Ch]:
2856         * BufferView.[Ch]:
2857         * buffer.[Ch]:
2858         * buffer.[Ch]: move LyXText member
2859
2860 2003-11-28  André Pönitz  <poenitz@gmx.net>
2861
2862         * BufferView.[Ch]: make LyXText * text a private member
2863
2864         * BufferView_pimpl.C:
2865         * cursor.C:
2866         * iterators.C:
2867         * lyx_cb.C:
2868         * lyxfind.C:
2869         * lyxtext.h:
2870         * rowpainter.[Ch]:
2871         * text.C:
2872         * text2.C:
2873         * undo.C: adjust
2874
2875         * output_plaintext.C: cleanup
2876
2877 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2878
2879         * buffer.C:
2880         * lyxtextclass.[Ch]: parametrize SGML document header
2881
2882 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2883
2884         * converter.[Ch]:
2885         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2886         getFlavor().
2887
2888 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2889
2890         * text2.C (setFont): rework using PosIterator (no more recursive)
2891         (setCharFont): no more needed
2892         (setLayout): no more selection cursors fiddling (done by redoCursor)
2893         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2894         destroy remaining ones)
2895
2896 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2897
2898         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2899         * lyxtext.h: ditto
2900         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2901         selection cursors
2902         * lyxfunc.C: adjust
2903         * text3.C: adjust + re-allow multi par depth changes
2904         * textcursor.C: simplify a bit
2905
2906 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2907
2908         * src/buffer.C:
2909         * src/lyxlayout.C:
2910         * src/lyxlayout.h:
2911         * src/lyxtext.h:
2912         * src/output_docbook.C:
2913         * src/output_latex.C:
2914         * src/paragraph.C:
2915         * src/paragraph.h:
2916         * src/sgml.C:
2917         * src/sgml.h:
2918         * src/text2.C: Introducing a number of tags parametrizing various
2919         XML formats that we may want to support
2920
2921 2003-11-25  André Pönitz  <poenitz@gmx.net>
2922
2923         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2924
2925         * lyxtext.h (leftMargin/rightMargin): simplify interface
2926
2927         * rowpainter.C:
2928         * text.C:
2929         * text2.C:
2930         * text3.C: adjust
2931
2932 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2933
2934         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2935         master file to any child files. Fixes bug 546.
2936
2937 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2938
2939         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2940
2941 2003-11-24  André Pönitz  <poenitz@gmx.net>
2942
2943         * rowpainter.C: simplification
2944
2945         * text2.C (updateCounters): remove call to redoParagraph on
2946         changed labels as this is far too expensive.
2947
2948 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2949
2950         * converter.C (convert): fix a crash: this function gets
2951         called with buffer == 0 from importer code.
2952
2953 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2954
2955         * text3.C (cursorPrevious): make sure that we do not compare
2956         iterators form different containers.
2957         (cursorNext): ditto
2958
2959         * rowpainter.C (paintSelection): make sure that we do not compare
2960         iterators from different containers.
2961
2962         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2963         iterators from different ParagraphList containers.
2964         [NEXT] ditto
2965
2966         * text2.C (LyXText): change order of initialization slightly
2967         (operator=): new function. copy all variables except cache_par_
2968         (moveUp): make sure that we do not compare iterators from
2969         different ParagraphList constainers.
2970         (moveDown): ditto
2971
2972         * text.C (firstPar): new function
2973         (lastPar): new function
2974         (endPar): new function
2975
2976         * lyxtext.h: move things around and group public functions, public
2977         variables, private functions, private variables
2978
2979 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2980
2981         * factory.C: change call to InsetERT constructor to avoid
2982         additional invocation of method status
2983         * text2.C (toggleInset): remove redundant update() call
2984         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2985         instead of a Bufferview pointer
2986
2987 2003-11-21  André Pönitz  <poenitz@gmx.net>
2988
2989         * rowpainter.C: simplification
2990
2991 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2992
2993         * text3.C (dispatch): make possible to extend a word/row selection
2994         with the mouse
2995
2996 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * lyxtext.h: x0_,y0_ -> xo_,yo_
2999         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3000         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3001         * rowpainter.C (paintRows): paint full paragraphs
3002
3003 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3006         screen coordinates)
3007
3008 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3009
3010         * lyxtext.h: add x0_, y0_
3011         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3012         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3013
3014 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * text2.C (setCursorIntern): move the x_target update here *
3017         * text3.C: change some bv() to true/false in calls to
3018         cursorUp/Down/Right/Left
3019         * cursor.C: use helper function.
3020
3021 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3024         * paragraph_funcs.[Ch]: correct comment
3025         * rowpainter.C: do not paint selections away from bv->cursor()
3026         Fix a long standing selection painting bug.
3027         * text3.C: generalize mouse-selection code to LyXTexts other that
3028         top one
3029         * textcursor.C: do not use y coords if we can use par offsets
3030
3031 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3032
3033         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3034         cursor position after e.g. inset insert)
3035
3036 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * lyxfind.C (replace): adjust to locking removal + some
3039         code simplification
3040
3041 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3042
3043         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3044         of the path
3045
3046 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3047
3048         * lyxlayout.[Ch]:
3049         * output_docbook.C: XML sanitation: new layout
3050         parameters InnerTag and CommandDepth
3051
3052 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3053
3054         * BufferView_pimpl.C:
3055         * factory.C:
3056         * text3.C: Fix the insertion and modification of button-style
3057         insets
3058
3059 2003-11-13  André Pönitz  <poenitz@gmx.net>
3060
3061         * InsetList.[Ch]: remove deleteLyXText
3062
3063         * paragraph.[Ch]: cache beginOfBody position
3064
3065         * Bidi.C:
3066         * text.C:
3067         * text2.C:
3068         * text3.C: remove superfluous update() calls
3069
3070         * vspace.C: cleanup
3071
3072 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3075         * BufferView.C (fitLockedInsetCursor): remove
3076         * cursor.[Ch] (getDim): add
3077         * text.C (getRowNearY): add faster version
3078         * text3.C: remove some update calls
3079
3080 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3081
3082         * LaTeXFeatures.C:
3083         * LyXAction.C:
3084         * MenuBackend.C:
3085         * MenuBackend.h:
3086         * dispatchresult.h:
3087         * factory.C:
3088         * lfuns.h:
3089         * lyxfunc.C:
3090         * lyxtextclass.C:
3091         * lyxtextclass.h:
3092         * text3.C: The Character Style /XML short element patch.
3093
3094 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3095
3096         * text3.C:
3097         * factory.C: Small step to solving 'unable to insert some insets'
3098         problem
3099
3100 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3101
3102         * cursor.[Ch] (updatePos): new function for updating the y
3103         position of the tip inset
3104         * bufferview_funcs.C (put_selection_at):
3105         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3106
3107 2003-11-11  André Pönitz  <poenitz@gmx.net>
3108
3109         * text.C: remove big comment on invalid Paragraph pointers as it is
3110         not valid anymore
3111
3112 2003-11-11  André Pönitz  <poenitz@gmx.net>
3113
3114         * text_funcs.[Ch]: merge with ...
3115
3116         * text.C: ... this
3117
3118         * lyxtext.h:
3119         * text2.C:
3120         * text3.C: adjust
3121
3122         * Makefile.am: remove text_funcs.[Ch]
3123
3124 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3125
3126         * cursor.C (getPos): return absolute cached y coord
3127
3128         * BufferView_pimpl.C (fitCursor): new simplistic code
3129         (workAreaDispatch): add a fitCursor call
3130
3131 2003-11-10  André Pönitz  <poenitz@gmx.net>
3132
3133         * BufferView.[Ch]:
3134         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3135
3136 2003-11-10  André Pönitz  <poenitz@gmx.net>
3137
3138         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3139         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3140         indicate that the cursor needs to leave an inset
3141
3142         * lyxtext.h: remove inset locking
3143
3144         * cursor.[Ch]: re-implement functionality provided by inset locking
3145
3146         * BufferView.[Ch]:
3147         * BufferView_pimpl.[Ch]:
3148         * LyXAction.C:
3149         * bufferview_funcs.[Ch]:
3150         * factory.C:
3151         * funcrequest.[Ch]:
3152         * iterators.C:
3153         * lyx_cb.C:
3154         * lyxfind.C:
3155         * lyxfunc.C:
3156         * text.C:
3157         * text2.C:
3158         * text3.C:
3159         * undo.C: adjust
3160
3161 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * PosIterator.[Ch]: replace the stack with a vector, add inset
3164         accesor
3165         * iterators.[C]: adjust
3166
3167 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3168
3169         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3170         replaced
3171         * paragraph_funcs.C (readParToken): put the correct id in the
3172         error item, not the id of the top paragraph
3173
3174 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3177         * bufferview_funcs.C (put_selection_at): use the above
3178
3179 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3182
3183 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3184
3185         * output_linuxdoc.h:
3186         * output_plaintext.h:
3187         * output.h:
3188         * output_docbook.h: add #include statements
3189
3190 2003-11-05  José Matos  <jamatos@lyx.org>
3191
3192         * output_docbook.[Ch]:
3193         * output_latex.[Ch]:
3194         * output_linuxdoc.[Ch]:
3195         * output_plaintext.[Ch]: New files for output formats.
3196         * output.[Ch]: New file for helper functions.
3197
3198         * buffer.[Ch]:
3199         * paragraph_funcs.[Ch]: output functions moved to new files.
3200
3201         * outputparams.h: rename of latexrunparams.h
3202
3203         * LaTeX.[Ch]:
3204         * buffer.[Ch]:
3205         * bufferlist.[Ch]:
3206         * converter.[Ch]:
3207         * exporter.C:
3208         * paragraph.[Ch]:
3209         * paragraph_funcs.[Ch]:
3210         * paragraph_pimpl.[Ch]:
3211         * tabular.[Ch]: rename ascii to plaintext
3212         and LatexRunParams to OutputParams.
3213
3214 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3215
3216         * iterators.[Ch] (text): require bv argument
3217         * undo.C (recordUndo):
3218         * lyxfunc.C (dispatch):
3219         * bufferview_funcs.C (put_selection_at): adjust
3220
3221 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3222
3223         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3224
3225 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3226
3227         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3228         nestings
3229
3230 2003-11-04  André Pönitz  <poenitz@gmx.net>
3231
3232         * cursor.[Ch]: restructure
3233
3234         * BufferView.[Ch]:
3235         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3236
3237         * iterators.[Ch] (asCursor): remove
3238
3239         * lfuns.h: remove LFUN_INSET_EDIT
3240
3241         * lyxfunc.C:
3242         * tabular.C:
3243         * text.C:
3244         * text2.C:
3245         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3246
3247 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * lyxfind.[Ch]: complete overhaul
3250         * BufferView_pimpl.C:
3251         * lyxfunc.C: adjust
3252         * paragraph.[Ch] (insert): add
3253
3254 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * BufferView.[Ch]:
3257         * lyxtext.h:
3258         * text.C: remove dead spellcheck code
3259
3260 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * dispatchresult.h: add a val setter
3263
3264         * cursor.C (dispatch): use a tempvar for data_[i]
3265
3266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3267
3268         * PosIterator.[Ch]: compile fix
3269
3270 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3271
3272         * text.C (cursorPar): deactivate the cursor cache
3273
3274 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3275
3276         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3277
3278 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * text3.C (dispatch): adjust for new DisptchResult semantics.
3281
3282         * lyxfunc.C (dispatch): handle update when return from
3283         Cursor::dispatch, adjust for new DispatchResult semantics.
3284
3285         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3286         DispatchResult(true) mean to not update. Add class functions for
3287         setting dispatched and update, as well as reading.
3288
3289         * cursor.C (dispatch): don't handle update here
3290
3291 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3292
3293         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3294         * trans_mgr.C: adjust
3295
3296         * paragraph_funcs.C (readParToken): exception safety
3297
3298         * lyxvc.h: store the vcs pointer in a scoped_ptr
3299         * lyxvc.C: adjust
3300
3301         * lyxsocket.C (serverCallback): exception safety
3302
3303         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3304
3305         * ispell.C (clone): make it return a auto_ptr
3306
3307         * factory.C (createInset): exception safety
3308         (readInset): exception safety
3309
3310         * bufferlist.C (newBuffer): exception safety
3311
3312         * Thesaurus.C (Thesaurus): use initialization for aik_
3313
3314         * MenuBackend.C (expandToc): exception safety.
3315
3316 2003-11-03  André Pönitz  <poenitz@gmx.net>
3317
3318         * buffer.C:
3319         * buffer.h:
3320         * bufferview_funcs.C: remove getInsetFromId()
3321
3322         * lyxcursor.[Ch]:
3323         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3324
3325         * lyxfunc.C:
3326         * text2.C:
3327         * text3.C: adjust
3328
3329 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3330
3331         * PosIterator.C (distance, advance): new
3332         * bufferview_funcs.[Ch] (put_selection_at): new
3333         * iterators.[Ch] (lockPath): new
3334
3335 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3336
3337         * iterators.[Ch] (asPosIterator): added
3338         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3339         * PosIterator.[Ch]: added
3340
3341 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * text3.C:
3344         * lyxfunc.C:
3345         * cursor.C (dispatch):
3346         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3347
3348         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3349         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3350         contructor, add a class function dispatched. Remove operator>=
3351
3352 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * debug.C: only use the default constructor for debugstream
3355         (lyxerr) here.
3356
3357         * main.C (main): include debug.h and setup the lyxerr streambuf
3358         here.
3359
3360 2003-10-31  José Matos  <jamatos@lyx.org>
3361
3362         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3363
3364         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3365         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3366         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3367         * paragraph_pimpl.C (simpleTeXSpecialC):
3368         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3369         add LatexRunParams argument.
3370
3371         * exporter.C (Export): change call accordingly.
3372
3373         * latexrunparams.h: add new member to take care of the other backends.
3374 2003-10-30  José Matos  <jamatos@lyx.org>
3375
3376         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3377         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3378         factorise code for paragraph output.
3379         * buffer.[Ch]:
3380         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3381         move functions.
3382
3383 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * text3.C (dispatch):
3386         * lyxfunc.C (dispatch):
3387         * cursor.C (dispatch):
3388         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3389
3390         * dispatchresult.h: make the dispatch_result_t ctor explicit
3391
3392 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3393
3394         * sgml.[Ch]:
3395         * buffer.C: small refactoring of docbook stuff
3396
3397 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3400         meaning.
3401
3402 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3405         operator dispatch_result_t, and operators for == != and >=
3406
3407         * cursor.C (dispatch): adjust for operator dispatch_result_t
3408         removal. comment out call to update
3409
3410         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3411
3412 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * text3.C:
3415         * text2.C:
3416         * text.C:
3417         * lyxtext.h:
3418         * lyxfunc.C:
3419         * cursor.C:
3420         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3421         (dispatch):
3422
3423         * dispatchresult.h: new file, DispatchResult broken out of
3424         insets/insetbase.h
3425
3426         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3427
3428 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * text.C (rowBreakPoint): put a hack inside #if 0
3431
3432 2003-10-28  André Pönitz  <poenitz@gmx.net>
3433
3434         * lyxtext.h:
3435         * metricsinfo.C:
3436         * paragraph_funcs.C:
3437         * rowpainter.C:
3438         * text.C:
3439         * text2.C: general cleanup (lots of small stuff)
3440
3441 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * text2.C (cursorEnd): simple fix to the "end key goes to one
3444         before the end on last row" bug
3445
3446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * text.C (backspace): fix the "zombie characters"
3449
3450 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3453
3454 2003-10-27  André Pönitz  <poenitz@gmx.net>
3455
3456         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3457
3458         * factory.C: handle new InsetPagebreak, InsetLine
3459
3460         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3461         and move handling into new InsetPagebreak, InsetLine
3462
3463         * BufferView_pimpl.C:
3464         * LyXAction.C:
3465         * ParagraphParameters.C:
3466         * ParameterStruct.h:
3467         * lyxfunc.C:
3468         * lyxtext.h:
3469         * paragraph.C:
3470         * paragraph.h:
3471         * paragraph_funcs.C:
3472         * paragraph_pimpl.C:
3473         * rowpainter.C:
3474         * text.C:
3475         * text2.C:
3476         * text3.C: adjust
3477
3478 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3479
3480         * text.C:
3481         * lyxrow_funcs.[Ch]:
3482         * Bidi.C:
3483         * paragraph.C:
3484         * lyxtext.h:
3485         * rowpainter.C:
3486         * text2.C:
3487         * text3.C: remove lastPos uses in favour of Row::endpos
3488
3489 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * undo.C (performUndoOrRedo): fix two crashes by setting a
3492         cursor by hand and reordering some calls. Use bv->lockInset instead
3493         of inset->edit because the latter loses cursor information
3494
3495 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3498         by Martin
3499         (rowBreakPoint): fix width. change point to point + 1.
3500         Add a missing check.
3501
3502 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3503
3504         * MenuBackend.C:
3505         * lyxfunc.C: fix (at least partly) the problems
3506         with the Nav menu and headers inside branch insets
3507         reported by Kayvan
3508
3509 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3510
3511         * paragraph.C (getChar): add strong asserts
3512
3513         * lyxrow_funcs.C (lastPos): remove hideous hack
3514
3515         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3516         (fill): adjust to that (avoid an infinite loop)
3517
3518 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3521
3522 2003-10-23  André Pönitz  <poenitz@gmx.net>
3523
3524         * RowList_fwd.h: change list<> to vector<> to gain speed
3525         after suggestion from Alfredo
3526
3527 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * lyxtext.h: move the bidi stuff from here...
3530         * text.C: and here
3531         * text2.C: and here
3532         * Bidi.[Ch]: ... to here
3533
3534 2003-10-23  André Pönitz  <poenitz@gmx.net>
3535
3536         * lyxtext.h:
3537         * text.C (isLastRow, isFirstRow): new functions
3538
3539         * paragraph.h: new width cache member
3540
3541         * rowpainter.C: replace RowList::iterator with Row & where possible
3542
3543         * lyxfunc.C: replace several view()->text with a single call
3544
3545         * toc.C: fix 'unused' warning
3546
3547 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3550         when woring with stream::pos_type
3551         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3552
3553 2003-10-22  André Pönitz  <poenitz@gmx.net>
3554
3555         * lyxtext.h:
3556         * text.C: use Row & instead of RowList::iterator
3557
3558         * lyxrow.h: rename end() to endpos()
3559
3560         * rowpainter.C:
3561         * text.C:
3562         * text2.C: adjust
3563
3564 2003-10-22  Angus Leeming  <leeming@lyx.org>
3565
3566         * buffer.[Ch] (fully_loaded): new member function, returning true
3567         only when the file has been loaded fully.
3568         Used to prevent the premature generation of previews and by the
3569         citation inset to prevent computation of the natbib-style label.
3570
3571         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3572         templates are all set up.
3573
3574         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3575
3576 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3577
3578         * text.C: fixed an "oops" in the "is a bit silly"
3579         bug fix
3580
3581 2003-10-21  André Pönitz  <poenitz@gmx.net>
3582
3583         * FuncStatus.[Ch]: small stuff, whitespace
3584
3585         * lyxfont.[Ch]: operator<<() for debug reasons
3586
3587         * lyxfunc.C:
3588         * lyxrow_funcs.C:
3589         * lyxtext.h: whitespace, spelling
3590
3591         * paragraph.C: naming of variables
3592
3593         * text.C:
3594         * text2.C: small stuff
3595
3596
3597 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3598
3599         * text.C: (1) finish off the inset display() work;
3600         (2) fix the "is a bit silly" bug (accessing char
3601         past end of par).
3602
3603 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3604
3605         * text.C: re-introduce display() for insets, fixing the
3606         various bugs (stretch of line above, math inset
3607         positioning, ...)
3608
3609 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3610
3611         * text.C (rightMargin): remove spurious semicolon
3612
3613         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3614         1415)
3615
3616 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3617
3618         * text3.C: fix one crash due to wrong cursor def
3619
3620 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * vc-backend.C (scanMaster): make the regex static
3623
3624         * LaTeX.C (scanAuxFile): make the regexs static
3625
3626         * text3.C (doInsertInset, dispatch, dispatch):
3627         * text2.C (cursorUp, cursorDown):
3628         * text.C (selectNextWordToSpellcheck):
3629         * BufferView_pimpl.C (dispatch):
3630         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3631
3632 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3633
3634         * lyxsocket.C: include <cerrno>
3635
3636 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * lyxfunc.C (dispatch): remove textcache stuff
3639
3640         * bufferlist.C (release): remove textcache stuff
3641         (closeAll): ditto
3642
3643         * TextCache.C: delete file
3644         * TextCache.h: delete file
3645
3646         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3647
3648         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3649         delete of the bv_->text.
3650         (resizeCurrentBuffer): remove texcache stuff
3651         (workAreaResize): ditto
3652
3653 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3656         action.
3657
3658 2003-10-16  André Pönitz  <poenitz@gmx.net>
3659
3660         * lyxrow.[Ch]:
3661         * paragraph.h:
3662         * rowpainter.C:
3663         * text.C:
3664         * text2.C:
3665         * text3.C: speed up by storing y positions per paragraph plus per-row
3666         offset instead of having a 'full' y position in the row.
3667
3668 2003-10-15  André Pönitz  <poenitz@gmx.net>
3669
3670         * iterators.[Ch]:
3671         * iterators.[Ch]:
3672         * undo.[Ch]: make undo aware of inner insets
3673
3674 2003-10-14  Angus Leeming  <leeming@lyx.org>
3675
3676         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3677         static member functions LyX::ref() and LyX::cref.
3678         (lastfiles): new accessor functions for the new lastfiles_ member var.
3679         (addLyXView, views_): add a new LyXView to the list of views_.
3680         (updateInset): loop over all LyXViews to call their own updateInset
3681         member function, returning a pointer to the Buffer owning the inset.
3682
3683         * BufferView_pimpl.C (loadLyXFile):
3684         * MenuBackend.C (expandLastfiles):
3685         * bufferlist.C (MenuWrite, QuitLyX):
3686         lastfiles is no longer a global variable.
3687         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3688
3689         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3690         static function. Access through LyX::cref().emergencyCleanup().
3691
3692 2003-10-14  André Pönitz  <poenitz@gmx.net>
3693
3694         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3695
3696         * undo.[Ch]: restoring part of 'undo in insets'
3697
3698         * Makefile.am:
3699         * undo_funcs.[Ch]: merge with undo.[Ch]
3700
3701         * tabular.C: small cleansing stuff
3702
3703 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * paragraph_funcs.C (readParToken): report unknown insets as error
3706         boxes. Use the outer paragraph as location (also for unknown
3707         tokens).
3708
3709         * factory.C (readInset): do not abort on reading an unknown inset.
3710         Eat it and return 0.
3711
3712 2003-10-13  Angus Leeming  <leeming@lyx.org>
3713
3714         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3715
3716         * lyxrc.C: displayTranslator is now a function,
3717         declared in GraphicsTypes.h.
3718
3719 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3720
3721         * format.C: new placeholder $$a to pass the socket address.
3722
3723         * bufferlist.[Ch]: new function getBufferFromTmp.
3724
3725         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3726           files in the temporary dir.
3727
3728 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3729
3730         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3731
3732         * Makefile.am: add lyxsocket.[Ch].
3733
3734         * lyx_main.C (error_handler): handle SIGPIPE.
3735
3736 2003-10-13  André Pönitz  <poenitz@gmx.net>
3737
3738         * BufferView_pimpl.C:
3739         * lyxtext.h:
3740         * text.C:
3741         * text2.C:
3742         * text3.C:
3743         * undo_funcs.[Ch]: use paroffset_type instead of
3744           ParagraphList::iterators to prevent multiple conversion
3745           (and get a more robust interface)
3746
3747 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3750         * lyxtext.h: ditto
3751         * text3.C (dispatch): ditto
3752
3753 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3756         move the onlyfile, use onlyfile instead of foundfile in a couple
3757         of places.
3758
3759         * DepTable.C (update): flush the error stream a bit more
3760
3761 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * lyxserver.C (callback): adjust
3764
3765         * lyxfunc.C (getStatus): add a missing brace in commented code
3766         (ensureBufferClean): reindent
3767         (dispatch): delete version taking a string
3768
3769 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3770
3771         * LaTeX.C (deplog): move found file handlig from here...
3772         (handleFoundFile): .. to new function here.
3773         (deplog): make sure to discover several files mentioned on the
3774         same log line.
3775
3776 2003-10-10  André Pönitz  <poenitz@gmx.net>
3777
3778         * lyxfunc.C:
3779         * lyxtext.h:
3780         * tabular.C:
3781         * text.C:
3782         * text2.C:
3783         * text3.C: fix some of the tabular crashes
3784
3785 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3786
3787         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3788
3789         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3790
3791 2003-10-09  André Pönitz  <poenitz@gmx.net>
3792
3793         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3794
3795         * BufferView.C:
3796         * BufferView_pimpl.C:
3797         * bufferview_funcs.C:
3798         * lyx_cb.C:
3799         * lyxcursor.C:
3800         * lyxfind.C:
3801         * lyxfunc.C:
3802         * lyxtext.h:
3803         * text.C:
3804         * text2.C:
3805         * text3.C:
3806         * text_funcs.[Ch]:
3807         * textcursor.[Ch]:
3808         * undo_funcs.C: adjust
3809
3810 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * text2.C (incrementItemDepth): new function, use a backtracking
3813         algorithm to discover the correct item depth.
3814         (resetEnumCounterIfNeeded): new function, use a backtracking
3815         algorithm to discover if counter reset is needed.
3816         (setCounter): use them. Simplify a bit. Add different labels for
3817         different item depths for itemize.
3818
3819         * paragraph.C (Paragraph): remove initialization of enumdepth
3820         (operator=): ditto
3821
3822         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3823         enumerate and itemize. Change the type of itemdepth to signed char.
3824
3825 2003-10-08  André Pönitz  <poenitz@gmx.net>
3826
3827         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3828           thing assignable.
3829         * text.C:
3830         * text2.C: adjust
3831
3832         * tabular.[Ch]: fix crash after 'row-insert'
3833
3834 2003-10-08  Angus Leeming  <leeming@lyx.org>
3835
3836         Fix doxygen warnings.
3837
3838         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3839         Remove CutAndPaste:: prefix from header file declaration.
3840
3841         * LColor.h (fill): remove LColor:: prefix from declaration.
3842
3843         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3844         use lyx::depth_type rather than Paragraph::depth_type so that
3845         header file and .C file match.
3846
3847         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3848
3849         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3850         * aspell.C: \file aspell_local.C -> \file aspell.C
3851         * gettext.C: \file gettext.C -> \file src/gettext.C
3852         * gettext.h: \file gettext.h -> \file src/gettext.h
3853         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3854         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3855         * text.C: \file text.C -> \file src/text.C
3856
3857         * toc.C: move comment so that doxygen is not confused.
3858
3859 2003-10-07  Angus Leeming  <leeming@lyx.org>
3860
3861         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3862
3863 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3864
3865         * aspell.C:
3866         * aspell_local.h: add forgotten std::string's.
3867
3868 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3869
3870         * LaTeXFeatures.C:
3871         * LyXAction.C:
3872         * factory.C:
3873         * lfuns.h:
3874         * lyxfunc.C:
3875         * text3.C: The Box patch. Fancybox support, minipage, parbox
3876
3877 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3878
3879         * CutAndPaste.h:
3880         * DepTable.h:
3881         * FloatList.h:
3882         * LaTeXFeatures.h:
3883         * ParagraphParameters.h:
3884         * TextCache.h:
3885         * Thesaurus.h:
3886         * bufferlist.h:
3887         * exporter.h:
3888         * importer.h:
3889         * lastfiles.h:
3890         * lyxfind.h:
3891         * lyxfont.h:
3892         * lyxlex.h:
3893         * lyxtextclasslist.h:
3894         * messages.h:
3895         * paragraph.h:
3896         * paragraph_pimpl.C:
3897         * textcursor.h: add <string> and other small fixes to make Lars'
3898         std::string patch compile with STLport.
3899
3900 2003-10-06  Angus Leeming  <leeming@lyx.org>
3901
3902         * LColor.h: Add missing #include <string>.
3903
3904 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * All most all file in all subdirs: Make <string> be the prefered
3907         way of getting to std::string, add using declarations.
3908
3909 2003-10-06  André Pönitz  <poenitz@gmx.net>
3910
3911         * metricsinfo.C: initialize LyXFont before changing attribute.
3912         (fixes the 'math in \emph is upright' bug)
3913
3914 2003-10-06  André Pönitz  <poenitz@gmx.net>
3915
3916         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3917
3918 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3919
3920         * graph.C:
3921         * paragraph_pimpl.C: Small fixes to build using STLport
3922
3923 2003-10-02  André Pönitz  <poenitz@gmx.net>
3924
3925         * lyxfunc.C:
3926         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3927
3928 2003-10-01  André Pönitz  <poenitz@gmx.net>
3929
3930         * factory.C: assert early
3931
3932 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * lyx_main.C: remove the global debug object
3935
3936         * debug.h: adjust for new debugstream
3937
3938         * debug.C: adjust for new debugstream and keep the global debug
3939         object here.
3940
3941 2003-09-22  Angus Leeming  <leeming@lyx.org>
3942
3943         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3944         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3945         an incomplete class LyXFont.
3946
3947 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3948
3949         * factory.C: bug fix in branches
3950
3951 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * lyxfunc.C (processKeySym): adjust
3954         (dispatch): adjust
3955         (dispatch): change arg name from ev to func, adjust
3956         (sendDispatchMessage): ditto
3957
3958         * lyx_main.C (defaultKeyBindings): adjust keybindings
3959         (deadKeyBindings): ditto
3960
3961         * kbsequence.C (addkey): return a FuncRequest
3962
3963         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3964
3965         * kbmap.C (bind): take a FuncRequest as arg, adjust
3966         (read): adjust
3967         (lookup): adjust
3968         (defkey): change to take a FuncRequest as arg, adjust
3969         (findbinding): take a FuncRequest as arg, adjust.
3970
3971         * funcrequest.h (operator=): added
3972
3973         * funcrequest.C (FuncRequest): default kb_action changed from
3974         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3975
3976         * buffer.C (dispatch): simplify
3977         (dispatch): adjust to take a FuncRequest as arg, adjust
3978
3979         * boost.C (assertion_failed): change assertion message slightly
3980
3981         * ToolbarBackend.C (read): simplify
3982
3983         * MenuBackend.C (binding): adjust call to findbinding, add a
3984         message if no binding is found.
3985         (read): simplify
3986         (expandToc): correct by adding a empty FuncRequest
3987
3988         * LyXAction.C: include <boost/assert.hpp>
3989         (isPseudoAction): delete function
3990         (LookupFunc): change name to...
3991         (lookupFunc): this. change return type to FuncRequest.
3992         (getActionName): take kb_action as arg, simplify
3993         (funcHasFlag): add an assert, simplify.
3994
3995 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3996
3997         * toc.C (action): return a FuncRequest, simplify
3998
3999         * lyxfunc.C (processKeySym): adjust
4000         (getStatus): delete version that takes an int.
4001         (getStatus): adjust
4002         (dispatch): delete version that takes action as int
4003         (dispatch): adjust
4004         (sendDispatchMessage): simplify and adjust
4005
4006         * funcrequest.C (getArg): take unsigned int as arg
4007
4008         * ToolbarBackend.C (read): adjust
4009         (add): delete version that takes func as a string.
4010         (getIton): take a FuncRequest as arg
4011
4012         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4013         action.
4014
4015         * MenuBackend.C (MenuItem): add a new construct that only takes a
4016         Kind, simplify the constructor use for submenus.
4017         (add): adjust
4018         (expandLastfiles): adjust
4019         (expandDocuments): adjust
4020         (expandFormats): adjust
4021         (expandFloatListInsert): adjust
4022         (expandFloatInsert): adjust
4023         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4024
4025         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4026         Remove class variables lyx_pseudo_map and lyx_arg_map
4027
4028         * LyXAction.C (searchActionArg): delete function
4029         (getPseudoAction): delete function
4030         (retrieveActionArg): delete function
4031         (LookupFunc): make it return kb_action, simplify.
4032         (getActionName): simplify
4033
4034         * factory.C (createInset): fix new bug
4035
4036 2003-09-19  Angus Leeming  <leeming@lyx.org>
4037
4038         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4039         masterFilename_ parameter in the include inset.
4040
4041         * factory.C (createInset): changes due to the changes to InsetInclude.
4042
4043 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4044
4045         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4046
4047 2003-09-18  Angus Leeming  <leeming@lyx.org>
4048
4049         * buffer.C:
4050         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4051         Inset::fillWithBibKeys.
4052         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4053
4054 2003-09-18  Angus Leeming  <leeming@lyx.org>
4055
4056         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4057         variables.
4058         (ctor): pass and store a 'Buffer const &'
4059         (buffer): new member function.
4060
4061         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4062         '*this' to the LaTeXFeatures ctor.
4063
4064 2003-09-18  Angus Leeming  <leeming@lyx.org>
4065
4066         * LColor.h:
4067         * lyxfont.C:
4068         * lyxfont.h:
4069         * lyxtext.h:
4070         * text.C: rename EnumLColor as LColor_color.
4071
4072 2003-09-18  Angus Leeming  <leeming@lyx.org>
4073
4074         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4075         remove #include "insets/insetbase.h" from cursor.h.
4076
4077 2003-09-18  Angus Leeming  <leeming@lyx.org>
4078
4079         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4080         InsetOld_code to remove #include "inset.h".
4081
4082         * iterators.C: add #include "insets/inset.h"
4083
4084 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * BufferView.C: remove more locking stuff that apparently doesn't
4087         do anything sensible.
4088
4089 2003-09-16  André Pönitz  <poenitz@gmx.net>
4090
4091         * paragraph.[Ch]:
4092         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4093           performance boost.
4094
4095 2003-09-16  Angus Leeming  <leeming@lyx.org>
4096
4097         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4098
4099         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4100         arg/return type.
4101
4102         * paragraph.h: remove #include "lyxfont.h". Forward declare
4103         LyXFont_size.
4104
4105 2003-09-16  Angus Leeming  <leeming@lyx.org>
4106
4107         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4108         of support/textutils.h.
4109         (isWord): move the contents of support/textutils.h's IsWordChar here.
4110
4111         * buffer.C:
4112         * lyxfind.C:
4113         * rowpainter.C:
4114         * text.C:
4115         * text2.C: add #include "paragraph.h".
4116
4117         * rowpainter.C:
4118         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4119
4120 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * main.C:
4123         * lyx_main.C:
4124         * lyx_cb.C:
4125         * buffer.C:
4126         * LaTeX.C: use namespace alias for lyx::support::os
4127
4128 2003-09-16  Angus Leeming  <leeming@lyx.org>
4129
4130         * bufferparams.C:
4131         * bufferview_funcs.C:
4132         * factory.C:
4133         * lyxfunc.C:
4134         * paragraph_pimpl.C:
4135         * rowpainter.C:
4136         * text.C: add #include "LColor.h".
4137
4138 2003-09-16  Angus Leeming  <leeming@lyx.org>
4139
4140         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4141         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4142         return LyXFont &.
4143         Store the FontBits::color variable as an int rather than as an
4144         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4145         file.
4146
4147         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4148         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4149         string calls together.
4150
4151         * lyxrc.C: add #include "LColor.h".
4152
4153 2003-09-15  Angus Leeming  <leeming@lyx.org>
4154
4155         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4156         a cow_ptr.
4157
4158 2003-09-15  Angus Leeming  <leeming@lyx.org>
4159
4160         * LColor.h: add an EnumLColor wrapper for LColor::color.
4161
4162         * lyxfont.[Ch] (color, setColor, realColor):
4163         * lyxtext.h, text.C (backgroundColor):
4164         pass EnumLColor args to/from the functions, rather than LColor::color
4165         ones.
4166
4167         * lyxfont.h:
4168         * lyxtext.h: forward declare EnumLColor.
4169
4170         * lyx_main.C: add #include "LColor.h".
4171
4172 2003-09-15  Angus Leeming  <leeming@lyx.org>
4173
4174         * .cvsignore: add lyx-gtk.
4175
4176 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4177
4178         * Chktex.C
4179         * LaTeX.C
4180         * LaTeXFeatures.C
4181         * ParagraphParameters.C
4182         * Spacing.C
4183         * buffer.C
4184         * bufferparams.C
4185         * bufferview_funcs.C
4186         * chset.C
4187         * counters.C
4188         * funcrequest.C
4189         * lyxfont.C
4190         * lyxgluelength.C
4191         * lyxlength.C
4192         * paragraph.C
4193         * paragraph_funcs.C
4194         * text3.C
4195         * vc-backend.C: remove usage of STRCONV
4196
4197 2003-09-15  Angus Leeming  <leeming@lyx.org>
4198
4199         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4200         explicitly define the color passed to the painter.
4201
4202 2003-09-15  Angus Leeming  <leeming@lyx.org>
4203
4204         * bufferparams.C (BufferParams): reorder member initializers to avoid
4205         compiler warning.
4206
4207 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4210         * text.C (updateRowPositions): remove an unusual nop
4211
4212 2003-09-12  André Pönitz  <poenitz@gmx.net>
4213
4214         * BufferView_pimpl.C:
4215         * Bullet.C:
4216         * layout.h:
4217         * lyxfunc.C:
4218         * lyxlayout.[Ch]:
4219         * lyxtextclass.C:
4220         * rowpainter.C:
4221         * text.C:
4222         * text2.C:
4223         * Counters.[Ch]: finish the 'automatic counters' job
4224
4225 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4226
4227         * aspell.C: include <boost/assert.cpp> (compile fix)
4228
4229 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4230
4231         * boost.C (assertion_failed): use lyx::support::abort instead of
4232         assert.
4233
4234 2003-09-10  Angus Leeming  <leeming@lyx.org>
4235
4236         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4237         with their _fwd progeny.
4238
4239 2003-09-09  Angus Leeming  <leeming@lyx.org>
4240
4241         134 files throughtout the source tree: replace 'using namespace abc;'
4242         directives with the appropriate 'using abc::xyz;' declarations.
4243
4244 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4245
4246         * boost.C (emergencyCleanup): moved here from LAssert.c
4247         (assertion_failed): new function, called by BOOST_ASSERT
4248
4249         * several files: change Assert to BOOST_ASSERT
4250
4251 2003-09-09  Angus Leeming  <leeming@lyx.org>
4252
4253         * buffer.[Ch]: Add an Impl class and move Buffer's member
4254         variables into it. As a result move several header files out of
4255         buffer.h.
4256
4257         Add header files to lots of .C files all over the tree as a result.
4258
4259 2003-09-09  Angus Leeming  <leeming@lyx.org>
4260
4261         * buffer.[Ch]: make Buffer's member variables private. Add
4262         accessor functions.
4263
4264         Lots of changes all over the tree as a result.
4265
4266 2003-09-08  Angus Leeming  <leeming@lyx.org>
4267
4268         * graph.C: #include <config.h>.
4269
4270 2003-09-08  Angus Leeming  <leeming@lyx.org>
4271
4272         * BranchList.C:
4273         * BufferView.C:
4274         * BufferView_pimpl.C:
4275         * CutAndPaste.C:
4276         * DepTable.C:
4277         * LaTeX.C:
4278         * LaTeXFeatures.C:
4279         * LyXAction.C:
4280         * MenuBackend.C:
4281         * TextCache.C:
4282         * aspell.C:
4283         * buffer.C:
4284         * bufferlist.C:
4285         * changes.C:
4286         * chset.C:
4287         * converter.C:
4288         * counters.C:
4289         * debug.C:
4290         * graph.C:
4291         * ispell.C:
4292         * lyx_cb.C:
4293         * lyxfind.C:
4294         * lyxfunc.C:
4295         * lyxlex_pimpl.C:
4296         * lyxrc.C:
4297         * lyxrow.C:
4298         * paragraph.C:
4299         * rowpainter.C:
4300         * texrow.C:
4301         * text.C:
4302         * text2.C:
4303         * toc.C: remove redundant using directives.
4304
4305 2003-09-07  Angus Leeming  <leeming@lyx.org>
4306
4307         * LaTeXFeatures.h: remove #include "support/types.h".
4308         * ToolbarBackend.h: remove #include <algorithm>.
4309         * changes.h: remove #include <ctime>.
4310         * debug.h: remove #include <iosfwd>.
4311         * graph.h: remove #include "support/std_string.h".
4312         * lyx_main.h: remove #include <csignal>.
4313         * lyxlex_pimpl.h: remove #include <fstream>.
4314         * sgml.h: remove #include <algorithm>, <utility>.
4315         * toc.h: remove #include "support/std_ostream.h".
4316         Add #include <iosfwd>.
4317
4318 2003-09-07  Angus Leeming  <leeming@lyx.org>
4319
4320         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4321
4322         * converter.h: forward declare LatexRunParams.
4323         * encoding.h: remove #include "lyxrc.h".
4324         * lyxtext.h: remove #include "LColor.h".
4325         * lyxtextclass.h: remove #include "support/types.h".
4326         * trans.h: remove #include "tex-accent.h".
4327         * trans_mgr.h: remove #include "tex-accent.h".
4328         * insets/inset.h: remove #include "support/types.h", <vector>.
4329         * insets/insetcollapsable.h: remove #include "LColor.h".
4330         * insets/insetinclude.h: remove #include "dimension.h".
4331         * insets/insetlatexaccent.h: remove #include "dimension.h".
4332         * insets/insetoptarg.h:: remove #include "insettext.h".
4333         * insets/insettext.h: remove #include "dimension.h",
4334         <boost/shared_ptr.hpp>
4335
4336         * insets/renderers.h: add #include "dimension.h".
4337         * insets/updatableinset.h: add #include "support/types.h".
4338
4339         * many .C files: Associated changes.
4340
4341 2003-09-06  Angus Leeming  <leeming@lyx.org>
4342
4343         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4344         one, inside testInvariant.
4345
4346         * PrinterParams.C: new file.
4347         * PrinterParams.[Ch]: move the function bodies out of line.
4348
4349 2003-09-06  Angus Leeming  <leeming@lyx.org>
4350
4351         * ParagraphParameters.h: forward declare ParameterStruct rather than
4352         including its header file.
4353         (depth): moved out-of-line.
4354
4355 2003-09-06  Angus Leeming  <leeming@lyx.org>
4356
4357         * BufferView_pimpl.h:
4358         * kbmap.h:
4359         * kbsequence.h:
4360         * lyxfunc.h: forward declare LyXKeySym rather than
4361         #include "frontends/LyXKeySym.h".
4362
4363         * BufferView_pimpl.C:
4364         * kbmap.C:
4365         * kbsequence.C:
4366         * lyxfunc.C: associated changes.
4367
4368 2003-09-06  Angus Leeming  <leeming@lyx.org>
4369
4370         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4371         As a result, can remove the #include "insets/inset.h" from BufferView.h
4372
4373 2003-09-06  Angus Leeming  <leeming@lyx.org>
4374
4375         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4376         As a result, can remove the #include "insets/inset.h" from BufferView.h
4377
4378 2003-09-06  Angus Leeming  <leeming@lyx.org>
4379
4380         * buffer_funcs.C:
4381         * buffer.h:
4382         * bufferlist.C:
4383         * BufferView.C:
4384         * bufferview_funcs.C:
4385         * BufferView_pimpl.C:
4386         * CutAndPaste.C:
4387         * lyx_cb.C:
4388         * lyxfunc.C:
4389         * paragraph.h:
4390         * ParagraphParameters.C:
4391         * tabular.C:
4392         * text3.C:
4393         * toc.C:
4394         * undo_funcs.C:
4395         * frontends/controllers/ControlDocument.C:
4396         * insets/insetcaption.C: rearrange the #includes into some sort of
4397         coherent order.
4398
4399         * buffer.h: remove #includes ErrorList.h, undo.h
4400
4401 2003-09-06  Angus Leeming  <leeming@lyx.org>
4402
4403         * support/types.h: add a 'depth_type' typedef, used to store the
4404         nesting depth of a paragraph.
4405
4406         * paragraph.h:
4407         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4408         defining explicitly.
4409
4410         * buffer.h:
4411         * paragraph_funcs.h:
4412         * ParagraphParameters.h:
4413         * sgml.h: use lyx::depth_type rather than Paragraph or
4414         ParameterStruct's depth_type.
4415
4416         * buffer.h
4417         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4418
4419         * BufferView.C:
4420         * BufferView_pimpl.C:
4421         * CutAndPaste.C:
4422         * ParagraphParameters.C:
4423         * buffer_funcs.C:
4424         * bufferlist.C:
4425         * bufferview_funcs.C:
4426         * lyx_cb.C:
4427         * lyxfunc.C:
4428         * tabular.C:
4429         * text3.C:
4430         * toc.C:
4431         * undo_funcs.C:
4432         * frontends/LyXView.C:
4433         * frontends/controllers/ControlDocument.C:
4434         * frontends/controllers/ControlErrorList.C:
4435         * insets/insetbibitem.C:
4436         * insets/insetbranch.C:
4437         * insets/insetcaption.C:
4438         * insets/insetcollapsable.C:
4439         * insets/insetenv.C:
4440         * insets/insetert.C:
4441         * insets/insetfloat.C:
4442         * insets/insetfoot.C:
4443         * insets/insetfootlike.C:
4444         * insets/insetnewline.C:
4445         * insets/insetquotes.C:
4446         * insets/insettabular.C:
4447         * insets/insettext.C:
4448         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4449
4450         * frontends/controllers/ControlChanges.C: #include "changes.h".
4451
4452 2003-09-06  Angus Leeming  <leeming@lyx.org>
4453
4454         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4455         than #including paragraph.h.
4456
4457         * ParagraphList.h:
4458         * RowList.h: deleted. Superfluous.
4459
4460         * CutAndPaste.h:
4461         * iterators.h:
4462         * lyxcursor.h:
4463         * lyxtext.h:
4464         * text_funcs.h:
4465         * undo.h:
4466         * undo_funcs.h:
4467         * insets/inset.h:
4468         * insets/insettext.h: use ParagraphList_fwd.h rather than
4469         ParagraphList.h.
4470
4471         * paragraph.h: don't forward declare ParagraphList.
4472
4473         * buffer.h:
4474         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4475         rather than ParagraphList.h. paragraph.h is still needed for the
4476         Paragraph::depth_type parameters.
4477
4478         * textcursor.h: enable it to compile stand-alone in light of the
4479         above changes.
4480
4481         * bufferview_funcs.C:
4482         * iterators.C:
4483         * lyxfunc.C:
4484         * lyxrow_funcs.C:
4485         * paragraph.C:
4486         * rowpainter.C:
4487         * text.C:
4488         * text2.C:
4489         * text3.C:
4490         * text_funcs.C:
4491         * textcursor.C:
4492         * undo.C:
4493         * frontends/controllers/ControlParagraph.C:
4494         * frontends/controllers/ControlTabular.C:
4495         * insets/insetmarginal.C:
4496         * insets/insetminipage.C:
4497         * insets/insetnote.C:
4498         * insets/insetoptarg.C: add header files needed to compile again.
4499
4500 2003-09-06  Angus Leeming  <leeming@lyx.org>
4501
4502         * RowList_fwd.h: new file, forward-declaring Row rather than
4503         #including lyxrow.h.
4504
4505         * lyxrow_funcs.h:
4506         * lyxtext.h:
4507         * paragraph.h:
4508         * insets/insettext.h: use it instead of RowList.h
4509
4510         * bufferview_funcs.C:
4511         * lyxfunc.C:
4512         * lyxrow_funcs.C:
4513         * paragraph.C:
4514         * rowpainter.C:
4515         * text.C:
4516         * text2.C:
4517         * text3.C: #include "RowList.h".
4518
4519 2003-09-05  Angus Leeming  <leeming@lyx.org>
4520
4521         * factory.C (createInset):
4522         * vspace.C (c-tor): replace sscanf call with an istringstream.
4523         * ispell.C: re-add missing HP/UX headers.
4524         * lyxserver.C: re-add missing  os2 headers.
4525
4526 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4527
4528         * BranchList.C:
4529         * graph.C:
4530         * ispell.C:
4531         * lastfiles.C:
4532         * lyx_cb.C:
4533         * lyxserver.C:
4534         * texrow.C:
4535         * text3.C: re-add missing system headers, needed for 2.95.2.
4536
4537 2003-09-05  Angus Leeming  <leeming@lyx.org>
4538
4539         Changes most place everywhere due to the removal of using directives
4540         from support/std_sstream.h.
4541
4542 2003-09-05  Angus Leeming  <leeming@lyx.org>
4543
4544         Replace LString.h with support/std_string.h,
4545         Lsstream.h with support/std_sstream.h,
4546         support/LIstream.h with support/std_istream.h,
4547         support/LOstream.h with support/std_ostream.h.
4548
4549         Changes resulting throughout the tree.
4550
4551 2003-09-05  Angus Leeming  <leeming@lyx.org>
4552
4553         * sgml.h: ensure that the header file can be compiled stand-alone.
4554         * *.C: strip out redundant #includes. (320 in total.)
4555
4556 2003-09-04  Angus Leeming  <leeming@lyx.org>
4557
4558         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4559         here (from getPackages).
4560
4561         * debug.[Ch]: add a new EXTERNAL tag.
4562
4563 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4564
4565         * text2.C (cursorEnd): simplify
4566         (setCursor): adjust
4567         (getColumnNearX): adjust
4568
4569         * text.C (computeBidiTables): adjust
4570         (fill): adjust
4571
4572         * rowpainter.C (paintChars): adjust
4573         (paintSelection): adjust
4574         (paintChangeBar): adjust
4575         (paintText): adjust
4576
4577         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4578         lastPos instead.
4579         (numberOfSeparators): adjust
4580
4581 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4582
4583         * LyXAction.C:
4584         * box.[Ch]:
4585         * lfuns.h:
4586         * lyxfunc.C:
4587         * text3.C: Restricts the mouse click functionality
4588         of insets like bibtex, include, toc and floatlist to the visible
4589         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4590         up the dialogs. Cursor has to be in front of the inset (i.e.
4591         start of row) for this to function.
4592
4593 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4594
4595         * bufferview_funcs.C (currentState): output row information
4596
4597 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4598
4599         * bufferview_funcs.C (currentState): output paragraph position
4600
4601 2003-09-04  Angus Leeming  <leeming@lyx.org>
4602
4603         * FloatList.h: move out #include "Floating.h".
4604         * LaTeX.h: move out #include "DepTable.h".
4605         * LyXAction.h: move out #include "funcrequest.h".
4606         * buffer.h: move out #include "author.h", "iterators.h".
4607         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4608         * lyx_main.h: move out #include "errorlist.h".
4609         * lyxfunc.h: move out #include "FuncStatus.h".
4610         * lyxtext: move out #include "lyxcursor.h".
4611         * paragraph_pimpl.h: move out #include "counters.h".
4612
4613 2003-09-03  Angus Leeming  <leeming@lyx.org>
4614
4615         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4616         preamble_snippets list, enabling us to add snippets to the preamble
4617         only if the snippet was not there already.
4618
4619 2003-09-04  Angus Leeming  <leeming@lyx.org>
4620
4621         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4622
4623 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4626         update
4627
4628 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * BranchList.C: point fix, earlier forgotten
4631
4632 2003-09-02  Angus Leeming  <leeming@lyx.org>
4633
4634         * box.C (contains): renamed from 'contained' after a fantastic
4635         amount of hot air.
4636
4637 2003-09-02  John Levon  <levon@movementarian.org>
4638
4639         * BufferView.C:
4640         * lyxcursor.h:
4641         * lyxcursor.C:
4642         * lyxfunc.C:
4643         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4644
4645 2003-09-02  John Levon  <levon@movementarian.org>
4646
4647         * text2.C: simplification of cursorEnd(), including partial
4648         fix for bug 1376
4649
4650 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * buffer.C (readFile): add a space
4653
4654 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4657
4658 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4659
4660         * buffer.C (readFile): new function, take a filename and a
4661         ParagraphList::iterator
4662         (readFile): adjust
4663         (readFile): adjust, make it private. don't use setStream, make
4664         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4665         always contain the filename.
4666
4667         * BufferView.C (insertLyXFile): simplify and make it work for
4668         gzipped files.
4669
4670 2003-08-30  John Levon  <levon@movementarian.org>
4671
4672         * Makefile.am: fix dist (from Kayvan)
4673
4674 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * most files: change to use const Buffer refs
4677
4678 2003-08-27  André Pönitz  <poenitz@gmx.net>
4679
4680         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4681         on top of ownerPar().
4682
4683 2003-08-27  John Levon  <levon@movementarian.org>
4684
4685         * funcrequest.C: properly initialise POD members
4686
4687 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * lyxtext.h (top_y): move top_y from here
4690         * text.C:
4691         * text2.C:
4692         * text3.C:
4693         * BufferView.[Ch]:
4694         * BufferView_pimpl.[Ch]: to here
4695         * frontends/screen.C:
4696         * insets/insettabular.C:
4697         * insets/insettext.C: adjust
4698         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4699
4700 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * BufferView.[Ch]:
4703         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4704
4705 2003-08-26  André Pönitz  <poenitz@gmx.net>
4706
4707         * paragraph_func.[Ch] (outerPar): new function
4708
4709         * paragraph.C:
4710         * paragraph_funcs.C:
4711         * paragraph_funcs.h:
4712         * paragraph_pimpl.C:
4713         * text2.C: remove Inset::par_owner
4714
4715 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4716
4717         * lyxrow_funcs.C:
4718         * lyxtext.h:
4719         * text.C:
4720         * text2.C: eliminates the needFullRow/display() stuff
4721         altogether, putting the logic in metrics/draw in the insets.
4722
4723 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * text2.C (redoParagraphInternal, redoParagraphs):
4726         * text.C (redoParagraph): add a call to updateRowPositions at the
4727         end of each 'metrics-like' call. Remove all others.
4728         (getRow): remove the 'y-computing' version.
4729         (getRowNearY): do not compute nor return the real y. Solve the
4730         'y < 0' problem and simplify.
4731
4732 2003-08-22  Angus Leeming  <leeming@lyx.org>
4733
4734         * *.[Ch]: clean-up of licence and author blurbs.
4735         Also move config.h out of a few .h files and into a few .C files.
4736
4737 2003-08-22  André Pönitz  <poenitz@gmx.net>
4738
4739         * lyxrow.[Ch]: add x_ and *fill_ members
4740
4741         * lyxtext.h:
4742         * text.C:
4743         * rowpainter.C:
4744         * text2.C: adjust/remove prepareToPrint() calls
4745
4746 2003-08-22  André Pönitz  <poenitz@gmx.net>
4747
4748         * lyxrow.[Ch]: add  end_ member
4749
4750         * lyxrow_funcs.C: use LyXRow::end_
4751
4752         * lyxtext.h (singleWidth): add LyXFont parameter
4753
4754         * rowpainter.C:
4755         * text2.C: adjust LyXText::singleWidth() calls
4756
4757         * text.C (redoParagraph): simplify row breaking logic
4758
4759
4760 2003-08-19  André Pönitz  <poenitz@gmx.net>
4761
4762         * funcrequest.C: initialize button_ member
4763
4764         * text3.C:
4765         * rowpainter.[Ch]: interface consolidation
4766
4767 2003-08-18  André Pönitz  <poenitz@gmx.net>
4768
4769         * BufferView.C:
4770         * BufferView_pimpl.C:
4771         * lyxfind.C:
4772         * paragraph_funcs.C:
4773         * rowpainter.C:
4774         * text3.C: remove LyXScreen::draw() and fitCursor calls
4775
4776         * BranchList.h: remove spurious semicolons
4777
4778         * MenuBackend.C: fix branchlist related crash
4779
4780 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4781
4782         * BranchList.[Ch]:
4783         * InsetList.[Ch]:
4784         * LColor.[Ch]:
4785         * LyXAction.C:
4786         * Makefile.am:
4787         * MenuBackend.[Ch]:
4788         * bufferparams.[Ch]:
4789         * factory.C:
4790         * lfuns.h:
4791         * lyxfunc.C:
4792         * text3.C: implements the 'branch inset'
4793         idea. This allows the output of various versions of a document
4794         from a single source version, selectively outputing or suppressing
4795         output of parts of the text.
4796         This implementation contains a 'branch list editor' in a separate
4797         tab of the document settings dialog. Branches are user definable
4798         and have a "display colour" to distinguish them on-screen.
4799
4800         ColorHandler was somewhat cleaned up.
4801         (1) make possible a dynamically growing LColor list by allowing
4802         the graphic context cache to grow along (vector);
4803         (2) eliminate an IMHO unnecessary step in colour allocation.
4804
4805 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4806
4807         * BufferView_pimpl.C: compile fix
4808
4809 2003-08-15  André Pönitz  <poenitz@gmx.net>
4810
4811         * rowpainter.C: remove extra metrics calls
4812
4813         * lyxtext.h: merge the two constructors into a single one,
4814           pass reference to owner's par list
4815
4816         * BufferView_pimpl.C:
4817         * text.C:
4818         * text2.C: adjust
4819
4820 2003-08-15  André Pönitz  <poenitz@gmx.net>
4821
4822         * lyxrow_funcs.[Ch]:
4823         * lyxtext.h:
4824         * paragraph.h:
4825         * paragraph_funcs.C:
4826         * rowpainter.C:
4827         * text.C:
4828         * text2.C:
4829         * text3.C:
4830         * text_funcs.C: split LyXText::rowlist_ into individual
4831         Paragraph::rows_ chunks
4832
4833         * BufferView.[Ch]:
4834         * BufferView_pimpl.[Ch]:
4835         * lyxfind.C:
4836         * lyxtext.h:
4837         * text3.C: remove toggleSelection()
4838
4839 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4840
4841         * bufferlist.C: beautify two alerts (shorter text of buttons)
4842         * buffer.C: Remove redundant ' ' from message
4843         * tabular.h:
4844         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4845         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4846         rename VALIGN_CENTER to VALIGN_MIDDLE
4847
4848 2003-08-11  André Pönitz  <poenitz@gmx.net>
4849
4850         * lyxtext.h (getPar):
4851         * text.C: new function
4852
4853 2003-08-11  André Pönitz  <poenitz@gmx.net>
4854
4855         * Makefile.am:
4856         * tracer.[Ch]: remove unneeded files
4857
4858         * InsetList.[Ch]: remove resizeInsetsLyXText()
4859
4860         * lyxtext.h:
4861         * text.C:
4862         * text2.C:
4863         * text3.C: merge insertParagraphs() and appendParagraph()
4864         remove breakAgain(), update()
4865
4866         * BufferView_pimpl.[Ch]:
4867         * bufferview_funcs.[Ch]:
4868         * lyxfunc.C:
4869         * paragraph.[Ch]:
4870         * rowpainter.C:
4871         * tabular.C: adjust after text & InsetList changes.
4872
4873 2003-08-08  André Pönitz  <poenitz@gmx.net>
4874
4875         * text.C (insertChar, backspace): replace rowlist fiddling
4876         with rebreak of full par
4877
4878         * lyxtext.h:
4879         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4880         checkParagraph, updateInset): removed
4881
4882 2003-08-07  André Pönitz  <poenitz@gmx.net>
4883
4884         * paragraph.C:
4885         * text3.C: merge some LFUN handlers, remove dead code
4886
4887 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4888
4889         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4890
4891 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * text2.C (DEPM): fix part of bug 1255 and 1256
4894
4895 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4896
4897         * BufferView_pimpl.C (workAreaDispatch): change to use
4898         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4899         that are no mouse related.
4900
4901 2003-08-05  André Pönitz  <poenitz@gmx.net>
4902
4903         * BufferView.[Ch]:
4904         * BufferView_pimpl.[Ch]:
4905         * bufferview_funcs.C:
4906         * text2.C:
4907         * text3.C: rip out "deep update"
4908
4909         * textcursor.[Ch] (last_sel_cursor): remove unused member
4910
4911 2003-08-04  André Pönitz  <poenitz@gmx.net>
4912
4913         * BufferView.[Ch]:
4914         * BufferView_pimpl.[Ch]:
4915         * ParagraphParameters.C:
4916         * bufferview_funcs.C:
4917         * lyx_cb.C:
4918         * lyxfind.C:
4919         * lyxfunc.C:
4920         * text.C:
4921         * text2.C:
4922         * text3.C: replace "complicated" BufferView::update(...) calls with
4923         simpler ones.
4924
4925         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4926
4927 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4928
4929         * Makefile.am (lyx_SOURCES): add paper.h
4930
4931 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4932
4933         * Makefile.am: move things around so that both lyx-qt and
4934         lyx-xforms can be built (according to --with-frontend). Then lyx
4935         is a symbolic link to lyx-[firstfrontend]
4936
4937 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4938
4939         * Always use std::endl with lyxerr
4940
4941 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4942
4943         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4944
4945 2003-08-01  André Pönitz  <poenitz@gmx.net>
4946
4947         * BufferView.[Ch]:
4948         * BufferView_pimpl.[Ch]:
4949         * lyxfunc.C:
4950         * text3.C: merge BufferView::repaint() and BufferView::update()
4951
4952 2003-08-01  José Matos  <jamatos@lyx.org>
4953
4954         * buffer.[Ch]: file_format is no longer a buffer data element.
4955
4956 2003-08-01  André Pönitz  <poenitz@gmx.net>
4957
4958         * BufferView.C:
4959         * lyxtext.h:
4960         * text.C:
4961         * text2.C: make redoParagraph more independent of current cursor
4962
4963         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4964         * text.C:
4965         * text2.C: remove unneeded members
4966
4967 2003-07-30  André Pönitz  <poenitz@gmx.net>
4968
4969         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4970
4971         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4972           create a single function...
4973
4974         * paragraph_funcs.C (moveItem): ... here.
4975
4976         * text.C:
4977           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4978
4979 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4980
4981         * LColor.[Ch]: Add comment and greyedout logical colors.
4982
4983 2003-07-30  André Pönitz  <poenitz@gmx.net>
4984
4985         * tabular.C: don't use Assert too heavily. This crashes where it
4986           shouldn't
4987
4988 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4991         is disabled (bug 1232)
4992
4993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4994
4995         * factory.C: limited 'arg' scope
4996
4997 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4998
4999         * factory.C: fixed Note submenu issues
5000
5001 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5002
5003         * factory.C: submenu for Note/Comment/Greyedout
5004
5005 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * lyx_main.C (LyX):
5008         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5009
5010 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5011
5012         * LaTeXFeatures.C:
5013         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5014         greyedout. Patch provided by Jürgen Spitzmüller.
5015
5016 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5017
5018         * kbmap.C (read): fix error message when reading bind files
5019
5020 2003-07-29  Angus Leeming  <leeming@lyx.org>
5021
5022         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5023         certainly does not do what it purports to do. I am doing it, and
5024         us, a favour by killing it.
5025
5026 2003-07-28  José Matos  <jamatos@lyx.org>
5027
5028         * buffer.C (readBody, do_writeFile):
5029         * paragraph.C(readParagraph): \end_document replaces \the_end.
5030
5031 2003-07-29  André Pönitz  <poenitz@gmx.net>
5032
5033         * BufferView.[Ch]:
5034         * BufferView_pimpl.[Ch]:
5035         * lyxfunc.C:
5036         * text2.C:
5037         * text3.C:
5038         * textcursor.[Ch]: remove toggleToggle & Co
5039
5040 2003-07-28  José Matos  <jamatos@fep.up.pt>
5041
5042         * buffer.C (readParagraph):
5043         * params_func (readParToken, readParagraph):
5044         * paragraph.C (write): \layout -> \begin_layout.
5045
5046 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * lyxlex_pimpl.C (setFile): clean up slightly.
5049
5050         * bufferparams.h: add compressed var
5051
5052         * buffer_funcs.C (readFile): adjust for LyXLex change
5053         (newFile): ditto + simplify
5054
5055         * buffer.C (writeFile): handle writing of compressed files
5056
5057         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5058         Check if the file is compressed and set a bufferparm if so.
5059
5060         * Makefile.am (lyx_LDADD): remove explicit -lz
5061
5062 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5063
5064         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5065         makeDocBookFile): put the real LyX version in the first line of
5066         the file
5067
5068         * version.h:
5069         * version.C.in: remove lyx_docversion
5070
5071         * tabular.C (write_attribute): add a template-based version to
5072         write enums properly
5073
5074 2003-07-28  André Pönitz  <poenitz@gmx.net>
5075
5076         * lyxtext.h:
5077         * text.C:
5078         * text2.C:
5079         * text3.C: use doubles again for x-coordinates. They are needed.
5080
5081 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * messages.C (getLocaleDir): use lyx_localedir()
5084
5085         * lyxlex_pimpl.C (setFile): compress stuff
5086
5087         * buffer.C (writeFile): add some compression stuff
5088         (do_writeFile): new func, dont call expliti close... will this
5089         breake anything?
5090
5091         * Makefile.am (lyx_LDADD): add -lz
5092
5093 2003-07-28  José Matos  <jamatos@fep.up.pt>
5094
5095         * buffer.C: increment file format.
5096         * paragraph_funcs (readParagraph, readParToken):
5097         * paragraph.C (readParagraph): add \end_layout.
5098
5099 2003-07-27  Angus Leeming  <leeming@lyx.org>
5100
5101         * Makefile.am: remove special casing for configure-time setting of
5102         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5103
5104         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5105         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5106
5107 2003-07-26  André Pönitz  <poenitz@gmx.net>
5108
5109         * paragraph_func.[Ch]:
5110         * paragraph.C (realizeFont): inline it whereever it is used
5111
5112         * rowpainter.C:
5113         * text.C:
5114         * text2.C:
5115         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5116
5117
5118 2003-07-26  André Pönitz  <poenitz@gmx.net>
5119
5120         *       lyxtext.h:
5121         * text.C:
5122         * text2.C: get rid of LyXText::need_break_row
5123
5124 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * toc.[Ch]: put namespace toc inside namespace lyx
5127
5128         * MenuBackend.C (expandToc2): adjust for lyx::toc
5129         (expandToc): ditto
5130
5131         * lyxfunc.C (dispatch): adjust for lyx::find
5132
5133         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5134         lyx::find instead. Reorganize a bit.
5135         (LyXReplace): rename to replace
5136         (LyXFind): rename to find
5137
5138         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5139         (dispatch): ditto
5140
5141 2003-07-26  André Pönitz  <poenitz@gmx.net>
5142
5143         * text.C (setHeightOfRow): restrict scope of temporary variable
5144
5145         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5146           code (never has been used?)
5147
5148 2003-07-27  Asger Alstrup  <alstrup@local>
5149
5150         * text.C (fill): Optimise algorithm to exploit that we can reuse
5151         the LyXFont for many characters.
5152         (setHeightOfRow): Same thing.
5153         (rowBreakPoint): Same thing.
5154
5155 2003-07-26  Asger Alstrup  <alstrup@local>
5156
5157         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5158
5159         * text.C (singleWidth): Spurious font copying in hot-spot
5160         singleWidth avoided. Reorder tests for arabic for efficiency.
5161
5162         * text.C (fill): handle empty paragraphs better.
5163
5164 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5165
5166         * ispell.C:
5167         * encoding.h: add includes
5168
5169         * lyxrc.C: remove reading of bind files
5170
5171         * lyx_main.C (init): setup bindings and menus only if we have a
5172         gui.
5173
5174         * kbmap.C (read): new method. Do the actual reading of bind
5175         files.
5176
5177         * converter.C (dvipdfm_options):
5178         * bufferparams.C:
5179         * lyxrc.C (read):
5180         (output): adapt PAPER_* enums.
5181
5182         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5183
5184         * bufferparams.h: remove paper-related enums from there
5185
5186         * paper.h: New file. A trivial header file to hold paper-related
5187         enums. It should later expand to contain many paper-related
5188         horrors access.
5189
5190         * lyxrc.C: declare extern displayTranslator
5191
5192 2003-07-27  José Matos  <jamatos@fep.up.pt>
5193
5194         * tabular.[Ch] (linuxdoc): add support for tables and figures
5195         (linuxdoc).
5196
5197 2003-07-27  José Matos  <jamatos@fep.up.pt>
5198
5199         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5200         consistency in both functions.
5201         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5202
5203 2003-07-26  Asger Alstrup  <alstrup@local>
5204
5205         * rowpainter.C (paintRows): Change algorithm to work directly on
5206         the insets rather than asking every character in the document
5207         whether its an inset.
5208
5209 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5210
5211         * buffer.C (openFileWrite): factorize some code
5212
5213 2003-07-26  Angus Leeming  <leeming@lyx.org>
5214
5215         * lyx_cb.C:
5216         * lyx_main.[Ch]: replace occurances of system_tempdir with
5217         os::getTmpDir().
5218
5219 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5220
5221         * rename Inset to InsetOld
5222
5223 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5224
5225         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5226         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5227         which I think is a bit clearer. EDIT is gone, since it was
5228         premature optimisation, and broken for mathed anyway.
5229         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5230         with cursor positioning in insets as well (math insets still do not
5231         work, but that's a different story anyway.) It mysteriously
5232         crashes sometimes with undo in the first paragraph, but I'm fairly
5233         confident that this is a compiler bug.
5234
5235 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * paragraph.C (Paragraph): adjust for new clone return type
5238         (operator==): ditto
5239         (copyIntoMinibuffer): ditto
5240
5241 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5242
5243         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5244         by not having a special case, and always doing a full rebreak of
5245         the document after undo.
5246
5247 2003-07-23  Angus Leeming  <leeming@lyx.org>
5248
5249         * factory.C (createInset): InsetExternal::setParams now takes a
5250         Buffer const * arg.
5251
5252 2003-07-23  Angus Leeming  <leeming@lyx.org>
5253
5254         * factory.C (createInset): changed interface to the external and
5255         graphics mailers' string2params functions.
5256
5257 2003-07-23  Angus Leeming  <leeming@lyx.org>
5258
5259         * factory.C (createInset): pass a
5260         Buffer const * parameter to InsetExternalMailer's string2params.
5261
5262 2003-07-22  John Levon  <levon@movementarian.org>
5263
5264         * Thesaurus.h: include the right aiksaurus header
5265
5266 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5267
5268         * MenuBackend.C (expand): check menu shortcuts unconditionally
5269
5270 2003-07-21  Angus Leeming  <leeming@lyx.org>
5271
5272         * factory.C (createInset): pass a
5273         buffer_path parameter to InsetGraphicsMailer's string2params.
5274
5275 2003-07-21  Angus Leeming  <leeming@lyx.org>
5276
5277         * BufferView_pimpl.C (buffer):
5278         * buffer.C (d-tor):
5279         * lyx_main.C (LyX):
5280         * lyxfunc.C (dispatch):
5281         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5282         rather than the grfx shortcut.
5283
5284 2003-07-21  André Pönitz  <poenitz@gmx.net>
5285
5286         * rowpainter.C: remove unused variables
5287
5288         * tabular_funcs.C:
5289         * tabular_funcs.h: move to tabular.C
5290         * Makefile.am: adjust
5291
5292         * tabular.[Ch]: basic optical cleaning
5293
5294         * author.h: pass references, not values
5295
5296 2003-07-18  André Pönitz  <poenitz@gmx.net>
5297
5298         * lyxtext.h:
5299         * metricsinfo.C:
5300         * metricsinfo.h:
5301         * rowpainter.C:
5302         * text.C:
5303         * text2.C:
5304         * text3.C: two-phase drawing for InsetText and InsetTabular
5305         some float -> int changes.
5306
5307 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * lyx_main.C: fix the fix
5310
5311 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * lyx_main.C: fix a crash in batch mode if no files specified
5314         * converter.C: ws
5315
5316 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * format.[Ch] (papersize): moved to BufferParams
5319         * converter.[Ch] (dvips_options): moved to BufferParams
5320         (dvipdfm_options): moved to anon namespace
5321         * bufferparams.[Ch]: added above functions.
5322
5323 2003-07-17  André Pönitz  <poenitz@gmx.net>
5324
5325         * lyxtext.h:
5326         * rowpainter.C:
5327         * text2.C: don't call inset->update() anymore
5328
5329         * metricsinfo.[Ch]: add convenience constructor
5330
5331 2003-07-16  André Pönitz  <poenitz@gmx.net>
5332
5333         * lyxcursor.[Ch]:
5334         * lyxfunc.[Ch]:
5335         * text.C:
5336         * text2.C: replace the LyXCursor::irow_ member with
5337          on-demand computation of the value
5338
5339 2003-07-16  John Levon  <levon@movementarian.org>
5340
5341         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5342
5343 2003-07-15  André Pönitz  <poenitz@gmx.net>
5344
5345         * text.C:
5346         * text2.C: remove no more needed refresh_row
5347
5348 2003-07-15  André Pönitz  <poenitz@gmx.net>
5349
5350         * lyxtext.h:
5351         * rowpainter.C:
5352         * text2.C:
5353         * text3.C: refresh_status tristate -> need_update bool
5354
5355 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * lyxtext.h (init): remove reinit argument (act as if always true)
5358         * text2.C: adjust to that
5359
5360 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5361
5362         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5363         * text3.C: use it to delete selections in some cases
5364         (bugs 441, 673, 702, 954).
5365
5366 2003-07-14  André Pönitz  <poenitz@gmx.net>
5367
5368         * rowpainter.[Ch]: reduce interface
5369
5370 2003-07-14  André Pönitz  <poenitz@gmx.net>
5371
5372         * BufferView_pimpl.C:
5373         * text2.C: adjust after removing unused BufferView * argument
5374
5375 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5376
5377         * text2.C (init): fix a crash fired on resize
5378
5379 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5380
5381         * buffer.[Ch]: added new closing signal
5382         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5383         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5384         BufferView::Pimpl via the closing the signal
5385
5386 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * buffer.[Ch]: take out all bv-related from buffer
5389         * BufferView.C:
5390         * BufferView_pimpl.[Ch]: connect to new signals
5391         * CutAndPaste.C: removed useless asserts
5392         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5393         * lyxvc.[Ch]:
5394         * vc-backend.[Ch]:
5395         * lyxfunc.C: moved view-related funciontality from vc here
5396         * paragraph.C: removed outdated comments
5397         * text.C: ws
5398
5399 2003-07-10  André Pönitz  <poenitz@gmx.net>
5400
5401         * BufferView_pimpl.C:
5402         * tabular.h:
5403         * tabular_funcs.C:
5404         * text.C:
5405         * text2.C: remove InsetText::InnerCache, clean up consequences
5406
5407 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5408
5409         * ispell.C: fix two typos in error messages
5410
5411 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5412
5413         * Extend Note inset to other forms of annotation like Comment
5414         and Greyedout. Right button click gives dialog.
5415
5416         Files modified or added (+):
5417
5418         * insetnote.[Ch]
5419         * FormNote.[Ch]      +
5420         * ControlNote.[Ch]   +
5421         * form_note.fd       +
5422         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5423         frontends/controllers
5424         * xforms/Dialogs.C
5425         * factory.C
5426
5427 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5428
5429         * aspell.C: add missing namespace lyx::support
5430
5431 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * BufferView.[Ch] (newFile): Add
5434         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5435         * LaTeX.[Ch] (message): added this signal and use it
5436         * buffer.[Ch] (busy, message): added these signals and use them
5437         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5438         * converter.C:
5439         * exporter.C:
5440         * format.C:
5441         * importer.C: use buffer signals instead of direct bv calling
5442         * lyx_cb.[Ch] (ShowMessage): removed
5443         * lyx_main.C:
5444         * lyxfunc.C:
5445         * paragraph_funcs.C:
5446         * text2.C: use buffer signals
5447
5448 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * introduce namespace lyx::graphics
5451
5452 2003-07-02  André Pönitz  <poenitz@gmx.net>
5453
5454         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5455
5456 2003-07-01  André Pönitz  <poenitz@gmx.net>
5457
5458         * text.C:
5459         * text2.C:
5460         * text3.C:
5461         * text_funcs.[Ch]:
5462         * textcursor.h:
5463         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5464           text*.C to text_func.C
5465
5466 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * introduce namespace lyx::support
5469
5470 2003-06-30  André Pönitz  <poenitz@gmx.net>
5471
5472         * Chktex.C:
5473         * funcrequest.C:
5474         * lyxtext.h:
5475         * text.C: re-enable --with-included-string
5476
5477 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * textcursor.C: add <config.h>
5480
5481         * text.C (getWord): remove const from word_location arg
5482
5483         * lyxvc.C (getLogFile): fix const type order
5484
5485         * lyxtext.h: remove const from word_location arg, add arg name
5486
5487         * lyxlayout.h: currect type on labeltype.
5488
5489         * importer.C: correct \file
5490
5491         * converter.C (intToFormat): use std:: on ret val, ws changes
5492
5493         * bufferlist.h: correct \file
5494
5495         * buffer.C (makeLinuxDocFile): fix const type order
5496         (makeDocBookFile): ditto
5497         (fillWithBibKeys): use std:: on stdlib args.
5498
5499         * CutAndPaste.C: fix authors.
5500         (availableSelections): use std:: on return vector
5501
5502 2003-06-27  André Pönitz  <poenitz@gmx.net>
5503
5504         * BufferView_pimpl.C:
5505         * bufferview_funcs.C:
5506         * lyxcursor.C:
5507         * lyxcursor.h:
5508         * lyxfunc.C:
5509         * lyxtext.h:
5510         * rowpainter.C:
5511         * text.C:
5512         * text2.C:
5513         * text3.C: remove LyXCursor::row_ member
5514
5515         * lyxtext.h:
5516         * text.C: rename fullRebreak() to partialRebreak() and implement
5517           a fullRebreak() that really bereks fully
5518
5519         * textcursor.h: new struct for cursor-related data
5520
5521 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5522
5523         * lyx_main.C (LyX): get full path of document loaded on the
5524         command line
5525
5526 2003-06-26  André Pönitz  <poenitz@gmx.net>
5527
5528         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5529           remove unused/broken operator>,<,>=.
5530
5531         *       text.C: remove only use of broken operator<= in an Assert().
5532
5533 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5534
5535         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5536         moved errorlist_.clear to showErrorList
5537
5538 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5539
5540         * converter.C (scanLog, runLaTeX):
5541         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5542         move the bv->showErrorList call to the callers
5543         * lyxfunc.C: i.e. here...
5544         * text2.C: and here
5545         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5546         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5547         namespace, the second to...
5548         * buffer_funcs (BufferFormat, parseErrors): added
5549         * errorlist.C (ErrorList(TeXErrors const &)): removed
5550
5551 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5552
5553         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5554
5555 2003-06-24  "Garst R. Reese" <reese@isn.net>
5556
5557         * debug.C: fix typo
5558
5559 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5560
5561         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5562
5563         * version.C.in: change docversion to 1.4
5564
5565 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5566
5567         * buffer.C: fix a bug just introduced
5568
5569 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5570
5571         * buffer.[Ch]: added the parseError signal and use it, removed
5572         sgmlError
5573         * BufferView.[Ch] (addError): moved to ...
5574         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5575         to the Buffer::parseError signal to catch (guess what) parse errors
5576         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5577
5578 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5581         ability to create a buffer and to return an existing one from
5582         the list. Moved these functions to...
5583         * buffer_funcs.[Ch]: added
5584         * BufferView.[Ch] (loadLyXFile): added
5585         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5586         job removed from bufferlist::loadLyXFile.
5587         * buffer.C (setReadOnly): make it work without view
5588         (i.e added an if (users))
5589
5590 2003-06-19  Angus Leeming  <leeming@lyx.org>
5591
5592         * lfuns.h:
5593         * LyXAction.C (init):
5594         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5595         with LFUN_DIALOG_SHOW <name> <data>.
5596
5597 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5598
5599         * CutAndPaste.C (availableSelections): small compilation fix for
5600         ancient (gcc 2.9x) compilers
5601
5602 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * text3.C (cursorNext): add tmp var
5605
5606         * text2.C (updateCounters): for function calling out of for clause
5607         (replaceSelectionWithString): ditto
5608         (insertStringAsParagraphs): ditto
5609         (getColumnNearX): add tmp var
5610         (setCursorFromCoordinates): add tmp var
5611         (cursorDownParagraph): add tmp var
5612         (deleteEmptyParagraphMechanism): add tmp var
5613
5614         * text.C (insertChar): add tmp var
5615
5616         * rowpainter.C (paintDepthBar): add tmp var
5617
5618         * CutAndPaste.C (availableSelections): potentially check all
5619         paragraphs in a cut to fill the shown strings.
5620
5621 2003-06-18  André Pönitz  <poenitz@gmx.net>
5622
5623         * kbmap.[Ch]: use vector<> instead of list<>
5624
5625 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5626
5627         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5628         pasteSelection with index
5629
5630         * text2.C (pasteSelection): modify, call pasteSelection with index
5631
5632         * paragraph.C (asString): reimplement version with no interval to
5633         call the one with interval.
5634
5635         * lyxtext.h: add index arg to pasteSelection
5636
5637         * MenuBackend.C (MenuItem): handle PasteRecent
5638         (Menu::read::Menutags): add md_pasterecent
5639         (read): handle it
5640         (expandPasteRecent): new function
5641         (expand): use it
5642
5643         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5644
5645         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5646         the limited stack
5647         (availableSelections): new function
5648
5649 2003-06-17  Angus Leeming  <leeming@lyx.org>
5650
5651         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5652
5653 2003-06-17  Angus Leeming  <leeming@lyx.org>
5654
5655         * lfuns.h:
5656         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5657
5658         * lyxfunc.C (dispatch): invoke it.
5659
5660 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5661
5662         * iterators.C (operator++, ParPosition): reintroduce some
5663         const_cast for the benefit of older compilers.
5664
5665 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5666
5667         * text3.C (dispatch): do not modify clipboard when doing
5668         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5669         LFUN_DELETE_SKIP on a selection selection
5670
5671 2003-06-16  André Pönitz  <poenitz@gmx.net>
5672
5673         * BufferView.C:
5674         * buffer.C:
5675         * buffer.h:
5676         * paragraph.C:
5677         * tabular.[Ch]: IU of clone() and getLabelList();
5678
5679 2003-06-13  André Pönitz  <poenitz@gmx.net>
5680
5681         * tabular.h: compactification
5682
5683 2003-06-12  André Pönitz  <poenitz@gmx.net>
5684
5685         * tabular.C:
5686         * tabular.h:
5687         * tabular_funcs.h: some renaming plus whitespace
5688
5689 2003-06-12  André Pönitz  <poenitz@gmx.net>
5690
5691         * BufferView.C:
5692         * BufferView_pimpl.C:
5693         * CutAndPaste.C:
5694         * buffer.C:
5695         * iterators.[Ch]:
5696         * lyxfunc.C:
5697         * text.C:
5698         * toc.C: Return a Paragraph & for ParIterator::operator*()
5699
5700 2003-06-11  John Levon  <levon@movementarian.org>
5701
5702         * lyx_main.C:
5703         * ToolbarBackend.h:
5704         * ToolbarBackend.C: add "Toolbars" section and
5705         put the flags there
5706
5707 2003-06-10  Angus Leeming  <leeming@lyx.org>
5708
5709         * lfuns.h:
5710         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5711
5712         * lyxfunc.C (dispatch): invoke it.
5713
5714 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * main.C: protect <ios> with HAVE_IOS
5717         (main): protect sync_with_stdio with HAVE_IOS
5718
5719 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5720
5721         * text2.C (cutSelection): adjust
5722         (pasteSelection): adjust
5723
5724         * messages.C: handle get of empty string
5725
5726         * main.C (main): use sync_with_stdio(false)
5727
5728         * lyxfunc.C (dispatch): adjust
5729
5730         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5731         (WriteAs): remove unneeded BufferView arg.
5732
5733         * bufferparams.h: use correct types on papersize, papersize2 and
5734         paperpackage.
5735
5736         * bufferparams.C (readToken): adjust for type
5737         (writeLaTeX): add missing cases to switch.
5738
5739         * bufferlist.C (quitWriteBuffer): adjust
5740         (close): adjust
5741
5742         * buffer.C (asciiParagraph): remove some commented code.
5743
5744         * CutAndPaste.C: remove current_view extern variable.
5745         (cutSelection): add BufferParams arg.
5746         (eraseSelection): add BufferParams arg.
5747         (pasteSelection): add Buffer const & arg
5748
5749 2003-06-07  John Levon  <levon@movementarian.org>
5750
5751         * buffer.C:
5752         * paragraph_funcs.C:
5753         * paragraph_pimpl.C:
5754         * text.C:
5755         * text2.C:
5756         * paragraph.h:
5757         * paragraph.C: allow InsetERT to freely space lines,
5758         and some consolidation of code
5759
5760 2003-06-06  José Matos  <jamatos@fep.up.pt>
5761
5762         * buffer.C (makeDocBookFile): fix bug #821
5763
5764 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5765
5766         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5767
5768 2003-06-04  Angus Leeming  <leeming@lyx.org>
5769
5770         * buffer.C: bump format to 224.
5771
5772 2003-06-05  André Pönitz  <poenitz@gmx.net>
5773
5774         * text2.C (redoParagraphs): remove two const_cast<>
5775
5776 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5777
5778         * ParagraphList.h: remove last remnants of NO_STD_LIST
5779
5780 2003-06-03  Angus Leeming  <leeming@lyx.org>
5781
5782         * factory.C (createInset): small change to the way InsetExternal's params
5783         are set.
5784
5785 2003-06-04  André Pönitz  <poenitz@gmx.net>
5786
5787         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5788
5789         * paragraph_pimpl.h:
5790         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5791
5792         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5793
5794         * undo_funcs.C: make some simple cases of undo work again
5795
5796 2003-06-03  John Levon  <levon@movementarian.org>
5797
5798         * ispell.C: HPUX doesn't have sys/select.h
5799         (from Albert Chin)
5800
5801 2003-06-03  John Levon  <levon@movementarian.org>
5802
5803         * CutAndPaste.C: update tabular and include inset
5804         buffer references
5805
5806         * buffer.h:
5807         * paragraph.h:
5808         * paragraph.C: remove owningBuffer(), don't pass Buffer
5809         to clone()
5810
5811         * factory.C: insetGraphicsParams changed
5812
5813 2003-06-02  John Levon  <levon@movementarian.org>
5814
5815         * LyXAction.C:
5816         * factory.C:
5817         * lfuns.h:
5818         * lyxfunc.C:
5819         * text3.C: remove insetparent
5820
5821 2003-06-02  John Levon  <levon@movementarian.org>
5822
5823         * buffer.h:
5824         * buffer.C: fix inset_iterator.end(), move out of line
5825         (bug 1149)
5826
5827 2003-06-01  John Levon  <levon@movementarian.org>
5828
5829         * text3.C: use a proper cut/paste when doing inset
5830         insert (from Jürgen Spitzmüller)
5831
5832 2003-06-01  John Levon  <levon@movementarian.org>
5833
5834         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5835
5836 2003-05-30  André Pönitz  <poenitz@gmx.net>
5837
5838         * rowpainter.C: unify second drawing phase
5839
5840 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * trans_mgr.C: remove one case of current_view
5843
5844         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5845
5846         * paragraph_funcs.h: remove paragraph.h include
5847
5848         * paragraph.h: delete NO_STD_LIST stuff
5849
5850         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5851
5852         * buffer.h: remove paragraph.h include
5853
5854         * ParagraphList.C: delete file
5855
5856         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5857
5858         * toc.C (getTocList): adjust
5859
5860         * paragraph_pimpl.C (validate): adjust
5861
5862         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5863
5864         * paragraph.C (Paragraph): adjust
5865         (getPositionOfInset): use const_iterator, adjust
5866         (bibitem): use const_iterator, adjust
5867         (setInsetOwner): adjust
5868
5869         * iterators.C (operator++): adjust
5870
5871         * InsetList.[Ch]: Replace selfmade iterator with standard
5872         vector::iterator also introduce const_iterator. Remove getPos,
5873         getInset and setInset from InsetTable. Adjust accordingly.
5874
5875         * BufferView.C (lockInset): adjust
5876         (ChangeInsets): adjust
5877
5878         * tabular.[Ch]: delete commented same_id functions
5879
5880 2003-05-28  John Levon  <levon@movementarian.org>
5881
5882         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5883
5884 2003-05-28  André Pönitz  <poenitz@gmx.net>
5885
5886         * metricsinfo.[Ch]: remove 'fullredraw' member
5887
5888 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5889
5890         * lyxtextclass.C (operator): remove caching.
5891
5892 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * text3.C: adjust
5895
5896         * text2.C (cursorBottom): adjust
5897         (setCounter): use ParagraphList::find, adjust
5898
5899         * text.C (workWidth): use ParagraphList::find, adjust
5900
5901         * lyxcursor.C (LyXCursor): adjust
5902
5903         * buffer.C (inset_iterator): adjust
5904
5905         * ParagraphList.h: make iterator(value_type) private, make
5906         ParagraphList a friend of iterator.
5907
5908         * ParagraphList.C (find): new function
5909
5910         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5911
5912 2003-05-27  André Pönitz  <poenitz@gmx.net>
5913
5914         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5915
5916 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5917
5918         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5919
5920 2003-05-26  John Levon  <levon@movementarian.org>
5921
5922         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5923
5924 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * remove same_id from function signatures, adjust.
5927
5928 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5931
5932         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5933
5934         * paragraph.C (Paragraph): get rid of same_ids parameter
5935
5936         * ParagraphList.C (insert): adjust
5937         (push_back): adjust
5938
5939 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * paragraph_funcs.C (breakParagraph): adjust
5942         (breakParagraphConservative): adjust
5943
5944         * buffer.C (readParagraph): adjust
5945
5946         * ParagraphList.C (insert): take a reference instead of a pointer
5947         (insert): adjust
5948
5949         * paragraph.[Ch] (id): new function
5950
5951         * bufferlist.C (newFile): adjust
5952
5953         * ParagraphList.C (ParagraphList): adjust
5954         (assign): adjust
5955         (push_back): take a reference instead of a pointer.
5956
5957         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5958
5959         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5960         instead.
5961
5962         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5963         set else use old code.
5964
5965         * ParagraphList.C: remove all NO_NEXT code and only compile this
5966         code of NO_STD_LIST is set.
5967
5968 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5969
5970         * BufferView_pimpl.C:
5971         * TextCache.C:
5972         * TextCache.h:
5973         * bufferlist.C:
5974         * errorlist.h:
5975         * format.C:
5976         * format.h:
5977         * graph.C:
5978         * lyxfunc.C:
5979         * lyxrc.C:
5980         * graphics/GraphicsConverter.C:
5981         * graphics/PreviewLoader.C: header adjustment
5982
5983 2003-05-23  Angus Leeming  <leeming@lyx.org>
5984
5985         * LaTeXFeatures.[Ch] (useBabel): new method.
5986         * bufferparams.C (writeLaTeX): use it.
5987
5988 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * ParagraphList.h (set): remove unused function.
5991
5992 2003-05-23  André Pönitz  <poenitz@gmx.net>
5993
5994         * BufferView.C:
5995         * BufferView_pimpl.C:
5996         * buffer.C:
5997         * buffer.h:
5998         * lyxfunc.C:
5999         * undo_funcs.C: setUndo reworked
6000
6001         * iterators.[Ch]: add access to topmost ParagraphList
6002
6003         * lyxtext.[Ch] (workWidth): add a const
6004
6005 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6006
6007         * texrow.[Ch] (increasePos): remove function
6008         * exporter.C (export): removed unused var and outdated comment
6009
6010 2003-05-23  Angus Leeming  <leeming@lyx.org>
6011
6012         * latexrunparams.h: rename fragile as moving_arg.
6013         * paragraph.C (simpleTeXOnePar): ditto.
6014         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6015
6016 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6019         (createUndo): ditto
6020         (textUndoOrRedo): comment out a currently unused var.
6021
6022         * paragraph.h (NO_NEXT): enable NO_NEXT
6023
6024         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6025
6026         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6027
6028         * exporter.C (Export): adjust for removeAutoInsets removal.
6029
6030         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6031
6032         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6033
6034         * BufferView.[Ch] (removeAutoInsets): delete function
6035
6036 2003-05-22  Angus Leeming  <leeming@lyx.org>
6037
6038         * latexrunparams.h: add a free_spacing variable.
6039
6040         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6041         to pass moving_arg, as the data is stored in runparams.fragile.
6042
6043         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6044         to Inset::latexOptional or to simpleTeXOnePar.
6045
6046         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6047         free_spacing arg to Inset::latexOptional.
6048
6049         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6050         free_spacing arg.
6051
6052 2003-05-22  Angus Leeming  <leeming@lyx.org>
6053
6054         * latexrunparams.h: add fragile and use_babel variables.
6055
6056         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6057         * buffer.C (makeLaTeXFile): store this returned value in
6058         runparams.use_babel, thus passing it to the inset::latex methods.
6059
6060         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6061         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6062
6063         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6064         longer has a fragile arg, as it is stored in runparams.fragile.
6065
6066         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6067         moving_arg parameter as the data is stored in runparams.fragile.
6068
6069         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6070         a fragile parameter as the data is stored in runparams.fragile.
6071
6072 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6075
6076 2003-05-22  Angus Leeming  <leeming@lyx.org>
6077
6078         * latexrunparams.h: add a 'bool nice' which defaults to false.
6079
6080         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6081         now encapsulated within runparams.
6082
6083         * bufferlist.C (updateIncludedTeXfiles):
6084         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6085
6086 2003-05-22  Angus Leeming  <leeming@lyx.org>
6087
6088         * latexrunparams.h: new file containing struct LatexRunParams.
6089         * Makefile.am: add new file.
6090
6091         * LaTeX.[Ch] (c-tor, run):
6092         * buffer.[Ch] (makeLaTeXFile):
6093         * bufferlist.[Ch] (updateIncludedTeXfiles):
6094         * converter.C (convert, scanLog):
6095         * converter.[Ch] (runLaTeX):
6096         * exporter.C (Export):
6097         * paragraph.[Ch] (simpleTeXOnePar):
6098         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6099         * paragraph_funcs.[Ch] (latexParagraphs):
6100         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6101         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6102         pass around a LatexRunParams parameter.
6103
6104 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * paragraph.[Ch]: remove unused constructor
6107
6108         * ParagraphList.C (erase): new function, taking two iterators
6109
6110 2003-05-22  André Pönitz  <poenitz@gmx.net>
6111
6112         * undo_funcs.C: remove duplicated code
6113
6114         * iterator.[Ch]: operator=
6115
6116 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * tabular.C (SetMultiColumn): ws changes
6119
6120         * rowpainter.C (paintFirst): get rid of a ->previous
6121
6122         * lyx_cb.C (getPossibleLabel): parlist simplification
6123
6124         * BufferView.C (ChangeInsets): simplify slightly.
6125
6126 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6127
6128         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6129         * lfuns.h: new LFUN_SPACE
6130         * lyxfunc.C: protected space has a new lfun
6131         * paragraph_funcs.C: read new space insets
6132         * text3.C:
6133         * factory.C: handle new space insets
6134
6135 2003-05-22  André Pönitz  <poenitz@gmx.net>
6136
6137         * BufferView.C:
6138         * BufferView_pimpl.C:
6139         * buffer.[Ch]:
6140         * lyxfunc.C:
6141         * undo_funcs.C: return a ParIterator from getParFromID.
6142
6143         * iterators.[Ch]: add two const's
6144
6145 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * toc.C (getTocList): adjust
6148
6149         * iterators.[Ch]: rework for parlist
6150
6151         * buffer.C (par_iterator_begin): adjust
6152         (par_iterator_end): adjust
6153
6154         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6155
6156         * BufferView.C (removeAutoInsets): adjust
6157         (ChangeInsets): adjust
6158
6159 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6160
6161         * text.C (top_y): fix bug 1110
6162
6163 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6164
6165         * errorlist.[Ch]: added
6166         * buffer.C:
6167         * BufferView.[Ch]:
6168         * BufferView_pimpl.C:
6169         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6170         instead
6171
6172 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * Makefile.am: ensure that lyx is relinked upon changes to the
6175         various "convenience" libs.
6176
6177 2003-05-20  Angus Leeming  <leeming@lyx.org>
6178
6179         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6180         files are compiled in alphabetical order again.
6181
6182         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6183
6184 2003-05-19  Angus Leeming  <leeming@lyx.org>
6185
6186         * gettext.[Ch]: remove "char const * _(char const *)".
6187
6188 2003-05-19  André Pönitz  <poenitz@gmx.net>
6189
6190         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6191
6192         * Makefile.am:
6193         * BufferView.C:
6194         * DepTable.h:
6195         * LaTeXFeatures.C:
6196         * buffer.C:
6197         * lyxfont.C:
6198         * lyxlex.h:
6199         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6200
6201 2003-05-19  André Pönitz  <poenitz@gmx.net>
6202
6203         * buffer.C:
6204         * lyxlayout.[Ch]:
6205         * lyxtextclass.[Ch]:
6206         * paragraph.C:
6207         * paragraph_funcs.[Ch]:
6208         * text2.C:
6209         * text3.C: more insetenv work
6210
6211 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * ParagraphParameters.C (params2string): small bug fixed
6214
6215 2003-05-16  André Pönitz  <poenitz@gmx.net>
6216
6217         * debug.C:
6218         * bufferview_funcs.C: patch from Kornel Benko to prevent
6219           crash when _(...) is called twice in a statement
6220
6221 2003-05-16  André Pönitz  <poenitz@gmx.net>
6222
6223         * BufferView.C:
6224         * lyxfunc.C:
6225         * text.C:
6226         * text2.C:
6227         * text3.C:
6228         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6229
6230 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * lyx_main.C (init): remove spurious static_cast
6233
6234 2003-05-14  André Pönitz  <poenitz@gmx.net>
6235
6236         * BufferView.C: fix format string
6237
6238 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * BufferView.[Ch] (insertErrors): removed
6241         * BufferView.[Ch] (showErrorList): added
6242         * buffer.C (runChkTeX):
6243         * converter.C (scanLog): call showErrorList instead of inserterrors
6244
6245 2003-05-13  André Pönitz  <poenitz@gmx.net>
6246
6247         * BufferView_pimpl.C:
6248         * buffer.C:
6249         * bufferview_func.C:
6250         * MenuBackend.C:
6251         * lyxfunc.C:
6252         * lyxrc.C:
6253         * tex-accent.C:
6254         * text3.C:
6255         * toc.C:
6256         * tabular_funcs.h: tostr() from its own header
6257
6258         * ParagraphParameters.C:
6259         * ToolbarBackend.C:
6260         * bufferparams.C:
6261         * format.C:
6262         * lyxlex_pimpl.C:
6263         * text3.C: STRCONV()
6264
6265 2003-05-12  André Pönitz  <poenitz@gmx.net>
6266
6267         * BufferView.C:
6268         * BufferView_pimpl.C:
6269         * CutAndPaste.C:
6270         * LaTeX.C:
6271         * LaTeXFeatures.C:
6272         * ParagraphParameters.C:
6273         * buffer.C:
6274         * bufferlist.C:
6275         * bufferparams.C:
6276         * bufferview_funcs.C:
6277         * converter.C:
6278         * counters.C:
6279         * debug.C:
6280         * exporter.C:
6281         * format.C:
6282         * importer.C:
6283         * lyx_cb.C:
6284         * lyx_main.C:
6285         * lyxfont.C:
6286         * lyxfunc.C:
6287         * lyxvc.C:
6288         * paragraph.C:
6289         * paragraph_funcs.C:
6290         * tabular.C:
6291         * tabular_funcs.C:
6292         * text2.C:
6293         * text3.C:  boost::format -> bformat  all over the place
6294
6295
6296 2003-05-09  André Pönitz  <poenitz@gmx.net>
6297
6298         * LColor.[Ch]: Pimpl the #include <map> away
6299
6300 2003-05-09  John Levon  <levon@movementarian.org>
6301
6302         * bufferlist.C: never remove emergency saves
6303
6304 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * Makefile.am: better lib building
6307
6308 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6311         instead.
6312         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6313         (simpleTeXSpecialChars): adjust
6314         (simpleTeXSpecialChars): adjust
6315         * paragraph.C (simpleTeXOnePar): adjust
6316         * buffer.C (makeLaTeXFile): adjust
6317
6318         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6319
6320         * text2.C (changeDepth): parlist cleanup
6321         (getColumnNearX): ditto
6322
6323         * rowpainter.C (getLabelFont): parlist cleanup
6324
6325         * bufferlist.C (newFile): parlist cleanup
6326
6327         * CutAndPaste.C (eraseSelection): parlist cleanup
6328
6329         * BufferView_pimpl.C (trackChanges): parlist cleanup
6330         (dispatch): ditto
6331
6332         * BufferView.C (lockInset): parlist cleanup.
6333         (ChangeInsets): ditto
6334
6335 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * CutAndPaste.h: Update file header.
6338
6339         * CutAndPaste.C: Update file header.
6340         Store the parts cut out of the Document in a limited_stack.
6341         (copySelection): adjust
6342         (pasteSelection): new function, takes the index in the limited stack.
6343         (nrOfParagraphs): adjust
6344         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6345         simplify error inset insertion.
6346         (checkPastePossible): adjust
6347
6348 2003-05-06  John Levon  <levon@movementarian.org>
6349
6350         * text2.C: don't cast wrap inset to float
6351
6352 2003-05-05  André Pönitz  <poenitz@gmx.net>
6353
6354         * iterator.C:
6355         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6356
6357         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6358           few naked Paragraph *.
6359
6360 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6361
6362         * bufferparams.C: Output warning if a document with missing
6363         TeX document class is loaded
6364         * exporter.C: Disable TeX exports if the document class is missing
6365         * lyxtextclass.C:
6366         * lyxtextclass.h:
6367         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6368         isTeXClassAvailable()
6369
6370 2003-05-03  John Levon  <levon@movementarian.org>
6371
6372         * BufferView.h:
6373         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6374         explicit cursor show/hide
6375
6376         * BufferView_pimpl.h:
6377         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6378         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6379
6380         * lyxfunc.C: hide cursor before dispatching.
6381
6382         * lyx_cb.C:
6383         * lyxfind.C:
6384         * text.C:
6385         * text3.C: remove explicit cursor hides
6386
6387 2003-05-02  André Pönitz  <poenitz@gmx.net>
6388
6389         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6390
6391         * undo_funcs.C:
6392         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6393           linked lists
6394
6395         * text2.C: tiny whitespace
6396
6397 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * undo_funcs.C: almost only ws changes.
6400
6401         * ParagraphList.C (splice): just return if pl is empty.
6402
6403 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * ParagraphList.C (splice): new function.
6406
6407         * CutAndPaste.C (pasteSelection): use it
6408
6409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * CutAndPaste.C (pasteSelection): remove the last next and
6412         previous from this file.
6413
6414 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * CutAndPaste.C (pasteSelection): more clean up, user proper
6417         ParagraphList functions for pasteing.
6418
6419         * ParagraphList.C (insert): new function, three arg insert
6420
6421 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * ParagraphList.C (insert): new function, three arg insert
6424
6425         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6426         not on paragraphs.
6427
6428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6431
6432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6435
6436 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6439         (copySelection): clean up a bit.
6440         (pasteSelection): use make_pair
6441
6442         * ParagraphList.C (ParagraphList): implement copy constructor
6443         (operator=): implement, base on copy constructor.
6444         (assign): new func
6445
6446         * paragraph.C (erase): return a bool
6447
6448         * paragraph_pimpl.C (erasePos): remove function, move contents...
6449         (erase): ... here. Return a bool.
6450         (erase): call erase instead of erasePos.
6451
6452 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * ParagraphList.h: define PitPosPair
6455         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6456         ParagraphList, fix a bug on pasting multiple pars
6457         * text2.C: change interface to C&P
6458
6459 2003-04-30  André Pönitz  <poenitz@gmx.net>
6460
6461         * undo_func.C: revert part of yesterday's patch 2
6462
6463 2003-04-30  John Levon  <levon@movementarian.org>
6464
6465         * LColor.C: s/tabular/table/
6466
6467 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * text3.C (dispatch): do not convert iterator -> pointer
6470         * undo_funcs.C (setCursorParUndo): ditto
6471         * text_funcs.C (transposeChars): ditto
6472
6473         * text2.C (setLayout): ws changes only
6474
6475         * text.C (breakParagraph): do not convert iterator -> pointer
6476         (insertChar): ditto
6477         (acceptChange): ditto
6478         (rejectChange): ditto
6479         (changeCase): ditto
6480         (Delete): ditto
6481         (backspace): ditto
6482
6483         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6484         pointer
6485
6486 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6487
6488         * text3.C (gotoInset): YABG (yet another bad getChar)
6489
6490 2003-04-29  André Pönitz  <poenitz@gmx.net>
6491
6492         * paragraph.h: make operator= private unimplemented as long as
6493           it is unusable
6494
6495         * ParagraphList.C: whitespace
6496
6497         * paragraph.[Ch]:
6498         * paragraph_pimpl.[Ch]:
6499         * paragraph_funcs.C:
6500         * CutAndPaste.C:
6501         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6502
6503         * text2.C:
6504           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6505
6506 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6509         * paragraph.[Ch] (erase):
6510         * paragraph_pimpl.[Ch] (erase): change return type and value
6511         * text2.C (cutSelection): some rework
6512
6513 2003-04-28  John Levon  <levon@movementarian.org>
6514
6515         * bufferlist.C: changes for unsaved changes dialog
6516
6517 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * bufferlist.C (newFile): set language (messages_) for new
6520         documents also.
6521
6522         * buffer.C (readFile): ws changes only.
6523
6524 2003-04-28  André Pönitz  <poenitz@gmx.net>
6525
6526         * undo_funcs.C:
6527         * lyxfunc.C:
6528         * buffer.[Ch]:
6529         * BufferView_pimpl.C:
6530         * BufferView.C: getParFromID related ParagraphList::iterator changes
6531
6532 2003-04-28  André Pönitz  <poenitz@gmx.net>
6533
6534         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6535           Changes
6536
6537 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * messages.C: remove one more localedir class variable.
6540
6541 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * messages.C (getLocaleDir): singleton generation function
6544         (Pimpl): use it.
6545         (Messages): add a default constructor.
6546
6547         * main.C (main): do not setup localedir here, do not call
6548         gettext_init.
6549
6550         * gettext.C (_): use it.
6551         (gettext_init): delete funciton
6552
6553 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * gettext.C (getLyXMessages): new singleton generating function.
6556
6557         * buffer.C (updateDocLang): adjust
6558
6559         * Makefile.am (messages.o): add target
6560         (main.o): remove target
6561
6562 2003-04-27  John Levon  <levon@movementarian.org>
6563
6564         * bufferlist.C:
6565         * lyx_cb.C:
6566         * lyxfunc.C:
6567         * lyxvc.C: specify cancel button in Alert::prompt
6568
6569 2003-04-26  John Levon  <levon@movementarian.org>
6570
6571         * text3.C:
6572         * lyxfunc.C:
6573         * lfuns.h:
6574         * LyXAction.C: add LFUN_INSET_SETTINGS
6575
6576         * lyxfunc.C: don't enable tabular-feature when there's
6577         just any locking inset
6578
6579 2003-04-26  John Levon  <levon@movementarian.org>
6580
6581         * bufferlist.C: re-add Cancel to buffer close question
6582
6583         * lyxfunc.C: fix import UI a bit
6584
6585 2003-04-25  John Levon  <levon@movementarian.org>
6586
6587         * gettext.C: remove the broken asserts for now
6588
6589 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * messages.C: make case where setlocale cannot comply work better.
6592
6593         * buffer.C (updateDocLang): new function
6594         (changeLanguage): use it
6595         (readFile): use it
6596
6597         * text2.C (setCounter): use B_ a bit.
6598
6599         * lyxlayout.C (Read): be sure to trim the label strings.
6600
6601         * messages.C (Messages): fix typo in comment
6602
6603         * buffer.C (readFile): set message_ after file is loaded.
6604         (makeDocBookFile): remove double return
6605         (changeLanguage): reset message_ upon language change.
6606         (B_): new func, use this to get translated buffer strings.
6607
6608         * main.C: add myself and Jean Marc as authors.
6609
6610 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * messages.[hC]: pimplify Messages, and three different pimpls to be
6613         used in different circumstances.
6614
6615         * gettext.[Ch]: change for use with new message code.
6616
6617 2003-04-24 André Pönitz <poenitz@gmx.net>
6618
6619         * factory.C: support for eqref
6620
6621 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * messages.[Ch]: add missing char
6624
6625         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6626
6627         * messages.[Ch]: New files
6628
6629 2003-04-18  John Levon  <levon@movementarian.org>
6630
6631         * BufferView.h:
6632         * BufferView.C:
6633         * BufferView_pimpl.C:
6634         * lfuns.h:
6635         * LyXAction.C:
6636         * lyxtext.h:
6637         * text2.C: remove layout-copy/paste (bug 778)
6638
6639 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6640
6641         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6642
6643 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6644
6645         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6646         if they succeed. Act accordingly.
6647
6648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text2.C (setCharFont): adjust
6651         (setCounter): adjust
6652         (insertStringAsLines): adjust
6653
6654         * text.C (leftMargin): adjust
6655         (setHeightOfRow): adjust
6656
6657         * rowpainter.C (paintFirst): adjust
6658         (paintLast): adjust
6659
6660         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6661         (outerHook): ditto
6662         (isFirstInSequence): ditto
6663         (getEndLabel): ditto
6664         (outerFont): adjust
6665
6666         * paragraph.C (getParLanguage): comment out some hard stuff.
6667
6668         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6669         (sgmlError): ditto
6670         (simpleDocBookOnePar): ditto
6671         (makeDocBookFile): use ParagraphList::iterator
6672
6673         * CutAndPaste.C (pasteSelection): adjust
6674
6675 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * text2.C (getFont): adjust
6678         (getLayoutFont): adjust
6679         (getLabelFont): adjust
6680
6681         * paragraph_funcs.C (TeXOnePar): adjust
6682
6683         * buffer.C (simpleLinuxDocOnePar): adjust
6684         (simpleDocBookOnePar): adjust
6685
6686         * CutAndPaste.C (pasteSelection): adjust
6687
6688         * BufferView.C (getEncoding): adjust
6689
6690         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6691
6692 2003-04-16  John Levon  <levon@movementarian.org>
6693
6694         * lyxfind.C: use parlist stuff for search/changes
6695
6696 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6699
6700         * text2.C (deleteEmptyParagraphMechanism): adjust
6701
6702         * text2.[Ch] (ownerParagraph): delete func (both of them
6703
6704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6705
6706         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6707
6708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * ParagraphList.C: prepare for NO_NEXT
6711
6712 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6713
6714         * text2.C (getFont): adjust
6715         (getLayoutFont): adjust
6716         (getLabelFont): adjust
6717
6718         * paragraph.C (getFont): adjust
6719         (getLabelFont): adjust
6720         (getLayoutFont): adjust
6721
6722         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6723
6724 2003-04-15  John Levon  <levon@movementarian.org>
6725
6726         From Angus Leeming
6727
6728         * lyx_main.C: handle Include in .ui files
6729
6730 2003-04-15  John Levon  <levon@movementarian.org>
6731
6732         * MenuBackend.C: make the doc files length shorter
6733
6734         * ToolbarBackend.h:
6735         * ToolbarBackend.C: handle toolbar placement flags,
6736         Minibuffer
6737
6738 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6741         adjust
6742
6743         * paragraph_funcs.C (TeXOnePar): adjust
6744
6745         * paragraph.C (getLabelFont): add outerfont arg, adjust
6746         (getLayoutFont): ditto
6747         (simpleTeXOnePar): adjust
6748
6749         * paragraph_pimpl.C (realizeFont): delete func
6750
6751 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6754         row argument, constify cur argument.
6755
6756 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * text2.C (getFont): adjust
6759         (getLayoutFont): adjust
6760         (getLabelFont): adjust
6761
6762         * paragraph_funcs.C (TeXOnePar): adjust
6763         (outerFont): new func...
6764         (realizeFont): ...moved out from here, changed this to facilitate
6765         transition
6766
6767         * paragraph.C (getFont): take outerfont as arg, adjust
6768         (simpleTeXOnePar): add outerfont arg, adjust
6769
6770         * buffer.C (simpleLinuxDocOnePar): adjust
6771         (simpleDocBookOnePar): adjust
6772
6773         * CutAndPaste.C (pasteSelection): adjust
6774
6775         * BufferView.C (getEncoding): adjust
6776
6777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * text2.C (setCharFont): adjust
6780         (setCounter): adjust
6781
6782         * text.C (leftMargin): adjust
6783         (setHeightOfRow): adjust
6784
6785         * rowpainter.C (paintFirst): adjust
6786         (paintLast): adjust
6787
6788         * paragraph_pimpl.C (realizeFont): adjust
6789
6790         * paragraph.C (isFirstInSequence): move from here...
6791         * paragraph_funcs.C (isFirstInSequence): ...to here
6792
6793         * paragraph.C (outerHook): move from here...
6794         * paragraph_funcs.C (outerHook): ...to here
6795
6796         * paragraph.C (depthHook): move from here...
6797         * paragraph_funcs.C (depthHook): ...to here
6798
6799         * paragraph.C (getEndLabel): move from here...
6800         * paragraph_funcs.C (getEndLabel): ...to here
6801
6802         * text2.C (realizeFont): move from here...
6803         * paragraph_funcs.C (realizeFont): ...to here
6804
6805 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6806
6807         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6808
6809 2003-04-14  Angus Leeming  <leeming@lyx.org>
6810
6811         * LColor.[Ch]: scrap LColor mathcursor.
6812
6813 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * lyxlex.[Ch] (text): delete function
6816         * trans.C (Load): adjust
6817         * paragraph_funcs.C (readParToken): adjust
6818
6819 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6820
6821         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6822         vector<char> instead of a char[].
6823
6824         * lyxlex_pimpl.C (getString): adjust
6825         (next): adjust
6826         (lex): use getString
6827         (eatLine): adjust
6828         (nextToken): adjust
6829
6830         * lyxlex.C (text): use pimpl_->getString()
6831         (getBool): ditto
6832         (findToken): ditto
6833
6834 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6837         (makeFontEntriesLayoutSpecific): temp var for par.size()
6838         (setLayout): temp var for ownerParagraphs().end()
6839         (fullRebreak): temp var for rows().end()
6840         (selectionAsString): temp var for boost::next(startpit), realize
6841         that the while really is a regular for loop.
6842         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6843         setCursor in one place.
6844         (setParagraph): temp vr for ownerParagraphs().end()
6845         (updateCounters): make the while loop a for loop
6846         (cutSelection): temp var for ownerParagraphs().end()
6847         (updateInset): make the do {} while() a regular for loop
6848         (getCursorX): use temp vars
6849         (setCurrentFont): use temp vars
6850         (getColumnNearX): use temp vars
6851
6852 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * text.C (transformChar): use temp var for getChar
6855         (computeBidiTables): use temp var for row->par()
6856         (fill): move temp vars for row->par() and pit->layout() earlier in
6857         the function.
6858         (labelFill): use temp var for row->par()
6859         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6860         asc and desc, realize that pit never changes and that firstpit is
6861         just a duplicate and not needed. Exchange rit->par() with pit in a
6862         lot of places.
6863         (breakAgain): use a temp var for boost::next(rit)
6864         (breakAgainOneRow): ditto
6865         (breakParagraph): use a temp var for rows().begin()
6866         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6867         (cursorRightOneWord): use temp var for cursor.par() and
6868         cursor.pos(), remove usage of tmpcursor.
6869         (cursorLeftOneWord): use temp var for cursor.par() and
6870         cursor.pos() only set cur at end of function.
6871
6872 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * text.C, text2.C: exchange all usage of Paragraph::next with
6875         boost::next(ParagraphList::iterator)
6876
6877         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6878
6879         * text2.C (cursorTop): simplify implementation
6880         (cursorBottom): ditto
6881         (setParagraph): use ParagraphList::iterator
6882         (setCurrentFont): adjust
6883         (getColumnNearX): adjust
6884         (cursorRight): adjust
6885         (cursorLeft): remove usage of Paragraph::previous
6886         (cursorUpParagraph): ditto
6887         (deleteEmptyParagraphMechanism): slight cleanup
6888
6889         * text.C (isBoundary): take a Paragraph const & instead of a
6890         pointer as arg.
6891         (addressBreakPoint): ditto
6892         (leftMargin): remove usage of Paragraph::previous.
6893         (setHeightOfRow): ditto
6894         (cursorLeftOneWord): ditto
6895         (selectNextWordToSpellcheck): ditto
6896         (Delete): ditto
6897         (backspace): ditto
6898         (breakParagraph): remove one usage of Paragraph::next
6899         (redoParagraph): ditto
6900         (acceptChange): ditto
6901         (insertChar): adjust
6902         (rowBreakPoint): adjust
6903
6904         * bufferview_funcs.C (toggleAndShow): adjust
6905
6906 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6907
6908         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6909         methods to access it.
6910         * lyxtext.h:
6911         * text.C: Added updateRowPositions to compute all row positions.
6912         Make top_y and getRowNearY() to use the cached y position
6913
6914 2003-04-11  John Levon  <levon@movementarian.org>
6915
6916         * text.C (rowBreakPoint): reintroduce the labelEnd
6917         checks, code copied from the row fill stuff. Deep voodoo.
6918
6919         * text.C (fill): add a comment and debugging for the
6920         next poor soul.
6921
6922 2003-04-11  John Levon  <levon@movementarian.org>
6923
6924         * text.C: make sure fullrow insets get wrapped to the next line,
6925         even when they're in a manual label
6926
6927 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * text2.C (insertParagraph): make it take ParagraphList::iterator
6930         as arg.
6931         (setLayout): make it return ParagraphList::iterator
6932         (redoParagraphs): ditto
6933         (setCounter): ditto
6934         (checkParagraph): ditto
6935
6936         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6937
6938         * text2.C: adjust several funcs.
6939         (realizeFont): take a ParagraphList::iterator as arg.
6940         (getLayoutFont): ditto
6941         (getLabelFont): ditto
6942         (setCharFont): ditto
6943
6944         * text.C: adjust several funcs.
6945
6946 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6947
6948         * text.C (selectNextWordToSpellcheck): don't accidentally
6949         skip insets
6950
6951 2003-04-10  John Levon  <levon@movementarian.org>
6952
6953         * ToolbarBackend.C (getIcon): special handling for
6954         LFUN_MATH_DELIM
6955
6956 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6957
6958         * text2.C (cursorRight): a getChar assert fixed
6959
6960 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * text2.C (getFont): change to take a ParagraphList::iterator
6963         instead of Paragraph*
6964         Adjust several functions.
6965
6966         * text.C (transformChar): change to take a ParagraphList::iterator
6967         instead of Paragraph*
6968         (singleWidth): ditto
6969         Adjust several functions.
6970
6971         * rowpainter.C: adjust several functions
6972         * rowpainter.h:store a ParagraphList::iterator and not a
6973         Paragraph&.
6974
6975
6976 2003-04-09  John Levon  <levon@movementarian.org>
6977
6978         * lyxfunc.C:
6979         * lfuns.h:
6980         * LyXAction.h:
6981         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6982         and the "help" bits as well
6983
6984 2003-04-09  John Levon  <levon@movementarian.org>
6985
6986         * ToolbarBackend.h:
6987         * ToolbarBackend.C: allow multiple toolbars
6988
6989 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * undo_funcs.C (setCursorParUndo): adjust
6992
6993         * text_funcs.C (transposeChars): adjust
6994
6995         * text3.C (gotoNextInset): adjust
6996         (dispatch): adjust
6997
6998         * text2.C (setLayout): adjust
6999         (changeDepth): adjust
7000         (setFont): adjust
7001         (redoParagraphs): adjust
7002         (selectionAsString): adjust
7003         (setParagraph): adjust
7004         (insertInset): adjust
7005         (cutSelection): adjust
7006         (copySelection): adjust
7007         (pasteSelection): adjust
7008         (insertStringAsLines): adjust
7009         (updateInset): adjust
7010         (setCursor): change to take a ParagraphList::iterator parameter
7011         (setCursorIntern): change to take a ParagraphList::iterator parameter
7012         (setCurrentFont): adjust
7013         (cursorLeft): adjust
7014         (cursorRight): adjust
7015         (deleteEmptyParagraphMechanism): adjust
7016
7017         * text.C (breakParagraph): adjust
7018         (insertChar): adjust
7019         (acceptChange): adjust
7020         (rejectChange): adjust
7021         (selectNextWordToSpellcheck): adjust
7022         (changeCase): adjust
7023         (Delete): adjust
7024         (backspace): adjust
7025
7026         * lyxfind.C (SearchForward): adjust
7027         (SearchBackward): adjust
7028         (nextChange): adjust
7029
7030         * lyxcursor.C (par): adjust
7031
7032         * lyxcursor.h: store a ParagraphList::iterator instead of a
7033         Paragraph*
7034
7035         * lyx_cb.C (getPossibleLabel): adjust
7036
7037         * bufferview_funcs.C (toggleAndShow): adjust
7038
7039         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7040         (dispatch): adjust
7041
7042         * BufferView.C (removeAutoInsets): adjust
7043         (lockedInsetStoreUndo): adjust
7044
7045 2003-04-09  John Levon  <levon@movementarian.org>
7046
7047         * ToolbarBackend.C: try icon without argument
7048         if with argument fails
7049
7050 2003-04-08  John Levon  <levon@movementarian.org>
7051
7052         * ToolbarBackend.h:
7053         * ToolbarBackend.C: add getIcon(), handle tooltip,
7054         and change from "Icon" to "Item".
7055
7056 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * BufferView.C (lockInset): another bad getchar crunched
7059
7060 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7061
7062         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7063         again)
7064
7065 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7066
7067         * lyxfind.C (searchForward, searchBackwards): bug 782
7068
7069 2003-04-07  John Levon  <levon@movementarian.org>
7070
7071         * paragraph.C: remove dead comment
7072
7073         * text.C: remove troublesome depth-fiddling code
7074         in leftMargin() and rightMargin() (bug 1017)
7075
7076         * text.C: fix breaking of rows in nested lists
7077         (bug 1004)
7078
7079         * text2.C (updateCounters): fix up depth values
7080         (bug 1013)
7081
7082 2003-04-07  John Levon  <levon@movementarian.org>
7083
7084         * BufferView_pimpl.C: clear message when doc finishes resizing,
7085         and after a mouse event
7086
7087         * lyxfunc.C: clear message after exiting inset
7088
7089 2003-04-07  John Levon  <levon@movementarian.org>
7090
7091         * bufferview_funcs.C: show math status not outside
7092         status in the statusbar
7093
7094 2003-04-07  John Levon  <levon@movementarian.org>
7095
7096         * lyxfunc.C: note status changed after a depth change
7097
7098 2003-04-04  Angus Leeming  <leeming@lyx.org>
7099
7100         * LaTeX.h: move AuxInfo operator==, != out of line.
7101         Remove LaTeX virtual destructor; nothing derives from it.
7102         Move operator()() out of public area and rename it startscript().
7103         Change protected for private.
7104
7105 2003-04-04  Angus Leeming  <leeming@lyx.org>
7106
7107         * lyxfunc.C:
7108         * text2.C: remove unneeded #includes.
7109
7110 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7111
7112         * text2.C (dEPM): fix the heigth of the next row
7113
7114 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7115
7116         * text.C: squashed an invalid getChar requester + some ws changes
7117
7118 2003-04-03  John Levon  <levon@movementarian.org>
7119
7120         * bufferview_funcs.h:
7121         * bufferview_funcs.C:
7122         * lyxfunc.C:
7123         * lyxtext.h:
7124         * text2.C: make getStatus work for the env depth lfuns
7125
7126 2003-04-03  John Levon  <levon@movementarian.org>
7127
7128         * bufferview_funcs.h:
7129         * bufferview_funcs.C:
7130         * lyxfunc.C:
7131         * lyxtext.h:
7132         * text2.C: parlistize decDepth(), by merging it with incDepth()
7133
7134 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * lyxrow.h: store a ParagraphList::iterator instead of a
7137         Paragraph* and adjust other class functions to suit.
7138
7139         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7140         above.
7141
7142 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7143
7144         * text2.C (setCursor): do not anchor to cursor row for the time being
7145
7146 2003-04-02  John Levon  <levon@movementarian.org>
7147
7148         * LyXAction.C:
7149         * lfuns.h:
7150         * lyx_main.C:
7151         * lyxtext.h:
7152         * text.C:
7153         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7154
7155 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * paragraph.h: make ParagraphList and ParagraphList::iterator
7158         friends of Paragraph.
7159
7160         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7161
7162         * ParagraphList.C: Use the private next_ and previous_ from
7163         Paragraph.
7164
7165 2003-04-01  John Levon  <levon@movementarian.org>
7166
7167         * ToolbarBackend.h:
7168         * ToolbarBackend.C:
7169         * Makefile.am: rename, remove defaults gunk
7170
7171         * MenuBackend.h:
7172         * MenuBackend.C: remove defaults gunk
7173
7174         * Languages.h:
7175         * Languages.C: remove defaults gunk
7176
7177         * lyx_main.h:
7178         * lyx_main.C: error out if files couldn't be found.
7179
7180 2003-04-02  John Levon  <levon@movementarian.org>
7181
7182         * text2.C: make incDepth() use parlist
7183
7184 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7185
7186         * undo_funcs.C (firstUndoParagraph): adjust
7187
7188         * text3.C (gotoInset): adjust
7189         (dispatch): adjust, and rewrite loop.
7190
7191         * text2.C (init): adjust, and rewrite loop.
7192         (redoParagraphs): adjust
7193         (updateInset): adjust, and rewrite loop.
7194         (deleteEmptyParagraphMechanism): adjust
7195
7196         * tabular.C (LyXTabular): adjust
7197         (SetMultiColumn): adjust
7198         (TeXRow): adjust
7199
7200         * lyxtext.[Ch] (ownerParagraph): delete function
7201         (ownerParagraphs): new function returns a ParagraphList.
7202
7203         * BufferView.C (removeAutoInsets): adjust
7204         (insertErrors): adjust
7205         (setCursorFromRow): adjust
7206
7207 2003-04-01  Angus Leeming  <leeming@lyx.org>
7208
7209         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7210         in the frontends.
7211
7212 2003-04-02  John Levon  <levon@movementarian.org>
7213
7214         * lyxtext.h:
7215         * text.C:
7216         * Makefile.am:
7217         * text_funcs.h:
7218         * text_funcs.C: make transposeChars a free function
7219
7220         * lyxrow_funcs.C: remove wrong comment
7221
7222 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * lyxtext.h: adjust
7225         * rowpainter.C: adjust
7226         * text.C: adjust
7227         * text2.C: adjust
7228         * text3.C: adjust
7229
7230         * lyxrow_funcs. [Ch]: new files
7231
7232         * lyxrow.[Ch]: remove next and previous pointers
7233         (next,previous): remove accessor functions
7234         (isParEnd): move to lyxrow_funcs
7235         (lastPos): move to lyxrow_funcs
7236         (nextRowIsAllInset): move to lyxrow_funcs
7237         (lastPrintablePos): move to lyxrow_funcs
7238         (numberOfSeparators): move to lyxrow_funcs
7239         (numberOfHfills): move to lyxrow_funcs
7240         (numberOfLabelHfills): move to lyxrow_funcs
7241         (hfillExpansion): move to lyxrow_funcs
7242
7243         * lyxfunc.C: adjust
7244
7245         * bufferview_funcs.C (toggleAndShow): adjust
7246
7247         * RowList.h: Remove class RowList from file leave just a
7248         std::list<Row>.
7249
7250         * RowList.C: delete file
7251
7252         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7253         and lyxrow_funcs.h
7254
7255 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * text3.C (cursorPrevious): adjust
7258         (cursorNext): adjust
7259         (dispatch): adjust
7260
7261         * text2.C (redoHeightOfParagraph): adjust
7262         (redoDrawingOfParagraph): adjust
7263         (setCursor): adjust
7264
7265         * text.C (breakParagraph): adjust
7266         (insertChar): adjust
7267         (backspace): adjust
7268
7269         * rowpainter.C (RowPainter): adjust
7270         (leftMargin): simplify and adjust
7271         (most rowpainter functions): adjust.
7272
7273         * rowpainter.h: store the row as RowList::iterator not as Row*
7274
7275         * lyxcursor.C (row): taka RowList::iterator as arg
7276         (irow): ditto
7277
7278         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7279         of Row*.
7280
7281 2003-04-01  Angus Leeming  <leeming@lyx.org>
7282
7283         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7284         stuff like bool Bool.
7285
7286 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7287
7288         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7289         rewrite a loop
7290
7291 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7294         RowList::iterator.
7295
7296         * lyxtext.h (rows): drop one version and leve a const variant that
7297         returns a RowList::iterator.
7298
7299 2003-03-31  Angus Leeming  <leeming@lyx.org>
7300
7301         * text.C (fill): ensure that the signature is the same as that in the
7302         header file.
7303
7304 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * text2.C (redoParagraphs): adjust
7307         (updateCounters): adjust
7308         (checkParagraph): adjust
7309         (getColumnNearX): adjust and reformat a bit.
7310
7311         * text.C (top_y): adjust
7312         (workWidth): adjust
7313         (leftMargin): adjust
7314         (prepareToPrint): adjust
7315         (getRow): adjust
7316         (getRowNearY): adjust
7317
7318         * lyxtext.h: make rowlist_ mutable.
7319
7320         * RowList.h: add const_iterator
7321         * RowList.C: adjust for RowList::const_iterator.
7322
7323         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7324         adjust.
7325
7326 2003-03-31  John Levon  <levon@movementarian.org>
7327
7328         * lyxrc.h:
7329         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7330
7331         * lyx_main.C: set default fonts from using lyx_gui funcs
7332
7333         * exporter.C: pdf_mode moved from lyxrc
7334
7335         * lyx_cb.C:
7336         * lyxfunc.C: changes from above
7337
7338 2003-03-31  John Levon  <levon@movementarian.org>
7339
7340         * lyx_main.C: fix to the last fix
7341
7342 2003-03-31  John Levon  <levon@movementarian.org>
7343
7344         * bufferlist.C: "Load original" -> "Load Original"
7345
7346         * converter.C:
7347         * exporter.C:
7348         * importer.C:
7349         * lyx_main.C:
7350         * format.C: more Alert cleanups
7351
7352 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * text2.C (removeParagraph): make it take a RowList::iterator as
7355         arg, adjust.
7356         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7357         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7358
7359         * text.C (anchor_row): make it take a RowList::iterator as arg,
7360         adjust.
7361         (computeBidiTables): make it take a const reference to Row instead
7362         of Row pointer, adjust.
7363         (leftMargin): make it take a RowList::iterator as arg, adjust.
7364         (rowBreakPoint): adjust
7365         (breakAgainOneRow): make it take a RowList::iterator as arg,
7366         adjust.
7367         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7368
7369         * bufferview_funcs.C (toggleAndShow): adjust
7370
7371 2003-03-30  John Levon  <levon@movementarian.org>
7372
7373         * Makefile.am:
7374         * BoostFormat.h:
7375         * boost-inst.C: moved to support
7376
7377         * several files: changes as a result
7378
7379 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * text2.C (LyXText): adjust.
7382         (init): adjust
7383         (removeRow): make it take a RowList::iterator as arg, adjust.
7384         (fullRebreak): adjust
7385         (deleteEmptyParagraphMechanism): adjust
7386         (clearPaint): adjust
7387         (postPaint): adjust
7388
7389         * text.C (top_y): adjust
7390         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7391         (breakAgain): make it take a RowList::iterator as arg, adjust.
7392         (breakParagraph): adjust
7393         (insertChar): adjust
7394         (backspace): adjust
7395
7396         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7397         need_break_row, and refresh_row.
7398
7399         * text3.C (dispatch): adjust
7400
7401         * text2.C (checkParagraph): adjust
7402         (setCursor): adjust
7403         (setCursorFromCoordinates): adjust
7404
7405         * text.C (top_y): adjust
7406         (workWidth): adjust
7407         (getRow): make it return a RowList::iterator, adjust
7408         (getRowNearY): make it return a RowList::iterator, adjust
7409
7410         * text2.C (init): adjust
7411         (insertRow): remove function
7412         (insertParagraph): adjust
7413         (redoParagraphs): adjust
7414         (fullRebreak): adjust
7415         (updateCounters): adjust
7416
7417         * text.C (top_y): rewrite to use RowList iterators.
7418         (top_y): adjust
7419         (setHeightOfRow): rewrite to sue RowList iterators.
7420         (appendParagraph): adjust
7421         (breakAgain): adjust
7422         (breakAgainOneRow): adjust
7423         (breakParagraph): adjust
7424         (getRow): adjust
7425         (getRowNearY): adjust, and remove commented code.
7426
7427         * lyxtext.h (firstRow): delete function
7428         (lastRow): delete function
7429         (rows): new function (const and non-const versions.)
7430         (insertRow): delete function
7431
7432         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7433
7434 2003-03-29  John Levon  <levon@movementarian.org>
7435
7436         * BufferView_pimpl.C: always update scrollbar top
7437         because pasting text when we're anchored could mean we
7438         miss an update altogether
7439
7440 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * text2.C (init): use rowlist_.end() and not 0.
7443         (insertRow): change to take a RowList::iterator as arg, adjust
7444         for this.
7445         (insertParagraph): change to take a RowList::iterator as arg,
7446         adjust for this.
7447         (redoParagraphs): remove some debug msgs.
7448
7449         * text.C (appendParagraph): change to take a RowList::iterator
7450         arg, adjust for this.
7451         (breakAgain): add an assert
7452         (breakAgainOneRow): ditto
7453
7454 2003-03-29  John Levon  <levon@movementarian.org>
7455
7456         * text2.C: do not clear selection after inc/decDepth
7457         (bug 550)
7458
7459 2003-03-29  John Levon  <levon@movementarian.org>
7460
7461         * BufferView.C:
7462         * buffer.C: fix broken strerrors according to Lars
7463
7464 2003-03-29  John Levon  <levon@movementarian.org>
7465
7466         * converters.C: more Alert cleanups
7467
7468 2003-03-29  John Levon  <levon@movementarian.org>
7469
7470         * bufferview_funcs.C: remove pointless Alert
7471
7472         * buffer.C: fix confusing error message when
7473         a template is chmoded 000
7474
7475 2003-03-29  John Levon  <levon@movementarian.org>
7476
7477         * BufferView.C:
7478         * BufferView.h:
7479         * BufferView_pimpl.C: Alert fixes
7480
7481         * Makefile.am:
7482         * tabular.C:
7483         * tabular-old.C: remove unused table compat reading
7484
7485 2003-03-29  John Levon  <levon@movementarian.org>
7486
7487         * BufferView.C:
7488         * buffer.C:
7489         * lyx_cb.h:
7490         * lyx_cb.C: more Alert cleanups
7491
7492         * lyxfunc.C: don't allow chktex if not latex document
7493
7494 2003-03-29  John Levon  <levon@movementarian.org>
7495
7496         * lyx_cb.C:
7497         * BufferView.C:
7498         * buffer.C: warnings pushed down from support/,
7499         kill err_alert
7500
7501 2003-03-29  John Levon  <levon@movementarian.org>
7502
7503         * lyxfunc.C: safety check for C-r (revert)
7504
7505 2003-03-29  John Levon  <levon@movementarian.org>
7506
7507         * bufferlist.h:
7508         * bufferlist.C: several UI fixes using Alert::prompt.
7509         Fix the pointless looping quit code. Fix stupid revert
7510         behaviour (bug 938)
7511
7512         * lyxvc.h:
7513         * lyxvc.C:
7514         * lyx_cb.C: use Alert::prompt
7515
7516         * lyx_main.C: remove a silly question
7517
7518         * lyxfunc.C: remove a couple of silly questions,
7519         use Alert::prompt
7520
7521 2003-03-28  John Levon  <levon@movementarian.org>
7522
7523         * text2.C: fix bug 974 (End on empty par)
7524
7525 2003-03-28  John Levon  <levon@movementarian.org>
7526
7527         * BufferView_pimpl.C:
7528         * LyXAction.C:
7529         * lfuns.h: remove do-nothing math greek lfuns
7530
7531 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * lyxgluelength.h (isValidGlueLength): add default arg on
7534         parameter 2. Remove default arg from friend in class.
7535
7536         * lyxlength.h (isValidLength): add default arg on parameter 2.
7537         Remove default arg from friend in class.
7538
7539         * text2.C (LyXText): adjust, initialize refresh_row.
7540         (init): adjust
7541         (removeRow): adjust
7542         (insertRow): adjust
7543         (insertParagraph): adjst
7544         (redoParagraphs): adjust
7545         (fullRebreak): adjust
7546         (updateCounters): adjust
7547         (deleteEmptyParagraphMechanism): first attempt at fixing a
7548         crashing bug.
7549
7550         * text.C (top_y): adjust
7551         (setHeightOfRow): adjust
7552         (getRow): adjust
7553         (getRowNearY): adjust
7554
7555         * lyxtext.h: include RowList.h
7556         (~LyXText): not needed anymore, deleted.
7557         (firstRow): modify for RowList
7558         (lastRow): new function
7559         Delete firstrow and lastrow class variables, add a Rowlist
7560         rowlist_ class variable.
7561
7562         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7563         paragraph is empty.
7564
7565         * RowList.C (insert): fix case where it == begin().
7566
7567 2003-03-26  Angus Leeming  <leeming@lyx.org>
7568
7569         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7570         the thesaurus dialog.
7571
7572 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7575
7576         * RowList.[Ch]: new files
7577
7578         * ParagraphList.C (erase): handle the case where it == begin
7579         correctly.
7580
7581 2003-03-25  John Levon  <levon@movementarian.org>
7582
7583         * Makefile.am:
7584         * aspell_local.h:
7585         * aspell.C: add new aspell support
7586
7587         * lyxrc.h:
7588         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7589         have it accessible.
7590
7591 2003-03-25  Angus Leeming  <leeming@lyx.org>
7592
7593         * lfuns.h:
7594         * LyXAction.C (init): new LFUN_INSET_INSERT.
7595
7596         * BufferView_pimpl.C (dispatch): split out part of the
7597         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7598
7599         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7600         LFUN_INSET_APPLY.
7601
7602 2003-03-25  Angus Leeming  <leeming@lyx.org>
7603
7604         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7605
7606 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7607
7608         * text2.C:
7609         * text3.C: remove useless row->height(0)
7610
7611 2003-03-25  John Levon  <levon@movementarian.org>
7612
7613         * lyxtext.h:
7614         * text2.C:
7615         * text3.C: rename the refreshing stuff to better names
7616
7617 2003-03-24  John Levon  <levon@movementarian.org>
7618
7619         * BufferView_pimpl.h:
7620         * BufferView_pimpl.C: update layout choice on a mouse
7621         press/release
7622
7623 2003-03-23  John Levon  <levon@movementarian.org>
7624
7625         * Makefile.am: fix commandtags.h reference
7626
7627 2003-03-22  John Levon  <levon@movementarian.org>
7628
7629         * BufferView_pimpl.C:
7630         * lyxtext.h:
7631         * rowpainter.C:
7632         * rowpainter.h:
7633         * text.C:
7634         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7635
7636 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7637
7638         * lyxtext.h:
7639         * text.C: take the rtl methods out of line
7640
7641 2003-03-21 André Pönitz <poenitz@gmx.net>
7642
7643         * metricsinfo.[Ch]: new files containing structures to be passed around
7644         during the two-phase-drawing...
7645
7646 2003-03-21 André Pönitz <poenitz@gmx.net>
7647
7648         * lyxtextclass.C: read 'environment' tag.
7649
7650 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7651
7652         * text2.C (removeRow): fix bug 964
7653
7654 2003-03-20  John Levon  <levon@movementarian.org>
7655
7656         * rowpainter.C:
7657         * text.C:
7658         * text2.C: paint cleanups. Inset::update() dropped font
7659         parameter
7660
7661 2003-03-19  John Levon  <levon@movementarian.org>
7662
7663         * lyxfunc.C: only fitcursor/markDirty if available()
7664
7665 2003-03-19  John Levon  <levon@movementarian.org>
7666
7667         * commandtags.h: rename to ...
7668
7669         * lfuns.h: ... this, and renumber / cleanup
7670
7671 2003-03-19  John Levon  <levon@movementarian.org>
7672
7673         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7674         fit the cursor after an lfun
7675
7676         * BufferView.h:
7677         * BufferView.C:
7678         * BufferView_pimpl.h:
7679         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7680
7681         * LyXAction.C: layout-character should have ReadOnly
7682
7683         * ParagraphParameters.C:
7684         * buffer.C:
7685         * bufferview_funcs.C:
7686         * lyx_cb.C:
7687         * lyxfind.C:
7688         * lyxtext.h:
7689         * text.C:
7690         * text2.C:
7691         * text3.C:
7692         * undo_funcs.C: changes from above
7693
7694 2003-03-18  John Levon  <levon@movementarian.org>
7695
7696         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7697         remove it from update()
7698
7699         * lyxfunc.C: update layout choice after an lfun
7700
7701         * text3.C: remove extra updateLayoutChoice()s
7702
7703 2003-03-18  John Levon  <levon@movementarian.org>
7704
7705         * text.C: top_y change means full repaint, fix
7706         a drawing bug with cursor movement
7707
7708 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7709
7710         * lyxtext.h:
7711         * text.C:
7712         * text2.C: anchor row on setCursor
7713
7714 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7715
7716         * lyxtext.h: remove almost all mutable keywords
7717         * text.C:
7718         * text2.C:
7719         * text3.C: remove const keywords accordingly
7720
7721 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7724         anon namespace
7725         (TeXEnvironment): ditto
7726         (TeXOnePar): ditto
7727
7728 2003-03-17  John Levon  <levon@movementarian.org>
7729
7730         * text.C (rowBreakPoint): remove attempt to fix displayed
7731         math insets inside a manual label
7732
7733 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * lyxtext.h: remove BufferView* as first arg from almost all class
7736         functions.
7737         * other files: adjust.
7738
7739 2003-03-17  John Levon  <levon@movementarian.org>
7740
7741         * lyxtext.h:
7742         * undo_funcs.C:
7743         * text2.C: more paint cleanups
7744
7745         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7746
7747         * rowpainter.h:
7748         * rowpainter.C: remove "smart" background painting code
7749
7750 2003-03-16  John Levon  <levon@movementarian.org>
7751
7752         * lyxtext.h:
7753         * text.C:
7754         * text2.C:
7755         * text3.C: add helper functions for setting refresh_row/y
7756
7757 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7758
7759         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7760         newline inset which *can* get inserted in the pass_thru layouts.
7761         This is primarily for literate documents.
7762
7763 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7764
7765         * buffer.C: increment LYX_FORMAT to 223
7766
7767 2003-03-14 André Pönitz <poenitz@gmx.net>
7768
7769         * textclass.h: prepare for environment handling, ws changes
7770         * lyxlayout.C: read latexheader and latexfooter tags
7771
7772 2003-03-14  John Levon  <levon@movementarian.org>
7773
7774         * text2.C: rewrite ::status() a bit
7775
7776 2003-03-13  John Levon  <levon@movementarian.org>
7777
7778         * lyxtext.h: add some docs
7779
7780 2003-03-13  John Levon  <levon@movementarian.org>
7781
7782         * lyxtext.h:
7783         * text.C:
7784         * text2.C:
7785         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7786
7787 2003-03-13  John Levon  <levon@movementarian.org>
7788
7789         * text3.C: fix appendix redrawing
7790
7791 2003-03-13  John Levon  <levon@movementarian.org>
7792
7793         * text.C (setHeightOfRow):
7794         * rowpainter.h:
7795         * rowpainter.C: make appendix mark have the text
7796           "Appendix" so the user knows what it is
7797
7798         * LColor.h:
7799         * LColor.C: s/appendixline/appendix/ from above
7800
7801 2003-03-13  John Levon  <levon@movementarian.org>
7802
7803         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7804
7805         * text.C: fix a getChar(pos) bug properly
7806
7807 2003-03-13  Angus Leeming  <leeming@lyx.org>
7808
7809         * commandtags.h:
7810         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7811         Probably only temporary. Let's see how things pan out.
7812
7813         * BufferView.C (unlockInset):
7814         * BufferView_pimpl.C (fitCursor):
7815         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7816
7817         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7818         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7819
7820         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7821         new functions that convert ParagraphParameters to and from a string.
7822
7823         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7824         BufferView::Pimpl's dispatch.
7825         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7826
7827 2003-03-13 André Pönitz <poenitz@gmx.net>
7828
7829         * lyxfunc.C:
7830         * text3.C:
7831         * factory.C: make it aware of InsetEnv
7832
7833 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * text2.C (setCursor): never ask for one past last
7836         (setCursor): add some debugging messages.
7837
7838         * text.C (singleWidth): never ask for one past last
7839         (singleWidth): ditto
7840         (leftMargin): ditto
7841         (rightMargin): ditto
7842         (rowBreakPoint): ditto
7843         (setHeightOfRow): ditto
7844         (prepareToPrint): ditto
7845
7846         * rowpainter.C (paintBackground): never ask for one past last
7847         (paintText): never ask for one past last
7848
7849         * paragraph_pimpl.C (getChar): make the assert stricter, never
7850         allow the one past last pos to be taken
7851
7852         * paragraph.C (getChar): ws changes only
7853
7854         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7855         (numberOfSeparators): ditto
7856         (numberOfHfills): ditto
7857
7858 2003-03-12  John Levon  <levon@movementarian.org>
7859
7860         * author.h:
7861         * author.C:
7862         * bufferparams.h:
7863         * bufferparams.C:
7864         * paragraph_funcs.C: fix per-buffer authorlists
7865
7866 2003-03-12  John Levon  <levon@movementarian.org>
7867
7868         * text.C: fix newline in right address
7869
7870 2003-03-12  Angus Leeming  <leeming@lyx.org>
7871
7872         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7873         duplicate those in LyXFunc::dispatch.
7874
7875         * commandtags.h:
7876         * LyXAction.C:
7877         * ToolbarDefaults.C:
7878         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7879         Add LFUN_FONTFREE_UPDATE.
7880
7881         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7882         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7883
7884         * bufferview_func.[Ch]: several new functions to facilliate
7885         transfer of data to and from the character dialog.
7886
7887 2003-03-12  John Levon  <levon@movementarian.org>
7888
7889         * buffer.C:
7890         * paragraph.h:
7891         * paragraph.C:
7892         * paragraph_funcs.C:
7893         * paragraph_pimpl.C:
7894         * sgml.C:
7895         * tabular.C:
7896         * text.C:
7897         * text3.C: remove META_NEWLINE in favour of an inset
7898
7899         * rowpainter.h:
7900         * rowpainter.C: remove paintNewline (done by inset)
7901
7902 2003-03-12  John Levon  <levon@movementarian.org>
7903
7904         * paragraph_pimpl.C: complain about bad getChar()s
7905         for a while at least
7906
7907 2003-03-12  John Levon  <levon@movementarian.org>
7908
7909         * buffer.h:
7910         * buffer.C: move paragraph read into a separate function,
7911         a little renaming to reflect that.
7912
7913         * bufferparams.h:
7914         * bufferparams.C: remove the author_ids map, not necessary now
7915
7916         * factory.h:
7917         * factory.C: moved Buffer::readInset to here
7918
7919         * paragraph_funcs.h:
7920         * paragraph_funcs.C: readParagraph free function moved from
7921         buffer.C
7922
7923         * tabular.C: name change
7924
7925 2003-03-12  John Levon  <levon@movementarian.org>
7926
7927         * buffer.C:
7928         * ParagraphParameters.C: move par params input to
7929         a read() method
7930
7931         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7932         behave like a normal read from the stream wrt reading
7933         a line vs. a \\token
7934
7935 2003-03-12  John Levon  <levon@movementarian.org>
7936
7937         * paragraph.C:
7938         * ParagraphParameters.h:
7939         * ParagraphParameters.C: move output code to a
7940         ::write() method
7941
7942 2003-03-12  John Levon  <levon@movementarian.org>
7943
7944         * BufferView.C (insertLyXFile):
7945         * buffer.h:
7946         * buffer.C:
7947         * tabular.C: use a parlist iterator for creating the
7948           document.
7949
7950 2003-03-12  John Levon  <levon@movementarian.org>
7951
7952         * buffer.C: make current_change static local not
7953           static file-scope
7954
7955 2003-03-12  John Levon  <levon@movementarian.org>
7956
7957         * buffer.C: fix insertStringAsLines for change tracking
7958
7959 2003-03-12  John Levon  <levon@movementarian.org>
7960
7961         * BufferView.C:
7962         * tabular.C:
7963         * buffer.h:
7964         * buffer.C:
7965         * bufferparams.h:
7966         * bufferparams.C: move author list into params. Rename some
7967           functions. Move the header reading into a separate token
7968           loop. Move the header token reading into BufferParams.
7969
7970 2003-03-12  John Levon  <levon@movementarian.org>
7971
7972         * changes.C: put debug inside lyxerr.debugging() checks
7973
7974 2003-03-11 André Pönitz <poenitz@gmx.net>
7975
7976         * factory.C: make it aware of InsetHFill
7977
7978 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7979
7980         * buffer.C (latexParagraphs): move function from here...
7981         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7982         args.
7983
7984 2003-03-10  Angus Leeming  <leeming@lyx.org>
7985
7986         * LyXAction.C (init): fix bug in poplating array with multiple entries
7987         with the same LFUN (spotted by JMarc).
7988
7989 2003-03-10  John Levon  <levon@movementarian.org>
7990
7991         * text.C:
7992         * text2.C: move getColumnNearX() near its
7993         only call site
7994
7995 2003-03-10  John Levon  <levon@movementarian.org>
7996
7997         * text.C: fix break before a minipage
7998
7999 2003-03-10  John Levon  <levon@movementarian.org>
8000
8001         * text.C: fix the last commit
8002
8003 2003-03-09  John Levon  <levon@movementarian.org>
8004
8005         * lyxtext.h:
8006         * text.C:
8007         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8008         bug 365 (don't break before insets unless needed). Don't
8009         return a value > last under any circumstances.
8010
8011 2003-03-09  Angus Leeming  <leeming@lyx.org>
8012
8013         * BufferView_pimpl.C (trackChanges, dispatch): call
8014         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8015
8016 2003-03-09  Angus Leeming  <leeming@lyx.org>
8017
8018         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8019         than Dialogs::showAboutlyx().
8020
8021 2003-03-09  Angus Leeming  <leeming@lyx.org>
8022
8023         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8024         than Dialogs::showTabularCreate().
8025
8026 2003-03-09  John Levon  <levon@movementarian.org>
8027
8028         * lyxtext.h:
8029         * text.C:
8030         * text2.C: 3rd arg to nextBreakPoint was always the same.
8031           Use references.
8032
8033 2003-03-08  John Levon  <levon@movementarian.org>
8034
8035         * lyxrow.C:
8036         * paragraph.C:
8037         * paragraph.h:
8038         * rowpainter.C:
8039         * text.C:
8040         * text2.C: Remove the "main" bit from the "main body"
8041           notion.
8042
8043 2003-03-08  John Levon  <levon@movementarian.org>
8044
8045         * text.C (leftMargin): The left margin of an empty
8046         manual label paragraph should not include the label width
8047         string length.
8048
8049         * text.C (prepareToPrint): don't attempt to measure hfills
8050         for empty manual label paragraphs - the answer should be 0
8051
8052 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8053
8054         * CutAndPaste.C: remove commented code and reindent.
8055
8056 2003-03-08  John Levon  <levon@movementarian.org>
8057
8058         * lyxfunc.h:
8059         * lyxfunc.C: move reloadBuffer()
8060
8061         * BufferView.h:
8062         * BufferView.C: to here
8063
8064         * lyxvc.C: add comment
8065
8066         * vc-backend.h:
8067         * vc-backend.C: call bv->reload() to avoid
8068           getStatus() check on MENURELOAD
8069
8070 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8071
8072         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8073         to an old format .dep file.
8074
8075 2003-03-07  Angus Leeming  <leeming@lyx.org>
8076
8077         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8078         when the LFUN_MOUSE_RELEASE should have been handled by
8079         inset->localDispatch.
8080
8081 2003-03-07  Angus Leeming  <leeming@lyx.org>
8082
8083         * BufferView_pimpl.C (dispatch):
8084         * LyXAction.C (init):
8085         * ToolbarDefaults.C (init):
8086         * commandtags.h:
8087         * lyxfunc.C (getStatus):
8088         remove LFUN_INSET_GRAPHICS.
8089
8090         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8091
8092 2003-03-07  Angus Leeming  <leeming@lyx.org>
8093
8094         * commandtags.h:
8095         * LyXAction.C (init):
8096         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8097
8098         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8099
8100         * commandtags.h:
8101         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8102
8103         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8104         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8105
8106 2003-03-07  Angus Leeming  <leeming@lyx.org>
8107
8108         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8109         remove "ert".
8110
8111 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * ParagraphList.C (front): new function
8114         (back): implement
8115
8116 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8117
8118         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8119         and top_row_offset_. removed var first_y.
8120         * text.C (top_y):
8121         * text2.C (LyXText, removeRow):
8122         * text3.C:
8123         * BufferView_pimpl.C:
8124         use these methods instead of using first_y
8125
8126 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * text2.C (pasteSelection): adjust for checkPastePossible
8129
8130         * CutAndPaste.C: remove Paragraph * buf and replace with
8131         ParagraphList paragraphs.
8132         (DeleteBuffer): delete
8133         (cutSelection): change the tc type to textclass_type
8134         (copySelection): change the tc type to textclass_type
8135         (copySelection): adjust for ParagraphList
8136         (pasteSelection): change the tc type to textclass_type
8137         (pasteSelection): adjust for Paragraphlist
8138         (nrOfParagraphs): simplify for ParagraphList
8139         (checkPastePossible): simplify for ParagraphList
8140         (checkPastePossible): remove unused arg
8141
8142         * ParagraphList.C (insert): handle the case where there are no
8143         paragraphs yet.
8144
8145         * CutAndPaste.h: make CutAndPaste a namespace.
8146
8147         * text3.C (dispatch): adjust
8148
8149         * text.C (breakParagraph): add a ParagraphList as arg
8150
8151         * paragraph_funcs.C (breakParagraph): change to take a
8152         BufferParams and a ParagraphList as args.
8153         (breakParagraphConservative): ditto
8154         (mergeParagraph): ditto
8155         (TeXDeeper): add a ParagraphList arg
8156         (TeXEnvironment): ditto
8157         (TeXOnePar): ditto
8158
8159         * buffer.C (readLyXformat2): adjust
8160         (insertStringAsLines): adjust
8161         (latexParagraphs): adjust
8162
8163         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8164         (cutSelection): adjust
8165         (pasteSelection): adjust
8166
8167         * BufferView_pimpl.C (insertInset): adjust
8168
8169 2003-03-05  Angus Leeming  <leeming@lyx.org>
8170
8171         * commandtags.h:
8172         * LyXAction.C (init):
8173         * BufferView_pimpl.C (dispatch):
8174         * lyxfunc.C (getStatus):
8175         remove LFUN_CHILD_INSERT.
8176
8177         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8178
8179 2003-03-05  Angus Leeming  <leeming@lyx.org>
8180
8181         * commandtags.h:
8182         * LyXAction.C (init):
8183         * src/factory.C (createInset):
8184         * lyxfunc.C (getStatus):
8185         * text3.C (dispatch):
8186         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8187
8188         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8189
8190 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * ParagraphList.C (insert): handle insert right before end()
8193         (erase): fix cases where it can be first or last paragraph.
8194
8195 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8198         Paragraph::next and Paragraph::previous
8199         (TeXOnePar): ditto
8200
8201         * text.C (breakParagraph): adjust
8202
8203         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8204         BufferParams& as arg.
8205         (breakParagraph): use ParagraphList::insert
8206         (breakParagraphConservative): take a Buffer* instead of a
8207         BufferParams& as arg.
8208         (breakParagraphConservative): use ParagraphList::insert.
8209
8210         * buffer.C (insertStringAsLines): un-const it
8211         (insertStringAsLines): adjust
8212
8213         * ParagraphList.C (insert): new function
8214
8215         * CutAndPaste.C (pasteSelection): adjust
8216
8217         * text.C (backspace): adjust
8218
8219         * tabular.C (SetMultiColumn): adjust
8220
8221         * CutAndPaste.C (cutSelection): adjust
8222         (pasteSelection): adjust
8223
8224         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8225         Buffer const * as arg
8226
8227         * ParagraphList.C (erase): new function
8228         * paragraph_funcs.C (mergeParagraph): use it
8229         (mergeParagraph): make it take a Buffer* instead of a
8230         BufferParams* as arg
8231
8232         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8233         as arg
8234         (breakParagraphConservative): ditto
8235
8236         * paragraph.h: remove the breakParagraph friend
8237
8238         * paragraph.C (eraseIntern): new function
8239         (setChange): new function
8240
8241         * paragraph_funcs.C (mergeParagraph): make it take a
8242         ParagraphList::iterator instead of a Paragraph *, adjust
8243         accordingly.
8244
8245         * paragraph.h: move an #endif so that the change tracking stuff
8246         also works in the NO_NEXT case.
8247
8248 2003-03-04  Angus Leeming  <leeming@lyx.org>
8249
8250         * commandtags.h:
8251         * LyXAction.C: new LFUN_INSET_MODIFY.
8252
8253         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8254         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8255
8256 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * several files: ws changes only
8259
8260         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8261         (TeXEnvironment): ditto
8262         (TeXDeeper): ditto
8263
8264         * buffer.C (makeLaTeXFile): adjust
8265         (latexParagraphs): make it take ParagraphList::iterator as args
8266
8267 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * buffer.C (latexParagraphs): adjust
8270
8271         * paragraph.C (TeXOnePar): move function...
8272         (optArgInset): move function...
8273         (TeXEnvironment): move function...
8274         * paragraph_pimpl.C (TeXDeeper): move function...
8275         * paragraph_funcs.C: ...here
8276
8277         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8278
8279 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * buffer.C (readInset): remove compability code for old Figure and
8282         InsetInfo insets
8283
8284 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * buffer.C: ws changes
8287         (readInset):
8288
8289         * BufferView_pimpl.C: ditto
8290         * author.C: ditto
8291         * buffer.h: ditto
8292         * bufferlist.h: ditto
8293         * changes.h: ditto
8294         * lyxfunc.C: ditto
8295
8296 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8297
8298         * converter.[Ch]: split into itself +
8299         * graph.[Ch]
8300         * format.[Ch]
8301         * Makefile.am: += graph.[Ch] + format.[Ch]
8302         * MenuBackend.C
8303         * buffer.C
8304         * exporter.C
8305         * importer.C
8306         * lyx_main.C
8307         * lyxfunc.C
8308         * lyxrc.C: added #include "format.h"
8309
8310 2003-02-27  Angus Leeming  <leeming@lyx.org>
8311
8312         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8313           a label.
8314
8315         * factory.C (createInset): add "label" to the factory.
8316
8317         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8318           string and do no more.
8319
8320 2003-02-27  Angus Leeming  <leeming@lyx.org>
8321
8322         * commandtags.h:
8323         * LyXAction.C (init):
8324         * factory.C (createInset):
8325         * BufferView_pimpl.C (dispatch):
8326           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8327
8328         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8329
8330         * lyxfunc.C (dispatch):
8331         * text3.C (dispatch): pass name to params2string.
8332
8333 2003-02-26  Angus Leeming  <leeming@lyx.org>
8334
8335         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8336           blocks together.
8337           Rearrange the ~includes. Strip out the unnecessary ones.
8338
8339         * factory.C (createInset): reformat.
8340           create new insets for the various LFUN_XYZ_APPLY lfuns.
8341
8342 2003-02-26  John Levon  <levon@movementarian.org>
8343
8344         * lyxrow.h:
8345         * lyxrow.C: add isParStart,isParEnd helpers
8346
8347         * paragraph.h: make isInserted/DeletedText take refs
8348
8349         * paragraph_funcs.h:
8350         * paragraph_funcs.C: remove #if 0'd code
8351
8352         * lyxtext.h:
8353         * text3.C:
8354         * text2.C:
8355         * text.C: use lyxrow helpers above.
8356           Move draw and paint routines to RowPainter.
8357           Make several methods use refs not pointers.
8358           Make backgroundColor() const.
8359           Add markChangeInDraw(), isInInset().
8360           Merge changeRegionCase into changeCase.
8361           Make workWidth() shouldn't-happen code into an Assert.
8362
8363         * rowpainter.h:
8364         * rowpainter.C: new class for painting a row.
8365
8366         * vspace.h:
8367         * vspace.C: make inPixels take a ref
8368
8369 2003-02-26  Angus Leeming  <leeming@lyx.org>
8370
8371         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8372         LFUN_REF_APPLY.
8373
8374 2003-02-25  John Levon  <levon@movementarian.org>
8375
8376         * ispell.C: give the forked command a more accurate name
8377
8378 2003-02-22  John Levon  <levon@movementarian.org>
8379
8380         * toc.h:
8381         * toc.C: make TocItem store an id not a Paragraph *
8382           (bug #913)
8383
8384 2003-02-21  Angus Leeming  <leeming@lyx.org>
8385
8386         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8387           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8388           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8389           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8390           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8391           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8392
8393         * BufferView_pimpl.C (dispatch):
8394         * LyXAction.C (init):
8395         * factory.C (createInset):
8396         * lyxfunc.C (getStatus, dispatch):
8397         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8398
8399 2003-02-21  Angus Leeming  <leeming@lyx.org>
8400
8401         * BufferView_pimpl.C (MenuInsertLyXFile):
8402         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8403         * lyxfunc.C (menuNew, open, doImport):
8404           no longer pass a LyXView & to fileDlg.
8405
8406 2003-02-21  Angus Leeming  <leeming@lyx.org>
8407
8408         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8409         * LyXAction.C: change, BIBKEY to BIBITEM.
8410         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8411         Change InsetBibKey to InsetBibitem.
8412         Change BIBKEY_CODE to BIBITEM_CODE.
8413         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8414         * factory.C: replace insetbib.h with insetbibitem.h.
8415         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8416         * paragraph.C: replace insetbib.h with insetbibitem.h.
8417         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8418         Change bibkey() to bibitem().
8419         * text.C: remove insetbib.h.
8420         * text2.C: replace insetbib.h with insetbibitem.h.
8421         change bibkey() to bibitem().
8422         * text3.C: remove insetbib.h.
8423         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8424
8425 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8426
8427         * lyxrc.C (output): enclose user email in quotes (in case there are
8428         several words)
8429
8430 2003-02-18  John Levon  <levon@movementarian.org>
8431
8432         * buffer.h: add std::
8433
8434 2003-02-17  John Levon  <levon@movementarian.org>
8435
8436         * SpellBase.h:
8437         * ispell.h:
8438         * ispell.C:
8439         * pspell.h:
8440         * pspell.C: reworking. Especially in ispell, a large
8441           number of clean ups and bug fixes.
8442
8443         * lyxfunc.C: fix revert to behave sensibly
8444
8445 2003-02-17 André Pönitz <poenitz@gmx.net>
8446
8447         * LyXAction.C:
8448         * commandtags.h: new LFUN_INSERT_BIBKEY
8449
8450         * layout.h:
8451         * lyxlayout.C:
8452         * buffer.C:
8453         * factory.C:
8454         * text.C:
8455         * text2.C:
8456         * text3.C:
8457         * paragraph.[Ch]:
8458         * paragraph_func.C: remove special bibkey handling
8459
8460 2003-02-17  John Levon  <levon@movementarian.org>
8461
8462         * text.C (Delete): fix case where delete at the end of
8463           the very first paragraph would not merge the pars
8464
8465 2003-02-17  John Levon  <levon@movementarian.org>
8466
8467         * lyxrow.C: fix lastPrintablePos()
8468
8469 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * bufferparams.C (writeLaTeX): add a std:here
8472
8473         * buffer.C: and remove a using directive there
8474
8475 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * buffer.C (makeLaTeXFile): move the code that generates the
8478           preamble...
8479
8480         * bufferparams.C (writeLaTeX): ... in this new method
8481
8482         * LaTeXFeatures.C (getEncodingSet): make const
8483           (getLanguages): make const
8484
8485         * MenuBackend.C (binding): returns the binding associated to this
8486           action
8487           (add): sets the status of each item by calling getStatus. Adds
8488           some intelligence.
8489           (read): add support for OptSubMenu
8490           (expand): remove extra separator at the end of expanded menu
8491
8492 2003-02-15  John Levon  <levon@movementarian.org>
8493
8494         * BufferView.C:
8495         * BufferView_pimpl.C:
8496         * bufferlist.h:
8497         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8498           inset code that had no actual effect. Remove unneeded status
8499           code.
8500
8501 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8502
8503         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8504           in preamble
8505
8506 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8507
8508         * text.C (drawLengthMarker): also draw an arrow marker for
8509           symbolic lengths (medskip...)
8510
8511 2003-02-14  John Levon  <levon@movementarian.org>
8512
8513         * tabular.h:
8514         * tabular.C: better method names
8515
8516 2003-02-14  John Levon  <levon@movementarian.org>
8517
8518         * BufferView_pimpl.C:
8519         * bufferlist.C:
8520         * buffer.C:
8521         * converter.C:
8522         * lyx_cb.C:
8523         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8524           it's a more accurate name. Remove some pointless uses.
8525
8526 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8527
8528         * text2.C (LyXText): change order of initilizers to shut off
8529           warnings
8530
8531 2003-02-14  John Levon  <levon@movementarian.org>
8532
8533         * buffer.C: use ParIterator for getParFromID()
8534
8535         * paragraph.h:
8536         * paragraph.C:
8537         * paragraph_pimpl.h:
8538         * paragraph_pimpl.C: remove unused getParFromID()
8539
8540 2003-02-14  John Levon  <levon@movementarian.org>
8541
8542         * buffer.C: remove some very old #if 0'd parse code
8543
8544 2003-02-13  John Levon  <levon@movementarian.org>
8545
8546         * text.h:
8547         * text.C:
8548         * text2.C: move hfillExpansion(), numberOfSeparators(),
8549           rowLast(), rowLastPrintable(), numberofHfills(),
8550           numberOfLabelHfills() ...
8551
8552         * lyxrow.h:
8553         * lyxrow.C: ... to member functions here.
8554
8555         * paragraph.h:
8556         * paragraph.C:
8557         * lyxtext.h:
8558         * text.C: remove LyXText::beginningOfMainBody(), and call
8559           p->beginningOfMainBody() directly. Move the check for
8560           LABEL_MANUAL into the latter.
8561
8562         * text.h:
8563         * text.C:
8564         * text2.C:
8565         * vspace.C:
8566         * BufferView.h:
8567         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8568
8569         * text.h:
8570         * text.C:
8571         * text2.C:
8572         * text3.C:
8573         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8574           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8575
8576 2003-02-13  John Levon  <levon@movementarian.org>
8577
8578         * CutAndPaste.C: remove debug
8579
8580 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8581
8582         * paragraph.C (asString): remove two unused variables
8583
8584         * lyxtextclass.C (readTitleType):
8585           (Read):
8586           (LyXTextClass): handle new members titletype_ and titlename_
8587
8588         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8589
8590 2003-02-09  John Levon  <levon@movementarian.org>
8591
8592         * buffer.h:
8593         * buffer.C: replace hand-coded list with a map for the dep clean
8594
8595 2003-02-08  John Levon  <levon@movementarian.org>
8596
8597         * LaTeX.C: consolidate code into showRunMessage() helper
8598
8599 2003-02-08  John Levon  <levon@movementarian.org>
8600
8601         * lyxfind.C:
8602         * lyxtext.h:
8603         * text2.C:
8604         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8605           and pass the size in explicitly
8606
8607         * BufferView_pimpl.h:
8608         * BufferView_pimpl.C:
8609         * BufferView.h:
8610         * BufferView.C: add getCurrentChange()
8611
8612         * BufferView_pimpl.h:
8613         * BufferView_pimpl.C: handle change lfuns
8614
8615         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8616           for changes. Mark pasted paragraphs as new.
8617
8618         * support/lyxtime.h:
8619         * support/lyxtime.C:
8620         * DepTable.C: abstract time_t as lyx::time_type
8621
8622         * LColor.h:
8623         * LColor.C: add colours for new text, deleted text, changebars
8624
8625         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8626           package use "usenames" option.
8627
8628         * commandtags.h:
8629         * lyxfunc.C:
8630         * LyXAction.C: add change lfuns
8631
8632         * Makefile.am:
8633         * author.h:
8634         * author.C: author handling
8635
8636         * buffer.h:
8637         * buffer.C: add a per-buffer author list, with first entry as
8638           current author. Handle new .lyx tokens for change tracking. Output
8639           author list to .lyx file. Output dvipost stuff to .tex preamble.
8640           Bump lyx format to 222.
8641
8642         * bufferlist.h:
8643         * bufferlist.C: add setCurrentAuthor() to reset current author details
8644           in all buffers.
8645
8646         * bufferparams.h:
8647         * bufferparams.C: add param for tracking
8648
8649         * bufferview_funcs.C: output change info in minibuffer
8650
8651         * Makefile.am:
8652         * changes.h:
8653         * changes.C: add change-tracking structure
8654
8655         * debug.h:
8656         * debug.C: add CHANGES debug flag
8657
8658         * lyxfind.h:
8659         * lyxfind.C: add code for finding the next change piece
8660
8661         * lyxrc.h:
8662         * lyxrc.C: add user_name and user_email
8663
8664         * lyxrow.h:
8665         * lyxrow.C: add a metric for the top of the text line
8666
8667         * lyxtext.h:
8668         * text.C: implement accept/rejectChange()
8669
8670         * lyxtext.h:
8671         * text.C: paint changebars. Paint new/deleted text in the chosen
8672         colours. Strike through deleted text.
8673
8674         * paragraph.h:
8675         * paragraph.C:
8676         * paragraph_pimpl.h:
8677         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8678           in the current change to the insert functions. Rework erase to
8679           mark text as deleted, adding an eraseIntern() and a range-based
8680           erase(). Implement per-paragraph change lookup and
8681           accept/reject.
8682
8683         * paragraph_funcs.C: Fixup paste for change tracking.
8684
8685         * tabular.C: mark added row/columns as new.
8686
8687         * text.C: fix rowLast() to never return -1. Don't allow
8688           spellchecking of deleted text. Track transpose changes. Don't
8689           allow paragraph break or merge where appropriate.
8690
8691         * text2.C: leave cursor at end of selection after a cut.
8692
8693 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8694
8695         * text.C (getLengthMarkerHeight):
8696         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8697         visible on screen too.
8698
8699 2003-02-07  John Levon  <levon@movementarian.org>
8700
8701         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8702
8703 2003-02-05  Angus Leeming  <leeming@lyx.org>
8704
8705         * lyxserver.C (read_ready): revert my patch of 11 September last year
8706         as it sends PC cpu through the roof. Presumably this means that
8707         the lyxserver will no longer run on an Alpha...
8708
8709 2003-01-30  Angus Leeming  <leeming@lyx.org>
8710
8711         * factory.C (createInset): create an InsetCommandParam of type "index"
8712         and use it to 'do the right thing'.
8713
8714         * text2.C (getStringToIndex): ensure that cursor position is always
8715         reset to the reset_cursor position.
8716
8717 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8718
8719         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8720         disabled.
8721
8722 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8723
8724         * bufferview.C:
8725         * lyxcb.C:
8726         * lyxfunc.C: Output messages with identical spelling, punctuation,
8727         and spaces
8728
8729 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8730
8731         * MenuBackend.C (expandFormats): List only viewable export formats
8732         in "View" menu
8733
8734         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8735         message
8736
8737         * lyxfunc.C (getStatus): Make sure that formats other than
8738         "fax" can also be disabled
8739
8740 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8741
8742         * text3.C (dispatch): put the lfuns that insert insets in 3
8743         groups, and call doInsertInset with appropriate arguments.
8744         (doInsertInset): new function, that creates an inset and inserts
8745         it according to some boolean parameters.
8746
8747 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8748
8749         * buffer.C (readFile): remember to pass on 'par' when calling
8750         readFile recursively.
8751
8752 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8753
8754         * MenuBackend.C (expandFormats): add "..." to import formats.
8755
8756 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8757
8758         * paragraph.C (asString): Remove XForms RTL hacks.
8759
8760 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8761         * buffer.C: fix typo
8762
8763 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8764
8765         * Makefile.am (LIBS): delete var
8766         (lyx_LDADD): add @LIBS@ here instead.
8767
8768 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8769
8770         * Clarify the meaning of "wheel mouse jump"
8771
8772 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8773
8774         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8775         tabular in a float
8776
8777 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8778
8779         * importer.C (Loaders): do not preallocate 3 elements in the
8780         vector, since one ends up with 6 elements otherwise
8781
8782 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8783
8784         * DepTable.C (write): write the file name as last element of the
8785         .dep file (because it may contain spaces)
8786         (read): read info in the right order
8787
8788 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * paragraph_pimpl.C (simpleTeXBlanks):
8791         (simpleTeXSpecialChars):
8792         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8793
8794         * tabular.C (latex): add some missing case statements. Reindent.
8795
8796         * MenuBackend.C (expandToc): remove unused variable.
8797
8798 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8799
8800         * LColor.C:
8801         * LaTeX.C:
8802         * LyXAction.C:
8803         * MenuBackend.C:
8804         * buffer.C:
8805         * exporter.C:
8806         * lyxfunc.C:
8807         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8808         and the like.
8809
8810 2003-01-05  John Levon  <levon@movementarian.org>
8811
8812         * BufferView.h:
8813         * BufferView.C: add getEncoding()
8814
8815         * kbsequence.h:
8816         * kbsequence.C: do not store last keypress
8817
8818         * lyxfunc.h:
8819         * lyxfunc.C: store last keypress here instead. Pass encoding
8820           to getISOEncoded()
8821
8822 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8823
8824         * lyx_main.C (init): remove annoying error message when following
8825         symbolic links (bug #780)
8826
8827 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8828
8829         * text.C (insertChar):
8830         * lyxrc.C (getDescription): remove extra spaces
8831
8832 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8833
8834         * lyxrc.C (getDescription): remove extra spaces
8835
8836 2002-12-20  John Levon  <levon@movementarian.org>
8837
8838         * text3.C: hack fix for page up/down across tall rows
8839
8840 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8841
8842         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8843         not been invoked
8844
8845 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8846
8847         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8848         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8849         thesaurus is not compiled in
8850
8851 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8852
8853         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8854
8855 2002-12-16  Angus Leeming  <leeming@lyx.org>
8856
8857         * lyxrc.[Ch]:
8858         * lyx_main.C (init): remove override_x_deadkeys stuff.
8859
8860 2002-12-12  John Levon  <levon@movementarian.org>
8861
8862         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8863           insert. Only remove shift modifier under strict
8864           circumstances.
8865
8866 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * MenuBackend.C (expandToc): fix crash.
8869
8870 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8871
8872         * MenuBackend.C (expandToc): gettext on float names.
8873
8874 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8875
8876         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8877         implement bool empty() [bug 490]
8878
8879 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8880
8881         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8882
8883 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * several files: ws changes
8886
8887 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8888
8889         * text2.C (setCounter): clean up a bit, use boost.format.
8890         (updateCounters): initialize par upon declaration.
8891
8892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8893         if the layout exists. We do not just store the layout any more.
8894         (SwitchLayoutsBetweenClasses): use boost.format
8895
8896 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8897
8898         * converter.C (convert): if from and to files are the same, use a
8899         temporary files as intermediary
8900
8901 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8902
8903         * commandtags.h:
8904         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8905
8906 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8907
8908         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8909
8910 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8911
8912         * tabular.C (asciiPrintCell): use string(size, char) instead of
8913         explicit loop.
8914
8915         * sgml.C (openTag): fix order of arguments to string constructor
8916         (closeTag): ditto
8917
8918         * lyxfunc.C (dispatch): use boost.format
8919
8920         * lots of files: change "c" -> 'c'
8921
8922 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8923
8924         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8925
8926 2002-11-25  Angus Leeming  <leeming@lyx.org>
8927
8928         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8929
8930         * lyx_main.C (init): compile fix.
8931
8932 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8933
8934         * lyx_cb.C (start): boost.formatify
8935         do not include <iostream>
8936
8937         * lengthcommon.C: ws only
8938
8939         * boost-inst.C,BoostFormat.h: add more explict instantations
8940
8941 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8942
8943         * lots of files: handle USE_BOOST_FORMAT
8944
8945 2002-11-21  John Levon  <levon@movementarian.org>
8946
8947         * pspell.C: fix compile
8948
8949 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * lyxfunc.C (dispatch): use boost::format
8952         (open): ditto
8953         (doImport): ditto
8954
8955         * lyxfont.C (stateText): use boost::format
8956
8957         * lyx_main.C (LyX): use boost::format
8958         (init): ditto
8959         (queryUserLyXDir): ditto
8960         (readRcFile): ditto
8961         (parse_dbg): ditto
8962         (typedef boost::function): use the recommened syntax.
8963
8964         * importer.C (Import): use boost::format
8965
8966         * debug.C (showLevel): use boost::format
8967
8968         * converter.C (view): use boost::format
8969         (convert): ditto
8970         (move): ditto
8971         (scanLog): ditto
8972
8973         * bufferview_funcs.C (currentState): use boost::format
8974
8975         * bufferlist.C (emergencyWrite): use boost::format
8976
8977         * buffer.C (readLyXformat2): use boost::format
8978         (parseSingleLyXformat2Token): ditto
8979
8980         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8981
8982         * LaTeX.C (run): use boost::format
8983
8984         * Chktex.C (scanLogFile): use boost::format
8985
8986         * BufferView_pimpl.C (savePosition): use boost::format
8987         (restorePosition): ditto
8988         (MenuInsertLyXFile): ditto
8989
8990         * BoostFormat.h: help file for explicit instation.
8991
8992 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8993
8994         * tabular.C (latex): Support for block alignment in fixed width
8995         columns.
8996
8997 2002-11-17  John Levon  <levon@movementarian.org>
8998
8999         * BufferView_pimpl.C:
9000         * lyx_cb.C:
9001         * lyxfunc.C: split filedialog into open/save
9002
9003 2002-11-08  Juergen Vigna  <jug@sad.it>
9004
9005         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9006         by my last patch (hopefully).
9007
9008 2002-11-08  John Levon  <levon@movementarian.org>
9009
9010         * iterators.h:
9011         * iterators.C:
9012         * buffer.h:
9013         * buffer.C:
9014         * paragraph.h:
9015         * paragraph.C:
9016         * toc.h:
9017         * toc.C: ParConstIterator, and use it (from Lars)
9018
9019 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9020
9021         * lyxtextclass.[Ch]: revise and add doxygen comments
9022
9023 2002-11-07  John Levon  <levon@movementarian.org>
9024
9025         * text.C: fix progress value for spellchecker
9026
9027         * toc.C: fix navigate menu for insetwrap inside minipage
9028
9029         * paragraph_funcs.C: added FIXME for suspect code
9030
9031 2002-11-07  John Levon  <levon@movementarian.org>
9032
9033         * BufferView_pimpl.C: fix redrawing of insets
9034           on buffer switch
9035
9036 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9037
9038         * text2.C (updateCounters): fix bug 668
9039
9040 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9041
9042         * text3.C (dispatch): Do not make the buffer dirty when moving the
9043         cursor.
9044
9045 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * vc-backend.C: STRCONV
9048         (scanMaster): ditto
9049
9050         * text2.C (setCounter): STRCONV
9051
9052         * paragraph.C (asString): STRCONV
9053
9054         * lyxlength.C (asString): STRCONV
9055         (asLatexString): ditto
9056
9057         * lyxgluelength.C (asString): STRCONV
9058         (asLatexString): ditto
9059
9060         * lyxfunc.C (dispatch): STRCONV
9061         (open): ditto
9062
9063         * lyxfont.C (stateText): STRCONV
9064
9065         * importer.C (Import): STRCONV
9066
9067         * counters.C (labelItem): STRCONV
9068         (numberLabel): ditto
9069         (numberLabel): remove unused ostringstream o
9070
9071         * chset.C: STRCONV
9072         (loadFile): ditto
9073
9074         * bufferview_funcs.C (currentState): STRCONV
9075
9076         * buffer.C (readFile): STRCONV
9077         (asciiParagraph): ditto
9078         (makeLaTeXFile): ditto
9079
9080         * Spacing.C (writeEnvirBegin): STRCONV
9081
9082         * LaTeXFeatures.C (getLanguages): STRCONV
9083         (getPackages): ditto
9084         (getMacros): ditto
9085         (getBabelOptions): ditto
9086         (getTClassPreamble): ditto
9087         (getLyXSGMLEntities): ditto
9088         (getIncludedFiles): ditto
9089
9090         * LaTeX.C: STRCONV
9091         (run): ditto
9092         (scanAuxFile): ditto
9093         (deplog): ditto
9094
9095         * LString.h: add the STRCONV macros
9096
9097         * BufferView_pimpl.C (savePosition): STRCONV
9098         (restorePosition): ditto
9099         (MenuInsertLyXFile): ditto
9100
9101         * vc-backend.C (scanMaster): change from submatch[...] to
9102         submatch.str(...)
9103
9104         * funcrequest.C: include config.h
9105
9106         * factory.C: include config.h
9107
9108         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9109
9110         * box.C: include config.h
9111
9112         * LaTeX.C (scanAuxFile): change from submatch[...] to
9113         submatch.str(...)
9114         (deplog): ditto
9115
9116 2002-10-25  Angus Leeming  <leeming@lyx.org>
9117
9118         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9119
9120         * ispell.[Ch] (setError): new method.
9121         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9122         Use setError() insetead of goto END.
9123
9124         * lyx_cb.C (AutoSave): move out child process into new class
9125         AutoSaveBuffer.
9126
9127 2002-10-30  John Levon  <levon@movementarian.org>
9128
9129         * text3.C: make start appendix undoable
9130
9131 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9132
9133         * lyxlength.C (inPixels): Fix returned value.
9134
9135         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9136         environment.
9137
9138 2002-10-24  Angus Leeming  <leeming@lyx.org>
9139
9140         * lyxgluelength.h: no need to forward declare BufferParams
9141         or BufferView, so don't.
9142
9143 2002-10-21  John Levon  <levon@movementarian.org>
9144
9145         * BufferView.C: menuUndo ->undo, redo
9146
9147         * BufferView.h: document, remove dead, make some methods private
9148
9149         * paragraph_funcs.h:
9150         * paragraph_funcs.C:
9151         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9152
9153         * buffer.h:
9154         * buffer.C:
9155         * sgml.h:
9156         * sgml.C: move sgml open/close tag into sgml.C
9157
9158         * bufferview_funcs.h: unused prototype
9159
9160         * lyxfunc.h:
9161         * lyxfunc.C: remove unused
9162
9163         * lyxtext.h:
9164         * text.C: remove unused
9165
9166 2002-10-21  John Levon  <levon@movementarian.org>
9167
9168         * BufferView.h:
9169         * BufferView.C:
9170         * BufferView_pimpl.h:
9171         * BufferView_pimpl.C: fix mouse wheel handling based on
9172           patch from Darren Freeman
9173
9174 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9175
9176         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9177
9178 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9179
9180         * lyxlength.C (inPixels): Fix hanfling of negative length.
9181         Fix LyXLength::MU case.
9182
9183 2002-10-16  John Levon  <levon@movementarian.org>
9184
9185         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9186
9187 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9188
9189         * converter.C (view): add support for $$i (file name) and $$p
9190         (file path) for the viewer command. If $$i is not specified, then
9191         it is appended to the command (for compatibility with old syntax)
9192
9193 2002-10-14  Juergen Vigna  <jug@sad.it>
9194
9195         * undo_funcs.C (textHandleUndo): alter the order in which the
9196         new undopar is added to the LyXText, as we have to set first
9197         the right prev/next and then add it as otherwise the rebuild of
9198         LyXText is not correct. Also reset the cursor to the right paragraph,
9199         with this IMO we could remove the hack in "redoParagraphs()".
9200
9201 2002-10-09  Angus Leeming  <leeming@lyx.org>
9202
9203         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9204         to turn off an optimisation if a new inset is to be inserted.
9205
9206 2002-10-11 André Pönitz <poenitz@gmx.net>
9207
9208         * lyxtext.h: make some functions public to allow access
9209         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9210
9211 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9212
9213         * text3.C (dispatch): when changing layout, avoid an infinite loop
9214         [bug #652]
9215
9216 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9217
9218         * lyxrc.C (read): treat a viewer or converter command of "none" as
9219         if it were empty.
9220
9221         * MenuBackend.C (expandFormats): for an update, also allow the
9222         formats that are not viewable
9223
9224         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9225         script if it is newer than the lyxrc.defaults in user directory
9226
9227 2002-10-07 André Pönitz <poenitz@gmx.net>
9228
9229         * text.C: Vitaly Lipatov's small i18n fix
9230
9231 2002-09-25  Angus Leeming  <leeming@lyx.org>
9232
9233         * ispell.h: doxygen fix.
9234
9235 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9236
9237         * buffer.h (readFile): Add a new argument to the method, to allow
9238         reading of old-format templates.
9239
9240 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * toc.C (getTocList): Get TOC from InsetWrap.
9243
9244 2002-09-16  John Levon  <levon@movementarian.org>
9245
9246         * lyxfunc.C: check tabular for cut/copy too
9247
9248 2002-09-12  John Levon  <levon@movementarian.org>
9249
9250         * LyXAction.C: tidy
9251
9252         * factory.h:
9253         * factory.C: add header
9254
9255         * paragraph_funcs.h:
9256         * paragraph_funcs.C: cleanup
9257
9258 2002-09-11  John Levon  <levon@movementarian.org>
9259
9260         * PrinterParams.h: odd/even default to true
9261
9262 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9263
9264         * PrinterParams.h: update printer parameters for new xforms dialog
9265
9266 2002-09-11  Angus Leeming  <leeming@lyx.org>
9267
9268         * lyxserver.C (read_ready): re-write to make it more transparent
9269         and to make it work in coherent fashion under Tru64 Unix.
9270
9271 2002-09-11  André Pönitz <poenitz@gmx.net>
9272
9273         * commandtags.h:
9274         * LyXAction.C:
9275         * text3.C: implement LFUN_WORDSEL
9276
9277 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9280         make floatlist_ a boost::shared_ptr<FloatList>
9281
9282         * lyxtextclass.C: include FloatList.h
9283         (LyXTextClass): initialize floatlist_
9284         (TextClassTags): add TC_NOFLOAT
9285         (Read): match "nofloat" to TC_NOFLOAT and use it.
9286         (readFloat): modify call to floatlist_
9287         (floats): ditto
9288         (floats): ditto
9289
9290         * FloatList.[Ch] (FloatList): remove commented out float
9291         initialization.
9292         (erase): new function
9293
9294 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9295
9296         * MenuBackend.C (expandToc): fix crash when there is no document
9297         open
9298
9299 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9300
9301         * many files: Add insetwrap.
9302
9303 2002-09-09  John Levon  <levon@movementarian.org>
9304
9305         * text2.C: remove confusing and awkward depth wraparound
9306
9307 2002-09-09  John Levon  <levon@movementarian.org>
9308
9309         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9310
9311         * buffer.h:
9312         * buffer.C: remove getIncludeonlyList()
9313
9314         * paragraph.C:
9315         * lyxfunc.C: remove headers
9316
9317 2002-09-09  Juergen Vigna  <jug@sad.it>
9318
9319         * text.C (getColumnNearX): fix form Michael this is most
9320         probably a cut&paste bug.
9321
9322 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9325
9326         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9327         references, ws changes.
9328
9329         * text2.C (init): update counters after init
9330         (insertParagraph): no need to set counter on idividual paragraphs.
9331         (setCounter): access the counters object in the textclass object
9332         on in the buffer object.
9333         (updateCounters): ditto
9334
9335         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9336         shared_ptr<Counters> to avoid loading counters.h in all
9337         compilation units.
9338         (LyXTextClass): initialize ctrs_
9339         (TextClassTags): add TC_COUNTER, and ...
9340         (Read): use it here.
9341         (CounterTags): new tags
9342         (readCounter): new function
9343         (counters): new funtion
9344         (defaultLayoutName): return a const reference
9345
9346         * counters.C (Counters): remove contructor
9347         (newCounter): remove a couple of unneeded statements.
9348         (newCounter): simplify a bit.
9349         (numberLabel): some small formatting changes.
9350
9351         * buffer.[Ch]: remove all traces of counters, move the Counters
9352         object to the LyXTextClass.
9353
9354 2002-09-06  Alain Castera  <castera@in2p3.fr>
9355
9356         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9357         package to set the horizontal alignment on fixed width columns.
9358
9359         * lyx_sty.C:
9360         * lyx_sty.h: added tabularnewline macro def.
9361
9362         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9363
9364 2002-09-06  John Levon  <levon@movementarian.org>
9365
9366         * LyXAction.C: tooltips for sub/superscript
9367
9368         * MenuBackend.C: a bit more verbose
9369
9370         * lyxfunc.C: tiny clean
9371
9372         * undo_funcs.C: document undo_frozen
9373
9374 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9375
9376         * counters.C (Counters): add missing algorithm counter.
9377
9378         * text2.C (setCounter): lookup the counter with layouts latexname
9379         instead of by section number.
9380         (setCounter): use a hackish way to lookup the correct enum
9381         counter.
9382         a float name->type change
9383         reset enum couners with counter name directly instead of depth value.
9384
9385         * counters.C (Counters): remove the push_backs, change to use the
9386         float type not the float name.
9387         (labelItem): remove unused string, float name->type change
9388
9389         * counters.h: don't include vector, loose the enums and sects vectors
9390
9391 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9392
9393         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9394         (Read): add float->TC_FLOAT to textclassTags
9395         (Read): and handle it in the switch
9396         (readFloat): new function
9397
9398         * FloatList.C (FloatList): comment out the hardcoded float
9399         definitions.
9400
9401         * lyxlayout.h: ws change.
9402
9403 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9404
9405         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9406
9407 2002-09-03  Angus Leeming  <leeming@lyx.org>
9408
9409         * BufferView_pimpl.h: qualified name is not allowed in member
9410         declaration: WorkArea & Pimpl::workarea() const;
9411
9412         * factory.C: added using std::endl directive.
9413
9414         * text3.C: added using std::find and std::vector directives.
9415
9416 2002-08-29  André Pönitz <poenitz@gmx.net>
9417
9418         * lyxtext.h:
9419         * text2.C: remove unused member number_of_rows
9420
9421         * Makefile.am:
9422         * BufferView2.C: remove file, move contents to...
9423         * BufferView.C: ... here
9424
9425         * BufferView_pimpl.C:
9426         * factory.C: move more inset creation to factory
9427
9428         * vspace.C: avoid direct usage of LyXText, ws changes
9429
9430         * BufferView.[Ch]:
9431                 don't provide direct access to WorkArea, use two simple
9432                 acessors haveSelction() and workHeight() instead
9433
9434
9435 2002-08-29  John Levon  <levon@movementarian.org>
9436
9437         * BufferView_pimpl.C (dispatch): do not continue when
9438           no buffer
9439
9440 2002-08-28  André Pönitz <poenitz@gmx.net>
9441
9442         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9443
9444         * BufferView.h:
9445         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9446
9447 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9448
9449         * buffer.C: increment LYX_FORMAT to 221
9450
9451         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9452         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9453
9454         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9455
9456         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9457
9458 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * factory.C (createInset): use LyXTextClass::floats
9461
9462         * MenuBackend.C (expandFloatListInsert):
9463         (expandFloatInsert):
9464         (expandToc):
9465
9466         * text2.C (setCounter):
9467
9468         * LaTeXFeatures.C (useFloat):
9469         (getFloatDefinitions):
9470
9471         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9472
9473         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9474         floatlist_, with accessor floats().
9475
9476         * FloatList.h: remove global FloatList
9477
9478 2002-08-26  André Pönitz <poenitz@gmx.net>
9479
9480         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9481
9482         * BufferView.h:
9483         * BufferView2.C:
9484         * BufferView_pimpl.C:
9485         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9486
9487 2002-08-25  John Levon  <levon@movementarian.org>
9488
9489         * LyXAction.C: fix margin note description
9490
9491 2002-08-24  John Levon  <levon@movementarian.org>
9492
9493         * buffer.C:
9494         * bufferlist.C:
9495         * bufferview_funcs.C:
9496         * lyxfont.C:
9497         * undo_funcs.C: cleanups
9498
9499         * lyxfunc.C: disable CUT/COPY when no selection
9500
9501 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9502
9503         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9504         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9505
9506         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9507         Add backward compatibility to "mono", "gray" and "no".
9508
9509 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9510
9511         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9512         (and file_format >= 200).
9513
9514 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9517
9518 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9521
9522 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9523
9524         * BufferView_pimpl.C:
9525         * LyXAction.C:
9526         * buffer.C:
9527         * commandtags.h:
9528         * lyxfunc.C:
9529         * paragraph.[Ch]:
9530         * text2.C:
9531         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9532         inset and code to make it  work with the paragraph code. The inset
9533         can be anywhere in the paragraph, but will only do the expected
9534         thing in LaTeX if the layout file contains the parameter line
9535                         OptionalArgs    1
9536         (or more generally, a nonzero value) for that layout.
9537
9538 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * paragraph.h: remove the declaration of undefined counters class
9541         function.
9542
9543 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9544
9545         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9546         Dr. Richard Hawkins.
9547
9548 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9549
9550         * paragraph_funcs.h: remove some unneeded includes
9551
9552         * text.C (backspace): pasteParagraph now in global scipe
9553
9554         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9555         (pasteSelection): ditto
9556
9557         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9558         * paragraph_funcs.C (pasteParagraph): ... here
9559
9560 2002-08-20  André Pönitz <poenitz@gmx.net>
9561
9562         * commandtags.h: new LFUNs for swapping/copying table row/colums
9563
9564         * LyXAction.C:
9565         * lyxfunc.C: support for new lfuns
9566
9567 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9568
9569         * tabular.C:
9570         * buffer.[Ch]: remove NO_COMPABILITY stuff
9571
9572 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * boost.C (throw_exception): new file, with helper function for
9575         boost compiled without exceptions.
9576
9577         * paragraph.h:
9578         * lyxlength.C:
9579         * buffer.C:
9580         * ParameterStruct.h:
9581         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9582
9583         * bufferlist.C (emergencyWriteAll): use boost bind
9584
9585         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9586
9587         * text.C: include paragraph_funcs.h
9588         (breakParagraph): breakParagraph is now in global scope
9589
9590         * paragraph_funcs.[Ch]: new files
9591
9592         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9593         global scope
9594
9595         * buffer.C: include paragraph_funcs.h
9596         (insertStringAsLines): breakParagraph is now in global scope
9597
9598         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9599         paragraph_funcs.C
9600
9601         * CutAndPaste.C: include paragraph_funcs.h
9602         (cutSelection): breakParagraphConservative is now in global scope
9603         (pasteSelection): ditto
9604
9605         * buffer.h: declare oprator== and operator!= for
9606         Buffer::inset_iterator
9607
9608         * bufferlist.C (emergencyWrite): don't use fmt(...)
9609
9610         * text3.C: add using std::endl
9611
9612         * BufferView.C (moveCursorUpdate): remove default arg
9613
9614 2002-08-20  André Pönitz <poenitz@gmx.net>
9615
9616         * buffer.[Ch]: move inline functions to .C
9617
9618         * BufferView2.C:
9619         * BufferView_pimpl.C:
9620         * text.C:
9621         * buffer.[Ch]: use improved inset_iterator
9622
9623         * buffer.C:
9624         * paragraph.[Ch]: write one paragraph at a time
9625
9626 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9629         style if style is not specified.
9630
9631 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * text2.C (setCounter): when searching for right label for a
9634         caption, make sure to recurse to parent insets (so that a caption
9635         in a minipage in a figure float works) (bug #568)
9636
9637 2002-08-20  André Pönitz <poenitz@gmx.net>
9638
9639         * text3.C: new file for LyXText::dispatch() and helpers
9640
9641         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9642
9643         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9644
9645 2002-08-19  André Pönitz <poenitz@gmx.net>
9646
9647         * lyxtext.h:
9648         * text.C: new LyXText::dispatch()
9649
9650         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9651
9652 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9653
9654         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9655
9656         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9657         Hebrew text.
9658
9659 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * Makefile.am: use $(variables) instead of @substitutions@
9662
9663 2002-08-15  André Pönitz <poenitz@gmx.net>
9664
9665         * lyxfunc.C:
9666         * BufferView_pimpl.C: streamlining mathed <-> outer world
9667         interaction
9668
9669         * commandtags.h:
9670         * LyXAction.C: remove unused LFUN_MATH
9671
9672 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9673
9674         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9675
9676 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9677
9678         * paragraph.C (Paragraph): reformat a bit
9679         (cutIntoMinibuffer): use builtin InsetList function instad of
9680         doing it manually.
9681         (getInset): ditto
9682
9683         * buffer.C: include boost/bind.hpp, add using std::for_each
9684         (writeFileAscii): use ParagraphList iterators
9685         (validate): use for_each for validate traversal of paragraphs
9686         (getBibkeyList): use ParagraphList iterators
9687         (resizeInsets): use for_each to resizeInsetsLyXText for all
9688         paragraphs.
9689         (getParFromID): use ParagraphList iterators
9690
9691         * BufferView2.C (lockInset): use paragraph list and iterators
9692
9693 2002-08-14  John Levon  <levon@movementarian.org>
9694
9695         * lyxserver.C: remove spurious xforms include
9696
9697 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9698
9699         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9700
9701 2002-08-13  André Pönitz <poenitz@gmx.net>
9702
9703         * LyXAction.[Ch]:
9704         * lyxfunc.C: further cleaning
9705
9706 2002-08-13  André Pönitz <poenitz@gmx.net>
9707
9708         * funcrequest.h: new constructor
9709
9710         * funcrequest.C: move stuff here from .h
9711
9712         * Makefile.am:
9713         * BufferView_pimpl.C:
9714         * LyXAction.C:
9715         * toc.C:
9716         * lyxfunc.C: subsequent changes
9717
9718         * lyxfunc.h: new view() member function
9719
9720         * lyxfunc.C: subsequent changes
9721
9722 2002-08-13  Angus Leeming  <leeming@lyx.org>
9723
9724         * BufferView2.C:
9725         * BufferView_pimpl.C:
9726         * buffer.C:
9727         * converter.C:
9728         * importer.C:
9729         * lyxfunc.C:
9730         * lyxvc.C:
9731         * toc.C:
9732         * vc-backend.C:
9733         changes due to the changed LyXView interface that now returns references
9734         to member variables not pointers.
9735
9736 2002-08-13  Angus Leeming  <leeming@lyx.org>
9737
9738         * WordLangTuple (word, lang_code): return references to strings,
9739         not strings.
9740
9741         * BufferView.h:
9742         * SpellBase.h:
9743         * lyxtext.h: forward-declare WordLangTuple.
9744
9745         * BufferView2.C:
9746         * ispell.C:
9747         * pspell.C:
9748         * text.C: #include "WordLangTuple.h".
9749
9750         * lyxtext.h:
9751         * text.C: (selectNextWordToSpellcheck): constify return type.
9752
9753 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9754
9755         * buffer.C:
9756         * buffer.h:
9757         * lyxtext.h:
9758         * paragraph.C:
9759         * paragraph_pimpl.h:
9760         * text.C:
9761         * text2.C:
9762         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9763         suggested by Angus.
9764         Made updateCounter always count from start of buffer, and removed
9765         second argument (par).
9766         Reverted floats number display to '#'. Perhaps I'll try again when the
9767         code base is sanitized a bit.
9768
9769 2002-08-12  Angus Leeming  <leeming@lyx.org>
9770
9771         * buffer.[Ch] (getLabelList): constify.
9772
9773 2002-08-07  André Pönitz <poenitz@gmx.net>
9774
9775         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9776
9777         * funcrequest.h: extension to keep mouse (x,y) position
9778
9779 2002-08-12  Juergen Vigna  <jug@sad.it>
9780
9781         * BufferView2.C (insertErrors): forbid undo when inserting error
9782         insets.
9783
9784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9785
9786 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9787
9788         * ParagraphList.[Ch]: new files
9789
9790         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9791
9792         * BufferView2.C (lockInset): ParagraphList changes
9793         * toc.C: ditto
9794         * text2.C: ditto
9795         * bufferlist.C: ditto
9796         * buffer.h: ditto
9797         * buffer.C: ditto
9798
9799 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9800
9801         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9802         unused class variable counter_,
9803
9804         * paragraph.[Ch] (getFirstCounter): delete unused function
9805
9806         * counters.C: include LAssert.h
9807         (reset): add a new function with no arg, change other version to
9808         not have def. arg and to not allow empty arg.
9809
9810         * text2.C (setCounter): remove empty arg from call to Counters::reset
9811
9812 2002-08-11  John Levon  <levon@movementarian.org>
9813
9814         * Makefile.am: add WordLangTuple.h
9815
9816 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9817
9818         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9819         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9820
9821         * insets/insettext.C: InsetList changes
9822
9823         * graphics/GraphicsSupport.C (operator()): InsetList changes
9824
9825         * toc.C (getTocList): InsetList changes
9826
9827         * paragraph_pimpl.[Ch]: InsetList changes
9828
9829         * paragraph.[Ch]: InsetList changes
9830
9831         * buffer.C (inset_iterator): InsetList changes
9832         (setParagraph): ditto
9833         * buffer.h (inset_iterator): ditto
9834         * iterators.C (operator++): ditto
9835         * iterators.h: ditto
9836
9837         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9838
9839         * InsetList.[Ch]: new files, most InsetList handling moved out of
9840         paragraph.C.
9841
9842         * BufferView2.C (removeAutoInsets): InsetList changes
9843         (lockInset): ditto
9844         (ChangeInsets): ditto
9845
9846 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9847
9848         * paragraph_pimpl.h (empty): new function
9849
9850         * paragraph.[Ch] (empty): new function
9851
9852         * other files: use the new Paragraph::empty function
9853
9854 2002-08-09  John Levon  <levon@movementarian.org>
9855
9856         * lyxtext.h: remove unused refresh_height
9857
9858 2002-08-09  John Levon  <levon@movementarian.org>
9859
9860         * Makefile.am:
9861         * sgml.h:
9862         * sgml.C:
9863         * buffer.C:
9864         * paragraph.h:
9865         * paragraph.C: move sgml char escaping out of paragraph
9866
9867         * paragraph.h:
9868         * paragraph.C: remove id setter
9869
9870         * buffer.C:
9871         * paragraph.C:
9872         * paragraph_pimpl.C: remove dead tex_code_break_column
9873
9874         * bufferview_funcs.C: small cleanup
9875
9876         * lyxfunc.C: remove dead proto
9877
9878         * lyxtext.h: make some stuff private. Remove some dead stuff.
9879
9880         * lyxgluelength.C: make as[LyX]String() readable
9881
9882 2002-08-08  John Levon  <levon@movementarian.org>
9883
9884         * LyXAction.h:
9885         * LyXAction.C:
9886         * MenuBackend.C:
9887         * ToolbarDefaults.C:
9888         * lyxfunc.C:
9889         * lyxrc.C:
9890         * toc.C: lyxaction cleanup
9891
9892 2002-08-08  John Levon  <levon@movementarian.org>
9893
9894         * BufferView2.C: small cleanup
9895
9896         * lyxfind.h:
9897         * lyxfind.C: move unnecessary header into the .C
9898
9899 2002-08-08  John Levon  <levon@movementarian.org>
9900
9901         * funcrequest.h: just tedious nonsense
9902
9903         * lyx_main.h:
9904         * lyx_main.C: cleanups
9905
9906         * buffer.C:
9907         * vspace.C: remove dead header lyx_main.h
9908
9909 2002-08-07  Angus Leeming  <leeming@lyx.org>
9910
9911         * Paragraph.[Ch]:
9912         * paragraph_pimpl.h:
9913         Forward declare class Counters in paragraph.h by moving the ctrs member
9914         variable into Paragraph::Pimpl.
9915         (counters): new method, returning a reference to pimpl_->ctrs.
9916
9917         * text2.C: ensuing changes.
9918
9919 2002-08-07  John Levon  <levon@movementarian.org>
9920
9921         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9922
9923         * BufferView_pimpl.C: announce X selection on double/triple
9924           click
9925
9926         * lyx_main.C: use correct bool in batch dispatch
9927
9928         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9929
9930 2002-08-07  André Pönitz <poenitz@gmx.net>
9931
9932         * funcrequest.h: new class to wrap a kb_action and its argument
9933
9934         * BufferView.[Ch]:
9935         * BufferView_pimpl[Ch]:
9936         * LaTeX.C:
9937         * LyXAction.[Ch]:
9938         * lyxfunc.[Ch]:
9939         * lyxrc.C: subsequent changes
9940
9941
9942 2002-08-07  John Levon  <levon@movementarian.org>
9943
9944         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9945           document options change.
9946
9947 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9948
9949         * counters.[Ch]
9950         * text2.C
9951         * paragraph.[Ch]
9952         * makefile.am: move counters functionality over from
9953         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9954
9955 2002-08-06  John Levon  <levon@movementarian.org>
9956
9957         * WordLangTuple.h: new file for word + language code tuple
9958
9959         * SpellBase.h:
9960         * pspell.h:
9961         * pspell.C:
9962         * ispell.h:
9963         * ispell.C:
9964         * lyxtext.h:
9965         * text.C:
9966         * text2.C:
9967         * BufferView.h:
9968         * BufferView2.C: use WordLangTuple
9969
9970         * layout.h:
9971         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9972
9973 2002-08-06  John Levon  <levon@movementarian.org>
9974
9975         * lyx_main.C: fix cmdline batch handling
9976
9977 2002-08-06  André Pönitz <poenitz@gmx.net>
9978
9979         * lyxrc.C: set default for show_banner to true
9980
9981 2002-08-06  John Levon  <levon@movementarian.org>
9982
9983         * pspell.C: fix a crash, and allow new aspell to work
9984
9985 2002-08-06  John Levon  <levon@movementarian.org>
9986
9987         * lyxfunc.C:
9988         * kbmap.C: small cleanup
9989
9990         * vspace.h:
9991         * vspace.C: add const
9992
9993 2002-08-05  John Levon  <levon@movementarian.org>
9994
9995         * LyXAction.C: back to tabular-insert
9996
9997 2002-08-04  John Levon  <levon@movementarian.org>
9998
9999         * BufferView.h:
10000         * BufferView.C: cosmetic change
10001
10002         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10003
10004         * bufferlist.C:
10005         * buffer.h:
10006         * buffer.C:
10007         * lyxcb.h:
10008         * lyxcb.C:
10009         * lyxserver.C:
10010         * lyxvc.C:
10011         * vc-backend.C:
10012         * BufferView2.C: purge all "Lyx" not "LyX" strings
10013
10014         * lyxcursor.h:
10015         * lyxcursor.C: attempt to add some documentation
10016
10017         * lyxfunc.C:
10018         * commandtags.h:
10019         * LyXAction.C:
10020         * ToolbarDefaults.C:
10021         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10022           merge with LFUN_TABULAR_INSERT
10023
10024         * Makefile.am:
10025         * SpellBase.h:
10026         * ispell.h:
10027         * ispell.C:
10028         * pspell.h:
10029         * pspell.C: split up i/pspell implementations into separate
10030           files, many cleanups
10031
10032         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10033
10034         * text2.C: some cleanup
10035
10036         * lyxfunc.C: don't check for isp_command == "none" any more, it
10037           didn't make any sense
10038
10039 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10040
10041         * counters.[Ch]
10042         * text2.C
10043         * paragraph.[Ch]
10044         * makefile.am: move counters functionality over
10045         from text2.C/paragraph.[Ch] to counters.[Ch], and
10046         make proper C++.
10047 2002-08-02  John Levon  <levon@movementarian.org>
10048
10049         * buffer.C: s/lyxconvert/lyx2lyx/
10050
10051 2002-08-02  Angus Leeming  <leeming@lyx.org>
10052
10053         * lyxlex.C: revert John's change as it breaks reading of the user
10054         preamble.
10055
10056 2002-08-02  Angus Leeming  <leeming@lyx.org>
10057
10058         * importer.C (Import):
10059         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10060         changes due to LyXView::view() now returning a boost::shared_ptr.
10061
10062 2002-08-02  John Levon  <levon@movementarian.org>
10063
10064         * lyxlex.C: small cleanup
10065
10066 2002-08-02  John Levon  <levon@movementarian.org>
10067
10068         * text2.C (status): small cleanup, no logic change
10069
10070 2002-08-01  John Levon  <levon@movementarian.org>
10071
10072         * buffer.h:
10073         * buffer.C (writeFile): don't output alerts, caller
10074           handles this
10075
10076         * bufferlist.C:
10077         * lyx_cb.C: from above
10078
10079         * lyxfunc.C: allow to open non-existent files
10080
10081 2002-07-31  John Levon  <levon@movementarian.org>
10082
10083         * lyxserver.C: don't let incidental errors get
10084           in the way (errno)
10085
10086 2002-07-30  John Levon  <levon@movementarian.org>
10087
10088         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10089
10090 2002-07-30  John Levon  <levon@movementarian.org>
10091
10092         * lyxserver.h:
10093         * lyxserver.C: remove I/O callback too
10094
10095 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10096
10097         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10098         log.
10099
10100 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10101
10102         * many files: strip,frontStrip -> trim,ltrim,rtrim
10103
10104 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10105
10106         * PrinterParams.h: remove extern containsOnly, and include
10107         support/lstrings.h instead.
10108
10109         * LaTeX.C (scanAuxFile): modify because of strip changes
10110         (deplog): ditto
10111         * buffer.C (makeLaTeXFile): ditto
10112         * bufferparams.C (writeFile): ditt
10113         * lyxfont.C (stateText): ditto
10114         * lyxserver.C (read_ready): ditto
10115         * vc-backend.C (scanMaster): ditto
10116
10117         * BufferView_pimpl.h: ws changes
10118
10119         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10120
10121 2002-07-26  André Pönitz <poenitz@gmx.net>
10122
10123         * kb_sequence.C: remove unnedred usings
10124
10125 2002-07-26  Juergen Vigna  <jug@sad.it>
10126
10127         * lyxfind.C (LyXReplace): we have to check better if the returned
10128         text is not of theLockingInset()->getLockingInset().
10129
10130 2002-07-25  Juergen Vigna  <jug@sad.it>
10131
10132         * lyxfind.C (LyXReplace): don't replace if we don't get the
10133         right LyXText.
10134
10135         * undo_funcs.C (createUndo): remove debugging code.
10136
10137 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10138
10139         * buffer.C (parseSingleLyXformat2Token): Use default placement
10140         when reading old floats.
10141
10142         * FloatList.C (FloatList): Change the default placement of figure
10143         and tables to "tbp".
10144
10145 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * MenuBackend.C: using std::max
10148
10149 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10150
10151         * MenuBackend.C (expandToc):
10152         (expandToc2): code moved from xforms menu frontend. It is now
10153         generic and TOCs are transparent to menu frontends.
10154
10155 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10156
10157         * toc.C (getTocList): protect against buf=0
10158
10159         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10160         Menu as first parameter. Now, this calls itself recursively to
10161         expand a whole tree (this will be useful for TOC handling)
10162         (expandFloatInsert): remove 'wide' version of floats
10163
10164         * MenuBackend.h (submenuname): returns the name of the submenu.
10165         (submenu): returns the submenu itself, provided it has been
10166         created by MenuBackend::expand
10167
10168 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10171         insets which have noFontChange == true. (bug #172)
10172
10173 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10174
10175         * BufferView_pimpl.C: add connection objects and use them...
10176         (Pimpl): here.
10177
10178 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * MenuBackend.C (expandLastfiles):
10181         (expandDocuments):
10182         (expandFormats):
10183         (expandFloatListInsert):
10184         (expandFloatInsert):
10185         (expand): split expand in parts
10186
10187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * lyx_gui.C: use lyx_gui::exit()
10190
10191 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * LyXAction.C: show the failing pseudo action
10194
10195 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10196
10197         * buffer.C (readFile): Run the lyxconvert script in order to read
10198         old files.
10199
10200 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * LyXAction.C:
10203         * commandtags.h:
10204         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10205
10206 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * LyXAction.C:
10209         * commandtags.h:
10210         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10211
10212 2002-07-22  Herbert Voss  <voss@lyx.org>
10213
10214         * lengthcommon.C:
10215         * lyxlength.[Ch]: add support for the vertical lengths
10216
10217 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * toc.[Ch]: std:: fixes
10220
10221 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * lyxrc.C: do not include lyx_main.h
10224
10225         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10226         for layouts
10227
10228         * lyxrc.C:
10229         * encoding.C:
10230         * bufferlist.C:
10231         * BufferView2.C: include "lyxlex.h"
10232
10233         * tabular.h:
10234         * bufferparams.h: do not #include "lyxlex.h"
10235
10236         * lyxtextclasslist.C (Add): remove method
10237         (classlist): renamed to classlist_
10238
10239         * paragraph_pimpl.C:
10240         * paragraph.C:
10241         * text2.C:
10242         * CutAndPaste.C:
10243         * bufferview_funcs.C:
10244         * bufferlist.C:
10245         * text.C:
10246         * LaTeXFeatures.C:
10247         * buffer.C:
10248         * toc.C (getTocList): use BufferParams::getLyXTextClass
10249
10250         * toc.C (getTocList): use InsetFloat::addToToc
10251
10252         * toc.[Ch]: new files, containing helper functions to handle table
10253         of contents
10254
10255         * lyxfunc.C (dispatch): no need to remove spaces around command
10256         given as a string
10257         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10258         first command of the sequence; it is not very clever, but I do not
10259         have a better idea, actually
10260
10261         * LyXAction.C (LookupFunc): make sure to remove space at the
10262         beginning and end of the command
10263
10264 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * MenuBackend.C (getMenubar): new method: return the menubar of
10267         this menu set
10268         (read): treat differently reading of menu and menubar (in
10269         particular, the menubar has no name now)
10270         (Menu::menubar): remove
10271
10272         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10273         saving is finished
10274
10275 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10278         a bibitem inset in a RTL paragraph.
10279
10280 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * paragraph_pimpl.C: constify
10283
10284         * BufferView_pimpl.C:
10285         * LaTeX.C:
10286         * lyxfunc.C: fix dispatch in a nicer way
10287
10288 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * lyxfunc.C (dispatch):
10291         * BufferView_pimpl.C:
10292         * BufferView_pimpl.h:
10293         * BufferView.C:
10294         * BufferView.h: rename Dispatch() to dispatch()
10295
10296         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10297
10298         * lyxlayout.C (Read): honor DependsOn tag
10299
10300         * lyxlayout.[Ch] (depends_on): new method
10301
10302         * version.C.in: update lyx_docversion
10303
10304         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10305
10306         * paragraph.C (validate): remove from here...
10307         * paragraph_pimpl.C (validate): ... and move here
10308         (isTextAt): make it const
10309
10310         * buffer.C (getLists): ws cleanup
10311
10312 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10313
10314         * language.C (read): Use iso8859-1 encoding in latex_lang
10315         (this prevents LyX from crashing when using iso10646-1 encoding).
10316
10317 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * text2.C (toggleInset): if cursor is inside an inset, close the
10320         inset and leave cursor _after_ it
10321
10322 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * lyxfunc.C: move minibuffer completion handling out of here
10325
10326 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * BufferView_pimpl.C:
10329         * LaTeX.C: fix dispatch calls
10330
10331 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * text.C (drawChars): Fix Arabic text rendering.
10334
10335 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10336
10337         * LyXAction.C:
10338         * commandtags.h:
10339         * lyxfunc.C: remove message-push/pop
10340
10341         * lyxserver.C:
10342         * lyxfunc.h:
10343         * lyxfunc.C: rationalise some code by removing verboseDispatch
10344           in favour of a bool argument to dispatch()
10345
10346 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * lyx_main.C (init): make sure to read symlinks as absolute paths
10349
10350 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * lyxfunc.h:
10353         * lyxfunc.C: no need for commandshortcut to be a member
10354
10355 2002-07-15  André Pönitz <poenitz@gmx.net>
10356
10357         * converter.C: add support for $$s (scripts from lib/scripts dir)
10358         * lyx_main.C: white space
10359
10360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * bufferlist.C:
10363         * lyxrc.h:
10364         * lyxrc.C: remove second exit confirmation
10365
10366 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * BufferView.h:
10369         * BufferView.C:
10370         * BufferView2.C:
10371         * BufferView_pimpl.h:
10372         * BufferView_pimpl.C:
10373         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10374
10375 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * MenuBackend.C (expand): add numeric shortcuts to document menu
10378
10379         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10380
10381 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10382
10383         * lyxfont.C (setLyXFamily):
10384         (setLyXSeries):
10385         (setLyXShape):
10386         (setLyXSize):
10387         (setLyXMisc):
10388         (lyxRead):
10389         * debug.C (value):
10390         * buffer.C (asciiParagraph): use ascii_lowercase
10391
10392 2002-07-15  Mike Fabian  <mfabian@suse.de>
10393
10394         * lyxlex_pimpl.C (search_kw):
10395         * lyxlex.C (getLongString):
10396         * converter.h (operator<):
10397         * converter.C (operator<):
10398         * buffer.C (parseSingleLyXformat2Token):
10399         (asciiParagraph):
10400         * ToolbarDefaults.C (read):
10401         * MenuBackend.C (checkShortcuts):
10402         (read):
10403         * LColor.C (getFromGUIName):
10404         (getFromLyXName): use the compare_ascii_no_case instead of
10405         compare_no_case, because in turkish, 'i' is not the lowercase
10406         version of 'I', and thus turkish locale breaks parsing of tags.
10407
10408 2002-07-16  Angus Leeming  <leeming@lyx.org>
10409
10410         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10411         now takes a Buffer const & argument.
10412
10413 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * BufferView.C (resize): check there's a buffer to resize
10416
10417 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * lyxfunc.C: remove dead code
10420
10421         * lyxserver.h:
10422         * lyxserver.C: use lyx_guii::set_read_callback
10423
10424 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10425
10426         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10427         an inset in a RTL paragraph.
10428
10429 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * lyxfunc.C: repaint after a font size update
10432
10433 2002-07-15  André Pönitz <poenitz@gmx.net>
10434
10435         * lyxlength.C: inBP should be able to return negative values
10436
10437 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * lyxfunc.C: use lyx_gui::update_fonts()
10440
10441 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * lyxfunc.C: use lyx_gui::update_color()
10444
10445 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * bufferlist.C:
10448         * lyxfunc.h:
10449         * lyxfunc.C:
10450         * lyxrc.h:
10451         * lyxrc.C: remove file->new asks for name option, and let
10452           buffer-new take an argument
10453
10454 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.C: remove unneeded extra repaint()
10457
10458 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * LyXAction.C: allow command-sequence with NoBuffer
10461
10462         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10463
10464 2002-07-10  Angus Leeming  <leeming@lyx.org>
10465
10466         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10467
10468 2002-07-09  Angus Leeming  <leeming@lyx.org>
10469
10470         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10471
10472 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * lengthcommon.h: whitespace
10475
10476         * lyxfunc.C: update scrollbar after goto paragraph
10477
10478         * lyxtext.h: factor out page break drawing, and fix it so
10479           page break/added space paints as selected nicely
10480
10481 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * BufferView_pimpl.C: add FIXMEs, clean up a little
10484
10485 2002-07-09  André Pönitz <poenitz@gmx.net>
10486
10487         * lyxfont.[Ch]: support for wasy symbols
10488
10489 2002-07-08  André Pönitz <poenitz@gmx.net>
10490
10491         * BufferView_pimpl.C: apply John's patch for #93.
10492
10493 2002-07-05  Angus Leeming  <leeming@lyx.org>
10494
10495         * BufferView_pimpl.C (buffer): generate previews if desired.
10496
10497         * LColor.h: add "preview" to the color enum.
10498
10499         * LColor.C (LColor): add a corresponding entry to the items array.
10500
10501         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10502         with this buffer.
10503
10504 2002-07-05  Angus Leeming  <leeming@lyx.org>
10505
10506         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10507         The body of the code is now in the method that is passed an ostream &
10508         rather than a file name.
10509         Pass an additional only_preamble parameter, useful for the forthcoming
10510         preview stuff.
10511
10512 2002-07-03  André Pönitz <poenitz@gmx.net>
10513
10514         * lyxfunc.C: simplify getStatus() a bit for math stuff
10515
10516 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10519
10520 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10521
10522         * text.C (changeRegionCase): do not change case of all the
10523         document when region ends at paragraph end (bug #461)
10524
10525 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * paragraph.C (startTeXParParams):
10528         (endTeXParParams): add \protect when necessary
10529
10530 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10531
10532         * BufferView_pimpl.C (workAreaExpose): remove warning
10533
10534 2002-06-27  Angus Leeming  <leeming@lyx.org>
10535
10536         * Makefile.am: add lyxlayout_ptr_fwd.h.
10537
10538 2002-06-26  André Pönitz <poenitz@gmx.net>
10539
10540         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10541
10542 2002-06-25  Angus Leeming  <leeming@lyx.org>
10543
10544         * lyxfunc.C (dispatch): Comment out the call to
10545         grfx::GCache::changeDisplay. The method no longer exists now that the
10546         pixmap generation part of the graphics loader has been moved into
10547         InsetGraphics.
10548
10549 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10550
10551         * text2.C: layout as layout
10552
10553         * text.C: layout as layout
10554
10555         * tabular.C (OldFormatRead): layout as layout
10556
10557         * paragraph_pimpl.C (TeXDeeper): layout as layout
10558         (realizeFont): layout as layout
10559
10560         * paragraph.C (writeFile): layout as layout
10561         (validate): layout as layout
10562         (getFont): layout as layout
10563         (getLabelFont): layout as layout
10564         (getLayoutFont): layout as layout
10565         (breakParagraph): layout as layout
10566         (stripLeadingSpaces): layout as layout
10567         (getEndLabel): layout as layout
10568         (getMaxDepthAfter): layout as layout
10569         (applyLayout): layout as layout
10570         (TeXOnePar): layout as layout
10571         (simpleTeXOnePar): layout as layout
10572         (TeXEnvironment): layout as layout
10573         (layout): layout as layout
10574         (layout): layout as layout
10575
10576         * lyxtextclass.C (compare_name): new functor to work with
10577         shared_ptr, layout as layout
10578         (Read): layout as layout
10579         (hasLayout): layout as layout
10580         (operator): layout as layout
10581         (delete_layout): layout as layout
10582         (defaultLayout): layout as layout
10583
10584         * lyxlayout_ptr_fwd.h: new file
10585
10586         * lyxlayout.C (Read): layout as layout
10587
10588         * lyx_cb.C (MenuInsertLabel): layout as layout
10589
10590         * bufferlist.C (newFile): layout as layout
10591
10592         * buffer.C (readLyXformat2): layout as layout
10593         (parseSingleLyXformat2Token): layout as layout
10594         (insertStringAsLines): layout as layout
10595         (asciiParagraph): layout as layout
10596         (latexParagraphs): layout as layout
10597         (makeLinuxDocFile): layout as layout
10598         (simpleLinuxDocOnePar): layout as layout
10599         (makeDocBookFile): layout as layout
10600         (simpleDocBookOnePar): layout as layout
10601         (getLists): layout as layout
10602
10603         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10604
10605         * CutAndPaste.C (cutSelection): layout as layout
10606         (pasteSelection): layout as layout
10607         (SwitchLayoutsBetweenClasses): layout as layout
10608
10609         * BufferView_pimpl.C (Dispatch): layout as layout
10610         (smartQuote): layout as layout
10611
10612         * BufferView2.C (unlockInset): layout as layout
10613
10614 2002-06-24  André Pönitz <poenitz@gmx.net>
10615
10616         * lyxfunc.C: fix #487
10617
10618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * lyxrc.h:
10621         * lyxrc.C:
10622         * lyxfunc.C: remove display_shortcuts, show_banner
10623
10624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * Buffer_pimpl.C: oops, update on resize
10627
10628 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * buffer.C:
10631         * converter.C:
10632         * exporter.C:
10633         * lyxfunc.C:
10634         * BufferView.h:
10635         * BufferView.C: use repaint()
10636
10637         * BufferView_pimpl.h:
10638         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10639           as it's a clearer description. Remove superfluous
10640           redraws.
10641
10642 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * text.C: fix bug 488. Not ideal, but getting
10645           getWord() to work properly for the insets that
10646           matter is more difficult ...
10647
10648 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * BufferView_pimpl.C:
10651         * LyXAction.C:
10652         * commandtags.h:
10653         * lyxfunc.C: remove the six million index lyxfuncs to just
10654           one, and DTRT (bug 458)
10655
10656 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * BufferView.h:
10659         * BufferView.C:
10660         * BufferView_pimpl.h:
10661         * BufferView_pimpl.C: clean up resize() stuff,
10662           and unnecessary updateScreen()s
10663
10664 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10665
10666         * BufferView.h:
10667         * BufferView.C:
10668         * BufferView_pimpl.h:
10669         * BufferView_pimpl.C:
10670         * lyxfind.h:
10671         * lyxfind.C:
10672         * minibuffer.C: remove focus management of workarea,
10673           not needed. Use screen's greyOut()
10674
10675 2002-06-17  Herbert Voss  <voss@lyx.org>
10676
10677         * converter.C: (convert) do not post a message, when converting
10678         fails, let the calling function decide what to do in this case
10679
10680 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * lyxfunc.C: tidy up a little
10683
10684 2002-06-16    <alstrup@diku.dk>
10685
10686         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10687         Got rid of FORMS_H_LOCATION include. Now we are
10688         GUII.
10689
10690 2002-06-15  LyX Development team  <lyx@rilke>
10691
10692         * buffer.[Ch] (sgmlOpenTag):
10693         (sgmlCloseTag): Added support for avoiding pernicious mixed
10694         content. Return number of lines written.
10695
10696         (makeLinuxDocFile):
10697         (makeDocBookFile): Fixed calls to sgml*Tag.
10698         Simple white space clean.
10699
10700         (simpleDocBookOnePar): Simple white space clean.
10701
10702         * tabular.[Ch] (docBook): Renamed to docbook and got another
10703         argument to related with the pernicious mixed content.
10704
10705         (docbookRow): Fixed calls for docbook inset method.
10706
10707 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10708
10709         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10710         so it's X11 independent.
10711
10712         * kb*.[Ch]: ditto.
10713
10714         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10715
10716 2002-06-15  Lyx Development team  <lyx@electronia>
10717
10718         * intl.h: Renamed getTrans to getTransManager.
10719
10720 2002-06-14  Angus Leeming  <leeming@lyx.org>
10721
10722         * Makefile.am: nuke forgotten stl_string_fwd.h.
10723
10724 2002-06-12  Angus Leeming  <leeming@lyx.org>
10725
10726         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10727
10728 2002-06-13  Angus Leeming  <leeming@lyx.org>
10729
10730         * LaTeX.C:
10731         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10732
10733 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10734
10735         * kbmap.C (getiso): add support for cyrillic and greek
10736
10737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * BufferView.h:
10740         * BufferView.C:
10741         * BufferView_pimpl.h:
10742         * BufferView_pimpl.C: move bogus scrolling logic
10743           to xforms
10744
10745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * lyxfunc.C:
10748         * BufferView_pimpl.C: view->resize() change
10749
10750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * BufferView_pimpl.C: topCursorVisible
10753           prototype change
10754
10755 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * Makefile.am:
10758         * lyx_gui.h:
10759         * lyx_gui.C: move to frontends/
10760
10761         * main.C:
10762         * lyx_main.h:
10763         * lyx_main.C: changes from above
10764
10765 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * intl.C:
10768         * intl.h:
10769         * kbmap.C:
10770         * kbsequence.C:
10771         * lyx_cb.C:
10772         * lyx_main.C: minor tidy
10773
10774 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * BufferView_pimpl.h:
10777         * BufferView_pimpl.C:
10778         * BufferView.h:
10779         * BufferView.C: make painter() const,
10780           remove dead code
10781
10782         * BufferView2.C: use screen() accessor
10783
10784         * lyx_main.h:
10785         * lyx_main.C: some minor cleanup
10786
10787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * BufferView_pimpl.h:
10790         * BufferView_pimpl.C: remove enter/leaveView,
10791           use workHeight()
10792
10793 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * BufferView.h:
10796         * BufferView.C:
10797         * BufferView2.C:
10798         * BufferView_pimpl.h:
10799         * BufferView_pimpl.C: only construct screen once,
10800           rename
10801
10802         * lyxrc.C: remove pointless comment
10803
10804 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * BufferView.h:
10807         * BufferView.C: remove active() and belowMouse()
10808
10809         * BufferView_pimpl.h:
10810         * BufferView_pimpl.C: use workarea() not workarea_,
10811           and make it use a scoped_ptr instead
10812
10813 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * lyx_gui.C: add debug message on BadWindow
10816
10817 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * sp_spell.C: fdopen is not part of the C++ standard.
10820
10821         * paragraph.C (InsetIterator): use >= instead of ==
10822
10823 2002-06-07  Angus Leeming  <leeming@lyx.org>
10824
10825         Fixes needed to compile with Compaq cxx 6.5.
10826         * BufferView_pimpl.C:
10827         * DepTable.C:
10828         * buffer.C:
10829         * converter.C:
10830         * encoding.C:
10831         * lyx_gui.C:
10832         * lyx_main.C:
10833         * lyxtextclasslist.C:
10834         * minibuffer.C:
10835         * sp_spell.C:
10836         * tabular_funcs.C:
10837         * vc-backend.C:
10838         all c-library variables have been moved into namespace std. Wrap
10839         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10840
10841         * lyxlength.C:
10842         * tabular-old.C:
10843         * tabular.C:
10844         Add a using std::abs declaration.
10845
10846         * kbmap.h (modifier_pair):
10847         * paragraph.h (InsetTable, InsetList):
10848         * lyxfont.h (FontBits):
10849         type definition made public.
10850
10851         * bufferlist.C (emergencyWriteAll): the compiler complains that
10852         there is more than one possible lyx::class_fun template to choose from.
10853         I re-named the void specialisation as lyx::void_class_fun.
10854
10855         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10856
10857         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10858         the compiler is is unable to find tostr in write_attribute.
10859
10860 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * buffer.C (sgmlError): hide #warning
10863
10864 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * xtl/*: get rid of xtl, which is not in use anyway
10867
10868         * LyXAction.C (init):
10869         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10870         were unimplemented xtl experimentation
10871
10872 2002-06-04  André Pönitz <poenitz@gmx.net>
10873
10874         * lyxfunc.C: disable array operation on simple formulae
10875
10876 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * converter.C: constify a bit
10879
10880 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10881
10882         * lyx_gui.C: check xforms version correctly
10883
10884 2002-04-30  Herbert Voss  <voss@lyx.org>
10885
10886         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10887         "keep" option
10888
10889 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10890
10891         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10892           attempt to register it with a VCS)
10893
10894 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * lyx_main.C (init): honor variables LYX_DIR_13x and
10897         LYX_USERDIR_13x
10898
10899 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10900
10901         * buffer.h:
10902         * buffer.C:
10903         * lyx_main.C: fix a crash on bad command line,
10904           and give a useful exit status on error
10905
10906         * lyxfunc.C (doImport): allow -i lyx to work
10907
10908 2002-03-30  André Pönitz <poenitz@gmx.net>
10909
10910         * lyxfunc.C: mathed font changes
10911
10912 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * LaTeX.C:
10915         * importer.h:
10916         * importer.C:
10917         * lyx_sty.h:
10918         * lyx_sty.C:
10919         * lyxlex.C:
10920         * lyxrow.h:
10921         * lyxtext.h:
10922         * paragraph.h:
10923         * paragraph.C:
10924         * texrow.h:
10925         * texrow.C:
10926         * text.C:
10927         * trans_mgr.h: srcdocs, and some minor cleanups
10928
10929 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10932         call getFont all the time)
10933
10934 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * switch from SigC signals to boost::signals
10937
10938 2002-05-29  André Pönitz <poenitz@gmx.net>
10939
10940         * paragraph_pimpl.C (getChar): don't call size() too often...
10941
10942 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * paragraph_pimpl.C (insertChar): do not try to update tables when
10945         appending (pos == size())
10946
10947         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10948         in order to reduce drastically the number of comparisons needed to
10949         parse a large document
10950
10951 2002-05-29  André Pönitz <poenitz@gmx.net>
10952
10953         * text.C:
10954         * text2.C:
10955         * lyxtextclass.C:
10956         * sp_pspell.h:
10957         * textclasslist.[Ch]:
10958         * sp_ispell.h: whitespace change
10959
10960 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10963         lyxaction directly now.
10964
10965 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * trans.C:
10968         * lyxfont.C:
10969         * lyxvc.C: remove unused headers
10970
10971 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * Makefile.am:
10974         * buffer.h:
10975         * undostack.h:
10976         * undostack.C:
10977         * undo_funcs.h:
10978         * undo_funcs.C: some cleanups. Use shared_ptr
10979           and a template for the undo stacks.
10980
10981 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * BufferView_pimpl.h:
10984         * BufferView_pimpl.C:
10985         * kbmap.h:
10986         * kbmap.C:
10987         * kbsequence.h:
10988         * kbsequence.C:
10989         * lyxfunc.h:
10990         * lyxfunc.C:
10991         * text2.C: use key_state/mouse_state
10992
10993 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10996         and LSubstring
10997
10998         * chset.C: change include order
10999         (loadFile): use boost regex and get rid of LRegex and LSubstring
11000
11001         * Makefile.am (BOOST_LIBS): new variable
11002         (lyx_LDADD): use it
11003
11004         * LaTeX.C: change include order.
11005         (scanAuxFile): use boost regex and get rid of LRegex and
11006         LSubstring
11007         (deplog): ditto
11008
11009 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * ColorHandler.h:
11012         * ColorHandler.C:
11013         * FontInfo.h:
11014         * FontInfo.C: moved to frontends/xforms/
11015
11016         * FontLoader.h:
11017         * FontLoader.C: moved into frontends for GUIIzation
11018
11019         * Makefile.am:
11020         * lyx_gui.C:
11021         * lyxfont.C:
11022         * lyxfunc.C: changes from above
11023
11024 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * LColor.C: remove spurious X include
11027
11028         * BufferView_pimpl.C:
11029         * Makefile.am:
11030         * font.h:
11031         * font.C:
11032         * text.C:
11033         * text2.C: move font metrics to frontends/
11034
11035 2002-05-24  Juergen Vigna  <jug@sad.it>
11036
11037         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11038         setting the undo_cursor.
11039
11040         * ParagraphParameters.h: include local includes first.
11041
11042 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * BufferView_pimpl.C:
11045         * BufferView_pimpl.h:
11046         * Makefile.am:
11047         * WorkArea.h:
11048         * WorkArea.C:
11049         * screen.C: move WorkArea into frontends/
11050
11051         * lyxscreen.h:
11052         * screen.C:
11053         * text.C:
11054         * BufferView.C:
11055         * BufferView2.C: move LyXScreen into frontends/
11056
11057         * lyxlookup.h:
11058         * lyxlookup.C:
11059         * lyx_gui.C: move lyxlookup into frontends/xforms/
11060
11061 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * BufferView2.C:
11064         * BufferView_pimpl.C:
11065         * FontLoader.C:
11066         * LyXView.h:
11067         * LyXView.C:
11068         * Makefile.am:
11069         * WorkArea.C:
11070         * XFormsView.h:
11071         * XFormsView.C:
11072         * buffer.C:
11073         * bufferlist.C:
11074         * bufferview_funcs.C:
11075         * converter.C:
11076         * importer.C:
11077         * lyx_cb.C:
11078         * lyx_gui.C:
11079         * lyx_main.C:
11080         * lyx_find.C:
11081         * lyxfunc.C:
11082         * lyxvc.C:
11083         * minibuffer.C:
11084         * text.C:
11085         * text2.C:
11086         * trans.C:
11087         * vc-backend.C: move LyX/XFormsView into frontends/
11088
11089 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * Makefile.am:
11092         * PainterBase.C:
11093         * PainterBase.h:
11094         * Painter.C:
11095         * Painter.h:
11096         * WorkArea.C:
11097         * WorkArea.h:
11098         * screen.C:
11099         * tabular.C:
11100         * text.C:
11101         * text2.C: move Painter to frontends/
11102
11103 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * buffer.C: comment out some some code that depend upon lyx_format
11106         < 220
11107
11108         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11109         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11110
11111         * buffer.h (NO_COMPABILITY): turn off compability
11112
11113         * ColorHandler.C: include scoped_array.hpp
11114
11115         * font.C: Use more specific smart_ptr header.
11116         * Painter.C: ditto
11117         * gettext.C: ditto
11118         * ShareContainer.h: ditto
11119         * lyx_main.h: ditto
11120         * kbmap.h: ditto
11121         * FontInfo.h: ditto
11122         * BufferView_pimpl.h: ditto
11123         * ColorHandler.h: ditto
11124
11125         * kbmap.C (defkey): change call to shared_ptr::reset
11126
11127 2002-05-21  Juergen Vigna  <jug@sad.it>
11128
11129         * buffer.C (insertErtContents): fix to insert ert asis if it is
11130         non empty. Skip it completely if it contains only whitespaces.
11131
11132 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * BufferView_pimpl.C:
11135         * BufferView2.C: clear selection on paste (bug 393)
11136
11137 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * DepTable.C: include ctime
11140
11141 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11144
11145 2002-05-14  Juergen Vigna  <jug@sad.it>
11146
11147         * text.C (breakParagraph): fixed function to honor the keepempty
11148         layout in the right maner and also to permit the right breaking
11149         algorithm on empty or non empyt keepempty paragraphs.
11150
11151         * paragraph.C (breakParagraph): we have to check also if the par
11152         is really empty (!size()) for isempty otherwise we do the wrong
11153         paragraph break.
11154
11155 2002-05-10  Juergen Vigna  <jug@sad.it>
11156
11157         * buffer.[Ch] : The following are only changes to the ert
11158         compatibility read reading old LaTeX layout and font stuff and
11159         convert it to ERTInsets.
11160
11161         * buffer.h: added isErtInset().
11162
11163         * buffer.C (struct ErtComp): add a fromlayout bool to check
11164         if we're inside a LaTeX layout.
11165         (isErtInset): new helper function.
11166         (insertErtContents): look for other ert insets before this one
11167         and insert the contents there, so that we don't have subsequent
11168         ERT insets with nothing between them. This way we create only one
11169         inset with multiple paragraphs. Also check if we don't insert only
11170         spaces ' ' as they are ignored anyway afterwards in the .tex file
11171         so if we have only spaces we will ignore this latex part in the
11172         new file.
11173         (parseSingleLyXformat2Token \\layout): better compatibility when
11174         reading layout-latex stuff.
11175         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11176         language tag.
11177         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11178         stuff after reading the inset only get the information back from
11179         the stack.
11180
11181 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11182
11183         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11184
11185         * LaTeXFeatures.C (getBabelOptions): New method.
11186
11187 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * BufferView_pimpl.C (Dispatch): work around missing argument for
11190         'layout'
11191
11192 2002-05-08  Juergen Vigna  <jug@sad.it>
11193
11194         * text.C (leftMargin): handle paragraph leftindent.
11195
11196         * paragraph.C (writeFile): write the new \\leftindent tag.
11197         (validate): handle leftindent code.
11198         (TeXEnvironment): handle paragraphleftindent code again.
11199
11200         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11201
11202         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11203         for paragrap_extra indent code and new token \\leftindent.
11204         (latexParagraphs): handle the leftindent as environment.
11205
11206         * ParameterStruct.h: added leftindent support.
11207
11208         * ParagraphParameters.C (leftIndent): added support functions for
11209         the paragraph left indent.
11210
11211         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11212         more appropriate.
11213
11214 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11215
11216         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11217         inside insetERT.
11218
11219         * text.C (computeBidiTables): No bidi in insetERT.
11220
11221         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11222         in RTL documents.
11223
11224 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * version.C.in: pre 5
11227
11228 2002-05-02  José Matos  <jamatos@fep.up.pt>
11229         * buffer.C (makeDocBookFile): white space changes, add newline to
11230         command styles.
11231         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11232
11233         * tabular.C (docBook): fix typo.
11234
11235 2002-05-03  Juergen Vigna  <jug@sad.it>
11236
11237         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11238         change in LyXText as we can not be sure it was not freed.
11239         (drawOneRow): remove unused code.
11240
11241         * text.C (drawInset): redo the calculation of the need_break_row as
11242         it could have a row which was already freed.
11243         (draw): look at the return value of drawInset and return false if
11244         it also returned false.
11245         (paintRowText): look at the return value of draw and return false if
11246         it also returned false.
11247
11248         * lyxtext.h: added bool return type to drawInset() and draw() so that
11249         if we have a change in the row so that the rowbreak has to be redone
11250         we abort drawing as it will be called again.
11251
11252 2002-05-02  Juergen Vigna  <jug@sad.it>
11253
11254         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11255         a change in the maintext also if we're inside an inset.
11256         (Dispatch): set the cursor again after a break line and after the
11257         screen has been updated as it could be we're in a different row.
11258
11259         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11260         to set the cursor behind the pargraph with > size().
11261         (setCursor): check also for the same paragraph when checking where
11262         to put the cursor if we have a NFR inset.
11263
11264         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11265         parts of layout read further up as it still was in the wrong
11266         position.
11267
11268 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * screen.C (drawFromTo): change sine fullRebreak always return
11271         true.
11272
11273         * buffer.C (parseSingleLyXformat2Token): reindent some
11274
11275         * BufferView_pimpl.C (update): change since fullRebreak always
11276         return true.
11277         (Dispatch): git rid of the last hardcoded "Standard"s.
11278
11279 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * text2.[Ch] (fullRebreak): make it return void now that we always
11282         returned true.
11283
11284 2002-04-30  Juergen Vigna  <jug@sad.it>
11285
11286         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11287         ert compatibility check for "latex" layout.
11288
11289 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11290
11291         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11292         minipages: use col% instead of p%, and also use the current font.
11293         (makeLaTeXFile): Fix use babel condition.
11294         (parseSingleLyXformat2Token): Correct font when reading old floats.
11295
11296 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11297
11298         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11299         inserting list of floats.
11300
11301 2002-04-25  Herbert Voss  <voss@lyx.org>
11302
11303         * MenuBackend.C (expand): don't add the graphics extensions to the
11304         export menu
11305
11306 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11307
11308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11309         non-existing layout, do not complain if it was the default layout
11310         of the original class (bug #342)
11311
11312 2002-04-24  Juergen Vigna  <jug@sad.it>
11313
11314         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11315         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11316
11317 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11318
11319         * buffer.C (getBibkeyList): If using \bibliography, return the
11320         option field with the reference itself. Enables us to provide natbib
11321         support when using \bibliography.
11322
11323 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11324
11325         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11326
11327         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11328         natbib is provided by the LaTeX class.
11329
11330 2002-04-23  Juergen Vigna  <jug@sad.it>
11331
11332         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11333         Wakeup functions.
11334
11335         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11336
11337 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11340
11341         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11342         ensuremath around textordmasculine, textordfeminine and
11343         textdegree.
11344
11345 2002-04-19  Juergen Vigna  <jug@sad.it>
11346
11347         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11348         reinitializing the buffer otherwise row-dimensions may be wrong.
11349         (update): reset also the selection cursors if they do exits otherwise
11350         their x/y positions may be wrong.
11351
11352         * text2.C (cursorDown): don't enter the inset if we came from a row
11353         above and are one row over the inset.
11354
11355         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11356         really leaving an inset.
11357
11358 2002-04-18  Juergen Vigna  <jug@sad.it>
11359
11360         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11361         of the selected paragraph does not have the selected layout also if
11362         the last one had!
11363
11364         * text2.C (setLayout): fixed bug which did not change last selected
11365         paragraph.
11366
11367         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11368         changed the read and substituted \\end_float with \\end_inset!
11369
11370         * BufferView_pimpl.C (cursorPrevious):
11371         (cursorNext): fixed to make it work with rows heigher than the work
11372         area without moving the cursor only the draw of the row.
11373         (workAreaMotionNotify): fix jumping over high rows.
11374
11375 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11378         Ressler.
11379
11380 2002-04-16  Juergen Vigna  <jug@sad.it>
11381
11382         * text2.C (setCursor): set also the irow().
11383         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11384         (cursorUp):
11385         (cursorDown): support for locking an inset if the x_fix value goes
11386         inside it. That way I can transverse insets too with cursor up/down.
11387
11388         * lyxrow.h: added irow helper function same as other (i) functions.
11389
11390         * BufferView_pimpl.C (cursorPrevious):
11391         (cursorNext): fixed for insets!
11392
11393 2002-04-15  Juergen Vigna  <jug@sad.it>
11394
11395         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11396         position otherwise it is wrong in some cases.
11397
11398         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11399         inside the inset before the call.
11400
11401 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11402
11403         * buffer.[Ch] (getBibkeyList): make it const.
11404
11405 2002-04-12  Juergen Vigna  <jug@sad.it>
11406
11407         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11408
11409         * text2.C (getCursorX): new helper function
11410         (setCursor): compute also ix_
11411         (setCursorFromCoordinates): set also ix.
11412
11413         * lyxcursor.h: added ix_ and helper functions.
11414
11415         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11416
11417         * buffer.C (insertStringAsLines): dont break paragraph if the this
11418         paragraph is inside an inset which does not permit it!
11419
11420         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11421         also with no chars on this paragraph.
11422         (paintRowText): only paint stuff if it's inside the workarea!
11423
11424         * paragraph.C (breakParagraph): honor keepempty flag and break the
11425         paragraph always below not above.
11426
11427         * BufferView2.C (unlockInset): update the paragraph layout on inset
11428         unlock as we changed paragraph in such a case.
11429
11430         * lyxfind.C (LyXFind): clear the former selection if not found!
11431
11432         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11433         again called in insertChar().
11434
11435         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11436         an inset which uses the whole row!
11437         (rightMargin): ditto.
11438         (insertChar): force a rebreak if we inserted an inset!
11439
11440 2002-03-28  Herbert Voss  <voss@lyx.org>
11441
11442         * lyxlength.[Ch]: add inBP() to get the right PS-point
11443         units (BigPoint). With inPixels we have rounding errors
11444
11445 2002-04-11  Juergen Vigna  <jug@sad.it>
11446
11447         * text2.C (setCursorFromCoordinates): set iy to the right value.
11448         (setCursor): add check if row->previous exists!
11449
11450         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11451         an old float_type as this was the case in the old code!
11452
11453         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11454
11455         * BufferView2.C (showLockedInsetCursor): use iy
11456         (fitLockedInsetCursor): ditto
11457
11458         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11459         locked insets as there we have the right value now.
11460
11461         * lyxcursor.C: added iy_ variable and iy functions to set to the
11462         baseline of cursor-y of the locked inset.
11463
11464         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11465         (setCursor): fixed for insets which need a full row.
11466
11467         * text.C (rowLastPrintable): don't ignore the last space when before
11468         an inset which needs a full row.
11469         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11470         as last character of a row when before a inset which needs a full row.
11471
11472 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * version.C.in: update date
11475
11476         * text2.C (fullRebreak): try to always return true and see what
11477         happens...
11478
11479 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * MenuBackend.C (expand): use Floating::listName
11482
11483         * FloatList.C (FloatList): add listName argument to the built-in
11484         floats
11485
11486         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11487         text associated with the float.
11488
11489 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11492
11493 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * ShareContainer.h: add a couple of missing typenames.
11496
11497 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11498
11499         * lyxrc.C (getDescription): use _() correctly rather than N_().
11500
11501 2002-03-28  Herbert Voss  <voss@lyx.org>
11502
11503         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11504         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11505
11506 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11507
11508         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11509         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11510
11511 2002-03-29  Juergen Vigna  <jug@sad.it>
11512
11513         * lyxfunc.C (dispatch): add a missing fitCursor call.
11514
11515         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11516         it was scrolled by a cursor move, so return the bool status.
11517
11518         * BufferView.C (fitCursor): return the bool flag also to the outside
11519         world as this is needed.
11520
11521         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11522
11523         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11524         call the edit() as it is not needed (and wrong) IMO.
11525         (workAreaButtonPress): set the screen_first variable before evt.
11526         unlock the inset as this may change screen_first and then we have
11527         a wrong y position for the click!
11528
11529 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11530
11531         * MenuBackend.C (expand): another translation that I missed
11532
11533 2002-03-28  Juergen Vigna  <jug@sad.it>
11534
11535         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11536
11537         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11538
11539 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11542
11543         * MenuBackend.C (expand): fix export/view/update when there is no
11544         document open.
11545
11546 2002-03-27  Herbert Voss  <voss@lyx.org>
11547
11548         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11549         and text%
11550
11551 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11552
11553         * bufferview_funcs.C (currentState): only show paragraph number
11554         for is DEVEL_VERSION is set.
11555
11556         * lyxfunc.C (dispatch): put warning in INFO channel
11557
11558         * MenuBackend.C (expand): translate the name of floats
11559
11560         * FloatList.C (FloatList): mark the float names for translation
11561
11562         * converter.C (convert): use LibScriptSearch
11563
11564 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * MenuBackend.C (defaults): fix default menu (we might as well get
11567         rid of it...)
11568
11569 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11572         directory.
11573
11574 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * lyxvc.C: reorder includes.
11577
11578 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11581           properly
11582
11583 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * CutAndPaste.C: change layouts earlier on paste
11586           to avoid crashing when calling getFont()
11587
11588 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11589
11590         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11591         irritating #error.
11592
11593 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * WorkArea.C: remove 'Pending' debug message.
11596
11597         * most files: ws cleanup
11598
11599         * buffer.[Ch]: ws changes
11600
11601         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11602
11603 2002-03-21  Juergen Vigna  <jug@sad.it>
11604
11605         * tabular.C (SetMultiColumn): collapse also the contents of the
11606         cells and set the last border right. Added a Buffer const * param.
11607
11608 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11611         linking or not.
11612
11613 2002-03-19  Juergen Vigna  <jug@sad.it>
11614
11615         * text2.C (clearSelection): reset also xsel_cache.
11616
11617         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11618         where it needs to be called (John tells us to do so too :)
11619         (selectionLost): reset sel_cache.
11620
11621         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11622
11623 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * text2.C (setCursorIntern): put debuging code in INSETS channel
11626
11627 2002-03-19  André Pönitz <poenitz@gmx.net>
11628
11629         * lyxfunc.C: tiny whitespace change
11630
11631 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * ToolbarDefaults.C (init):
11634         * LyXAction.C (init):
11635         * commandtags.h:
11636         * BufferView_pimpl.C (Dispatch):
11637         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11638
11639 2002-03-19  Allan Rae  <rae@lyx.org>
11640
11641         * exporter.C (Export): removeAutoInsets before doing anything else.
11642         While I've just introduced a dependency on BufferView this really is
11643         the best place to clean the buffer otherwise you need to cleanup in
11644         a dozen places before calling export or cleanup in a dozen functions
11645         that export calls.
11646
11647         * converter.C (runLaTeX):
11648         (scanLog): Better handling of removeAutoInsets and screen updates.
11649
11650         * lyxfunc.C (dispatch): small whitespace changes
11651
11652 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * WorkArea.C (C_WorkAreaEvent): return a value.
11655         (event_cb): return 1 if we handled the event, 0 otherwise.
11656
11657         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11658
11659 2002-03-18  Juergen Vigna  <jug@sad.it>
11660
11661         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11662         (GetAdditionalWidth): ditto.
11663         (RightLine): ditto.
11664         (LeftLine): ditto.
11665
11666         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11667         inset if we're there actually (probably not used right now but this
11668         is the direction to go for unifying code).
11669         (paste): disable code to clear the selection.
11670
11671         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11672         inside an InsetText and move the check further up as it is in the
11673         wrong place.
11674
11675         * text2.C (pasteSelection): set a selection over the pasted text.
11676
11677 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11678
11679         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11680         and libgraphics to build on Cygwin.
11681
11682 2002-03-15  Juergen Vigna  <jug@sad.it>
11683
11684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11685         inserting an Inset into the paragraph. I know this is not the best
11686         fix but we already use current_view in CutAndPaste so we will remove
11687         all of it's using at the same time.
11688
11689         * buffer.C (sgmlError): deactivated function till it is rewritten in
11690         the right mode, now it can create problems.
11691
11692         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11693         before accessing it.
11694
11695 2002-03-14  Juergen Vigna  <jug@sad.it>
11696
11697         * undo_funcs.C (textHandleUndo): do the right thing when updating
11698         the inset after the undo/redo.
11699
11700         * text2.C (setCursor): just some testcode for #44 not ready yet.
11701
11702         * undo_funcs.C (textHandleUndo): set the next() and previous()
11703         pointers of the paragraph to 0 before deleting otherwise we have
11704         problems with the Paragraph::[destructor].
11705
11706         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11707         on a paragraph insertion.
11708
11709 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * buffer.C (asciiParagraph): use += operator for char append to
11712         string.
11713
11714         * paragraph.C (getFontSettings): compare >= not just >
11715         (highestFontInRange): ditto
11716         (setFont): ditto
11717
11718 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * paragraph.C: change several algorithm to be more appripriate for
11721         the problem domain. This is lookip in FontList and in the InsetList.
11722
11723 2002-03-13  André Pönitz <poenitz@gmx.net>
11724
11725         * commandtags.h:
11726         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11727
11728 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * commandtags.h:
11731         * LyXAction.C:
11732         * lyxfunc.C:
11733         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11734
11735 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11736
11737         * Painter.C (display): anon helper function, adjust code for this
11738         change.
11739         (pixmap): remove function.
11740
11741         * Painter.h: remove private display variable.
11742
11743         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11744
11745 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11746
11747         * WorkArea.[Ch]: remove figinset_canvas cruft.
11748
11749 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * lyxtextclass.C (operator): add one item cache optimization.
11752
11753         * bufferlist.h: doxy changes
11754
11755         * bufferlist.C: ws changes
11756
11757         * DepTable.[Ch] (ext_exist): place const in the right spot.
11758
11759         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11760         call resizeInsets.
11761         (workAreaExpose): call resizeInsets when the with BufferView changes.
11762         (Dispatch): adjust for protectedBlank removal
11763         (specialChar): call updateInset if the insert went ok.
11764
11765         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11766         specialChar instead.
11767
11768         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11769
11770         * BufferView.h: doxy change
11771
11772         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11773
11774         * lyxtextclass.C (operator[]): remove non-const version
11775         (defaultLayout): remove non-const version
11776
11777 2002-03-12  Juergen Vigna  <jug@sad.it>
11778
11779         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11780         did resize the LyXText too.
11781
11782         * buffer.C (readLyXformat2): set layout information on newly allocated
11783         paragraphs.
11784
11785         * tabular.C (OldFormatRead): set layout information on the paragraph.
11786
11787 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11788
11789         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11790
11791 2002-03-11  Juergen Vigna  <jug@sad.it>
11792
11793         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11794         plainly wrong.
11795         (resizeCurrentBuffer): force also the insets to resize themselfes.
11796         (moveCursorUpdate): fixed up for InsetText.
11797
11798 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11799
11800         * commandtags.h:
11801         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11802         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11803         value of Dialogs::tooltipsEnabled().
11804         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11805
11806 2002-03-08  Juergen Vigna  <jug@sad.it>
11807
11808         * BufferView_pimpl.C (updateInset): update inset inside inset also
11809         if it isn't inside theLockingInset().
11810
11811 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * buffer.C (asciiParagraph): redo some of the word and line length
11814         handling.
11815         (getLists): look for Caption instead of caption.
11816
11817 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11818
11819         * buffer.C (Buffer): initialize niceFile to true
11820         (makeLaTeXFile):
11821         (makeLinuxDocFile):
11822         (makeDocBookFile): make sure niceFile is true on exit
11823
11824 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11825
11826         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11827
11828 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11829
11830         * LyXSendto.C: remove.
11831         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11832         * lyx_gui.C: remove now-redundant comment.
11833         * ColorHandler.h: remove forward declaration of class WorkArea.
11834         * lyxfunc.C: remove #include "WorkArea.h".
11835
11836 2002-03-07  Juergen Vigna  <jug@sad.it>
11837
11838         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11839         got moved away with the DEPM and also set the inset_owner always
11840         right which before could have been omitted.
11841
11842 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11843
11844         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11845         wanted layout is not found.
11846
11847 2002-03-07  Juergen Vigna  <jug@sad.it>
11848
11849         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11850
11851 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11852
11853         * paragraph.C (breakParagraph): use default layout not layout of
11854         prev paragraph.
11855         (Paragraph): clear ParagraphParameters.
11856
11857 2002-03-06  Juergen Vigna  <jug@sad.it>
11858
11859         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11860         otherwise it would not be a valid lenght. Fixed a special case in
11861         the minipage compatibility read where we end the document with a
11862         minipage.
11863
11864         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11865         was set as it could be 0 for InsetTexts first entry.
11866
11867 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * paragraph.C (writeFile): if layout is empty write out
11870         defaultLayoutName().
11871
11872         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11873         file without named layout we set layout to defaultLayoutName().
11874
11875 2002-03-06  Juergen Vigna  <jug@sad.it>
11876
11877         * CutAndPaste.C (copySelection): set layout for new paragraph.
11878
11879         * text.C (prepareToPrint): leave ERT inset left aligned
11880         (leftMargin): don't indent paragraphs inside ERT insets
11881
11882 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * paragraph.C (breakParagraph): dont call clear do the work manually
11885
11886         * paragraph.[Ch] (clear): remove function
11887
11888 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * paragraph.C (Paragraph): dont call clear, the work has already
11891         been done.
11892
11893         * lyxtextclass.C (operator): assert if n is empty
11894
11895         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11896         work manually instead.
11897
11898 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView_pimpl.C: protect selectionLost against text == 0
11901
11902 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * text.C (breakParagraph): fix a setting layout to '0' problem.
11905
11906 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11907
11908         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11909         final location of file, for the included files, and graphics.
11910
11911 2002-03-05  Juergen Vigna  <jug@sad.it>
11912
11913         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11914
11915 2002-03-04  Juergen Vigna  <jug@sad.it>
11916
11917         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11918
11919         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11920         last column of multicolumn cells.
11921         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11922
11923 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11924
11925         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11926         file if it doesn't go to a temporary file.
11927
11928         * buffer.C (sgmlOpenTag):
11929         (sgmlCloseTag):  remove extra newline insertion.
11930
11931 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * text.C (getRowNearY): comment out debug msg
11934
11935 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * text2.C: first -> first_y
11938
11939         * text.C (getRowNearY): add some attemts at a possible
11940         optimization, not working.
11941
11942         * tabular.[Ch]: add BufferParams to several function so that newly
11943         created paragraph can be initialized to he default layotu for the
11944         buffers textclass.
11945
11946         * tabular-old.C (ReadOld): add buf->params to call of Init
11947
11948         * screen.C: rename text->first to text->first_y
11949
11950         * paragraph.C (breakParagraph): always set layout in the broken
11951         paragraph
11952
11953         * lyxtextclass.C (Read): remove lowercase
11954         (hasLayout): ditto
11955         (operator): ditto
11956         (delete_layout): ditto
11957
11958         * lyxtext.h: rename first -> first_y
11959
11960         * lyxlayout.C (Read): remove lowercase
11961         (name): ditto
11962         (setName): ditto
11963         (obsoleted_by): ditto
11964
11965         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11966
11967         * buffer.C (insertErtContents): add params are to InsetERT
11968         (parseSingleLyXformat2Token): add code to check if a paragraphs
11969         layout really exist.
11970         (parseSingleLyXformat2Token): add params to several inset
11971         constructors
11972         (asciiParagraph): remove lowercase, do the layout comparisons with
11973         no_case
11974
11975         * BufferView_pimpl.C (cursorNext): first -> first_y
11976         (resizeCurrentBuffer): first -> first_y
11977         (updateScrollbar): first -> first_y
11978         (scrollCB): first -> first_y
11979         (workAreaMotionNotify): first -> first_y
11980         (workAreaButtonPress): first -> first_y
11981         (checkInsetHit): first -> first_y
11982         (cursorPrevious): first -> first_y
11983         (cursorNext): first -> first_y
11984         (Dispatch): add buffer_->params to severl inset contructors
11985
11986 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * lyxlayout.C (Read): remove some debug info that I forgot.
11989
11990         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11991         clean up the code slightly.
11992         (makeLinuxDocFile): ditto
11993         (makeDocBookFile): ditto
11994
11995         * text2.C: layout as string
11996
11997         * text.C: layout as string
11998
11999         * paragraph_pimpl.C: layout as string
12000
12001         * paragraph.[Ch]: layout as string
12002
12003         * lyxtextclasslist.[Ch]: layout as string
12004
12005         * lyxtextclass.[Ch]: layout as string
12006
12007         * lyxtext.h: layout as string
12008
12009         * lyxlayout.[Ch]: layout as string
12010
12011         * lyx_cb.C: layout as string
12012
12013         * bufferview_funcs.C: layout as string
12014
12015         * bufferparams.C: layout as string
12016
12017         * buffer.C: layout as string
12018
12019         * LyXView.[Ch]: layout as string
12020
12021         * LaTeXFeatures.[Ch]: layout as string
12022
12023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12024
12025         * BufferView_pimpl.C: change current_layout to string, remove
12026         lyx::layout_type.
12027         (Dispatch):
12028         (smartQuote):
12029         (insertInset):
12030         (workAreaButtonRelease): layout as string
12031
12032         * BufferView2.C (unlockInset): adjust
12033
12034         * vspace.C (asLatexCommand): use an explict temp variable.
12035
12036 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * Makefile.am: use FRONTEND_*
12039
12040 2002-03-01  Juergen Vigna  <jug@sad.it>
12041
12042         * tabular.C (SetWidthOfMulticolCell): changed to something better
12043         I hope but still work in progress.
12044         (recalculateMulticolumnsOfColumn): renamed function from
12045         recalculateMulticolCells as it is more appropriate now.
12046         (SetWidthOfCell): calculate multicols better.
12047
12048 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12051
12052         * lyxfunc.C (processKeySym): print sequence also if it is
12053         `deleted' (complete)
12054
12055         * kbsequence.C (print): print sequence even if it is deleted
12056         (complete would be a better word, actually).
12057
12058         * lyxfunc.C (dispatch): print complete options after a prefix key
12059
12060         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12061
12062 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12063
12064         * text2.C (setCharFont): eliminate setCharFont code duplication.
12065
12066 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12069         LFUN_TABULAR_FEATURE (bug #177)
12070
12071 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * Makefile.am: remove figure.h
12074
12075 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12076
12077         * Bufferview_pimpl.C:
12078         * CutAndPasteC:
12079         * LaTeX.C:
12080         * LyXSendto.C:
12081         * buffer.C:
12082         * bufferlist.C:
12083         * converter.C:
12084         * language.C:
12085         * lyxfunc.C:
12086         * lyxvc.C:
12087         * paragraph.C:
12088         * text.C:
12089         * text2.C: remove #include "lyx_gui_misc.h".
12090
12091         * LaTeX.C: added #include <cstdio>
12092
12093 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12096         that the paragraph following this one can have.
12097
12098         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12099
12100         * vspace.C (asLatexCommand): fix bogus gcc warning
12101
12102         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12103
12104 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12105
12106         * text2.C (setLayout): get rid of redundant code
12107
12108 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12109
12110         * text2.C (incDepth): make sure depth cannot be increased beyond
12111         reasonable values.
12112
12113 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12114
12115         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12116         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12117
12118         * PainterBase.h (image):
12119         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12120         a LyXImage const *.
12121
12122 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * BufferView.C:
12125         * BufferView.h:
12126         * BufferView_pimpl.C:
12127         * BufferView_pimpl.h:
12128         * LaTeXFeatures.C:
12129         * LyXAction.C:
12130         * LyXView.C:
12131         * Makefile.am:
12132         * UpdateList.h:
12133         * UpdateList.C:
12134         * buffer.C:
12135         * figure.h:
12136         * figureForm.C:
12137         * figureForm.h:
12138         * figure_form.C:
12139         * figure_form.h:
12140         * lyx_cb.C:
12141         * lyx_gui.C:
12142         * lyx_gui_misc.C:
12143         * lyxfunc.C:
12144         * sp_base.h:
12145         * sp_ispell.h:
12146         * sp_pspell.h:
12147         * sp_spell.C: remove fig inset, and the crap house of
12148           cards that follows it
12149
12150 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * Makefile.am:
12153         * lyxserver.C:
12154         * os2_defines.h:
12155         * os2_errortable.h:
12156         * nt_defines.h: move .h into support/
12157
12158         * vms_defines.h: remove
12159
12160         * WorkArea.C: add space in debug output
12161
12162         * text2.C:
12163         * paragraph.C:
12164         * buffer.C: add WITH_WARNINGS
12165
12166         * vc-backend.h:
12167         * vc-backend.C:
12168         * bufferlist.C: s/retrive/retrieve/, add docs
12169
12170         * vspace.h:
12171         * vspace.C:
12172         * kbmap.h:
12173         * lyxlength.h:
12174         * lyxgluelength.h:
12175         * length_common.h:
12176         * chset.h:
12177         * chset.C: add docs
12178
12179         * lyxgui.C: add ID to X error handler
12180
12181         * lyxtestclass.c: fix typo
12182
12183 2002-02-26  Juergen Vigna  <jug@sad.it>
12184
12185         * tabular_funcs.C (write_attribute): changed so that some default
12186         attributes are not written at all.
12187         (getTokenValue): set default values before trying to read the
12188         value so we have the return value always set as default if we don't
12189         find the token we search for.
12190
12191         * tabular.C (Write): write bools as bools not as strings!
12192
12193 2002-02-22  Juergen Vigna  <jug@sad.it>
12194
12195         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12196         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12197
12198         * text.C (leftMargin): don't add an indent for paragraphs inside
12199         tabular cells (fix #208).
12200
12201 2002-02-21  José Matos  <jamatos@fep.up.pt>
12202
12203         * tabular.C (docBook): fixed support for long tables.
12204
12205 2002-02-20  Juergen Vigna  <jug@sad.it>
12206
12207         * text2.C (getFont): get the drawing font of the Inset if this
12208         paragraph is inside an inset (only important for InsetERT for now).
12209
12210         * buffer.C (insertErtContents): use new lanugage params in ERT
12211         constructor.
12212
12213         * CutAndPaste.C: commenting out seemingly uneeded code.
12214
12215 2002-02-19  Allan Rae  <rae@lyx.org>
12216
12217         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12218         Iterators might be simple to use but they also get invalidated.
12219         (removeAutoInsets): renamed saved cursor tracking variables and added
12220         some comments to clarify what everything does.
12221
12222 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12223
12224         * Chktex.C:
12225         * LaTeX.C:
12226         * LyXSendto.C:
12227         * converter.C:
12228         * lyx_cb.C:
12229         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12230         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12231
12232         * lyxfunc.C:
12233         * vc-backend.h: remove #include "support/syscall.h"
12234
12235         * LaTeX.C:
12236         * LyXSendto.C:
12237         * converter.C: rearrange #includes in Lars' approved fashion.
12238
12239         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12240         forward declare class Timeout in the header file.
12241
12242         * XFormsView.C: changes due to the above.
12243
12244         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12245         similar to LyXView.
12246
12247         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12248         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12249
12250 2002-02-18  José Matos  <jamatos@fep.up.pt>
12251
12252         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12253         insets contents.
12254
12255 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12256
12257         * a lot of small ws changes
12258         * add a lot of using std::XXX
12259         * use std construcs some places where approp.
12260         * use some exisint stuff from lyxfunctional where approp.
12261         * Make file changes to use partial linking (lets test this now...)
12262
12263 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12264
12265         * Chktex.C:
12266         * buffer.C:
12267         remove #include "support/syscontr.h" as it's redundant. Always has been.
12268
12269         * Chktex.C:
12270         * LaTeX.C:
12271         * LyXSendto.C:
12272         * converter.C:
12273         * lyx_cb.C:
12274         * vc-backend.C:
12275         change Systemcalls::System to Systemcalls::Wait and
12276         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12277         No change of functionality, just reflects the stripped down Systemcalls
12278         class.
12279
12280 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12281
12282         * debug.[Ch]: add a GRAPHICS type to the enum.
12283
12284 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12285
12286         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12287
12288         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12289         there is an inset.
12290
12291 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12294         match the changes below.
12295
12296         * text2.C (toggleInset): if there is not editable inset at cursor
12297         position, try to see if cursor is _inside_ a collapsable inset
12298         and close it.
12299
12300 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12301
12302         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12303         document menu has a nice checkbox
12304
12305 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12306
12307         * lyxlength.C (asLatexString): change PW to output as percent of
12308         \textwidth.
12309
12310         * lengthcommon.C: change '%' to 't%'
12311
12312         * lyxfunc.C (dispatch): a few comments from Martin
12313
12314 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * WorkArea.h:
12317         * WorkArea.C:
12318         * BufferView_pimpl.h:
12319         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12320           the X selection.
12321
12322 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * vspace.C (inPixels): fix compiler warning
12325
12326 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * lyxfunc.C (getStatus): fix status message for disabled commands.
12329
12330 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * BufferView_pimpl.C: fix crash on close buffer
12333         during selection (#227)
12334
12335 2002-01-27  Herbert Voss  <voss@lyx.org>
12336
12337         * buffer.C: link old Figure to new graphic inset
12338
12339 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12340
12341         * FontLoader.C (getFontinfo): Change the latex font names in order
12342         to match the names of type1inst.
12343
12344 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12345
12346         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12347
12348         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12349         (extchanged): ditto
12350         (ext_exist): ditto
12351         (remove_files_with_extension): ditto
12352         (remove_file): ditto
12353         (write): ditto
12354
12355         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12356         document is smaller than the work area height. Do not initialize
12357         static variables to 0.
12358
12359 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12362
12363         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12364         LFUN_LAYOUT_PARAGRAPHS.
12365
12366         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12367         tabular. It is possible to provide a possible cell, which will
12368         typically be the actcell from the corresponding insettabular
12369
12370         * lyxfunc.C (getStatus): small cleanup; disable
12371         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12372         true
12373
12374 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12377
12378         * paragraph.C (startTeXParParams):
12379         (endTeXParParams): new methods. The LaTeX code to
12380         start/end paragraph formatting
12381         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12382         empty (fixes bug #200)
12383
12384         * vspace.C (inPixels): adapt to the change below
12385         (inPixels): [later] more cleanups (remove unused variables)
12386
12387         * lyxlength.C (inPixels): change to use a width and a height as
12388         parameter.
12389
12390 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12393         Replaced with \paperwidth
12394
12395         * DepTable.C (insert): add std:: qualifier
12396
12397 2002-01-18  Allan Rae  <rae@lyx.org>
12398
12399         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12400         updated also?
12401
12402         * text.C (drawInset): Turned out I didn't know enough about how
12403         rebreaking worked.  This fixes most of the redraw problems.  I see
12404         an occasional cursor trail when a line is broken now and the cursor
12405         placement can seem out by a few pixels also after a rebreak.
12406
12407 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * buffer.C (parseSingleLyXformat2Token): update because minipage
12410         width is now a LyXLength
12411
12412         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12413
12414         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12415         math insets
12416
12417 2002-01-17  Juergen Vigna  <jug@sad.it>
12418
12419         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12420
12421         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12422         is set correctly and the inset is updated correctly.
12423
12424 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12425
12426         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12427         the beginning of the loop.
12428
12429 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxrc.C: improve help for use_scalable_fonts
12432
12433 2002-01-17  Allan Rae  <rae@lyx.org>
12434
12435         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12436
12437 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12438
12439         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12440         make sure to set their inset_owner to the right value (bug #171)
12441
12442 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12443
12444         * DepTable.h
12445         * DepTable.C: Implement mtime checking to reduce time spent doing
12446         CRCs.
12447
12448 2002-01-16  Juergen Vigna  <jug@sad.it>
12449
12450         * tabular.C (GetAdditionalHeight): one of error fixed.
12451
12452         * lyxrc.C (output): small fix in writing use_pspell.
12453
12454 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12455
12456         * sp_base.h: #include LString.h
12457
12458 2002-01-16  Allan Rae  <rae@lyx.org>
12459
12460         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12461         Can someone check this please?
12462
12463         * text.C (drawInset): It was possible that p.row would be removed by
12464         breakAgainOneRow upsetting a few other settings.  There may be another
12465         small tweak possible by setting need_break_row = 0 when p.row has been
12466         removed but I don't know enough about the logic here.
12467
12468 2002-01-15  Allan Rae  <rae@lyx.org>
12469
12470         * text.C (insertChar): removed conditional truism.
12471
12472         * BufferView2.C (removeAutoInsets): More tweaks.
12473         cur_par_prev could be a stray pointer.  Check for trailing empty line
12474         in case last line was cur_par and only had an error inset on it.
12475
12476 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12477
12478         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12479         absolute
12480
12481         * vc-backend.C (most methods):
12482         * exporter.C (Export):
12483         * converter.C (convert):
12484         (runLaTeX):
12485         * LyXSendto.C (SendtoApplyCB):
12486         * lyxfunc.C (dispatch):
12487         (menuNew):
12488         (open):
12489         (doImport):
12490         * lyx_cb.C (AutoSave):
12491         (InsertAsciiFile):
12492         * BufferView_pimpl.C (MenuInsertLyXFile):
12493         * buffer.C (runChktex): use Buffer::filePath().
12494
12495         * buffer.h: rename filename to filename_; rename filepath to
12496         filepath_ and make it private
12497         (filePath): new method
12498
12499         * buffer.C (writeFile): use fileName()
12500         (getLatexName):
12501
12502         * lyx_main.C (init): fix starting  of LyX when the binary is a
12503         link from so,ewhere else.
12504
12505         * minibuffer.C: include <cctype> for isprint
12506
12507 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12510         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12511         name clash with InsetCollapsable's width function.
12512
12513 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * lastfiles.C: include <iterator>
12516
12517 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12518
12519         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12520         std::count.
12521
12522         * buffer.C (makeLaTeXFile): ditto.
12523         Also make loop operation more transparent.
12524
12525 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * ToolbarDefaults.C: remove trailing comma closing namespace.
12528
12529         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12530
12531         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12532         as in WorkArea.
12533
12534         * trans.C (Load): comment out unused variable, allowed.
12535
12536 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12537
12538         * minibuffer.[Ch] (append_char): new method to recieve input from the
12539         drop-down completion browser. If a key was pressed, then recieve this
12540         char and append it to the existing string.
12541         (peek_event): modify the positioning data passed to the completion
12542         browser so that it can be placed above the minibuffer rather than below.
12543 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * LyXAction.C (init): alloe error-next for readonly documents.
12546
12547         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12548         count.
12549
12550 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * bufferlist.C (readFile): create the buffer _after_ checking that
12553         the file exists.
12554
12555         * lyxfunc.C (verboseDispatch): fix handling of arguments
12556
12557         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12558
12559         * lyxrc.C: use string::erase() instead of initializing to "".
12560
12561
12562 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * BufferView_pimpl.h:
12565         * BufferView_pimpl.C:
12566         * WorkArea.h:
12567         * WorkArea.C:
12568         * text2.C: tell X when we have made a selection for copying
12569
12570 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * BufferView_pimpl.C (MenuInsertLyXFile):
12573         * lyxfunc.C (menuNew):
12574         (open):
12575         (doImport): add shortcuts to directory buttons
12576
12577         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12578         open a float)
12579
12580         * lyxfunc.C (setStatusMessage):
12581         (getStatusMessage): new methods
12582         (getStatus):use setStatusMessage instead of setErrorMessage
12583         (dispatch): when function is disabled, set error message here
12584         [instead of in getStatus previously]
12585
12586         * BufferView_pimpl.C (workAreaButtonRelease): update
12587         toolbar/menubar here too.
12588
12589 2002-01-13  Allan Rae  <rae@lyx.org>
12590
12591         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12592         Now seems indestructible.  Remaining task is to audit all other
12593         code affected by deleteEmptyParagraphMechanism.  One small quirk
12594         left is that an empty document with an error in the preamble can
12595         be made to report an error but no error box appears.  I don't know
12596         where it goes.
12597         (removeAutoInsets): Improved comments.
12598
12599 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12600
12601         * Thesaurus.h:
12602         * Thesaurus.C: update for Aiksaurus 0.14
12603
12604 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * text2.C (firstParagraph): removed member function, all uses
12607         replaces with ownerParagraph
12608         (redoParagraphs): here
12609         (updateInset): here
12610         (toggleAppendix): here
12611         * BufferView2.C (insertErrors): here
12612         (setCursorFromRow): here
12613
12614 2002-01-13  Allan Rae  <rae@lyx.org>
12615
12616         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12617         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12618         There is still a way to segfault this although you may have to do this
12619         multiple times: Have an InsetERT with an unknown command in it.
12620         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12621         <down-arrow>, <Enter> again, View->DVI, BANG!
12622
12623         * text2.C (setCursor):
12624         (deleteEmptyParagraphMechanism):
12625         * lyxtext.h (setCursor):
12626         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12627         Making use of the return value may help fix other bugs.
12628
12629 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12632
12633         * LyXView.C (updateMenubar): call MenuBar::update here
12634         (updateToolbar): but not here
12635         (showState): do not update toolbar/menubar
12636
12637         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12638         should need to care about that.
12639
12640         * lyxfunc.C (verboseDispatch): simplify a bit
12641         (getStatus): have a version which takes a pseudoaction, and
12642         another which requires a (kb_action,string).
12643
12644         * LyXAction.C (retrieveActionArg): make it work also when action
12645         is not a pseudo-action.
12646         (getActionName): simplify a bit
12647         (helpText):
12648
12649 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12650
12651         * lyxfunc.C (verboseDispatch): new families of methods with
12652         several ways to specify a command and a bool to indicate whether
12653         the command name and shortcut should be displayed in minibuffer
12654         (eventually, we could extend that to a finer bitmask like
12655         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12656         (dispatch): the pristine dispatch command which just, well,
12657         dispatchs! Note it still sets its result to minibuffer; I'm not
12658         sure we want that.
12659
12660         * lyxfunc.h: remove setHintMessage
12661
12662         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12663
12664 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * BufferView_pimpl.C (specialChar): delete new inset if we have
12667         not been able to insert it.
12668
12669         * kbmap.C: revert to using int instead of kb_action, since all we
12670         are dealing with is pseudo-actions.
12671
12672         * LyXAction.C (searchActionArg): change to return int instead of
12673         kb_action, since the result is a pseudoaction.
12674
12675 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * buffer.C (insertErtContents): Fix (partially) the font bug.
12678
12679 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12682         as the other one is broken on my machine!
12683
12684 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12685
12686         * commandtags.h:
12687         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12688
12689 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12690
12691         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12692         reflect their actual use. Provide compatibility code for older lyxrc
12693         files.
12694
12695         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12696         FL_NORMAL_STYLE.
12697         change names of popup font variables in line with the changes to lyxrc.C
12698
12699 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12700
12701         * buffer.C (asciiParagraph): avoid outputing a word twice after
12702         an inset.
12703
12704         * lyxrc.C (getDescription): document that document_path and
12705         template_path can be empty.
12706
12707 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12708
12709         * LaTeXFeatures.C (getMacros):
12710         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12711
12712         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12713
12714         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12715         getPackages.
12716         (getPackages): rename feature "floats" to "float". Use an array to
12717         iterate over 'simple' features (i.e. just a \usepackage). Add
12718         handling of "amsmath" (renamed from "amsstyle").
12719
12720 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12721
12722         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12723         features list.
12724
12725 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12726
12727         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12728         FuncStaus::FuncStatus & FuncStaus::some_method().
12729
12730 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12731
12732         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12733         of the func_satus stuff. Edited and massaged in various ways by
12734         JMarc.
12735
12736         * lyxfunc.C (getStatus): use FuncStatus
12737
12738 2002-01-08  Juergen Vigna  <jug@sad.it>
12739
12740         * text.C (nextBreakPoint): use function Inset::isChar().
12741
12742         * paragraph.C (TeXOnePar): use function
12743         Inset::forceDefaultParagraphs.
12744
12745         * buffer.C (latexParagraphs): use function
12746         Inset::forceDefaultParagraphs.
12747
12748 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12749
12750         * lyx_gui.C (init): set the style of the menu popups to
12751         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12752
12753 2002-01-07  Juergen Vigna  <jug@sad.it>
12754
12755         * text.C (setHeightOfRow): small fix
12756         (prepareToPrint): don't look at alignment if we don't have the place
12757         for doing it.
12758
12759 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * box.C: New file. Move the Box methods and functions out of box.h,
12762         following Lars' suggestion.
12763
12764 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * box.h: #include "support/LOstream.h", needed for inlined function.
12767
12768         * lyxtextclass.C:
12769         * lyxtextclasslist.C: added some using std declarations.
12770
12771 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * box.h: make signed dimensions to allow insets wider than
12774           the screen (bug #162)
12775
12776         * BufferView_pimpl.C: add some insetHit debug
12777
12778 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12779
12780         * vc-backend.C: add FIXME
12781
12782 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12783
12784         * lyxfunc.C (getStatus): enable code for showing math font status
12785         in toolbar/menu.
12786
12787 2002-01-07  Juergen Vigna  <jug@sad.it>
12788
12789         * text.C (nextBreakPoint): removed debug output not needed anymore.
12790
12791 2002-01-06  Juergen Vigna  <jug@sad.it>
12792
12793         * text.C (nextBreakPoint): fixed up this function we had this bug
12794         since ever but now hopefully we break row better.
12795         (insertChar): we have to check if an inset is the next char as it
12796         could now happen that a large inset is causing a break.
12797
12798 2002-01-05  Juergen Vigna  <jug@sad.it>
12799
12800         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12801         if it doesn't like to be drawed.
12802
12803 2002-01-04  Juergen Vigna  <jug@sad.it>
12804
12805         * BufferView2.C (lockInset): forgot to set a cursor.
12806
12807         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12808
12809 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12810
12811         * FormMathsPanel.C:
12812         * FormMathsPanel.h
12813         * MathsSymbols.C:
12814         * form_maths_panel.C:
12815         * form_maths_panel.h:
12816         * form_maths_panel.fd: implemented sub- and super- buttons in math
12817         panel.
12818
12819         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12820         (or ^ space) to be used as in TeX (req'd by André).
12821
12822         * lyxfunc.C: Allow ^ and _ again to be used both as
12823         super/subscript (mathed) and as themselves (in text).
12824
12825 2002-01-03  Allan Rae  <rae@lyx.org>
12826
12827         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12828         "LyX" or the filename of the current buffer if it has one.  This is a
12829         modified form of John Levon's patch.
12830
12831         * XFormsView.C (setWindowTitle): also set icon title.
12832
12833         * LyXView.h (setWindowTitle): signature changed.
12834         * XFormsView.h (setWindowTitle): ditto.
12835
12836 2002-01-02  Juergen Vigna  <jug@sad.it>
12837
12838         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12839
12840 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * screen.C (topCursorVisible): introduce a temp var for
12843         text->cursor.row(), handle the case where this row is null. (kindo
12844         hachish)
12845
12846         * text2.C (setCursor): add a couple of asserts.
12847
12848         * paragraph.h (inset_iterator): add -> operator
12849
12850         * paragraph.[Ch] (autoDeleteInsets): remove member function
12851
12852         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12853         cursor pos correctly and handle inset deletion by itself.
12854         (insertErrors): move iterator declaration out of for expression
12855
12856         * lyxtextclass.C: add <algorithm>
12857
12858         * Makefile.am: added the new files to sources, removed layout.C
12859
12860         * layout.C: removed file
12861
12862         * layout.h: remove LYX_DUMMY_LAYOUT
12863
12864         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12865         layout.
12866
12867         * lyxlayout.[Ch]:
12868         * lyxtextclass.[Ch]:
12869         * lyxtextclasslist.[Ch]: new files
12870
12871         * include order changes to a lot of files, also changes because of
12872         the six new files.
12873
12874 2001-12-27  Juergen Vigna  <jug@sad.it>
12875
12876         * buffer.C (asciiParagraph): more fixes.
12877
12878         * tabular.C (ascii): make ascii export support export of only the
12879         data separated by a column-delimiter.
12880         (ascii): better support for ascii export.
12881
12882         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12883
12884 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12885
12886         * tabular_funcs.C: use a "using std::getline" instead of the
12887         previous fix from Angus (necessary for cxx + lyxstring)
12888
12889 2001-12-24  Juergen Vigna  <jug@sad.it>
12890
12891         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12892
12893         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12894         problems. First check a minipage also if we have some ert-contents
12895         (not only on par->size(), second set the right depth of the paragraph
12896         on the relink to the root-paragraph-list!
12897
12898         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12899         which then did not anymore update the main paragraphs on undo/redo!
12900
12901 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12902
12903         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12904         code. Support all font-changing funcs (even those which are not in
12905         menu currently). Support for reporting font settings in
12906         mathed (disabled until Andre provides a function on mathed's side).
12907
12908         * func_status.h (toggle): small helper function to set toggle
12909         state on a flag.
12910
12911 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12912
12913         * tabular_funcs.C: getline -> std::getline
12914
12915 2001-12-21  Juergen Vigna  <jug@sad.it>
12916
12917         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12918         accessed and could be 0 (I couldn't generate this but it seems
12919         Michael could!).
12920
12921 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12924         * tabular_funcs.h: here and include iosfwd
12925
12926 2001-12-20  Juergen Vigna  <jug@sad.it>
12927
12928         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12929         inside inset but undo_par was.
12930
12931 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12932
12933         * Thesaurus.C: always include <config.h> in sources.
12934
12935         * Painter.h:
12936         * lyxlookup.h:
12937         * box.h: do not include <config.h> in header files
12938
12939         * text.C (paintLastRow): remove unused variable
12940
12941         * text.C (transformChar):
12942         (insertChar):
12943         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12944
12945         * Painter.C (text):
12946         * font.C (width): rewrite to use uppercase() instead of
12947         islower/toupper.
12948
12949         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12950
12951 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12952
12953         * lyxfind.C: clean up of find failure position change
12954
12955 2001-12-20  Juergen Vigna  <jug@sad.it>
12956
12957         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12958
12959         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12960         (TeXRow): added to LaTeX a single tabular row.
12961         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12962         (Latex): simplified and finally good LT-h/f support.
12963         (various_functions): just small adaptions for LT-h/f support.
12964
12965         * tabular_funcs.[hC]: added and moved here all not classfunctions
12966         of LyXTabular.
12967
12968 2001-12-19  Juergen Vigna  <jug@sad.it>
12969
12970         * tabular.[Ch]: better support for longtabular options (not finished
12971         yet!)
12972
12973 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12974
12975         * text.C (paintLastRow): use the label font instead of the font of
12976         the last character to compute the size of *_BOX. This makes more
12977         sense and avoids a crash with empty paragraphs.
12978         Use Painter::rectangle to draw EMPTY_BOX.
12979
12980 2001-12-19  Juergen Vigna  <jug@sad.it>
12981
12982         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12983         the paragraphs if the replaced paragraph is not the first one!
12984         Tried to delete not used paragraphs but does not work yet so for
12985         now it's inside #ifdef's and by default off!
12986
12987 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12988
12989         * MenuBackend.C: include "lyx_main.h" instead of declaring
12990         lastfiles (actually was declared as LastFiles* instead of a
12991         scoped_ptr).
12992
12993 2001-12-17  Juergen Vigna  <jug@sad.it>
12994
12995         * tabular.C (AppendColumn): applied John's fix
12996
12997 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * BufferView.h:
13000         * BufferView.C:
13001         * BufferView_pimpl.h:
13002         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13003
13004         * Makefile.am:
13005         * box.h: new start of class for above
13006
13007         * lyxfunc.C: ignore space-only minibuffer dispatches.
13008           Show the command name when it doesn't exist
13009
13010         * minibuffer.C: don't add empty lines to the history
13011
13012         * minibuffer.C: add a space on dropdown completion
13013
13014 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * text.C: fix line above/below drawing in insets
13017
13018 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyxlength.C (LyXLength): Initialize private variables.
13021
13022 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13023
13024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13025         when inserting error insets.
13026
13027 2001-12-13  Juergen Vigna  <jug@sad.it>
13028
13029         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13030         actually sometimes the before-paragraph.
13031         (setUndo): don't clear the redostack if we're not actually undoing!
13032
13033 2001-12-06  Juergen Vigna  <jug@sad.it>
13034
13035         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13036         and fixed redoing of main paragraph, so we can use it now ;)
13037
13038         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13039
13040 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13043         Juergen's request
13044
13045 2001-12-13  André Pönitz <poenitz@gmx.net>
13046
13047         * undostack.[Ch]:
13048         * undo_func.C: minor cleanup
13049
13050 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13051
13052         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13053         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13054         font in urw-fonts package which is marked as -urw-fontspecific and
13055         does not work (incidentally, changing the encoding in the
13056         fonts.dir of this package to -adobe-fontspecific fixes the
13057         problem).
13058
13059         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13060         is a crash when undoing first paragraph (Juergen, please take a
13061         look). THis does not mean the undo fix is wrong, just that it
13062         uncovers problems.
13063
13064         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13065         the (Paragraph*) version when needed instead of duplicating the
13066         code.
13067
13068         * text.C (workWidth): use Inset::parOwner to find out where the
13069         inset has been inserted. This is a huge performance gain for large
13070         documents with lots of insets. If Inset::parOwner is not set, fall
13071         back on the brute force method
13072
13073         * paragraph_pimpl.C (insertInset):
13074         * paragraph.C (Paragraph):
13075         (cutIntoMinibuffer): set parOwner of insets when
13076         inserting/removing them
13077
13078         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13079
13080 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13081
13082         * commandtags.h:
13083         * LyXAction.C:
13084         * lyx_main.C:
13085         * lyxfunc.C:
13086         * mathed/formulabase.C:
13087         * mathed/math_cursor.[Ch]:
13088         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13089
13090
13091 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * lyxlength.[Ch] (operator!=): new function
13094
13095 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13096
13097         * text.C (workWidth): use Inset::parOwner to find out where the
13098         inset has been inserted. This is a huge performance gain for large
13099         documents with lots of insets. If Inset::parOwner is not set, fall
13100         back on the brute force method
13101
13102         * paragraph_pimpl.C (insertInset):
13103         * paragraph.C (Paragraph):
13104         (cutIntoMinibuffer): set parOwner of insets when
13105         inserting/removing them
13106
13107         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13108
13109 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * tabular-old.C (getTokenValue):
13112         * tabular.C (getTokenValue):
13113         (write_attribute): new versions for LyXLength
13114         (everywhere): adjust the use of widths
13115
13116         * tabular.h: change the type of widths from string to LyXLength
13117
13118 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13119
13120         * paragraph.C: fixed missing line number count when exporting
13121         Environments to LaTeX file
13122
13123         * buffer.C: added informational message for checking line numbers.
13124
13125 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13128         paragraph, do the 'double space' part, but not the 'empty
13129         paragraph' one.
13130
13131         * text.C (workWidth): small optimization
13132         (getLengthMarkerHeight): use minimal size for negative lengths.
13133
13134 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13137
13138         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13139
13140 2001-12-11  André Pönitz <poenitz@gmx.net>
13141
13142         * FontLoader.C:
13143         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13144
13145 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * text2.C: keep selection on a setFont()
13148
13149 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * lyx_cb.C: another bv->text misuse, from insert label
13152
13153 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * kbsequence.h:
13156         * kbsequence.C: re-instate nmodifier mask
13157
13158 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13159
13160         * lyx_main.h: make lyxGUI private.
13161
13162 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * lyxfind.C: place the cursor correctly on failed search
13165
13166 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13167
13168         * text.C (getLengthMarkerHeight): for small heights, the arrows
13169         are not always on top/bottom of the text
13170         (drawLengthMarker): smaller arrows; take the left margin in
13171         account; draw also vfills.
13172         (paintFirstRow):
13173         (paintLastRow): remove special code for vfill and standard spaces,
13174         since everything is handled in drawLengthMarker now.
13175
13176 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * buffer.C (insertErtContents): try to handle font and language
13179         interaction a bit better.g
13180
13181         * ColorHandler.C (updateColor): change the hash to cover the whole
13182         LColor enum, ws cleanup
13183         (getGCLinepars): ditto
13184         (getGCLinepars): only lookup in the linecache once.
13185
13186 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13187
13188         * iterators.C (operator++): Make the iterator more robust
13189
13190         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13191         (John's patch)
13192         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13193
13194 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * lyxtext.h:
13197         * text.C: better added space drawing
13198
13199 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * LyXView.C:
13202         * BufferView2.C: fix layout combo update on inset unlock
13203
13204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * Makefile.am: don't compile unused files
13207
13208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * lyxfunc.C:
13211         * commandtags.h:
13212         * LyXAction.C: remove old LFUN_LAYOUTNO
13213
13214 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13215
13216         * paragraph_pimpl.h:
13217         * paragraph_pimpl.C: isTextAt() doesn't need font param
13218
13219 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13220
13221         * lyxlex.h:
13222         * lyxlex.C: little cleanup
13223
13224 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13225
13226         * BufferView_pimpl.C: fix insertAscii for insets
13227
13228 2001-12-05  Juergen Vigna  <jug@sad.it>
13229
13230         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13231         set the right font on the "multi" paragraph paste!
13232
13233 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * trans_decl.h:
13236         * trans_mgr.[Ch]:
13237         * trans.[Ch]:
13238         * lyxgluelength.C:
13239         * lyxlength.C: remove out-commented code.
13240
13241         * BufferView_pimpl:
13242         * CutAndPaste.C:
13243         * DepTable.C:
13244         * buffer.C:
13245         * chset.C:
13246         * lastfiles.C:
13247         * lyxlex.C:
13248         * lyxlex_pimpl.C:
13249         * lyxserver.C:
13250         * screen.C:
13251         * tabular-old.C:
13252         * tabular.C:
13253         * text.C:
13254         * trans_mgr.C:
13255         * vc-backend.C: change "while(" to "while ("
13256
13257         * lyxlength.[Ch]: add zero function to check if length is zero or
13258         not
13259         * lyxgluelength.C: use it
13260
13261 2001-12-05  Allan Rae  <rae@lyx.org>
13262
13263         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13264         Works for 2.95.3, from what I understand of Garst's reports this should
13265         work for other g++ versions.  We're screwed if the abs(int) definition
13266         changed between bugfix releases of gcc.
13267
13268 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * text.C: fix chapter label offset !
13271
13272 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13273
13274         * lyxtext.h:
13275         * text.C: fix hfill at end of line, clean up
13276
13277 2001-12-04  Juergen Vigna  <jug@sad.it>
13278
13279         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13280         that we force an update of the inset and it's owners if neccessary.
13281
13282 2001-12-03  Juergen Vigna  <jug@sad.it>
13283
13284         * text.C (rowLast): simplified code
13285
13286 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13287
13288         * lyxfunc.C: fix show options on timeout
13289
13290 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * screen.C (topCursorVisible): scroll half a page when the cursor
13293         reached top of bottom of screen
13294
13295 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * minibuffer.C: deactivate on loss of focus
13298
13299 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13300
13301         * vspace.[Ch] (operator!=): add operator.
13302
13303 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * BufferView_pimpl.C: refuse to open an inset when
13306         there's a selection.
13307
13308 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * BufferView_pimpl.C: allow to click on RHS of full row insets
13311
13312 2001-11-30  Juergen Vigna  <jug@sad.it>
13313
13314         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13315         insets for undo reasons.
13316
13317 2001-11-28  André Pönitz <poenitz@gmx.net>
13318
13319         * vspace.[Ch]: cosmetical changes
13320
13321 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * LyXAction.h:
13324         * LyXAction.C:
13325         * lyxfunc.h:
13326         * lyxfunc.C:
13327         * kbmap.h:
13328         * kbmap.C:
13329         * lyxrc.C:
13330         * kbsequence.h:
13331         * kbsequence.C: part re-write of old kb code
13332
13333         * Painter.C:
13334         * WorkArea.C: remove Lgb_bug_find_hack
13335
13336 2001-11-30  José Matos <jamatos@fep.up.pt>
13337
13338         * buffer.C (makeDocBookFile): add a comment to point a hack.
13339         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13340         Fixed a double write of labels.
13341
13342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13343
13344         * LaTeX.C:
13345         * LaTeX.h Fixed bug in LaTeX class where it would not
13346         re-run latex if no depfiles were changed, but the .dvi was removed.
13347
13348 2001-11-28  André Pönitz <poenitz@gmx.net>
13349
13350         * all the files from the change on 2001/11/26:
13351         use lyx::layout_type instead of LyXTextClass::size_type
13352         use lyx::textclass_type instead of LyXTextClassList::size_type
13353
13354 2001-11-29  Juergen Vigna  <jug@sad.it>
13355
13356         * text.C: added support for paragraph::isFreeSpacing()
13357
13358         * buffer.C: same as above
13359
13360         * paragraph.h: inserted isFreeSpacing() function to enable
13361         FreeSpacing inside InsetERT.
13362
13363         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13364         of the paragraph's in the cut/copy buffer to 0!
13365
13366         * text2.C (removeRow): remove the assert as it can!
13367
13368         * lyxtext.h: added helper function firstRow returning firstrow and
13369         made firstrow private again.
13370
13371         * BufferView2.C (lockInset): don't relock if we're already locked!
13372
13373         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13374         the only paragraph.
13375         (removeRow): added Assert::(firstrow)
13376
13377         * debug.C: forgot to add INSETTEXT here.
13378
13379 2001-11-28  Juergen Vigna  <jug@sad.it>
13380
13381         * sp_spell.C (initialize): changed error text to more general
13382         spellchecker command use (not only ispell!)
13383
13384         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13385
13386         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13387
13388 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * vspace.C: initialise lyxgluelength on failure
13391
13392 2001-11-28  Allan Rae  <rae@lyx.org>
13393
13394         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13395         declaration & definition that looks like a function declaration.
13396
13397 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * BufferView2.C (copy):
13400         (copyEnvironment): do not clear the selection when doing a copy.
13401
13402         * text.C (paintFirstRow): compilation fix
13403
13404 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13405
13406         * tabular.C (Latex): correct line count when writing latex.
13407
13408 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * paragraph_pimpl.h:
13411         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13412           bug a bit
13413
13414 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * text.C:
13417         * LColor.h:
13418         * LColor.C: change vfillline->added_space
13419
13420         * text.C: add markers and text for added space
13421
13422         * vspace.C: fix comment
13423
13424 2001-11-28  André Pönitz <poenitz@gmx.net>
13425
13426         * paragraph.C: whitespace changes
13427         * all the other files from the change on 2001/11/26:
13428         change *::pos_type into lyx::pos_type
13429
13430 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13431
13432         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13433         language of the document when inserting error insets.
13434
13435 2001-11-26  André Pönitz <poenitz@gmx.net>
13436
13437         * BufferView_pimpl.[Ch]:
13438         *       CutAndPaste.C:
13439         * buffer.[Ch]:
13440         * lyxcursor.[Ch]:
13441         * lyxfind.C:
13442         * lyxfunc.C:
13443         * lyxrow.[Ch]:
13444         * paragraph.[Ch]:
13445         * paragraph_pimpl.[Ch]:
13446         * sp_spell.C:
13447         * text.C:
13448         * text2.C: reduce header dependencies, introduce type for positions
13449
13450 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * <various>: change to use Alert.h
13453
13454 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13455
13456         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13457         when encountering an unknown token.
13458         (readLyXformat2): Show an error message if there were unknown tokens.
13459
13460 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13461
13462         * BufferView2.C:
13463         * BufferView_pimpl.C:
13464         * buffer.C:
13465         * paragraph.h:
13466         * text.C:
13467         * text2.C: use par->isInset()
13468
13469 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * paragraph_pimpl.h:
13472         * paragraph_pimpl.C: cleanup
13473
13474 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * text2.C (removeRow):
13477         * text.C (setHeightOfRow): remove useless (and costly) call to
13478         getRow.
13479
13480 2001-11-20  Allan Rae  <rae@lyx.org>
13481
13482         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13483         Now need Inset*::checkInsertChar() to return true for appropriate
13484         cases so that the characters in the minibuffer will actually be
13485         inserted.
13486
13487 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * text.C: change the order of the includes.
13490         (workWidth): initialize it at once.
13491         (workWidth): make maxw unsigned
13492         (setHeightOfRow): remove unused variable (inset)
13493         (selectSelectedWord): remove unused variable (inset)
13494         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13495
13496 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13497
13498         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13499         server is not running.
13500         (openConnection):
13501         (closeConnection): add debug info when server is disabled.
13502
13503         * ColorHandler.C (getGCForeground): send debug message to GUI
13504         channel.
13505
13506         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13507
13508         * kbmap.C (bind): modify because return conventions of
13509         kb_sequence::parse have changed.
13510
13511         * kbsequence.C (parse): only ignore spaces and not any stupid
13512         control character. This avoids tests like s[i] <= ' ', which are
13513         guaranteed to fail with 8bit characters and signed chars.
13514         Change return code to string::npos when there have been no error
13515         (0 was a bad idea when error is at first character)
13516
13517 2001-11-14  José Matos  <jamatos@fep.up.pt>
13518
13519         * buffer.h:
13520         * buffer.C (simpleDocBookOnePar): removed unused argument.
13521
13522 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13525         insets which are part of a word. Paragraph::isLetter takes care of
13526         that now. Use Paragraph::isInset to identify insets.
13527         (selectSelectedWord): do not test for hyphenation break.
13528
13529         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13530         that protected spaces are considered as spaces.
13531
13532         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13533         Inset::isLetter.
13534
13535 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13536
13537         * lyxserver.h:
13538         * lyxserver.C: fix it. and small cleanup.
13539
13540 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13541
13542         * BufferView_pimpl.C: use inline helpers
13543
13544         * LaTeXFeatures.h:
13545         * LaTeXFeatures.C: fix typos
13546
13547         * Spacing.h:
13548         * Spacing.C: move spacing_string into class
13549
13550         * ToolbarDefaults.C: move stuff into namespace anon
13551
13552         * layout.h: update enum
13553
13554         * lyxfunc.C: use better debug
13555
13556         * minibuffer.h: fix typo
13557
13558         * debug.h:
13559         * debug.C:
13560         * WorkArea.C: add and use Debug::WORKAREA
13561
13562         * lyxtext.h:
13563         * text.C:
13564         * text2.C: code re-organisation, inline helpers
13565
13566 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13567
13568         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13569         std::vector.empty().
13570
13571 2001-11-09  Allan Rae  <rae@lyx.org>
13572
13573         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13574         '\n's after tables.  Tabular and ERT inset work now makes this no
13575         longer necessary.
13576
13577 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13578
13579         * minibuffer.h:
13580         * minibuffer.C: fix crash, improve drop-down completion
13581
13582 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * lyxserver.h:
13585         * lyxserver.C: invalidate fd's when doing endPipe()
13586
13587 2001-11-08  José Matos  <jamatos@fep.up.pt>
13588
13589         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13590         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13591
13592         * paragraph.h:
13593         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13594
13595 2001-11-07  José Matos  <jamatos@fep.up.pt>
13596
13597         * buffer.h:
13598         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13599         const qualifier.
13600
13601         * buffer.C (sgmlOpenTag):
13602         * buffer.C (sgmlCloseTag): removed debug info.
13603
13604         * buffer.h (sgmlOpenTag):
13605         * buffer.h (sgmlCloseTag): made public.
13606
13607 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * buffer.C (saveParamsAsDefaults):
13610         * lyx_cb.C (MenuLayoutSave): remove
13611
13612         * LyXAction.C (init):
13613         * commandtags.h:
13614         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13615
13616 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13617
13618         * buffer.C (setPaperStuff): removed from here...
13619
13620         * bufferparams.C (setPaperStuff): ... and moved there.
13621
13622 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13623
13624         * minibuffer.h:
13625         * minibuffer.C:
13626         * XFormsView.C: add support for drop-down completion
13627
13628 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13629
13630         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13631         commands.
13632
13633 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13634
13635         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13636         disabled.
13637
13638 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * lyx_main.C: change ref to known bugs
13641
13642 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13643
13644         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13645         to work around older babel problems.
13646
13647 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13648
13649         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13650
13651 2001-10-24  Juergen Vigna  <jug@sad.it>
13652
13653         * tabular-old.C (ReadOld): below variable changes reflected.
13654
13655         * tabular.[Ch]: added ltType struct for longtable header/footer
13656         defines and changed all instances where they are used. Added
13657         future support for double top/bottom rows.
13658
13659 2001-10-24  José Matos  <jamatos@fep.up.pt>
13660
13661         * buffer.h (docbookHandleCaption):
13662         * buffer.C (docbookHandleCaption): removed unused function.
13663         (makeDocBookFile): moved docbook supported version to v4.1.
13664
13665 2001-10-24  José Matos  <jamatos@fep.up.pt>
13666
13667         * tabular.h:
13668         * tabular.C (docbookRow): new function to export docbook code of a row.
13669         (DocBook): now honors the longtable flags.
13670
13671 2001-10-23  José Matos  <jamatos@fep.up.pt>
13672
13673         * LaTeXFeatures.h:
13674         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13675         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13676
13677         * buffer.C (makeLinuxDocFile):
13678         (makeDocBookFile): reworked the preamble, more clean, and with
13679         support for lyx defined entities. Changed the document declaration
13680         to be more XML friendly.
13681
13682         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13683         if we need to output XML that should be done with a filter.
13684
13685 2001-10-22  Juergen Vigna  <jug@sad.it>
13686
13687         * sp_pspell.h (class PSpell): add alive function needed in the
13688         controller to see if the spellchecker could be started.
13689
13690 2001-10-22  Juergen Vigna  <jug@sad.it>
13691
13692         * buffer.C (insertStringAsLines): modify the font for inserting
13693         chars in certain conditions by calling checkInsertChar(font).
13694
13695 2001-10-19  Juergen Vigna  <jug@sad.it>
13696
13697         * text.C (workWidth): use getRow instead of wrong algorithm.
13698         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13699
13700 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * lyxserver.h:
13703         * lyxserver.C:
13704         * lyx_main.h:
13705         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13706
13707 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * text.C (workWidth): do not search for the exact row when
13710         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13711         optimization for big documents.
13712
13713 2001-10-18  Juergen Vigna  <jug@sad.it>
13714
13715         * text.C (workWidth): new function with added Inset * parameter.
13716
13717 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13720
13721         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13722         change return type of getColumnNearX.
13723
13724
13725         * text.C (changeRegionCase): use uppercase/lowercase instead of
13726         toupper/tolower.
13727         (leftMargin):
13728         (rightMargin): simplify code by factoring out the uses of
13729         textclasslist.
13730         (labelFill):
13731         (numberOfHfills):
13732         (setHeightOfRow):
13733         (appendParagraph): use Paragraph::size_type
13734
13735 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13736
13737         * vspace.C (asLatexString): add a missing break
13738
13739 2001-10-15  Herbert Voss  <voss@perce.de>
13740
13741         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13742
13743 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13746         is not available.
13747
13748 2001-10-10  André Pönitz <poenitz@gmx.net>
13749
13750         * lyxfunc.C: removed greek_kb_flag.
13751
13752 2001-10-10  Herbert Voss  <voss@perce.de>
13753
13754         * lyx_main.C: delete global string help_lyxdir.
13755
13756 2001-10-09  Herbert Voss  <voss@perce.de>
13757
13758         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13759
13760         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13761
13762         * lyx_main.C: added global string help_lyxdir.
13763
13764         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13765
13766 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13767
13768         * lyxrc.C (set_font_norm_type): support iso8859-4
13769
13770 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13771
13772         * LaTeX.C (deplog): add another regex for MikTeX
13773
13774 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13775
13776         * lyxrc.C (set_font_norm_type): support iso8859-3
13777
13778 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13781
13782         * LaTeXFeatures.C: remove special case of french and index
13783
13784         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13785         before \begin{document}). This solves several incompatibilities.
13786
13787 2001-10-03  Garst Reese  <reese@isn.net>
13788
13789         * lyx_cb.C: change CheckTex error msg.
13790
13791 2001-10-03  José Matos  <jamatos@fep.up.pt>
13792
13793         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13794
13795 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * .cvsignore: update
13798
13799         * lyx_main.C (commandLineVersionInfo): use new style version info.
13800
13801         * buffer.C (writeFile):
13802         (makeLaTeXFile):
13803         (makeLinuxDocFile):
13804         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13805
13806         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13807
13808         * version.h: update to use stuff in version.C
13809
13810         * version.C.in: new file. Contains version information determined
13811         at compile time. This is a merging of version.h and
13812         version_info.h.in.
13813
13814 2001-10-03  Juergen Vigna  <jug@sad.it>
13815
13816         * BufferView_pimpl.C (update): don't change "dirty" status in
13817         updateInset call.
13818
13819 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * WorkArea.C (c-tor): re-position version string slightly.
13822
13823 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13824
13825         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13826         revert to previous code.
13827
13828         WorkArea.[Ch]: (show, destroySplash): methods removed.
13829
13830         WorkArea.C: rework code so that it's an amalgam of the codes before and
13831         after the splash screen was moved to WorkArea.
13832
13833 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * lyxrc.C (read):
13836         * vspace.C (inPixels):
13837         (lyx_advance):
13838         * kbmap.C (bind):
13839         * buffer.C (insertStringAsLines):
13840         (asciiParagraph): fix types to be large enough
13841
13842         * lyxlex_pimpl.h: change member status from short to int
13843
13844         * layout.h: fix type of endlabeltype
13845
13846         * kbmap.C (bind):
13847         * kbsequence.C (parse): change return type to string::size_type
13848
13849         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13850         variable
13851
13852         * Bullet.C (bulletSize):
13853         (bulletEntry): do not use short ints as parameters
13854
13855         * BufferView2.C (insertLyXFile): change a char to an int.
13856
13857         * WorkArea.C (WorkArea): remove unneeded floats in computation
13858
13859 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13860
13861         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13862
13863         * paragraph.C (asString): Do not ignore newline/hfill chars when
13864         copying to the clipboard.
13865
13866 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13869         after a multi-line inset.
13870
13871 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13872
13873         * paragraph.C (validate): Set NeedLyXFootnoteCode
13874
13875 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13878         and decrease-error to decrease.
13879
13880 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13883         it more readable (should be equivalent)
13884
13885 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13886
13887         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13888
13889 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13890
13891         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13892         of a cursor (row, etc.) after a character has been deleted
13893         (deleteEmptyParagraphMechanism): call the method above on _all_
13894         cursors held by the LyXText when a double space has been
13895         detected/deleted.
13896
13897 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13900         pixmap.
13901         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13902
13903         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13904         background. Use greyOut() and the new show() methods to toggle between
13905         the foreground and background. Add code to remove the splash after
13906         its initial showing.
13907
13908         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13909         (create_forms): no longer call Dialogs::showSplash.
13910
13911 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * .cvsignore: add version_info.h
13914
13915 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13916
13917         * version_info.h.in: new file
13918
13919         * Makefile.am: add version_info.h.in
13920
13921         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13922         version_info.h instead of VERSION_INFO
13923
13924 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13925
13926         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13927         The ERT inset now returns string().
13928
13929 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13930
13931         * lyxtext.h, text.C (selectNextWord): renamed as
13932         selectNextWordToSpellcheck.
13933
13934         * text.C (selectNextWordToSpellcheck): Modified to not select
13935         words inside an ERT inset.
13936
13937 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * lyx_cb.C (MenuLayoutSave): change a bit the question
13940
13941         * sp_base.h: include <sys/types.h>
13942
13943 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13944
13945         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13946
13947 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13948
13949         * several files: fix typos in user-visible strings
13950
13951 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * text2.C (pasteSelection): do not set the selection, since it
13954         will be cleared later. Actually, the intent was to fix the way the
13955         selection was set, but I figured rmoving the code was just as good.
13956
13957 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13958
13959         * FontLoader.C (available): Check if font is available without
13960         loading the font.
13961
13962 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13963
13964         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13965
13966 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13967
13968         * lyxrc.[Ch]: added display_graphics variable and associated code.
13969
13970 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * bufferparams.C (hasClassDefaults): new method. Returns true if
13973         the buffer parameters correspond to known class defaults
13974
13975 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13976
13977         * XFormsView.C (show): set minimum size to the main window.
13978
13979 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * text2.C (copySelection):
13982         (cutSelection):
13983         * lyxfind.C (LyXReplace):
13984         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13985         LyXText::selectionAsString.
13986
13987         * paragraph.C (asString): add "label" argument to the second form
13988
13989         * text2.C (selectionAsString): add "label" argument and pass it to
13990         Paragraph::asString.
13991
13992 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * lyx_main.C (commandLineHelp): remove version information
13995
13996 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13997
13998         * lyx_main.C: add -version commandline option
13999
14000 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * paragraph.h: make the optional constructor arg required instead.
14003         some modifications to other files because of this.
14004
14005         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14006
14007         * lyxserver.C (C_LyXComm_callback): make it static
14008
14009         * lyx_main.C (error_handler): make it static
14010
14011         * lyx_gui.C (LyX_XErrHandler): make it static
14012
14013         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14014
14015         * WorkArea.C: make the extern "C" methods static.
14016
14017         * Makefile.am (lyx_LDADD): simplify
14018
14019 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14020
14021         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14022         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14023
14024         * LyXAction.C (init):
14025         * lyxfunc.C (dispatch): associated code removal.
14026
14027 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14028
14029         * lyxfont.h (isSymbolFont): shut off warning
14030
14031         * text.C (setHeightOfRow):
14032         (getVisibleRow): fix crash with empty paragraphs which have a
14033         bottom line
14034
14035 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14036
14037         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14038         code.
14039
14040 2001-09-04  José Matos  <jamatos@fep.up.pt>
14041         * buffer.C
14042         * buffer.h
14043         * tabular.C (docbook): rename docBook method to docbook.
14044
14045 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14046
14047         * Makefile.am: add dependencies to main.o.
14048
14049 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14050
14051         * FontLoader.C (available): Return false if !lyxrc.use_gui
14052
14053 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14054
14055         * FontInfo.C (query):
14056         * converter.C (view):
14057         * importer.C (Import):
14058         * exporter.C (Export): Can not -> cannot.
14059
14060 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14061
14062         * BufferView_pimpl.C: allow to create index inset even if
14063           string is empty
14064
14065 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14066
14067         * buffer.C (getLists): replace boost::tie code with an explicit pair
14068         as boost::tie can break some compilers.
14069
14070         * iterators.h: Added a std:: declaration to the return type of
14071         ParIterator::size.
14072
14073 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14074
14075         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14076           case.
14077
14078 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14079
14080         * iterators.[Ch]: New files. Provide paragraph iterators.
14081
14082         * buffer.C (changeLanguage): Use paragraph iterators.
14083         (isMultiLingual): ditto
14084
14085         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14086
14087 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14088
14089         * FontLoader.C: Support for cmr font.
14090
14091 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14094         (available): New method.
14095
14096         * FontInfo.C (getFontname): Use scalable fonts even when
14097         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14098         found.
14099
14100 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14101
14102         * converter.C (Formats::view): reverted! Incorrect fix.
14103
14104 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14105
14106         * converter.C (Formats::view): only output the -paper option
14107         if the dvi viewer is xdvi, thereby fixing bug #233429.
14108
14109 2001-08-23  Herbert Voss  <voss@perce>
14110
14111         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14112
14113 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14114
14115         * Spacing.h (Spacing): Set space to Default on in the default
14116         constructor.
14117
14118 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * vc-backend.h (RCS::versionString): add RCS to version
14121         (CVS::versionString): add CVS to version
14122
14123         * vc-backend.C (scanMaster): do not add CVS to version.
14124         (scanMaster): do not add RCS to version
14125
14126         * lyxvc.C (versionString): new method
14127
14128         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14129
14130 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14131
14132         * Spacing.C (set): initialize fval
14133
14134 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14135
14136         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14137         " or \.
14138
14139 2001-08-16  Juergen Vigna  <jug@sad.it>
14140
14141         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14142
14143 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14144
14145         * BufferView_pimpl.C:
14146         * figureForm.C:
14147         * lyxtext.h:
14148         * text2.C: setParagraph takes linespacing now
14149
14150 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * LyxAction.C: add internal LFUN_CITATION_INSERT
14153
14154         * LyXView.C: actually apply fix
14155
14156         * bufferlist.C: fix open non-existent file
14157
14158         * lyxfind.C: fix indentation
14159
14160         * lyxfunc.C: remove unneeded assert, fix typo
14161
14162 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * MenuBackend.C: use "Floatname List"
14165
14166 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14169         when converting LaTeX layout to insetERT.
14170         Generate a non-collapsed float when reading old float
14171
14172 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14175         ERT insets.
14176
14177 2001-08-13  Juergen Vigna  <jug@sad.it>
14178
14179         * text.C (fill): return 0 instead of 20 as this seems to be the more
14180         correct value.
14181
14182 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14183
14184         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14185         lyxrc.font_norm.
14186
14187 2001-08-13  Juergen Vigna  <jug@sad.it>
14188
14189         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14190         casesensitive off.
14191         (SearchBackward): comment out the unlocking of the inset_owner this
14192         should not be needed!
14193
14194 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * Many files: Remove inherit_language, and add latex_language
14197
14198         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14199         collapsible insets.
14200
14201 2001-08-10  Juergen Vigna  <jug@sad.it>
14202
14203         * text.C (prepareToPrint): fixed hfill-width in draw!
14204
14205         * BufferView2.C (selectLastWord): save the selection cursor as this
14206         now is cleared in the function LyXText::clearSelection!
14207
14208 2001-08-08  Juergen Vigna  <jug@sad.it>
14209
14210         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14211         BACKSPACE type functions.
14212
14213         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14214         is only cutted from the document but not put in the cut-buffer, where
14215         still the old stuff should be.
14216
14217         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14218
14219         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14220
14221         * tabular.C (SetWidthOfCell): fixed special case where the width
14222         was not updated!
14223         (LeftLine): handle '|' in align_special.
14224         (RightLine): ditto
14225         (LeftAlreadyDrawed): ditto
14226         (SetWidthOfCell): ditto
14227
14228 2001-08-07  Juergen Vigna  <jug@sad.it>
14229
14230         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14231
14232 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14233
14234         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14235         * lyxlex.[hC]: ditto
14236
14237 2001-08-06  Juergen Vigna  <jug@sad.it>
14238
14239         * text.C (getVisibleRow): fix up row clearing a bit.
14240
14241 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * minibuffer.C: make sure the X server sees the changes in the input.
14244
14245 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * paragraph.C (getFont): split into...
14248         (getLabelFont): this
14249         (getLayoutFont): and this
14250         * paragraph_pimpl.C (realizeFont): calling this
14251
14252         * text2.C (getFont): split into...
14253         (getLayoutFont): this
14254         (getLabelFont): and this
14255         (realizeFont): all three calling this
14256
14257         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14258         files where used.
14259
14260 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14261
14262         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14263
14264 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14265
14266         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14267         layouts from the Quote inset insertion.
14268
14269 2001-08-03  Juergen Vigna  <jug@sad.it>
14270
14271         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14272
14273         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14274         only if status not is already CHANGED_IN_DRAW (second level).
14275
14276         * text.C (draw): don't set the need_break_row when inside an
14277         InsetText LyXText.
14278
14279 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * buffer.C (parseSingleLyXformat2Token): handle more latex
14282         conversion cases.
14283
14284         * bufferview_funcs.[hC]: change function names to
14285         begin with small char, adjust other files.
14286
14287 2001-08-02  André Pönitz <poenitz@gmx.net>
14288
14289         * lyxfunc.C:
14290         BufferView_pimpl.C: remove broken special code for math-greek
14291
14292 2001-08-02  Juergen Vigna  <jug@sad.it>
14293
14294         * BufferView_pimpl.C (update): redone this function so that we
14295         update the text again if there was a CHANGE_IN_DRAW.
14296
14297         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14298         (drawFromTo): added a new internal bool which is used by draw() and
14299         redraw() function.
14300         (general): some cursor drawing problems fixed.
14301
14302 2001-08-01  Juergen Vigna  <jug@sad.it>
14303
14304         * lyxfind.C (LyXFind): fixed
14305         (SearchForward): ditto
14306         (SearchBackward): ditto
14307
14308         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14309         spurius drawing of the cursor in the main area.
14310
14311         * text2.C (status): small fix which could lead to a segfault!
14312         (clearSelection): remove unneeded BufferView param.
14313
14314 2001-08-01  André Pönitz <poenitz@gmx.net>
14315
14316         * lyxfunc.C: small change due to changed mathed interface
14317
14318 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14321
14322 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14323
14324         * lyxfunc.c: fail gracefully if file doesn't exist
14325
14326         * LyXSendto.C:
14327         * buffer.C:
14328         * lyxfunc.C:
14329         * BufferView_pimpl.C: IsDirWriteable() proto changed
14330
14331         * LyXView.C: fix updateWindowTitle() to store the last title
14332
14333 2001-07-31  Juergen Vigna  <jug@sad.it>
14334
14335         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14336         the font (wrong since using of Paragraph::highestFontInRange).
14337
14338         * paragraph.C (highestFontInRange): added a default_size parameter.
14339
14340         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14341         (setHeightOfRow): reformat
14342
14343 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14344
14345         * converter.[hC] + affected files: move to (inital-char)lowercase
14346         function names.
14347
14348         * ParagraphParameters.C (ParagraphParameters): remove commented code
14349
14350         * PainterBase.[Ch]: remove commented code
14351
14352         * LaTeXFeatures.h: add "bool floats" for float.sty
14353
14354         * LaTeXFeatures.C (LaTeXFeatures): init floats
14355         (require): handle float
14356         (getPackages): do it with floats
14357
14358 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14359
14360         * BufferView_pimpl.C (Dispatch): improve handling of
14361         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14362
14363         * commandtags.h: #include lyxfont.h here temporarily to avoid
14364         keybinding bug.
14365
14366         * bufferlist.h: include LString.h here.
14367
14368 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * text2.C (getStringToIndex): new method.
14371
14372 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14373
14374         * *: Reduced header file dependencies all over.
14375
14376 2001-07-30  Baruch Even  <baruch@lyx.org>
14377
14378         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14379
14380 2001-07-29  Baruch Even  <baruch@lyx.org>
14381
14382         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14383
14384 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * ParameterStruct.h (endif): add a default constructor to make
14387         sure that all variables is initialized.
14388
14389         * ParagraphParameters.C (ParagraphParameters): adjust
14390
14391 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14394         index; also, check that there is something to index, and that it
14395         does not span over several paragraphs.
14396         (doubleClick): use WHOLE_WORD_STRICT for double click.
14397
14398         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14399
14400         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14401         scheme.
14402
14403 2001-07-26  Baruch Even  <baruch@lyx.org>
14404
14405         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14406         an InsetFig figure, backwards compatible reading of old figure code.
14407
14408 2001-07-27  Juergen Vigna  <jug@sad.it>
14409
14410         * text2.C: font.realize function adaption.
14411
14412         * text.C (draw): add a warnings lyxerr text if needed.
14413
14414         * layout.C: font.realize function adaption.
14415
14416         * language.C: add inherit_language and implement it's handlings
14417
14418         * bufferview_funcs.C (StyleReset): remove language parameter from
14419         font creation (should be language_inherit now).
14420
14421         * bufferparams.C (writeFile): handle ignore_language.
14422
14423         * paragraph.C (getFontSettings): the language has to be resolved
14424         otherwise we have problems in LyXFont!
14425
14426         * lyxfont.C (lyxWriteChanges): added document_language parameter
14427         (update): removed unneeded language parameter
14428
14429         * paragraph.C (validate): fixed wrong output of color-package when
14430         using interface colors for certain fonts in certain environments,
14431         which should not seen as that on the final output.
14432
14433 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * BufferView_pimpl.C:
14436         * Thesaurus.h:
14437         * Thesaurus.C:
14438         * Makefile.am:
14439         * commandtags.h:
14440         * LyXAction.C: add thesaurus support
14441
14442         * lyxfind.h:
14443         * lyxfind.C: add "once" parameter, for thesaurus, to not
14444           move to the next match
14445
14446 2001-07-26  Juergen Vigna  <jug@sad.it>
14447
14448         * lyxfont.C (realize): honor ignore_language too!
14449         (resolved): ditto.
14450
14451         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14452
14453         * text.C (draw): one place more for ignore_language to not draw
14454         itself!
14455
14456 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14459
14460 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14463         the minipage conversion problem.
14464
14465 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14468         insert an inset.
14469
14470 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * BufferView.h: don't forward declare WorkArea
14473
14474         * BufferView.C: don't include WorkArea.h
14475
14476 2001-07-25  André Pönitz <poenitz@gmx.net>
14477
14478         * commandtags.h:
14479         * LyXAction.C:
14480         * lyxfunc.C:  new LFUN 'math-space'
14481
14482         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14483
14484 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * text2.C (toggleInset): call open/close
14487
14488 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14489
14490         * lyxfunc.C (dispatch): add debug for the disabled case
14491
14492         * font.C (buttonText): make similar to rectText
14493
14494         * buffer.C (readInset): comment out parsing of insetlist and
14495         insttheorem
14496
14497         * PainterBase.C (rectText): small correction
14498
14499         * BufferView_pimpl.C: comment out insettheorem and insetlist
14500         * LyXAction.C: ditto
14501         * commandtags.h: ditto
14502
14503 2001-07-24  Juergen Vigna  <jug@sad.it>
14504
14505         * text.C (draw): honor the ignore_language.
14506
14507         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14508
14509 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14512         char inset.
14513
14514 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14515
14516         * lyxtext.h: remove unused (and unimplemented) methods
14517
14518 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14519
14520         * text.C (getVisibleRow): honor background color
14521
14522         * PainterBase.h:
14523         * Painter.h: remove default color argument for fillRectangle
14524
14525         * text.C (backgroundColor): new method
14526
14527 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * text.C (getVisibleRow): adjust
14530
14531         * font.[Ch] (rectText): new method, metrics
14532         (buttonText): new method, metrics
14533
14534         * PainterBase.[hC]: make rectText and buttonText always draw and take
14535         fewer paramteres.
14536
14537 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14538
14539         * ToolbarDefaults.C (read):
14540         * MenuBackend.C (read): allow escaping in all strings
14541
14542         * BufferView_pimpl.C (insertAndEditInset): new method.
14543         (Dispatch): use insertAndEditInset whenever appropriate.
14544
14545         * BufferView_pimpl.C (insertNote): removed
14546
14547         * BufferView_pimpl.C (smartQuote): new method, moved from
14548         BufferView; if an insetquote cannot be inserted, insert a '"'
14549         character instead.
14550
14551         * BufferView2.C: remove insertCorrectQuote();
14552
14553         * lyxfunc.C (getStatus): Add support for all remaingin
14554         inset-insert lfuns.
14555
14556         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14557
14558         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14559         command (necessary to pass " as parameter of self-insert.
14560
14561         * text.C (selectWordWhenUnderCursor):
14562         (selectWord): add word_location parameter
14563         (selectWordWhenUnderCursor): same + remove special code for word
14564         boundary.
14565         (selectNextWord): use kind() to guess type of insetspecialchar,
14566         not latex().
14567
14568         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14569         (insertErtContents): create ert insets as collapsed.
14570         (readInset): better compatibility code for Info inset.
14571
14572 2001-07-20  Juergen Vigna  <jug@sad.it>
14573
14574         * lyxfunc.C (dispatch): use always LyXFind now!
14575
14576         * text2.C (init): add a reinit flag so that the LyXText can be
14577         reinited instead of deleted and reallocated (used in InsetText).
14578
14579         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14580
14581         * text.C: ditto
14582
14583         * text2.C: ditto
14584
14585 2001-07-18  Juergen Vigna  <jug@sad.it>
14586
14587         * text.C (selectNextWord): handle insets inside inset by calling
14588         always the bv->text functions so that we can go up the_locking_inset!
14589
14590         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14591         in strange locations when inside an inset!
14592
14593         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14594         handling to include insets.
14595
14596         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14597
14598 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14599
14600         * LyXAction.C (init):
14601         * commandtags.h:
14602         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14603         LIGATURE_BREAK, since the name is so stupid.
14604
14605 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14606
14607         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14608         InsetInfos.
14609
14610         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14611
14612         * sp_form.[Ch]: remove.
14613
14614         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14615
14616         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14617         InsetInfo.
14618
14619         * src/buffer.C (readInset): ditto.
14620
14621 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14622
14623         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14624         menuSeparator(), endOfSentenceDot(), ldots() and
14625         hyphenationPoint(), which are therefore removed.
14626         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14627
14628         * LyXAction.C (init):
14629         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14630
14631         * paragraph.C (getWord): removed.
14632
14633         * BufferView_pimpl.C (Dispatch): use last word or selection for
14634         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14635
14636         * lyx_main.C (queryUserLyXDir): do not ask before creating
14637         user_dir, except if it has been named explicitely.
14638
14639 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14640
14641         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14642         a document of zero size.
14643
14644 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14647         approriately in the c-tor and in require().
14648         (getPackages): output the appropriate LaTeX for natbib support.
14649
14650         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14651         variables "use_natbib" and "use_numerical_citations" when reading the
14652         LyX file.
14653         (readInset): read the various natbib cite commands.
14654         (validate): white-space change.
14655
14656         * bufferparams.[Ch]: new variables "bool use_natbib" and
14657         "bool use_numerical_citations".
14658         (writeFile): output them in the LyX file.
14659
14660 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14661
14662         * lyxfunc.C (getStatus): add support for all the inset insertion
14663         commands.
14664
14665         * text2.C (insertInset):
14666         * paragraph.C (insetAllowed):
14667         * BufferView_pimpl.C (insertInset): update to take in account the
14668         renaming of insertInsetAllowed
14669
14670         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14671
14672         * text2.C (getInset): new method. returns inset at cursor position.
14673
14674         * BufferView_pimpl.C (Dispatch): changes because of this.
14675
14676         * LyXAction.C (init): rename open-stuff to inset-toggle.
14677
14678         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14679
14680         * text2.C (toggleInset): renamed from openStuff; use
14681         Inset::open().
14682
14683 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14684
14685         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14686
14687         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14688
14689 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * buffer.C (readLyXformat2): Add filename to the error dialog
14692
14693 2001-07-18  Juergen Vigna  <jug@sad.it>
14694
14695         * tabular.C (GetCellNumber): put an assert here instead of the check!
14696
14697 2001-07-17  Juergen Vigna  <jug@sad.it>
14698
14699         * BufferView_pimpl.C (toggleSelection): adapted too.
14700
14701         * text.C (selectNextWord): adapted for use with insets.
14702         (selectSelectedWord): ditto
14703
14704 2001-07-17  Juergen Vigna  <jug@sad.it>
14705
14706         * sp_spell.C (PSpell): fix initialitation order.
14707
14708 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14709
14710         * paragraph.C: spacing
14711
14712 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14713
14714         * sp_spell.C: repair language selection for pspell
14715
14716 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14717
14718         * lyxfunc.h: change more methods to begin with lower char.
14719
14720 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14721
14722         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14723         for unknown layouts.
14724
14725 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14726
14727         * buffer.C (readLyXformat2): Generate an error dialog if there are
14728         unknown layouts.
14729
14730 2001-07-16  Juergen Vigna  <jug@sad.it>
14731
14732         * sp_spell.C: always compile ISpell part.
14733
14734         * lyxrc.C: added use_pspell entry and it's handling.
14735
14736 2001-07-13  Juergen Vigna  <jug@sad.it>
14737
14738         * sp_spell.C: removed double includes.
14739
14740 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14741
14742         Consistent use of Lsstream.h:
14743         * Lsstream.h: added using std::stringstream for consistencies sake.
14744
14745         * buffer.C: removed using std::stringstream
14746
14747         * lyxfont.C (stateText):
14748         * paragraph.C (asString):
14749         * text.C (selectNextWord, selectSelectedWord):
14750         * text2.C (setCounter):
14751         * vspace.C (asString, asLatexString):
14752         std::ostringstream -> ostringstream.
14753
14754 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14755
14756         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14757         * commandtags.h: add LFUN_HELP_ABOUTLYX
14758         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14759
14760 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14761
14762         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14763         cursorToggle()
14764         * lyx_gui_misc.C: remove spellchecker
14765         * lyxfunc.C: showSpellchecker
14766         * sp_base.h: added
14767         * sp_ispell.h: added
14768         * sp_pspell.h: added
14769         * sp_spell.C: added
14770         * sp_form.[Ch]: removed
14771         * spellchecker.[Ch]: removed
14772
14773 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14774
14775         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14776         is set.
14777         (simpleTeXSpecialChars): Simply print the input character without
14778         any special translation if pass_thru is set.
14779
14780         * layout.h: Added bool pass_thru to layout class for being able to
14781         implement pass through of a paragraph for Literate Programming.
14782
14783         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14784         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14785         * layout.C (Read): add "passthru" to list of layout tags and add
14786         code to set the pass_thru boolean when it is read.
14787
14788 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14789
14790         * trans_decl.h: remove allowed from KmodInfo
14791
14792         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14793         remove allowed code
14794         (Load): adjust
14795
14796         * paragraph_pimpl.C (erase): use boost::prior
14797
14798         * Painter.C (text): use data() instead of c_str() when length is
14799         also provided.
14800         * WorkArea.C (putClipboard): ditto
14801         * font.h (width): ditto
14802
14803         * BufferView2.C: use it-> instead of (*it). for iterators
14804         * texrow.C: ditto
14805         * paragraph_pimpl.C: ditto
14806         * paragraph.C: ditto
14807         * minibuffer.C: ditto
14808         * language.C: ditto
14809         * kbmap.C: ditto
14810         * encoding.C: ditto
14811         * counters.C: ditto
14812         * converter.C: ditto
14813         * chset.C: ditto
14814         * Variables.C: ditto
14815         * TextCache.C: ditto
14816         * MenuBackend.C: ditto
14817         * LyXAction.C: ditto
14818         * LColor.C: ditto
14819         * FloatList.C: ditto
14820         * DepTable.C: ditto
14821         * ColorHandler.C (LyXColorHandler): ditto
14822
14823 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14826
14827         * text2.C (openStuff): reintroduce this method (which had been
14828         nuked in NEW_INSETS frenzy).
14829
14830         * lyxfunc.C (Dispatch): when an action has not been handled, use
14831         its name in the error message, not its number.
14832
14833         * paragraph.C (inInset): change method name to begin with lowercase.
14834
14835         * undo_funcs.C:
14836         * text2.C: updates because of this.
14837
14838 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * ToolbarDefaults.C (add): add spaces in error message
14841
14842 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14843
14844         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14845         (readLyXformat2): rename return_par to first_par, use lyxlex's
14846         pushToken and remove the manual push handling.
14847         (parseSingleLyXformat2Token): add another ert comp. variable:
14848         in_tabular, rename return_par to first_par. handle newlines better
14849
14850 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14853
14854 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * text2.C (getParFromID): removed
14857
14858         * buffer.C (getParFromID): new method moved form lyxtext.
14859         * BufferView2.C (insertErrors): adjust
14860         (setCursorFromRow): adjust
14861         * BufferView_pimpl.C (restorePosition): adjust
14862         * lyxfunc.C (Dispatch): adjust
14863         * undo_funcs.C (textUndo): adjust
14864         (textRedo): adjust
14865         (textHandleUndo): adjust
14866         (textHandleUndo): adjust
14867
14868 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * buffer.C: up' the LYX_FORMAT
14871
14872         * lyxfont.h: turn NO_LATEX on as default
14873
14874         * buffer.C (insertErtContents): new methods of tex style compability.
14875         (parseSingleLyXformat2Token): use it several places.
14876         * tabular.C (OldFormatRead): and here
14877
14878 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * text2.C: remove some commented code.
14881         reindent file.
14882
14883         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14884         * trans.C: changes because of the above.
14885
14886 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14887
14888         * text2.C (setCounter): Fix counters bug with bibliography layout.
14889
14890 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14893         own member functions
14894         (simpleTeXSpecialChars): ditto
14895
14896 2001-07-06  Juergen Vigna  <jug@sad.it>
14897
14898         * a lot of files: changed the access to LyXText::status and the
14899         call of undo-functions.
14900
14901         * undo.[Ch]: added a inset_id to the undo informations.
14902
14903         * undo_funcs.[Ch]: added and moved here all undo functions.
14904
14905         * lyxtext.h: give the status enum a weight, made status_ a private
14906         variable and made accessor functions for it, removed the whole bunch
14907         of undo-functions as they are now in their own file, make some
14908         functions publically available. Added function ownerParagraph with
14909         int parameter.
14910
14911         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14912         made InInset() a const function, added getParFromID() function.
14913
14914         * buffer.[Ch]: added const version for inset_iterator functions,
14915         added getInsetFromID() function.
14916
14917         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14918         changed undo functions for new version.
14919
14920 2001-07-05  Juergen Vigna  <jug@sad.it>
14921
14922         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14923         unknow mechanism does not call the proper constructor but only this
14924         one also if I request the other!?
14925
14926 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14927
14928         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14929
14930         * text2.C (LyXText): use initialization lists.
14931
14932         * lyxtext.h (Selection): initialize set_ and mark_
14933         (init): remove method
14934
14935 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14936
14937         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14938
14939 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14940
14941         * screen.[Ch]: change method names to begin with lowercase
14942
14943         * BufferView_pimpl.C (updateScrollbar): simplify further and
14944         hopefully make it a bit faster.
14945
14946 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14949         calling directly xforms functions.
14950
14951         * Painter.C (Painter):
14952         * lyx_cb.C (MenuWrite):
14953         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14954         fl_display.
14955
14956         * lyx_gui.C: remove bogus guiruntime extern declaration.
14957
14958 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14961         in NEW_INSETS
14962         (redoDrawingOfParagraph): ditto
14963         (redoParagraphs): ditto
14964         (cutSelection): don't create a object for CutAndPaste use the
14965         static method directly
14966         (pasteSelection): ditto
14967
14968         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14969         LyXview (+ rename)
14970
14971 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14972
14973         * modifications to some other files because of this.
14974
14975         * Makefile.am (lyx_SOURCES): add XFormsView
14976
14977         * XFormsView.[Ch]: new files
14978
14979         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14980         the main window. Move the gui dependent stuff to XFormsView
14981
14982 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14983
14984         * tabular.C (GetCellInset): update cur_cell also in the row/col
14985         version of this function.
14986
14987         * lyxfunc.C: no need to include figure_form.h here.
14988
14989         * FontLoader.h:
14990         * lyxfunc.h:
14991         * lyxscreen.h:
14992         * text2.C:
14993         * lyxvc.C: no need to include forms.h here.
14994
14995 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14998
14999         * lyxfunc.C (Dispatch):
15000         * Spacing.C (set):
15001         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15002         constructor argument.
15003
15004 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15005
15006         * paragraph.C (Paragraph): dont't clear, and just set layout.
15007         (makeSameLayout): use params's copy contructor.
15008
15009         * ParagraphParameters.[Ch] (makeSame): delete method
15010
15011 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15012
15013         * Variables.[Ch]: fix indentation, rename set to isSet
15014
15015 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * lyxfunc.C (Dispatch): fix typo
15018
15019 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15022         upper_bound.
15023
15024         * bufferlist.C: include assert.h for emergencyWrite().
15025
15026 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15029           give up at last (bug #425202) !
15030
15031 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15032
15033         * lyx_gui_misc.C:
15034         * sp_form.h:
15035         * sp_form.C:
15036         * spellchecker.h:
15037         * spellchecker.C: strip spellchecker options and bring up
15038           preferences tab instead
15039
15040 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15043         the istringstream constructor
15044
15045 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * paragraph.C (getLayout): fix return value
15048
15049         * paragraph.h: do not declare getLayout as inline.
15050
15051         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15052
15053 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15054
15055         * lyxcursor.h (operator<): new func
15056         (operator>): new func
15057         (operator>=): new func
15058         (operator<=): new func
15059
15060         * text.C (changeCase): use selection.start and selection.end
15061         (changeRegionCase): require from to be <= to. Require par to be a
15062         valid paragraph.
15063
15064         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15065
15066 2001-06-27  Juergen Vigna  <jug@sad.it>
15067
15068         * text.C (cursorLeftOneWord): changed to return the cursor and added
15069         overlay with BufferView * parameter which calls this one.
15070         (getWord): added
15071         (selectWord): use new getWord function.
15072         (changeCase): renamed from changeWordCase as and extended to work
15073         also on selections.
15074
15075         * lyxtext.h: added enum word_location
15076
15077         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15078         changeCase as this operates now also on selections.
15079
15080 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15081
15082         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15083
15084         * many files: send debug output to Debug::INFO instead of
15085         Debug::ANY.
15086
15087         * converter.C (View):
15088         (Convert):
15089         (Move): send debug output to Debug::FILES instead of console.
15090
15091 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15092
15093         * lyxfunc.C (getStatus): use func_status
15094
15095         * func_status.h: new header, describing the results of
15096         LyXFunc::getStatus;
15097
15098         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15099         LFUN_MATH_HALIGN.
15100
15101 2001-06-25  The LyX Project  <jug@sad.it>
15102
15103         * buffer.C (sgmlOpenTag):
15104         (sgmlCloseTag):
15105         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15106
15107 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15108
15109         * text2.C: remove some dead code
15110
15111         * tabular.C (GetCellInset): store the last cell checked (gotten)
15112
15113         * tabular.h: add the helper for the speedup
15114
15115         * lyxtext.h: remove some dead code
15116
15117 2001-06-26  The LyX Project  <Asger>
15118
15119         * paragraph.C: Change export to LaTeX of alignment to
15120         \begin{center} and family for better roundtrip work with reLyX.
15121
15122         * Tune the math drawing a bit.
15123
15124 2001-06-25  The LyX Project  <Asger>
15125
15126         * LColor.C (LColor): New color for math background. New color
15127         for buttons.
15128
15129 2001-06-25  The LyX Project  <jug@sad.it>
15130
15131         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15132
15133         * lyxfunc.C (Open):
15134         * bufferlist.C (newFile): do not restrict to files ending with
15135         .lyx
15136
15137         * BufferView_pimpl.C (MenuInsertLyXFile):
15138
15139 2001-06-24  The LyX Project  <jug@sad.it>
15140
15141         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15142         of compare_no_case
15143
15144 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15145
15146         * lyxtext.h: rename most methods to begin with a small char.
15147         Lots of changes because of this.
15148
15149         * paragraph.C (Paragraph): do not call fitToSize
15150         (erase): call Pimpl::erase
15151         (insertChar): call Pimpl::insertChar
15152         (insertInset): call Pipl::insertInset
15153         (breakParagraph): do not call fitToSize
15154         (breakParagraphConservative): do not call fitToSize
15155         (fitToSize): remove method
15156
15157         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15158
15159 2001-06-24  The LyX Project  <Asger>
15160
15161         * Fix Qt compilation^2
15162
15163 2001-06-24  The LyX Project  <jug@sad.it>
15164
15165         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15166         depthHook(getDepth()-1).
15167
15168         * paragraph.h:
15169         * ParagraphParameters.h:
15170         * ParameterStruct.h: change type of depth to unsigned int ==
15171         depth_type. Many adaptations to other files before of that.
15172
15173 2001-06-24  The LyX Project  <Asger>
15174
15175         * Fix Qt compilation.
15176
15177 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15178
15179         * paragraph.h: renamed several methods to begin with small letter.
15180         several changes to many parts of the code because of this.
15181
15182 2001-06-23  The LyX Project  <jug@sad.it>
15183
15184         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15185         rewritten to discard all double spaces when KeepEmpty is off
15186         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15187         to only handle newlines but not fiddle with spaces and friends.
15188
15189         * lyxfunc.C (MenuNew): when doing 'new from template', use
15190         template_path as default directory
15191
15192 2001-06-23  The LyX Project  <Asger>
15193
15194         * Clean-up of header file includes all over
15195         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15196
15197 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * paragraph.h: renamed from lyxparagraph.h
15200
15201 2001-06-23  Asger  <lyx@violet.home.sad.it>
15202
15203         * Buffer.h: Removed Buffer::resize
15204         * BufferList.h: Removed BufferList::resize
15205         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15206         the document lazily when we change the width, or the font settings.
15207
15208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15209
15210         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15211
15212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15213
15214         * buffer.h: remove out of date comment
15215
15216 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * lyxscreen.h:
15219         * screen.C: fix "theoretical" GC leak
15220
15221 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * LaTeX.C (scanAuxFile):
15224         (deplog): remove trailing \r when reading stream (useful under
15225         win32)
15226
15227 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15228
15229         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15230         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15231         and BufferView::theLockingInset(Inset*), so should use them and not
15232         access bv_->text->the_locking_inset directly.
15233
15234         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15235
15236 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * Makefile.am:
15239         * tex-defs.h: remove old unused file
15240
15241 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15242
15243         * BufferView_pimpl.C: fix typo, remove minibuffer message
15244           when buffer has loaded
15245
15246 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15247
15248         * lyxfunc.C (Dispatch): use stringstream
15249         (MenuNew): use stringstream
15250         (Open): use stringstream
15251
15252         * importer.C (Import): use stringstream
15253
15254         * bufferview_funcs.C (CurrentState): use stringstream
15255
15256         * LaTeX.C (run): use stringstream
15257
15258         * BufferView_pimpl.C (savePosition): use stringstream
15259         (restorePosition): use stringstream
15260         (MenuInsertLyXFile): use stringstream
15261
15262 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15263
15264         * BufferView.C:
15265         * Bullet.C:
15266         * ColorHandler.C:
15267         * FontInfo.C:
15268         * FontLoader.C:
15269         * LColor.C:
15270         * LaTeXFeatures.C:
15271         * Painter.C:
15272         * gettext.C:
15273         * lyx_gui_misc.C:
15274         * lyxserver.C:
15275         * vspace.C: removed // -*- C++ -*- as first line.
15276
15277         * lyxfind.h:
15278         * version.h: added // -*- C++ -*- as first line.
15279
15280 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15283
15284         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15285         of string
15286
15287 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15288
15289         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15290         of floats.
15291
15292 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * gettext.C: include LString.h even when --disable-nls is on.
15295
15296 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15297
15298         * converter.h (Get): changed argument type from int to
15299         FormatList::size_type to avoid unnecessary conversion.
15300
15301         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15302         before using it.
15303
15304 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15305
15306         * gettext.h: include LString.h even when --disable-nls is on.
15307
15308 2001-06-07  Juergen Vigna  <jug@sad.it>
15309
15310         * text.C (BreakAgain): subst spaces with tabs.
15311
15312         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15313         (resizeInsetsLyXText): set force on resizeLyXText.
15314
15315 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * gettext.h (gettext_init):
15318         (locale_init): use a real definition instead of a macro
15319
15320 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * Bufferview_pimpl.C:
15323         * LColor.h:
15324         * LColor.C: further lcolor tidies
15325
15326 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * BufferView_pimpl.C (updateScrollbar): simplify.
15329
15330         * BufferView2.C: don't include insets/insetinfo.h, change
15331         prototype for insertInset and call the Pimpl version. let
15332         updateInset call Pimpl version.
15333
15334         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15335         gotoInset to BufferView::Pimpl
15336
15337 2001-06-01  Juergen Vigna  <jug@sad.it>
15338
15339         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15340         inside a LockingInset (is the update needed at all?).
15341
15342 2001-05-31  Juergen Vigna  <jug@sad.it>
15343
15344         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15345         here not the old one otherwise how should we compare it afterwards
15346         if it's the same!
15347
15348 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15349
15350         * lyxfont.C:
15351         * tabular.C:
15352         * tabular-old.C:
15353         * FontInfo.C: bring C functions into global namespace when
15354         necessary
15355
15356 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * LString.h: make sure config.h has been loaded before LString.h.
15359
15360         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15361         (one for each char read by EatLine!).
15362
15363         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15364         variables.
15365
15366 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15367
15368         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15369         to the same as the par we break from
15370
15371 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15374
15375         * MenuBackend.C (expand): also create menu entries for wide
15376         versions of the floats.
15377
15378         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15379
15380         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15381
15382         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15383         frontends/Makefile.am
15384
15385         * text2.C: adjust
15386         * text.C: adjust
15387
15388
15389         * tabular.C (getTokenValue): add std::
15390
15391         * tabular-old.C (getTokenValue): add std::
15392         (getTokenValue): ditto
15393         (getTokenValue): ditto
15394
15395         * screen.C (ToggleSelection): adjust
15396
15397         * lyxtext.h: put selection cursors inside a Selection struct.
15398
15399         * lyxfunc.C (moveCursorUpdate): adjust
15400
15401         * lyxfont.C (latexWriteStartChanges): add std::
15402
15403         * lyxfind.C: adjust
15404
15405         * font.h: delete with(char const *, LyXFont const &)
15406
15407         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15408
15409         * FontInfo.C (getFontname): add std::
15410
15411         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15412         (workAreaButtonPress): adjust
15413         (tripleClick): adjust
15414         (update): adjust
15415         (moveCursorUpdate): adjust
15416         (Dispatch): adjust
15417
15418         * BufferView2.C (gotoInset): adjust
15419
15420 2001-05-30  Juergen Vigna  <jug@sad.it>
15421
15422         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15423         to check pspell I add this as default as I now have new pspell
15424         libraries and they seem to use this.
15425
15426 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15427
15428         * text2.C (CutSelection): make the cursor valid before the call to
15429         ClearSelection.
15430
15431 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15434         relied on 0 terminated strings and other horrors. Bug found due to
15435         the new assert in lyxstring!
15436
15437         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15438         KP_ keys.
15439
15440 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15443         to latinkeys.bind.
15444
15445         * lyxfunc.C (processKeySym): change method of getting to the
15446         self-insert char.
15447
15448         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15449         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15450         * BufferView_pimpl.[Ch]: here as private methods.
15451
15452 2001-05-28  Juergen Vigna  <jug@sad.it>
15453
15454         * text.C (SetHeightOfRow): added the update() call again as it is
15455         needed to initialize inset dimensions!
15456
15457 2001-05-16  Juergen Vigna  <jug@sad.it>
15458
15459         * text2.C (SetCharFont): Add new function with BufferView * and
15460         bool toggleall parameters for setting insets internal fonts.
15461         (SetFont): Freeze the undo as we may change fonts in Insets and
15462         all this change should be inside only one Undo!
15463
15464         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15465         setting font's in insets as for them we have the SetFont function!
15466
15467 2001-05-15  Juergen Vigna  <jug@sad.it>
15468
15469         * text2.C (ClearSelection): to be sure we REALLY don't have any
15470         selection anymore!
15471
15472         * tabular.C (TeXCellPreamble): fixed the left border problem for
15473         multicolumn cells.
15474
15475 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15476
15477         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15478         dependancy file
15479
15480 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15483         LFUN_BREAKPARAGRAPH.
15484
15485         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15486         help test to "internal only", similar for LFUN_INSERT_URL
15487
15488         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15489         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15490         auto_region_delete and deadkeys.
15491
15492 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15493
15494         * LColor.h:
15495         * LColor.C: remove some dead entries, tidy a little
15496
15497 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15500         commented code.
15501         (Dispatch): implement LFUN_ESCAPE
15502
15503         * commandtags.h: add LFUN_ESCAPE
15504
15505         * LyXAction.C (init): add entry for LFUN_ESCAPE
15506
15507         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15508         Remove commented code.
15509         (insertNote): moved here
15510         (open_new_inset): moved here
15511
15512         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15513         BufferView_pimpl
15514
15515 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15516
15517         * kbmap.C (findbinding): clean it up and make it work correctly.
15518
15519         * lyx_main.C (init): do not pass argc and argv as parameters
15520
15521 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15522
15523         * buffer.C: fix path for OS/2 & Win32
15524
15525         * lyx_gui.C:
15526         * lyx_main:
15527         * lyx_main.C: Added os:: class.
15528
15529         * os2_defines.h: update
15530
15531 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15534         better by trying again with reduced state.
15535
15536 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * lyxrc.C (read): print error about invalid key sequence only when
15539         debugging (because not all latinX keysyms are known to some X
15540         servers)
15541
15542         * kbsequence.C (getiso): add a few std:: qualifiers
15543         (getiso): comment out extra return statement.
15544
15545 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15548         handling.
15549         (Dispatch): enhance the accent inset a bit. (not perfect)
15550
15551 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15554
15555 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * bufferlist.C (emergencyWrite): fix assert() call
15558
15559 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15560
15561         * text.C (InsertChar): Added trivial patch to only send the "you
15562         can not do multiple spaces this way" message once during a
15563         session.
15564
15565 2001-05-08  Baruch Even  <baruch@lyx.org>
15566
15567         * Makefile.am: Changed order of libraries to get LyX to link properly
15568         with the gnome frontend.
15569
15570 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * LaTeXFeatures.h: add a std:: qualifier
15573
15574 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15575
15576         * paragraph.C (String): use stringstream
15577
15578 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15579
15580         * paragraph.C (writeFile): remove footflag arg
15581
15582         * buffer.C (makeLaTeXFile): use stringstream
15583         (latexParagraphs): remove footnot gurba
15584
15585         * LaTeXFeatures.C (getPackages): use stringstream
15586         (getMacros): likewise
15587         (getTClassPreamble): likewise
15588         (getFloatDefinitions): new method
15589
15590         * paragraph.C (writeFile): reindent
15591         (Erase): reindent
15592
15593         * WorkArea.h: revert the xpos + etc changes.
15594
15595         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15596
15597         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15598
15599         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15600         (pasteSelection): likewise
15601         * text2.C (CreateUndo): likewise
15602
15603 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15604
15605         * minibuffer.C (peek_event): temporarily reduce the functionality
15606         of the minibuffer (to allow args on lfuns)
15607
15608         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15609         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15610
15611         * buffer.C (readInset): add compability reading of old float
15612         lists, add reading of new style float list.
15613         (readInset): avoid reevaluation of inscmd.getCmdName()
15614         (getLists): reindent
15615
15616         * MenuBackend.C (MenuItem): implement parsing of
15617         md_floatlistinsert and md_floatinsert.
15618         (expand::LastFiles): move initalizaton of iterators out of loop,
15619         avoid reevaluation.
15620         (expand::Documents): introduce typdedef vector<string> Strings,
15621         and use it.
15622         (expand::ExportFormats): introduce typedef vector<Format const *>
15623         Formats, and use it.
15624         (expand): implement FloatListInsert and FloatInsert.
15625
15626         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15627         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15628         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15629
15630         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15631         handling.
15632         (Dispatch::LFUN_FLOAT_LIST): implement
15633
15634 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15635
15636         * LaTeX.C (run): Fix problem with --export code.
15637
15638 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15639
15640         * BufferView.[Ch] (workarea): removed.
15641         (getClipboard) new method; wrapper for workarea()->getClipboard()
15642
15643         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15644         bug.
15645
15646         * WorkArea.h (width, height, xpos, ypos): These methods all
15647         returned the dimensions of the work_area sub-area of WorkArea,
15648         resulting in a position error if the WorkArea were resized. Now
15649         return the dimensions of the entire WorkArea.
15650
15651         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15652
15653 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15654
15655         * LaTeX.C (deplog): correct the syntax of regex reg1
15656
15657 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15658
15659         * undo.C: remove !NEW_INSETS cruft
15660
15661 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15662
15663         * text2.C: remove !NEW_INSETS cruft
15664
15665         * text.C: remove !NEW_INSETS cruft
15666
15667         * tabular.C: remove !NEW_INSETS cruft
15668
15669         * spellchecker.C: remove !NEW_INSETS cruft
15670
15671         * lyxtext.h: remove !NEW_INSETS cruft
15672
15673         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15674
15675         * lyxfunc.C: remove !NEW_INSETS cruft
15676
15677         * lyxfind.C: remove !NEW_INSETS cruft
15678
15679         * lyx_cb.C: remove !NEW_INSETS cruft
15680
15681         * figureForm.C: remove  !NEW_INSETS cruft
15682
15683         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15684
15685         * buffer.[Ch]: remove !NEW_INSETS cruft
15686
15687         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15688
15689         * CutAndPaste.C: remove !NEW_INSETS cruft
15690
15691         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15692
15693         * BufferView2.C: remove !NEW_INSETS cruft
15694
15695         * BufferView.h: remove !NEW_INSETS cruft
15696
15697 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * Lsstream.h: include LString.h before the sstream headers to
15700         fix problem with gcc 2.95.3 and lyxstring
15701
15702 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * lyx_main.C: add using directives when needed for C functions
15705         declared in std:: namespace.
15706
15707 2001-04-27  Juergen Vigna  <jug@sad.it>
15708
15709         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15710         (SetHeightOfRow): comment out the update call should not be needed!
15711
15712 2001-04-13  Juergen Vigna  <jug@sad.it>
15713
15714         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15715         (LyXTabular): tried to minimize operator= operations (and realized
15716         hopfully Lars wish).
15717
15718 2001-04-27  Juergen Vigna  <jug@sad.it>
15719
15720         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15721
15722 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15723
15724         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15725
15726         * buffer.C (readInset): hack to make listof algorithm work
15727
15728         * BufferView_pimpl.C: hack to make listof algorithm work
15729
15730 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15731
15732         * LyXAction.C: removed all !NEW_INSETS cruft
15733         (init): moved lfun_item in method
15734
15735         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15736
15737 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15738
15739         * BufferView2.C (theLockingInset): white space.
15740
15741 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * minibuffer.C: include <iostream>
15744
15745         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15746
15747         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15748
15749         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15750
15751         * text.[Ch] (TransposeChars): new method
15752
15753 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15754
15755         * call message directly through LyXView instead of through LyXFunc
15756         * BufferView2.C: adjust
15757         * BufferView_pimpl.C: adjust
15758         * FontLoader.C: adjust
15759         * buffer.C: adjust
15760         * bufferview_funcs.C: adjust
15761         * converter.C: adjust
15762         * figureForm.C: adjust
15763         * importer.C: adjust
15764         * lyx_cb.C: adjust
15765         * lyx_gui_misc.C: adjust
15766         * lyxfunc.C: adjust
15767         * lyxvc.C: adjust
15768         * text2.C: adjust
15769         + more files in subdirs
15770
15771         * lyxparagraph.h (size): move up int file
15772         (GetLayout): ditto
15773
15774         * adjust all uses of Assert to lyx::Assert.
15775
15776         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15777         lyxfunctional in namespace lyx
15778         * layout.C (hasLayout): ditto
15779         (GetLayout): ditto
15780         (GetLayout): ditto
15781         (delete_layout): ditto
15782         (NumberOfClass): ditto
15783         * converter.C (GetFormat): ditto
15784         (GetNumber): ditto
15785         (Add): ditto
15786         (Delete): ditto
15787         (SetViewer): ditto
15788         * bufferlist.C (getFileNames): ditto
15789         (emergencyWriteAll): ditto
15790         (exists): ditto
15791         (getBuffer): ditto
15792         * MenuBackend.C (hasSubmenu): ditto
15793         (hasMenu): ditto
15794         (getMenu): ditto
15795         * BufferView_pimpl.C (getInsetByCode): ditto
15796
15797 2001-04-18  Juergen Vigna  <jug@sad.it>
15798
15799         * vspace.C (asLatexString): fixed the 100% problem.
15800
15801 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15802
15803         * lyxfunc.C (Dispatch):
15804         * minibuffer.C:
15805         * minibuffer.h: add a few std:: qualifiers
15806
15807 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * minibuffer.[Ch]: reimplement so that commands is initiated and
15810         run from lyxfunc, simplified som handling, and made the completion
15811         and history code for complete. wip.
15812
15813         * lyxfunc.C (processKeySym): call message
15814         (miniDispatch): new temporary method
15815         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15816         (LFUN_MESSAGE): implement
15817         (LFUN_MESSAGE_PUSH): implement
15818         (LFUN_MESSAGE_POP): implement
15819         (initMiniBuffer): the initial/defualt minibuffer message.
15820
15821         * lyxfont.[Ch]: inline some more getters
15822
15823         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15824
15825         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15826
15827         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15828         (AutoSave): use LFUN_MESSAGE
15829         (Reconfigure): ditto
15830
15831         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15832
15833         * figureForm.C: use LFUN_MESSAGE
15834
15835         * converter.C (runLaTeX): use LFUN_MESSAGE
15836
15837         * bufferview_funcs.C: use LFUN_MESSAGE
15838         (Melt): ditto
15839         (changeDepth): ditto
15840
15841         * bufferparams.h: use boost::
15842
15843         * bufferlist.h: inherit privately from noncopyable
15844
15845         * bufferlist.C (loadLyXFile): remove some commented code.
15846
15847         * buffer.C (runChktex): use LFUN_MESSAGE
15848
15849         * ShareContainer.h: inherit privately from noncopyable
15850
15851         * ParagraphParameters.[hC] (depth): inline it.
15852
15853         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15854         methods.
15855         (message): new method
15856         (messagePush): ditto
15857         (messagePop): ditto
15858         (show): init minibuffer
15859         (showState): direct call
15860
15861         * LaTeX.[Ch]: inherit privately from noncopyable
15862         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15863         instead of WriteStatus.
15864
15865         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15866
15867         * BufferView_pimpl.C (buffer): don't init minibuffer
15868         (workAreaButtonPress): use LFUN_MESSAGE
15869         (workAreaButtonRelease): ditto
15870         (savePosition): ditto
15871         (restorePosition): ditto
15872         (MenuInsertLyXFile): ditto
15873         (workAreaExpose): don't init minibuffer
15874         (update): remove commented code, simplify
15875
15876         * BufferView2.C (openStuff): use LFUN_MESSAGE
15877         (toggleFloat): ditto
15878         (menuUndo): ditto
15879         (menuRedo): ditto
15880         (copyEnvironment): ditto
15881         (pasteEnvironment): ditto
15882         (copy): ditto
15883         (cut): ditto
15884         (paste): ditto
15885         (gotoInset): ditto
15886         (updateInset): remove some commented code
15887
15888         * lastfiles.h: inherit privately from noncopyable
15889         * layout.h: ditto
15890         * lyx_gui.h: ditto
15891         * lyx_main.h: ditto
15892         * lyxlex.h: ditto
15893         * lyxlex_pimpl.h: ditto
15894
15895         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15896         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15897         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15898
15899         * LyXAction.h: inherit privately from noncopyable, add methods
15900         func_begin, func_end, returning iterators to the func map.
15901
15902         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15903         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15904         (func_begin): new method
15905         (func_end): new method
15906
15907         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15908         and not)
15909         (copySelection): ditto
15910         (pasteSelection): ditto
15911
15912         * BufferView.C: whitespace change
15913         * BufferView.h: inherit privately from noncopyable
15914
15915 2001-04-16  Allan Rae  <rae@lyx.org>
15916
15917         * tabular-old.C (l_getline):
15918         * spellchecker.C (sc_check_word):
15919         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15920         an unrecognised preprocessor directive.  So ensure they're wrapped.
15921
15922 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15923
15924         * src/exporter.C (Export): Give an error message when path to file
15925         contains spaces.
15926
15927 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * LaTeX.C (deplog): Always check that foundfile exists.
15930
15931 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * lyx_main.h:
15934         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15935
15936 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * tabular.[Ch] (getLabelList): implement new method
15939
15940         * minibuffer.h: comment ouf setTiimer
15941
15942         * minibuffer.C (ExecutingCB): constify res
15943         (peek_event): constify s
15944         (Set): constify ntext
15945         (Init): constify nicename
15946
15947         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15948
15949         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15950         (savePosition): use two params to Minibuffer::Set
15951         (restorePosition): ditto
15952
15953 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15954
15955         * lyx_main.C: include language.h
15956
15957         * Makefile.am (lyx_main.o): add language.h
15958
15959 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15960
15961         * exporter.C:
15962         * paragraph.C:
15963         * screen.C:
15964         * tabular.C:
15965         * CutAndPaste.C: include gettext.h
15966
15967         * lyxfont.h: remove old hack with ON and OFF.
15968
15969         * lyxparagraph.h:
15970         * lyxfont.h: do not include language.h...
15971
15972         * BufferView2.C:
15973         * LaTeXFeatures.C:
15974         * Painter.C:
15975         * bufferview_funcs.C:
15976         * font.C:
15977         * lyxfont.C:
15978         * text.C:
15979         * text2.C:
15980         * trans_mgr.C:
15981         * paragraph.C: ... but do it here instead
15982
15983 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15984
15985         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15986
15987         * tabular.C: small reformat
15988
15989         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15990         NEW_INSETS version
15991         (GetChar): ditto
15992         (BreakParagraph): ditto
15993         (SetOnlyLayout): ditto
15994         (SetLayout): ditto
15995
15996         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15997         with one arg less.
15998
15999         * lastfiles.C: removed most using decl, add std:: where needed
16000
16001         * buffer.C: ws changes
16002
16003         * MenuBackend.C (class compare_format): put into anon namespace
16004         (expand): constify label, names, action, action2
16005         (expand):
16006
16007         * text.C (SingleWidth): constify font
16008         (IsBoundary): constify rtl2
16009         (GetVisibleRow): constify ww
16010
16011         * LaTeX.C (deplog): constify logfile
16012
16013         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16014         start_x, end_x
16015         (workAreaExpose): constify widthChange, heightChange
16016
16017         * lyxrow.C (par): moved
16018         (height): moved
16019         (next): moved
16020         * lyxrow.h: as inlines here
16021
16022         * lyxfont.h (shape): moved from lyxfont.C
16023         (emph): moved from lyxfont.C
16024
16025         * lyxfont.C (LyXFont): use initialization list for all
16026         constructors
16027         (shape): move to lyxfont.h as inline
16028         (emph): move to lyxfont.h as inline
16029
16030
16031 2001-04-04  Juergen Vigna  <jug@sad.it>
16032
16033         * vspace.C: had to include stdio.h for use of sscanf
16034
16035 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16036
16037         * BufferView.h:
16038         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16039         independent of xforms.
16040
16041 2001-04-02  Juergen Vigna  <jug@sad.it>
16042
16043         * spellchecker.C: fixed namespace placing!
16044
16045 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16046
16047         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16048         the LyXParagraph * is 0.
16049
16050 2001-03-29  Juergen Vigna  <jug@sad.it>
16051
16052         * vspace.C: added support for %, c%, p%, l%.
16053         (stringFromUnit): added helper function.
16054         (asLatexString): changed to give right results for the %-values.
16055
16056         * buffer.C: convert the widthp in a width%.
16057
16058 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16059
16060         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16061         figureForm.[Ch].
16062
16063         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16064         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16065
16066         * lyx_cb.[Ch]: see above.
16067
16068         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16069         form1.[Ch].
16070
16071         * form1.[Ch]:
16072         * lyx.[Ch]: replaced by figure_form.[Ch].
16073
16074         * lyx_gui.C:
16075         * lyx_gui_misc.C:
16076         * lyxfunc.C: changed headers associated with above changes.
16077
16078 2001-03-27  Juergen Vigna  <jug@sad.it>
16079
16080         * BufferView_pimpl.C: set the temporary cursor right!
16081
16082 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16083
16084         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16085
16086 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16087
16088         * LString.h: removed "using std::getline"!
16089
16090         * BufferView_pimpl.C (Dispatch): changes due to changes in
16091         InsetInclude::Params.
16092
16093         * buffer.C (tag_name): removed redundant break statements as they were
16094         producing lots of warnings with my compiler.
16095
16096 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16097
16098         * LString.h: add "using std::getline" when using the real <string>.
16099
16100 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16101
16102         * buffer.C: removed bitset usage.
16103         PAR_TAG moved to an anonymous name space.
16104         (tag_name): new funtion, also in the anonymous namespace.
16105         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16106         (makeDocBookFile): clean code. Completed transition from string arrays
16107         to string vectors.
16108         (SimpleDocBookOnePar): code clean.
16109
16110 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16111
16112         * tabular.C: add some comments.
16113
16114 2001-03-22  Juergen Vigna  <jug@sad.it>
16115
16116         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16117         compatibility read a bit and fixed bug with minipage in different
16118         depth.
16119
16120 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16121
16122         * buffer.C (pop_tag): removed.
16123         (push_tag): removed.
16124         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16125         array replaced with vector. Added support for CDATA sections.
16126         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16127         at any nest level.
16128         (makeDocBookFile): XML conformant declaration of CDATA section,
16129         fixed bug related to <emphasis> in the first paragraph char.
16130         (sgmlOpenTag): exclude empty tags.
16131         (sgmlCloseTag): ditto.
16132
16133         * buffer.h (pop_tag): removed.
16134         (push_tag): removed.
16135
16136 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16137
16138         * language.h (Languages): added size_type and size().
16139
16140 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16141
16142         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16143         response on compability reading of minipages. One probliem is that
16144         the old usage of minipages was «flertydig»
16145
16146         * several files here and in subdirs: don't use static at file
16147         scope use anon namespaces instead.
16148
16149 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16150
16151         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16152         LaTeX output. This is necessary for Literate document
16153         processing.
16154
16155 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16156
16157         * buffer.C: insert hfill when needed.
16158
16159         * tabular.C (l_getline): use string::erase, small whitespace change.
16160
16161         * BufferView_pimpl.C: try the anon namespace.
16162         * WorkArea.C: ditto
16163
16164 2001-03-16  Juergen Vigna  <jug@sad.it>
16165
16166         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16167         otherwise it won't open options-dialogs.
16168
16169         * buffer.C: honor pextraWidth(p) on converting minipages.
16170
16171         * tabular.C (l_getline): changed the functions to strip trailing \r.
16172
16173 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16174
16175         * BufferView_pimpl.C:
16176         * minibuffer..C: added "using SigC::slot" declaration.
16177
16178 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16179
16180         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16181
16182         * text2.C: ditto
16183
16184         * text.C: ditto
16185
16186         * paragraph.C: ditto
16187
16188         * lyxtext.h: NO_PEXTRA
16189
16190         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16191
16192         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16193         * ParameterStruct.h: ditto
16194         * ParagraphParameters.h: ditto
16195         * lyxparagraph.h: ditto
16196
16197 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16198
16199         * buffer.C: add compability for minipage alignment.
16200         (latexParagraphs): remove unwanted pextra check.
16201
16202         * several files: remove CXX_WORKING_NAMESPACES
16203
16204         * buffer.C (pop_tag): tie is in namespace boost
16205
16206         * BufferView.h: noncopyable is in namespace boost
16207         * lyxlex.h: ditto
16208         * lyx_main.h: ditto
16209         * lyx_gui.h: ditto
16210         * layout.h: ditto
16211         * lastfiles.h: ditto
16212         * bufferlist.h: ditto
16213         * ShareContainer.h: ditto
16214         * LyXView.h: ditto
16215         * LyXAction.h: ditto
16216         * LaTeX.h: ditto
16217
16218 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16219
16220         * Merging changes from BRANCH_MVC back into HEAD.
16221
16222         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16223
16224 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16225
16226         * BufferView_pimpl.C: change from intl.C
16227
16228         * combox.h:
16229         * combox.C:
16230         * Makefile.am: move combox.*
16231
16232         * form1.h:
16233         * form1.C:
16234         * lyx_gui.C:
16235         * intl.h:
16236         * intl.C: remove dialog (covered by prefs)
16237
16238 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16239
16240         * lyxfunc.C (Dispatch): removed redundant break statement.
16241
16242 2001-03-14  Juergen Vigna  <jug@sad.it>
16243
16244         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16245
16246 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16247
16248         * buffer.C: add hack to fix compability reading of minipages.
16249
16250 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16251
16252         * buffer.C (getLists): Cleanup.
16253
16254 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxfont.C (update): don't honor toggleall on font size.
16257
16258 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * bmtable.c:
16261         * bmtable.h:
16262         * Makefile.am: moved to frontends/xforms/
16263
16264         * lyx_gui_misc.C:
16265         * lyxfunc.C:
16266         * BufferView_pimpl.C: changes for moved mathpanel
16267
16268 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16269
16270         * gettext.h: fix gettext_init() in --disable-nls
16271
16272 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16275
16276 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16277
16278         * lyx.C:
16279         * lyx.h: strip external form
16280
16281 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16282
16283         * BufferView_pimpl.C: add comment, destroySplash()
16284
16285 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * BufferView_pimpl.C:
16288         * LyXAction.C:
16289         * buffer.C:
16290         * commandtags.h:
16291         * lyxfunc.C: use re-worked insetinclude
16292
16293 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16294
16295         * buffer.C: add using std::stringstream.
16296
16297         * lyx_cb.C: readd using std::ios.
16298
16299         * buffer.C: add using std::map.
16300
16301         * BufferView_pimpl.C: add using std::vector.
16302
16303         * ShareContainer.h: add std:: to swap.
16304
16305         * buffer.h: add some typedefs
16306         * buffer.C (getLists): use them
16307         (getLists): renamed from getTocList.
16308         add a counter for the different float types and use it in the
16309         generated string.
16310         (getLists): use the same counter for the NEW_INSETS and the "non"
16311         NEW_INSETS
16312
16313         * lyx_cb.h: remove unused items, includes, using etc.
16314
16315         * ShareContainer.h: remove some commented code, add more comments
16316         and "documentation".
16317
16318 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16319
16320         * buffer.C (getTocList): make the list also when NEW_INSETS is
16321         defined.
16322
16323         * buffer.h: remove TocType
16324
16325         * buffer.C (getTocList): change to return a map<string,
16326         vector<TocItem> >, implement for dynamic number of list.
16327
16328         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16329         * text2.C (PasteSelection): adjust
16330         * CutAndPaste.C (pasteSelection): adjust
16331
16332         * FloatList.C (FloatList): update from the new_insets branch.
16333         * Floating.[Ch]: ditto
16334         * LaTeXFeatures.C: ditto
16335         * buffer.C: ditto
16336         * lyxlex_pimpl.C: ditto
16337
16338         * paragraph.C (Last): remove when NEW_INSETS is defined.
16339
16340         * other file: changes because of the above.
16341
16342 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16343
16344         * lyxparagraph.h: rename next to next_, previous to previous_,
16345         make them private for NEW_INSETS. Rename Next() to next(),
16346         Previous() to previous().
16347
16348         * other files: changes because of the above.
16349
16350 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * BufferView.h:
16353         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16354         problem.
16355
16356 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * main.C (main): pass lyx_localedir to gettext_init().
16359
16360         * gettext.h: remove locale_init and gettext_init macros
16361
16362         * gettext.C (locale_init): new function
16363         (gettext_init): new function
16364
16365         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16366         setlocale().
16367
16368 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16369
16370         * Moved credits to frontends:
16371         * credits.[Ch]: removed
16372         * credits_form.[Ch]: removed
16373         * lyx_gui_misc.C: remove credits stuff
16374         * Makefile.am:
16375
16376 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16377
16378         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16379
16380         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16381         unneeded destructor.
16382
16383         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16384         a standalone pointer again.
16385
16386         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16387
16388 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16389
16390         * Makefile.am:
16391         * filedlg.h:
16392         * filedlg.C:
16393         * LyXAction.C:
16394         * ToolbarDefaults.C:
16395         * bufferlist.C:
16396         * commandtags.h:
16397         * form1.C:
16398         * form1.h:
16399         * lyx_cb.C:
16400         * lyx_cb.h:
16401         * lyxfunc.h:
16402         * lyxfunc.C:
16403         * BufferView_pimpl.C: use new file dialog in GUII
16404
16405         * lyx_cb.h:
16406         * lyx_cb.C: remove LayoutsCB to Toolbar
16407
16408 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16409
16410         * ShareContainer.h (get): add std:: qualifier
16411
16412 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16413
16414         * ShareContainer.h: define a proper ShareContainer::value_type
16415         type (and use typename to please compaq cxx)
16416
16417 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16418
16419         * lyxparagraph.h: move serveral local vars to
16420         ParameterStruct/ParagraphParameters., use ShareContainer in
16421         FontTable., make vars in FontTable private and add getter and
16422         setter.
16423
16424         * paragraph.C: changes because of the above.
16425
16426         * lyxfont.h: remove copy constructor and copy assignment. (the
16427         default ones is ok), move number inside FontBits. move inlines to
16428         lyxfont.C
16429
16430         * lyxfont.C: add number to initializaton of statics, move several
16431         inlines here. constify several local vars. some whitespace
16432         cleanup. Dont hide outerscope variables.
16433
16434         * Spacing.h: add two new constructors to match the set methods.
16435
16436         * ShareContainer.h: new file, will perhaps be moved to support
16437
16438         * ParameterStruct.h: new file
16439
16440         * ParagraphParameters.h: new file
16441
16442         * ParagraphParameters.C: new file
16443
16444         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16445         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16446
16447         * BufferView_pimpl.C: ParagraphParameter changes.
16448         * buffer.C: Likewise.
16449         * bufferview_funcs.C: Likewise.
16450         * text.C: Likewise.
16451         * text2.C: Likewise.
16452
16453 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16454
16455         * lyxfind.C (LyXReplace): do not redefine default argument in
16456         implementation.
16457         (IsStringInText): ditto
16458         (SearchForward): ditto
16459         (SearchBackward): ditto
16460
16461 2001-03-06  Juergen Vigna  <jug@sad.it>
16462
16463         * lyxfind.C (IsStringInText): put parentes around expressions.
16464
16465 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16466
16467         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16468
16469 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16470
16471         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16472
16473         * stl_string_fwd.h: add comment
16474
16475         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16476
16477         * tabular.h:
16478         * tabular.C: remove unused DocBook methods
16479
16480         * intl.C:
16481         * language.C:
16482         * paragraph.C:
16483         * buffer.C:
16484         killed DO_USE_DEFAULT_LANGUAGE
16485
16486 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16487
16488         * lyx_gui.C: do not include language.h.
16489
16490         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16491         arguments in function implementation.
16492
16493 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16494
16495         * BufferView_pimpl.C: add <ctime>
16496
16497 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16498
16499         * BufferView_pimpl.C: add using std::find_if
16500
16501 2001-02-27  José Matos  <jamatos@fep.up.pt>
16502
16503         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16504         by OnlyPath.
16505
16506 2001-02-11  José Matos  <jamatos@fep.up.pt>
16507
16508         * buffer.C (makeDocBookFile): command styles now have a parameter as
16509         "title" by default.
16510
16511 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16512
16513         * layout_forms.[Ch]: removed
16514         * lyx_cb.[Ch]: out character
16515         * lyx_gui.C: out character
16516         * lyx_gui_misc.C: out character
16517         * bufferview_funcs.C: : out character,
16518         added toggleall as parameter in ToggleAndShow
16519
16520 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16521
16522         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16523
16524         * text2.C (SetCurrentFont): Disable number property at boundary.
16525
16526 2001-02-26  Juergen Vigna  <jug@sad.it>
16527
16528         * lyxfunc.C (getStatus): added a string argument override function so
16529         that this is correctly called from LyXFunc::Dispatch if it contains a
16530         do_not_use_argument which is used!
16531         (Dispatch): added check for "custom" export and call appropriate func.
16532
16533 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16534
16535         * lyxrc.C: Add language_command_local, language_use_babel and
16536         language_global_options.
16537
16538         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16539
16540         * buffer.C (makeLaTeXFile): Use language_use_babel and
16541         language_global_options.
16542
16543 2001-02-23  Juergen Vigna  <jug@sad.it>
16544
16545         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16546         which works with LyXText and putted it inside BufferView. Here now we
16547         only call for that part the BufferView::Dispatch() function.
16548
16549         * BufferView.C (Dispatch): added.
16550
16551         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16552         functions which needs to use a LyXText over from LyXFunc.
16553         (MenuInsertLyXFile): added
16554         (getInsetByCode): added
16555         (moveCursorUpdate): added
16556         (static TEXT): added
16557
16558 2001-02-22  Juergen Vigna  <jug@sad.it>
16559
16560         * BufferView_pimpl.C (update): call a status update to see if LyXText
16561         needs it.
16562
16563 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16564
16565         * vc-backend.C (revert): implement for CVS
16566         (getLog): implement for CVS
16567
16568 2001-02-20  Juergen Vigna  <jug@sad.it>
16569
16570         * text2.C (ClearSelection): added BufferView param for inset_owner call
16571
16572         * lyxfunc.C (TEXT): added this function and use it instead of
16573         directly owner->view()-text of getLyXText().
16574
16575 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16576
16577         * src/layout_forms.C: out preamble
16578         * src/layout_forms.h: out preamble
16579         * src/lyx_cb.C: out preamble
16580         * src/lyx_cb.h: out preamble
16581         * src/lyx_gui.C: out preamble
16582         * src/lyx_gui_misc.C: out preamble
16583         * src/lyxfunc.C: connect with guii preamble
16584
16585 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16586
16587         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16588
16589 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16590
16591         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16592         whether to run bibtex.
16593
16594 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16595
16596         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16597
16598 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16599
16600         * Makefile.am (lyx_SOURCES): removed bibforms.h
16601
16602         * vspace.h: doxygen
16603
16604         * text.C (GetVisibleRow): make several local vars const
16605
16606         * tabular.C: small cleanup.
16607
16608         * lyxserver.C (callback): use compare instead of strncmp
16609
16610         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16611         inlines to after class or to paragraph.C
16612
16613         * lyxfont.h: remove friend operator!=
16614
16615         * converter.h: move friend bool operator< to non friend and after
16616         class def.
16617
16618         * combox.h: small cleanup
16619
16620         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16621         to inlines after class def.
16622
16623         * buffer.C (pop_tag): use string operations instead of strcmp
16624
16625         * bmtable.c: doxygen, small cleanup
16626
16627         * LaTeX.h: remove friend operator==
16628
16629 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16630
16631         * screen.C:
16632         * lyxrc.[Ch]:
16633         * lyxfunc.C:
16634         * lyxfont.[Ch]:
16635         * lyx_cb.C:
16636         * intl.[Ch]:
16637         * commandtags.h:
16638         * buffer.C:
16639         * WorkArea.[Ch]:
16640         * LyXAction.C:
16641         * BufferView_pimpl.C:
16642         * BufferView.[Ch]: remove cruft
16643
16644 2001-02-14  Juergen Vigna  <jug@sad.it>
16645
16646         * lyxfunc.C: removed #if 0 unused code
16647
16648         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16649
16650         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16651
16652         * text2.C (SetSelection): added a BufferView * parameter
16653
16654 2001-02-13  Juergen Vigna  <jug@sad.it>
16655
16656         * lyxfunc.C (Dispatch): fixed protected blank problem.
16657         * BufferView2.C (protectedBlank): added LyxText * parameter.
16658
16659         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16660         (AppendColumn): same as above for column_info.
16661
16662         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16663         (moveCursorUpdate): use a LyXText param for support of InsetText.
16664
16665         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16666         (tripleClick): ditto
16667
16668         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16669
16670         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16671
16672         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16673
16674         * text2.C (SetSelection): set correct update status if inset_owner
16675         (ToggleFree): ditto
16676
16677 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16678
16679         * tabular.C: remove some commented code.
16680
16681 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16682
16683         * BufferView_pimpl.C: call hideSplash()
16684
16685         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16686
16687         * include_form.h:
16688         * bibforms.h: remove
16689
16690         * lyxfunc.C:
16691         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16692           add LFUN_CHILD_CREATE
16693
16694         * counters.h: fix tiny typo
16695
16696         * lyx_cb.C:
16697         * lyx.h:
16698         * lyx_gui.C:
16699         * lyx.C: move splash to frontends/xforms/
16700
16701         * lyx_gui_misc.C: move Include and Bibform to frontends
16702
16703         * lyxvc.h: clarify comment
16704
16705         * vspace.C: tiny housekeeping
16706
16707 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * text.C (PrepareToPrint): RTL Fix.
16710
16711         * paragraph.C (GetUChar): New method.
16712         (String):  Use GetUChar.
16713
16714         * buffer.C (asciiParagraph): Use GetUChar.
16715
16716 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16717
16718         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16719
16720 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16721
16722         * buffer.h:
16723         * buffer.C: rename to getLogName(), handle
16724           build log / latex log nicely
16725
16726 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16727
16728         * MenuBackend.C:
16729         * MenuBackend.h: remove support for reference menuitem type.
16730
16731 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * BufferView_pimpl.C: housekeeping
16734         * BufferView_pimpl.h:
16735         * LyXView.h:
16736         * Makefile.am:
16737         * Timeout.C:
16738         * Timeout.h:
16739         * minibuffer.h: move Timeout GUI-I
16740
16741 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16742
16743         * lyxrc.C (read): Update converters data-structures.
16744
16745 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16746
16747         * LaTeX.h (operator!=): add operator != for Aux_Info
16748
16749 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16750
16751         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16752
16753         * LaTeXLog.C: deleted, useful code moved to Buffer
16754
16755         * buffer.h:
16756         * buffer.C: new function getLatexLogName()
16757
16758         * lyx_gui_misc.C:
16759         * lyx_gui.C:
16760         * lyxvc.C:
16761         * lyxvc.h:
16762         * lyxfunc.C: use frontends for LaTeX and VC logs
16763
16764 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * LaTeX.h: yet another std:: that Allan forgot.
16767
16768         * Variables.C (set): renamed from isset(), because this clashes
16769         with some HP-UX macros (grr).
16770
16771 2001-02-06  Allan Rae  <rae@lyx.org>
16772
16773         * LaTeX.h: Another bug fix.  Missing std:: this time.
16774
16775 2001-02-04  Allan Rae  <rae@lyx.org>
16776
16777         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16778         floats problem. I've left it commented out because it's not quite
16779         correct.  It should also test that the current object is a table or
16780         figure inset.  But I haven't gotten around to figuring out how to do
16781         that.  I *think* it'll be something like: "table" == inset.type()
16782
16783         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16784         bool.
16785
16786 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16789         all the citation/databases/styles in the auxilary file.
16790         (run): Rerun latex if there was a babel language error.
16791
16792 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16793
16794         * text.C (Backspace): Preserve the font when changing newline char
16795         with a space.
16796         (BreakParagraph): If the cursor is before a space, delete the space.
16797
16798         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16799
16800 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16801
16802         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16803         new argument (code).
16804         (ChangeCitationsIfUnique): New method.
16805
16806         * paragraph.C (GetPositionOfInset): Handle bibkey.
16807
16808 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16809
16810         * BufferView_pimpl.h: change type of Position::par_pos to
16811         LyXParagraph::size_type.
16812
16813 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16814
16815         * BufferView_pimpl.C (savePosition, restorePosition): Write
16816         messages to minibuffer.
16817
16818 2001-01-28  José Matos  <jamatos@fep.up.pt>
16819
16820         * buffer.C (makeDocBookFile): adds support for document language.
16821         A silly restriction on the name of LatexCommand types where removed.
16822         Added support for CDATA sections, allows to chars unescaped, used
16823         among others in code, to avoid escape < and >.
16824
16825 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16826
16827         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16828         saved positions instrad of a stack. Furthermore, a position is
16829         stored using paragraph id/paragraph position.
16830
16831         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16832         Remove LFUN_REF_BACK.
16833
16834 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16835
16836         * converter.C (dvipdfm_options): New method.
16837
16838 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16839
16840         * vspace.C (isValidLength): Fix for empty input string.
16841
16842 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * LyXAction.C (init): change description of LFUN_FIGURE to
16845         "Insert Graphics"
16846
16847 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * LaTeX.C: add using directive
16850
16851 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16852
16853         * MenuBackend.C (expand): Fix the sorting of the formats.
16854
16855 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16856
16857         * lyx_main.C: tiny error message fix
16858
16859 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16860
16861         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16862         calling fl_initialize(). This fixes the problem with ',' as
16863         decimal separator in text files.
16864
16865 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16866
16867         * trans.C (process): Fix the keymap bug.
16868
16869 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16870
16871         * LaTeX.C (scanAuxFiles): New method. Provides support for
16872         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16873         (scanLogFile) Scan for "run BibTeX" messages.
16874
16875         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16876         OT1 font encoding. Also, load the aecompl package if the ae
16877         package is loaded.
16878
16879         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16880
16881 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16882
16883         * texrow.C (increasePos): turn two error messages into debug
16884         messages.
16885
16886 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16887
16888         * LaTeX.C (scanAux): Handle the \@input macro.
16889         (runBibTeX): Use scanAux().
16890
16891         * language.C (latex_options_): New field.
16892
16893         * LaTeXFeatures.C (getMacros): Add language macros.
16894
16895         * buffer.C (makeLaTeXFile): Small fix.
16896
16897 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16900
16901         * text2.C: add a using directive.
16902
16903 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16904
16905         * BufferView2.C:
16906         * lyx_gui_misc.h:
16907         * lyxfr1.C:
16908         * lyxfunc.C: kill LyXBell.
16909
16910 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16911
16912         * text.C (IsBoundary): Remove the error message
16913
16914         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16915
16916         * lyxrc.C (setDefaults): Correct initialization value for
16917         font_norm_type.
16918
16919 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16920
16921         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16922         gotoError().
16923
16924         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16925         and GotoNextNote().
16926
16927         * src/LyXAction.C: Added reference-next.
16928
16929         * text.C (InsertChar): Use contains instead of strchr.
16930
16931         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16932
16933 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16934
16935         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16936         alignment commands (when needed).
16937
16938         * text.C (InsertChar): Add ':' to number separator chars.