]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix off-by-one-error with paperpackage selection
[lyx.git] / src / ChangeLog
1 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * tex-strings.C: add "none" to string_paperpackages[], fixes
4         off-by-one-error in the paperpackage selection.
5         
6         * lyxlex.[Ch]:
7         * tex-strings.[Ch]: char const * string[n] 
8         -> char const * const string[]
9
10 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
13         command, return early.
14  
15 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
16
17         * debug.h: add DEBUG to enum and fix size of ANY.
18
19         * debug.C: add support for Debug::DEBUG
20         (showTags): cast errorTags.level to unsigned int
21
22         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
23         (redoCurrentBuffer): ditto
24         (updateScrollbar): ditto
25         * cursor.C (dispatch): ditto
26         * text2.C (setLayout): ditto
27         (setFont): ditto
28         (updateCounters): ditto
29         (editXY): ditto
30         (deleteEmptyParagraphMechanism): ditto
31
32 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
35         annotations to cleanup the Makefile slightly.
36
37 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * lyxrc.C: do not set user_email to a default value but use empty
40         instead. The entry used to be translated, which does not work
41         since at the point where lyxrc is constructed there is no
42         translation service available
43
44         * messages.C (getLocaleDir): remove and use directly
45         lyx_localedir() instead
46
47 2004-06-02  Angus Leeming  <leeming@lyx.org>
48
49         Fix crash caused by dereferencing null pointer 'exportdata' in
50         OutputParams by creating a new ExportData variable on the heap,
51         storing it in a boost::shared_ptr.
52         The crash was triggered when generating an Instant Preview
53         of an external inset.
54
55         * Makefile.am: add outputparams.C
56
57         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
58         (c-tor): allocate memory to it.
59
60         * exporter.C (c-tor): associated changes.
61
62 2004-06-01  Angus Leeming  <leeming@lyx.org>
63
64         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
65         contains data before calling isInset(0). (Bug 1513.)
66
67 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * exporter.C (checkOverwrite): new method
70         * exporter.C (copyFile): new method
71         * exporter.C (Export): copy referenced files to the document dir
72         * exporter.[Ch]: new class ExportedFile
73         * exporter.[Ch]: new class ExportData. Contains currently the
74         names of referenced external files
75         * outputparams.h: add exportdata member.
76
77 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
78
79         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
80         version.C-tmp
81
82 2004-05-19  Angus Leeming  <leeming@lyx.org>
83
84         * LaTeXFeatures.C:
85         * ToolbarBackend.C:
86         * bufferparams.C:
87         * lyxfunc.C: small changes due to the introduction of namespace
88         lyx::frontend and the moving of namespace biblio to lyx::biblio.
89
90 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * text3.C (dispatch): supress update when only moving the cursor
93         * cursor.C (selHandle): remove commented code
94
95 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * paragraph.C (startTeXParParams): correct column count
98         * CutAndPaste.C (pasteSelection): remove const_cast
99         * output_docbook.C (docbookParagraphs): remove const_cast
100         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
101         const_cast and return ParagraphList::const_iterator
102         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
103         * output_plaintext.C (writeFileAscii): remove const_cast
104         * paragraph.[Ch] (simpleTeXOnePar): make const
105         * paragraph_funcs.C (outerPar): use const iterators
106         * paragraph_pimpl.C (validate): use const iterators
107         * text.C (setHeightOfRow): use const iterators
108
109 2004-05-17  Angus Leeming  <leeming@lyx.org>
110
111         * lfuns.h:
112         * LyXAction.C (init): new LFUN_INSET_REFRESH.
113
114         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
115         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
116         if the citation engine has changed.
117
118 2004-05-14  José Matos  <jamatos@lyx.org>
119
120         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
121         if the textclass does not provide it. Have it different for sgml and
122         xml.
123         support the language of document.
124         * output_docbook.C (docbookParagraphs):
125         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
126         first anchor as the id of the paragraph, remove special case code.
127         * sgml.C (escapeChar): escape only < & >.
128
129 2004-05-14  Angus Leeming  <leeming@lyx.org>
130
131         * bufferparams.h: move biblio::CiteEngine enum here to minimize
132         dependencies on src/frontends/controllers/biblio.h. Define a
133         CiteEngine_enum wrapper class to enable the enum to be forward
134         declared.
135
136 2004-05-12  Angus Leeming  <leeming@lyx.org>
137
138         * buffer.C: up LYX_FORMAT to 234.
139         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
140         use_numerical_citations with a single biblio::CiteEngine cite_engine
141         variable.
142         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
143
144 2004-05-13  José Matos  <jamatos@lyx.org>
145
146         * converter.h:
147         * converter.C (Converter, readFlags): add xml member.
148         * outputparams.h: add XML flavor.
149         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
150
151 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * lyxfunc.C (dispatch):
154         (getStatus): fix handling of LFUN_SEQUENCE
155
156 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * debug.C (showLevel): do not forget the end-of-line marker
159
160 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * kbmap.C (read): do not stop parsing a bind file when an error
163         occurs (bug 1575)
164
165 2004-04-29  Angus Leeming  <leeming@lyx.org>
166
167         * cursor.C:
168         * factory.C:
169         * pariterator.C:
170         * text2.C: wrap a bunch of #warning statements
171         inside #ifdef WITH_WARNINGS blocks.
172
173 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
174
175         * buffer.C: increment format to 233.
176
177 2004-04-28  Angus Leeming  <leeming@lyx.org>
178
179         * BufferView_pimpl.C:
180         * lyxfunc.C:
181         * text3.C:
182         s/updateToolbar()/updateToolbars()/
183         s/Toolbar.h/Toolbars.h/
184
185 2004-04-28  Angus Leeming  <leeming@lyx.org>
186
187         * BufferView.[Ch] (c-tor):
188         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
189         No longer passes these data to the WorkArea generator.
190
191 2004-04-28  Angus Leeming  <leeming@lyx.org>
192
193         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
194
195 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
196
197         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
198
199 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * output_latex.C (TeXEnvironment): make sure that there is a line
202         break before \end{foo} for the last paragraph of a document
203         (TeXOnePar): if the paragraph is at the end of the document (or
204         inset) and the language has to be reset, then make sure that the
205         line break is _before_ the language command, not after (fixes bug
206         1225); also make sure that the language reset command is the first
207         thing after the paragraph (to ensure proper nesting of
208         environments and thus fix bug 1404)
209
210 2004-04-21  John Levon  <levon@movementarian.org>
211
212         * ToolbarBackend.h:
213         * ToolbarBackend.C: make "name" be a programmatic name
214         and a gui_name field.
215
216         * lyxfunc.C: display the minibuffer on M-x
217
218 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
221         (bug 1526)
222
223 2004-04-19  Angus Leeming  <leeming@lyx.org>
224
225         * BufferView_pimpl.C (setBuffer): changed preview interface.
226
227         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
228         possible values.
229
230 2004-04-19  John Levon  <levon@movementarian.org>
231
232         * BufferView_pimpl.C:
233         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
234
235 2004-04-05  Angus Leeming  <leeming@lyx.org>
236
237         * text.C (redoParagraphs): add call to updateCounters(), thereby
238         fixing the missing "Figure #:" label from the caption of a
239         figure float.
240
241 2004-04-13  Angus Leeming  <leeming@lyx.org>
242
243         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
244         cursor is clicked out of an inset.
245
246 2004-04-13  Angus Leeming  <leeming@lyx.org>
247
248         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
249         than an InsetOld one.
250
251 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
252
253         * format.[Ch]: add editor to Format
254         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
255         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
256
257 2004-04-08  André Pönitz  <poenitz@gmx.net>
258
259         * metricsinfo.h: remove PainterInfo::width member
260
261 2004-04-08  Angus Leeming  <leeming@lyx.org>
262
263         * lyx_sty.C (boldsymbol_def): modify so that it outputs
264         "\providecommand" rather than "\newcommand", thereby preventing
265         clashes with packages that define "\boldsymbol" themselves.
266         Eg, beamer.
267
268 2004-04-08  Angus Leeming  <leeming@lyx.org>
269
270         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
271         thereby squashing an unnecessary warning.
272
273 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
274
275         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
276         setBuffer()
277
278 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * BufferView.C (setCursor): call redoParagraph (some insets could
281         have been opened)
282         (putSelectionAt): remove the 'double update' trick
283
284         * BufferView_pimpl.C (fitCursor): call refreshPar
285         (workAreaDispatch): remove an uneeded update call
286         (dispatch): remove some manual update calls
287
288         * cursor.[Ch]: remove cached_y_, updatePos
289         (selHandle): set noUpdate when appropriate
290
291         * lyxfunc.C (dispatch): track if we need an update
292
293         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
294
295         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
296         (paintSelection): cheap optimization, do not call cursorX when not
297         needed
298         (paintPars): change signature
299         (refreshPar): add
300         (paintText): adjust
301         (paintTextInset): adjust
302
303         * text.C: adjust
304
305 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * lengthcommon.C: compilation fix: remove explicit array size from
308         unit_name[] and friends
309
310 2004-04-05  Angus Leeming  <leeming@lyx.org>
311
312         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
313
314         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
315         present only for the preferences dialog.
316         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
317
318 2004-04-05  Angus Leeming  <leeming@lyx.org>
319
320         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
321         to enable the frontends to export changes to lyxrc correctly.
322
323         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
324
325 2004-04-07  André Pönitz  <poenitz@gmx.net>
326
327         * cursor.[Ch] (selClear, adjust): remove math
328
329         * cursor_slice.C: more agressive assert
330
331         * lyxfunc.C:
332         * BufferView_pimpl.C: rework mouse event dispatch
333
334         * dociterator.C:
335         * paragraph.C:
336         * text2.C:
337         * text3.C: adjust
338
339 2004-04-05  André Pönitz  <poenitz@gmx.net>
340
341         * cursor.[Ch] (valign, halign...): remove unneeded functions
342
343 2004-04-05  Angus Leeming  <leeming@lyx.org>
344
345         * lyxlength.[Ch] (unit_name et al.): const-correct.
346
347 2004-04-05  Angus Leeming  <leeming@lyx.org>
348
349         * BufferView_pimpl.C:
350         * buffer.C:
351         * counters.C:
352         * cursor.C:
353         * lyxfunc.C
354         * paragraph.C:
355         * pariterator.C:
356         * text.C:
357         * text2.C:
358         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
359
360 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * text3.C (getStatus): add LFUN_BEGINNINGBUF
363
364 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * lyxfind.C: add a couple of inTexted() tests + other small fixes
367         * BufferView_pimpl.[Ch] (getStatus)
368         * BufferView.[Ch] (getStatus): add
369         * lyxfunc.C (getStatus): move lfuns handled in
370         BufferView::dispatch to te function above
371         * Cursor.C (setSelection): set selection() = true
372
373 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
376
377 2004-03-31  Angus Leeming  <leeming@lyx.org>
378
379         * lyxfunc.C (dispatch): Fall through to the generic
380         Dialogs::show("preamble").
381
382 2004-03-31  Angus Leeming  <leeming@lyx.org>
383
384         * lyxfunc.C (dispatch): Fall through to the generic
385         Dialogs::show("spellchecker").
386
387 2004-03-31  Angus Leeming  <leeming@lyx.org>
388
389         * lyxfunc.C (getStatus, dispatch): changed invocation of the
390         preferences dialog.
391
392 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * BufferView.C
395         * cursor.[Ch]
396         * dociterator.[Ch]:
397         * insetiterator.[Ch]:
398         * lyxfind.C:
399         * lyxfunc.C:
400         * pariterator.[Ch]:
401         * text2.C:
402         * undo.[Ch]: s/DocumentIterator/DocIterator/g
403
404 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * BufferView.C (setCursor, putSelectionAt): call edit to open the
407         insets where we are putting the cursor.
408
409 2004-03-31  Angus Leeming  <leeming@lyx.org>
410
411         * lfuns.h:
412         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
413
414         * lyxrc.[Ch] (read, write): overloaded member functions taking
415         a std::[io]stream arguments.
416
417         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
418
419 2004-03-31  Angus Leeming  <leeming@lyx.org>
420
421         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
422         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
423
424         * lyxtextclass.C (load): if the text class couldn't be loaded, then
425         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
426
427 2004-03-31  Angus Leeming  <leeming@lyx.org>
428
429         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
430         the LFUN_ALL_INSETS_TOGGLE code.
431
432 2004-03-30  Angus Leeming  <leeming@lyx.org>
433
434         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
435         has died. Fall through to the generic Dialogs::show("document").
436
437 2004-03-30  Angus Leeming  <leeming@lyx.org>
438
439         * lfuns.h:
440         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
441         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
442
443         * lyxfunc.C (getStatus, dispatch): define the actions for these
444         lfuns. Little more than a cut and pste job from ControlDocument.C
445
446         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
447
448 2004-03-30  Angus Leeming  <leeming@lyx.org>
449
450         * lfuns.h:
451         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
452         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
453
454         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
455         open/closed state of ollapsable insets. Usage:
456
457         all-inset-toggle <state> <name>, where
458         <state> == "open" || "closed" || "toggle" and
459         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
460
461         * lyxtext.h, text2.C (toggleInset): removed.
462
463         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
464         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
465         now passes LFUN_INSET_TOGGLE to the found inset.
466
467         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
468         is now invoked as "all-insets-toggle toggle branch".
469
470 2004-03-30  Angus Leeming  <leeming@lyx.org>
471
472         * dociterator.C:
473         * insetiterator.C:
474         * pariterator.[Ch]: added/corrected header blurb.
475
476 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * dociterator.[Ch]: add an inset_ member
479         (backwardPos): implemented
480         (backwardPos, forwardPos): use inset_ when the stack is empty.
481         (doc_iterator_begin, doc_iterator_end): implemented
482         * pariterator.[Ch]: adjust, add begin, end
483         * insetiterator.[Ch]: adjust, add begin, end
484         * cursor.C:
485         * document.C:
486         * BufferView.C:
487         * BufferView_pimpl.C:
488         * CutAndPaste.C: adjust
489
490 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
491
492         * buffer.C: increment file format to 232.
493         * LaTeXFeatures.C: add bibtopic package.
494         * bufferparams.[Ch]: param \use_bibtopic.
495
496         * lyxrc.[Ch]: add lyxrc bibtex_command
497         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
498
499         * buffer.C: increment file format to 231.
500
501 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
502
503         * dociterator.C: implement forwardPar
504         * iterators.[Ch]: remove, replaced by
505         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
506         * BufferView.C:
507         * BufferView_pimpl.C:
508         * CutAndPaste.C:
509         * buffer.C:
510         * bufferview_funcs.C:
511         * cursor.C:
512         * lyxfind.C
513         * lyxfunc.C
514         * paragraph_funcs.C
515         * toc.C:
516         * Makefile.am: adjust
517
518 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * CutAndPaste.C (pasteSelection): fix 2 crashes
521         (eraseSelection): fix a crash
522         * paragraph_funcs.C: remove a warning
523
524 2004-03-28  Angus Leeming  <leeming@lyx.org>
525
526         * lfuns.h:
527         * LyXAction.C (init): new LFUN_PRINT.
528
529         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
530
531 2004-03-27  Angus Leeming  <leeming@lyx.org>
532
533         * lfuns.h:
534         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
535
536         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
537
538 2004-03-27  Angus Leeming  <leeming@lyx.org>
539
540         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
541         insetlist always contains non-null pointers to insets.
542
543 2004-03-26  Angus Leeming  <leeming@lyx.org>
544
545         * src/BufferView_pimpl.C:
546         * src/CutAndPaste.C:
547         * src/buffer.C:
548         * src/iterators.C:
549         * src/output_plaintext.C:
550         * src/outputparams.h:
551         * src/paragraph_funcs.C:
552         * src/rowpainter.C:
553         * src/text.C:
554         * src/text2.C:
555         * src/frontends/controllers/ControlErrorList.C:
556         * src/frontends/gtk/FileDialogPrivate.C:
557         * src/frontends/gtk/GPainter.C:
558         * src/frontends/gtk/GToolbar.C:
559         * src/frontends/qt2/QRef.C:
560         * src/mathed/math_scriptinset.C: squash compiler warnings.
561
562 2004-03-26  Angus Leeming  <leeming@lyx.org>
563
564         * ispell.C (LaunchIspell::start):
565         * lyx_cb.C (AutoSaveBuffer::start):
566         invoke run(DontWait) rather than runNonBlocking().
567
568 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
571
572 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * kbsequence.C (print): adjust
575
576         * kbmap.C (printKeySym): rename and change signature
577         (printKey): use LyXKeySym::print()
578
579 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
580
581         * undo.C: add using std::advance to compile for stlport
582
583 2004-03-24  Angus Leeming  <leeming@lyx.org>
584
585         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
586         it leads to a crash when no buffer is present.
587
588 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589             Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * lyxfunc.C (dispatch):
592         * bufferparams.C (readToken): use the new LColor::setColor
593
594         * LColor.[Ch] (setColor): new version that takes two strings as
595         argument and creates a new color entry if necessary
596
597 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
598
599         * buffer.C (makeLaTeXFile): if the main latex file that is
600         processed is usually a subdocument of some master, then pretend
601         for a while that it is actually the master
602
603 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
604
605         * buffer.C (getLabelList):
606         (getBibkeyList): use getMasterBuffer()
607         (getMasterBuffer): new method. Returns the main document in the
608         case where one is using included documents.
609
610 2004-03-25  André Pönitz  <poenitz@gmx.net>
611
612         * Makefile.am:
613         * iterators.[Ch]:
614         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
615
616         * ParagraphList_fwd.h: change ParagraphList to a std::vector
617
618         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
619         text*.C over here. Rename namespace CutAndPaste to lyx::cap
620
621         * ParameterStruct.h: merge with ParagraphParameters
622
623         * lyxtext.h: remove LyXText::parOffset() and getPar()
624
625         * text3.C: Remove all 'manual' update calls. We do now one per user
626         interaction which is completely sufficient.
627
628         * Bidi.C:
629         * BufferView.[Ch]:
630         * BufferView_pimpl.C:
631         * FontIterator.[Ch]:
632         * MenuBackend.C:
633         * ParagraphParameters.[Ch]:
634         * buffer.C:
635         * buffer.h:
636         * bufferlist.C:
637         * cursor.[Ch]:
638         * cursor_slice.[Ch]:
639         * dociterator.[Ch]:
640         * errorlist.[Ch]:
641         * factory.C:
642         * lfuns.h:
643         * lyxfind.C:
644         * lyxfunc.C:
645         * output_docbook.[Ch]:
646         * output_latex.[Ch]:
647         * output_linuxdoc.[Ch]:
648         * output_plaintext.[Ch]:
649         * paragraph.[Ch]:
650         * paragraph_funcs.[Ch]:
651         * paragraph_pimpl.[Ch]:
652         * rowpainter.C:
653         * tabular.[Ch]:
654         * text.C:
655         * text2.C:
656         * toc.C:
657         * undo.[Ch]: adjust
658
659         * frontends/controllers/ControlDocument.C:
660         * frontends/controllers/ControlErrorList.C:
661         * frontends/controllers/ControlSpellchecker.C:
662         * insets/inset.C:
663         * insets/inset.h:
664         * insets/insetbase.h:
665         * insets/insetbibitem.C:
666         * insets/insetbox.C:
667         * insets/insetbranch.C:
668         * insets/insetcaption.C:
669         * insets/insetcharstyle.C:
670         * insets/insetcharstyle.h:
671         * insets/insetcollapsable.C:
672         * insets/insetcollapsable.h:
673         * insets/insetert.C:
674         * insets/insetfloat.C:
675         * insets/insetfoot.C:
676         * insets/insetmarginal.C:
677         * insets/insetnote.C:
678         * insets/insetoptarg.C:
679         * insets/insettabular.C:
680         * insets/insettext.C:
681         * insets/insettext.h:
682         * insets/insetwrap.C:
683         * mathed/math_mboxinset.C:
684         * mathed/math_nestinset.C:
685         * mathed/math_scriptinset.C:
686         * mathed/math_scriptinset.h:
687         * support/types.h:
688
689 2004-03-24  Angus Leeming  <leeming@lyx.org>
690
691         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
692         deal with any child processes that have finished but are waiting to
693         communicate this fact to the rest of LyX.
694
695 2004-03-24  Angus Leeming  <leeming@lyx.org>
696
697         64-bit compile fixes.
698
699         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
700         (c-tor): pass lyx::pos_types rather than ints.
701
702         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
703         lyx::pos_type.
704
705         * text.C (Delete): compile fix.
706         (getPar): ensure that function declaration is the same as that in
707         the header file.
708
709 2004-03-23  Angus Leeming  <leeming@lyx.org>
710
711         * ispell.C (LaunchIspell):
712         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
713         a boost::shred_ptr rather than a std::auto_ptr.
714
715 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * lyxfunc.C (getStatus): handle read-only buffers correctly;
718         handle LFUN_FILE_INSERT_*
719
720         * lyxrc.C (setDefaults, getDescription, output, read):
721         * lyxrc.h: remove ps_command
722
723 2004-03-22  Angus Leeming  <leeming@lyx.org>
724
725         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
726         Ensure that error_handler is processed once only and that all data
727         is saved before attempting to output any warning messages.
728
729         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
730
731 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
732
733         * tabular.C (TeXRow): crash fix (from Kayvan and André)
734
735 2004-03-19  André Pönitz  <poenitz@gmx.net>
736
737         * cursor.[Ch] (reset): take main text inset as argument
738
739         * BufferView: adjust
740         * BufferView_pimpl.C: adjust
741
742         * paragraph.[Ch]: fix completely broken operator=()
743
744 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * LColor.C (getFromLyXName): make sure that the color name is used
747         as lowercase.
748
749 2004-03-17  Angus Leeming  <leeming@lyx.org>
750
751         * lfuns.h:
752         * LyXAction.C (init): remove LFUN_FORKS_KILL.
753
754         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
755         dialog and to kill a forked process.
756
757 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * text2.C (setCursorFromCoordinates): fix font problem
760
761 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
762
763         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
764         bogus "rebuild cursor" code
765
766 2004-03-11  André Pönitz  <poenitz@gmx.net>
767
768         * buffer.[Ch]: use InsetText instead of LyXText as container for
769         the main lyx text.
770
771         * dociterator.[Ch]: drop the BufferView * member which is not needed
772         anymore after the change to buffer.C
773
774         * paragraph_funcs.C:
775         * text.C:
776         * text2.C:
777         * BufferView.[Ch]:
778         * BufferView_pimpl.[Ch]:
779         * cursor.[Ch]:
780         * cursor_slice.[Ch]: adjust
781
782         * text3.C: fix bug in mathDispatch
783
784 2004-03-08  André Pönitz  <poenitz@gmx.net>
785
786         * undo.[Ch]: use 'StableDocumentIterator' as base for
787         the Undo struct.
788
789 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
790
791         * LaTeXFeatures.C:
792         * bufferparams.[Ch]: add jurabib support and param.
793
794         * LaTeX.C: add FIXME/comment.
795
796 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
797
798         * buffer.C: increment file format to 230.
799
800 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
801
802         * cursor.C (dispatch): avoid infinite loops
803
804 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
805
806         * rowpainter.C (paintSelection): fix x coordinates
807
808 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
809
810         * text.C (rowBreakPoint): fix breaking before displayed insets
811
812 2004-03-01  André Pönitz  <poenitz@gmx.net>
813
814         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
815
816         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
817
818         * Makefile.am:
819         * BufferView.C:
820         * BufferView_pimpl.C:
821         * buffer.C:
822         * lyxfind.C:
823         * lyxfunc.C:
824         * text.C:
825         * text2.C:
826         * text3.C: adjust
827
828 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * lyxtext.h:
831         * text.C:
832         * text2.C:
833         * rowpainter.C:
834         * BufferView_pimpl.C: rename textwidth -> maxwidth,
835         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
836
837 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
838
839         * Bidi.[Ch] (computeTables): const correctness
840         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
841         fill_hfill, fill_label_hfill and x from Row
842         * lyxtext.h: prepareToPrint returns a RowMetrics
843         * rowPainter.C: adjust
844         * text.C (prepareToPrint): use width, not textWidth. adjust
845         (redoParagraphInternal, cursorX): adjust
846         * text2.C (getColumnNearX): adjust
847         (init): put a default value to the top LyXText::width
848
849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
852
853 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * lyxtext.h: add FontIterator class
856
857         * text.C (FontIterator, operator*, operator->, operator++): add
858         (rowBreakPoint, setRowWidth): adjust (fixing a
859         rebreaking bug)
860
861 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * BufferView_pimpl.C (workAreaDispatch): allow also
864         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
865
866 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
867
868         * text.C (rowBreakPoint): fix a bug showing with very large insets
869
870 2004-02-25  André Pönitz  <poenitz@gmx.net>
871
872         * text3.C:
873         * cursor.[Ch]: move some mathed specific code to mathed
874
875 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
876
877         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
878         use_tempdir in preferences
879         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
880         tempfile creation
881         * lyx_main.C: ensure that tempdir is valid
882         * lyxlex.h: correct typo
883         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
884         * paragraph.[Ch] (isMultiLingual): make const
885         * cursor.[Ch] (openable): make const
886
887 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
888
889         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
890
891 2004-02-20  André Pönitz  <poenitz@gmx.net>
892
893         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
894
895         * cursor.[Ch]: prepare for localized getStatus()
896
897         * lyxtext.h:
898         * tabular.C:
899         * text.C:
900         * text2.C:
901         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
902
903 2004-02-20  André Pönitz  <poenitz@gmx.net>
904
905         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
906
907 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * text2.C (setCursorFromCoordinates): switch to absolute coords
910         (cursorUp): adjust
911         (cursorDown): adjust
912         * text3.C (dispatch): adjust
913
914 2004-02-16  André Pönitz  <poenitz@gmx.net>
915
916         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
917           insets/ChangeLog)
918
919         * cursor_slice.[Ch]: remove unneeded acessor function
920
921         * lyxtext.h: rename rtl() to isRTL()
922
923         * rowpainter.C:
924         * tabular.C:
925         * text.C:
926         * text2.C:
927         * text3.C: adjust
928
929 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * rowpainter.C (paintSelection): coord fix
932
933 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
934
935         * Spacing.C: compile fix
936
937 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
938
939         * cursor.C (dispatch): restore current_ before returning
940
941 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * text2.C (cursorUp, cursorDown): fix coords
944         (moveUp): fix crash
945
946 2004-02-12  André Pönitz  <poenitz@gmx.net>
947
948         * lyxtext.h:
949         * text.C:
950         * text2.C:
951         * text3.C: add LCursor & parameter to most cursor movement functions
952           remove usage of LyXText::cursorRow() and cursorPar()
953
954         * cursor.[Ch]: add textRow() needed members
955
956         * BufferView.C:
957         * BufferView_pimpl.C:
958         * paragraph.[Ch]:
959         * BufferView.C:
960         * BufferView_pimpl.C: adjust
961
962 2004-02-11  André Pönitz  <poenitz@gmx.net>
963
964         * lyxfunc.C:
965         * BufferView.[Ch]:
966         * BufferView_pimpl.C: shift undo/redo handling
967
968         * cursor.[Ch]: fix mathed crash
969
970         * lyxfind.C:
971         * lyxtext.h: move selectionAsText to LCursor
972
973         * output_latex.C:
974         * paragraph.C:
975         * text.C:
976         * text2.C:
977         * text3.C: adjust
978
979         * rowpainter.C: fix excessive drawing
980
981 2004-02-06  André Pönitz  <poenitz@gmx.net>
982
983         * BufferView.[Ch]:
984         * BufferView_pimpl.[Ch]:
985         * text3.C: move some text specific LFUN handling
986
987 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * text3.C (checkInsetHit): adjust coords
990         * text2.C (getColumnNearX): adjust coords
991         (edit): adjust coords
992         * text.C (getRowNearY): add two asserts
993
994 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
995
996         * converter.C:
997         * format.C: add using std::distance to compile on gcc 2.95/stlport
998
999 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1000
1001         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1002
1003 2004-02-04  André Pönitz  <poenitz@gmx.net>
1004
1005         * BufferView.[Ch] (insertInset):
1006         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1007
1008         * text2.C:
1009         * text3.C: adjust
1010
1011 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1014         on the default clause of the switch
1015         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1016         wasn't catched by LCursor::dispatch
1017
1018 2004-02-03  André Pönitz  <poenitz@gmx.net>
1019
1020         * BufferView.C:
1021         * cursor.[Ch]: some additional asserts
1022
1023         * undo.[Ch]: remove LyXText dependency in interface
1024
1025         * lyxfunc.C: adjust
1026
1027         * lyxtext.h (firstPar, lastPar): remove dead functions
1028
1029         * text.C:
1030         * text2.C:
1031         * text3.C:
1032         * paragraph.[Ch]: adjust
1033
1034 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * lyxfind.C (find): fix argument order in call to ::find
1037
1038 2004-02-02  André Pönitz  <poenitz@gmx.net>
1039
1040         * cursor.[Ch]: remove direct access to anchor
1041
1042         * text.C: remove findText() hack
1043
1044 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1045
1046         * iterators.[Ch] (lockPath): remove in favour of...
1047         * BufferView.[Ch] (setCursor): this addition
1048         * BufferView.C (putSelectionAt): adjust
1049         * undo.C (performUndoOrRedo): adjust
1050         * lyxfunc.C (dispatch): adjust
1051
1052 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1053
1054         * iterators.C (lockPath): add a missing slice
1055         * undo.C (performUndoOrRedo): remove redundant positioning code
1056
1057 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1058
1059         * vc-backend.C (scanMaster): ";" -> ';'
1060
1061 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1062
1063         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1064         std::binary_function
1065
1066         * lyxtextclass.C (compare_name): rename to...
1067         (LayoutNamesEqual): ...this
1068
1069         * lyxlex_pimpl.C (compare_tags): inherit from
1070         std::binary_function, put back into anon namespace
1071
1072         * lyxfind.C (MatchString): inherig from std::binary_function
1073         (findChange): use empty() istead of !size()
1074
1075         * format.C (FormatNamesEqual): new functor
1076         (getFormat): use it
1077         (getNumber): use it
1078         (add): use it
1079         (erase): use it
1080         (setViewer): use it
1081
1082         * converter.C (compare_Converter): rename to...
1083         (ConverterEqual): ...this, and fixup a bit.
1084         (getConverter): use it, and make function const
1085         (getNumber): use it, and make function const
1086         (add): use it
1087         (erase): use it:
1088
1089         * bufferlist.C: add using boost::bind
1090
1091         * MenuBackend.C (MenuNamesEqual): new functor
1092         (hasMenu): use it, and make function const
1093         (hasSubmenu): use nested bind to get rid of compare_memfun.
1094
1095 2004-01-30  André Pönitz  <poenitz@gmx.net>
1096
1097         * BufferView_pimpl.C:
1098         * cursor.C:
1099         * cursor.h:
1100         * cursor_slice.[Ch]:
1101         * lyxfunc.C:
1102         * lyxtext.h:
1103         * paragraph_funcs.C:
1104         * paragraph_funcs.h:
1105         * rowpainter.C:
1106         * text.C:
1107         * text2.C:
1108         * text3.C: move some of the edit(x,y) handling to the insets
1109         some coordinate changes.
1110
1111 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1112
1113         * text.C: add using statements for std::advance and std::distance
1114
1115         * paragraph.C: add using statement for std::distance
1116
1117         * lyxfind.C: add using statement for std::advance
1118
1119         * cursor.C (region): remove std:: from swap
1120         (openable): use nucleus in stead of operator->
1121
1122         * BufferView.C: add using statements for std::distance and std::swap
1123
1124 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * iterators.C: Remove the pimple, move the needed structures to
1127         the header file. Create accessor for the positions stack.
1128         (asPosIterator): remove function
1129
1130         * PosIterator.C (PosIterator): move constructors to top of file
1131         (PosIterator): reimplement the constructor taking a ParIterator in
1132         terms of setFrom.
1133         (setFrom): new function
1134         (operator!=): inline it
1135
1136 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1137
1138         * lyxfind.C (replaceAll): use std::advance
1139
1140         * iterators.h: inherit from std::iterator.
1141
1142         * PosIterator.C (advance, distance): remove
1143         * PosIterator.h: interit from std::iterator.
1144
1145 2004-01-26  André Pönitz  <poenitz@gmx.net>
1146
1147         * BufferView.[Ch]:
1148         * BufferView_pimpl.[Ch]:
1149         * InsetList.[Ch]:
1150         * PosIterator.[Ch]:
1151         * buffer.h:
1152         * bufferview_funcs.C:
1153         * cursor.[Ch]:
1154         * cursor_slice.h:
1155         * factory.[Ch]:
1156         * iterators.[Ch]:
1157         * lyxfind.C:
1158         * lyxfunc.C:
1159         * lyxtext.h:
1160         * output_docbook.C:
1161         * output_latex.C:
1162         * output_linuxdoc.C:
1163         * output_plaintext.C:
1164         * paragraph.[Ch]:
1165         * paragraph_funcs.[Ch]:
1166         * paragraph_pimpl.[Ch]:
1167         * rowpainter.C:
1168         * tabular.C:
1169         * tabular.h:
1170         * text.C:
1171         * text2.C:
1172         * text3.C: more IU:  dumps most of the rest of the mathcursor
1173     implementation into cursor.[Ch]; "globalize" a bit of it.
1174
1175 2004-01-25  Angus Leeming  <leeming@lyx.org>
1176
1177         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1178
1179 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1180
1181         * LaTeXFeatures.h: add nice_ and nice() const
1182         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1183
1184 2004-01-20  André Pönitz  <poenitz@gmx.net>
1185
1186         * BufferView.[Ch]:
1187         * BufferView_pimpl.C:
1188         * PosIterator.C:
1189         * bufferview_funcs.C:
1190         * cursor.[Ch]:
1191         * cursor_slice.[Ch]:
1192         * factory.C:
1193         * iterators.C:
1194         * lyx_cb.C:
1195         * lyxfind.C:
1196         * lyxfunc.C:
1197         * lyxtext.h:
1198         * rowpainter.C:
1199         * text.C:
1200         * text2.C:
1201         * text3.C:
1202         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1203           LCursor and mathcursor parts to LCursor and InsetBase.
1204
1205 2004-01-15  André Pönitz  <poenitz@gmx.net>
1206
1207         * cursor_slice.[Ch]: add a few covienience functions
1208
1209         * funcrequest.[Ch]: remove BufferView * member
1210
1211         * BufferView_pimpl.C:
1212         * cursor.C:
1213         * factory.[Ch]:
1214         * lyxfind.[Ch]:
1215         * lyxfunc.C:
1216         * lyxtext.h:
1217         * text3.C:
1218         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1219
1220 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1223         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1224
1225 2004-01-13  André Pönitz  <poenitz@gmx.net>
1226
1227         * textcursor.[Ch]:
1228         * lyxtext.h: hide cursor and selection anchor behind accessor function
1229
1230         * BufferView.C:
1231         * BufferView_pimpl.[Ch]:
1232         * PosIterator.C:
1233         * bufferview_funcs.C:
1234         * cursor.h:
1235         * lyxfind.C:
1236         * lyxfunc.C:
1237         * text.C:
1238         * text2.C:
1239         * text3.C:
1240         * undo.C: adjust
1241
1242         * cursor.h:
1243         * cursor_slice.[Ch]: some integer type changes for inset unification
1244
1245         * lyxcursor.[hC]: remove, it's CursorSlice now.
1246
1247         * Makefile.am:
1248         * BufferView_pimpl.[Ch]:
1249         * bufferview_funcs.C:
1250         * cursor_slice.C:
1251         * lyxtext.h:
1252         * text.C:
1253         * text2.C:
1254         * text3.C:
1255         * textcursor.[Ch]: adjust
1256
1257 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * text2.C (undoSpan): add and use
1260         * text.C (breakParagraph): use undoSpan (fix bug 578)
1261         * lyxtext.h: adjust
1262
1263 2004-01-08  Angus Leeming  <leeming@lyx.org>
1264
1265         * BufferView_pimpl.C (MenuInsertLyXFile):
1266         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1267         * lyxfunc.C (menuNew, open, doImport):
1268         FileFilterList change to the FileDialog open and save functions.
1269
1270 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1271
1272         * ShareContainer.h: make isEqual and isUnique adaptable
1273
1274         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1275
1276 2004-01-07  Angus Leeming  <leeming@lyx.org>
1277
1278         * LyXAction.C:
1279         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1280
1281         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1282
1283         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1284         functions replacing find, replace and replaceAll.
1285
1286         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1287         LFUN_WORDFIND(FORWARD|BACKWARD).
1288
1289 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1290
1291         * text.C (breakParagraph): remove an outdated #warning
1292
1293 2004-01-07  André Pönitz  <poenitz@gmx.net>
1294
1295         * lyxfind.C: somewhat clearer logic
1296
1297         * text.C: prevent crash in cursorX on unitialized row cache
1298
1299 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * lyxcursor.[Ch] (operator>): add
1302         * textcursor.C (selStart, selEnd): use std::min and std::max
1303
1304 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1305
1306         * Chktex.C: include boost/format.hpp
1307
1308 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1309
1310         * InsetList.C: replace functor MathcIt with adaptable functor
1311         InsetTablePosLess
1312         (insetIterator): modify accordingly
1313
1314         * BranchList.h: move the BranchNamesEqual functor here from...
1315         * BranchList.C: ... to here
1316
1317         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1318         SameName and match.
1319         (add): replace a finding loop with std::find_if.
1320
1321 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1322
1323         * output_docbook.C: moving LatexParam functionality into
1324         .layout files
1325
1326 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1327
1328         * buffer.C: increment format to 229.
1329
1330 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1331
1332         * LaTeXFeatures.C:
1333         * lyx_sty.[Ch]: remove minipageindent_def
1334
1335         * LyXAction.C:
1336         * factory.C:
1337         * lfuns.h:
1338         * lyxfunc.C:
1339         * text3.C: remove LFUN_INSET_MINIPAGE
1340
1341 2003-12-28  Angus Leeming  <leeming@lyx.org>
1342
1343         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1344
1345 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * text2.C (setParagraph): fix off-by-one crash
1348
1349 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1350
1351         * output_docbook.C: header stuff for AGU
1352
1353 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * text2.C (redoCursor): remove
1356         * text.C:
1357         * text3.C:
1358         * BufferView_pimpl.C: remove calls to redoCursor and
1359         setCursor(cursor.par(), cursor.pos()) all around
1360
1361 2003-12-15  Angus Leeming  <leeming@lyx.org>
1362
1363         * buffer.C: up the format to 228.
1364
1365 2003-12-15  André Pönitz  <poenitz@gmx.net>
1366
1367         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1368         slices
1369
1370         * Makefile.am:
1371
1372         * BufferView_pimpl.C:
1373         * cursor.[Ch]:
1374         * lyxcursor.[Ch]:
1375         * rowpainter.[Ch]:
1376         * lyxtext.h:
1377         * text.C:
1378         * text2.C:
1379         * text3.C: adjust
1380
1381 2003-12-15  Angus Leeming  <leeming@lyx.org>
1382
1383         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1384         than getFromGUIName to manipulate the color.
1385
1386 2003-12-14  Angus Leeming  <leeming@lyx.org>
1387
1388         * BranchList.[Ch]: minimize the API.
1389         (Branch::getBranch, getColor): now return a 'const &'.
1390         (Branch::setSelected) now returns a bool set to true if the
1391         selection status changes.
1392         (BranchList::clear, size, getColor, setColor, setSelected,
1393         allBranches, allSelected, separator): removed.
1394         (BranchList::find): new functions, returning the Branch with
1395         the given name.
1396         (BranchList::add, remove): return a bool indicating that
1397         the operation was successful.
1398
1399         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1400         new InsetBranch::isBranchSlected member function.
1401
1402         * LColor.[Ch]: mimimize the API.
1403         (fill): renamed as addColor and made private.
1404         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1405         versions of these functions taking a string arg have been removed.
1406
1407         * bufferparams.C (readToken):
1408         * lyxfunc.C (dispatch):
1409         * lyxrc.C (read): changes due to the altered BranchList and
1410         LColor APIs.
1411
1412         * factory.C (createInset, readInset): changes due to altered
1413         InsetBranch c-tor.
1414
1415 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1416
1417         * factory.C:
1418         * lyxfunc.C: remove insetminipage. "minipage-insert"
1419         now produces a frameless minipage box inset.
1420
1421 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * textcursor.[Ch] (selStart,selEnd): add new methods
1424         remove selection::start, end, use LyXCursor::operator<
1425         * lyxcursor.[Ch] (operator<): add
1426         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1427         * BufferView.[Ch] (unsetXSel): add
1428         * text2.C (clearSelection): use unsetXSel,adjust
1429         * text.C: adjust
1430         * text3.C: adjust
1431         * rowpainter.C: adjust
1432         * bufferview_funcs.C (put_selection_at): adjust
1433
1434 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1435
1436         * BufferView_pimpl.C: small coord. correction
1437
1438 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1441         dragging over the splash screen.
1442
1443 2003-12-11  Angus Leeming  <leeming@lyx.org>
1444
1445         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1446         as it is now handled in LyXText::dispatch.
1447
1448         * text3.C (doInsertInset): remove a level of nesting.
1449
1450 2003-12-11  Angus Leeming  <leeming@lyx.org>
1451
1452         * factory.C (createInset): changes due to the changed interface to
1453         InsetCommandMailer::string2params.
1454
1455 2003-12-10  Angus Leeming  <leeming@lyx.org>
1456
1457         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1458         'dialog-show-new-inset <inset name>'
1459
1460 2003-12-10  Angus Leeming  <leeming@lyx.org>
1461
1462         * buffer.C: up the format to 227.
1463
1464         * factory.C: the box inset is now identified simply by 'Box'.
1465
1466 2003-12-10  Angus Leeming  <leeming@lyx.org>
1467
1468         * buffer.C: up the format to 226.
1469
1470         * factory.C: the note inset is now identified simply by 'Note'.
1471
1472 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1473
1474         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1475         when a pit is enough. Standarize a couple of loops.
1476
1477 2003-12-05  Angus Leeming  <leeming@lyx.org>
1478
1479         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1480         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1481         data to the re-worked "log" dialog.
1482
1483 2003-12-03  André Pönitz  <poenitz@gmx.net>
1484
1485         * PosIterator.C:
1486         * iterators.C:
1487         * lyxtext.h:
1488         * output_latex.C:
1489         * paragraph_funcs.C:
1490         * text.C:
1491         * text2.C: use Inset::getText instead of Inset::getParagraph
1492
1493 2003-12-03  André Pönitz  <poenitz@gmx.net>
1494
1495         * buffer.[Ch]:
1496         * lyxtext.h:
1497         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1498         InsetText::read() as LyXText::read()
1499
1500 2003-12-02  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1503         type. Add a comment in the implementation that the function uses
1504         the stream's bad() function rather than fail() as the std::streams
1505         would do.
1506
1507 2003-12-02  André Pönitz  <poenitz@gmx.net>
1508
1509         * lyxlex.[Ch]: make interface more similar to std::stream
1510
1511         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1512
1513 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1514
1515         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1516
1517 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1518
1519         * vspace.[Ch]: remove VSpace::NONE
1520
1521 2003-12-01  André Pönitz  <poenitz@gmx.net>
1522
1523         * buffer.[Ch]:
1524         * lyxtext.h: move ParagraphList member to LyXText
1525         rename LyXText::ownerParagraphs to LyXText::paragraph
1526
1527         * CutAndPaste.C:
1528         * bufferview_funcs.C:
1529         * iterators.[Ch]:
1530         * lyx_cb.C:
1531         * paragraph.C:
1532         * rowpainter.C:
1533         * tabular.C:
1534         * text.C:
1535         * text2.C:
1536         * text3.C: adjust
1537
1538         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1539
1540         * undo.C: fix cursor positioning
1541
1542 2003-12-01  John Levon  <levon@movementarian.org>
1543
1544         * BufferView_pimpl.C: fix a crash on exit with
1545         a buffer open
1546
1547 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1548
1549         * BranchList.C: fix setSelected() method.
1550
1551 2003-11-28  André Pönitz  <poenitz@gmx.net>
1552
1553         * ParagraphParameters.[Ch]:
1554         * ParameterStruct.h: remove space above/below from Paragraph to
1555          InsetVSpace
1556
1557         * BufferView_pimpl.C:
1558         * factory.C:
1559         * lyxfunc.C:
1560         * lyxtext.h:
1561         * output_latex.C:
1562         * paragraph.C:
1563         * paragraph_funcs.C:
1564         * rowpainter.[Ch]:
1565         * text.C:
1566         * text2.C:
1567         * text3.C: adjust
1568
1569 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1570
1571         * factory.C: Syntax change for CharStyles
1572
1573 2003-11-28  André Pönitz  <poenitz@gmx.net>
1574
1575         * BufferView.[Ch]:
1576         * BufferView.[Ch]:
1577         * buffer.[Ch]:
1578         * buffer.[Ch]: move LyXText member
1579
1580 2003-11-28  André Pönitz  <poenitz@gmx.net>
1581
1582         * BufferView.[Ch]: make LyXText * text a private member
1583
1584         * BufferView_pimpl.C:
1585         * cursor.C:
1586         * iterators.C:
1587         * lyx_cb.C:
1588         * lyxfind.C:
1589         * lyxtext.h:
1590         * rowpainter.[Ch]:
1591         * text.C:
1592         * text2.C:
1593         * undo.C: adjust
1594
1595         * output_plaintext.C: cleanup
1596
1597 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1598
1599         * buffer.C:
1600         * lyxtextclass.[Ch]: parametrize SGML document header
1601
1602 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1603
1604         * converter.[Ch]:
1605         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1606         getFlavor().
1607
1608 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * text2.C (setFont): rework using PosIterator (no more recursive)
1611         (setCharFont): no more needed
1612         (setLayout): no more selection cursors fiddling (done by redoCursor)
1613         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1614         destroy remaining ones)
1615
1616 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1619         * lyxtext.h: ditto
1620         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1621         selection cursors
1622         * lyxfunc.C: adjust
1623         * text3.C: adjust + re-allow multi par depth changes
1624         * textcursor.C: simplify a bit
1625
1626 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1627
1628         * src/buffer.C:
1629         * src/lyxlayout.C:
1630         * src/lyxlayout.h:
1631         * src/lyxtext.h:
1632         * src/output_docbook.C:
1633         * src/output_latex.C:
1634         * src/paragraph.C:
1635         * src/paragraph.h:
1636         * src/sgml.C:
1637         * src/sgml.h:
1638         * src/text2.C: Introducing a number of tags parametrizing various
1639         XML formats that we may want to support
1640
1641 2003-11-25  André Pönitz  <poenitz@gmx.net>
1642
1643         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1644
1645         * lyxtext.h (leftMargin/rightMargin): simplify interface
1646
1647         * rowpainter.C:
1648         * text.C:
1649         * text2.C:
1650         * text3.C: adjust
1651
1652 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1653
1654         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1655         master file to any child files. Fixes bug 546.
1656
1657 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1660
1661 2003-11-24  André Pönitz  <poenitz@gmx.net>
1662
1663         * rowpainter.C: simplification
1664
1665         * text2.C (updateCounters): remove call to redoParagraph on
1666         changed labels as this is far too expensive.
1667
1668 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * converter.C (convert): fix a crash: this function gets
1671         called with buffer == 0 from importer code.
1672
1673 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1674
1675         * text3.C (cursorPrevious): make sure that we do not compare
1676         iterators form different containers.
1677         (cursorNext): ditto
1678
1679         * rowpainter.C (paintSelection): make sure that we do not compare
1680         iterators from different containers.
1681
1682         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1683         iterators from different ParagraphList containers.
1684         [NEXT] ditto
1685
1686         * text2.C (LyXText): change order of initialization slightly
1687         (operator=): new function. copy all variables except cache_par_
1688         (moveUp): make sure that we do not compare iterators from
1689         different ParagraphList constainers.
1690         (moveDown): ditto
1691
1692         * text.C (firstPar): new function
1693         (lastPar): new function
1694         (endPar): new function
1695
1696         * lyxtext.h: move things around and group public functions, public
1697         variables, private functions, private variables
1698
1699 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1700
1701         * factory.C: change call to InsetERT constructor to avoid
1702         additional invocation of method status
1703         * text2.C (toggleInset): remove redundant update() call
1704         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1705         instead of a Bufferview pointer
1706
1707 2003-11-21  André Pönitz  <poenitz@gmx.net>
1708
1709         * rowpainter.C: simplification
1710
1711 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * text3.C (dispatch): make possible to extend a word/row selection
1714         with the mouse
1715
1716 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1717
1718         * lyxtext.h: x0_,y0_ -> xo_,yo_
1719         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1720         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1721         * rowpainter.C (paintRows): paint full paragraphs
1722
1723 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1726         screen coordinates)
1727
1728 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1729
1730         * lyxtext.h: add x0_, y0_
1731         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1732         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1733
1734 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1735
1736         * text2.C (setCursorIntern): move the x_target update here *
1737         * text3.C: change some bv() to true/false in calls to
1738         cursorUp/Down/Right/Left
1739         * cursor.C: use helper function.
1740
1741 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1744         * paragraph_funcs.[Ch]: correct comment
1745         * rowpainter.C: do not paint selections away from bv->cursor()
1746         Fix a long standing selection painting bug.
1747         * text3.C: generalize mouse-selection code to LyXTexts other that
1748         top one
1749         * textcursor.C: do not use y coords if we can use par offsets
1750
1751 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1752
1753         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1754         cursor position after e.g. inset insert)
1755
1756 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * lyxfind.C (replace): adjust to locking removal + some
1759         code simplification
1760
1761 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1764         of the path
1765
1766 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1767
1768         * lyxlayout.[Ch]:
1769         * output_docbook.C: XML sanitation: new layout
1770         parameters InnerTag and CommandDepth
1771
1772 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1773
1774         * BufferView_pimpl.C:
1775         * factory.C:
1776         * text3.C: Fix the insertion and modification of button-style
1777         insets
1778
1779 2003-11-13  André Pönitz  <poenitz@gmx.net>
1780
1781         * InsetList.[Ch]: remove deleteLyXText
1782
1783         * paragraph.[Ch]: cache beginOfBody position
1784
1785         * Bidi.C:
1786         * text.C:
1787         * text2.C:
1788         * text3.C: remove superfluous update() calls
1789
1790         * vspace.C: cleanup
1791
1792 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1795         * BufferView.C (fitLockedInsetCursor): remove
1796         * cursor.[Ch] (getDim): add
1797         * text.C (getRowNearY): add faster version
1798         * text3.C: remove some update calls
1799
1800 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * LaTeXFeatures.C:
1803         * LyXAction.C:
1804         * MenuBackend.C:
1805         * MenuBackend.h:
1806         * dispatchresult.h:
1807         * factory.C:
1808         * lfuns.h:
1809         * lyxfunc.C:
1810         * lyxtextclass.C:
1811         * lyxtextclass.h:
1812         * text3.C: The Character Style /XML short element patch.
1813
1814 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1815
1816         * text3.C:
1817         * factory.C: Small step to solving 'unable to insert some insets'
1818         problem
1819
1820 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * cursor.[Ch] (updatePos): new function for updating the y
1823         position of the tip inset
1824         * bufferview_funcs.C (put_selection_at):
1825         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1826
1827 2003-11-11  André Pönitz  <poenitz@gmx.net>
1828
1829         * text.C: remove big comment on invalid Paragraph pointers as it is
1830         not valid anymore
1831
1832 2003-11-11  André Pönitz  <poenitz@gmx.net>
1833
1834         * text_funcs.[Ch]: merge with ...
1835
1836         * text.C: ... this
1837
1838         * lyxtext.h:
1839         * text2.C:
1840         * text3.C: adjust
1841
1842         * Makefile.am: remove text_funcs.[Ch]
1843
1844 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1845
1846         * cursor.C (getPos): return absolute cached y coord
1847
1848         * BufferView_pimpl.C (fitCursor): new simplistic code
1849         (workAreaDispatch): add a fitCursor call
1850
1851 2003-11-10  André Pönitz  <poenitz@gmx.net>
1852
1853         * BufferView.[Ch]:
1854         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1855
1856 2003-11-10  André Pönitz  <poenitz@gmx.net>
1857
1858         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1859         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1860         indicate that the cursor needs to leave an inset
1861
1862         * lyxtext.h: remove inset locking
1863
1864         * cursor.[Ch]: re-implement functionality provided by inset locking
1865
1866         * BufferView.[Ch]:
1867         * BufferView_pimpl.[Ch]:
1868         * LyXAction.C:
1869         * bufferview_funcs.[Ch]:
1870         * factory.C:
1871         * funcrequest.[Ch]:
1872         * iterators.C:
1873         * lyx_cb.C:
1874         * lyxfind.C:
1875         * lyxfunc.C:
1876         * text.C:
1877         * text2.C:
1878         * text3.C:
1879         * undo.C: adjust
1880
1881 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1882
1883         * PosIterator.[Ch]: replace the stack with a vector, add inset
1884         accesor
1885         * iterators.[C]: adjust
1886
1887 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1888
1889         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1890         replaced
1891         * paragraph_funcs.C (readParToken): put the correct id in the
1892         error item, not the id of the top paragraph
1893
1894 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1897         * bufferview_funcs.C (put_selection_at): use the above
1898
1899 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1902
1903 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * output_linuxdoc.h:
1906         * output_plaintext.h:
1907         * output.h:
1908         * output_docbook.h: add #include statements
1909
1910 2003-11-05  José Matos  <jamatos@lyx.org>
1911
1912         * output_docbook.[Ch]:
1913         * output_latex.[Ch]:
1914         * output_linuxdoc.[Ch]:
1915         * output_plaintext.[Ch]: New files for output formats.
1916         * output.[Ch]: New file for helper functions.
1917
1918         * buffer.[Ch]:
1919         * paragraph_funcs.[Ch]: output functions moved to new files.
1920
1921         * outputparams.h: rename of latexrunparams.h
1922
1923         * LaTeX.[Ch]:
1924         * buffer.[Ch]:
1925         * bufferlist.[Ch]:
1926         * converter.[Ch]:
1927         * exporter.C:
1928         * paragraph.[Ch]:
1929         * paragraph_funcs.[Ch]:
1930         * paragraph_pimpl.[Ch]:
1931         * tabular.[Ch]: rename ascii to plaintext
1932         and LatexRunParams to OutputParams.
1933
1934 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * iterators.[Ch] (text): require bv argument
1937         * undo.C (recordUndo):
1938         * lyxfunc.C (dispatch):
1939         * bufferview_funcs.C (put_selection_at): adjust
1940
1941 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1942
1943         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1944
1945 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1946
1947         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1948         nestings
1949
1950 2003-11-04  André Pönitz  <poenitz@gmx.net>
1951
1952         * cursor.[Ch]: restructure
1953
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1956
1957         * iterators.[Ch] (asCursor): remove
1958
1959         * lfuns.h: remove LFUN_INSET_EDIT
1960
1961         * lyxfunc.C:
1962         * tabular.C:
1963         * text.C:
1964         * text2.C:
1965         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1966
1967 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1968
1969         * lyxfind.[Ch]: complete overhaul
1970         * BufferView_pimpl.C:
1971         * lyxfunc.C: adjust
1972         * paragraph.[Ch] (insert): add
1973
1974 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * BufferView.[Ch]:
1977         * lyxtext.h:
1978         * text.C: remove dead spellcheck code
1979
1980 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * dispatchresult.h: add a val setter
1983
1984         * cursor.C (dispatch): use a tempvar for data_[i]
1985
1986 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * PosIterator.[Ch]: compile fix
1989
1990 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1991
1992         * text.C (cursorPar): deactivate the cursor cache
1993
1994 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1995
1996         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1997
1998 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * text3.C (dispatch): adjust for new DisptchResult semantics.
2001
2002         * lyxfunc.C (dispatch): handle update when return from
2003         Cursor::dispatch, adjust for new DispatchResult semantics.
2004
2005         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2006         DispatchResult(true) mean to not update. Add class functions for
2007         setting dispatched and update, as well as reading.
2008
2009         * cursor.C (dispatch): don't handle update here
2010
2011 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2014         * trans_mgr.C: adjust
2015
2016         * paragraph_funcs.C (readParToken): exception safety
2017
2018         * lyxvc.h: store the vcs pointer in a scoped_ptr
2019         * lyxvc.C: adjust
2020
2021         * lyxsocket.C (serverCallback): exception safety
2022
2023         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2024
2025         * ispell.C (clone): make it return a auto_ptr
2026
2027         * factory.C (createInset): exception safety
2028         (readInset): exception safety
2029
2030         * bufferlist.C (newBuffer): exception safety
2031
2032         * Thesaurus.C (Thesaurus): use initialization for aik_
2033
2034         * MenuBackend.C (expandToc): exception safety.
2035
2036 2003-11-03  André Pönitz  <poenitz@gmx.net>
2037
2038         * buffer.C:
2039         * buffer.h:
2040         * bufferview_funcs.C: remove getInsetFromId()
2041
2042         * lyxcursor.[Ch]:
2043         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2044
2045         * lyxfunc.C:
2046         * text2.C:
2047         * text3.C: adjust
2048
2049 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2050
2051         * PosIterator.C (distance, advance): new
2052         * bufferview_funcs.[Ch] (put_selection_at): new
2053         * iterators.[Ch] (lockPath): new
2054
2055 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * iterators.[Ch] (asPosIterator): added
2058         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2059         * PosIterator.[Ch]: added
2060
2061 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2062
2063         * text3.C:
2064         * lyxfunc.C:
2065         * cursor.C (dispatch):
2066         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2067
2068         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2069         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2070         contructor, add a class function dispatched. Remove operator>=
2071
2072 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * debug.C: only use the default constructor for debugstream
2075         (lyxerr) here.
2076
2077         * main.C (main): include debug.h and setup the lyxerr streambuf
2078         here.
2079
2080 2003-10-31  José Matos  <jamatos@lyx.org>
2081
2082         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2083
2084         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2085         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2086         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2087         * paragraph_pimpl.C (simpleTeXSpecialC):
2088         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2089         add LatexRunParams argument.
2090
2091         * exporter.C (Export): change call accordingly.
2092
2093         * latexrunparams.h: add new member to take care of the other backends.
2094 2003-10-30  José Matos  <jamatos@lyx.org>
2095
2096         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2097         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2098         factorise code for paragraph output.
2099         * buffer.[Ch]:
2100         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2101         move functions.
2102
2103 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * text3.C (dispatch):
2106         * lyxfunc.C (dispatch):
2107         * cursor.C (dispatch):
2108         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2109
2110         * dispatchresult.h: make the dispatch_result_t ctor explicit
2111
2112 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2113
2114         * sgml.[Ch]:
2115         * buffer.C: small refactoring of docbook stuff
2116
2117 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2118
2119         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2120         meaning.
2121
2122 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2123
2124         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2125         operator dispatch_result_t, and operators for == != and >=
2126
2127         * cursor.C (dispatch): adjust for operator dispatch_result_t
2128         removal. comment out call to update
2129
2130         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2131
2132 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * text3.C:
2135         * text2.C:
2136         * text.C:
2137         * lyxtext.h:
2138         * lyxfunc.C:
2139         * cursor.C:
2140         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2141         (dispatch):
2142
2143         * dispatchresult.h: new file, DispatchResult broken out of
2144         insets/insetbase.h
2145
2146         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2147
2148 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2149
2150         * text.C (rowBreakPoint): put a hack inside #if 0
2151
2152 2003-10-28  André Pönitz  <poenitz@gmx.net>
2153
2154         * lyxtext.h:
2155         * metricsinfo.C:
2156         * paragraph_funcs.C:
2157         * rowpainter.C:
2158         * text.C:
2159         * text2.C: general cleanup (lots of small stuff)
2160
2161 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2162
2163         * text2.C (cursorEnd): simple fix to the "end key goes to one
2164         before the end on last row" bug
2165
2166 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2167
2168         * text.C (backspace): fix the "zombie characters"
2169
2170 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2171
2172         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2173
2174 2003-10-27  André Pönitz  <poenitz@gmx.net>
2175
2176         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2177
2178         * factory.C: handle new InsetPagebreak, InsetLine
2179
2180         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2181         and move handling into new InsetPagebreak, InsetLine
2182
2183         * BufferView_pimpl.C:
2184         * LyXAction.C:
2185         * ParagraphParameters.C:
2186         * ParameterStruct.h:
2187         * lyxfunc.C:
2188         * lyxtext.h:
2189         * paragraph.C:
2190         * paragraph.h:
2191         * paragraph_funcs.C:
2192         * paragraph_pimpl.C:
2193         * rowpainter.C:
2194         * text.C:
2195         * text2.C:
2196         * text3.C: adjust
2197
2198 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2199
2200         * text.C:
2201         * lyxrow_funcs.[Ch]:
2202         * Bidi.C:
2203         * paragraph.C:
2204         * lyxtext.h:
2205         * rowpainter.C:
2206         * text2.C:
2207         * text3.C: remove lastPos uses in favour of Row::endpos
2208
2209 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2210
2211         * undo.C (performUndoOrRedo): fix two crashes by setting a
2212         cursor by hand and reordering some calls. Use bv->lockInset instead
2213         of inset->edit because the latter loses cursor information
2214
2215 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2216
2217         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2218         by Martin
2219         (rowBreakPoint): fix width. change point to point + 1.
2220         Add a missing check.
2221
2222 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2223
2224         * MenuBackend.C:
2225         * lyxfunc.C: fix (at least partly) the problems
2226         with the Nav menu and headers inside branch insets
2227         reported by Kayvan
2228
2229 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2230
2231         * paragraph.C (getChar): add strong asserts
2232
2233         * lyxrow_funcs.C (lastPos): remove hideous hack
2234
2235         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2236         (fill): adjust to that (avoid an infinite loop)
2237
2238 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2241
2242 2003-10-23  André Pönitz  <poenitz@gmx.net>
2243
2244         * RowList_fwd.h: change list<> to vector<> to gain speed
2245         after suggestion from Alfredo
2246
2247 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2248
2249         * lyxtext.h: move the bidi stuff from here...
2250         * text.C: and here
2251         * text2.C: and here
2252         * Bidi.[Ch]: ... to here
2253
2254 2003-10-23  André Pönitz  <poenitz@gmx.net>
2255
2256         * lyxtext.h:
2257         * text.C (isLastRow, isFirstRow): new functions
2258
2259         * paragraph.h: new width cache member
2260
2261         * rowpainter.C: replace RowList::iterator with Row & where possible
2262
2263         * lyxfunc.C: replace several view()->text with a single call
2264
2265         * toc.C: fix 'unused' warning
2266
2267 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2268
2269         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2270         when woring with stream::pos_type
2271         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2272
2273 2003-10-22  André Pönitz  <poenitz@gmx.net>
2274
2275         * lyxtext.h:
2276         * text.C: use Row & instead of RowList::iterator
2277
2278         * lyxrow.h: rename end() to endpos()
2279
2280         * rowpainter.C:
2281         * text.C:
2282         * text2.C: adjust
2283
2284 2003-10-22  Angus Leeming  <leeming@lyx.org>
2285
2286         * buffer.[Ch] (fully_loaded): new member function, returning true
2287         only when the file has been loaded fully.
2288         Used to prevent the premature generation of previews and by the
2289         citation inset to prevent computation of the natbib-style label.
2290
2291         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2292         templates are all set up.
2293
2294         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2295
2296 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2297
2298         * text.C: fixed an "oops" in the "is a bit silly"
2299         bug fix
2300
2301 2003-10-21  André Pönitz  <poenitz@gmx.net>
2302
2303         * FuncStatus.[Ch]: small stuff, whitespace
2304
2305         * lyxfont.[Ch]: operator<<() for debug reasons
2306
2307         * lyxfunc.C:
2308         * lyxrow_funcs.C:
2309         * lyxtext.h: whitespace, spelling
2310
2311         * paragraph.C: naming of variables
2312
2313         * text.C:
2314         * text2.C: small stuff
2315
2316
2317 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2318
2319         * text.C: (1) finish off the inset display() work;
2320         (2) fix the "is a bit silly" bug (accessing char
2321         past end of par).
2322
2323 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2324
2325         * text.C: re-introduce display() for insets, fixing the
2326         various bugs (stretch of line above, math inset
2327         positioning, ...)
2328
2329 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2330
2331         * text.C (rightMargin): remove spurious semicolon
2332
2333         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2334         1415)
2335
2336 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2337
2338         * text3.C: fix one crash due to wrong cursor def
2339
2340 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * vc-backend.C (scanMaster): make the regex static
2343
2344         * LaTeX.C (scanAuxFile): make the regexs static
2345
2346         * text3.C (doInsertInset, dispatch, dispatch):
2347         * text2.C (cursorUp, cursorDown):
2348         * text.C (selectNextWordToSpellcheck):
2349         * BufferView_pimpl.C (dispatch):
2350         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2351
2352 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * lyxsocket.C: include <cerrno>
2355
2356 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2357
2358         * lyxfunc.C (dispatch): remove textcache stuff
2359
2360         * bufferlist.C (release): remove textcache stuff
2361         (closeAll): ditto
2362
2363         * TextCache.C: delete file
2364         * TextCache.h: delete file
2365
2366         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2367
2368         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2369         delete of the bv_->text.
2370         (resizeCurrentBuffer): remove texcache stuff
2371         (workAreaResize): ditto
2372
2373 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2376         action.
2377
2378 2003-10-16  André Pönitz  <poenitz@gmx.net>
2379
2380         * lyxrow.[Ch]:
2381         * paragraph.h:
2382         * rowpainter.C:
2383         * text.C:
2384         * text2.C:
2385         * text3.C: speed up by storing y positions per paragraph plus per-row
2386         offset instead of having a 'full' y position in the row.
2387
2388 2003-10-15  André Pönitz  <poenitz@gmx.net>
2389
2390         * iterators.[Ch]:
2391         * iterators.[Ch]:
2392         * undo.[Ch]: make undo aware of inner insets
2393
2394 2003-10-14  Angus Leeming  <leeming@lyx.org>
2395
2396         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2397         static member functions LyX::ref() and LyX::cref.
2398         (lastfiles): new accessor functions for the new lastfiles_ member var.
2399         (addLyXView, views_): add a new LyXView to the list of views_.
2400         (updateInset): loop over all LyXViews to call their own updateInset
2401         member function, returning a pointer to the Buffer owning the inset.
2402
2403         * BufferView_pimpl.C (loadLyXFile):
2404         * MenuBackend.C (expandLastfiles):
2405         * bufferlist.C (MenuWrite, QuitLyX):
2406         lastfiles is no longer a global variable.
2407         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2408
2409         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2410         static function. Access through LyX::cref().emergencyCleanup().
2411
2412 2003-10-14  André Pönitz  <poenitz@gmx.net>
2413
2414         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2415
2416         * undo.[Ch]: restoring part of 'undo in insets'
2417
2418         * Makefile.am:
2419         * undo_funcs.[Ch]: merge with undo.[Ch]
2420
2421         * tabular.C: small cleansing stuff
2422
2423 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2424
2425         * paragraph_funcs.C (readParToken): report unknown insets as error
2426         boxes. Use the outer paragraph as location (also for unknown
2427         tokens).
2428
2429         * factory.C (readInset): do not abort on reading an unknown inset.
2430         Eat it and return 0.
2431
2432 2003-10-13  Angus Leeming  <leeming@lyx.org>
2433
2434         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2435
2436         * lyxrc.C: displayTranslator is now a function,
2437         declared in GraphicsTypes.h.
2438
2439 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2440
2441         * format.C: new placeholder $$a to pass the socket address.
2442
2443         * bufferlist.[Ch]: new function getBufferFromTmp.
2444
2445         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2446           files in the temporary dir.
2447
2448 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2449
2450         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2451
2452         * Makefile.am: add lyxsocket.[Ch].
2453
2454         * lyx_main.C (error_handler): handle SIGPIPE.
2455
2456 2003-10-13  André Pönitz  <poenitz@gmx.net>
2457
2458         * BufferView_pimpl.C:
2459         * lyxtext.h:
2460         * text.C:
2461         * text2.C:
2462         * text3.C:
2463         * undo_funcs.[Ch]: use paroffset_type instead of
2464           ParagraphList::iterators to prevent multiple conversion
2465           (and get a more robust interface)
2466
2467 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2470         * lyxtext.h: ditto
2471         * text3.C (dispatch): ditto
2472
2473 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2476         move the onlyfile, use onlyfile instead of foundfile in a couple
2477         of places.
2478
2479         * DepTable.C (update): flush the error stream a bit more
2480
2481 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * lyxserver.C (callback): adjust
2484
2485         * lyxfunc.C (getStatus): add a missing brace in commented code
2486         (ensureBufferClean): reindent
2487         (dispatch): delete version taking a string
2488
2489 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2490
2491         * LaTeX.C (deplog): move found file handlig from here...
2492         (handleFoundFile): .. to new function here.
2493         (deplog): make sure to discover several files mentioned on the
2494         same log line.
2495
2496 2003-10-10  André Pönitz  <poenitz@gmx.net>
2497
2498         * lyxfunc.C:
2499         * lyxtext.h:
2500         * tabular.C:
2501         * text.C:
2502         * text2.C:
2503         * text3.C: fix some of the tabular crashes
2504
2505 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2506
2507         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2508
2509         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2510
2511 2003-10-09  André Pönitz  <poenitz@gmx.net>
2512
2513         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2514
2515         * BufferView.C:
2516         * BufferView_pimpl.C:
2517         * bufferview_funcs.C:
2518         * lyx_cb.C:
2519         * lyxcursor.C:
2520         * lyxfind.C:
2521         * lyxfunc.C:
2522         * lyxtext.h:
2523         * text.C:
2524         * text2.C:
2525         * text3.C:
2526         * text_funcs.[Ch]:
2527         * textcursor.[Ch]:
2528         * undo_funcs.C: adjust
2529
2530 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2531
2532         * text2.C (incrementItemDepth): new function, use a backtracking
2533         algorithm to discover the correct item depth.
2534         (resetEnumCounterIfNeeded): new function, use a backtracking
2535         algorithm to discover if counter reset is needed.
2536         (setCounter): use them. Simplify a bit. Add different labels for
2537         different item depths for itemize.
2538
2539         * paragraph.C (Paragraph): remove initialization of enumdepth
2540         (operator=): ditto
2541
2542         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2543         enumerate and itemize. Change the type of itemdepth to signed char.
2544
2545 2003-10-08  André Pönitz  <poenitz@gmx.net>
2546
2547         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2548           thing assignable.
2549         * text.C:
2550         * text2.C: adjust
2551
2552         * tabular.[Ch]: fix crash after 'row-insert'
2553
2554 2003-10-08  Angus Leeming  <leeming@lyx.org>
2555
2556         Fix doxygen warnings.
2557
2558         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2559         Remove CutAndPaste:: prefix from header file declaration.
2560
2561         * LColor.h (fill): remove LColor:: prefix from declaration.
2562
2563         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2564         use lyx::depth_type rather than Paragraph::depth_type so that
2565         header file and .C file match.
2566
2567         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2568
2569         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2570         * aspell.C: \file aspell_local.C -> \file aspell.C
2571         * gettext.C: \file gettext.C -> \file src/gettext.C
2572         * gettext.h: \file gettext.h -> \file src/gettext.h
2573         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2574         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2575         * text.C: \file text.C -> \file src/text.C
2576
2577         * toc.C: move comment so that doxygen is not confused.
2578
2579 2003-10-07  Angus Leeming  <leeming@lyx.org>
2580
2581         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2582
2583 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2584
2585         * aspell.C:
2586         * aspell_local.h: add forgotten std::string's.
2587
2588 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2589
2590         * LaTeXFeatures.C:
2591         * LyXAction.C:
2592         * factory.C:
2593         * lfuns.h:
2594         * lyxfunc.C:
2595         * text3.C: The Box patch. Fancybox support, minipage, parbox
2596
2597 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2598
2599         * CutAndPaste.h:
2600         * DepTable.h:
2601         * FloatList.h:
2602         * LaTeXFeatures.h:
2603         * ParagraphParameters.h:
2604         * TextCache.h:
2605         * Thesaurus.h:
2606         * bufferlist.h:
2607         * exporter.h:
2608         * importer.h:
2609         * lastfiles.h:
2610         * lyxfind.h:
2611         * lyxfont.h:
2612         * lyxlex.h:
2613         * lyxtextclasslist.h:
2614         * messages.h:
2615         * paragraph.h:
2616         * paragraph_pimpl.C:
2617         * textcursor.h: add <string> and other small fixes to make Lars'
2618         std::string patch compile with STLport.
2619
2620 2003-10-06  Angus Leeming  <leeming@lyx.org>
2621
2622         * LColor.h: Add missing #include <string>.
2623
2624 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2625
2626         * All most all file in all subdirs: Make <string> be the prefered
2627         way of getting to std::string, add using declarations.
2628
2629 2003-10-06  André Pönitz  <poenitz@gmx.net>
2630
2631         * metricsinfo.C: initialize LyXFont before changing attribute.
2632         (fixes the 'math in \emph is upright' bug)
2633
2634 2003-10-06  André Pönitz  <poenitz@gmx.net>
2635
2636         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2637
2638 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2639
2640         * graph.C:
2641         * paragraph_pimpl.C: Small fixes to build using STLport
2642
2643 2003-10-02  André Pönitz  <poenitz@gmx.net>
2644
2645         * lyxfunc.C:
2646         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2647
2648 2003-10-01  André Pönitz  <poenitz@gmx.net>
2649
2650         * factory.C: assert early
2651
2652 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * lyx_main.C: remove the global debug object
2655
2656         * debug.h: adjust for new debugstream
2657
2658         * debug.C: adjust for new debugstream and keep the global debug
2659         object here.
2660
2661 2003-09-22  Angus Leeming  <leeming@lyx.org>
2662
2663         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2664         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2665         an incomplete class LyXFont.
2666
2667 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2668
2669         * factory.C: bug fix in branches
2670
2671 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2672
2673         * lyxfunc.C (processKeySym): adjust
2674         (dispatch): adjust
2675         (dispatch): change arg name from ev to func, adjust
2676         (sendDispatchMessage): ditto
2677
2678         * lyx_main.C (defaultKeyBindings): adjust keybindings
2679         (deadKeyBindings): ditto
2680
2681         * kbsequence.C (addkey): return a FuncRequest
2682
2683         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2684
2685         * kbmap.C (bind): take a FuncRequest as arg, adjust
2686         (read): adjust
2687         (lookup): adjust
2688         (defkey): change to take a FuncRequest as arg, adjust
2689         (findbinding): take a FuncRequest as arg, adjust.
2690
2691         * funcrequest.h (operator=): added
2692
2693         * funcrequest.C (FuncRequest): default kb_action changed from
2694         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2695
2696         * buffer.C (dispatch): simplify
2697         (dispatch): adjust to take a FuncRequest as arg, adjust
2698
2699         * boost.C (assertion_failed): change assertion message slightly
2700
2701         * ToolbarBackend.C (read): simplify
2702
2703         * MenuBackend.C (binding): adjust call to findbinding, add a
2704         message if no binding is found.
2705         (read): simplify
2706         (expandToc): correct by adding a empty FuncRequest
2707
2708         * LyXAction.C: include <boost/assert.hpp>
2709         (isPseudoAction): delete function
2710         (LookupFunc): change name to...
2711         (lookupFunc): this. change return type to FuncRequest.
2712         (getActionName): take kb_action as arg, simplify
2713         (funcHasFlag): add an assert, simplify.
2714
2715 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * toc.C (action): return a FuncRequest, simplify
2718
2719         * lyxfunc.C (processKeySym): adjust
2720         (getStatus): delete version that takes an int.
2721         (getStatus): adjust
2722         (dispatch): delete version that takes action as int
2723         (dispatch): adjust
2724         (sendDispatchMessage): simplify and adjust
2725
2726         * funcrequest.C (getArg): take unsigned int as arg
2727
2728         * ToolbarBackend.C (read): adjust
2729         (add): delete version that takes func as a string.
2730         (getIton): take a FuncRequest as arg
2731
2732         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2733         action.
2734
2735         * MenuBackend.C (MenuItem): add a new construct that only takes a
2736         Kind, simplify the constructor use for submenus.
2737         (add): adjust
2738         (expandLastfiles): adjust
2739         (expandDocuments): adjust
2740         (expandFormats): adjust
2741         (expandFloatListInsert): adjust
2742         (expandFloatInsert): adjust
2743         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2744
2745         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2746         Remove class variables lyx_pseudo_map and lyx_arg_map
2747
2748         * LyXAction.C (searchActionArg): delete function
2749         (getPseudoAction): delete function
2750         (retrieveActionArg): delete function
2751         (LookupFunc): make it return kb_action, simplify.
2752         (getActionName): simplify
2753
2754         * factory.C (createInset): fix new bug
2755
2756 2003-09-19  Angus Leeming  <leeming@lyx.org>
2757
2758         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2759         masterFilename_ parameter in the include inset.
2760
2761         * factory.C (createInset): changes due to the changes to InsetInclude.
2762
2763 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2764
2765         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2766
2767 2003-09-18  Angus Leeming  <leeming@lyx.org>
2768
2769         * buffer.C:
2770         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2771         Inset::fillWithBibKeys.
2772         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2773
2774 2003-09-18  Angus Leeming  <leeming@lyx.org>
2775
2776         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2777         variables.
2778         (ctor): pass and store a 'Buffer const &'
2779         (buffer): new member function.
2780
2781         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2782         '*this' to the LaTeXFeatures ctor.
2783
2784 2003-09-18  Angus Leeming  <leeming@lyx.org>
2785
2786         * LColor.h:
2787         * lyxfont.C:
2788         * lyxfont.h:
2789         * lyxtext.h:
2790         * text.C: rename EnumLColor as LColor_color.
2791
2792 2003-09-18  Angus Leeming  <leeming@lyx.org>
2793
2794         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2795         remove #include "insets/insetbase.h" from cursor.h.
2796
2797 2003-09-18  Angus Leeming  <leeming@lyx.org>
2798
2799         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2800         InsetOld_code to remove #include "inset.h".
2801
2802         * iterators.C: add #include "insets/inset.h"
2803
2804 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2805
2806         * BufferView.C: remove more locking stuff that apparently doesn't
2807         do anything sensible.
2808
2809 2003-09-16  André Pönitz  <poenitz@gmx.net>
2810
2811         * paragraph.[Ch]:
2812         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2813           performance boost.
2814
2815 2003-09-16  Angus Leeming  <leeming@lyx.org>
2816
2817         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2818
2819         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2820         arg/return type.
2821
2822         * paragraph.h: remove #include "lyxfont.h". Forward declare
2823         LyXFont_size.
2824
2825 2003-09-16  Angus Leeming  <leeming@lyx.org>
2826
2827         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2828         of support/textutils.h.
2829         (isWord): move the contents of support/textutils.h's IsWordChar here.
2830
2831         * buffer.C:
2832         * lyxfind.C:
2833         * rowpainter.C:
2834         * text.C:
2835         * text2.C: add #include "paragraph.h".
2836
2837         * rowpainter.C:
2838         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2839
2840 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * main.C:
2843         * lyx_main.C:
2844         * lyx_cb.C:
2845         * buffer.C:
2846         * LaTeX.C: use namespace alias for lyx::support::os
2847
2848 2003-09-16  Angus Leeming  <leeming@lyx.org>
2849
2850         * bufferparams.C:
2851         * bufferview_funcs.C:
2852         * factory.C:
2853         * lyxfunc.C:
2854         * paragraph_pimpl.C:
2855         * rowpainter.C:
2856         * text.C: add #include "LColor.h".
2857
2858 2003-09-16  Angus Leeming  <leeming@lyx.org>
2859
2860         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2861         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2862         return LyXFont &.
2863         Store the FontBits::color variable as an int rather than as an
2864         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2865         file.
2866
2867         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2868         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2869         string calls together.
2870
2871         * lyxrc.C: add #include "LColor.h".
2872
2873 2003-09-15  Angus Leeming  <leeming@lyx.org>
2874
2875         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2876         a cow_ptr.
2877
2878 2003-09-15  Angus Leeming  <leeming@lyx.org>
2879
2880         * LColor.h: add an EnumLColor wrapper for LColor::color.
2881
2882         * lyxfont.[Ch] (color, setColor, realColor):
2883         * lyxtext.h, text.C (backgroundColor):
2884         pass EnumLColor args to/from the functions, rather than LColor::color
2885         ones.
2886
2887         * lyxfont.h:
2888         * lyxtext.h: forward declare EnumLColor.
2889
2890         * lyx_main.C: add #include "LColor.h".
2891
2892 2003-09-15  Angus Leeming  <leeming@lyx.org>
2893
2894         * .cvsignore: add lyx-gtk.
2895
2896 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * Chktex.C
2899         * LaTeX.C
2900         * LaTeXFeatures.C
2901         * ParagraphParameters.C
2902         * Spacing.C
2903         * buffer.C
2904         * bufferparams.C
2905         * bufferview_funcs.C
2906         * chset.C
2907         * counters.C
2908         * funcrequest.C
2909         * lyxfont.C
2910         * lyxgluelength.C
2911         * lyxlength.C
2912         * paragraph.C
2913         * paragraph_funcs.C
2914         * text3.C
2915         * vc-backend.C: remove usage of STRCONV
2916
2917 2003-09-15  Angus Leeming  <leeming@lyx.org>
2918
2919         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2920         explicitly define the color passed to the painter.
2921
2922 2003-09-15  Angus Leeming  <leeming@lyx.org>
2923
2924         * bufferparams.C (BufferParams): reorder member initializers to avoid
2925         compiler warning.
2926
2927 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2930         * text.C (updateRowPositions): remove an unusual nop
2931
2932 2003-09-12  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView_pimpl.C:
2935         * Bullet.C:
2936         * layout.h:
2937         * lyxfunc.C:
2938         * lyxlayout.[Ch]:
2939         * lyxtextclass.C:
2940         * rowpainter.C:
2941         * text.C:
2942         * text2.C:
2943         * Counters.[Ch]: finish the 'automatic counters' job
2944
2945 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2946
2947         * aspell.C: include <boost/assert.cpp> (compile fix)
2948
2949 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2950
2951         * boost.C (assertion_failed): use lyx::support::abort instead of
2952         assert.
2953
2954 2003-09-10  Angus Leeming  <leeming@lyx.org>
2955
2956         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2957         with their _fwd progeny.
2958
2959 2003-09-09  Angus Leeming  <leeming@lyx.org>
2960
2961         134 files throughtout the source tree: replace 'using namespace abc;'
2962         directives with the appropriate 'using abc::xyz;' declarations.
2963
2964 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2965
2966         * boost.C (emergencyCleanup): moved here from LAssert.c
2967         (assertion_failed): new function, called by BOOST_ASSERT
2968
2969         * several files: change Assert to BOOST_ASSERT
2970
2971 2003-09-09  Angus Leeming  <leeming@lyx.org>
2972
2973         * buffer.[Ch]: Add an Impl class and move Buffer's member
2974         variables into it. As a result move several header files out of
2975         buffer.h.
2976
2977         Add header files to lots of .C files all over the tree as a result.
2978
2979 2003-09-09  Angus Leeming  <leeming@lyx.org>
2980
2981         * buffer.[Ch]: make Buffer's member variables private. Add
2982         accessor functions.
2983
2984         Lots of changes all over the tree as a result.
2985
2986 2003-09-08  Angus Leeming  <leeming@lyx.org>
2987
2988         * graph.C: #include <config.h>.
2989
2990 2003-09-08  Angus Leeming  <leeming@lyx.org>
2991
2992         * BranchList.C:
2993         * BufferView.C:
2994         * BufferView_pimpl.C:
2995         * CutAndPaste.C:
2996         * DepTable.C:
2997         * LaTeX.C:
2998         * LaTeXFeatures.C:
2999         * LyXAction.C:
3000         * MenuBackend.C:
3001         * TextCache.C:
3002         * aspell.C:
3003         * buffer.C:
3004         * bufferlist.C:
3005         * changes.C:
3006         * chset.C:
3007         * converter.C:
3008         * counters.C:
3009         * debug.C:
3010         * graph.C:
3011         * ispell.C:
3012         * lyx_cb.C:
3013         * lyxfind.C:
3014         * lyxfunc.C:
3015         * lyxlex_pimpl.C:
3016         * lyxrc.C:
3017         * lyxrow.C:
3018         * paragraph.C:
3019         * rowpainter.C:
3020         * texrow.C:
3021         * text.C:
3022         * text2.C:
3023         * toc.C: remove redundant using directives.
3024
3025 2003-09-07  Angus Leeming  <leeming@lyx.org>
3026
3027         * LaTeXFeatures.h: remove #include "support/types.h".
3028         * ToolbarBackend.h: remove #include <algorithm>.
3029         * changes.h: remove #include <ctime>.
3030         * debug.h: remove #include <iosfwd>.
3031         * graph.h: remove #include "support/std_string.h".
3032         * lyx_main.h: remove #include <csignal>.
3033         * lyxlex_pimpl.h: remove #include <fstream>.
3034         * sgml.h: remove #include <algorithm>, <utility>.
3035         * toc.h: remove #include "support/std_ostream.h".
3036         Add #include <iosfwd>.
3037
3038 2003-09-07  Angus Leeming  <leeming@lyx.org>
3039
3040         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3041
3042         * converter.h: forward declare LatexRunParams.
3043         * encoding.h: remove #include "lyxrc.h".
3044         * lyxtext.h: remove #include "LColor.h".
3045         * lyxtextclass.h: remove #include "support/types.h".
3046         * trans.h: remove #include "tex-accent.h".
3047         * trans_mgr.h: remove #include "tex-accent.h".
3048         * insets/inset.h: remove #include "support/types.h", <vector>.
3049         * insets/insetcollapsable.h: remove #include "LColor.h".
3050         * insets/insetinclude.h: remove #include "dimension.h".
3051         * insets/insetlatexaccent.h: remove #include "dimension.h".
3052         * insets/insetoptarg.h:: remove #include "insettext.h".
3053         * insets/insettext.h: remove #include "dimension.h",
3054         <boost/shared_ptr.hpp>
3055
3056         * insets/renderers.h: add #include "dimension.h".
3057         * insets/updatableinset.h: add #include "support/types.h".
3058
3059         * many .C files: Associated changes.
3060
3061 2003-09-06  Angus Leeming  <leeming@lyx.org>
3062
3063         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3064         one, inside testInvariant.
3065
3066         * PrinterParams.C: new file.
3067         * PrinterParams.[Ch]: move the function bodies out of line.
3068
3069 2003-09-06  Angus Leeming  <leeming@lyx.org>
3070
3071         * ParagraphParameters.h: forward declare ParameterStruct rather than
3072         including its header file.
3073         (depth): moved out-of-line.
3074
3075 2003-09-06  Angus Leeming  <leeming@lyx.org>
3076
3077         * BufferView_pimpl.h:
3078         * kbmap.h:
3079         * kbsequence.h:
3080         * lyxfunc.h: forward declare LyXKeySym rather than
3081         #include "frontends/LyXKeySym.h".
3082
3083         * BufferView_pimpl.C:
3084         * kbmap.C:
3085         * kbsequence.C:
3086         * lyxfunc.C: associated changes.
3087
3088 2003-09-06  Angus Leeming  <leeming@lyx.org>
3089
3090         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3091         As a result, can remove the #include "insets/inset.h" from BufferView.h
3092
3093 2003-09-06  Angus Leeming  <leeming@lyx.org>
3094
3095         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3096         As a result, can remove the #include "insets/inset.h" from BufferView.h
3097
3098 2003-09-06  Angus Leeming  <leeming@lyx.org>
3099
3100         * buffer_funcs.C:
3101         * buffer.h:
3102         * bufferlist.C:
3103         * BufferView.C:
3104         * bufferview_funcs.C:
3105         * BufferView_pimpl.C:
3106         * CutAndPaste.C:
3107         * lyx_cb.C:
3108         * lyxfunc.C:
3109         * paragraph.h:
3110         * ParagraphParameters.C:
3111         * tabular.C:
3112         * text3.C:
3113         * toc.C:
3114         * undo_funcs.C:
3115         * frontends/controllers/ControlDocument.C:
3116         * insets/insetcaption.C: rearrange the #includes into some sort of
3117         coherent order.
3118
3119         * buffer.h: remove #includes ErrorList.h, undo.h
3120
3121 2003-09-06  Angus Leeming  <leeming@lyx.org>
3122
3123         * support/types.h: add a 'depth_type' typedef, used to store the
3124         nesting depth of a paragraph.
3125
3126         * paragraph.h:
3127         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3128         defining explicitly.
3129
3130         * buffer.h:
3131         * paragraph_funcs.h:
3132         * ParagraphParameters.h:
3133         * sgml.h: use lyx::depth_type rather than Paragraph or
3134         ParameterStruct's depth_type.
3135
3136         * buffer.h
3137         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3138
3139         * BufferView.C:
3140         * BufferView_pimpl.C:
3141         * CutAndPaste.C:
3142         * ParagraphParameters.C:
3143         * buffer_funcs.C:
3144         * bufferlist.C:
3145         * bufferview_funcs.C:
3146         * lyx_cb.C:
3147         * lyxfunc.C:
3148         * tabular.C:
3149         * text3.C:
3150         * toc.C:
3151         * undo_funcs.C:
3152         * frontends/LyXView.C:
3153         * frontends/controllers/ControlDocument.C:
3154         * frontends/controllers/ControlErrorList.C:
3155         * insets/insetbibitem.C:
3156         * insets/insetbranch.C:
3157         * insets/insetcaption.C:
3158         * insets/insetcollapsable.C:
3159         * insets/insetenv.C:
3160         * insets/insetert.C:
3161         * insets/insetfloat.C:
3162         * insets/insetfoot.C:
3163         * insets/insetfootlike.C:
3164         * insets/insetnewline.C:
3165         * insets/insetquotes.C:
3166         * insets/insettabular.C:
3167         * insets/insettext.C:
3168         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3169
3170         * frontends/controllers/ControlChanges.C: #include "changes.h".
3171
3172 2003-09-06  Angus Leeming  <leeming@lyx.org>
3173
3174         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3175         than #including paragraph.h.
3176
3177         * ParagraphList.h:
3178         * RowList.h: deleted. Superfluous.
3179
3180         * CutAndPaste.h:
3181         * iterators.h:
3182         * lyxcursor.h:
3183         * lyxtext.h:
3184         * text_funcs.h:
3185         * undo.h:
3186         * undo_funcs.h:
3187         * insets/inset.h:
3188         * insets/insettext.h: use ParagraphList_fwd.h rather than
3189         ParagraphList.h.
3190
3191         * paragraph.h: don't forward declare ParagraphList.
3192
3193         * buffer.h:
3194         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3195         rather than ParagraphList.h. paragraph.h is still needed for the
3196         Paragraph::depth_type parameters.
3197
3198         * textcursor.h: enable it to compile stand-alone in light of the
3199         above changes.
3200
3201         * bufferview_funcs.C:
3202         * iterators.C:
3203         * lyxfunc.C:
3204         * lyxrow_funcs.C:
3205         * paragraph.C:
3206         * rowpainter.C:
3207         * text.C:
3208         * text2.C:
3209         * text3.C:
3210         * text_funcs.C:
3211         * textcursor.C:
3212         * undo.C:
3213         * frontends/controllers/ControlParagraph.C:
3214         * frontends/controllers/ControlTabular.C:
3215         * insets/insetmarginal.C:
3216         * insets/insetminipage.C:
3217         * insets/insetnote.C:
3218         * insets/insetoptarg.C: add header files needed to compile again.
3219
3220 2003-09-06  Angus Leeming  <leeming@lyx.org>
3221
3222         * RowList_fwd.h: new file, forward-declaring Row rather than
3223         #including lyxrow.h.
3224
3225         * lyxrow_funcs.h:
3226         * lyxtext.h:
3227         * paragraph.h:
3228         * insets/insettext.h: use it instead of RowList.h
3229
3230         * bufferview_funcs.C:
3231         * lyxfunc.C:
3232         * lyxrow_funcs.C:
3233         * paragraph.C:
3234         * rowpainter.C:
3235         * text.C:
3236         * text2.C:
3237         * text3.C: #include "RowList.h".
3238
3239 2003-09-05  Angus Leeming  <leeming@lyx.org>
3240
3241         * factory.C (createInset):
3242         * vspace.C (c-tor): replace sscanf call with an istringstream.
3243         * ispell.C: re-add missing HP/UX headers.
3244         * lyxserver.C: re-add missing  os2 headers.
3245
3246 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3247
3248         * BranchList.C:
3249         * graph.C:
3250         * ispell.C:
3251         * lastfiles.C:
3252         * lyx_cb.C:
3253         * lyxserver.C:
3254         * texrow.C:
3255         * text3.C: re-add missing system headers, needed for 2.95.2.
3256
3257 2003-09-05  Angus Leeming  <leeming@lyx.org>
3258
3259         Changes most place everywhere due to the removal of using directives
3260         from support/std_sstream.h.
3261
3262 2003-09-05  Angus Leeming  <leeming@lyx.org>
3263
3264         Replace LString.h with support/std_string.h,
3265         Lsstream.h with support/std_sstream.h,
3266         support/LIstream.h with support/std_istream.h,
3267         support/LOstream.h with support/std_ostream.h.
3268
3269         Changes resulting throughout the tree.
3270
3271 2003-09-05  Angus Leeming  <leeming@lyx.org>
3272
3273         * sgml.h: ensure that the header file can be compiled stand-alone.
3274         * *.C: strip out redundant #includes. (320 in total.)
3275
3276 2003-09-04  Angus Leeming  <leeming@lyx.org>
3277
3278         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3279         here (from getPackages).
3280
3281         * debug.[Ch]: add a new EXTERNAL tag.
3282
3283 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3284
3285         * text2.C (cursorEnd): simplify
3286         (setCursor): adjust
3287         (getColumnNearX): adjust
3288
3289         * text.C (computeBidiTables): adjust
3290         (fill): adjust
3291
3292         * rowpainter.C (paintChars): adjust
3293         (paintSelection): adjust
3294         (paintChangeBar): adjust
3295         (paintText): adjust
3296
3297         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3298         lastPos instead.
3299         (numberOfSeparators): adjust
3300
3301 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3302
3303         * LyXAction.C:
3304         * box.[Ch]:
3305         * lfuns.h:
3306         * lyxfunc.C:
3307         * text3.C: Restricts the mouse click functionality
3308         of insets like bibtex, include, toc and floatlist to the visible
3309         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3310         up the dialogs. Cursor has to be in front of the inset (i.e.
3311         start of row) for this to function.
3312
3313 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3314
3315         * bufferview_funcs.C (currentState): output row information
3316
3317 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3318
3319         * bufferview_funcs.C (currentState): output paragraph position
3320
3321 2003-09-04  Angus Leeming  <leeming@lyx.org>
3322
3323         * FloatList.h: move out #include "Floating.h".
3324         * LaTeX.h: move out #include "DepTable.h".
3325         * LyXAction.h: move out #include "funcrequest.h".
3326         * buffer.h: move out #include "author.h", "iterators.h".
3327         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3328         * lyx_main.h: move out #include "errorlist.h".
3329         * lyxfunc.h: move out #include "FuncStatus.h".
3330         * lyxtext: move out #include "lyxcursor.h".
3331         * paragraph_pimpl.h: move out #include "counters.h".
3332
3333 2003-09-03  Angus Leeming  <leeming@lyx.org>
3334
3335         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3336         preamble_snippets list, enabling us to add snippets to the preamble
3337         only if the snippet was not there already.
3338
3339 2003-09-04  Angus Leeming  <leeming@lyx.org>
3340
3341         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3342
3343 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3346         update
3347
3348 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3349
3350         * BranchList.C: point fix, earlier forgotten
3351
3352 2003-09-02  Angus Leeming  <leeming@lyx.org>
3353
3354         * box.C (contains): renamed from 'contained' after a fantastic
3355         amount of hot air.
3356
3357 2003-09-02  John Levon  <levon@movementarian.org>
3358
3359         * BufferView.C:
3360         * lyxcursor.h:
3361         * lyxcursor.C:
3362         * lyxfunc.C:
3363         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3364
3365 2003-09-02  John Levon  <levon@movementarian.org>
3366
3367         * text2.C: simplification of cursorEnd(), including partial
3368         fix for bug 1376
3369
3370 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * buffer.C (readFile): add a space
3373
3374 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3377
3378 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3379
3380         * buffer.C (readFile): new function, take a filename and a
3381         ParagraphList::iterator
3382         (readFile): adjust
3383         (readFile): adjust, make it private. don't use setStream, make
3384         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3385         always contain the filename.
3386
3387         * BufferView.C (insertLyXFile): simplify and make it work for
3388         gzipped files.
3389
3390 2003-08-30  John Levon  <levon@movementarian.org>
3391
3392         * Makefile.am: fix dist (from Kayvan)
3393
3394 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * most files: change to use const Buffer refs
3397
3398 2003-08-27  André Pönitz  <poenitz@gmx.net>
3399
3400         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3401         on top of ownerPar().
3402
3403 2003-08-27  John Levon  <levon@movementarian.org>
3404
3405         * funcrequest.C: properly initialise POD members
3406
3407 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * lyxtext.h (top_y): move top_y from here
3410         * text.C:
3411         * text2.C:
3412         * text3.C:
3413         * BufferView.[Ch]:
3414         * BufferView_pimpl.[Ch]: to here
3415         * frontends/screen.C:
3416         * insets/insettabular.C:
3417         * insets/insettext.C: adjust
3418         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3419
3420 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3424
3425 2003-08-26  André Pönitz  <poenitz@gmx.net>
3426
3427         * paragraph_func.[Ch] (outerPar): new function
3428
3429         * paragraph.C:
3430         * paragraph_funcs.C:
3431         * paragraph_funcs.h:
3432         * paragraph_pimpl.C:
3433         * text2.C: remove Inset::par_owner
3434
3435 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3436
3437         * lyxrow_funcs.C:
3438         * lyxtext.h:
3439         * text.C:
3440         * text2.C: eliminates the needFullRow/display() stuff
3441         altogether, putting the logic in metrics/draw in the insets.
3442
3443 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3444
3445         * text2.C (redoParagraphInternal, redoParagraphs):
3446         * text.C (redoParagraph): add a call to updateRowPositions at the
3447         end of each 'metrics-like' call. Remove all others.
3448         (getRow): remove the 'y-computing' version.
3449         (getRowNearY): do not compute nor return the real y. Solve the
3450         'y < 0' problem and simplify.
3451
3452 2003-08-22  Angus Leeming  <leeming@lyx.org>
3453
3454         * *.[Ch]: clean-up of licence and author blurbs.
3455         Also move config.h out of a few .h files and into a few .C files.
3456
3457 2003-08-22  André Pönitz  <poenitz@gmx.net>
3458
3459         * lyxrow.[Ch]: add x_ and *fill_ members
3460
3461         * lyxtext.h:
3462         * text.C:
3463         * rowpainter.C:
3464         * text2.C: adjust/remove prepareToPrint() calls
3465
3466 2003-08-22  André Pönitz  <poenitz@gmx.net>
3467
3468         * lyxrow.[Ch]: add  end_ member
3469
3470         * lyxrow_funcs.C: use LyXRow::end_
3471
3472         * lyxtext.h (singleWidth): add LyXFont parameter
3473
3474         * rowpainter.C:
3475         * text2.C: adjust LyXText::singleWidth() calls
3476
3477         * text.C (redoParagraph): simplify row breaking logic
3478
3479
3480 2003-08-19  André Pönitz  <poenitz@gmx.net>
3481
3482         * funcrequest.C: initialize button_ member
3483
3484         * text3.C:
3485         * rowpainter.[Ch]: interface consolidation
3486
3487 2003-08-18  André Pönitz  <poenitz@gmx.net>
3488
3489         * BufferView.C:
3490         * BufferView_pimpl.C:
3491         * lyxfind.C:
3492         * paragraph_funcs.C:
3493         * rowpainter.C:
3494         * text3.C: remove LyXScreen::draw() and fitCursor calls
3495
3496         * BranchList.h: remove spurious semicolons
3497
3498         * MenuBackend.C: fix branchlist related crash
3499
3500 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3501
3502         * BranchList.[Ch]:
3503         * InsetList.[Ch]:
3504         * LColor.[Ch]:
3505         * LyXAction.C:
3506         * Makefile.am:
3507         * MenuBackend.[Ch]:
3508         * bufferparams.[Ch]:
3509         * factory.C:
3510         * lfuns.h:
3511         * lyxfunc.C:
3512         * text3.C: implements the 'branch inset'
3513         idea. This allows the output of various versions of a document
3514         from a single source version, selectively outputing or suppressing
3515         output of parts of the text.
3516         This implementation contains a 'branch list editor' in a separate
3517         tab of the document settings dialog. Branches are user definable
3518         and have a "display colour" to distinguish them on-screen.
3519
3520         ColorHandler was somewhat cleaned up.
3521         (1) make possible a dynamically growing LColor list by allowing
3522         the graphic context cache to grow along (vector);
3523         (2) eliminate an IMHO unnecessary step in colour allocation.
3524
3525 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3526
3527         * BufferView_pimpl.C: compile fix
3528
3529 2003-08-15  André Pönitz  <poenitz@gmx.net>
3530
3531         * rowpainter.C: remove extra metrics calls
3532
3533         * lyxtext.h: merge the two constructors into a single one,
3534           pass reference to owner's par list
3535
3536         * BufferView_pimpl.C:
3537         * text.C:
3538         * text2.C: adjust
3539
3540 2003-08-15  André Pönitz  <poenitz@gmx.net>
3541
3542         * lyxrow_funcs.[Ch]:
3543         * lyxtext.h:
3544         * paragraph.h:
3545         * paragraph_funcs.C:
3546         * rowpainter.C:
3547         * text.C:
3548         * text2.C:
3549         * text3.C:
3550         * text_funcs.C: split LyXText::rowlist_ into individual
3551         Paragraph::rows_ chunks
3552
3553         * BufferView.[Ch]:
3554         * BufferView_pimpl.[Ch]:
3555         * lyxfind.C:
3556         * lyxtext.h:
3557         * text3.C: remove toggleSelection()
3558
3559 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3560
3561         * bufferlist.C: beautify two alerts (shorter text of buttons)
3562         * buffer.C: Remove redundant ' ' from message
3563         * tabular.h:
3564         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3565         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3566         rename VALIGN_CENTER to VALIGN_MIDDLE
3567
3568 2003-08-11  André Pönitz  <poenitz@gmx.net>
3569
3570         * lyxtext.h (getPar):
3571         * text.C: new function
3572
3573 2003-08-11  André Pönitz  <poenitz@gmx.net>
3574
3575         * Makefile.am:
3576         * tracer.[Ch]: remove unneeded files
3577
3578         * InsetList.[Ch]: remove resizeInsetsLyXText()
3579
3580         * lyxtext.h:
3581         * text.C:
3582         * text2.C:
3583         * text3.C: merge insertParagraphs() and appendParagraph()
3584         remove breakAgain(), update()
3585
3586         * BufferView_pimpl.[Ch]:
3587         * bufferview_funcs.[Ch]:
3588         * lyxfunc.C:
3589         * paragraph.[Ch]:
3590         * rowpainter.C:
3591         * tabular.C: adjust after text & InsetList changes.
3592
3593 2003-08-08  André Pönitz  <poenitz@gmx.net>
3594
3595         * text.C (insertChar, backspace): replace rowlist fiddling
3596         with rebreak of full par
3597
3598         * lyxtext.h:
3599         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3600         checkParagraph, updateInset): removed
3601
3602 2003-08-07  André Pönitz  <poenitz@gmx.net>
3603
3604         * paragraph.C:
3605         * text3.C: merge some LFUN handlers, remove dead code
3606
3607 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3608
3609         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3610
3611 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3612
3613         * text2.C (DEPM): fix part of bug 1255 and 1256
3614
3615 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3616
3617         * BufferView_pimpl.C (workAreaDispatch): change to use
3618         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3619         that are no mouse related.
3620
3621 2003-08-05  André Pönitz  <poenitz@gmx.net>
3622
3623         * BufferView.[Ch]:
3624         * BufferView_pimpl.[Ch]:
3625         * bufferview_funcs.C:
3626         * text2.C:
3627         * text3.C: rip out "deep update"
3628
3629         * textcursor.[Ch] (last_sel_cursor): remove unused member
3630
3631 2003-08-04  André Pönitz  <poenitz@gmx.net>
3632
3633         * BufferView.[Ch]:
3634         * BufferView_pimpl.[Ch]:
3635         * ParagraphParameters.C:
3636         * bufferview_funcs.C:
3637         * lyx_cb.C:
3638         * lyxfind.C:
3639         * lyxfunc.C:
3640         * text.C:
3641         * text2.C:
3642         * text3.C: replace "complicated" BufferView::update(...) calls with
3643         simpler ones.
3644
3645         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3646
3647 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3648
3649         * Makefile.am (lyx_SOURCES): add paper.h
3650
3651 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3652
3653         * Makefile.am: move things around so that both lyx-qt and
3654         lyx-xforms can be built (according to --with-frontend). Then lyx
3655         is a symbolic link to lyx-[firstfrontend]
3656
3657 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3658
3659         * Always use std::endl with lyxerr
3660
3661 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3662
3663         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3664
3665 2003-08-01  André Pönitz  <poenitz@gmx.net>
3666
3667         * BufferView.[Ch]:
3668         * BufferView_pimpl.[Ch]:
3669         * lyxfunc.C:
3670         * text3.C: merge BufferView::repaint() and BufferView::update()
3671
3672 2003-08-01  José Matos  <jamatos@lyx.org>
3673
3674         * buffer.[Ch]: file_format is no longer a buffer data element.
3675
3676 2003-08-01  André Pönitz  <poenitz@gmx.net>
3677
3678         * BufferView.C:
3679         * lyxtext.h:
3680         * text.C:
3681         * text2.C: make redoParagraph more independent of current cursor
3682
3683         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3684         * text.C:
3685         * text2.C: remove unneeded members
3686
3687 2003-07-30  André Pönitz  <poenitz@gmx.net>
3688
3689         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3690
3691         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3692           create a single function...
3693
3694         * paragraph_funcs.C (moveItem): ... here.
3695
3696         * text.C:
3697           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3698
3699 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3700
3701         * LColor.[Ch]: Add comment and greyedout logical colors.
3702
3703 2003-07-30  André Pönitz  <poenitz@gmx.net>
3704
3705         * tabular.C: don't use Assert too heavily. This crashes where it
3706           shouldn't
3707
3708 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3709
3710         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3711         is disabled (bug 1232)
3712
3713 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3714
3715         * factory.C: limited 'arg' scope
3716
3717 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3718
3719         * factory.C: fixed Note submenu issues
3720
3721 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3722
3723         * factory.C: submenu for Note/Comment/Greyedout
3724
3725 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * lyx_main.C (LyX):
3728         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3729
3730 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3731
3732         * LaTeXFeatures.C:
3733         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3734         greyedout. Patch provided by Jürgen Spitzmüller.
3735
3736 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3737
3738         * kbmap.C (read): fix error message when reading bind files
3739
3740 2003-07-29  Angus Leeming  <leeming@lyx.org>
3741
3742         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3743         certainly does not do what it purports to do. I am doing it, and
3744         us, a favour by killing it.
3745
3746 2003-07-28  José Matos  <jamatos@lyx.org>
3747
3748         * buffer.C (readBody, do_writeFile):
3749         * paragraph.C(readParagraph): \end_document replaces \the_end.
3750
3751 2003-07-29  André Pönitz  <poenitz@gmx.net>
3752
3753         * BufferView.[Ch]:
3754         * BufferView_pimpl.[Ch]:
3755         * lyxfunc.C:
3756         * text2.C:
3757         * text3.C:
3758         * textcursor.[Ch]: remove toggleToggle & Co
3759
3760 2003-07-28  José Matos  <jamatos@fep.up.pt>
3761
3762         * buffer.C (readParagraph):
3763         * params_func (readParToken, readParagraph):
3764         * paragraph.C (write): \layout -> \begin_layout.
3765
3766 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * lyxlex_pimpl.C (setFile): clean up slightly.
3769
3770         * bufferparams.h: add compressed var
3771
3772         * buffer_funcs.C (readFile): adjust for LyXLex change
3773         (newFile): ditto + simplify
3774
3775         * buffer.C (writeFile): handle writing of compressed files
3776
3777         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3778         Check if the file is compressed and set a bufferparm if so.
3779
3780         * Makefile.am (lyx_LDADD): remove explicit -lz
3781
3782 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3783
3784         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3785         makeDocBookFile): put the real LyX version in the first line of
3786         the file
3787
3788         * version.h:
3789         * version.C.in: remove lyx_docversion
3790
3791         * tabular.C (write_attribute): add a template-based version to
3792         write enums properly
3793
3794 2003-07-28  André Pönitz  <poenitz@gmx.net>
3795
3796         * lyxtext.h:
3797         * text.C:
3798         * text2.C:
3799         * text3.C: use doubles again for x-coordinates. They are needed.
3800
3801 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * messages.C (getLocaleDir): use lyx_localedir()
3804
3805         * lyxlex_pimpl.C (setFile): compress stuff
3806
3807         * buffer.C (writeFile): add some compression stuff
3808         (do_writeFile): new func, dont call expliti close... will this
3809         breake anything?
3810
3811         * Makefile.am (lyx_LDADD): add -lz
3812
3813 2003-07-28  José Matos  <jamatos@fep.up.pt>
3814
3815         * buffer.C: increment file format.
3816         * paragraph_funcs (readParagraph, readParToken):
3817         * paragraph.C (readParagraph): add \end_layout.
3818
3819 2003-07-27  Angus Leeming  <leeming@lyx.org>
3820
3821         * Makefile.am: remove special casing for configure-time setting of
3822         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3823
3824         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3825         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3826
3827 2003-07-26  André Pönitz  <poenitz@gmx.net>
3828
3829         * paragraph_func.[Ch]:
3830         * paragraph.C (realizeFont): inline it whereever it is used
3831
3832         * rowpainter.C:
3833         * text.C:
3834         * text2.C:
3835         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3836
3837
3838 2003-07-26  André Pönitz  <poenitz@gmx.net>
3839
3840         *       lyxtext.h:
3841         * text.C:
3842         * text2.C: get rid of LyXText::need_break_row
3843
3844 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * toc.[Ch]: put namespace toc inside namespace lyx
3847
3848         * MenuBackend.C (expandToc2): adjust for lyx::toc
3849         (expandToc): ditto
3850
3851         * lyxfunc.C (dispatch): adjust for lyx::find
3852
3853         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3854         lyx::find instead. Reorganize a bit.
3855         (LyXReplace): rename to replace
3856         (LyXFind): rename to find
3857
3858         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3859         (dispatch): ditto
3860
3861 2003-07-26  André Pönitz  <poenitz@gmx.net>
3862
3863         * text.C (setHeightOfRow): restrict scope of temporary variable
3864
3865         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3866           code (never has been used?)
3867
3868 2003-07-27  Asger Alstrup  <alstrup@local>
3869
3870         * text.C (fill): Optimise algorithm to exploit that we can reuse
3871         the LyXFont for many characters.
3872         (setHeightOfRow): Same thing.
3873         (rowBreakPoint): Same thing.
3874
3875 2003-07-26  Asger Alstrup  <alstrup@local>
3876
3877         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3878
3879         * text.C (singleWidth): Spurious font copying in hot-spot
3880         singleWidth avoided. Reorder tests for arabic for efficiency.
3881
3882         * text.C (fill): handle empty paragraphs better.
3883
3884 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3885
3886         * ispell.C:
3887         * encoding.h: add includes
3888
3889         * lyxrc.C: remove reading of bind files
3890
3891         * lyx_main.C (init): setup bindings and menus only if we have a
3892         gui.
3893
3894         * kbmap.C (read): new method. Do the actual reading of bind
3895         files.
3896
3897         * converter.C (dvipdfm_options):
3898         * bufferparams.C:
3899         * lyxrc.C (read):
3900         (output): adapt PAPER_* enums.
3901
3902         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3903
3904         * bufferparams.h: remove paper-related enums from there
3905
3906         * paper.h: New file. A trivial header file to hold paper-related
3907         enums. It should later expand to contain many paper-related
3908         horrors access.
3909
3910         * lyxrc.C: declare extern displayTranslator
3911
3912 2003-07-27  José Matos  <jamatos@fep.up.pt>
3913
3914         * tabular.[Ch] (linuxdoc): add support for tables and figures
3915         (linuxdoc).
3916
3917 2003-07-27  José Matos  <jamatos@fep.up.pt>
3918
3919         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3920         consistency in both functions.
3921         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3922
3923 2003-07-26  Asger Alstrup  <alstrup@local>
3924
3925         * rowpainter.C (paintRows): Change algorithm to work directly on
3926         the insets rather than asking every character in the document
3927         whether its an inset.
3928
3929 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * buffer.C (openFileWrite): factorize some code
3932
3933 2003-07-26  Angus Leeming  <leeming@lyx.org>
3934
3935         * lyx_cb.C:
3936         * lyx_main.[Ch]: replace occurances of system_tempdir with
3937         os::getTmpDir().
3938
3939 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3940
3941         * rename Inset to InsetOld
3942
3943 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3944
3945         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3946         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3947         which I think is a bit clearer. EDIT is gone, since it was
3948         premature optimisation, and broken for mathed anyway.
3949         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3950         with cursor positioning in insets as well (math insets still do not
3951         work, but that's a different story anyway.) It mysteriously
3952         crashes sometimes with undo in the first paragraph, but I'm fairly
3953         confident that this is a compiler bug.
3954
3955 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3956
3957         * paragraph.C (Paragraph): adjust for new clone return type
3958         (operator==): ditto
3959         (copyIntoMinibuffer): ditto
3960
3961 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3962
3963         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3964         by not having a special case, and always doing a full rebreak of
3965         the document after undo.
3966
3967 2003-07-23  Angus Leeming  <leeming@lyx.org>
3968
3969         * factory.C (createInset): InsetExternal::setParams now takes a
3970         Buffer const * arg.
3971
3972 2003-07-23  Angus Leeming  <leeming@lyx.org>
3973
3974         * factory.C (createInset): changed interface to the external and
3975         graphics mailers' string2params functions.
3976
3977 2003-07-23  Angus Leeming  <leeming@lyx.org>
3978
3979         * factory.C (createInset): pass a
3980         Buffer const * parameter to InsetExternalMailer's string2params.
3981
3982 2003-07-22  John Levon  <levon@movementarian.org>
3983
3984         * Thesaurus.h: include the right aiksaurus header
3985
3986 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3987
3988         * MenuBackend.C (expand): check menu shortcuts unconditionally
3989
3990 2003-07-21  Angus Leeming  <leeming@lyx.org>
3991
3992         * factory.C (createInset): pass a
3993         buffer_path parameter to InsetGraphicsMailer's string2params.
3994
3995 2003-07-21  Angus Leeming  <leeming@lyx.org>
3996
3997         * BufferView_pimpl.C (buffer):
3998         * buffer.C (d-tor):
3999         * lyx_main.C (LyX):
4000         * lyxfunc.C (dispatch):
4001         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4002         rather than the grfx shortcut.
4003
4004 2003-07-21  André Pönitz  <poenitz@gmx.net>
4005
4006         * rowpainter.C: remove unused variables
4007
4008         * tabular_funcs.C:
4009         * tabular_funcs.h: move to tabular.C
4010         * Makefile.am: adjust
4011
4012         * tabular.[Ch]: basic optical cleaning
4013
4014         * author.h: pass references, not values
4015
4016 2003-07-18  André Pönitz  <poenitz@gmx.net>
4017
4018         * lyxtext.h:
4019         * metricsinfo.C:
4020         * metricsinfo.h:
4021         * rowpainter.C:
4022         * text.C:
4023         * text2.C:
4024         * text3.C: two-phase drawing for InsetText and InsetTabular
4025         some float -> int changes.
4026
4027 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * lyx_main.C: fix the fix
4030
4031 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * lyx_main.C: fix a crash in batch mode if no files specified
4034         * converter.C: ws
4035
4036 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4037
4038         * format.[Ch] (papersize): moved to BufferParams
4039         * converter.[Ch] (dvips_options): moved to BufferParams
4040         (dvipdfm_options): moved to anon namespace
4041         * bufferparams.[Ch]: added above functions.
4042
4043 2003-07-17  André Pönitz  <poenitz@gmx.net>
4044
4045         * lyxtext.h:
4046         * rowpainter.C:
4047         * text2.C: don't call inset->update() anymore
4048
4049         * metricsinfo.[Ch]: add convenience constructor
4050
4051 2003-07-16  André Pönitz  <poenitz@gmx.net>
4052
4053         * lyxcursor.[Ch]:
4054         * lyxfunc.[Ch]:
4055         * text.C:
4056         * text2.C: replace the LyXCursor::irow_ member with
4057          on-demand computation of the value
4058
4059 2003-07-16  John Levon  <levon@movementarian.org>
4060
4061         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4062
4063 2003-07-15  André Pönitz  <poenitz@gmx.net>
4064
4065         * text.C:
4066         * text2.C: remove no more needed refresh_row
4067
4068 2003-07-15  André Pönitz  <poenitz@gmx.net>
4069
4070         * lyxtext.h:
4071         * rowpainter.C:
4072         * text2.C:
4073         * text3.C: refresh_status tristate -> need_update bool
4074
4075 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4076
4077         * lyxtext.h (init): remove reinit argument (act as if always true)
4078         * text2.C: adjust to that
4079
4080 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4081
4082         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4083         * text3.C: use it to delete selections in some cases
4084         (bugs 441, 673, 702, 954).
4085
4086 2003-07-14  André Pönitz  <poenitz@gmx.net>
4087
4088         * rowpainter.[Ch]: reduce interface
4089
4090 2003-07-14  André Pönitz  <poenitz@gmx.net>
4091
4092         * BufferView_pimpl.C:
4093         * text2.C: adjust after removing unused BufferView * argument
4094
4095 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4096
4097         * text2.C (init): fix a crash fired on resize
4098
4099 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * buffer.[Ch]: added new closing signal
4102         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4103         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4104         BufferView::Pimpl via the closing the signal
4105
4106 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * buffer.[Ch]: take out all bv-related from buffer
4109         * BufferView.C:
4110         * BufferView_pimpl.[Ch]: connect to new signals
4111         * CutAndPaste.C: removed useless asserts
4112         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4113         * lyxvc.[Ch]:
4114         * vc-backend.[Ch]:
4115         * lyxfunc.C: moved view-related funciontality from vc here
4116         * paragraph.C: removed outdated comments
4117         * text.C: ws
4118
4119 2003-07-10  André Pönitz  <poenitz@gmx.net>
4120
4121         * BufferView_pimpl.C:
4122         * tabular.h:
4123         * tabular_funcs.C:
4124         * text.C:
4125         * text2.C: remove InsetText::InnerCache, clean up consequences
4126
4127 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4128
4129         * ispell.C: fix two typos in error messages
4130
4131 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4132
4133         * Extend Note inset to other forms of annotation like Comment
4134         and Greyedout. Right button click gives dialog.
4135
4136         Files modified or added (+):
4137
4138         * insetnote.[Ch]
4139         * FormNote.[Ch]      +
4140         * ControlNote.[Ch]   +
4141         * form_note.fd       +
4142         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4143         frontends/controllers
4144         * xforms/Dialogs.C
4145         * factory.C
4146
4147 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4148
4149         * aspell.C: add missing namespace lyx::support
4150
4151 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * BufferView.[Ch] (newFile): Add
4154         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4155         * LaTeX.[Ch] (message): added this signal and use it
4156         * buffer.[Ch] (busy, message): added these signals and use them
4157         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4158         * converter.C:
4159         * exporter.C:
4160         * format.C:
4161         * importer.C: use buffer signals instead of direct bv calling
4162         * lyx_cb.[Ch] (ShowMessage): removed
4163         * lyx_main.C:
4164         * lyxfunc.C:
4165         * paragraph_funcs.C:
4166         * text2.C: use buffer signals
4167
4168 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * introduce namespace lyx::graphics
4171
4172 2003-07-02  André Pönitz  <poenitz@gmx.net>
4173
4174         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4175
4176 2003-07-01  André Pönitz  <poenitz@gmx.net>
4177
4178         * text.C:
4179         * text2.C:
4180         * text3.C:
4181         * text_funcs.[Ch]:
4182         * textcursor.h:
4183         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4184           text*.C to text_func.C
4185
4186 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * introduce namespace lyx::support
4189
4190 2003-06-30  André Pönitz  <poenitz@gmx.net>
4191
4192         * Chktex.C:
4193         * funcrequest.C:
4194         * lyxtext.h:
4195         * text.C: re-enable --with-included-string
4196
4197 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * textcursor.C: add <config.h>
4200
4201         * text.C (getWord): remove const from word_location arg
4202
4203         * lyxvc.C (getLogFile): fix const type order
4204
4205         * lyxtext.h: remove const from word_location arg, add arg name
4206
4207         * lyxlayout.h: currect type on labeltype.
4208
4209         * importer.C: correct \file
4210
4211         * converter.C (intToFormat): use std:: on ret val, ws changes
4212
4213         * bufferlist.h: correct \file
4214
4215         * buffer.C (makeLinuxDocFile): fix const type order
4216         (makeDocBookFile): ditto
4217         (fillWithBibKeys): use std:: on stdlib args.
4218
4219         * CutAndPaste.C: fix authors.
4220         (availableSelections): use std:: on return vector
4221
4222 2003-06-27  André Pönitz  <poenitz@gmx.net>
4223
4224         * BufferView_pimpl.C:
4225         * bufferview_funcs.C:
4226         * lyxcursor.C:
4227         * lyxcursor.h:
4228         * lyxfunc.C:
4229         * lyxtext.h:
4230         * rowpainter.C:
4231         * text.C:
4232         * text2.C:
4233         * text3.C: remove LyXCursor::row_ member
4234
4235         * lyxtext.h:
4236         * text.C: rename fullRebreak() to partialRebreak() and implement
4237           a fullRebreak() that really bereks fully
4238
4239         * textcursor.h: new struct for cursor-related data
4240
4241 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4242
4243         * lyx_main.C (LyX): get full path of document loaded on the
4244         command line
4245
4246 2003-06-26  André Pönitz  <poenitz@gmx.net>
4247
4248         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4249           remove unused/broken operator>,<,>=.
4250
4251         *       text.C: remove only use of broken operator<= in an Assert().
4252
4253 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4254
4255         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4256         moved errorlist_.clear to showErrorList
4257
4258 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4259
4260         * converter.C (scanLog, runLaTeX):
4261         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4262         move the bv->showErrorList call to the callers
4263         * lyxfunc.C: i.e. here...
4264         * text2.C: and here
4265         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4266         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4267         namespace, the second to...
4268         * buffer_funcs (BufferFormat, parseErrors): added
4269         * errorlist.C (ErrorList(TeXErrors const &)): removed
4270
4271 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4272
4273         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4274
4275 2003-06-24  "Garst R. Reese" <reese@isn.net>
4276
4277         * debug.C: fix typo
4278
4279 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4280
4281         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4282
4283         * version.C.in: change docversion to 1.4
4284
4285 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4286
4287         * buffer.C: fix a bug just introduced
4288
4289 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * buffer.[Ch]: added the parseError signal and use it, removed
4292         sgmlError
4293         * BufferView.[Ch] (addError): moved to ...
4294         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4295         to the Buffer::parseError signal to catch (guess what) parse errors
4296         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4297
4298 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4299
4300         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4301         ability to create a buffer and to return an existing one from
4302         the list. Moved these functions to...
4303         * buffer_funcs.[Ch]: added
4304         * BufferView.[Ch] (loadLyXFile): added
4305         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4306         job removed from bufferlist::loadLyXFile.
4307         * buffer.C (setReadOnly): make it work without view
4308         (i.e added an if (users))
4309
4310 2003-06-19  Angus Leeming  <leeming@lyx.org>
4311
4312         * lfuns.h:
4313         * LyXAction.C (init):
4314         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4315         with LFUN_DIALOG_SHOW <name> <data>.
4316
4317 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4318
4319         * CutAndPaste.C (availableSelections): small compilation fix for
4320         ancient (gcc 2.9x) compilers
4321
4322 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text3.C (cursorNext): add tmp var
4325
4326         * text2.C (updateCounters): for function calling out of for clause
4327         (replaceSelectionWithString): ditto
4328         (insertStringAsParagraphs): ditto
4329         (getColumnNearX): add tmp var
4330         (setCursorFromCoordinates): add tmp var
4331         (cursorDownParagraph): add tmp var
4332         (deleteEmptyParagraphMechanism): add tmp var
4333
4334         * text.C (insertChar): add tmp var
4335
4336         * rowpainter.C (paintDepthBar): add tmp var
4337
4338         * CutAndPaste.C (availableSelections): potentially check all
4339         paragraphs in a cut to fill the shown strings.
4340
4341 2003-06-18  André Pönitz  <poenitz@gmx.net>
4342
4343         * kbmap.[Ch]: use vector<> instead of list<>
4344
4345 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4346
4347         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4348         pasteSelection with index
4349
4350         * text2.C (pasteSelection): modify, call pasteSelection with index
4351
4352         * paragraph.C (asString): reimplement version with no interval to
4353         call the one with interval.
4354
4355         * lyxtext.h: add index arg to pasteSelection
4356
4357         * MenuBackend.C (MenuItem): handle PasteRecent
4358         (Menu::read::Menutags): add md_pasterecent
4359         (read): handle it
4360         (expandPasteRecent): new function
4361         (expand): use it
4362
4363         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4364
4365         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4366         the limited stack
4367         (availableSelections): new function
4368
4369 2003-06-17  Angus Leeming  <leeming@lyx.org>
4370
4371         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4372
4373 2003-06-17  Angus Leeming  <leeming@lyx.org>
4374
4375         * lfuns.h:
4376         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4377
4378         * lyxfunc.C (dispatch): invoke it.
4379
4380 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4381
4382         * iterators.C (operator++, ParPosition): reintroduce some
4383         const_cast for the benefit of older compilers.
4384
4385 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4386
4387         * text3.C (dispatch): do not modify clipboard when doing
4388         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4389         LFUN_DELETE_SKIP on a selection selection
4390
4391 2003-06-16  André Pönitz  <poenitz@gmx.net>
4392
4393         * BufferView.C:
4394         * buffer.C:
4395         * buffer.h:
4396         * paragraph.C:
4397         * tabular.[Ch]: IU of clone() and getLabelList();
4398
4399 2003-06-13  André Pönitz  <poenitz@gmx.net>
4400
4401         * tabular.h: compactification
4402
4403 2003-06-12  André Pönitz  <poenitz@gmx.net>
4404
4405         * tabular.C:
4406         * tabular.h:
4407         * tabular_funcs.h: some renaming plus whitespace
4408
4409 2003-06-12  André Pönitz  <poenitz@gmx.net>
4410
4411         * BufferView.C:
4412         * BufferView_pimpl.C:
4413         * CutAndPaste.C:
4414         * buffer.C:
4415         * iterators.[Ch]:
4416         * lyxfunc.C:
4417         * text.C:
4418         * toc.C: Return a Paragraph & for ParIterator::operator*()
4419
4420 2003-06-11  John Levon  <levon@movementarian.org>
4421
4422         * lyx_main.C:
4423         * ToolbarBackend.h:
4424         * ToolbarBackend.C: add "Toolbars" section and
4425         put the flags there
4426
4427 2003-06-10  Angus Leeming  <leeming@lyx.org>
4428
4429         * lfuns.h:
4430         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4431
4432         * lyxfunc.C (dispatch): invoke it.
4433
4434 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * main.C: protect <ios> with HAVE_IOS
4437         (main): protect sync_with_stdio with HAVE_IOS
4438
4439 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4440
4441         * text2.C (cutSelection): adjust
4442         (pasteSelection): adjust
4443
4444         * messages.C: handle get of empty string
4445
4446         * main.C (main): use sync_with_stdio(false)
4447
4448         * lyxfunc.C (dispatch): adjust
4449
4450         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4451         (WriteAs): remove unneeded BufferView arg.
4452
4453         * bufferparams.h: use correct types on papersize, papersize2 and
4454         paperpackage.
4455
4456         * bufferparams.C (readToken): adjust for type
4457         (writeLaTeX): add missing cases to switch.
4458
4459         * bufferlist.C (quitWriteBuffer): adjust
4460         (close): adjust
4461
4462         * buffer.C (asciiParagraph): remove some commented code.
4463
4464         * CutAndPaste.C: remove current_view extern variable.
4465         (cutSelection): add BufferParams arg.
4466         (eraseSelection): add BufferParams arg.
4467         (pasteSelection): add Buffer const & arg
4468
4469 2003-06-07  John Levon  <levon@movementarian.org>
4470
4471         * buffer.C:
4472         * paragraph_funcs.C:
4473         * paragraph_pimpl.C:
4474         * text.C:
4475         * text2.C:
4476         * paragraph.h:
4477         * paragraph.C: allow InsetERT to freely space lines,
4478         and some consolidation of code
4479
4480 2003-06-06  José Matos  <jamatos@fep.up.pt>
4481
4482         * buffer.C (makeDocBookFile): fix bug #821
4483
4484 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4487
4488 2003-06-04  Angus Leeming  <leeming@lyx.org>
4489
4490         * buffer.C: bump format to 224.
4491
4492 2003-06-05  André Pönitz  <poenitz@gmx.net>
4493
4494         * text2.C (redoParagraphs): remove two const_cast<>
4495
4496 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4497
4498         * ParagraphList.h: remove last remnants of NO_STD_LIST
4499
4500 2003-06-03  Angus Leeming  <leeming@lyx.org>
4501
4502         * factory.C (createInset): small change to the way InsetExternal's params
4503         are set.
4504
4505 2003-06-04  André Pönitz  <poenitz@gmx.net>
4506
4507         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4508
4509         * paragraph_pimpl.h:
4510         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4511
4512         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4513
4514         * undo_funcs.C: make some simple cases of undo work again
4515
4516 2003-06-03  John Levon  <levon@movementarian.org>
4517
4518         * ispell.C: HPUX doesn't have sys/select.h
4519         (from Albert Chin)
4520
4521 2003-06-03  John Levon  <levon@movementarian.org>
4522
4523         * CutAndPaste.C: update tabular and include inset
4524         buffer references
4525
4526         * buffer.h:
4527         * paragraph.h:
4528         * paragraph.C: remove owningBuffer(), don't pass Buffer
4529         to clone()
4530
4531         * factory.C: insetGraphicsParams changed
4532
4533 2003-06-02  John Levon  <levon@movementarian.org>
4534
4535         * LyXAction.C:
4536         * factory.C:
4537         * lfuns.h:
4538         * lyxfunc.C:
4539         * text3.C: remove insetparent
4540
4541 2003-06-02  John Levon  <levon@movementarian.org>
4542
4543         * buffer.h:
4544         * buffer.C: fix inset_iterator.end(), move out of line
4545         (bug 1149)
4546
4547 2003-06-01  John Levon  <levon@movementarian.org>
4548
4549         * text3.C: use a proper cut/paste when doing inset
4550         insert (from Jürgen Spitzmüller)
4551
4552 2003-06-01  John Levon  <levon@movementarian.org>
4553
4554         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4555
4556 2003-05-30  André Pönitz  <poenitz@gmx.net>
4557
4558         * rowpainter.C: unify second drawing phase
4559
4560 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * trans_mgr.C: remove one case of current_view
4563
4564         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4565
4566         * paragraph_funcs.h: remove paragraph.h include
4567
4568         * paragraph.h: delete NO_STD_LIST stuff
4569
4570         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4571
4572         * buffer.h: remove paragraph.h include
4573
4574         * ParagraphList.C: delete file
4575
4576         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4577
4578         * toc.C (getTocList): adjust
4579
4580         * paragraph_pimpl.C (validate): adjust
4581
4582         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4583
4584         * paragraph.C (Paragraph): adjust
4585         (getPositionOfInset): use const_iterator, adjust
4586         (bibitem): use const_iterator, adjust
4587         (setInsetOwner): adjust
4588
4589         * iterators.C (operator++): adjust
4590
4591         * InsetList.[Ch]: Replace selfmade iterator with standard
4592         vector::iterator also introduce const_iterator. Remove getPos,
4593         getInset and setInset from InsetTable. Adjust accordingly.
4594
4595         * BufferView.C (lockInset): adjust
4596         (ChangeInsets): adjust
4597
4598         * tabular.[Ch]: delete commented same_id functions
4599
4600 2003-05-28  John Levon  <levon@movementarian.org>
4601
4602         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4603
4604 2003-05-28  André Pönitz  <poenitz@gmx.net>
4605
4606         * metricsinfo.[Ch]: remove 'fullredraw' member
4607
4608 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4609
4610         * lyxtextclass.C (operator): remove caching.
4611
4612 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * text3.C: adjust
4615
4616         * text2.C (cursorBottom): adjust
4617         (setCounter): use ParagraphList::find, adjust
4618
4619         * text.C (workWidth): use ParagraphList::find, adjust
4620
4621         * lyxcursor.C (LyXCursor): adjust
4622
4623         * buffer.C (inset_iterator): adjust
4624
4625         * ParagraphList.h: make iterator(value_type) private, make
4626         ParagraphList a friend of iterator.
4627
4628         * ParagraphList.C (find): new function
4629
4630         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4631
4632 2003-05-27  André Pönitz  <poenitz@gmx.net>
4633
4634         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4635
4636 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4637
4638         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4639
4640 2003-05-26  John Levon  <levon@movementarian.org>
4641
4642         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4643
4644 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * remove same_id from function signatures, adjust.
4647
4648 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4651
4652         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4653
4654         * paragraph.C (Paragraph): get rid of same_ids parameter
4655
4656         * ParagraphList.C (insert): adjust
4657         (push_back): adjust
4658
4659 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * paragraph_funcs.C (breakParagraph): adjust
4662         (breakParagraphConservative): adjust
4663
4664         * buffer.C (readParagraph): adjust
4665
4666         * ParagraphList.C (insert): take a reference instead of a pointer
4667         (insert): adjust
4668
4669         * paragraph.[Ch] (id): new function
4670
4671         * bufferlist.C (newFile): adjust
4672
4673         * ParagraphList.C (ParagraphList): adjust
4674         (assign): adjust
4675         (push_back): take a reference instead of a pointer.
4676
4677         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4678
4679         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4680         instead.
4681
4682         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4683         set else use old code.
4684
4685         * ParagraphList.C: remove all NO_NEXT code and only compile this
4686         code of NO_STD_LIST is set.
4687
4688 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * BufferView_pimpl.C:
4691         * TextCache.C:
4692         * TextCache.h:
4693         * bufferlist.C:
4694         * errorlist.h:
4695         * format.C:
4696         * format.h:
4697         * graph.C:
4698         * lyxfunc.C:
4699         * lyxrc.C:
4700         * graphics/GraphicsConverter.C:
4701         * graphics/PreviewLoader.C: header adjustment
4702
4703 2003-05-23  Angus Leeming  <leeming@lyx.org>
4704
4705         * LaTeXFeatures.[Ch] (useBabel): new method.
4706         * bufferparams.C (writeLaTeX): use it.
4707
4708 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * ParagraphList.h (set): remove unused function.
4711
4712 2003-05-23  André Pönitz  <poenitz@gmx.net>
4713
4714         * BufferView.C:
4715         * BufferView_pimpl.C:
4716         * buffer.C:
4717         * buffer.h:
4718         * lyxfunc.C:
4719         * undo_funcs.C: setUndo reworked
4720
4721         * iterators.[Ch]: add access to topmost ParagraphList
4722
4723         * lyxtext.[Ch] (workWidth): add a const
4724
4725 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * texrow.[Ch] (increasePos): remove function
4728         * exporter.C (export): removed unused var and outdated comment
4729
4730 2003-05-23  Angus Leeming  <leeming@lyx.org>
4731
4732         * latexrunparams.h: rename fragile as moving_arg.
4733         * paragraph.C (simpleTeXOnePar): ditto.
4734         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4735
4736 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4739         (createUndo): ditto
4740         (textUndoOrRedo): comment out a currently unused var.
4741
4742         * paragraph.h (NO_NEXT): enable NO_NEXT
4743
4744         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4745
4746         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4747
4748         * exporter.C (Export): adjust for removeAutoInsets removal.
4749
4750         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4751
4752         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4753
4754         * BufferView.[Ch] (removeAutoInsets): delete function
4755
4756 2003-05-22  Angus Leeming  <leeming@lyx.org>
4757
4758         * latexrunparams.h: add a free_spacing variable.
4759
4760         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4761         to pass moving_arg, as the data is stored in runparams.fragile.
4762
4763         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4764         to Inset::latexOptional or to simpleTeXOnePar.
4765
4766         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4767         free_spacing arg to Inset::latexOptional.
4768
4769         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4770         free_spacing arg.
4771
4772 2003-05-22  Angus Leeming  <leeming@lyx.org>
4773
4774         * latexrunparams.h: add fragile and use_babel variables.
4775
4776         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4777         * buffer.C (makeLaTeXFile): store this returned value in
4778         runparams.use_babel, thus passing it to the inset::latex methods.
4779
4780         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4781         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4782
4783         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4784         longer has a fragile arg, as it is stored in runparams.fragile.
4785
4786         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4787         moving_arg parameter as the data is stored in runparams.fragile.
4788
4789         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4790         a fragile parameter as the data is stored in runparams.fragile.
4791
4792 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4795
4796 2003-05-22  Angus Leeming  <leeming@lyx.org>
4797
4798         * latexrunparams.h: add a 'bool nice' which defaults to false.
4799
4800         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4801         now encapsulated within runparams.
4802
4803         * bufferlist.C (updateIncludedTeXfiles):
4804         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4805
4806 2003-05-22  Angus Leeming  <leeming@lyx.org>
4807
4808         * latexrunparams.h: new file containing struct LatexRunParams.
4809         * Makefile.am: add new file.
4810
4811         * LaTeX.[Ch] (c-tor, run):
4812         * buffer.[Ch] (makeLaTeXFile):
4813         * bufferlist.[Ch] (updateIncludedTeXfiles):
4814         * converter.C (convert, scanLog):
4815         * converter.[Ch] (runLaTeX):
4816         * exporter.C (Export):
4817         * paragraph.[Ch] (simpleTeXOnePar):
4818         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4819         * paragraph_funcs.[Ch] (latexParagraphs):
4820         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4821         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4822         pass around a LatexRunParams parameter.
4823
4824 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * paragraph.[Ch]: remove unused constructor
4827
4828         * ParagraphList.C (erase): new function, taking two iterators
4829
4830 2003-05-22  André Pönitz  <poenitz@gmx.net>
4831
4832         * undo_funcs.C: remove duplicated code
4833
4834         * iterator.[Ch]: operator=
4835
4836 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * tabular.C (SetMultiColumn): ws changes
4839
4840         * rowpainter.C (paintFirst): get rid of a ->previous
4841
4842         * lyx_cb.C (getPossibleLabel): parlist simplification
4843
4844         * BufferView.C (ChangeInsets): simplify slightly.
4845
4846 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4847
4848         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4849         * lfuns.h: new LFUN_SPACE
4850         * lyxfunc.C: protected space has a new lfun
4851         * paragraph_funcs.C: read new space insets
4852         * text3.C:
4853         * factory.C: handle new space insets
4854
4855 2003-05-22  André Pönitz  <poenitz@gmx.net>
4856
4857         * BufferView.C:
4858         * BufferView_pimpl.C:
4859         * buffer.[Ch]:
4860         * lyxfunc.C:
4861         * undo_funcs.C: return a ParIterator from getParFromID.
4862
4863         * iterators.[Ch]: add two const's
4864
4865 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4866
4867         * toc.C (getTocList): adjust
4868
4869         * iterators.[Ch]: rework for parlist
4870
4871         * buffer.C (par_iterator_begin): adjust
4872         (par_iterator_end): adjust
4873
4874         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4875
4876         * BufferView.C (removeAutoInsets): adjust
4877         (ChangeInsets): adjust
4878
4879 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text.C (top_y): fix bug 1110
4882
4883 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4884
4885         * errorlist.[Ch]: added
4886         * buffer.C:
4887         * BufferView.[Ch]:
4888         * BufferView_pimpl.C:
4889         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4890         instead
4891
4892 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * Makefile.am: ensure that lyx is relinked upon changes to the
4895         various "convenience" libs.
4896
4897 2003-05-20  Angus Leeming  <leeming@lyx.org>
4898
4899         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4900         files are compiled in alphabetical order again.
4901
4902         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4903
4904 2003-05-19  Angus Leeming  <leeming@lyx.org>
4905
4906         * gettext.[Ch]: remove "char const * _(char const *)".
4907
4908 2003-05-19  André Pönitz  <poenitz@gmx.net>
4909
4910         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4911
4912         * Makefile.am:
4913         * BufferView.C:
4914         * DepTable.h:
4915         * LaTeXFeatures.C:
4916         * buffer.C:
4917         * lyxfont.C:
4918         * lyxlex.h:
4919         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4920
4921 2003-05-19  André Pönitz  <poenitz@gmx.net>
4922
4923         * buffer.C:
4924         * lyxlayout.[Ch]:
4925         * lyxtextclass.[Ch]:
4926         * paragraph.C:
4927         * paragraph_funcs.[Ch]:
4928         * text2.C:
4929         * text3.C: more insetenv work
4930
4931 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4932
4933         * ParagraphParameters.C (params2string): small bug fixed
4934
4935 2003-05-16  André Pönitz  <poenitz@gmx.net>
4936
4937         * debug.C:
4938         * bufferview_funcs.C: patch from Kornel Benko to prevent
4939           crash when _(...) is called twice in a statement
4940
4941 2003-05-16  André Pönitz  <poenitz@gmx.net>
4942
4943         * BufferView.C:
4944         * lyxfunc.C:
4945         * text.C:
4946         * text2.C:
4947         * text3.C:
4948         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4949
4950 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * lyx_main.C (init): remove spurious static_cast
4953
4954 2003-05-14  André Pönitz  <poenitz@gmx.net>
4955
4956         * BufferView.C: fix format string
4957
4958 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * BufferView.[Ch] (insertErrors): removed
4961         * BufferView.[Ch] (showErrorList): added
4962         * buffer.C (runChkTeX):
4963         * converter.C (scanLog): call showErrorList instead of inserterrors
4964
4965 2003-05-13  André Pönitz  <poenitz@gmx.net>
4966
4967         * BufferView_pimpl.C:
4968         * buffer.C:
4969         * bufferview_func.C:
4970         * MenuBackend.C:
4971         * lyxfunc.C:
4972         * lyxrc.C:
4973         * tex-accent.C:
4974         * text3.C:
4975         * toc.C:
4976         * tabular_funcs.h: tostr() from its own header
4977
4978         * ParagraphParameters.C:
4979         * ToolbarBackend.C:
4980         * bufferparams.C:
4981         * format.C:
4982         * lyxlex_pimpl.C:
4983         * text3.C: STRCONV()
4984
4985 2003-05-12  André Pönitz  <poenitz@gmx.net>
4986
4987         * BufferView.C:
4988         * BufferView_pimpl.C:
4989         * CutAndPaste.C:
4990         * LaTeX.C:
4991         * LaTeXFeatures.C:
4992         * ParagraphParameters.C:
4993         * buffer.C:
4994         * bufferlist.C:
4995         * bufferparams.C:
4996         * bufferview_funcs.C:
4997         * converter.C:
4998         * counters.C:
4999         * debug.C:
5000         * exporter.C:
5001         * format.C:
5002         * importer.C:
5003         * lyx_cb.C:
5004         * lyx_main.C:
5005         * lyxfont.C:
5006         * lyxfunc.C:
5007         * lyxvc.C:
5008         * paragraph.C:
5009         * paragraph_funcs.C:
5010         * tabular.C:
5011         * tabular_funcs.C:
5012         * text2.C:
5013         * text3.C:  boost::format -> bformat  all over the place
5014
5015
5016 2003-05-09  André Pönitz  <poenitz@gmx.net>
5017
5018         * LColor.[Ch]: Pimpl the #include <map> away
5019
5020 2003-05-09  John Levon  <levon@movementarian.org>
5021
5022         * bufferlist.C: never remove emergency saves
5023
5024 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * Makefile.am: better lib building
5027
5028 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5031         instead.
5032         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5033         (simpleTeXSpecialChars): adjust
5034         (simpleTeXSpecialChars): adjust
5035         * paragraph.C (simpleTeXOnePar): adjust
5036         * buffer.C (makeLaTeXFile): adjust
5037
5038         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5039
5040         * text2.C (changeDepth): parlist cleanup
5041         (getColumnNearX): ditto
5042
5043         * rowpainter.C (getLabelFont): parlist cleanup
5044
5045         * bufferlist.C (newFile): parlist cleanup
5046
5047         * CutAndPaste.C (eraseSelection): parlist cleanup
5048
5049         * BufferView_pimpl.C (trackChanges): parlist cleanup
5050         (dispatch): ditto
5051
5052         * BufferView.C (lockInset): parlist cleanup.
5053         (ChangeInsets): ditto
5054
5055 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * CutAndPaste.h: Update file header.
5058
5059         * CutAndPaste.C: Update file header.
5060         Store the parts cut out of the Document in a limited_stack.
5061         (copySelection): adjust
5062         (pasteSelection): new function, takes the index in the limited stack.
5063         (nrOfParagraphs): adjust
5064         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5065         simplify error inset insertion.
5066         (checkPastePossible): adjust
5067
5068 2003-05-06  John Levon  <levon@movementarian.org>
5069
5070         * text2.C: don't cast wrap inset to float
5071
5072 2003-05-05  André Pönitz  <poenitz@gmx.net>
5073
5074         * iterator.C:
5075         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5076
5077         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5078           few naked Paragraph *.
5079
5080 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5081
5082         * bufferparams.C: Output warning if a document with missing
5083         TeX document class is loaded
5084         * exporter.C: Disable TeX exports if the document class is missing
5085         * lyxtextclass.C:
5086         * lyxtextclass.h:
5087         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5088         isTeXClassAvailable()
5089
5090 2003-05-03  John Levon  <levon@movementarian.org>
5091
5092         * BufferView.h:
5093         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5094         explicit cursor show/hide
5095
5096         * BufferView_pimpl.h:
5097         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5098         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5099
5100         * lyxfunc.C: hide cursor before dispatching.
5101
5102         * lyx_cb.C:
5103         * lyxfind.C:
5104         * text.C:
5105         * text3.C: remove explicit cursor hides
5106
5107 2003-05-02  André Pönitz  <poenitz@gmx.net>
5108
5109         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5110
5111         * undo_funcs.C:
5112         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5113           linked lists
5114
5115         * text2.C: tiny whitespace
5116
5117 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5118
5119         * undo_funcs.C: almost only ws changes.
5120
5121         * ParagraphList.C (splice): just return if pl is empty.
5122
5123 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * ParagraphList.C (splice): new function.
5126
5127         * CutAndPaste.C (pasteSelection): use it
5128
5129 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * CutAndPaste.C (pasteSelection): remove the last next and
5132         previous from this file.
5133
5134 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * CutAndPaste.C (pasteSelection): more clean up, user proper
5137         ParagraphList functions for pasteing.
5138
5139         * ParagraphList.C (insert): new function, three arg insert
5140
5141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * ParagraphList.C (insert): new function, three arg insert
5144
5145         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5146         not on paragraphs.
5147
5148 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5151
5152 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5155
5156 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5159         (copySelection): clean up a bit.
5160         (pasteSelection): use make_pair
5161
5162         * ParagraphList.C (ParagraphList): implement copy constructor
5163         (operator=): implement, base on copy constructor.
5164         (assign): new func
5165
5166         * paragraph.C (erase): return a bool
5167
5168         * paragraph_pimpl.C (erasePos): remove function, move contents...
5169         (erase): ... here. Return a bool.
5170         (erase): call erase instead of erasePos.
5171
5172 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * ParagraphList.h: define PitPosPair
5175         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5176         ParagraphList, fix a bug on pasting multiple pars
5177         * text2.C: change interface to C&P
5178
5179 2003-04-30  André Pönitz  <poenitz@gmx.net>
5180
5181         * undo_func.C: revert part of yesterday's patch 2
5182
5183 2003-04-30  John Levon  <levon@movementarian.org>
5184
5185         * LColor.C: s/tabular/table/
5186
5187 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text3.C (dispatch): do not convert iterator -> pointer
5190         * undo_funcs.C (setCursorParUndo): ditto
5191         * text_funcs.C (transposeChars): ditto
5192
5193         * text2.C (setLayout): ws changes only
5194
5195         * text.C (breakParagraph): do not convert iterator -> pointer
5196         (insertChar): ditto
5197         (acceptChange): ditto
5198         (rejectChange): ditto
5199         (changeCase): ditto
5200         (Delete): ditto
5201         (backspace): ditto
5202
5203         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5204         pointer
5205
5206 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5207
5208         * text3.C (gotoInset): YABG (yet another bad getChar)
5209
5210 2003-04-29  André Pönitz  <poenitz@gmx.net>
5211
5212         * paragraph.h: make operator= private unimplemented as long as
5213           it is unusable
5214
5215         * ParagraphList.C: whitespace
5216
5217         * paragraph.[Ch]:
5218         * paragraph_pimpl.[Ch]:
5219         * paragraph_funcs.C:
5220         * CutAndPaste.C:
5221         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5222
5223         * text2.C:
5224           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5225
5226 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5227
5228         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5229         * paragraph.[Ch] (erase):
5230         * paragraph_pimpl.[Ch] (erase): change return type and value
5231         * text2.C (cutSelection): some rework
5232
5233 2003-04-28  John Levon  <levon@movementarian.org>
5234
5235         * bufferlist.C: changes for unsaved changes dialog
5236
5237 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * bufferlist.C (newFile): set language (messages_) for new
5240         documents also.
5241
5242         * buffer.C (readFile): ws changes only.
5243
5244 2003-04-28  André Pönitz  <poenitz@gmx.net>
5245
5246         * undo_funcs.C:
5247         * lyxfunc.C:
5248         * buffer.[Ch]:
5249         * BufferView_pimpl.C:
5250         * BufferView.C: getParFromID related ParagraphList::iterator changes
5251
5252 2003-04-28  André Pönitz  <poenitz@gmx.net>
5253
5254         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5255           Changes
5256
5257 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * messages.C: remove one more localedir class variable.
5260
5261 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * messages.C (getLocaleDir): singleton generation function
5264         (Pimpl): use it.
5265         (Messages): add a default constructor.
5266
5267         * main.C (main): do not setup localedir here, do not call
5268         gettext_init.
5269
5270         * gettext.C (_): use it.
5271         (gettext_init): delete funciton
5272
5273 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * gettext.C (getLyXMessages): new singleton generating function.
5276
5277         * buffer.C (updateDocLang): adjust
5278
5279         * Makefile.am (messages.o): add target
5280         (main.o): remove target
5281
5282 2003-04-27  John Levon  <levon@movementarian.org>
5283
5284         * bufferlist.C:
5285         * lyx_cb.C:
5286         * lyxfunc.C:
5287         * lyxvc.C: specify cancel button in Alert::prompt
5288
5289 2003-04-26  John Levon  <levon@movementarian.org>
5290
5291         * text3.C:
5292         * lyxfunc.C:
5293         * lfuns.h:
5294         * LyXAction.C: add LFUN_INSET_SETTINGS
5295
5296         * lyxfunc.C: don't enable tabular-feature when there's
5297         just any locking inset
5298
5299 2003-04-26  John Levon  <levon@movementarian.org>
5300
5301         * bufferlist.C: re-add Cancel to buffer close question
5302
5303         * lyxfunc.C: fix import UI a bit
5304
5305 2003-04-25  John Levon  <levon@movementarian.org>
5306
5307         * gettext.C: remove the broken asserts for now
5308
5309 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * messages.C: make case where setlocale cannot comply work better.
5312
5313         * buffer.C (updateDocLang): new function
5314         (changeLanguage): use it
5315         (readFile): use it
5316
5317         * text2.C (setCounter): use B_ a bit.
5318
5319         * lyxlayout.C (Read): be sure to trim the label strings.
5320
5321         * messages.C (Messages): fix typo in comment
5322
5323         * buffer.C (readFile): set message_ after file is loaded.
5324         (makeDocBookFile): remove double return
5325         (changeLanguage): reset message_ upon language change.
5326         (B_): new func, use this to get translated buffer strings.
5327
5328         * main.C: add myself and Jean Marc as authors.
5329
5330 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * messages.[hC]: pimplify Messages, and three different pimpls to be
5333         used in different circumstances.
5334
5335         * gettext.[Ch]: change for use with new message code.
5336
5337 2003-04-24 André Pönitz <poenitz@gmx.net>
5338
5339         * factory.C: support for eqref
5340
5341 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * messages.[Ch]: add missing char
5344
5345         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5346
5347         * messages.[Ch]: New files
5348
5349 2003-04-18  John Levon  <levon@movementarian.org>
5350
5351         * BufferView.h:
5352         * BufferView.C:
5353         * BufferView_pimpl.C:
5354         * lfuns.h:
5355         * LyXAction.C:
5356         * lyxtext.h:
5357         * text2.C: remove layout-copy/paste (bug 778)
5358
5359 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5362
5363 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5366         if they succeed. Act accordingly.
5367
5368 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * text2.C (setCharFont): adjust
5371         (setCounter): adjust
5372         (insertStringAsLines): adjust
5373
5374         * text.C (leftMargin): adjust
5375         (setHeightOfRow): adjust
5376
5377         * rowpainter.C (paintFirst): adjust
5378         (paintLast): adjust
5379
5380         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5381         (outerHook): ditto
5382         (isFirstInSequence): ditto
5383         (getEndLabel): ditto
5384         (outerFont): adjust
5385
5386         * paragraph.C (getParLanguage): comment out some hard stuff.
5387
5388         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5389         (sgmlError): ditto
5390         (simpleDocBookOnePar): ditto
5391         (makeDocBookFile): use ParagraphList::iterator
5392
5393         * CutAndPaste.C (pasteSelection): adjust
5394
5395 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * text2.C (getFont): adjust
5398         (getLayoutFont): adjust
5399         (getLabelFont): adjust
5400
5401         * paragraph_funcs.C (TeXOnePar): adjust
5402
5403         * buffer.C (simpleLinuxDocOnePar): adjust
5404         (simpleDocBookOnePar): adjust
5405
5406         * CutAndPaste.C (pasteSelection): adjust
5407
5408         * BufferView.C (getEncoding): adjust
5409
5410         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5411
5412 2003-04-16  John Levon  <levon@movementarian.org>
5413
5414         * lyxfind.C: use parlist stuff for search/changes
5415
5416 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5419
5420         * text2.C (deleteEmptyParagraphMechanism): adjust
5421
5422         * text2.[Ch] (ownerParagraph): delete func (both of them
5423
5424 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5427
5428 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * ParagraphList.C: prepare for NO_NEXT
5431
5432 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5433
5434         * text2.C (getFont): adjust
5435         (getLayoutFont): adjust
5436         (getLabelFont): adjust
5437
5438         * paragraph.C (getFont): adjust
5439         (getLabelFont): adjust
5440         (getLayoutFont): adjust
5441
5442         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5443
5444 2003-04-15  John Levon  <levon@movementarian.org>
5445
5446         From Angus Leeming
5447
5448         * lyx_main.C: handle Include in .ui files
5449
5450 2003-04-15  John Levon  <levon@movementarian.org>
5451
5452         * MenuBackend.C: make the doc files length shorter
5453
5454         * ToolbarBackend.h:
5455         * ToolbarBackend.C: handle toolbar placement flags,
5456         Minibuffer
5457
5458 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5461         adjust
5462
5463         * paragraph_funcs.C (TeXOnePar): adjust
5464
5465         * paragraph.C (getLabelFont): add outerfont arg, adjust
5466         (getLayoutFont): ditto
5467         (simpleTeXOnePar): adjust
5468
5469         * paragraph_pimpl.C (realizeFont): delete func
5470
5471 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5474         row argument, constify cur argument.
5475
5476 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5477
5478         * text2.C (getFont): adjust
5479         (getLayoutFont): adjust
5480         (getLabelFont): adjust
5481
5482         * paragraph_funcs.C (TeXOnePar): adjust
5483         (outerFont): new func...
5484         (realizeFont): ...moved out from here, changed this to facilitate
5485         transition
5486
5487         * paragraph.C (getFont): take outerfont as arg, adjust
5488         (simpleTeXOnePar): add outerfont arg, adjust
5489
5490         * buffer.C (simpleLinuxDocOnePar): adjust
5491         (simpleDocBookOnePar): adjust
5492
5493         * CutAndPaste.C (pasteSelection): adjust
5494
5495         * BufferView.C (getEncoding): adjust
5496
5497 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * text2.C (setCharFont): adjust
5500         (setCounter): adjust
5501
5502         * text.C (leftMargin): adjust
5503         (setHeightOfRow): adjust
5504
5505         * rowpainter.C (paintFirst): adjust
5506         (paintLast): adjust
5507
5508         * paragraph_pimpl.C (realizeFont): adjust
5509
5510         * paragraph.C (isFirstInSequence): move from here...
5511         * paragraph_funcs.C (isFirstInSequence): ...to here
5512
5513         * paragraph.C (outerHook): move from here...
5514         * paragraph_funcs.C (outerHook): ...to here
5515
5516         * paragraph.C (depthHook): move from here...
5517         * paragraph_funcs.C (depthHook): ...to here
5518
5519         * paragraph.C (getEndLabel): move from here...
5520         * paragraph_funcs.C (getEndLabel): ...to here
5521
5522         * text2.C (realizeFont): move from here...
5523         * paragraph_funcs.C (realizeFont): ...to here
5524
5525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5528
5529 2003-04-14  Angus Leeming  <leeming@lyx.org>
5530
5531         * LColor.[Ch]: scrap LColor mathcursor.
5532
5533 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * lyxlex.[Ch] (text): delete function
5536         * trans.C (Load): adjust
5537         * paragraph_funcs.C (readParToken): adjust
5538
5539 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5540
5541         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5542         vector<char> instead of a char[].
5543
5544         * lyxlex_pimpl.C (getString): adjust
5545         (next): adjust
5546         (lex): use getString
5547         (eatLine): adjust
5548         (nextToken): adjust
5549
5550         * lyxlex.C (text): use pimpl_->getString()
5551         (getBool): ditto
5552         (findToken): ditto
5553
5554 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5557         (makeFontEntriesLayoutSpecific): temp var for par.size()
5558         (setLayout): temp var for ownerParagraphs().end()
5559         (fullRebreak): temp var for rows().end()
5560         (selectionAsString): temp var for boost::next(startpit), realize
5561         that the while really is a regular for loop.
5562         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5563         setCursor in one place.
5564         (setParagraph): temp vr for ownerParagraphs().end()
5565         (updateCounters): make the while loop a for loop
5566         (cutSelection): temp var for ownerParagraphs().end()
5567         (updateInset): make the do {} while() a regular for loop
5568         (getCursorX): use temp vars
5569         (setCurrentFont): use temp vars
5570         (getColumnNearX): use temp vars
5571
5572 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * text.C (transformChar): use temp var for getChar
5575         (computeBidiTables): use temp var for row->par()
5576         (fill): move temp vars for row->par() and pit->layout() earlier in
5577         the function.
5578         (labelFill): use temp var for row->par()
5579         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5580         asc and desc, realize that pit never changes and that firstpit is
5581         just a duplicate and not needed. Exchange rit->par() with pit in a
5582         lot of places.
5583         (breakAgain): use a temp var for boost::next(rit)
5584         (breakAgainOneRow): ditto
5585         (breakParagraph): use a temp var for rows().begin()
5586         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5587         (cursorRightOneWord): use temp var for cursor.par() and
5588         cursor.pos(), remove usage of tmpcursor.
5589         (cursorLeftOneWord): use temp var for cursor.par() and
5590         cursor.pos() only set cur at end of function.
5591
5592 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * text.C, text2.C: exchange all usage of Paragraph::next with
5595         boost::next(ParagraphList::iterator)
5596
5597         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5598
5599         * text2.C (cursorTop): simplify implementation
5600         (cursorBottom): ditto
5601         (setParagraph): use ParagraphList::iterator
5602         (setCurrentFont): adjust
5603         (getColumnNearX): adjust
5604         (cursorRight): adjust
5605         (cursorLeft): remove usage of Paragraph::previous
5606         (cursorUpParagraph): ditto
5607         (deleteEmptyParagraphMechanism): slight cleanup
5608
5609         * text.C (isBoundary): take a Paragraph const & instead of a
5610         pointer as arg.
5611         (addressBreakPoint): ditto
5612         (leftMargin): remove usage of Paragraph::previous.
5613         (setHeightOfRow): ditto
5614         (cursorLeftOneWord): ditto
5615         (selectNextWordToSpellcheck): ditto
5616         (Delete): ditto
5617         (backspace): ditto
5618         (breakParagraph): remove one usage of Paragraph::next
5619         (redoParagraph): ditto
5620         (acceptChange): ditto
5621         (insertChar): adjust
5622         (rowBreakPoint): adjust
5623
5624         * bufferview_funcs.C (toggleAndShow): adjust
5625
5626 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5627
5628         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5629         methods to access it.
5630         * lyxtext.h:
5631         * text.C: Added updateRowPositions to compute all row positions.
5632         Make top_y and getRowNearY() to use the cached y position
5633
5634 2003-04-11  John Levon  <levon@movementarian.org>
5635
5636         * text.C (rowBreakPoint): reintroduce the labelEnd
5637         checks, code copied from the row fill stuff. Deep voodoo.
5638
5639         * text.C (fill): add a comment and debugging for the
5640         next poor soul.
5641
5642 2003-04-11  John Levon  <levon@movementarian.org>
5643
5644         * text.C: make sure fullrow insets get wrapped to the next line,
5645         even when they're in a manual label
5646
5647 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * text2.C (insertParagraph): make it take ParagraphList::iterator
5650         as arg.
5651         (setLayout): make it return ParagraphList::iterator
5652         (redoParagraphs): ditto
5653         (setCounter): ditto
5654         (checkParagraph): ditto
5655
5656         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5657
5658         * text2.C: adjust several funcs.
5659         (realizeFont): take a ParagraphList::iterator as arg.
5660         (getLayoutFont): ditto
5661         (getLabelFont): ditto
5662         (setCharFont): ditto
5663
5664         * text.C: adjust several funcs.
5665
5666 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5667
5668         * text.C (selectNextWordToSpellcheck): don't accidentally
5669         skip insets
5670
5671 2003-04-10  John Levon  <levon@movementarian.org>
5672
5673         * ToolbarBackend.C (getIcon): special handling for
5674         LFUN_MATH_DELIM
5675
5676 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5677
5678         * text2.C (cursorRight): a getChar assert fixed
5679
5680 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * text2.C (getFont): change to take a ParagraphList::iterator
5683         instead of Paragraph*
5684         Adjust several functions.
5685
5686         * text.C (transformChar): change to take a ParagraphList::iterator
5687         instead of Paragraph*
5688         (singleWidth): ditto
5689         Adjust several functions.
5690
5691         * rowpainter.C: adjust several functions
5692         * rowpainter.h:store a ParagraphList::iterator and not a
5693         Paragraph&.
5694
5695
5696 2003-04-09  John Levon  <levon@movementarian.org>
5697
5698         * lyxfunc.C:
5699         * lfuns.h:
5700         * LyXAction.h:
5701         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5702         and the "help" bits as well
5703
5704 2003-04-09  John Levon  <levon@movementarian.org>
5705
5706         * ToolbarBackend.h:
5707         * ToolbarBackend.C: allow multiple toolbars
5708
5709 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5710
5711         * undo_funcs.C (setCursorParUndo): adjust
5712
5713         * text_funcs.C (transposeChars): adjust
5714
5715         * text3.C (gotoNextInset): adjust
5716         (dispatch): adjust
5717
5718         * text2.C (setLayout): adjust
5719         (changeDepth): adjust
5720         (setFont): adjust
5721         (redoParagraphs): adjust
5722         (selectionAsString): adjust
5723         (setParagraph): adjust
5724         (insertInset): adjust
5725         (cutSelection): adjust
5726         (copySelection): adjust
5727         (pasteSelection): adjust
5728         (insertStringAsLines): adjust
5729         (updateInset): adjust
5730         (setCursor): change to take a ParagraphList::iterator parameter
5731         (setCursorIntern): change to take a ParagraphList::iterator parameter
5732         (setCurrentFont): adjust
5733         (cursorLeft): adjust
5734         (cursorRight): adjust
5735         (deleteEmptyParagraphMechanism): adjust
5736
5737         * text.C (breakParagraph): adjust
5738         (insertChar): adjust
5739         (acceptChange): adjust
5740         (rejectChange): adjust
5741         (selectNextWordToSpellcheck): adjust
5742         (changeCase): adjust
5743         (Delete): adjust
5744         (backspace): adjust
5745
5746         * lyxfind.C (SearchForward): adjust
5747         (SearchBackward): adjust
5748         (nextChange): adjust
5749
5750         * lyxcursor.C (par): adjust
5751
5752         * lyxcursor.h: store a ParagraphList::iterator instead of a
5753         Paragraph*
5754
5755         * lyx_cb.C (getPossibleLabel): adjust
5756
5757         * bufferview_funcs.C (toggleAndShow): adjust
5758
5759         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5760         (dispatch): adjust
5761
5762         * BufferView.C (removeAutoInsets): adjust
5763         (lockedInsetStoreUndo): adjust
5764
5765 2003-04-09  John Levon  <levon@movementarian.org>
5766
5767         * ToolbarBackend.C: try icon without argument
5768         if with argument fails
5769
5770 2003-04-08  John Levon  <levon@movementarian.org>
5771
5772         * ToolbarBackend.h:
5773         * ToolbarBackend.C: add getIcon(), handle tooltip,
5774         and change from "Icon" to "Item".
5775
5776 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * BufferView.C (lockInset): another bad getchar crunched
5779
5780 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5781
5782         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5783         again)
5784
5785 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * lyxfind.C (searchForward, searchBackwards): bug 782
5788
5789 2003-04-07  John Levon  <levon@movementarian.org>
5790
5791         * paragraph.C: remove dead comment
5792
5793         * text.C: remove troublesome depth-fiddling code
5794         in leftMargin() and rightMargin() (bug 1017)
5795
5796         * text.C: fix breaking of rows in nested lists
5797         (bug 1004)
5798
5799         * text2.C (updateCounters): fix up depth values
5800         (bug 1013)
5801
5802 2003-04-07  John Levon  <levon@movementarian.org>
5803
5804         * BufferView_pimpl.C: clear message when doc finishes resizing,
5805         and after a mouse event
5806
5807         * lyxfunc.C: clear message after exiting inset
5808
5809 2003-04-07  John Levon  <levon@movementarian.org>
5810
5811         * bufferview_funcs.C: show math status not outside
5812         status in the statusbar
5813
5814 2003-04-07  John Levon  <levon@movementarian.org>
5815
5816         * lyxfunc.C: note status changed after a depth change
5817
5818 2003-04-04  Angus Leeming  <leeming@lyx.org>
5819
5820         * LaTeX.h: move AuxInfo operator==, != out of line.
5821         Remove LaTeX virtual destructor; nothing derives from it.
5822         Move operator()() out of public area and rename it startscript().
5823         Change protected for private.
5824
5825 2003-04-04  Angus Leeming  <leeming@lyx.org>
5826
5827         * lyxfunc.C:
5828         * text2.C: remove unneeded #includes.
5829
5830 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5831
5832         * text2.C (dEPM): fix the heigth of the next row
5833
5834 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5835
5836         * text.C: squashed an invalid getChar requester + some ws changes
5837
5838 2003-04-03  John Levon  <levon@movementarian.org>
5839
5840         * bufferview_funcs.h:
5841         * bufferview_funcs.C:
5842         * lyxfunc.C:
5843         * lyxtext.h:
5844         * text2.C: make getStatus work for the env depth lfuns
5845
5846 2003-04-03  John Levon  <levon@movementarian.org>
5847
5848         * bufferview_funcs.h:
5849         * bufferview_funcs.C:
5850         * lyxfunc.C:
5851         * lyxtext.h:
5852         * text2.C: parlistize decDepth(), by merging it with incDepth()
5853
5854 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * lyxrow.h: store a ParagraphList::iterator instead of a
5857         Paragraph* and adjust other class functions to suit.
5858
5859         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5860         above.
5861
5862 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * text2.C (setCursor): do not anchor to cursor row for the time being
5865
5866 2003-04-02  John Levon  <levon@movementarian.org>
5867
5868         * LyXAction.C:
5869         * lfuns.h:
5870         * lyx_main.C:
5871         * lyxtext.h:
5872         * text.C:
5873         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5874
5875 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * paragraph.h: make ParagraphList and ParagraphList::iterator
5878         friends of Paragraph.
5879
5880         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5881
5882         * ParagraphList.C: Use the private next_ and previous_ from
5883         Paragraph.
5884
5885 2003-04-01  John Levon  <levon@movementarian.org>
5886
5887         * ToolbarBackend.h:
5888         * ToolbarBackend.C:
5889         * Makefile.am: rename, remove defaults gunk
5890
5891         * MenuBackend.h:
5892         * MenuBackend.C: remove defaults gunk
5893
5894         * Languages.h:
5895         * Languages.C: remove defaults gunk
5896
5897         * lyx_main.h:
5898         * lyx_main.C: error out if files couldn't be found.
5899
5900 2003-04-02  John Levon  <levon@movementarian.org>
5901
5902         * text2.C: make incDepth() use parlist
5903
5904 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5905
5906         * undo_funcs.C (firstUndoParagraph): adjust
5907
5908         * text3.C (gotoInset): adjust
5909         (dispatch): adjust, and rewrite loop.
5910
5911         * text2.C (init): adjust, and rewrite loop.
5912         (redoParagraphs): adjust
5913         (updateInset): adjust, and rewrite loop.
5914         (deleteEmptyParagraphMechanism): adjust
5915
5916         * tabular.C (LyXTabular): adjust
5917         (SetMultiColumn): adjust
5918         (TeXRow): adjust
5919
5920         * lyxtext.[Ch] (ownerParagraph): delete function
5921         (ownerParagraphs): new function returns a ParagraphList.
5922
5923         * BufferView.C (removeAutoInsets): adjust
5924         (insertErrors): adjust
5925         (setCursorFromRow): adjust
5926
5927 2003-04-01  Angus Leeming  <leeming@lyx.org>
5928
5929         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5930         in the frontends.
5931
5932 2003-04-02  John Levon  <levon@movementarian.org>
5933
5934         * lyxtext.h:
5935         * text.C:
5936         * Makefile.am:
5937         * text_funcs.h:
5938         * text_funcs.C: make transposeChars a free function
5939
5940         * lyxrow_funcs.C: remove wrong comment
5941
5942 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * lyxtext.h: adjust
5945         * rowpainter.C: adjust
5946         * text.C: adjust
5947         * text2.C: adjust
5948         * text3.C: adjust
5949
5950         * lyxrow_funcs. [Ch]: new files
5951
5952         * lyxrow.[Ch]: remove next and previous pointers
5953         (next,previous): remove accessor functions
5954         (isParEnd): move to lyxrow_funcs
5955         (lastPos): move to lyxrow_funcs
5956         (nextRowIsAllInset): move to lyxrow_funcs
5957         (lastPrintablePos): move to lyxrow_funcs
5958         (numberOfSeparators): move to lyxrow_funcs
5959         (numberOfHfills): move to lyxrow_funcs
5960         (numberOfLabelHfills): move to lyxrow_funcs
5961         (hfillExpansion): move to lyxrow_funcs
5962
5963         * lyxfunc.C: adjust
5964
5965         * bufferview_funcs.C (toggleAndShow): adjust
5966
5967         * RowList.h: Remove class RowList from file leave just a
5968         std::list<Row>.
5969
5970         * RowList.C: delete file
5971
5972         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5973         and lyxrow_funcs.h
5974
5975 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * text3.C (cursorPrevious): adjust
5978         (cursorNext): adjust
5979         (dispatch): adjust
5980
5981         * text2.C (redoHeightOfParagraph): adjust
5982         (redoDrawingOfParagraph): adjust
5983         (setCursor): adjust
5984
5985         * text.C (breakParagraph): adjust
5986         (insertChar): adjust
5987         (backspace): adjust
5988
5989         * rowpainter.C (RowPainter): adjust
5990         (leftMargin): simplify and adjust
5991         (most rowpainter functions): adjust.
5992
5993         * rowpainter.h: store the row as RowList::iterator not as Row*
5994
5995         * lyxcursor.C (row): taka RowList::iterator as arg
5996         (irow): ditto
5997
5998         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5999         of Row*.
6000
6001 2003-04-01  Angus Leeming  <leeming@lyx.org>
6002
6003         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6004         stuff like bool Bool.
6005
6006 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6007
6008         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6009         rewrite a loop
6010
6011 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6014         RowList::iterator.
6015
6016         * lyxtext.h (rows): drop one version and leve a const variant that
6017         returns a RowList::iterator.
6018
6019 2003-03-31  Angus Leeming  <leeming@lyx.org>
6020
6021         * text.C (fill): ensure that the signature is the same as that in the
6022         header file.
6023
6024 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * text2.C (redoParagraphs): adjust
6027         (updateCounters): adjust
6028         (checkParagraph): adjust
6029         (getColumnNearX): adjust and reformat a bit.
6030
6031         * text.C (top_y): adjust
6032         (workWidth): adjust
6033         (leftMargin): adjust
6034         (prepareToPrint): adjust
6035         (getRow): adjust
6036         (getRowNearY): adjust
6037
6038         * lyxtext.h: make rowlist_ mutable.
6039
6040         * RowList.h: add const_iterator
6041         * RowList.C: adjust for RowList::const_iterator.
6042
6043         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6044         adjust.
6045
6046 2003-03-31  John Levon  <levon@movementarian.org>
6047
6048         * lyxrc.h:
6049         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6050
6051         * lyx_main.C: set default fonts from using lyx_gui funcs
6052
6053         * exporter.C: pdf_mode moved from lyxrc
6054
6055         * lyx_cb.C:
6056         * lyxfunc.C: changes from above
6057
6058 2003-03-31  John Levon  <levon@movementarian.org>
6059
6060         * lyx_main.C: fix to the last fix
6061
6062 2003-03-31  John Levon  <levon@movementarian.org>
6063
6064         * bufferlist.C: "Load original" -> "Load Original"
6065
6066         * converter.C:
6067         * exporter.C:
6068         * importer.C:
6069         * lyx_main.C:
6070         * format.C: more Alert cleanups
6071
6072 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * text2.C (removeParagraph): make it take a RowList::iterator as
6075         arg, adjust.
6076         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6077         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6078
6079         * text.C (anchor_row): make it take a RowList::iterator as arg,
6080         adjust.
6081         (computeBidiTables): make it take a const reference to Row instead
6082         of Row pointer, adjust.
6083         (leftMargin): make it take a RowList::iterator as arg, adjust.
6084         (rowBreakPoint): adjust
6085         (breakAgainOneRow): make it take a RowList::iterator as arg,
6086         adjust.
6087         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6088
6089         * bufferview_funcs.C (toggleAndShow): adjust
6090
6091 2003-03-30  John Levon  <levon@movementarian.org>
6092
6093         * Makefile.am:
6094         * BoostFormat.h:
6095         * boost-inst.C: moved to support
6096
6097         * several files: changes as a result
6098
6099 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * text2.C (LyXText): adjust.
6102         (init): adjust
6103         (removeRow): make it take a RowList::iterator as arg, adjust.
6104         (fullRebreak): adjust
6105         (deleteEmptyParagraphMechanism): adjust
6106         (clearPaint): adjust
6107         (postPaint): adjust
6108
6109         * text.C (top_y): adjust
6110         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6111         (breakAgain): make it take a RowList::iterator as arg, adjust.
6112         (breakParagraph): adjust
6113         (insertChar): adjust
6114         (backspace): adjust
6115
6116         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6117         need_break_row, and refresh_row.
6118
6119         * text3.C (dispatch): adjust
6120
6121         * text2.C (checkParagraph): adjust
6122         (setCursor): adjust
6123         (setCursorFromCoordinates): adjust
6124
6125         * text.C (top_y): adjust
6126         (workWidth): adjust
6127         (getRow): make it return a RowList::iterator, adjust
6128         (getRowNearY): make it return a RowList::iterator, adjust
6129
6130         * text2.C (init): adjust
6131         (insertRow): remove function
6132         (insertParagraph): adjust
6133         (redoParagraphs): adjust
6134         (fullRebreak): adjust
6135         (updateCounters): adjust
6136
6137         * text.C (top_y): rewrite to use RowList iterators.
6138         (top_y): adjust
6139         (setHeightOfRow): rewrite to sue RowList iterators.
6140         (appendParagraph): adjust
6141         (breakAgain): adjust
6142         (breakAgainOneRow): adjust
6143         (breakParagraph): adjust
6144         (getRow): adjust
6145         (getRowNearY): adjust, and remove commented code.
6146
6147         * lyxtext.h (firstRow): delete function
6148         (lastRow): delete function
6149         (rows): new function (const and non-const versions.)
6150         (insertRow): delete function
6151
6152         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6153
6154 2003-03-29  John Levon  <levon@movementarian.org>
6155
6156         * BufferView_pimpl.C: always update scrollbar top
6157         because pasting text when we're anchored could mean we
6158         miss an update altogether
6159
6160 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * text2.C (init): use rowlist_.end() and not 0.
6163         (insertRow): change to take a RowList::iterator as arg, adjust
6164         for this.
6165         (insertParagraph): change to take a RowList::iterator as arg,
6166         adjust for this.
6167         (redoParagraphs): remove some debug msgs.
6168
6169         * text.C (appendParagraph): change to take a RowList::iterator
6170         arg, adjust for this.
6171         (breakAgain): add an assert
6172         (breakAgainOneRow): ditto
6173
6174 2003-03-29  John Levon  <levon@movementarian.org>
6175
6176         * text2.C: do not clear selection after inc/decDepth
6177         (bug 550)
6178
6179 2003-03-29  John Levon  <levon@movementarian.org>
6180
6181         * BufferView.C:
6182         * buffer.C: fix broken strerrors according to Lars
6183
6184 2003-03-29  John Levon  <levon@movementarian.org>
6185
6186         * converters.C: more Alert cleanups
6187
6188 2003-03-29  John Levon  <levon@movementarian.org>
6189
6190         * bufferview_funcs.C: remove pointless Alert
6191
6192         * buffer.C: fix confusing error message when
6193         a template is chmoded 000
6194
6195 2003-03-29  John Levon  <levon@movementarian.org>
6196
6197         * BufferView.C:
6198         * BufferView.h:
6199         * BufferView_pimpl.C: Alert fixes
6200
6201         * Makefile.am:
6202         * tabular.C:
6203         * tabular-old.C: remove unused table compat reading
6204
6205 2003-03-29  John Levon  <levon@movementarian.org>
6206
6207         * BufferView.C:
6208         * buffer.C:
6209         * lyx_cb.h:
6210         * lyx_cb.C: more Alert cleanups
6211
6212         * lyxfunc.C: don't allow chktex if not latex document
6213
6214 2003-03-29  John Levon  <levon@movementarian.org>
6215
6216         * lyx_cb.C:
6217         * BufferView.C:
6218         * buffer.C: warnings pushed down from support/,
6219         kill err_alert
6220
6221 2003-03-29  John Levon  <levon@movementarian.org>
6222
6223         * lyxfunc.C: safety check for C-r (revert)
6224
6225 2003-03-29  John Levon  <levon@movementarian.org>
6226
6227         * bufferlist.h:
6228         * bufferlist.C: several UI fixes using Alert::prompt.
6229         Fix the pointless looping quit code. Fix stupid revert
6230         behaviour (bug 938)
6231
6232         * lyxvc.h:
6233         * lyxvc.C:
6234         * lyx_cb.C: use Alert::prompt
6235
6236         * lyx_main.C: remove a silly question
6237
6238         * lyxfunc.C: remove a couple of silly questions,
6239         use Alert::prompt
6240
6241 2003-03-28  John Levon  <levon@movementarian.org>
6242
6243         * text2.C: fix bug 974 (End on empty par)
6244
6245 2003-03-28  John Levon  <levon@movementarian.org>
6246
6247         * BufferView_pimpl.C:
6248         * LyXAction.C:
6249         * lfuns.h: remove do-nothing math greek lfuns
6250
6251 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * lyxgluelength.h (isValidGlueLength): add default arg on
6254         parameter 2. Remove default arg from friend in class.
6255
6256         * lyxlength.h (isValidLength): add default arg on parameter 2.
6257         Remove default arg from friend in class.
6258
6259         * text2.C (LyXText): adjust, initialize refresh_row.
6260         (init): adjust
6261         (removeRow): adjust
6262         (insertRow): adjust
6263         (insertParagraph): adjst
6264         (redoParagraphs): adjust
6265         (fullRebreak): adjust
6266         (updateCounters): adjust
6267         (deleteEmptyParagraphMechanism): first attempt at fixing a
6268         crashing bug.
6269
6270         * text.C (top_y): adjust
6271         (setHeightOfRow): adjust
6272         (getRow): adjust
6273         (getRowNearY): adjust
6274
6275         * lyxtext.h: include RowList.h
6276         (~LyXText): not needed anymore, deleted.
6277         (firstRow): modify for RowList
6278         (lastRow): new function
6279         Delete firstrow and lastrow class variables, add a Rowlist
6280         rowlist_ class variable.
6281
6282         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6283         paragraph is empty.
6284
6285         * RowList.C (insert): fix case where it == begin().
6286
6287 2003-03-26  Angus Leeming  <leeming@lyx.org>
6288
6289         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6290         the thesaurus dialog.
6291
6292 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6295
6296         * RowList.[Ch]: new files
6297
6298         * ParagraphList.C (erase): handle the case where it == begin
6299         correctly.
6300
6301 2003-03-25  John Levon  <levon@movementarian.org>
6302
6303         * Makefile.am:
6304         * aspell_local.h:
6305         * aspell.C: add new aspell support
6306
6307         * lyxrc.h:
6308         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6309         have it accessible.
6310
6311 2003-03-25  Angus Leeming  <leeming@lyx.org>
6312
6313         * lfuns.h:
6314         * LyXAction.C (init): new LFUN_INSET_INSERT.
6315
6316         * BufferView_pimpl.C (dispatch): split out part of the
6317         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6318
6319         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6320         LFUN_INSET_APPLY.
6321
6322 2003-03-25  Angus Leeming  <leeming@lyx.org>
6323
6324         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6325
6326 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6327
6328         * text2.C:
6329         * text3.C: remove useless row->height(0)
6330
6331 2003-03-25  John Levon  <levon@movementarian.org>
6332
6333         * lyxtext.h:
6334         * text2.C:
6335         * text3.C: rename the refreshing stuff to better names
6336
6337 2003-03-24  John Levon  <levon@movementarian.org>
6338
6339         * BufferView_pimpl.h:
6340         * BufferView_pimpl.C: update layout choice on a mouse
6341         press/release
6342
6343 2003-03-23  John Levon  <levon@movementarian.org>
6344
6345         * Makefile.am: fix commandtags.h reference
6346
6347 2003-03-22  John Levon  <levon@movementarian.org>
6348
6349         * BufferView_pimpl.C:
6350         * lyxtext.h:
6351         * rowpainter.C:
6352         * rowpainter.h:
6353         * text.C:
6354         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6355
6356 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * lyxtext.h:
6359         * text.C: take the rtl methods out of line
6360
6361 2003-03-21 André Pönitz <poenitz@gmx.net>
6362
6363         * metricsinfo.[Ch]: new files containing structures to be passed around
6364         during the two-phase-drawing...
6365
6366 2003-03-21 André Pönitz <poenitz@gmx.net>
6367
6368         * lyxtextclass.C: read 'environment' tag.
6369
6370 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * text2.C (removeRow): fix bug 964
6373
6374 2003-03-20  John Levon  <levon@movementarian.org>
6375
6376         * rowpainter.C:
6377         * text.C:
6378         * text2.C: paint cleanups. Inset::update() dropped font
6379         parameter
6380
6381 2003-03-19  John Levon  <levon@movementarian.org>
6382
6383         * lyxfunc.C: only fitcursor/markDirty if available()
6384
6385 2003-03-19  John Levon  <levon@movementarian.org>
6386
6387         * commandtags.h: rename to ...
6388
6389         * lfuns.h: ... this, and renumber / cleanup
6390
6391 2003-03-19  John Levon  <levon@movementarian.org>
6392
6393         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6394         fit the cursor after an lfun
6395
6396         * BufferView.h:
6397         * BufferView.C:
6398         * BufferView_pimpl.h:
6399         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6400
6401         * LyXAction.C: layout-character should have ReadOnly
6402
6403         * ParagraphParameters.C:
6404         * buffer.C:
6405         * bufferview_funcs.C:
6406         * lyx_cb.C:
6407         * lyxfind.C:
6408         * lyxtext.h:
6409         * text.C:
6410         * text2.C:
6411         * text3.C:
6412         * undo_funcs.C: changes from above
6413
6414 2003-03-18  John Levon  <levon@movementarian.org>
6415
6416         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6417         remove it from update()
6418
6419         * lyxfunc.C: update layout choice after an lfun
6420
6421         * text3.C: remove extra updateLayoutChoice()s
6422
6423 2003-03-18  John Levon  <levon@movementarian.org>
6424
6425         * text.C: top_y change means full repaint, fix
6426         a drawing bug with cursor movement
6427
6428 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6429
6430         * lyxtext.h:
6431         * text.C:
6432         * text2.C: anchor row on setCursor
6433
6434 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * lyxtext.h: remove almost all mutable keywords
6437         * text.C:
6438         * text2.C:
6439         * text3.C: remove const keywords accordingly
6440
6441 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6444         anon namespace
6445         (TeXEnvironment): ditto
6446         (TeXOnePar): ditto
6447
6448 2003-03-17  John Levon  <levon@movementarian.org>
6449
6450         * text.C (rowBreakPoint): remove attempt to fix displayed
6451         math insets inside a manual label
6452
6453 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * lyxtext.h: remove BufferView* as first arg from almost all class
6456         functions.
6457         * other files: adjust.
6458
6459 2003-03-17  John Levon  <levon@movementarian.org>
6460
6461         * lyxtext.h:
6462         * undo_funcs.C:
6463         * text2.C: more paint cleanups
6464
6465         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6466
6467         * rowpainter.h:
6468         * rowpainter.C: remove "smart" background painting code
6469
6470 2003-03-16  John Levon  <levon@movementarian.org>
6471
6472         * lyxtext.h:
6473         * text.C:
6474         * text2.C:
6475         * text3.C: add helper functions for setting refresh_row/y
6476
6477 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6478
6479         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6480         newline inset which *can* get inserted in the pass_thru layouts.
6481         This is primarily for literate documents.
6482
6483 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6484
6485         * buffer.C: increment LYX_FORMAT to 223
6486
6487 2003-03-14 André Pönitz <poenitz@gmx.net>
6488
6489         * textclass.h: prepare for environment handling, ws changes
6490         * lyxlayout.C: read latexheader and latexfooter tags
6491
6492 2003-03-14  John Levon  <levon@movementarian.org>
6493
6494         * text2.C: rewrite ::status() a bit
6495
6496 2003-03-13  John Levon  <levon@movementarian.org>
6497
6498         * lyxtext.h: add some docs
6499
6500 2003-03-13  John Levon  <levon@movementarian.org>
6501
6502         * lyxtext.h:
6503         * text.C:
6504         * text2.C:
6505         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6506
6507 2003-03-13  John Levon  <levon@movementarian.org>
6508
6509         * text3.C: fix appendix redrawing
6510
6511 2003-03-13  John Levon  <levon@movementarian.org>
6512
6513         * text.C (setHeightOfRow):
6514         * rowpainter.h:
6515         * rowpainter.C: make appendix mark have the text
6516           "Appendix" so the user knows what it is
6517
6518         * LColor.h:
6519         * LColor.C: s/appendixline/appendix/ from above
6520
6521 2003-03-13  John Levon  <levon@movementarian.org>
6522
6523         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6524
6525         * text.C: fix a getChar(pos) bug properly
6526
6527 2003-03-13  Angus Leeming  <leeming@lyx.org>
6528
6529         * commandtags.h:
6530         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6531         Probably only temporary. Let's see how things pan out.
6532
6533         * BufferView.C (unlockInset):
6534         * BufferView_pimpl.C (fitCursor):
6535         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6536
6537         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6538         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6539
6540         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6541         new functions that convert ParagraphParameters to and from a string.
6542
6543         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6544         BufferView::Pimpl's dispatch.
6545         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6546
6547 2003-03-13 André Pönitz <poenitz@gmx.net>
6548
6549         * lyxfunc.C:
6550         * text3.C:
6551         * factory.C: make it aware of InsetEnv
6552
6553 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * text2.C (setCursor): never ask for one past last
6556         (setCursor): add some debugging messages.
6557
6558         * text.C (singleWidth): never ask for one past last
6559         (singleWidth): ditto
6560         (leftMargin): ditto
6561         (rightMargin): ditto
6562         (rowBreakPoint): ditto
6563         (setHeightOfRow): ditto
6564         (prepareToPrint): ditto
6565
6566         * rowpainter.C (paintBackground): never ask for one past last
6567         (paintText): never ask for one past last
6568
6569         * paragraph_pimpl.C (getChar): make the assert stricter, never
6570         allow the one past last pos to be taken
6571
6572         * paragraph.C (getChar): ws changes only
6573
6574         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6575         (numberOfSeparators): ditto
6576         (numberOfHfills): ditto
6577
6578 2003-03-12  John Levon  <levon@movementarian.org>
6579
6580         * author.h:
6581         * author.C:
6582         * bufferparams.h:
6583         * bufferparams.C:
6584         * paragraph_funcs.C: fix per-buffer authorlists
6585
6586 2003-03-12  John Levon  <levon@movementarian.org>
6587
6588         * text.C: fix newline in right address
6589
6590 2003-03-12  Angus Leeming  <leeming@lyx.org>
6591
6592         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6593         duplicate those in LyXFunc::dispatch.
6594
6595         * commandtags.h:
6596         * LyXAction.C:
6597         * ToolbarDefaults.C:
6598         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6599         Add LFUN_FONTFREE_UPDATE.
6600
6601         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6602         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6603
6604         * bufferview_func.[Ch]: several new functions to facilliate
6605         transfer of data to and from the character dialog.
6606
6607 2003-03-12  John Levon  <levon@movementarian.org>
6608
6609         * buffer.C:
6610         * paragraph.h:
6611         * paragraph.C:
6612         * paragraph_funcs.C:
6613         * paragraph_pimpl.C:
6614         * sgml.C:
6615         * tabular.C:
6616         * text.C:
6617         * text3.C: remove META_NEWLINE in favour of an inset
6618
6619         * rowpainter.h:
6620         * rowpainter.C: remove paintNewline (done by inset)
6621
6622 2003-03-12  John Levon  <levon@movementarian.org>
6623
6624         * paragraph_pimpl.C: complain about bad getChar()s
6625         for a while at least
6626
6627 2003-03-12  John Levon  <levon@movementarian.org>
6628
6629         * buffer.h:
6630         * buffer.C: move paragraph read into a separate function,
6631         a little renaming to reflect that.
6632
6633         * bufferparams.h:
6634         * bufferparams.C: remove the author_ids map, not necessary now
6635
6636         * factory.h:
6637         * factory.C: moved Buffer::readInset to here
6638
6639         * paragraph_funcs.h:
6640         * paragraph_funcs.C: readParagraph free function moved from
6641         buffer.C
6642
6643         * tabular.C: name change
6644
6645 2003-03-12  John Levon  <levon@movementarian.org>
6646
6647         * buffer.C:
6648         * ParagraphParameters.C: move par params input to
6649         a read() method
6650
6651         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6652         behave like a normal read from the stream wrt reading
6653         a line vs. a \\token
6654
6655 2003-03-12  John Levon  <levon@movementarian.org>
6656
6657         * paragraph.C:
6658         * ParagraphParameters.h:
6659         * ParagraphParameters.C: move output code to a
6660         ::write() method
6661
6662 2003-03-12  John Levon  <levon@movementarian.org>
6663
6664         * BufferView.C (insertLyXFile):
6665         * buffer.h:
6666         * buffer.C:
6667         * tabular.C: use a parlist iterator for creating the
6668           document.
6669
6670 2003-03-12  John Levon  <levon@movementarian.org>
6671
6672         * buffer.C: make current_change static local not
6673           static file-scope
6674
6675 2003-03-12  John Levon  <levon@movementarian.org>
6676
6677         * buffer.C: fix insertStringAsLines for change tracking
6678
6679 2003-03-12  John Levon  <levon@movementarian.org>
6680
6681         * BufferView.C:
6682         * tabular.C:
6683         * buffer.h:
6684         * buffer.C:
6685         * bufferparams.h:
6686         * bufferparams.C: move author list into params. Rename some
6687           functions. Move the header reading into a separate token
6688           loop. Move the header token reading into BufferParams.
6689
6690 2003-03-12  John Levon  <levon@movementarian.org>
6691
6692         * changes.C: put debug inside lyxerr.debugging() checks
6693
6694 2003-03-11 André Pönitz <poenitz@gmx.net>
6695
6696         * factory.C: make it aware of InsetHFill
6697
6698 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6699
6700         * buffer.C (latexParagraphs): move function from here...
6701         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6702         args.
6703
6704 2003-03-10  Angus Leeming  <leeming@lyx.org>
6705
6706         * LyXAction.C (init): fix bug in poplating array with multiple entries
6707         with the same LFUN (spotted by JMarc).
6708
6709 2003-03-10  John Levon  <levon@movementarian.org>
6710
6711         * text.C:
6712         * text2.C: move getColumnNearX() near its
6713         only call site
6714
6715 2003-03-10  John Levon  <levon@movementarian.org>
6716
6717         * text.C: fix break before a minipage
6718
6719 2003-03-10  John Levon  <levon@movementarian.org>
6720
6721         * text.C: fix the last commit
6722
6723 2003-03-09  John Levon  <levon@movementarian.org>
6724
6725         * lyxtext.h:
6726         * text.C:
6727         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6728         bug 365 (don't break before insets unless needed). Don't
6729         return a value > last under any circumstances.
6730
6731 2003-03-09  Angus Leeming  <leeming@lyx.org>
6732
6733         * BufferView_pimpl.C (trackChanges, dispatch): call
6734         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6735
6736 2003-03-09  Angus Leeming  <leeming@lyx.org>
6737
6738         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6739         than Dialogs::showAboutlyx().
6740
6741 2003-03-09  Angus Leeming  <leeming@lyx.org>
6742
6743         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6744         than Dialogs::showTabularCreate().
6745
6746 2003-03-09  John Levon  <levon@movementarian.org>
6747
6748         * lyxtext.h:
6749         * text.C:
6750         * text2.C: 3rd arg to nextBreakPoint was always the same.
6751           Use references.
6752
6753 2003-03-08  John Levon  <levon@movementarian.org>
6754
6755         * lyxrow.C:
6756         * paragraph.C:
6757         * paragraph.h:
6758         * rowpainter.C:
6759         * text.C:
6760         * text2.C: Remove the "main" bit from the "main body"
6761           notion.
6762
6763 2003-03-08  John Levon  <levon@movementarian.org>
6764
6765         * text.C (leftMargin): The left margin of an empty
6766         manual label paragraph should not include the label width
6767         string length.
6768
6769         * text.C (prepareToPrint): don't attempt to measure hfills
6770         for empty manual label paragraphs - the answer should be 0
6771
6772 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * CutAndPaste.C: remove commented code and reindent.
6775
6776 2003-03-08  John Levon  <levon@movementarian.org>
6777
6778         * lyxfunc.h:
6779         * lyxfunc.C: move reloadBuffer()
6780
6781         * BufferView.h:
6782         * BufferView.C: to here
6783
6784         * lyxvc.C: add comment
6785
6786         * vc-backend.h:
6787         * vc-backend.C: call bv->reload() to avoid
6788           getStatus() check on MENURELOAD
6789
6790 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6791
6792         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6793         to an old format .dep file.
6794
6795 2003-03-07  Angus Leeming  <leeming@lyx.org>
6796
6797         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6798         when the LFUN_MOUSE_RELEASE should have been handled by
6799         inset->localDispatch.
6800
6801 2003-03-07  Angus Leeming  <leeming@lyx.org>
6802
6803         * BufferView_pimpl.C (dispatch):
6804         * LyXAction.C (init):
6805         * ToolbarDefaults.C (init):
6806         * commandtags.h:
6807         * lyxfunc.C (getStatus):
6808         remove LFUN_INSET_GRAPHICS.
6809
6810         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6811
6812 2003-03-07  Angus Leeming  <leeming@lyx.org>
6813
6814         * commandtags.h:
6815         * LyXAction.C (init):
6816         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6817
6818         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6819
6820         * commandtags.h:
6821         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6822
6823         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6824         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6825
6826 2003-03-07  Angus Leeming  <leeming@lyx.org>
6827
6828         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6829         remove "ert".
6830
6831 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * ParagraphList.C (front): new function
6834         (back): implement
6835
6836 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6837
6838         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6839         and top_row_offset_. removed var first_y.
6840         * text.C (top_y):
6841         * text2.C (LyXText, removeRow):
6842         * text3.C:
6843         * BufferView_pimpl.C:
6844         use these methods instead of using first_y
6845
6846 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * text2.C (pasteSelection): adjust for checkPastePossible
6849
6850         * CutAndPaste.C: remove Paragraph * buf and replace with
6851         ParagraphList paragraphs.
6852         (DeleteBuffer): delete
6853         (cutSelection): change the tc type to textclass_type
6854         (copySelection): change the tc type to textclass_type
6855         (copySelection): adjust for ParagraphList
6856         (pasteSelection): change the tc type to textclass_type
6857         (pasteSelection): adjust for Paragraphlist
6858         (nrOfParagraphs): simplify for ParagraphList
6859         (checkPastePossible): simplify for ParagraphList
6860         (checkPastePossible): remove unused arg
6861
6862         * ParagraphList.C (insert): handle the case where there are no
6863         paragraphs yet.
6864
6865         * CutAndPaste.h: make CutAndPaste a namespace.
6866
6867         * text3.C (dispatch): adjust
6868
6869         * text.C (breakParagraph): add a ParagraphList as arg
6870
6871         * paragraph_funcs.C (breakParagraph): change to take a
6872         BufferParams and a ParagraphList as args.
6873         (breakParagraphConservative): ditto
6874         (mergeParagraph): ditto
6875         (TeXDeeper): add a ParagraphList arg
6876         (TeXEnvironment): ditto
6877         (TeXOnePar): ditto
6878
6879         * buffer.C (readLyXformat2): adjust
6880         (insertStringAsLines): adjust
6881         (latexParagraphs): adjust
6882
6883         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6884         (cutSelection): adjust
6885         (pasteSelection): adjust
6886
6887         * BufferView_pimpl.C (insertInset): adjust
6888
6889 2003-03-05  Angus Leeming  <leeming@lyx.org>
6890
6891         * commandtags.h:
6892         * LyXAction.C (init):
6893         * BufferView_pimpl.C (dispatch):
6894         * lyxfunc.C (getStatus):
6895         remove LFUN_CHILD_INSERT.
6896
6897         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6898
6899 2003-03-05  Angus Leeming  <leeming@lyx.org>
6900
6901         * commandtags.h:
6902         * LyXAction.C (init):
6903         * src/factory.C (createInset):
6904         * lyxfunc.C (getStatus):
6905         * text3.C (dispatch):
6906         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6907
6908         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6909
6910 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * ParagraphList.C (insert): handle insert right before end()
6913         (erase): fix cases where it can be first or last paragraph.
6914
6915 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6918         Paragraph::next and Paragraph::previous
6919         (TeXOnePar): ditto
6920
6921         * text.C (breakParagraph): adjust
6922
6923         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6924         BufferParams& as arg.
6925         (breakParagraph): use ParagraphList::insert
6926         (breakParagraphConservative): take a Buffer* instead of a
6927         BufferParams& as arg.
6928         (breakParagraphConservative): use ParagraphList::insert.
6929
6930         * buffer.C (insertStringAsLines): un-const it
6931         (insertStringAsLines): adjust
6932
6933         * ParagraphList.C (insert): new function
6934
6935         * CutAndPaste.C (pasteSelection): adjust
6936
6937         * text.C (backspace): adjust
6938
6939         * tabular.C (SetMultiColumn): adjust
6940
6941         * CutAndPaste.C (cutSelection): adjust
6942         (pasteSelection): adjust
6943
6944         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6945         Buffer const * as arg
6946
6947         * ParagraphList.C (erase): new function
6948         * paragraph_funcs.C (mergeParagraph): use it
6949         (mergeParagraph): make it take a Buffer* instead of a
6950         BufferParams* as arg
6951
6952         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6953         as arg
6954         (breakParagraphConservative): ditto
6955
6956         * paragraph.h: remove the breakParagraph friend
6957
6958         * paragraph.C (eraseIntern): new function
6959         (setChange): new function
6960
6961         * paragraph_funcs.C (mergeParagraph): make it take a
6962         ParagraphList::iterator instead of a Paragraph *, adjust
6963         accordingly.
6964
6965         * paragraph.h: move an #endif so that the change tracking stuff
6966         also works in the NO_NEXT case.
6967
6968 2003-03-04  Angus Leeming  <leeming@lyx.org>
6969
6970         * commandtags.h:
6971         * LyXAction.C: new LFUN_INSET_MODIFY.
6972
6973         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6974         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6975
6976 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * several files: ws changes only
6979
6980         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6981         (TeXEnvironment): ditto
6982         (TeXDeeper): ditto
6983
6984         * buffer.C (makeLaTeXFile): adjust
6985         (latexParagraphs): make it take ParagraphList::iterator as args
6986
6987 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * buffer.C (latexParagraphs): adjust
6990
6991         * paragraph.C (TeXOnePar): move function...
6992         (optArgInset): move function...
6993         (TeXEnvironment): move function...
6994         * paragraph_pimpl.C (TeXDeeper): move function...
6995         * paragraph_funcs.C: ...here
6996
6997         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6998
6999 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * buffer.C (readInset): remove compability code for old Figure and
7002         InsetInfo insets
7003
7004 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * buffer.C: ws changes
7007         (readInset):
7008
7009         * BufferView_pimpl.C: ditto
7010         * author.C: ditto
7011         * buffer.h: ditto
7012         * bufferlist.h: ditto
7013         * changes.h: ditto
7014         * lyxfunc.C: ditto
7015
7016 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7017
7018         * converter.[Ch]: split into itself +
7019         * graph.[Ch]
7020         * format.[Ch]
7021         * Makefile.am: += graph.[Ch] + format.[Ch]
7022         * MenuBackend.C
7023         * buffer.C
7024         * exporter.C
7025         * importer.C
7026         * lyx_main.C
7027         * lyxfunc.C
7028         * lyxrc.C: added #include "format.h"
7029
7030 2003-02-27  Angus Leeming  <leeming@lyx.org>
7031
7032         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7033           a label.
7034
7035         * factory.C (createInset): add "label" to the factory.
7036
7037         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7038           string and do no more.
7039
7040 2003-02-27  Angus Leeming  <leeming@lyx.org>
7041
7042         * commandtags.h:
7043         * LyXAction.C (init):
7044         * factory.C (createInset):
7045         * BufferView_pimpl.C (dispatch):
7046           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7047
7048         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7049
7050         * lyxfunc.C (dispatch):
7051         * text3.C (dispatch): pass name to params2string.
7052
7053 2003-02-26  Angus Leeming  <leeming@lyx.org>
7054
7055         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7056           blocks together.
7057           Rearrange the ~includes. Strip out the unnecessary ones.
7058
7059         * factory.C (createInset): reformat.
7060           create new insets for the various LFUN_XYZ_APPLY lfuns.
7061
7062 2003-02-26  John Levon  <levon@movementarian.org>
7063
7064         * lyxrow.h:
7065         * lyxrow.C: add isParStart,isParEnd helpers
7066
7067         * paragraph.h: make isInserted/DeletedText take refs
7068
7069         * paragraph_funcs.h:
7070         * paragraph_funcs.C: remove #if 0'd code
7071
7072         * lyxtext.h:
7073         * text3.C:
7074         * text2.C:
7075         * text.C: use lyxrow helpers above.
7076           Move draw and paint routines to RowPainter.
7077           Make several methods use refs not pointers.
7078           Make backgroundColor() const.
7079           Add markChangeInDraw(), isInInset().
7080           Merge changeRegionCase into changeCase.
7081           Make workWidth() shouldn't-happen code into an Assert.
7082
7083         * rowpainter.h:
7084         * rowpainter.C: new class for painting a row.
7085
7086         * vspace.h:
7087         * vspace.C: make inPixels take a ref
7088
7089 2003-02-26  Angus Leeming  <leeming@lyx.org>
7090
7091         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7092         LFUN_REF_APPLY.
7093
7094 2003-02-25  John Levon  <levon@movementarian.org>
7095
7096         * ispell.C: give the forked command a more accurate name
7097
7098 2003-02-22  John Levon  <levon@movementarian.org>
7099
7100         * toc.h:
7101         * toc.C: make TocItem store an id not a Paragraph *
7102           (bug #913)
7103
7104 2003-02-21  Angus Leeming  <leeming@lyx.org>
7105
7106         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7107           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7108           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7109           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7110           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7111           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7112
7113         * BufferView_pimpl.C (dispatch):
7114         * LyXAction.C (init):
7115         * factory.C (createInset):
7116         * lyxfunc.C (getStatus, dispatch):
7117         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7118
7119 2003-02-21  Angus Leeming  <leeming@lyx.org>
7120
7121         * BufferView_pimpl.C (MenuInsertLyXFile):
7122         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7123         * lyxfunc.C (menuNew, open, doImport):
7124           no longer pass a LyXView & to fileDlg.
7125
7126 2003-02-21  Angus Leeming  <leeming@lyx.org>
7127
7128         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7129         * LyXAction.C: change, BIBKEY to BIBITEM.
7130         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7131         Change InsetBibKey to InsetBibitem.
7132         Change BIBKEY_CODE to BIBITEM_CODE.
7133         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7134         * factory.C: replace insetbib.h with insetbibitem.h.
7135         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7136         * paragraph.C: replace insetbib.h with insetbibitem.h.
7137         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7138         Change bibkey() to bibitem().
7139         * text.C: remove insetbib.h.
7140         * text2.C: replace insetbib.h with insetbibitem.h.
7141         change bibkey() to bibitem().
7142         * text3.C: remove insetbib.h.
7143         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7144
7145 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7146
7147         * lyxrc.C (output): enclose user email in quotes (in case there are
7148         several words)
7149
7150 2003-02-18  John Levon  <levon@movementarian.org>
7151
7152         * buffer.h: add std::
7153
7154 2003-02-17  John Levon  <levon@movementarian.org>
7155
7156         * SpellBase.h:
7157         * ispell.h:
7158         * ispell.C:
7159         * pspell.h:
7160         * pspell.C: reworking. Especially in ispell, a large
7161           number of clean ups and bug fixes.
7162
7163         * lyxfunc.C: fix revert to behave sensibly
7164
7165 2003-02-17 André Pönitz <poenitz@gmx.net>
7166
7167         * LyXAction.C:
7168         * commandtags.h: new LFUN_INSERT_BIBKEY
7169
7170         * layout.h:
7171         * lyxlayout.C:
7172         * buffer.C:
7173         * factory.C:
7174         * text.C:
7175         * text2.C:
7176         * text3.C:
7177         * paragraph.[Ch]:
7178         * paragraph_func.C: remove special bibkey handling
7179
7180 2003-02-17  John Levon  <levon@movementarian.org>
7181
7182         * text.C (Delete): fix case where delete at the end of
7183           the very first paragraph would not merge the pars
7184
7185 2003-02-17  John Levon  <levon@movementarian.org>
7186
7187         * lyxrow.C: fix lastPrintablePos()
7188
7189 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7190
7191         * bufferparams.C (writeLaTeX): add a std:here
7192
7193         * buffer.C: and remove a using directive there
7194
7195 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7196
7197         * buffer.C (makeLaTeXFile): move the code that generates the
7198           preamble...
7199
7200         * bufferparams.C (writeLaTeX): ... in this new method
7201
7202         * LaTeXFeatures.C (getEncodingSet): make const
7203           (getLanguages): make const
7204
7205         * MenuBackend.C (binding): returns the binding associated to this
7206           action
7207           (add): sets the status of each item by calling getStatus. Adds
7208           some intelligence.
7209           (read): add support for OptSubMenu
7210           (expand): remove extra separator at the end of expanded menu
7211
7212 2003-02-15  John Levon  <levon@movementarian.org>
7213
7214         * BufferView.C:
7215         * BufferView_pimpl.C:
7216         * bufferlist.h:
7217         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7218           inset code that had no actual effect. Remove unneeded status
7219           code.
7220
7221 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7222
7223         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7224           in preamble
7225
7226 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7227
7228         * text.C (drawLengthMarker): also draw an arrow marker for
7229           symbolic lengths (medskip...)
7230
7231 2003-02-14  John Levon  <levon@movementarian.org>
7232
7233         * tabular.h:
7234         * tabular.C: better method names
7235
7236 2003-02-14  John Levon  <levon@movementarian.org>
7237
7238         * BufferView_pimpl.C:
7239         * bufferlist.C:
7240         * buffer.C:
7241         * converter.C:
7242         * lyx_cb.C:
7243         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7244           it's a more accurate name. Remove some pointless uses.
7245
7246 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7247
7248         * text2.C (LyXText): change order of initilizers to shut off
7249           warnings
7250
7251 2003-02-14  John Levon  <levon@movementarian.org>
7252
7253         * buffer.C: use ParIterator for getParFromID()
7254
7255         * paragraph.h:
7256         * paragraph.C:
7257         * paragraph_pimpl.h:
7258         * paragraph_pimpl.C: remove unused getParFromID()
7259
7260 2003-02-14  John Levon  <levon@movementarian.org>
7261
7262         * buffer.C: remove some very old #if 0'd parse code
7263
7264 2003-02-13  John Levon  <levon@movementarian.org>
7265
7266         * text.h:
7267         * text.C:
7268         * text2.C: move hfillExpansion(), numberOfSeparators(),
7269           rowLast(), rowLastPrintable(), numberofHfills(),
7270           numberOfLabelHfills() ...
7271
7272         * lyxrow.h:
7273         * lyxrow.C: ... to member functions here.
7274
7275         * paragraph.h:
7276         * paragraph.C:
7277         * lyxtext.h:
7278         * text.C: remove LyXText::beginningOfMainBody(), and call
7279           p->beginningOfMainBody() directly. Move the check for
7280           LABEL_MANUAL into the latter.
7281
7282         * text.h:
7283         * text.C:
7284         * text2.C:
7285         * vspace.C:
7286         * BufferView.h:
7287         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7288
7289         * text.h:
7290         * text.C:
7291         * text2.C:
7292         * text3.C:
7293         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7294           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7295
7296 2003-02-13  John Levon  <levon@movementarian.org>
7297
7298         * CutAndPaste.C: remove debug
7299
7300 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7301
7302         * paragraph.C (asString): remove two unused variables
7303
7304         * lyxtextclass.C (readTitleType):
7305           (Read):
7306           (LyXTextClass): handle new members titletype_ and titlename_
7307
7308         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7309
7310 2003-02-09  John Levon  <levon@movementarian.org>
7311
7312         * buffer.h:
7313         * buffer.C: replace hand-coded list with a map for the dep clean
7314
7315 2003-02-08  John Levon  <levon@movementarian.org>
7316
7317         * LaTeX.C: consolidate code into showRunMessage() helper
7318
7319 2003-02-08  John Levon  <levon@movementarian.org>
7320
7321         * lyxfind.C:
7322         * lyxtext.h:
7323         * text2.C:
7324         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7325           and pass the size in explicitly
7326
7327         * BufferView_pimpl.h:
7328         * BufferView_pimpl.C:
7329         * BufferView.h:
7330         * BufferView.C: add getCurrentChange()
7331
7332         * BufferView_pimpl.h:
7333         * BufferView_pimpl.C: handle change lfuns
7334
7335         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7336           for changes. Mark pasted paragraphs as new.
7337
7338         * support/lyxtime.h:
7339         * support/lyxtime.C:
7340         * DepTable.C: abstract time_t as lyx::time_type
7341
7342         * LColor.h:
7343         * LColor.C: add colours for new text, deleted text, changebars
7344
7345         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7346           package use "usenames" option.
7347
7348         * commandtags.h:
7349         * lyxfunc.C:
7350         * LyXAction.C: add change lfuns
7351
7352         * Makefile.am:
7353         * author.h:
7354         * author.C: author handling
7355
7356         * buffer.h:
7357         * buffer.C: add a per-buffer author list, with first entry as
7358           current author. Handle new .lyx tokens for change tracking. Output
7359           author list to .lyx file. Output dvipost stuff to .tex preamble.
7360           Bump lyx format to 222.
7361
7362         * bufferlist.h:
7363         * bufferlist.C: add setCurrentAuthor() to reset current author details
7364           in all buffers.
7365
7366         * bufferparams.h:
7367         * bufferparams.C: add param for tracking
7368
7369         * bufferview_funcs.C: output change info in minibuffer
7370
7371         * Makefile.am:
7372         * changes.h:
7373         * changes.C: add change-tracking structure
7374
7375         * debug.h:
7376         * debug.C: add CHANGES debug flag
7377
7378         * lyxfind.h:
7379         * lyxfind.C: add code for finding the next change piece
7380
7381         * lyxrc.h:
7382         * lyxrc.C: add user_name and user_email
7383
7384         * lyxrow.h:
7385         * lyxrow.C: add a metric for the top of the text line
7386
7387         * lyxtext.h:
7388         * text.C: implement accept/rejectChange()
7389
7390         * lyxtext.h:
7391         * text.C: paint changebars. Paint new/deleted text in the chosen
7392         colours. Strike through deleted text.
7393
7394         * paragraph.h:
7395         * paragraph.C:
7396         * paragraph_pimpl.h:
7397         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7398           in the current change to the insert functions. Rework erase to
7399           mark text as deleted, adding an eraseIntern() and a range-based
7400           erase(). Implement per-paragraph change lookup and
7401           accept/reject.
7402
7403         * paragraph_funcs.C: Fixup paste for change tracking.
7404
7405         * tabular.C: mark added row/columns as new.
7406
7407         * text.C: fix rowLast() to never return -1. Don't allow
7408           spellchecking of deleted text. Track transpose changes. Don't
7409           allow paragraph break or merge where appropriate.
7410
7411         * text2.C: leave cursor at end of selection after a cut.
7412
7413 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7414
7415         * text.C (getLengthMarkerHeight):
7416         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7417         visible on screen too.
7418
7419 2003-02-07  John Levon  <levon@movementarian.org>
7420
7421         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7422
7423 2003-02-05  Angus Leeming  <leeming@lyx.org>
7424
7425         * lyxserver.C (read_ready): revert my patch of 11 September last year
7426         as it sends PC cpu through the roof. Presumably this means that
7427         the lyxserver will no longer run on an Alpha...
7428
7429 2003-01-30  Angus Leeming  <leeming@lyx.org>
7430
7431         * factory.C (createInset): create an InsetCommandParam of type "index"
7432         and use it to 'do the right thing'.
7433
7434         * text2.C (getStringToIndex): ensure that cursor position is always
7435         reset to the reset_cursor position.
7436
7437 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7438
7439         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7440         disabled.
7441
7442 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7443
7444         * bufferview.C:
7445         * lyxcb.C:
7446         * lyxfunc.C: Output messages with identical spelling, punctuation,
7447         and spaces
7448
7449 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7450
7451         * MenuBackend.C (expandFormats): List only viewable export formats
7452         in "View" menu
7453
7454         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7455         message
7456
7457         * lyxfunc.C (getStatus): Make sure that formats other than
7458         "fax" can also be disabled
7459
7460 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7461
7462         * text3.C (dispatch): put the lfuns that insert insets in 3
7463         groups, and call doInsertInset with appropriate arguments.
7464         (doInsertInset): new function, that creates an inset and inserts
7465         it according to some boolean parameters.
7466
7467 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * buffer.C (readFile): remember to pass on 'par' when calling
7470         readFile recursively.
7471
7472 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7473
7474         * MenuBackend.C (expandFormats): add "..." to import formats.
7475
7476 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7477
7478         * paragraph.C (asString): Remove XForms RTL hacks.
7479
7480 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7481         * buffer.C: fix typo
7482
7483 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * Makefile.am (LIBS): delete var
7486         (lyx_LDADD): add @LIBS@ here instead.
7487
7488 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7489
7490         * Clarify the meaning of "wheel mouse jump"
7491
7492 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7493
7494         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7495         tabular in a float
7496
7497 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7498
7499         * importer.C (Loaders): do not preallocate 3 elements in the
7500         vector, since one ends up with 6 elements otherwise
7501
7502 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7503
7504         * DepTable.C (write): write the file name as last element of the
7505         .dep file (because it may contain spaces)
7506         (read): read info in the right order
7507
7508 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7509
7510         * paragraph_pimpl.C (simpleTeXBlanks):
7511         (simpleTeXSpecialChars):
7512         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7513
7514         * tabular.C (latex): add some missing case statements. Reindent.
7515
7516         * MenuBackend.C (expandToc): remove unused variable.
7517
7518 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7519
7520         * LColor.C:
7521         * LaTeX.C:
7522         * LyXAction.C:
7523         * MenuBackend.C:
7524         * buffer.C:
7525         * exporter.C:
7526         * lyxfunc.C:
7527         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7528         and the like.
7529
7530 2003-01-05  John Levon  <levon@movementarian.org>
7531
7532         * BufferView.h:
7533         * BufferView.C: add getEncoding()
7534
7535         * kbsequence.h:
7536         * kbsequence.C: do not store last keypress
7537
7538         * lyxfunc.h:
7539         * lyxfunc.C: store last keypress here instead. Pass encoding
7540           to getISOEncoded()
7541
7542 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7543
7544         * lyx_main.C (init): remove annoying error message when following
7545         symbolic links (bug #780)
7546
7547 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7548
7549         * text.C (insertChar):
7550         * lyxrc.C (getDescription): remove extra spaces
7551
7552 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7553
7554         * lyxrc.C (getDescription): remove extra spaces
7555
7556 2002-12-20  John Levon  <levon@movementarian.org>
7557
7558         * text3.C: hack fix for page up/down across tall rows
7559
7560 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7561
7562         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7563         not been invoked
7564
7565 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7566
7567         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7568         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7569         thesaurus is not compiled in
7570
7571 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7572
7573         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7574
7575 2002-12-16  Angus Leeming  <leeming@lyx.org>
7576
7577         * lyxrc.[Ch]:
7578         * lyx_main.C (init): remove override_x_deadkeys stuff.
7579
7580 2002-12-12  John Levon  <levon@movementarian.org>
7581
7582         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7583           insert. Only remove shift modifier under strict
7584           circumstances.
7585
7586 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * MenuBackend.C (expandToc): fix crash.
7589
7590 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7591
7592         * MenuBackend.C (expandToc): gettext on float names.
7593
7594 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7595
7596         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7597         implement bool empty() [bug 490]
7598
7599 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7602
7603 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * several files: ws changes
7606
7607 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * text2.C (setCounter): clean up a bit, use boost.format.
7610         (updateCounters): initialize par upon declaration.
7611
7612         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7613         if the layout exists. We do not just store the layout any more.
7614         (SwitchLayoutsBetweenClasses): use boost.format
7615
7616 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7617
7618         * converter.C (convert): if from and to files are the same, use a
7619         temporary files as intermediary
7620
7621 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7622
7623         * commandtags.h:
7624         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7625
7626 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7627
7628         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7629
7630 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * tabular.C (asciiPrintCell): use string(size, char) instead of
7633         explicit loop.
7634
7635         * sgml.C (openTag): fix order of arguments to string constructor
7636         (closeTag): ditto
7637
7638         * lyxfunc.C (dispatch): use boost.format
7639
7640         * lots of files: change "c" -> 'c'
7641
7642 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7643
7644         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7645
7646 2002-11-25  Angus Leeming  <leeming@lyx.org>
7647
7648         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7649
7650         * lyx_main.C (init): compile fix.
7651
7652 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * lyx_cb.C (start): boost.formatify
7655         do not include <iostream>
7656
7657         * lengthcommon.C: ws only
7658
7659         * boost-inst.C,BoostFormat.h: add more explict instantations
7660
7661 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * lots of files: handle USE_BOOST_FORMAT
7664
7665 2002-11-21  John Levon  <levon@movementarian.org>
7666
7667         * pspell.C: fix compile
7668
7669 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * lyxfunc.C (dispatch): use boost::format
7672         (open): ditto
7673         (doImport): ditto
7674
7675         * lyxfont.C (stateText): use boost::format
7676
7677         * lyx_main.C (LyX): use boost::format
7678         (init): ditto
7679         (queryUserLyXDir): ditto
7680         (readRcFile): ditto
7681         (parse_dbg): ditto
7682         (typedef boost::function): use the recommened syntax.
7683
7684         * importer.C (Import): use boost::format
7685
7686         * debug.C (showLevel): use boost::format
7687
7688         * converter.C (view): use boost::format
7689         (convert): ditto
7690         (move): ditto
7691         (scanLog): ditto
7692
7693         * bufferview_funcs.C (currentState): use boost::format
7694
7695         * bufferlist.C (emergencyWrite): use boost::format
7696
7697         * buffer.C (readLyXformat2): use boost::format
7698         (parseSingleLyXformat2Token): ditto
7699
7700         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7701
7702         * LaTeX.C (run): use boost::format
7703
7704         * Chktex.C (scanLogFile): use boost::format
7705
7706         * BufferView_pimpl.C (savePosition): use boost::format
7707         (restorePosition): ditto
7708         (MenuInsertLyXFile): ditto
7709
7710         * BoostFormat.h: help file for explicit instation.
7711
7712 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7713
7714         * tabular.C (latex): Support for block alignment in fixed width
7715         columns.
7716
7717 2002-11-17  John Levon  <levon@movementarian.org>
7718
7719         * BufferView_pimpl.C:
7720         * lyx_cb.C:
7721         * lyxfunc.C: split filedialog into open/save
7722
7723 2002-11-08  Juergen Vigna  <jug@sad.it>
7724
7725         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7726         by my last patch (hopefully).
7727
7728 2002-11-08  John Levon  <levon@movementarian.org>
7729
7730         * iterators.h:
7731         * iterators.C:
7732         * buffer.h:
7733         * buffer.C:
7734         * paragraph.h:
7735         * paragraph.C:
7736         * toc.h:
7737         * toc.C: ParConstIterator, and use it (from Lars)
7738
7739 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7740
7741         * lyxtextclass.[Ch]: revise and add doxygen comments
7742
7743 2002-11-07  John Levon  <levon@movementarian.org>
7744
7745         * text.C: fix progress value for spellchecker
7746
7747         * toc.C: fix navigate menu for insetwrap inside minipage
7748
7749         * paragraph_funcs.C: added FIXME for suspect code
7750
7751 2002-11-07  John Levon  <levon@movementarian.org>
7752
7753         * BufferView_pimpl.C: fix redrawing of insets
7754           on buffer switch
7755
7756 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7757
7758         * text2.C (updateCounters): fix bug 668
7759
7760 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7761
7762         * text3.C (dispatch): Do not make the buffer dirty when moving the
7763         cursor.
7764
7765 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * vc-backend.C: STRCONV
7768         (scanMaster): ditto
7769
7770         * text2.C (setCounter): STRCONV
7771
7772         * paragraph.C (asString): STRCONV
7773
7774         * lyxlength.C (asString): STRCONV
7775         (asLatexString): ditto
7776
7777         * lyxgluelength.C (asString): STRCONV
7778         (asLatexString): ditto
7779
7780         * lyxfunc.C (dispatch): STRCONV
7781         (open): ditto
7782
7783         * lyxfont.C (stateText): STRCONV
7784
7785         * importer.C (Import): STRCONV
7786
7787         * counters.C (labelItem): STRCONV
7788         (numberLabel): ditto
7789         (numberLabel): remove unused ostringstream o
7790
7791         * chset.C: STRCONV
7792         (loadFile): ditto
7793
7794         * bufferview_funcs.C (currentState): STRCONV
7795
7796         * buffer.C (readFile): STRCONV
7797         (asciiParagraph): ditto
7798         (makeLaTeXFile): ditto
7799
7800         * Spacing.C (writeEnvirBegin): STRCONV
7801
7802         * LaTeXFeatures.C (getLanguages): STRCONV
7803         (getPackages): ditto
7804         (getMacros): ditto
7805         (getBabelOptions): ditto
7806         (getTClassPreamble): ditto
7807         (getLyXSGMLEntities): ditto
7808         (getIncludedFiles): ditto
7809
7810         * LaTeX.C: STRCONV
7811         (run): ditto
7812         (scanAuxFile): ditto
7813         (deplog): ditto
7814
7815         * LString.h: add the STRCONV macros
7816
7817         * BufferView_pimpl.C (savePosition): STRCONV
7818         (restorePosition): ditto
7819         (MenuInsertLyXFile): ditto
7820
7821         * vc-backend.C (scanMaster): change from submatch[...] to
7822         submatch.str(...)
7823
7824         * funcrequest.C: include config.h
7825
7826         * factory.C: include config.h
7827
7828         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7829
7830         * box.C: include config.h
7831
7832         * LaTeX.C (scanAuxFile): change from submatch[...] to
7833         submatch.str(...)
7834         (deplog): ditto
7835
7836 2002-10-25  Angus Leeming  <leeming@lyx.org>
7837
7838         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7839
7840         * ispell.[Ch] (setError): new method.
7841         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7842         Use setError() insetead of goto END.
7843
7844         * lyx_cb.C (AutoSave): move out child process into new class
7845         AutoSaveBuffer.
7846
7847 2002-10-30  John Levon  <levon@movementarian.org>
7848
7849         * text3.C: make start appendix undoable
7850
7851 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7852
7853         * lyxlength.C (inPixels): Fix returned value.
7854
7855         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7856         environment.
7857
7858 2002-10-24  Angus Leeming  <leeming@lyx.org>
7859
7860         * lyxgluelength.h: no need to forward declare BufferParams
7861         or BufferView, so don't.
7862
7863 2002-10-21  John Levon  <levon@movementarian.org>
7864
7865         * BufferView.C: menuUndo ->undo, redo
7866
7867         * BufferView.h: document, remove dead, make some methods private
7868
7869         * paragraph_funcs.h:
7870         * paragraph_funcs.C:
7871         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7872
7873         * buffer.h:
7874         * buffer.C:
7875         * sgml.h:
7876         * sgml.C: move sgml open/close tag into sgml.C
7877
7878         * bufferview_funcs.h: unused prototype
7879
7880         * lyxfunc.h:
7881         * lyxfunc.C: remove unused
7882
7883         * lyxtext.h:
7884         * text.C: remove unused
7885
7886 2002-10-21  John Levon  <levon@movementarian.org>
7887
7888         * BufferView.h:
7889         * BufferView.C:
7890         * BufferView_pimpl.h:
7891         * BufferView_pimpl.C: fix mouse wheel handling based on
7892           patch from Darren Freeman
7893
7894 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7895
7896         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7897
7898 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7899
7900         * lyxlength.C (inPixels): Fix hanfling of negative length.
7901         Fix LyXLength::MU case.
7902
7903 2002-10-16  John Levon  <levon@movementarian.org>
7904
7905         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7906
7907 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7908
7909         * converter.C (view): add support for $$i (file name) and $$p
7910         (file path) for the viewer command. If $$i is not specified, then
7911         it is appended to the command (for compatibility with old syntax)
7912
7913 2002-10-14  Juergen Vigna  <jug@sad.it>
7914
7915         * undo_funcs.C (textHandleUndo): alter the order in which the
7916         new undopar is added to the LyXText, as we have to set first
7917         the right prev/next and then add it as otherwise the rebuild of
7918         LyXText is not correct. Also reset the cursor to the right paragraph,
7919         with this IMO we could remove the hack in "redoParagraphs()".
7920
7921 2002-10-09  Angus Leeming  <leeming@lyx.org>
7922
7923         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7924         to turn off an optimisation if a new inset is to be inserted.
7925
7926 2002-10-11 André Pönitz <poenitz@gmx.net>
7927
7928         * lyxtext.h: make some functions public to allow access
7929         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7930
7931 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7932
7933         * text3.C (dispatch): when changing layout, avoid an infinite loop
7934         [bug #652]
7935
7936 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7937
7938         * lyxrc.C (read): treat a viewer or converter command of "none" as
7939         if it were empty.
7940
7941         * MenuBackend.C (expandFormats): for an update, also allow the
7942         formats that are not viewable
7943
7944         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7945         script if it is newer than the lyxrc.defaults in user directory
7946
7947 2002-10-07 André Pönitz <poenitz@gmx.net>
7948
7949         * text.C: Vitaly Lipatov's small i18n fix
7950
7951 2002-09-25  Angus Leeming  <leeming@lyx.org>
7952
7953         * ispell.h: doxygen fix.
7954
7955 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7956
7957         * buffer.h (readFile): Add a new argument to the method, to allow
7958         reading of old-format templates.
7959
7960 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7961
7962         * toc.C (getTocList): Get TOC from InsetWrap.
7963
7964 2002-09-16  John Levon  <levon@movementarian.org>
7965
7966         * lyxfunc.C: check tabular for cut/copy too
7967
7968 2002-09-12  John Levon  <levon@movementarian.org>
7969
7970         * LyXAction.C: tidy
7971
7972         * factory.h:
7973         * factory.C: add header
7974
7975         * paragraph_funcs.h:
7976         * paragraph_funcs.C: cleanup
7977
7978 2002-09-11  John Levon  <levon@movementarian.org>
7979
7980         * PrinterParams.h: odd/even default to true
7981
7982 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7983
7984         * PrinterParams.h: update printer parameters for new xforms dialog
7985
7986 2002-09-11  Angus Leeming  <leeming@lyx.org>
7987
7988         * lyxserver.C (read_ready): re-write to make it more transparent
7989         and to make it work in coherent fashion under Tru64 Unix.
7990
7991 2002-09-11  André Pönitz <poenitz@gmx.net>
7992
7993         * commandtags.h:
7994         * LyXAction.C:
7995         * text3.C: implement LFUN_WORDSEL
7996
7997 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8000         make floatlist_ a boost::shared_ptr<FloatList>
8001
8002         * lyxtextclass.C: include FloatList.h
8003         (LyXTextClass): initialize floatlist_
8004         (TextClassTags): add TC_NOFLOAT
8005         (Read): match "nofloat" to TC_NOFLOAT and use it.
8006         (readFloat): modify call to floatlist_
8007         (floats): ditto
8008         (floats): ditto
8009
8010         * FloatList.[Ch] (FloatList): remove commented out float
8011         initialization.
8012         (erase): new function
8013
8014 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8015
8016         * MenuBackend.C (expandToc): fix crash when there is no document
8017         open
8018
8019 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8020
8021         * many files: Add insetwrap.
8022
8023 2002-09-09  John Levon  <levon@movementarian.org>
8024
8025         * text2.C: remove confusing and awkward depth wraparound
8026
8027 2002-09-09  John Levon  <levon@movementarian.org>
8028
8029         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8030
8031         * buffer.h:
8032         * buffer.C: remove getIncludeonlyList()
8033
8034         * paragraph.C:
8035         * lyxfunc.C: remove headers
8036
8037 2002-09-09  Juergen Vigna  <jug@sad.it>
8038
8039         * text.C (getColumnNearX): fix form Michael this is most
8040         probably a cut&paste bug.
8041
8042 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8045
8046         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8047         references, ws changes.
8048
8049         * text2.C (init): update counters after init
8050         (insertParagraph): no need to set counter on idividual paragraphs.
8051         (setCounter): access the counters object in the textclass object
8052         on in the buffer object.
8053         (updateCounters): ditto
8054
8055         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8056         shared_ptr<Counters> to avoid loading counters.h in all
8057         compilation units.
8058         (LyXTextClass): initialize ctrs_
8059         (TextClassTags): add TC_COUNTER, and ...
8060         (Read): use it here.
8061         (CounterTags): new tags
8062         (readCounter): new function
8063         (counters): new funtion
8064         (defaultLayoutName): return a const reference
8065
8066         * counters.C (Counters): remove contructor
8067         (newCounter): remove a couple of unneeded statements.
8068         (newCounter): simplify a bit.
8069         (numberLabel): some small formatting changes.
8070
8071         * buffer.[Ch]: remove all traces of counters, move the Counters
8072         object to the LyXTextClass.
8073
8074 2002-09-06  Alain Castera  <castera@in2p3.fr>
8075
8076         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8077         package to set the horizontal alignment on fixed width columns.
8078
8079         * lyx_sty.C:
8080         * lyx_sty.h: added tabularnewline macro def.
8081
8082         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8083
8084 2002-09-06  John Levon  <levon@movementarian.org>
8085
8086         * LyXAction.C: tooltips for sub/superscript
8087
8088         * MenuBackend.C: a bit more verbose
8089
8090         * lyxfunc.C: tiny clean
8091
8092         * undo_funcs.C: document undo_frozen
8093
8094 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * counters.C (Counters): add missing algorithm counter.
8097
8098         * text2.C (setCounter): lookup the counter with layouts latexname
8099         instead of by section number.
8100         (setCounter): use a hackish way to lookup the correct enum
8101         counter.
8102         a float name->type change
8103         reset enum couners with counter name directly instead of depth value.
8104
8105         * counters.C (Counters): remove the push_backs, change to use the
8106         float type not the float name.
8107         (labelItem): remove unused string, float name->type change
8108
8109         * counters.h: don't include vector, loose the enums and sects vectors
8110
8111 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8114         (Read): add float->TC_FLOAT to textclassTags
8115         (Read): and handle it in the switch
8116         (readFloat): new function
8117
8118         * FloatList.C (FloatList): comment out the hardcoded float
8119         definitions.
8120
8121         * lyxlayout.h: ws change.
8122
8123 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8124
8125         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8126
8127 2002-09-03  Angus Leeming  <leeming@lyx.org>
8128
8129         * BufferView_pimpl.h: qualified name is not allowed in member
8130         declaration: WorkArea & Pimpl::workarea() const;
8131
8132         * factory.C: added using std::endl directive.
8133
8134         * text3.C: added using std::find and std::vector directives.
8135
8136 2002-08-29  André Pönitz <poenitz@gmx.net>
8137
8138         * lyxtext.h:
8139         * text2.C: remove unused member number_of_rows
8140
8141         * Makefile.am:
8142         * BufferView2.C: remove file, move contents to...
8143         * BufferView.C: ... here
8144
8145         * BufferView_pimpl.C:
8146         * factory.C: move more inset creation to factory
8147
8148         * vspace.C: avoid direct usage of LyXText, ws changes
8149
8150         * BufferView.[Ch]:
8151                 don't provide direct access to WorkArea, use two simple
8152                 acessors haveSelction() and workHeight() instead
8153
8154
8155 2002-08-29  John Levon  <levon@movementarian.org>
8156
8157         * BufferView_pimpl.C (dispatch): do not continue when
8158           no buffer
8159
8160 2002-08-28  André Pönitz <poenitz@gmx.net>
8161
8162         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8163
8164         * BufferView.h:
8165         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8166
8167 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8168
8169         * buffer.C: increment LYX_FORMAT to 221
8170
8171         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8172         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8173
8174         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8175
8176         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8177
8178 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * factory.C (createInset): use LyXTextClass::floats
8181
8182         * MenuBackend.C (expandFloatListInsert):
8183         (expandFloatInsert):
8184         (expandToc):
8185
8186         * text2.C (setCounter):
8187
8188         * LaTeXFeatures.C (useFloat):
8189         (getFloatDefinitions):
8190
8191         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8192
8193         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8194         floatlist_, with accessor floats().
8195
8196         * FloatList.h: remove global FloatList
8197
8198 2002-08-26  André Pönitz <poenitz@gmx.net>
8199
8200         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8201
8202         * BufferView.h:
8203         * BufferView2.C:
8204         * BufferView_pimpl.C:
8205         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8206
8207 2002-08-25  John Levon  <levon@movementarian.org>
8208
8209         * LyXAction.C: fix margin note description
8210
8211 2002-08-24  John Levon  <levon@movementarian.org>
8212
8213         * buffer.C:
8214         * bufferlist.C:
8215         * bufferview_funcs.C:
8216         * lyxfont.C:
8217         * undo_funcs.C: cleanups
8218
8219         * lyxfunc.C: disable CUT/COPY when no selection
8220
8221 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8222
8223         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8224         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8225
8226         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8227         Add backward compatibility to "mono", "gray" and "no".
8228
8229 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8232         (and file_format >= 200).
8233
8234 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8235
8236         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8237
8238 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8241
8242 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8243
8244         * BufferView_pimpl.C:
8245         * LyXAction.C:
8246         * buffer.C:
8247         * commandtags.h:
8248         * lyxfunc.C:
8249         * paragraph.[Ch]:
8250         * text2.C:
8251         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8252         inset and code to make it  work with the paragraph code. The inset
8253         can be anywhere in the paragraph, but will only do the expected
8254         thing in LaTeX if the layout file contains the parameter line
8255                         OptionalArgs    1
8256         (or more generally, a nonzero value) for that layout.
8257
8258 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * paragraph.h: remove the declaration of undefined counters class
8261         function.
8262
8263 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8264
8265         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8266         Dr. Richard Hawkins.
8267
8268 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8269
8270         * paragraph_funcs.h: remove some unneeded includes
8271
8272         * text.C (backspace): pasteParagraph now in global scipe
8273
8274         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8275         (pasteSelection): ditto
8276
8277         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8278         * paragraph_funcs.C (pasteParagraph): ... here
8279
8280 2002-08-20  André Pönitz <poenitz@gmx.net>
8281
8282         * commandtags.h: new LFUNs for swapping/copying table row/colums
8283
8284         * LyXAction.C:
8285         * lyxfunc.C: support for new lfuns
8286
8287 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * tabular.C:
8290         * buffer.[Ch]: remove NO_COMPABILITY stuff
8291
8292 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * boost.C (throw_exception): new file, with helper function for
8295         boost compiled without exceptions.
8296
8297         * paragraph.h:
8298         * lyxlength.C:
8299         * buffer.C:
8300         * ParameterStruct.h:
8301         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8302
8303         * bufferlist.C (emergencyWriteAll): use boost bind
8304
8305         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8306
8307         * text.C: include paragraph_funcs.h
8308         (breakParagraph): breakParagraph is now in global scope
8309
8310         * paragraph_funcs.[Ch]: new files
8311
8312         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8313         global scope
8314
8315         * buffer.C: include paragraph_funcs.h
8316         (insertStringAsLines): breakParagraph is now in global scope
8317
8318         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8319         paragraph_funcs.C
8320
8321         * CutAndPaste.C: include paragraph_funcs.h
8322         (cutSelection): breakParagraphConservative is now in global scope
8323         (pasteSelection): ditto
8324
8325         * buffer.h: declare oprator== and operator!= for
8326         Buffer::inset_iterator
8327
8328         * bufferlist.C (emergencyWrite): don't use fmt(...)
8329
8330         * text3.C: add using std::endl
8331
8332         * BufferView.C (moveCursorUpdate): remove default arg
8333
8334 2002-08-20  André Pönitz <poenitz@gmx.net>
8335
8336         * buffer.[Ch]: move inline functions to .C
8337
8338         * BufferView2.C:
8339         * BufferView_pimpl.C:
8340         * text.C:
8341         * buffer.[Ch]: use improved inset_iterator
8342
8343         * buffer.C:
8344         * paragraph.[Ch]: write one paragraph at a time
8345
8346 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8347
8348         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8349         style if style is not specified.
8350
8351 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * text2.C (setCounter): when searching for right label for a
8354         caption, make sure to recurse to parent insets (so that a caption
8355         in a minipage in a figure float works) (bug #568)
8356
8357 2002-08-20  André Pönitz <poenitz@gmx.net>
8358
8359         * text3.C: new file for LyXText::dispatch() and helpers
8360
8361         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8362
8363         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8364
8365 2002-08-19  André Pönitz <poenitz@gmx.net>
8366
8367         * lyxtext.h:
8368         * text.C: new LyXText::dispatch()
8369
8370         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8371
8372 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8373
8374         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8375
8376         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8377         Hebrew text.
8378
8379 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * Makefile.am: use $(variables) instead of @substitutions@
8382
8383 2002-08-15  André Pönitz <poenitz@gmx.net>
8384
8385         * lyxfunc.C:
8386         * BufferView_pimpl.C: streamlining mathed <-> outer world
8387         interaction
8388
8389         * commandtags.h:
8390         * LyXAction.C: remove unused LFUN_MATH
8391
8392 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8395
8396 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8397
8398         * paragraph.C (Paragraph): reformat a bit
8399         (cutIntoMinibuffer): use builtin InsetList function instad of
8400         doing it manually.
8401         (getInset): ditto
8402
8403         * buffer.C: include boost/bind.hpp, add using std::for_each
8404         (writeFileAscii): use ParagraphList iterators
8405         (validate): use for_each for validate traversal of paragraphs
8406         (getBibkeyList): use ParagraphList iterators
8407         (resizeInsets): use for_each to resizeInsetsLyXText for all
8408         paragraphs.
8409         (getParFromID): use ParagraphList iterators
8410
8411         * BufferView2.C (lockInset): use paragraph list and iterators
8412
8413 2002-08-14  John Levon  <levon@movementarian.org>
8414
8415         * lyxserver.C: remove spurious xforms include
8416
8417 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8418
8419         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8420
8421 2002-08-13  André Pönitz <poenitz@gmx.net>
8422
8423         * LyXAction.[Ch]:
8424         * lyxfunc.C: further cleaning
8425
8426 2002-08-13  André Pönitz <poenitz@gmx.net>
8427
8428         * funcrequest.h: new constructor
8429
8430         * funcrequest.C: move stuff here from .h
8431
8432         * Makefile.am:
8433         * BufferView_pimpl.C:
8434         * LyXAction.C:
8435         * toc.C:
8436         * lyxfunc.C: subsequent changes
8437
8438         * lyxfunc.h: new view() member function
8439
8440         * lyxfunc.C: subsequent changes
8441
8442 2002-08-13  Angus Leeming  <leeming@lyx.org>
8443
8444         * BufferView2.C:
8445         * BufferView_pimpl.C:
8446         * buffer.C:
8447         * converter.C:
8448         * importer.C:
8449         * lyxfunc.C:
8450         * lyxvc.C:
8451         * toc.C:
8452         * vc-backend.C:
8453         changes due to the changed LyXView interface that now returns references
8454         to member variables not pointers.
8455
8456 2002-08-13  Angus Leeming  <leeming@lyx.org>
8457
8458         * WordLangTuple (word, lang_code): return references to strings,
8459         not strings.
8460
8461         * BufferView.h:
8462         * SpellBase.h:
8463         * lyxtext.h: forward-declare WordLangTuple.
8464
8465         * BufferView2.C:
8466         * ispell.C:
8467         * pspell.C:
8468         * text.C: #include "WordLangTuple.h".
8469
8470         * lyxtext.h:
8471         * text.C: (selectNextWordToSpellcheck): constify return type.
8472
8473 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8474
8475         * buffer.C:
8476         * buffer.h:
8477         * lyxtext.h:
8478         * paragraph.C:
8479         * paragraph_pimpl.h:
8480         * text.C:
8481         * text2.C:
8482         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8483         suggested by Angus.
8484         Made updateCounter always count from start of buffer, and removed
8485         second argument (par).
8486         Reverted floats number display to '#'. Perhaps I'll try again when the
8487         code base is sanitized a bit.
8488
8489 2002-08-12  Angus Leeming  <leeming@lyx.org>
8490
8491         * buffer.[Ch] (getLabelList): constify.
8492
8493 2002-08-07  André Pönitz <poenitz@gmx.net>
8494
8495         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8496
8497         * funcrequest.h: extension to keep mouse (x,y) position
8498
8499 2002-08-12  Juergen Vigna  <jug@sad.it>
8500
8501         * BufferView2.C (insertErrors): forbid undo when inserting error
8502         insets.
8503
8504         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8505
8506 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * ParagraphList.[Ch]: new files
8509
8510         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8511
8512         * BufferView2.C (lockInset): ParagraphList changes
8513         * toc.C: ditto
8514         * text2.C: ditto
8515         * bufferlist.C: ditto
8516         * buffer.h: ditto
8517         * buffer.C: ditto
8518
8519 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8522         unused class variable counter_,
8523
8524         * paragraph.[Ch] (getFirstCounter): delete unused function
8525
8526         * counters.C: include LAssert.h
8527         (reset): add a new function with no arg, change other version to
8528         not have def. arg and to not allow empty arg.
8529
8530         * text2.C (setCounter): remove empty arg from call to Counters::reset
8531
8532 2002-08-11  John Levon  <levon@movementarian.org>
8533
8534         * Makefile.am: add WordLangTuple.h
8535
8536 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8539         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8540
8541         * insets/insettext.C: InsetList changes
8542
8543         * graphics/GraphicsSupport.C (operator()): InsetList changes
8544
8545         * toc.C (getTocList): InsetList changes
8546
8547         * paragraph_pimpl.[Ch]: InsetList changes
8548
8549         * paragraph.[Ch]: InsetList changes
8550
8551         * buffer.C (inset_iterator): InsetList changes
8552         (setParagraph): ditto
8553         * buffer.h (inset_iterator): ditto
8554         * iterators.C (operator++): ditto
8555         * iterators.h: ditto
8556
8557         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8558
8559         * InsetList.[Ch]: new files, most InsetList handling moved out of
8560         paragraph.C.
8561
8562         * BufferView2.C (removeAutoInsets): InsetList changes
8563         (lockInset): ditto
8564         (ChangeInsets): ditto
8565
8566 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * paragraph_pimpl.h (empty): new function
8569
8570         * paragraph.[Ch] (empty): new function
8571
8572         * other files: use the new Paragraph::empty function
8573
8574 2002-08-09  John Levon  <levon@movementarian.org>
8575
8576         * lyxtext.h: remove unused refresh_height
8577
8578 2002-08-09  John Levon  <levon@movementarian.org>
8579
8580         * Makefile.am:
8581         * sgml.h:
8582         * sgml.C:
8583         * buffer.C:
8584         * paragraph.h:
8585         * paragraph.C: move sgml char escaping out of paragraph
8586
8587         * paragraph.h:
8588         * paragraph.C: remove id setter
8589
8590         * buffer.C:
8591         * paragraph.C:
8592         * paragraph_pimpl.C: remove dead tex_code_break_column
8593
8594         * bufferview_funcs.C: small cleanup
8595
8596         * lyxfunc.C: remove dead proto
8597
8598         * lyxtext.h: make some stuff private. Remove some dead stuff.
8599
8600         * lyxgluelength.C: make as[LyX]String() readable
8601
8602 2002-08-08  John Levon  <levon@movementarian.org>
8603
8604         * LyXAction.h:
8605         * LyXAction.C:
8606         * MenuBackend.C:
8607         * ToolbarDefaults.C:
8608         * lyxfunc.C:
8609         * lyxrc.C:
8610         * toc.C: lyxaction cleanup
8611
8612 2002-08-08  John Levon  <levon@movementarian.org>
8613
8614         * BufferView2.C: small cleanup
8615
8616         * lyxfind.h:
8617         * lyxfind.C: move unnecessary header into the .C
8618
8619 2002-08-08  John Levon  <levon@movementarian.org>
8620
8621         * funcrequest.h: just tedious nonsense
8622
8623         * lyx_main.h:
8624         * lyx_main.C: cleanups
8625
8626         * buffer.C:
8627         * vspace.C: remove dead header lyx_main.h
8628
8629 2002-08-07  Angus Leeming  <leeming@lyx.org>
8630
8631         * Paragraph.[Ch]:
8632         * paragraph_pimpl.h:
8633         Forward declare class Counters in paragraph.h by moving the ctrs member
8634         variable into Paragraph::Pimpl.
8635         (counters): new method, returning a reference to pimpl_->ctrs.
8636
8637         * text2.C: ensuing changes.
8638
8639 2002-08-07  John Levon  <levon@movementarian.org>
8640
8641         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8642
8643         * BufferView_pimpl.C: announce X selection on double/triple
8644           click
8645
8646         * lyx_main.C: use correct bool in batch dispatch
8647
8648         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8649
8650 2002-08-07  André Pönitz <poenitz@gmx.net>
8651
8652         * funcrequest.h: new class to wrap a kb_action and its argument
8653
8654         * BufferView.[Ch]:
8655         * BufferView_pimpl[Ch]:
8656         * LaTeX.C:
8657         * LyXAction.[Ch]:
8658         * lyxfunc.[Ch]:
8659         * lyxrc.C: subsequent changes
8660
8661
8662 2002-08-07  John Levon  <levon@movementarian.org>
8663
8664         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8665           document options change.
8666
8667 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8668
8669         * counters.[Ch]
8670         * text2.C
8671         * paragraph.[Ch]
8672         * makefile.am: move counters functionality over from
8673         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8674
8675 2002-08-06  John Levon  <levon@movementarian.org>
8676
8677         * WordLangTuple.h: new file for word + language code tuple
8678
8679         * SpellBase.h:
8680         * pspell.h:
8681         * pspell.C:
8682         * ispell.h:
8683         * ispell.C:
8684         * lyxtext.h:
8685         * text.C:
8686         * text2.C:
8687         * BufferView.h:
8688         * BufferView2.C: use WordLangTuple
8689
8690         * layout.h:
8691         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8692
8693 2002-08-06  John Levon  <levon@movementarian.org>
8694
8695         * lyx_main.C: fix cmdline batch handling
8696
8697 2002-08-06  André Pönitz <poenitz@gmx.net>
8698
8699         * lyxrc.C: set default for show_banner to true
8700
8701 2002-08-06  John Levon  <levon@movementarian.org>
8702
8703         * pspell.C: fix a crash, and allow new aspell to work
8704
8705 2002-08-06  John Levon  <levon@movementarian.org>
8706
8707         * lyxfunc.C:
8708         * kbmap.C: small cleanup
8709
8710         * vspace.h:
8711         * vspace.C: add const
8712
8713 2002-08-05  John Levon  <levon@movementarian.org>
8714
8715         * LyXAction.C: back to tabular-insert
8716
8717 2002-08-04  John Levon  <levon@movementarian.org>
8718
8719         * BufferView.h:
8720         * BufferView.C: cosmetic change
8721
8722         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8723
8724         * bufferlist.C:
8725         * buffer.h:
8726         * buffer.C:
8727         * lyxcb.h:
8728         * lyxcb.C:
8729         * lyxserver.C:
8730         * lyxvc.C:
8731         * vc-backend.C:
8732         * BufferView2.C: purge all "Lyx" not "LyX" strings
8733
8734         * lyxcursor.h:
8735         * lyxcursor.C: attempt to add some documentation
8736
8737         * lyxfunc.C:
8738         * commandtags.h:
8739         * LyXAction.C:
8740         * ToolbarDefaults.C:
8741         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8742           merge with LFUN_TABULAR_INSERT
8743
8744         * Makefile.am:
8745         * SpellBase.h:
8746         * ispell.h:
8747         * ispell.C:
8748         * pspell.h:
8749         * pspell.C: split up i/pspell implementations into separate
8750           files, many cleanups
8751
8752         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8753
8754         * text2.C: some cleanup
8755
8756         * lyxfunc.C: don't check for isp_command == "none" any more, it
8757           didn't make any sense
8758
8759 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8760
8761         * counters.[Ch]
8762         * text2.C
8763         * paragraph.[Ch]
8764         * makefile.am: move counters functionality over
8765         from text2.C/paragraph.[Ch] to counters.[Ch], and
8766         make proper C++.
8767 2002-08-02  John Levon  <levon@movementarian.org>
8768
8769         * buffer.C: s/lyxconvert/lyx2lyx/
8770
8771 2002-08-02  Angus Leeming  <leeming@lyx.org>
8772
8773         * lyxlex.C: revert John's change as it breaks reading of the user
8774         preamble.
8775
8776 2002-08-02  Angus Leeming  <leeming@lyx.org>
8777
8778         * importer.C (Import):
8779         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8780         changes due to LyXView::view() now returning a boost::shared_ptr.
8781
8782 2002-08-02  John Levon  <levon@movementarian.org>
8783
8784         * lyxlex.C: small cleanup
8785
8786 2002-08-02  John Levon  <levon@movementarian.org>
8787
8788         * text2.C (status): small cleanup, no logic change
8789
8790 2002-08-01  John Levon  <levon@movementarian.org>
8791
8792         * buffer.h:
8793         * buffer.C (writeFile): don't output alerts, caller
8794           handles this
8795
8796         * bufferlist.C:
8797         * lyx_cb.C: from above
8798
8799         * lyxfunc.C: allow to open non-existent files
8800
8801 2002-07-31  John Levon  <levon@movementarian.org>
8802
8803         * lyxserver.C: don't let incidental errors get
8804           in the way (errno)
8805
8806 2002-07-30  John Levon  <levon@movementarian.org>
8807
8808         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8809
8810 2002-07-30  John Levon  <levon@movementarian.org>
8811
8812         * lyxserver.h:
8813         * lyxserver.C: remove I/O callback too
8814
8815 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8818         log.
8819
8820 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8821
8822         * many files: strip,frontStrip -> trim,ltrim,rtrim
8823
8824 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * PrinterParams.h: remove extern containsOnly, and include
8827         support/lstrings.h instead.
8828
8829         * LaTeX.C (scanAuxFile): modify because of strip changes
8830         (deplog): ditto
8831         * buffer.C (makeLaTeXFile): ditto
8832         * bufferparams.C (writeFile): ditt
8833         * lyxfont.C (stateText): ditto
8834         * lyxserver.C (read_ready): ditto
8835         * vc-backend.C (scanMaster): ditto
8836
8837         * BufferView_pimpl.h: ws changes
8838
8839         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8840
8841 2002-07-26  André Pönitz <poenitz@gmx.net>
8842
8843         * kb_sequence.C: remove unnedred usings
8844
8845 2002-07-26  Juergen Vigna  <jug@sad.it>
8846
8847         * lyxfind.C (LyXReplace): we have to check better if the returned
8848         text is not of theLockingInset()->getLockingInset().
8849
8850 2002-07-25  Juergen Vigna  <jug@sad.it>
8851
8852         * lyxfind.C (LyXReplace): don't replace if we don't get the
8853         right LyXText.
8854
8855         * undo_funcs.C (createUndo): remove debugging code.
8856
8857 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8858
8859         * buffer.C (parseSingleLyXformat2Token): Use default placement
8860         when reading old floats.
8861
8862         * FloatList.C (FloatList): Change the default placement of figure
8863         and tables to "tbp".
8864
8865 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8866
8867         * MenuBackend.C: using std::max
8868
8869 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * MenuBackend.C (expandToc):
8872         (expandToc2): code moved from xforms menu frontend. It is now
8873         generic and TOCs are transparent to menu frontends.
8874
8875 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * toc.C (getTocList): protect against buf=0
8878
8879         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8880         Menu as first parameter. Now, this calls itself recursively to
8881         expand a whole tree (this will be useful for TOC handling)
8882         (expandFloatInsert): remove 'wide' version of floats
8883
8884         * MenuBackend.h (submenuname): returns the name of the submenu.
8885         (submenu): returns the submenu itself, provided it has been
8886         created by MenuBackend::expand
8887
8888 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8889
8890         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8891         insets which have noFontChange == true. (bug #172)
8892
8893 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8894
8895         * BufferView_pimpl.C: add connection objects and use them...
8896         (Pimpl): here.
8897
8898 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * MenuBackend.C (expandLastfiles):
8901         (expandDocuments):
8902         (expandFormats):
8903         (expandFloatListInsert):
8904         (expandFloatInsert):
8905         (expand): split expand in parts
8906
8907 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8908
8909         * lyx_gui.C: use lyx_gui::exit()
8910
8911 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * LyXAction.C: show the failing pseudo action
8914
8915 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8916
8917         * buffer.C (readFile): Run the lyxconvert script in order to read
8918         old files.
8919
8920 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * LyXAction.C:
8923         * commandtags.h:
8924         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8925
8926 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * LyXAction.C:
8929         * commandtags.h:
8930         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8931
8932 2002-07-22  Herbert Voss  <voss@lyx.org>
8933
8934         * lengthcommon.C:
8935         * lyxlength.[Ch]: add support for the vertical lengths
8936
8937 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * toc.[Ch]: std:: fixes
8940
8941 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8942
8943         * lyxrc.C: do not include lyx_main.h
8944
8945         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8946         for layouts
8947
8948         * lyxrc.C:
8949         * encoding.C:
8950         * bufferlist.C:
8951         * BufferView2.C: include "lyxlex.h"
8952
8953         * tabular.h:
8954         * bufferparams.h: do not #include "lyxlex.h"
8955
8956         * lyxtextclasslist.C (Add): remove method
8957         (classlist): renamed to classlist_
8958
8959         * paragraph_pimpl.C:
8960         * paragraph.C:
8961         * text2.C:
8962         * CutAndPaste.C:
8963         * bufferview_funcs.C:
8964         * bufferlist.C:
8965         * text.C:
8966         * LaTeXFeatures.C:
8967         * buffer.C:
8968         * toc.C (getTocList): use BufferParams::getLyXTextClass
8969
8970         * toc.C (getTocList): use InsetFloat::addToToc
8971
8972         * toc.[Ch]: new files, containing helper functions to handle table
8973         of contents
8974
8975         * lyxfunc.C (dispatch): no need to remove spaces around command
8976         given as a string
8977         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8978         first command of the sequence; it is not very clever, but I do not
8979         have a better idea, actually
8980
8981         * LyXAction.C (LookupFunc): make sure to remove space at the
8982         beginning and end of the command
8983
8984 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * MenuBackend.C (getMenubar): new method: return the menubar of
8987         this menu set
8988         (read): treat differently reading of menu and menubar (in
8989         particular, the menubar has no name now)
8990         (Menu::menubar): remove
8991
8992         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8993         saving is finished
8994
8995 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8996
8997         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8998         a bibitem inset in a RTL paragraph.
8999
9000 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * paragraph_pimpl.C: constify
9003
9004         * BufferView_pimpl.C:
9005         * LaTeX.C:
9006         * lyxfunc.C: fix dispatch in a nicer way
9007
9008 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * lyxfunc.C (dispatch):
9011         * BufferView_pimpl.C:
9012         * BufferView_pimpl.h:
9013         * BufferView.C:
9014         * BufferView.h: rename Dispatch() to dispatch()
9015
9016         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9017
9018         * lyxlayout.C (Read): honor DependsOn tag
9019
9020         * lyxlayout.[Ch] (depends_on): new method
9021
9022         * version.C.in: update lyx_docversion
9023
9024         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9025
9026         * paragraph.C (validate): remove from here...
9027         * paragraph_pimpl.C (validate): ... and move here
9028         (isTextAt): make it const
9029
9030         * buffer.C (getLists): ws cleanup
9031
9032 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9033
9034         * language.C (read): Use iso8859-1 encoding in latex_lang
9035         (this prevents LyX from crashing when using iso10646-1 encoding).
9036
9037 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * text2.C (toggleInset): if cursor is inside an inset, close the
9040         inset and leave cursor _after_ it
9041
9042 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * lyxfunc.C: move minibuffer completion handling out of here
9045
9046 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * BufferView_pimpl.C:
9049         * LaTeX.C: fix dispatch calls
9050
9051 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9052
9053         * text.C (drawChars): Fix Arabic text rendering.
9054
9055 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * LyXAction.C:
9058         * commandtags.h:
9059         * lyxfunc.C: remove message-push/pop
9060
9061         * lyxserver.C:
9062         * lyxfunc.h:
9063         * lyxfunc.C: rationalise some code by removing verboseDispatch
9064           in favour of a bool argument to dispatch()
9065
9066 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * lyx_main.C (init): make sure to read symlinks as absolute paths
9069
9070 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * lyxfunc.h:
9073         * lyxfunc.C: no need for commandshortcut to be a member
9074
9075 2002-07-15  André Pönitz <poenitz@gmx.net>
9076
9077         * converter.C: add support for $$s (scripts from lib/scripts dir)
9078         * lyx_main.C: white space
9079
9080 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9081
9082         * bufferlist.C:
9083         * lyxrc.h:
9084         * lyxrc.C: remove second exit confirmation
9085
9086 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * BufferView.h:
9089         * BufferView.C:
9090         * BufferView2.C:
9091         * BufferView_pimpl.h:
9092         * BufferView_pimpl.C:
9093         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9094
9095 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * MenuBackend.C (expand): add numeric shortcuts to document menu
9098
9099         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9100
9101 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9102
9103         * lyxfont.C (setLyXFamily):
9104         (setLyXSeries):
9105         (setLyXShape):
9106         (setLyXSize):
9107         (setLyXMisc):
9108         (lyxRead):
9109         * debug.C (value):
9110         * buffer.C (asciiParagraph): use ascii_lowercase
9111
9112 2002-07-15  Mike Fabian  <mfabian@suse.de>
9113
9114         * lyxlex_pimpl.C (search_kw):
9115         * lyxlex.C (getLongString):
9116         * converter.h (operator<):
9117         * converter.C (operator<):
9118         * buffer.C (parseSingleLyXformat2Token):
9119         (asciiParagraph):
9120         * ToolbarDefaults.C (read):
9121         * MenuBackend.C (checkShortcuts):
9122         (read):
9123         * LColor.C (getFromGUIName):
9124         (getFromLyXName): use the compare_ascii_no_case instead of
9125         compare_no_case, because in turkish, 'i' is not the lowercase
9126         version of 'I', and thus turkish locale breaks parsing of tags.
9127
9128 2002-07-16  Angus Leeming  <leeming@lyx.org>
9129
9130         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9131         now takes a Buffer const & argument.
9132
9133 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9134
9135         * BufferView.C (resize): check there's a buffer to resize
9136
9137 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9138
9139         * lyxfunc.C: remove dead code
9140
9141         * lyxserver.h:
9142         * lyxserver.C: use lyx_guii::set_read_callback
9143
9144 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9145
9146         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9147         an inset in a RTL paragraph.
9148
9149 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * lyxfunc.C: repaint after a font size update
9152
9153 2002-07-15  André Pönitz <poenitz@gmx.net>
9154
9155         * lyxlength.C: inBP should be able to return negative values
9156
9157 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * lyxfunc.C: use lyx_gui::update_fonts()
9160
9161 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * lyxfunc.C: use lyx_gui::update_color()
9164
9165 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * bufferlist.C:
9168         * lyxfunc.h:
9169         * lyxfunc.C:
9170         * lyxrc.h:
9171         * lyxrc.C: remove file->new asks for name option, and let
9172           buffer-new take an argument
9173
9174 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9175
9176         * BufferView_pimpl.C: remove unneeded extra repaint()
9177
9178 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * LyXAction.C: allow command-sequence with NoBuffer
9181
9182         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9183
9184 2002-07-10  Angus Leeming  <leeming@lyx.org>
9185
9186         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9187
9188 2002-07-09  Angus Leeming  <leeming@lyx.org>
9189
9190         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9191
9192 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * lengthcommon.h: whitespace
9195
9196         * lyxfunc.C: update scrollbar after goto paragraph
9197
9198         * lyxtext.h: factor out page break drawing, and fix it so
9199           page break/added space paints as selected nicely
9200
9201 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * BufferView_pimpl.C: add FIXMEs, clean up a little
9204
9205 2002-07-09  André Pönitz <poenitz@gmx.net>
9206
9207         * lyxfont.[Ch]: support for wasy symbols
9208
9209 2002-07-08  André Pönitz <poenitz@gmx.net>
9210
9211         * BufferView_pimpl.C: apply John's patch for #93.
9212
9213 2002-07-05  Angus Leeming  <leeming@lyx.org>
9214
9215         * BufferView_pimpl.C (buffer): generate previews if desired.
9216
9217         * LColor.h: add "preview" to the color enum.
9218
9219         * LColor.C (LColor): add a corresponding entry to the items array.
9220
9221         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9222         with this buffer.
9223
9224 2002-07-05  Angus Leeming  <leeming@lyx.org>
9225
9226         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9227         The body of the code is now in the method that is passed an ostream &
9228         rather than a file name.
9229         Pass an additional only_preamble parameter, useful for the forthcoming
9230         preview stuff.
9231
9232 2002-07-03  André Pönitz <poenitz@gmx.net>
9233
9234         * lyxfunc.C: simplify getStatus() a bit for math stuff
9235
9236 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9239
9240 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * text.C (changeRegionCase): do not change case of all the
9243         document when region ends at paragraph end (bug #461)
9244
9245 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * paragraph.C (startTeXParParams):
9248         (endTeXParParams): add \protect when necessary
9249
9250 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9251
9252         * BufferView_pimpl.C (workAreaExpose): remove warning
9253
9254 2002-06-27  Angus Leeming  <leeming@lyx.org>
9255
9256         * Makefile.am: add lyxlayout_ptr_fwd.h.
9257
9258 2002-06-26  André Pönitz <poenitz@gmx.net>
9259
9260         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9261
9262 2002-06-25  Angus Leeming  <leeming@lyx.org>
9263
9264         * lyxfunc.C (dispatch): Comment out the call to
9265         grfx::GCache::changeDisplay. The method no longer exists now that the
9266         pixmap generation part of the graphics loader has been moved into
9267         InsetGraphics.
9268
9269 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9270
9271         * text2.C: layout as layout
9272
9273         * text.C: layout as layout
9274
9275         * tabular.C (OldFormatRead): layout as layout
9276
9277         * paragraph_pimpl.C (TeXDeeper): layout as layout
9278         (realizeFont): layout as layout
9279
9280         * paragraph.C (writeFile): layout as layout
9281         (validate): layout as layout
9282         (getFont): layout as layout
9283         (getLabelFont): layout as layout
9284         (getLayoutFont): layout as layout
9285         (breakParagraph): layout as layout
9286         (stripLeadingSpaces): layout as layout
9287         (getEndLabel): layout as layout
9288         (getMaxDepthAfter): layout as layout
9289         (applyLayout): layout as layout
9290         (TeXOnePar): layout as layout
9291         (simpleTeXOnePar): layout as layout
9292         (TeXEnvironment): layout as layout
9293         (layout): layout as layout
9294         (layout): layout as layout
9295
9296         * lyxtextclass.C (compare_name): new functor to work with
9297         shared_ptr, layout as layout
9298         (Read): layout as layout
9299         (hasLayout): layout as layout
9300         (operator): layout as layout
9301         (delete_layout): layout as layout
9302         (defaultLayout): layout as layout
9303
9304         * lyxlayout_ptr_fwd.h: new file
9305
9306         * lyxlayout.C (Read): layout as layout
9307
9308         * lyx_cb.C (MenuInsertLabel): layout as layout
9309
9310         * bufferlist.C (newFile): layout as layout
9311
9312         * buffer.C (readLyXformat2): layout as layout
9313         (parseSingleLyXformat2Token): layout as layout
9314         (insertStringAsLines): layout as layout
9315         (asciiParagraph): layout as layout
9316         (latexParagraphs): layout as layout
9317         (makeLinuxDocFile): layout as layout
9318         (simpleLinuxDocOnePar): layout as layout
9319         (makeDocBookFile): layout as layout
9320         (simpleDocBookOnePar): layout as layout
9321         (getLists): layout as layout
9322
9323         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9324
9325         * CutAndPaste.C (cutSelection): layout as layout
9326         (pasteSelection): layout as layout
9327         (SwitchLayoutsBetweenClasses): layout as layout
9328
9329         * BufferView_pimpl.C (Dispatch): layout as layout
9330         (smartQuote): layout as layout
9331
9332         * BufferView2.C (unlockInset): layout as layout
9333
9334 2002-06-24  André Pönitz <poenitz@gmx.net>
9335
9336         * lyxfunc.C: fix #487
9337
9338 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * lyxrc.h:
9341         * lyxrc.C:
9342         * lyxfunc.C: remove display_shortcuts, show_banner
9343
9344 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9345
9346         * Buffer_pimpl.C: oops, update on resize
9347
9348 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * buffer.C:
9351         * converter.C:
9352         * exporter.C:
9353         * lyxfunc.C:
9354         * BufferView.h:
9355         * BufferView.C: use repaint()
9356
9357         * BufferView_pimpl.h:
9358         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9359           as it's a clearer description. Remove superfluous
9360           redraws.
9361
9362 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * text.C: fix bug 488. Not ideal, but getting
9365           getWord() to work properly for the insets that
9366           matter is more difficult ...
9367
9368 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * BufferView_pimpl.C:
9371         * LyXAction.C:
9372         * commandtags.h:
9373         * lyxfunc.C: remove the six million index lyxfuncs to just
9374           one, and DTRT (bug 458)
9375
9376 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * BufferView.h:
9379         * BufferView.C:
9380         * BufferView_pimpl.h:
9381         * BufferView_pimpl.C: clean up resize() stuff,
9382           and unnecessary updateScreen()s
9383
9384 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9385
9386         * BufferView.h:
9387         * BufferView.C:
9388         * BufferView_pimpl.h:
9389         * BufferView_pimpl.C:
9390         * lyxfind.h:
9391         * lyxfind.C:
9392         * minibuffer.C: remove focus management of workarea,
9393           not needed. Use screen's greyOut()
9394
9395 2002-06-17  Herbert Voss  <voss@lyx.org>
9396
9397         * converter.C: (convert) do not post a message, when converting
9398         fails, let the calling function decide what to do in this case
9399
9400 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * lyxfunc.C: tidy up a little
9403
9404 2002-06-16    <alstrup@diku.dk>
9405
9406         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9407         Got rid of FORMS_H_LOCATION include. Now we are
9408         GUII.
9409
9410 2002-06-15  LyX Development team  <lyx@rilke>
9411
9412         * buffer.[Ch] (sgmlOpenTag):
9413         (sgmlCloseTag): Added support for avoiding pernicious mixed
9414         content. Return number of lines written.
9415
9416         (makeLinuxDocFile):
9417         (makeDocBookFile): Fixed calls to sgml*Tag.
9418         Simple white space clean.
9419
9420         (simpleDocBookOnePar): Simple white space clean.
9421
9422         * tabular.[Ch] (docBook): Renamed to docbook and got another
9423         argument to related with the pernicious mixed content.
9424
9425         (docbookRow): Fixed calls for docbook inset method.
9426
9427 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9428
9429         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9430         so it's X11 independent.
9431
9432         * kb*.[Ch]: ditto.
9433
9434         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9435
9436 2002-06-15  Lyx Development team  <lyx@electronia>
9437
9438         * intl.h: Renamed getTrans to getTransManager.
9439
9440 2002-06-14  Angus Leeming  <leeming@lyx.org>
9441
9442         * Makefile.am: nuke forgotten stl_string_fwd.h.
9443
9444 2002-06-12  Angus Leeming  <leeming@lyx.org>
9445
9446         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9447
9448 2002-06-13  Angus Leeming  <leeming@lyx.org>
9449
9450         * LaTeX.C:
9451         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9452
9453 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9454
9455         * kbmap.C (getiso): add support for cyrillic and greek
9456
9457 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * BufferView.h:
9460         * BufferView.C:
9461         * BufferView_pimpl.h:
9462         * BufferView_pimpl.C: move bogus scrolling logic
9463           to xforms
9464
9465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * lyxfunc.C:
9468         * BufferView_pimpl.C: view->resize() change
9469
9470 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * BufferView_pimpl.C: topCursorVisible
9473           prototype change
9474
9475 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * Makefile.am:
9478         * lyx_gui.h:
9479         * lyx_gui.C: move to frontends/
9480
9481         * main.C:
9482         * lyx_main.h:
9483         * lyx_main.C: changes from above
9484
9485 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * intl.C:
9488         * intl.h:
9489         * kbmap.C:
9490         * kbsequence.C:
9491         * lyx_cb.C:
9492         * lyx_main.C: minor tidy
9493
9494 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * BufferView_pimpl.h:
9497         * BufferView_pimpl.C:
9498         * BufferView.h:
9499         * BufferView.C: make painter() const,
9500           remove dead code
9501
9502         * BufferView2.C: use screen() accessor
9503
9504         * lyx_main.h:
9505         * lyx_main.C: some minor cleanup
9506
9507 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9508
9509         * BufferView_pimpl.h:
9510         * BufferView_pimpl.C: remove enter/leaveView,
9511           use workHeight()
9512
9513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * BufferView.h:
9516         * BufferView.C:
9517         * BufferView2.C:
9518         * BufferView_pimpl.h:
9519         * BufferView_pimpl.C: only construct screen once,
9520           rename
9521
9522         * lyxrc.C: remove pointless comment
9523
9524 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * BufferView.h:
9527         * BufferView.C: remove active() and belowMouse()
9528
9529         * BufferView_pimpl.h:
9530         * BufferView_pimpl.C: use workarea() not workarea_,
9531           and make it use a scoped_ptr instead
9532
9533 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9534
9535         * lyx_gui.C: add debug message on BadWindow
9536
9537 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9538
9539         * sp_spell.C: fdopen is not part of the C++ standard.
9540
9541         * paragraph.C (InsetIterator): use >= instead of ==
9542
9543 2002-06-07  Angus Leeming  <leeming@lyx.org>
9544
9545         Fixes needed to compile with Compaq cxx 6.5.
9546         * BufferView_pimpl.C:
9547         * DepTable.C:
9548         * buffer.C:
9549         * converter.C:
9550         * encoding.C:
9551         * lyx_gui.C:
9552         * lyx_main.C:
9553         * lyxtextclasslist.C:
9554         * minibuffer.C:
9555         * sp_spell.C:
9556         * tabular_funcs.C:
9557         * vc-backend.C:
9558         all c-library variables have been moved into namespace std. Wrap
9559         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9560
9561         * lyxlength.C:
9562         * tabular-old.C:
9563         * tabular.C:
9564         Add a using std::abs declaration.
9565
9566         * kbmap.h (modifier_pair):
9567         * paragraph.h (InsetTable, InsetList):
9568         * lyxfont.h (FontBits):
9569         type definition made public.
9570
9571         * bufferlist.C (emergencyWriteAll): the compiler complains that
9572         there is more than one possible lyx::class_fun template to choose from.
9573         I re-named the void specialisation as lyx::void_class_fun.
9574
9575         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9576
9577         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9578         the compiler is is unable to find tostr in write_attribute.
9579
9580 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * buffer.C (sgmlError): hide #warning
9583
9584 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9585
9586         * xtl/*: get rid of xtl, which is not in use anyway
9587
9588         * LyXAction.C (init):
9589         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9590         were unimplemented xtl experimentation
9591
9592 2002-06-04  André Pönitz <poenitz@gmx.net>
9593
9594         * lyxfunc.C: disable array operation on simple formulae
9595
9596 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * converter.C: constify a bit
9599
9600 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * lyx_gui.C: check xforms version correctly
9603
9604 2002-04-30  Herbert Voss  <voss@lyx.org>
9605
9606         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9607         "keep" option
9608
9609 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9612           attempt to register it with a VCS)
9613
9614 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * lyx_main.C (init): honor variables LYX_DIR_13x and
9617         LYX_USERDIR_13x
9618
9619 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * buffer.h:
9622         * buffer.C:
9623         * lyx_main.C: fix a crash on bad command line,
9624           and give a useful exit status on error
9625
9626         * lyxfunc.C (doImport): allow -i lyx to work
9627
9628 2002-03-30  André Pönitz <poenitz@gmx.net>
9629
9630         * lyxfunc.C: mathed font changes
9631
9632 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * LaTeX.C:
9635         * importer.h:
9636         * importer.C:
9637         * lyx_sty.h:
9638         * lyx_sty.C:
9639         * lyxlex.C:
9640         * lyxrow.h:
9641         * lyxtext.h:
9642         * paragraph.h:
9643         * paragraph.C:
9644         * texrow.h:
9645         * texrow.C:
9646         * text.C:
9647         * trans_mgr.h: srcdocs, and some minor cleanups
9648
9649 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9650
9651         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9652         call getFont all the time)
9653
9654 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * switch from SigC signals to boost::signals
9657
9658 2002-05-29  André Pönitz <poenitz@gmx.net>
9659
9660         * paragraph_pimpl.C (getChar): don't call size() too often...
9661
9662 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9663
9664         * paragraph_pimpl.C (insertChar): do not try to update tables when
9665         appending (pos == size())
9666
9667         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9668         in order to reduce drastically the number of comparisons needed to
9669         parse a large document
9670
9671 2002-05-29  André Pönitz <poenitz@gmx.net>
9672
9673         * text.C:
9674         * text2.C:
9675         * lyxtextclass.C:
9676         * sp_pspell.h:
9677         * textclasslist.[Ch]:
9678         * sp_ispell.h: whitespace change
9679
9680 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9683         lyxaction directly now.
9684
9685 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * trans.C:
9688         * lyxfont.C:
9689         * lyxvc.C: remove unused headers
9690
9691 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * Makefile.am:
9694         * buffer.h:
9695         * undostack.h:
9696         * undostack.C:
9697         * undo_funcs.h:
9698         * undo_funcs.C: some cleanups. Use shared_ptr
9699           and a template for the undo stacks.
9700
9701 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * BufferView_pimpl.h:
9704         * BufferView_pimpl.C:
9705         * kbmap.h:
9706         * kbmap.C:
9707         * kbsequence.h:
9708         * kbsequence.C:
9709         * lyxfunc.h:
9710         * lyxfunc.C:
9711         * text2.C: use key_state/mouse_state
9712
9713 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9714
9715         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9716         and LSubstring
9717
9718         * chset.C: change include order
9719         (loadFile): use boost regex and get rid of LRegex and LSubstring
9720
9721         * Makefile.am (BOOST_LIBS): new variable
9722         (lyx_LDADD): use it
9723
9724         * LaTeX.C: change include order.
9725         (scanAuxFile): use boost regex and get rid of LRegex and
9726         LSubstring
9727         (deplog): ditto
9728
9729 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * ColorHandler.h:
9732         * ColorHandler.C:
9733         * FontInfo.h:
9734         * FontInfo.C: moved to frontends/xforms/
9735
9736         * FontLoader.h:
9737         * FontLoader.C: moved into frontends for GUIIzation
9738
9739         * Makefile.am:
9740         * lyx_gui.C:
9741         * lyxfont.C:
9742         * lyxfunc.C: changes from above
9743
9744 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * LColor.C: remove spurious X include
9747
9748         * BufferView_pimpl.C:
9749         * Makefile.am:
9750         * font.h:
9751         * font.C:
9752         * text.C:
9753         * text2.C: move font metrics to frontends/
9754
9755 2002-05-24  Juergen Vigna  <jug@sad.it>
9756
9757         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9758         setting the undo_cursor.
9759
9760         * ParagraphParameters.h: include local includes first.
9761
9762 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * BufferView_pimpl.C:
9765         * BufferView_pimpl.h:
9766         * Makefile.am:
9767         * WorkArea.h:
9768         * WorkArea.C:
9769         * screen.C: move WorkArea into frontends/
9770
9771         * lyxscreen.h:
9772         * screen.C:
9773         * text.C:
9774         * BufferView.C:
9775         * BufferView2.C: move LyXScreen into frontends/
9776
9777         * lyxlookup.h:
9778         * lyxlookup.C:
9779         * lyx_gui.C: move lyxlookup into frontends/xforms/
9780
9781 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * BufferView2.C:
9784         * BufferView_pimpl.C:
9785         * FontLoader.C:
9786         * LyXView.h:
9787         * LyXView.C:
9788         * Makefile.am:
9789         * WorkArea.C:
9790         * XFormsView.h:
9791         * XFormsView.C:
9792         * buffer.C:
9793         * bufferlist.C:
9794         * bufferview_funcs.C:
9795         * converter.C:
9796         * importer.C:
9797         * lyx_cb.C:
9798         * lyx_gui.C:
9799         * lyx_main.C:
9800         * lyx_find.C:
9801         * lyxfunc.C:
9802         * lyxvc.C:
9803         * minibuffer.C:
9804         * text.C:
9805         * text2.C:
9806         * trans.C:
9807         * vc-backend.C: move LyX/XFormsView into frontends/
9808
9809 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * Makefile.am:
9812         * PainterBase.C:
9813         * PainterBase.h:
9814         * Painter.C:
9815         * Painter.h:
9816         * WorkArea.C:
9817         * WorkArea.h:
9818         * screen.C:
9819         * tabular.C:
9820         * text.C:
9821         * text2.C: move Painter to frontends/
9822
9823 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9824
9825         * buffer.C: comment out some some code that depend upon lyx_format
9826         < 220
9827
9828         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9829         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9830
9831         * buffer.h (NO_COMPABILITY): turn off compability
9832
9833         * ColorHandler.C: include scoped_array.hpp
9834
9835         * font.C: Use more specific smart_ptr header.
9836         * Painter.C: ditto
9837         * gettext.C: ditto
9838         * ShareContainer.h: ditto
9839         * lyx_main.h: ditto
9840         * kbmap.h: ditto
9841         * FontInfo.h: ditto
9842         * BufferView_pimpl.h: ditto
9843         * ColorHandler.h: ditto
9844
9845         * kbmap.C (defkey): change call to shared_ptr::reset
9846
9847 2002-05-21  Juergen Vigna  <jug@sad.it>
9848
9849         * buffer.C (insertErtContents): fix to insert ert asis if it is
9850         non empty. Skip it completely if it contains only whitespaces.
9851
9852 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * BufferView_pimpl.C:
9855         * BufferView2.C: clear selection on paste (bug 393)
9856
9857 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9858
9859         * DepTable.C: include ctime
9860
9861 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9862
9863         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9864
9865 2002-05-14  Juergen Vigna  <jug@sad.it>
9866
9867         * text.C (breakParagraph): fixed function to honor the keepempty
9868         layout in the right maner and also to permit the right breaking
9869         algorithm on empty or non empyt keepempty paragraphs.
9870
9871         * paragraph.C (breakParagraph): we have to check also if the par
9872         is really empty (!size()) for isempty otherwise we do the wrong
9873         paragraph break.
9874
9875 2002-05-10  Juergen Vigna  <jug@sad.it>
9876
9877         * buffer.[Ch] : The following are only changes to the ert
9878         compatibility read reading old LaTeX layout and font stuff and
9879         convert it to ERTInsets.
9880
9881         * buffer.h: added isErtInset().
9882
9883         * buffer.C (struct ErtComp): add a fromlayout bool to check
9884         if we're inside a LaTeX layout.
9885         (isErtInset): new helper function.
9886         (insertErtContents): look for other ert insets before this one
9887         and insert the contents there, so that we don't have subsequent
9888         ERT insets with nothing between them. This way we create only one
9889         inset with multiple paragraphs. Also check if we don't insert only
9890         spaces ' ' as they are ignored anyway afterwards in the .tex file
9891         so if we have only spaces we will ignore this latex part in the
9892         new file.
9893         (parseSingleLyXformat2Token \\layout): better compatibility when
9894         reading layout-latex stuff.
9895         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9896         language tag.
9897         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9898         stuff after reading the inset only get the information back from
9899         the stack.
9900
9901 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9902
9903         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9904
9905         * LaTeXFeatures.C (getBabelOptions): New method.
9906
9907 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * BufferView_pimpl.C (Dispatch): work around missing argument for
9910         'layout'
9911
9912 2002-05-08  Juergen Vigna  <jug@sad.it>
9913
9914         * text.C (leftMargin): handle paragraph leftindent.
9915
9916         * paragraph.C (writeFile): write the new \\leftindent tag.
9917         (validate): handle leftindent code.
9918         (TeXEnvironment): handle paragraphleftindent code again.
9919
9920         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9921
9922         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9923         for paragrap_extra indent code and new token \\leftindent.
9924         (latexParagraphs): handle the leftindent as environment.
9925
9926         * ParameterStruct.h: added leftindent support.
9927
9928         * ParagraphParameters.C (leftIndent): added support functions for
9929         the paragraph left indent.
9930
9931         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9932         more appropriate.
9933
9934 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9937         inside insetERT.
9938
9939         * text.C (computeBidiTables): No bidi in insetERT.
9940
9941         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9942         in RTL documents.
9943
9944 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9945
9946         * version.C.in: pre 5
9947
9948 2002-05-02  José Matos  <jamatos@fep.up.pt>
9949         * buffer.C (makeDocBookFile): white space changes, add newline to
9950         command styles.
9951         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9952
9953         * tabular.C (docBook): fix typo.
9954
9955 2002-05-03  Juergen Vigna  <jug@sad.it>
9956
9957         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9958         change in LyXText as we can not be sure it was not freed.
9959         (drawOneRow): remove unused code.
9960
9961         * text.C (drawInset): redo the calculation of the need_break_row as
9962         it could have a row which was already freed.
9963         (draw): look at the return value of drawInset and return false if
9964         it also returned false.
9965         (paintRowText): look at the return value of draw and return false if
9966         it also returned false.
9967
9968         * lyxtext.h: added bool return type to drawInset() and draw() so that
9969         if we have a change in the row so that the rowbreak has to be redone
9970         we abort drawing as it will be called again.
9971
9972 2002-05-02  Juergen Vigna  <jug@sad.it>
9973
9974         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9975         a change in the maintext also if we're inside an inset.
9976         (Dispatch): set the cursor again after a break line and after the
9977         screen has been updated as it could be we're in a different row.
9978
9979         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9980         to set the cursor behind the pargraph with > size().
9981         (setCursor): check also for the same paragraph when checking where
9982         to put the cursor if we have a NFR inset.
9983
9984         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9985         parts of layout read further up as it still was in the wrong
9986         position.
9987
9988 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * screen.C (drawFromTo): change sine fullRebreak always return
9991         true.
9992
9993         * buffer.C (parseSingleLyXformat2Token): reindent some
9994
9995         * BufferView_pimpl.C (update): change since fullRebreak always
9996         return true.
9997         (Dispatch): git rid of the last hardcoded "Standard"s.
9998
9999 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * text2.[Ch] (fullRebreak): make it return void now that we always
10002         returned true.
10003
10004 2002-04-30  Juergen Vigna  <jug@sad.it>
10005
10006         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10007         ert compatibility check for "latex" layout.
10008
10009 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10012         minipages: use col% instead of p%, and also use the current font.
10013         (makeLaTeXFile): Fix use babel condition.
10014         (parseSingleLyXformat2Token): Correct font when reading old floats.
10015
10016 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10017
10018         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10019         inserting list of floats.
10020
10021 2002-04-25  Herbert Voss  <voss@lyx.org>
10022
10023         * MenuBackend.C (expand): don't add the graphics extensions to the
10024         export menu
10025
10026 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10029         non-existing layout, do not complain if it was the default layout
10030         of the original class (bug #342)
10031
10032 2002-04-24  Juergen Vigna  <jug@sad.it>
10033
10034         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10035         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10036
10037 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10038
10039         * buffer.C (getBibkeyList): If using \bibliography, return the
10040         option field with the reference itself. Enables us to provide natbib
10041         support when using \bibliography.
10042
10043 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10044
10045         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10046
10047         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10048         natbib is provided by the LaTeX class.
10049
10050 2002-04-23  Juergen Vigna  <jug@sad.it>
10051
10052         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10053         Wakeup functions.
10054
10055         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10056
10057 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10060
10061         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10062         ensuremath around textordmasculine, textordfeminine and
10063         textdegree.
10064
10065 2002-04-19  Juergen Vigna  <jug@sad.it>
10066
10067         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10068         reinitializing the buffer otherwise row-dimensions may be wrong.
10069         (update): reset also the selection cursors if they do exits otherwise
10070         their x/y positions may be wrong.
10071
10072         * text2.C (cursorDown): don't enter the inset if we came from a row
10073         above and are one row over the inset.
10074
10075         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10076         really leaving an inset.
10077
10078 2002-04-18  Juergen Vigna  <jug@sad.it>
10079
10080         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10081         of the selected paragraph does not have the selected layout also if
10082         the last one had!
10083
10084         * text2.C (setLayout): fixed bug which did not change last selected
10085         paragraph.
10086
10087         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10088         changed the read and substituted \\end_float with \\end_inset!
10089
10090         * BufferView_pimpl.C (cursorPrevious):
10091         (cursorNext): fixed to make it work with rows heigher than the work
10092         area without moving the cursor only the draw of the row.
10093         (workAreaMotionNotify): fix jumping over high rows.
10094
10095 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10098         Ressler.
10099
10100 2002-04-16  Juergen Vigna  <jug@sad.it>
10101
10102         * text2.C (setCursor): set also the irow().
10103         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10104         (cursorUp):
10105         (cursorDown): support for locking an inset if the x_fix value goes
10106         inside it. That way I can transverse insets too with cursor up/down.
10107
10108         * lyxrow.h: added irow helper function same as other (i) functions.
10109
10110         * BufferView_pimpl.C (cursorPrevious):
10111         (cursorNext): fixed for insets!
10112
10113 2002-04-15  Juergen Vigna  <jug@sad.it>
10114
10115         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10116         position otherwise it is wrong in some cases.
10117
10118         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10119         inside the inset before the call.
10120
10121 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10122
10123         * buffer.[Ch] (getBibkeyList): make it const.
10124
10125 2002-04-12  Juergen Vigna  <jug@sad.it>
10126
10127         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10128
10129         * text2.C (getCursorX): new helper function
10130         (setCursor): compute also ix_
10131         (setCursorFromCoordinates): set also ix.
10132
10133         * lyxcursor.h: added ix_ and helper functions.
10134
10135         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10136
10137         * buffer.C (insertStringAsLines): dont break paragraph if the this
10138         paragraph is inside an inset which does not permit it!
10139
10140         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10141         also with no chars on this paragraph.
10142         (paintRowText): only paint stuff if it's inside the workarea!
10143
10144         * paragraph.C (breakParagraph): honor keepempty flag and break the
10145         paragraph always below not above.
10146
10147         * BufferView2.C (unlockInset): update the paragraph layout on inset
10148         unlock as we changed paragraph in such a case.
10149
10150         * lyxfind.C (LyXFind): clear the former selection if not found!
10151
10152         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10153         again called in insertChar().
10154
10155         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10156         an inset which uses the whole row!
10157         (rightMargin): ditto.
10158         (insertChar): force a rebreak if we inserted an inset!
10159
10160 2002-03-28  Herbert Voss  <voss@lyx.org>
10161
10162         * lyxlength.[Ch]: add inBP() to get the right PS-point
10163         units (BigPoint). With inPixels we have rounding errors
10164
10165 2002-04-11  Juergen Vigna  <jug@sad.it>
10166
10167         * text2.C (setCursorFromCoordinates): set iy to the right value.
10168         (setCursor): add check if row->previous exists!
10169
10170         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10171         an old float_type as this was the case in the old code!
10172
10173         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10174
10175         * BufferView2.C (showLockedInsetCursor): use iy
10176         (fitLockedInsetCursor): ditto
10177
10178         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10179         locked insets as there we have the right value now.
10180
10181         * lyxcursor.C: added iy_ variable and iy functions to set to the
10182         baseline of cursor-y of the locked inset.
10183
10184         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10185         (setCursor): fixed for insets which need a full row.
10186
10187         * text.C (rowLastPrintable): don't ignore the last space when before
10188         an inset which needs a full row.
10189         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10190         as last character of a row when before a inset which needs a full row.
10191
10192 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10193
10194         * version.C.in: update date
10195
10196         * text2.C (fullRebreak): try to always return true and see what
10197         happens...
10198
10199 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10200
10201         * MenuBackend.C (expand): use Floating::listName
10202
10203         * FloatList.C (FloatList): add listName argument to the built-in
10204         floats
10205
10206         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10207         text associated with the float.
10208
10209 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10210
10211         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10212
10213 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * ShareContainer.h: add a couple of missing typenames.
10216
10217 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * lyxrc.C (getDescription): use _() correctly rather than N_().
10220
10221 2002-03-28  Herbert Voss  <voss@lyx.org>
10222
10223         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10224         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10225
10226 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10229         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10230
10231 2002-03-29  Juergen Vigna  <jug@sad.it>
10232
10233         * lyxfunc.C (dispatch): add a missing fitCursor call.
10234
10235         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10236         it was scrolled by a cursor move, so return the bool status.
10237
10238         * BufferView.C (fitCursor): return the bool flag also to the outside
10239         world as this is needed.
10240
10241         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10242
10243         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10244         call the edit() as it is not needed (and wrong) IMO.
10245         (workAreaButtonPress): set the screen_first variable before evt.
10246         unlock the inset as this may change screen_first and then we have
10247         a wrong y position for the click!
10248
10249 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10250
10251         * MenuBackend.C (expand): another translation that I missed
10252
10253 2002-03-28  Juergen Vigna  <jug@sad.it>
10254
10255         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10256
10257         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10258
10259 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10262
10263         * MenuBackend.C (expand): fix export/view/update when there is no
10264         document open.
10265
10266 2002-03-27  Herbert Voss  <voss@lyx.org>
10267
10268         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10269         and text%
10270
10271 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * bufferview_funcs.C (currentState): only show paragraph number
10274         for is DEVEL_VERSION is set.
10275
10276         * lyxfunc.C (dispatch): put warning in INFO channel
10277
10278         * MenuBackend.C (expand): translate the name of floats
10279
10280         * FloatList.C (FloatList): mark the float names for translation
10281
10282         * converter.C (convert): use LibScriptSearch
10283
10284 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * MenuBackend.C (defaults): fix default menu (we might as well get
10287         rid of it...)
10288
10289 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290
10291         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10292         directory.
10293
10294 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10295
10296         * lyxvc.C: reorder includes.
10297
10298 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10301           properly
10302
10303 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * CutAndPaste.C: change layouts earlier on paste
10306           to avoid crashing when calling getFont()
10307
10308 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10309
10310         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10311         irritating #error.
10312
10313 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10314
10315         * WorkArea.C: remove 'Pending' debug message.
10316
10317         * most files: ws cleanup
10318
10319         * buffer.[Ch]: ws changes
10320
10321         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10322
10323 2002-03-21  Juergen Vigna  <jug@sad.it>
10324
10325         * tabular.C (SetMultiColumn): collapse also the contents of the
10326         cells and set the last border right. Added a Buffer const * param.
10327
10328 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10329
10330         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10331         linking or not.
10332
10333 2002-03-19  Juergen Vigna  <jug@sad.it>
10334
10335         * text2.C (clearSelection): reset also xsel_cache.
10336
10337         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10338         where it needs to be called (John tells us to do so too :)
10339         (selectionLost): reset sel_cache.
10340
10341         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10342
10343 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10344
10345         * text2.C (setCursorIntern): put debuging code in INSETS channel
10346
10347 2002-03-19  André Pönitz <poenitz@gmx.net>
10348
10349         * lyxfunc.C: tiny whitespace change
10350
10351 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10352
10353         * ToolbarDefaults.C (init):
10354         * LyXAction.C (init):
10355         * commandtags.h:
10356         * BufferView_pimpl.C (Dispatch):
10357         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10358
10359 2002-03-19  Allan Rae  <rae@lyx.org>
10360
10361         * exporter.C (Export): removeAutoInsets before doing anything else.
10362         While I've just introduced a dependency on BufferView this really is
10363         the best place to clean the buffer otherwise you need to cleanup in
10364         a dozen places before calling export or cleanup in a dozen functions
10365         that export calls.
10366
10367         * converter.C (runLaTeX):
10368         (scanLog): Better handling of removeAutoInsets and screen updates.
10369
10370         * lyxfunc.C (dispatch): small whitespace changes
10371
10372 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * WorkArea.C (C_WorkAreaEvent): return a value.
10375         (event_cb): return 1 if we handled the event, 0 otherwise.
10376
10377         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10378
10379 2002-03-18  Juergen Vigna  <jug@sad.it>
10380
10381         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10382         (GetAdditionalWidth): ditto.
10383         (RightLine): ditto.
10384         (LeftLine): ditto.
10385
10386         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10387         inset if we're there actually (probably not used right now but this
10388         is the direction to go for unifying code).
10389         (paste): disable code to clear the selection.
10390
10391         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10392         inside an InsetText and move the check further up as it is in the
10393         wrong place.
10394
10395         * text2.C (pasteSelection): set a selection over the pasted text.
10396
10397 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10398
10399         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10400         and libgraphics to build on Cygwin.
10401
10402 2002-03-15  Juergen Vigna  <jug@sad.it>
10403
10404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10405         inserting an Inset into the paragraph. I know this is not the best
10406         fix but we already use current_view in CutAndPaste so we will remove
10407         all of it's using at the same time.
10408
10409         * buffer.C (sgmlError): deactivated function till it is rewritten in
10410         the right mode, now it can create problems.
10411
10412         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10413         before accessing it.
10414
10415 2002-03-14  Juergen Vigna  <jug@sad.it>
10416
10417         * undo_funcs.C (textHandleUndo): do the right thing when updating
10418         the inset after the undo/redo.
10419
10420         * text2.C (setCursor): just some testcode for #44 not ready yet.
10421
10422         * undo_funcs.C (textHandleUndo): set the next() and previous()
10423         pointers of the paragraph to 0 before deleting otherwise we have
10424         problems with the Paragraph::[destructor].
10425
10426         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10427         on a paragraph insertion.
10428
10429 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * buffer.C (asciiParagraph): use += operator for char append to
10432         string.
10433
10434         * paragraph.C (getFontSettings): compare >= not just >
10435         (highestFontInRange): ditto
10436         (setFont): ditto
10437
10438 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * paragraph.C: change several algorithm to be more appripriate for
10441         the problem domain. This is lookip in FontList and in the InsetList.
10442
10443 2002-03-13  André Pönitz <poenitz@gmx.net>
10444
10445         * commandtags.h:
10446         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10447
10448 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * commandtags.h:
10451         * LyXAction.C:
10452         * lyxfunc.C:
10453         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10454
10455 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10456
10457         * Painter.C (display): anon helper function, adjust code for this
10458         change.
10459         (pixmap): remove function.
10460
10461         * Painter.h: remove private display variable.
10462
10463         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10464
10465 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10466
10467         * WorkArea.[Ch]: remove figinset_canvas cruft.
10468
10469 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * lyxtextclass.C (operator): add one item cache optimization.
10472
10473         * bufferlist.h: doxy changes
10474
10475         * bufferlist.C: ws changes
10476
10477         * DepTable.[Ch] (ext_exist): place const in the right spot.
10478
10479         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10480         call resizeInsets.
10481         (workAreaExpose): call resizeInsets when the with BufferView changes.
10482         (Dispatch): adjust for protectedBlank removal
10483         (specialChar): call updateInset if the insert went ok.
10484
10485         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10486         specialChar instead.
10487
10488         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10489
10490         * BufferView.h: doxy change
10491
10492         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10493
10494         * lyxtextclass.C (operator[]): remove non-const version
10495         (defaultLayout): remove non-const version
10496
10497 2002-03-12  Juergen Vigna  <jug@sad.it>
10498
10499         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10500         did resize the LyXText too.
10501
10502         * buffer.C (readLyXformat2): set layout information on newly allocated
10503         paragraphs.
10504
10505         * tabular.C (OldFormatRead): set layout information on the paragraph.
10506
10507 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10508
10509         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10510
10511 2002-03-11  Juergen Vigna  <jug@sad.it>
10512
10513         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10514         plainly wrong.
10515         (resizeCurrentBuffer): force also the insets to resize themselfes.
10516         (moveCursorUpdate): fixed up for InsetText.
10517
10518 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10519
10520         * commandtags.h:
10521         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10522         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10523         value of Dialogs::tooltipsEnabled().
10524         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10525
10526 2002-03-08  Juergen Vigna  <jug@sad.it>
10527
10528         * BufferView_pimpl.C (updateInset): update inset inside inset also
10529         if it isn't inside theLockingInset().
10530
10531 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10532
10533         * buffer.C (asciiParagraph): redo some of the word and line length
10534         handling.
10535         (getLists): look for Caption instead of caption.
10536
10537 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10538
10539         * buffer.C (Buffer): initialize niceFile to true
10540         (makeLaTeXFile):
10541         (makeLinuxDocFile):
10542         (makeDocBookFile): make sure niceFile is true on exit
10543
10544 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10547
10548 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * LyXSendto.C: remove.
10551         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10552         * lyx_gui.C: remove now-redundant comment.
10553         * ColorHandler.h: remove forward declaration of class WorkArea.
10554         * lyxfunc.C: remove #include "WorkArea.h".
10555
10556 2002-03-07  Juergen Vigna  <jug@sad.it>
10557
10558         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10559         got moved away with the DEPM and also set the inset_owner always
10560         right which before could have been omitted.
10561
10562 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10563
10564         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10565         wanted layout is not found.
10566
10567 2002-03-07  Juergen Vigna  <jug@sad.it>
10568
10569         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10570
10571 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * paragraph.C (breakParagraph): use default layout not layout of
10574         prev paragraph.
10575         (Paragraph): clear ParagraphParameters.
10576
10577 2002-03-06  Juergen Vigna  <jug@sad.it>
10578
10579         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10580         otherwise it would not be a valid lenght. Fixed a special case in
10581         the minipage compatibility read where we end the document with a
10582         minipage.
10583
10584         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10585         was set as it could be 0 for InsetTexts first entry.
10586
10587 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10588
10589         * paragraph.C (writeFile): if layout is empty write out
10590         defaultLayoutName().
10591
10592         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10593         file without named layout we set layout to defaultLayoutName().
10594
10595 2002-03-06  Juergen Vigna  <jug@sad.it>
10596
10597         * CutAndPaste.C (copySelection): set layout for new paragraph.
10598
10599         * text.C (prepareToPrint): leave ERT inset left aligned
10600         (leftMargin): don't indent paragraphs inside ERT insets
10601
10602 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * paragraph.C (breakParagraph): dont call clear do the work manually
10605
10606         * paragraph.[Ch] (clear): remove function
10607
10608 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * paragraph.C (Paragraph): dont call clear, the work has already
10611         been done.
10612
10613         * lyxtextclass.C (operator): assert if n is empty
10614
10615         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10616         work manually instead.
10617
10618 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * BufferView_pimpl.C: protect selectionLost against text == 0
10621
10622 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * text.C (breakParagraph): fix a setting layout to '0' problem.
10625
10626 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10627
10628         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10629         final location of file, for the included files, and graphics.
10630
10631 2002-03-05  Juergen Vigna  <jug@sad.it>
10632
10633         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10634
10635 2002-03-04  Juergen Vigna  <jug@sad.it>
10636
10637         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10638
10639         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10640         last column of multicolumn cells.
10641         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10642
10643 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10644
10645         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10646         file if it doesn't go to a temporary file.
10647
10648         * buffer.C (sgmlOpenTag):
10649         (sgmlCloseTag):  remove extra newline insertion.
10650
10651 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10652
10653         * text.C (getRowNearY): comment out debug msg
10654
10655 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10656
10657         * text2.C: first -> first_y
10658
10659         * text.C (getRowNearY): add some attemts at a possible
10660         optimization, not working.
10661
10662         * tabular.[Ch]: add BufferParams to several function so that newly
10663         created paragraph can be initialized to he default layotu for the
10664         buffers textclass.
10665
10666         * tabular-old.C (ReadOld): add buf->params to call of Init
10667
10668         * screen.C: rename text->first to text->first_y
10669
10670         * paragraph.C (breakParagraph): always set layout in the broken
10671         paragraph
10672
10673         * lyxtextclass.C (Read): remove lowercase
10674         (hasLayout): ditto
10675         (operator): ditto
10676         (delete_layout): ditto
10677
10678         * lyxtext.h: rename first -> first_y
10679
10680         * lyxlayout.C (Read): remove lowercase
10681         (name): ditto
10682         (setName): ditto
10683         (obsoleted_by): ditto
10684
10685         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10686
10687         * buffer.C (insertErtContents): add params are to InsetERT
10688         (parseSingleLyXformat2Token): add code to check if a paragraphs
10689         layout really exist.
10690         (parseSingleLyXformat2Token): add params to several inset
10691         constructors
10692         (asciiParagraph): remove lowercase, do the layout comparisons with
10693         no_case
10694
10695         * BufferView_pimpl.C (cursorNext): first -> first_y
10696         (resizeCurrentBuffer): first -> first_y
10697         (updateScrollbar): first -> first_y
10698         (scrollCB): first -> first_y
10699         (workAreaMotionNotify): first -> first_y
10700         (workAreaButtonPress): first -> first_y
10701         (checkInsetHit): first -> first_y
10702         (cursorPrevious): first -> first_y
10703         (cursorNext): first -> first_y
10704         (Dispatch): add buffer_->params to severl inset contructors
10705
10706 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * lyxlayout.C (Read): remove some debug info that I forgot.
10709
10710         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10711         clean up the code slightly.
10712         (makeLinuxDocFile): ditto
10713         (makeDocBookFile): ditto
10714
10715         * text2.C: layout as string
10716
10717         * text.C: layout as string
10718
10719         * paragraph_pimpl.C: layout as string
10720
10721         * paragraph.[Ch]: layout as string
10722
10723         * lyxtextclasslist.[Ch]: layout as string
10724
10725         * lyxtextclass.[Ch]: layout as string
10726
10727         * lyxtext.h: layout as string
10728
10729         * lyxlayout.[Ch]: layout as string
10730
10731         * lyx_cb.C: layout as string
10732
10733         * bufferview_funcs.C: layout as string
10734
10735         * bufferparams.C: layout as string
10736
10737         * buffer.C: layout as string
10738
10739         * LyXView.[Ch]: layout as string
10740
10741         * LaTeXFeatures.[Ch]: layout as string
10742
10743         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10744
10745         * BufferView_pimpl.C: change current_layout to string, remove
10746         lyx::layout_type.
10747         (Dispatch):
10748         (smartQuote):
10749         (insertInset):
10750         (workAreaButtonRelease): layout as string
10751
10752         * BufferView2.C (unlockInset): adjust
10753
10754         * vspace.C (asLatexCommand): use an explict temp variable.
10755
10756 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * Makefile.am: use FRONTEND_*
10759
10760 2002-03-01  Juergen Vigna  <jug@sad.it>
10761
10762         * tabular.C (SetWidthOfMulticolCell): changed to something better
10763         I hope but still work in progress.
10764         (recalculateMulticolumnsOfColumn): renamed function from
10765         recalculateMulticolCells as it is more appropriate now.
10766         (SetWidthOfCell): calculate multicols better.
10767
10768 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10769
10770         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10771
10772         * lyxfunc.C (processKeySym): print sequence also if it is
10773         `deleted' (complete)
10774
10775         * kbsequence.C (print): print sequence even if it is deleted
10776         (complete would be a better word, actually).
10777
10778         * lyxfunc.C (dispatch): print complete options after a prefix key
10779
10780         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10781
10782 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10783
10784         * text2.C (setCharFont): eliminate setCharFont code duplication.
10785
10786 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10789         LFUN_TABULAR_FEATURE (bug #177)
10790
10791 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10792
10793         * Makefile.am: remove figure.h
10794
10795 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10796
10797         * Bufferview_pimpl.C:
10798         * CutAndPasteC:
10799         * LaTeX.C:
10800         * LyXSendto.C:
10801         * buffer.C:
10802         * bufferlist.C:
10803         * converter.C:
10804         * language.C:
10805         * lyxfunc.C:
10806         * lyxvc.C:
10807         * paragraph.C:
10808         * text.C:
10809         * text2.C: remove #include "lyx_gui_misc.h".
10810
10811         * LaTeX.C: added #include <cstdio>
10812
10813 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10816         that the paragraph following this one can have.
10817
10818         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10819
10820         * vspace.C (asLatexCommand): fix bogus gcc warning
10821
10822         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10823
10824 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10825
10826         * text2.C (setLayout): get rid of redundant code
10827
10828 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10829
10830         * text2.C (incDepth): make sure depth cannot be increased beyond
10831         reasonable values.
10832
10833 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10834
10835         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10836         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10837
10838         * PainterBase.h (image):
10839         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10840         a LyXImage const *.
10841
10842 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * BufferView.C:
10845         * BufferView.h:
10846         * BufferView_pimpl.C:
10847         * BufferView_pimpl.h:
10848         * LaTeXFeatures.C:
10849         * LyXAction.C:
10850         * LyXView.C:
10851         * Makefile.am:
10852         * UpdateList.h:
10853         * UpdateList.C:
10854         * buffer.C:
10855         * figure.h:
10856         * figureForm.C:
10857         * figureForm.h:
10858         * figure_form.C:
10859         * figure_form.h:
10860         * lyx_cb.C:
10861         * lyx_gui.C:
10862         * lyx_gui_misc.C:
10863         * lyxfunc.C:
10864         * sp_base.h:
10865         * sp_ispell.h:
10866         * sp_pspell.h:
10867         * sp_spell.C: remove fig inset, and the crap house of
10868           cards that follows it
10869
10870 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * Makefile.am:
10873         * lyxserver.C:
10874         * os2_defines.h:
10875         * os2_errortable.h:
10876         * nt_defines.h: move .h into support/
10877
10878         * vms_defines.h: remove
10879
10880         * WorkArea.C: add space in debug output
10881
10882         * text2.C:
10883         * paragraph.C:
10884         * buffer.C: add WITH_WARNINGS
10885
10886         * vc-backend.h:
10887         * vc-backend.C:
10888         * bufferlist.C: s/retrive/retrieve/, add docs
10889
10890         * vspace.h:
10891         * vspace.C:
10892         * kbmap.h:
10893         * lyxlength.h:
10894         * lyxgluelength.h:
10895         * length_common.h:
10896         * chset.h:
10897         * chset.C: add docs
10898
10899         * lyxgui.C: add ID to X error handler
10900
10901         * lyxtestclass.c: fix typo
10902
10903 2002-02-26  Juergen Vigna  <jug@sad.it>
10904
10905         * tabular_funcs.C (write_attribute): changed so that some default
10906         attributes are not written at all.
10907         (getTokenValue): set default values before trying to read the
10908         value so we have the return value always set as default if we don't
10909         find the token we search for.
10910
10911         * tabular.C (Write): write bools as bools not as strings!
10912
10913 2002-02-22  Juergen Vigna  <jug@sad.it>
10914
10915         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10916         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10917
10918         * text.C (leftMargin): don't add an indent for paragraphs inside
10919         tabular cells (fix #208).
10920
10921 2002-02-21  José Matos  <jamatos@fep.up.pt>
10922
10923         * tabular.C (docBook): fixed support for long tables.
10924
10925 2002-02-20  Juergen Vigna  <jug@sad.it>
10926
10927         * text2.C (getFont): get the drawing font of the Inset if this
10928         paragraph is inside an inset (only important for InsetERT for now).
10929
10930         * buffer.C (insertErtContents): use new lanugage params in ERT
10931         constructor.
10932
10933         * CutAndPaste.C: commenting out seemingly uneeded code.
10934
10935 2002-02-19  Allan Rae  <rae@lyx.org>
10936
10937         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10938         Iterators might be simple to use but they also get invalidated.
10939         (removeAutoInsets): renamed saved cursor tracking variables and added
10940         some comments to clarify what everything does.
10941
10942 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * Chktex.C:
10945         * LaTeX.C:
10946         * LyXSendto.C:
10947         * converter.C:
10948         * lyx_cb.C:
10949         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10950         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10951
10952         * lyxfunc.C:
10953         * vc-backend.h: remove #include "support/syscall.h"
10954
10955         * LaTeX.C:
10956         * LyXSendto.C:
10957         * converter.C: rearrange #includes in Lars' approved fashion.
10958
10959         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10960         forward declare class Timeout in the header file.
10961
10962         * XFormsView.C: changes due to the above.
10963
10964         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10965         similar to LyXView.
10966
10967         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10968         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10969
10970 2002-02-18  José Matos  <jamatos@fep.up.pt>
10971
10972         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10973         insets contents.
10974
10975 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10976
10977         * a lot of small ws changes
10978         * add a lot of using std::XXX
10979         * use std construcs some places where approp.
10980         * use some exisint stuff from lyxfunctional where approp.
10981         * Make file changes to use partial linking (lets test this now...)
10982
10983 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10984
10985         * Chktex.C:
10986         * buffer.C:
10987         remove #include "support/syscontr.h" as it's redundant. Always has been.
10988
10989         * Chktex.C:
10990         * LaTeX.C:
10991         * LyXSendto.C:
10992         * converter.C:
10993         * lyx_cb.C:
10994         * vc-backend.C:
10995         change Systemcalls::System to Systemcalls::Wait and
10996         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10997         No change of functionality, just reflects the stripped down Systemcalls
10998         class.
10999
11000 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * debug.[Ch]: add a GRAPHICS type to the enum.
11003
11004 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11007
11008         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11009         there is an inset.
11010
11011 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11014         match the changes below.
11015
11016         * text2.C (toggleInset): if there is not editable inset at cursor
11017         position, try to see if cursor is _inside_ a collapsable inset
11018         and close it.
11019
11020 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11023         document menu has a nice checkbox
11024
11025 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * lyxlength.C (asLatexString): change PW to output as percent of
11028         \textwidth.
11029
11030         * lengthcommon.C: change '%' to 't%'
11031
11032         * lyxfunc.C (dispatch): a few comments from Martin
11033
11034 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * WorkArea.h:
11037         * WorkArea.C:
11038         * BufferView_pimpl.h:
11039         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11040           the X selection.
11041
11042 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * vspace.C (inPixels): fix compiler warning
11045
11046 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * lyxfunc.C (getStatus): fix status message for disabled commands.
11049
11050 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11051
11052         * BufferView_pimpl.C: fix crash on close buffer
11053         during selection (#227)
11054
11055 2002-01-27  Herbert Voss  <voss@lyx.org>
11056
11057         * buffer.C: link old Figure to new graphic inset
11058
11059 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11060
11061         * FontLoader.C (getFontinfo): Change the latex font names in order
11062         to match the names of type1inst.
11063
11064 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11067
11068         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11069         (extchanged): ditto
11070         (ext_exist): ditto
11071         (remove_files_with_extension): ditto
11072         (remove_file): ditto
11073         (write): ditto
11074
11075         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11076         document is smaller than the work area height. Do not initialize
11077         static variables to 0.
11078
11079 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11080
11081         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11082
11083         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11084         LFUN_LAYOUT_PARAGRAPHS.
11085
11086         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11087         tabular. It is possible to provide a possible cell, which will
11088         typically be the actcell from the corresponding insettabular
11089
11090         * lyxfunc.C (getStatus): small cleanup; disable
11091         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11092         true
11093
11094 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11097
11098         * paragraph.C (startTeXParParams):
11099         (endTeXParParams): new methods. The LaTeX code to
11100         start/end paragraph formatting
11101         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11102         empty (fixes bug #200)
11103
11104         * vspace.C (inPixels): adapt to the change below
11105         (inPixels): [later] more cleanups (remove unused variables)
11106
11107         * lyxlength.C (inPixels): change to use a width and a height as
11108         parameter.
11109
11110 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11111
11112         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11113         Replaced with \paperwidth
11114
11115         * DepTable.C (insert): add std:: qualifier
11116
11117 2002-01-18  Allan Rae  <rae@lyx.org>
11118
11119         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11120         updated also?
11121
11122         * text.C (drawInset): Turned out I didn't know enough about how
11123         rebreaking worked.  This fixes most of the redraw problems.  I see
11124         an occasional cursor trail when a line is broken now and the cursor
11125         placement can seem out by a few pixels also after a rebreak.
11126
11127 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * buffer.C (parseSingleLyXformat2Token): update because minipage
11130         width is now a LyXLength
11131
11132         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11133
11134         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11135         math insets
11136
11137 2002-01-17  Juergen Vigna  <jug@sad.it>
11138
11139         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11140
11141         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11142         is set correctly and the inset is updated correctly.
11143
11144 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11145
11146         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11147         the beginning of the loop.
11148
11149 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * lyxrc.C: improve help for use_scalable_fonts
11152
11153 2002-01-17  Allan Rae  <rae@lyx.org>
11154
11155         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11156
11157 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11158
11159         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11160         make sure to set their inset_owner to the right value (bug #171)
11161
11162 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11163
11164         * DepTable.h
11165         * DepTable.C: Implement mtime checking to reduce time spent doing
11166         CRCs.
11167
11168 2002-01-16  Juergen Vigna  <jug@sad.it>
11169
11170         * tabular.C (GetAdditionalHeight): one of error fixed.
11171
11172         * lyxrc.C (output): small fix in writing use_pspell.
11173
11174 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11175
11176         * sp_base.h: #include LString.h
11177
11178 2002-01-16  Allan Rae  <rae@lyx.org>
11179
11180         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11181         Can someone check this please?
11182
11183         * text.C (drawInset): It was possible that p.row would be removed by
11184         breakAgainOneRow upsetting a few other settings.  There may be another
11185         small tweak possible by setting need_break_row = 0 when p.row has been
11186         removed but I don't know enough about the logic here.
11187
11188 2002-01-15  Allan Rae  <rae@lyx.org>
11189
11190         * text.C (insertChar): removed conditional truism.
11191
11192         * BufferView2.C (removeAutoInsets): More tweaks.
11193         cur_par_prev could be a stray pointer.  Check for trailing empty line
11194         in case last line was cur_par and only had an error inset on it.
11195
11196 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11199         absolute
11200
11201         * vc-backend.C (most methods):
11202         * exporter.C (Export):
11203         * converter.C (convert):
11204         (runLaTeX):
11205         * LyXSendto.C (SendtoApplyCB):
11206         * lyxfunc.C (dispatch):
11207         (menuNew):
11208         (open):
11209         (doImport):
11210         * lyx_cb.C (AutoSave):
11211         (InsertAsciiFile):
11212         * BufferView_pimpl.C (MenuInsertLyXFile):
11213         * buffer.C (runChktex): use Buffer::filePath().
11214
11215         * buffer.h: rename filename to filename_; rename filepath to
11216         filepath_ and make it private
11217         (filePath): new method
11218
11219         * buffer.C (writeFile): use fileName()
11220         (getLatexName):
11221
11222         * lyx_main.C (init): fix starting  of LyX when the binary is a
11223         link from so,ewhere else.
11224
11225         * minibuffer.C: include <cctype> for isprint
11226
11227 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11228
11229         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11230         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11231         name clash with InsetCollapsable's width function.
11232
11233 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11234
11235         * lastfiles.C: include <iterator>
11236
11237 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11238
11239         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11240         std::count.
11241
11242         * buffer.C (makeLaTeXFile): ditto.
11243         Also make loop operation more transparent.
11244
11245 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11246
11247         * ToolbarDefaults.C: remove trailing comma closing namespace.
11248
11249         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11250
11251         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11252         as in WorkArea.
11253
11254         * trans.C (Load): comment out unused variable, allowed.
11255
11256 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11257
11258         * minibuffer.[Ch] (append_char): new method to recieve input from the
11259         drop-down completion browser. If a key was pressed, then recieve this
11260         char and append it to the existing string.
11261         (peek_event): modify the positioning data passed to the completion
11262         browser so that it can be placed above the minibuffer rather than below.
11263 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * LyXAction.C (init): alloe error-next for readonly documents.
11266
11267         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11268         count.
11269
11270 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11271
11272         * bufferlist.C (readFile): create the buffer _after_ checking that
11273         the file exists.
11274
11275         * lyxfunc.C (verboseDispatch): fix handling of arguments
11276
11277         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11278
11279         * lyxrc.C: use string::erase() instead of initializing to "".
11280
11281
11282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.h:
11285         * BufferView_pimpl.C:
11286         * WorkArea.h:
11287         * WorkArea.C:
11288         * text2.C: tell X when we have made a selection for copying
11289
11290 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * BufferView_pimpl.C (MenuInsertLyXFile):
11293         * lyxfunc.C (menuNew):
11294         (open):
11295         (doImport): add shortcuts to directory buttons
11296
11297         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11298         open a float)
11299
11300         * lyxfunc.C (setStatusMessage):
11301         (getStatusMessage): new methods
11302         (getStatus):use setStatusMessage instead of setErrorMessage
11303         (dispatch): when function is disabled, set error message here
11304         [instead of in getStatus previously]
11305
11306         * BufferView_pimpl.C (workAreaButtonRelease): update
11307         toolbar/menubar here too.
11308
11309 2002-01-13  Allan Rae  <rae@lyx.org>
11310
11311         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11312         Now seems indestructible.  Remaining task is to audit all other
11313         code affected by deleteEmptyParagraphMechanism.  One small quirk
11314         left is that an empty document with an error in the preamble can
11315         be made to report an error but no error box appears.  I don't know
11316         where it goes.
11317         (removeAutoInsets): Improved comments.
11318
11319 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * Thesaurus.h:
11322         * Thesaurus.C: update for Aiksaurus 0.14
11323
11324 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * text2.C (firstParagraph): removed member function, all uses
11327         replaces with ownerParagraph
11328         (redoParagraphs): here
11329         (updateInset): here
11330         (toggleAppendix): here
11331         * BufferView2.C (insertErrors): here
11332         (setCursorFromRow): here
11333
11334 2002-01-13  Allan Rae  <rae@lyx.org>
11335
11336         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11337         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11338         There is still a way to segfault this although you may have to do this
11339         multiple times: Have an InsetERT with an unknown command in it.
11340         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11341         <down-arrow>, <Enter> again, View->DVI, BANG!
11342
11343         * text2.C (setCursor):
11344         (deleteEmptyParagraphMechanism):
11345         * lyxtext.h (setCursor):
11346         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11347         Making use of the return value may help fix other bugs.
11348
11349 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11352
11353         * LyXView.C (updateMenubar): call MenuBar::update here
11354         (updateToolbar): but not here
11355         (showState): do not update toolbar/menubar
11356
11357         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11358         should need to care about that.
11359
11360         * lyxfunc.C (verboseDispatch): simplify a bit
11361         (getStatus): have a version which takes a pseudoaction, and
11362         another which requires a (kb_action,string).
11363
11364         * LyXAction.C (retrieveActionArg): make it work also when action
11365         is not a pseudo-action.
11366         (getActionName): simplify a bit
11367         (helpText):
11368
11369 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * lyxfunc.C (verboseDispatch): new families of methods with
11372         several ways to specify a command and a bool to indicate whether
11373         the command name and shortcut should be displayed in minibuffer
11374         (eventually, we could extend that to a finer bitmask like
11375         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11376         (dispatch): the pristine dispatch command which just, well,
11377         dispatchs! Note it still sets its result to minibuffer; I'm not
11378         sure we want that.
11379
11380         * lyxfunc.h: remove setHintMessage
11381
11382         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11383
11384 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11385
11386         * BufferView_pimpl.C (specialChar): delete new inset if we have
11387         not been able to insert it.
11388
11389         * kbmap.C: revert to using int instead of kb_action, since all we
11390         are dealing with is pseudo-actions.
11391
11392         * LyXAction.C (searchActionArg): change to return int instead of
11393         kb_action, since the result is a pseudoaction.
11394
11395 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11396
11397         * buffer.C (insertErtContents): Fix (partially) the font bug.
11398
11399 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11400
11401         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11402         as the other one is broken on my machine!
11403
11404 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11405
11406         * commandtags.h:
11407         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11408
11409 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11412         reflect their actual use. Provide compatibility code for older lyxrc
11413         files.
11414
11415         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11416         FL_NORMAL_STYLE.
11417         change names of popup font variables in line with the changes to lyxrc.C
11418
11419 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * buffer.C (asciiParagraph): avoid outputing a word twice after
11422         an inset.
11423
11424         * lyxrc.C (getDescription): document that document_path and
11425         template_path can be empty.
11426
11427 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * LaTeXFeatures.C (getMacros):
11430         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11431
11432         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11433
11434         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11435         getPackages.
11436         (getPackages): rename feature "floats" to "float". Use an array to
11437         iterate over 'simple' features (i.e. just a \usepackage). Add
11438         handling of "amsmath" (renamed from "amsstyle").
11439
11440 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11441
11442         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11443         features list.
11444
11445 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11448         FuncStaus::FuncStatus & FuncStaus::some_method().
11449
11450 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11451
11452         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11453         of the func_satus stuff. Edited and massaged in various ways by
11454         JMarc.
11455
11456         * lyxfunc.C (getStatus): use FuncStatus
11457
11458 2002-01-08  Juergen Vigna  <jug@sad.it>
11459
11460         * text.C (nextBreakPoint): use function Inset::isChar().
11461
11462         * paragraph.C (TeXOnePar): use function
11463         Inset::forceDefaultParagraphs.
11464
11465         * buffer.C (latexParagraphs): use function
11466         Inset::forceDefaultParagraphs.
11467
11468 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11469
11470         * lyx_gui.C (init): set the style of the menu popups to
11471         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11472
11473 2002-01-07  Juergen Vigna  <jug@sad.it>
11474
11475         * text.C (setHeightOfRow): small fix
11476         (prepareToPrint): don't look at alignment if we don't have the place
11477         for doing it.
11478
11479 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11480
11481         * box.C: New file. Move the Box methods and functions out of box.h,
11482         following Lars' suggestion.
11483
11484 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11485
11486         * box.h: #include "support/LOstream.h", needed for inlined function.
11487
11488         * lyxtextclass.C:
11489         * lyxtextclasslist.C: added some using std declarations.
11490
11491 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * box.h: make signed dimensions to allow insets wider than
11494           the screen (bug #162)
11495
11496         * BufferView_pimpl.C: add some insetHit debug
11497
11498 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * vc-backend.C: add FIXME
11501
11502 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11503
11504         * lyxfunc.C (getStatus): enable code for showing math font status
11505         in toolbar/menu.
11506
11507 2002-01-07  Juergen Vigna  <jug@sad.it>
11508
11509         * text.C (nextBreakPoint): removed debug output not needed anymore.
11510
11511 2002-01-06  Juergen Vigna  <jug@sad.it>
11512
11513         * text.C (nextBreakPoint): fixed up this function we had this bug
11514         since ever but now hopefully we break row better.
11515         (insertChar): we have to check if an inset is the next char as it
11516         could now happen that a large inset is causing a break.
11517
11518 2002-01-05  Juergen Vigna  <jug@sad.it>
11519
11520         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11521         if it doesn't like to be drawed.
11522
11523 2002-01-04  Juergen Vigna  <jug@sad.it>
11524
11525         * BufferView2.C (lockInset): forgot to set a cursor.
11526
11527         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11528
11529 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11530
11531         * FormMathsPanel.C:
11532         * FormMathsPanel.h
11533         * MathsSymbols.C:
11534         * form_maths_panel.C:
11535         * form_maths_panel.h:
11536         * form_maths_panel.fd: implemented sub- and super- buttons in math
11537         panel.
11538
11539         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11540         (or ^ space) to be used as in TeX (req'd by André).
11541
11542         * lyxfunc.C: Allow ^ and _ again to be used both as
11543         super/subscript (mathed) and as themselves (in text).
11544
11545 2002-01-03  Allan Rae  <rae@lyx.org>
11546
11547         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11548         "LyX" or the filename of the current buffer if it has one.  This is a
11549         modified form of John Levon's patch.
11550
11551         * XFormsView.C (setWindowTitle): also set icon title.
11552
11553         * LyXView.h (setWindowTitle): signature changed.
11554         * XFormsView.h (setWindowTitle): ditto.
11555
11556 2002-01-02  Juergen Vigna  <jug@sad.it>
11557
11558         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11559
11560 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * screen.C (topCursorVisible): introduce a temp var for
11563         text->cursor.row(), handle the case where this row is null. (kindo
11564         hachish)
11565
11566         * text2.C (setCursor): add a couple of asserts.
11567
11568         * paragraph.h (inset_iterator): add -> operator
11569
11570         * paragraph.[Ch] (autoDeleteInsets): remove member function
11571
11572         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11573         cursor pos correctly and handle inset deletion by itself.
11574         (insertErrors): move iterator declaration out of for expression
11575
11576         * lyxtextclass.C: add <algorithm>
11577
11578         * Makefile.am: added the new files to sources, removed layout.C
11579
11580         * layout.C: removed file
11581
11582         * layout.h: remove LYX_DUMMY_LAYOUT
11583
11584         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11585         layout.
11586
11587         * lyxlayout.[Ch]:
11588         * lyxtextclass.[Ch]:
11589         * lyxtextclasslist.[Ch]: new files
11590
11591         * include order changes to a lot of files, also changes because of
11592         the six new files.
11593
11594 2001-12-27  Juergen Vigna  <jug@sad.it>
11595
11596         * buffer.C (asciiParagraph): more fixes.
11597
11598         * tabular.C (ascii): make ascii export support export of only the
11599         data separated by a column-delimiter.
11600         (ascii): better support for ascii export.
11601
11602         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11603
11604 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11605
11606         * tabular_funcs.C: use a "using std::getline" instead of the
11607         previous fix from Angus (necessary for cxx + lyxstring)
11608
11609 2001-12-24  Juergen Vigna  <jug@sad.it>
11610
11611         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11612
11613         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11614         problems. First check a minipage also if we have some ert-contents
11615         (not only on par->size(), second set the right depth of the paragraph
11616         on the relink to the root-paragraph-list!
11617
11618         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11619         which then did not anymore update the main paragraphs on undo/redo!
11620
11621 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11622
11623         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11624         code. Support all font-changing funcs (even those which are not in
11625         menu currently). Support for reporting font settings in
11626         mathed (disabled until Andre provides a function on mathed's side).
11627
11628         * func_status.h (toggle): small helper function to set toggle
11629         state on a flag.
11630
11631 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * tabular_funcs.C: getline -> std::getline
11634
11635 2001-12-21  Juergen Vigna  <jug@sad.it>
11636
11637         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11638         accessed and could be 0 (I couldn't generate this but it seems
11639         Michael could!).
11640
11641 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11644         * tabular_funcs.h: here and include iosfwd
11645
11646 2001-12-20  Juergen Vigna  <jug@sad.it>
11647
11648         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11649         inside inset but undo_par was.
11650
11651 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * Thesaurus.C: always include <config.h> in sources.
11654
11655         * Painter.h:
11656         * lyxlookup.h:
11657         * box.h: do not include <config.h> in header files
11658
11659         * text.C (paintLastRow): remove unused variable
11660
11661         * text.C (transformChar):
11662         (insertChar):
11663         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11664
11665         * Painter.C (text):
11666         * font.C (width): rewrite to use uppercase() instead of
11667         islower/toupper.
11668
11669         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11670
11671 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * lyxfind.C: clean up of find failure position change
11674
11675 2001-12-20  Juergen Vigna  <jug@sad.it>
11676
11677         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11678
11679         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11680         (TeXRow): added to LaTeX a single tabular row.
11681         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11682         (Latex): simplified and finally good LT-h/f support.
11683         (various_functions): just small adaptions for LT-h/f support.
11684
11685         * tabular_funcs.[hC]: added and moved here all not classfunctions
11686         of LyXTabular.
11687
11688 2001-12-19  Juergen Vigna  <jug@sad.it>
11689
11690         * tabular.[Ch]: better support for longtabular options (not finished
11691         yet!)
11692
11693 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11694
11695         * text.C (paintLastRow): use the label font instead of the font of
11696         the last character to compute the size of *_BOX. This makes more
11697         sense and avoids a crash with empty paragraphs.
11698         Use Painter::rectangle to draw EMPTY_BOX.
11699
11700 2001-12-19  Juergen Vigna  <jug@sad.it>
11701
11702         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11703         the paragraphs if the replaced paragraph is not the first one!
11704         Tried to delete not used paragraphs but does not work yet so for
11705         now it's inside #ifdef's and by default off!
11706
11707 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * MenuBackend.C: include "lyx_main.h" instead of declaring
11710         lastfiles (actually was declared as LastFiles* instead of a
11711         scoped_ptr).
11712
11713 2001-12-17  Juergen Vigna  <jug@sad.it>
11714
11715         * tabular.C (AppendColumn): applied John's fix
11716
11717 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * BufferView.h:
11720         * BufferView.C:
11721         * BufferView_pimpl.h:
11722         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11723
11724         * Makefile.am:
11725         * box.h: new start of class for above
11726
11727         * lyxfunc.C: ignore space-only minibuffer dispatches.
11728           Show the command name when it doesn't exist
11729
11730         * minibuffer.C: don't add empty lines to the history
11731
11732         * minibuffer.C: add a space on dropdown completion
11733
11734 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * text.C: fix line above/below drawing in insets
11737
11738 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11739
11740         * lyxlength.C (LyXLength): Initialize private variables.
11741
11742 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11743
11744         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11745         when inserting error insets.
11746
11747 2001-12-13  Juergen Vigna  <jug@sad.it>
11748
11749         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11750         actually sometimes the before-paragraph.
11751         (setUndo): don't clear the redostack if we're not actually undoing!
11752
11753 2001-12-06  Juergen Vigna  <jug@sad.it>
11754
11755         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11756         and fixed redoing of main paragraph, so we can use it now ;)
11757
11758         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11759
11760 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11763         Juergen's request
11764
11765 2001-12-13  André Pönitz <poenitz@gmx.net>
11766
11767         * undostack.[Ch]:
11768         * undo_func.C: minor cleanup
11769
11770 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11773         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11774         font in urw-fonts package which is marked as -urw-fontspecific and
11775         does not work (incidentally, changing the encoding in the
11776         fonts.dir of this package to -adobe-fontspecific fixes the
11777         problem).
11778
11779         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11780         is a crash when undoing first paragraph (Juergen, please take a
11781         look). THis does not mean the undo fix is wrong, just that it
11782         uncovers problems.
11783
11784         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11785         the (Paragraph*) version when needed instead of duplicating the
11786         code.
11787
11788         * text.C (workWidth): use Inset::parOwner to find out where the
11789         inset has been inserted. This is a huge performance gain for large
11790         documents with lots of insets. If Inset::parOwner is not set, fall
11791         back on the brute force method
11792
11793         * paragraph_pimpl.C (insertInset):
11794         * paragraph.C (Paragraph):
11795         (cutIntoMinibuffer): set parOwner of insets when
11796         inserting/removing them
11797
11798         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11799
11800 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11801
11802         * commandtags.h:
11803         * LyXAction.C:
11804         * lyx_main.C:
11805         * lyxfunc.C:
11806         * mathed/formulabase.C:
11807         * mathed/math_cursor.[Ch]:
11808         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11809
11810
11811 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11812
11813         * lyxlength.[Ch] (operator!=): new function
11814
11815 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * text.C (workWidth): use Inset::parOwner to find out where the
11818         inset has been inserted. This is a huge performance gain for large
11819         documents with lots of insets. If Inset::parOwner is not set, fall
11820         back on the brute force method
11821
11822         * paragraph_pimpl.C (insertInset):
11823         * paragraph.C (Paragraph):
11824         (cutIntoMinibuffer): set parOwner of insets when
11825         inserting/removing them
11826
11827         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11828
11829 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11830
11831         * tabular-old.C (getTokenValue):
11832         * tabular.C (getTokenValue):
11833         (write_attribute): new versions for LyXLength
11834         (everywhere): adjust the use of widths
11835
11836         * tabular.h: change the type of widths from string to LyXLength
11837
11838 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11839
11840         * paragraph.C: fixed missing line number count when exporting
11841         Environments to LaTeX file
11842
11843         * buffer.C: added informational message for checking line numbers.
11844
11845 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11848         paragraph, do the 'double space' part, but not the 'empty
11849         paragraph' one.
11850
11851         * text.C (workWidth): small optimization
11852         (getLengthMarkerHeight): use minimal size for negative lengths.
11853
11854 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11855
11856         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11857
11858         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11859
11860 2001-12-11  André Pönitz <poenitz@gmx.net>
11861
11862         * FontLoader.C:
11863         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11864
11865 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * text2.C: keep selection on a setFont()
11868
11869 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * lyx_cb.C: another bv->text misuse, from insert label
11872
11873 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * kbsequence.h:
11876         * kbsequence.C: re-instate nmodifier mask
11877
11878 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * lyx_main.h: make lyxGUI private.
11881
11882 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * lyxfind.C: place the cursor correctly on failed search
11885
11886 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * text.C (getLengthMarkerHeight): for small heights, the arrows
11889         are not always on top/bottom of the text
11890         (drawLengthMarker): smaller arrows; take the left margin in
11891         account; draw also vfills.
11892         (paintFirstRow):
11893         (paintLastRow): remove special code for vfill and standard spaces,
11894         since everything is handled in drawLengthMarker now.
11895
11896 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * buffer.C (insertErtContents): try to handle font and language
11899         interaction a bit better.g
11900
11901         * ColorHandler.C (updateColor): change the hash to cover the whole
11902         LColor enum, ws cleanup
11903         (getGCLinepars): ditto
11904         (getGCLinepars): only lookup in the linecache once.
11905
11906 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11907
11908         * iterators.C (operator++): Make the iterator more robust
11909
11910         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11911         (John's patch)
11912         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11913
11914 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyxtext.h:
11917         * text.C: better added space drawing
11918
11919 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * LyXView.C:
11922         * BufferView2.C: fix layout combo update on inset unlock
11923
11924 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * Makefile.am: don't compile unused files
11927
11928 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11929
11930         * lyxfunc.C:
11931         * commandtags.h:
11932         * LyXAction.C: remove old LFUN_LAYOUTNO
11933
11934 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * paragraph_pimpl.h:
11937         * paragraph_pimpl.C: isTextAt() doesn't need font param
11938
11939 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyxlex.h:
11942         * lyxlex.C: little cleanup
11943
11944 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * BufferView_pimpl.C: fix insertAscii for insets
11947
11948 2001-12-05  Juergen Vigna  <jug@sad.it>
11949
11950         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11951         set the right font on the "multi" paragraph paste!
11952
11953 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * trans_decl.h:
11956         * trans_mgr.[Ch]:
11957         * trans.[Ch]:
11958         * lyxgluelength.C:
11959         * lyxlength.C: remove out-commented code.
11960
11961         * BufferView_pimpl:
11962         * CutAndPaste.C:
11963         * DepTable.C:
11964         * buffer.C:
11965         * chset.C:
11966         * lastfiles.C:
11967         * lyxlex.C:
11968         * lyxlex_pimpl.C:
11969         * lyxserver.C:
11970         * screen.C:
11971         * tabular-old.C:
11972         * tabular.C:
11973         * text.C:
11974         * trans_mgr.C:
11975         * vc-backend.C: change "while(" to "while ("
11976
11977         * lyxlength.[Ch]: add zero function to check if length is zero or
11978         not
11979         * lyxgluelength.C: use it
11980
11981 2001-12-05  Allan Rae  <rae@lyx.org>
11982
11983         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11984         Works for 2.95.3, from what I understand of Garst's reports this should
11985         work for other g++ versions.  We're screwed if the abs(int) definition
11986         changed between bugfix releases of gcc.
11987
11988 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11989
11990         * text.C: fix chapter label offset !
11991
11992 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * lyxtext.h:
11995         * text.C: fix hfill at end of line, clean up
11996
11997 2001-12-04  Juergen Vigna  <jug@sad.it>
11998
11999         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12000         that we force an update of the inset and it's owners if neccessary.
12001
12002 2001-12-03  Juergen Vigna  <jug@sad.it>
12003
12004         * text.C (rowLast): simplified code
12005
12006 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * lyxfunc.C: fix show options on timeout
12009
12010 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * screen.C (topCursorVisible): scroll half a page when the cursor
12013         reached top of bottom of screen
12014
12015 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * minibuffer.C: deactivate on loss of focus
12018
12019 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * vspace.[Ch] (operator!=): add operator.
12022
12023 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * BufferView_pimpl.C: refuse to open an inset when
12026         there's a selection.
12027
12028 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12029
12030         * BufferView_pimpl.C: allow to click on RHS of full row insets
12031
12032 2001-11-30  Juergen Vigna  <jug@sad.it>
12033
12034         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12035         insets for undo reasons.
12036
12037 2001-11-28  André Pönitz <poenitz@gmx.net>
12038
12039         * vspace.[Ch]: cosmetical changes
12040
12041 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * LyXAction.h:
12044         * LyXAction.C:
12045         * lyxfunc.h:
12046         * lyxfunc.C:
12047         * kbmap.h:
12048         * kbmap.C:
12049         * lyxrc.C:
12050         * kbsequence.h:
12051         * kbsequence.C: part re-write of old kb code
12052
12053         * Painter.C:
12054         * WorkArea.C: remove Lgb_bug_find_hack
12055
12056 2001-11-30  José Matos <jamatos@fep.up.pt>
12057
12058         * buffer.C (makeDocBookFile): add a comment to point a hack.
12059         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12060         Fixed a double write of labels.
12061
12062 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12063
12064         * LaTeX.C:
12065         * LaTeX.h Fixed bug in LaTeX class where it would not
12066         re-run latex if no depfiles were changed, but the .dvi was removed.
12067
12068 2001-11-28  André Pönitz <poenitz@gmx.net>
12069
12070         * all the files from the change on 2001/11/26:
12071         use lyx::layout_type instead of LyXTextClass::size_type
12072         use lyx::textclass_type instead of LyXTextClassList::size_type
12073
12074 2001-11-29  Juergen Vigna  <jug@sad.it>
12075
12076         * text.C: added support for paragraph::isFreeSpacing()
12077
12078         * buffer.C: same as above
12079
12080         * paragraph.h: inserted isFreeSpacing() function to enable
12081         FreeSpacing inside InsetERT.
12082
12083         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12084         of the paragraph's in the cut/copy buffer to 0!
12085
12086         * text2.C (removeRow): remove the assert as it can!
12087
12088         * lyxtext.h: added helper function firstRow returning firstrow and
12089         made firstrow private again.
12090
12091         * BufferView2.C (lockInset): don't relock if we're already locked!
12092
12093         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12094         the only paragraph.
12095         (removeRow): added Assert::(firstrow)
12096
12097         * debug.C: forgot to add INSETTEXT here.
12098
12099 2001-11-28  Juergen Vigna  <jug@sad.it>
12100
12101         * sp_spell.C (initialize): changed error text to more general
12102         spellchecker command use (not only ispell!)
12103
12104         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12105
12106         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12107
12108 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * vspace.C: initialise lyxgluelength on failure
12111
12112 2001-11-28  Allan Rae  <rae@lyx.org>
12113
12114         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12115         declaration & definition that looks like a function declaration.
12116
12117 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * BufferView2.C (copy):
12120         (copyEnvironment): do not clear the selection when doing a copy.
12121
12122         * text.C (paintFirstRow): compilation fix
12123
12124 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12125
12126         * tabular.C (Latex): correct line count when writing latex.
12127
12128 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * paragraph_pimpl.h:
12131         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12132           bug a bit
12133
12134 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * text.C:
12137         * LColor.h:
12138         * LColor.C: change vfillline->added_space
12139
12140         * text.C: add markers and text for added space
12141
12142         * vspace.C: fix comment
12143
12144 2001-11-28  André Pönitz <poenitz@gmx.net>
12145
12146         * paragraph.C: whitespace changes
12147         * all the other files from the change on 2001/11/26:
12148         change *::pos_type into lyx::pos_type
12149
12150 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12151
12152         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12153         language of the document when inserting error insets.
12154
12155 2001-11-26  André Pönitz <poenitz@gmx.net>
12156
12157         * BufferView_pimpl.[Ch]:
12158         *       CutAndPaste.C:
12159         * buffer.[Ch]:
12160         * lyxcursor.[Ch]:
12161         * lyxfind.C:
12162         * lyxfunc.C:
12163         * lyxrow.[Ch]:
12164         * paragraph.[Ch]:
12165         * paragraph_pimpl.[Ch]:
12166         * sp_spell.C:
12167         * text.C:
12168         * text2.C: reduce header dependencies, introduce type for positions
12169
12170 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * <various>: change to use Alert.h
12173
12174 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12175
12176         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12177         when encountering an unknown token.
12178         (readLyXformat2): Show an error message if there were unknown tokens.
12179
12180 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * BufferView2.C:
12183         * BufferView_pimpl.C:
12184         * buffer.C:
12185         * paragraph.h:
12186         * text.C:
12187         * text2.C: use par->isInset()
12188
12189 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * paragraph_pimpl.h:
12192         * paragraph_pimpl.C: cleanup
12193
12194 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12195
12196         * text2.C (removeRow):
12197         * text.C (setHeightOfRow): remove useless (and costly) call to
12198         getRow.
12199
12200 2001-11-20  Allan Rae  <rae@lyx.org>
12201
12202         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12203         Now need Inset*::checkInsertChar() to return true for appropriate
12204         cases so that the characters in the minibuffer will actually be
12205         inserted.
12206
12207 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12208
12209         * text.C: change the order of the includes.
12210         (workWidth): initialize it at once.
12211         (workWidth): make maxw unsigned
12212         (setHeightOfRow): remove unused variable (inset)
12213         (selectSelectedWord): remove unused variable (inset)
12214         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12215
12216 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12219         server is not running.
12220         (openConnection):
12221         (closeConnection): add debug info when server is disabled.
12222
12223         * ColorHandler.C (getGCForeground): send debug message to GUI
12224         channel.
12225
12226         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12227
12228         * kbmap.C (bind): modify because return conventions of
12229         kb_sequence::parse have changed.
12230
12231         * kbsequence.C (parse): only ignore spaces and not any stupid
12232         control character. This avoids tests like s[i] <= ' ', which are
12233         guaranteed to fail with 8bit characters and signed chars.
12234         Change return code to string::npos when there have been no error
12235         (0 was a bad idea when error is at first character)
12236
12237 2001-11-14  José Matos  <jamatos@fep.up.pt>
12238
12239         * buffer.h:
12240         * buffer.C (simpleDocBookOnePar): removed unused argument.
12241
12242 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12243
12244         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12245         insets which are part of a word. Paragraph::isLetter takes care of
12246         that now. Use Paragraph::isInset to identify insets.
12247         (selectSelectedWord): do not test for hyphenation break.
12248
12249         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12250         that protected spaces are considered as spaces.
12251
12252         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12253         Inset::isLetter.
12254
12255 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * lyxserver.h:
12258         * lyxserver.C: fix it. and small cleanup.
12259
12260 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * BufferView_pimpl.C: use inline helpers
12263
12264         * LaTeXFeatures.h:
12265         * LaTeXFeatures.C: fix typos
12266
12267         * Spacing.h:
12268         * Spacing.C: move spacing_string into class
12269
12270         * ToolbarDefaults.C: move stuff into namespace anon
12271
12272         * layout.h: update enum
12273
12274         * lyxfunc.C: use better debug
12275
12276         * minibuffer.h: fix typo
12277
12278         * debug.h:
12279         * debug.C:
12280         * WorkArea.C: add and use Debug::WORKAREA
12281
12282         * lyxtext.h:
12283         * text.C:
12284         * text2.C: code re-organisation, inline helpers
12285
12286 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12287
12288         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12289         std::vector.empty().
12290
12291 2001-11-09  Allan Rae  <rae@lyx.org>
12292
12293         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12294         '\n's after tables.  Tabular and ERT inset work now makes this no
12295         longer necessary.
12296
12297 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * minibuffer.h:
12300         * minibuffer.C: fix crash, improve drop-down completion
12301
12302 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * lyxserver.h:
12305         * lyxserver.C: invalidate fd's when doing endPipe()
12306
12307 2001-11-08  José Matos  <jamatos@fep.up.pt>
12308
12309         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12310         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12311
12312         * paragraph.h:
12313         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12314
12315 2001-11-07  José Matos  <jamatos@fep.up.pt>
12316
12317         * buffer.h:
12318         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12319         const qualifier.
12320
12321         * buffer.C (sgmlOpenTag):
12322         * buffer.C (sgmlCloseTag): removed debug info.
12323
12324         * buffer.h (sgmlOpenTag):
12325         * buffer.h (sgmlCloseTag): made public.
12326
12327 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * buffer.C (saveParamsAsDefaults):
12330         * lyx_cb.C (MenuLayoutSave): remove
12331
12332         * LyXAction.C (init):
12333         * commandtags.h:
12334         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12335
12336 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12337
12338         * buffer.C (setPaperStuff): removed from here...
12339
12340         * bufferparams.C (setPaperStuff): ... and moved there.
12341
12342 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12343
12344         * minibuffer.h:
12345         * minibuffer.C:
12346         * XFormsView.C: add support for drop-down completion
12347
12348 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12351         commands.
12352
12353 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12354
12355         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12356         disabled.
12357
12358 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * lyx_main.C: change ref to known bugs
12361
12362 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12363
12364         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12365         to work around older babel problems.
12366
12367 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12368
12369         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12370
12371 2001-10-24  Juergen Vigna  <jug@sad.it>
12372
12373         * tabular-old.C (ReadOld): below variable changes reflected.
12374
12375         * tabular.[Ch]: added ltType struct for longtable header/footer
12376         defines and changed all instances where they are used. Added
12377         future support for double top/bottom rows.
12378
12379 2001-10-24  José Matos  <jamatos@fep.up.pt>
12380
12381         * buffer.h (docbookHandleCaption):
12382         * buffer.C (docbookHandleCaption): removed unused function.
12383         (makeDocBookFile): moved docbook supported version to v4.1.
12384
12385 2001-10-24  José Matos  <jamatos@fep.up.pt>
12386
12387         * tabular.h:
12388         * tabular.C (docbookRow): new function to export docbook code of a row.
12389         (DocBook): now honors the longtable flags.
12390
12391 2001-10-23  José Matos  <jamatos@fep.up.pt>
12392
12393         * LaTeXFeatures.h:
12394         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12395         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12396
12397         * buffer.C (makeLinuxDocFile):
12398         (makeDocBookFile): reworked the preamble, more clean, and with
12399         support for lyx defined entities. Changed the document declaration
12400         to be more XML friendly.
12401
12402         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12403         if we need to output XML that should be done with a filter.
12404
12405 2001-10-22  Juergen Vigna  <jug@sad.it>
12406
12407         * sp_pspell.h (class PSpell): add alive function needed in the
12408         controller to see if the spellchecker could be started.
12409
12410 2001-10-22  Juergen Vigna  <jug@sad.it>
12411
12412         * buffer.C (insertStringAsLines): modify the font for inserting
12413         chars in certain conditions by calling checkInsertChar(font).
12414
12415 2001-10-19  Juergen Vigna  <jug@sad.it>
12416
12417         * text.C (workWidth): use getRow instead of wrong algorithm.
12418         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12419
12420 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * lyxserver.h:
12423         * lyxserver.C:
12424         * lyx_main.h:
12425         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12426
12427 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * text.C (workWidth): do not search for the exact row when
12430         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12431         optimization for big documents.
12432
12433 2001-10-18  Juergen Vigna  <jug@sad.it>
12434
12435         * text.C (workWidth): new function with added Inset * parameter.
12436
12437 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12440
12441         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12442         change return type of getColumnNearX.
12443
12444
12445         * text.C (changeRegionCase): use uppercase/lowercase instead of
12446         toupper/tolower.
12447         (leftMargin):
12448         (rightMargin): simplify code by factoring out the uses of
12449         textclasslist.
12450         (labelFill):
12451         (numberOfHfills):
12452         (setHeightOfRow):
12453         (appendParagraph): use Paragraph::size_type
12454
12455 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12456
12457         * vspace.C (asLatexString): add a missing break
12458
12459 2001-10-15  Herbert Voss  <voss@perce.de>
12460
12461         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12462
12463 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12466         is not available.
12467
12468 2001-10-10  André Pönitz <poenitz@gmx.net>
12469
12470         * lyxfunc.C: removed greek_kb_flag.
12471
12472 2001-10-10  Herbert Voss  <voss@perce.de>
12473
12474         * lyx_main.C: delete global string help_lyxdir.
12475
12476 2001-10-09  Herbert Voss  <voss@perce.de>
12477
12478         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12479
12480         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12481
12482         * lyx_main.C: added global string help_lyxdir.
12483
12484         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12485
12486 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12487
12488         * lyxrc.C (set_font_norm_type): support iso8859-4
12489
12490 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12491
12492         * LaTeX.C (deplog): add another regex for MikTeX
12493
12494 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12495
12496         * lyxrc.C (set_font_norm_type): support iso8859-3
12497
12498 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12499
12500         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12501
12502         * LaTeXFeatures.C: remove special case of french and index
12503
12504         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12505         before \begin{document}). This solves several incompatibilities.
12506
12507 2001-10-03  Garst Reese  <reese@isn.net>
12508
12509         * lyx_cb.C: change CheckTex error msg.
12510
12511 2001-10-03  José Matos  <jamatos@fep.up.pt>
12512
12513         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12514
12515 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12516
12517         * .cvsignore: update
12518
12519         * lyx_main.C (commandLineVersionInfo): use new style version info.
12520
12521         * buffer.C (writeFile):
12522         (makeLaTeXFile):
12523         (makeLinuxDocFile):
12524         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12525
12526         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12527
12528         * version.h: update to use stuff in version.C
12529
12530         * version.C.in: new file. Contains version information determined
12531         at compile time. This is a merging of version.h and
12532         version_info.h.in.
12533
12534 2001-10-03  Juergen Vigna  <jug@sad.it>
12535
12536         * BufferView_pimpl.C (update): don't change "dirty" status in
12537         updateInset call.
12538
12539 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12540
12541         * WorkArea.C (c-tor): re-position version string slightly.
12542
12543 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12546         revert to previous code.
12547
12548         WorkArea.[Ch]: (show, destroySplash): methods removed.
12549
12550         WorkArea.C: rework code so that it's an amalgam of the codes before and
12551         after the splash screen was moved to WorkArea.
12552
12553 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12554
12555         * lyxrc.C (read):
12556         * vspace.C (inPixels):
12557         (lyx_advance):
12558         * kbmap.C (bind):
12559         * buffer.C (insertStringAsLines):
12560         (asciiParagraph): fix types to be large enough
12561
12562         * lyxlex_pimpl.h: change member status from short to int
12563
12564         * layout.h: fix type of endlabeltype
12565
12566         * kbmap.C (bind):
12567         * kbsequence.C (parse): change return type to string::size_type
12568
12569         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12570         variable
12571
12572         * Bullet.C (bulletSize):
12573         (bulletEntry): do not use short ints as parameters
12574
12575         * BufferView2.C (insertLyXFile): change a char to an int.
12576
12577         * WorkArea.C (WorkArea): remove unneeded floats in computation
12578
12579 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12580
12581         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12582
12583         * paragraph.C (asString): Do not ignore newline/hfill chars when
12584         copying to the clipboard.
12585
12586 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12587
12588         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12589         after a multi-line inset.
12590
12591 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12592
12593         * paragraph.C (validate): Set NeedLyXFootnoteCode
12594
12595 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12596
12597         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12598         and decrease-error to decrease.
12599
12600 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12601
12602         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12603         it more readable (should be equivalent)
12604
12605 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12606
12607         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12608
12609 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12610
12611         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12612         of a cursor (row, etc.) after a character has been deleted
12613         (deleteEmptyParagraphMechanism): call the method above on _all_
12614         cursors held by the LyXText when a double space has been
12615         detected/deleted.
12616
12617 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12620         pixmap.
12621         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12622
12623         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12624         background. Use greyOut() and the new show() methods to toggle between
12625         the foreground and background. Add code to remove the splash after
12626         its initial showing.
12627
12628         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12629         (create_forms): no longer call Dialogs::showSplash.
12630
12631 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * .cvsignore: add version_info.h
12634
12635 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * version_info.h.in: new file
12638
12639         * Makefile.am: add version_info.h.in
12640
12641         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12642         version_info.h instead of VERSION_INFO
12643
12644 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12645
12646         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12647         The ERT inset now returns string().
12648
12649 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12650
12651         * lyxtext.h, text.C (selectNextWord): renamed as
12652         selectNextWordToSpellcheck.
12653
12654         * text.C (selectNextWordToSpellcheck): Modified to not select
12655         words inside an ERT inset.
12656
12657 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * lyx_cb.C (MenuLayoutSave): change a bit the question
12660
12661         * sp_base.h: include <sys/types.h>
12662
12663 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12664
12665         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12666
12667 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12668
12669         * several files: fix typos in user-visible strings
12670
12671 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12672
12673         * text2.C (pasteSelection): do not set the selection, since it
12674         will be cleared later. Actually, the intent was to fix the way the
12675         selection was set, but I figured rmoving the code was just as good.
12676
12677 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12678
12679         * FontLoader.C (available): Check if font is available without
12680         loading the font.
12681
12682 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12683
12684         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12685
12686 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * lyxrc.[Ch]: added display_graphics variable and associated code.
12689
12690 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * bufferparams.C (hasClassDefaults): new method. Returns true if
12693         the buffer parameters correspond to known class defaults
12694
12695 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12696
12697         * XFormsView.C (show): set minimum size to the main window.
12698
12699 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * text2.C (copySelection):
12702         (cutSelection):
12703         * lyxfind.C (LyXReplace):
12704         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12705         LyXText::selectionAsString.
12706
12707         * paragraph.C (asString): add "label" argument to the second form
12708
12709         * text2.C (selectionAsString): add "label" argument and pass it to
12710         Paragraph::asString.
12711
12712 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * lyx_main.C (commandLineHelp): remove version information
12715
12716 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12717
12718         * lyx_main.C: add -version commandline option
12719
12720 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * paragraph.h: make the optional constructor arg required instead.
12723         some modifications to other files because of this.
12724
12725         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12726
12727         * lyxserver.C (C_LyXComm_callback): make it static
12728
12729         * lyx_main.C (error_handler): make it static
12730
12731         * lyx_gui.C (LyX_XErrHandler): make it static
12732
12733         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12734
12735         * WorkArea.C: make the extern "C" methods static.
12736
12737         * Makefile.am (lyx_LDADD): simplify
12738
12739 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12742         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12743
12744         * LyXAction.C (init):
12745         * lyxfunc.C (dispatch): associated code removal.
12746
12747 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * lyxfont.h (isSymbolFont): shut off warning
12750
12751         * text.C (setHeightOfRow):
12752         (getVisibleRow): fix crash with empty paragraphs which have a
12753         bottom line
12754
12755 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12756
12757         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12758         code.
12759
12760 2001-09-04  José Matos  <jamatos@fep.up.pt>
12761         * buffer.C
12762         * buffer.h
12763         * tabular.C (docbook): rename docBook method to docbook.
12764
12765 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12766
12767         * Makefile.am: add dependencies to main.o.
12768
12769 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12770
12771         * FontLoader.C (available): Return false if !lyxrc.use_gui
12772
12773 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12774
12775         * FontInfo.C (query):
12776         * converter.C (view):
12777         * importer.C (Import):
12778         * exporter.C (Export): Can not -> cannot.
12779
12780 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * BufferView_pimpl.C: allow to create index inset even if
12783           string is empty
12784
12785 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * buffer.C (getLists): replace boost::tie code with an explicit pair
12788         as boost::tie can break some compilers.
12789
12790         * iterators.h: Added a std:: declaration to the return type of
12791         ParIterator::size.
12792
12793 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12796           case.
12797
12798 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * iterators.[Ch]: New files. Provide paragraph iterators.
12801
12802         * buffer.C (changeLanguage): Use paragraph iterators.
12803         (isMultiLingual): ditto
12804
12805         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12806
12807 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12808
12809         * FontLoader.C: Support for cmr font.
12810
12811 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12814         (available): New method.
12815
12816         * FontInfo.C (getFontname): Use scalable fonts even when
12817         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12818         found.
12819
12820 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12821
12822         * converter.C (Formats::view): reverted! Incorrect fix.
12823
12824 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12825
12826         * converter.C (Formats::view): only output the -paper option
12827         if the dvi viewer is xdvi, thereby fixing bug #233429.
12828
12829 2001-08-23  Herbert Voss  <voss@perce>
12830
12831         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12832
12833 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12834
12835         * Spacing.h (Spacing): Set space to Default on in the default
12836         constructor.
12837
12838 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * vc-backend.h (RCS::versionString): add RCS to version
12841         (CVS::versionString): add CVS to version
12842
12843         * vc-backend.C (scanMaster): do not add CVS to version.
12844         (scanMaster): do not add RCS to version
12845
12846         * lyxvc.C (versionString): new method
12847
12848         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12849
12850 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * Spacing.C (set): initialize fval
12853
12854 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12855
12856         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12857         " or \.
12858
12859 2001-08-16  Juergen Vigna  <jug@sad.it>
12860
12861         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12862
12863 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * BufferView_pimpl.C:
12866         * figureForm.C:
12867         * lyxtext.h:
12868         * text2.C: setParagraph takes linespacing now
12869
12870 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * LyxAction.C: add internal LFUN_CITATION_INSERT
12873
12874         * LyXView.C: actually apply fix
12875
12876         * bufferlist.C: fix open non-existent file
12877
12878         * lyxfind.C: fix indentation
12879
12880         * lyxfunc.C: remove unneeded assert, fix typo
12881
12882 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * MenuBackend.C: use "Floatname List"
12885
12886 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12889         when converting LaTeX layout to insetERT.
12890         Generate a non-collapsed float when reading old float
12891
12892 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12893
12894         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12895         ERT insets.
12896
12897 2001-08-13  Juergen Vigna  <jug@sad.it>
12898
12899         * text.C (fill): return 0 instead of 20 as this seems to be the more
12900         correct value.
12901
12902 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12903
12904         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12905         lyxrc.font_norm.
12906
12907 2001-08-13  Juergen Vigna  <jug@sad.it>
12908
12909         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12910         casesensitive off.
12911         (SearchBackward): comment out the unlocking of the inset_owner this
12912         should not be needed!
12913
12914 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * Many files: Remove inherit_language, and add latex_language
12917
12918         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12919         collapsible insets.
12920
12921 2001-08-10  Juergen Vigna  <jug@sad.it>
12922
12923         * text.C (prepareToPrint): fixed hfill-width in draw!
12924
12925         * BufferView2.C (selectLastWord): save the selection cursor as this
12926         now is cleared in the function LyXText::clearSelection!
12927
12928 2001-08-08  Juergen Vigna  <jug@sad.it>
12929
12930         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12931         BACKSPACE type functions.
12932
12933         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12934         is only cutted from the document but not put in the cut-buffer, where
12935         still the old stuff should be.
12936
12937         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12938
12939         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12940
12941         * tabular.C (SetWidthOfCell): fixed special case where the width
12942         was not updated!
12943         (LeftLine): handle '|' in align_special.
12944         (RightLine): ditto
12945         (LeftAlreadyDrawed): ditto
12946         (SetWidthOfCell): ditto
12947
12948 2001-08-07  Juergen Vigna  <jug@sad.it>
12949
12950         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12951
12952 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12955         * lyxlex.[hC]: ditto
12956
12957 2001-08-06  Juergen Vigna  <jug@sad.it>
12958
12959         * text.C (getVisibleRow): fix up row clearing a bit.
12960
12961 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * minibuffer.C: make sure the X server sees the changes in the input.
12964
12965 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * paragraph.C (getFont): split into...
12968         (getLabelFont): this
12969         (getLayoutFont): and this
12970         * paragraph_pimpl.C (realizeFont): calling this
12971
12972         * text2.C (getFont): split into...
12973         (getLayoutFont): this
12974         (getLabelFont): and this
12975         (realizeFont): all three calling this
12976
12977         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12978         files where used.
12979
12980 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12983
12984 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12985
12986         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12987         layouts from the Quote inset insertion.
12988
12989 2001-08-03  Juergen Vigna  <jug@sad.it>
12990
12991         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12992
12993         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12994         only if status not is already CHANGED_IN_DRAW (second level).
12995
12996         * text.C (draw): don't set the need_break_row when inside an
12997         InsetText LyXText.
12998
12999 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * buffer.C (parseSingleLyXformat2Token): handle more latex
13002         conversion cases.
13003
13004         * bufferview_funcs.[hC]: change function names to
13005         begin with small char, adjust other files.
13006
13007 2001-08-02  André Pönitz <poenitz@gmx.net>
13008
13009         * lyxfunc.C:
13010         BufferView_pimpl.C: remove broken special code for math-greek
13011
13012 2001-08-02  Juergen Vigna  <jug@sad.it>
13013
13014         * BufferView_pimpl.C (update): redone this function so that we
13015         update the text again if there was a CHANGE_IN_DRAW.
13016
13017         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13018         (drawFromTo): added a new internal bool which is used by draw() and
13019         redraw() function.
13020         (general): some cursor drawing problems fixed.
13021
13022 2001-08-01  Juergen Vigna  <jug@sad.it>
13023
13024         * lyxfind.C (LyXFind): fixed
13025         (SearchForward): ditto
13026         (SearchBackward): ditto
13027
13028         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13029         spurius drawing of the cursor in the main area.
13030
13031         * text2.C (status): small fix which could lead to a segfault!
13032         (clearSelection): remove unneeded BufferView param.
13033
13034 2001-08-01  André Pönitz <poenitz@gmx.net>
13035
13036         * lyxfunc.C: small change due to changed mathed interface
13037
13038 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13041
13042 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * lyxfunc.c: fail gracefully if file doesn't exist
13045
13046         * LyXSendto.C:
13047         * buffer.C:
13048         * lyxfunc.C:
13049         * BufferView_pimpl.C: IsDirWriteable() proto changed
13050
13051         * LyXView.C: fix updateWindowTitle() to store the last title
13052
13053 2001-07-31  Juergen Vigna  <jug@sad.it>
13054
13055         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13056         the font (wrong since using of Paragraph::highestFontInRange).
13057
13058         * paragraph.C (highestFontInRange): added a default_size parameter.
13059
13060         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13061         (setHeightOfRow): reformat
13062
13063 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * converter.[hC] + affected files: move to (inital-char)lowercase
13066         function names.
13067
13068         * ParagraphParameters.C (ParagraphParameters): remove commented code
13069
13070         * PainterBase.[Ch]: remove commented code
13071
13072         * LaTeXFeatures.h: add "bool floats" for float.sty
13073
13074         * LaTeXFeatures.C (LaTeXFeatures): init floats
13075         (require): handle float
13076         (getPackages): do it with floats
13077
13078 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13079
13080         * BufferView_pimpl.C (Dispatch): improve handling of
13081         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13082
13083         * commandtags.h: #include lyxfont.h here temporarily to avoid
13084         keybinding bug.
13085
13086         * bufferlist.h: include LString.h here.
13087
13088 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * text2.C (getStringToIndex): new method.
13091
13092 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13093
13094         * *: Reduced header file dependencies all over.
13095
13096 2001-07-30  Baruch Even  <baruch@lyx.org>
13097
13098         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13099
13100 2001-07-29  Baruch Even  <baruch@lyx.org>
13101
13102         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13103
13104 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * ParameterStruct.h (endif): add a default constructor to make
13107         sure that all variables is initialized.
13108
13109         * ParagraphParameters.C (ParagraphParameters): adjust
13110
13111 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13112
13113         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13114         index; also, check that there is something to index, and that it
13115         does not span over several paragraphs.
13116         (doubleClick): use WHOLE_WORD_STRICT for double click.
13117
13118         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13119
13120         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13121         scheme.
13122
13123 2001-07-26  Baruch Even  <baruch@lyx.org>
13124
13125         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13126         an InsetFig figure, backwards compatible reading of old figure code.
13127
13128 2001-07-27  Juergen Vigna  <jug@sad.it>
13129
13130         * text2.C: font.realize function adaption.
13131
13132         * text.C (draw): add a warnings lyxerr text if needed.
13133
13134         * layout.C: font.realize function adaption.
13135
13136         * language.C: add inherit_language and implement it's handlings
13137
13138         * bufferview_funcs.C (StyleReset): remove language parameter from
13139         font creation (should be language_inherit now).
13140
13141         * bufferparams.C (writeFile): handle ignore_language.
13142
13143         * paragraph.C (getFontSettings): the language has to be resolved
13144         otherwise we have problems in LyXFont!
13145
13146         * lyxfont.C (lyxWriteChanges): added document_language parameter
13147         (update): removed unneeded language parameter
13148
13149         * paragraph.C (validate): fixed wrong output of color-package when
13150         using interface colors for certain fonts in certain environments,
13151         which should not seen as that on the final output.
13152
13153 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * BufferView_pimpl.C:
13156         * Thesaurus.h:
13157         * Thesaurus.C:
13158         * Makefile.am:
13159         * commandtags.h:
13160         * LyXAction.C: add thesaurus support
13161
13162         * lyxfind.h:
13163         * lyxfind.C: add "once" parameter, for thesaurus, to not
13164           move to the next match
13165
13166 2001-07-26  Juergen Vigna  <jug@sad.it>
13167
13168         * lyxfont.C (realize): honor ignore_language too!
13169         (resolved): ditto.
13170
13171         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13172
13173         * text.C (draw): one place more for ignore_language to not draw
13174         itself!
13175
13176 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13177
13178         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13179
13180 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13183         the minipage conversion problem.
13184
13185 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13186
13187         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13188         insert an inset.
13189
13190 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * BufferView.h: don't forward declare WorkArea
13193
13194         * BufferView.C: don't include WorkArea.h
13195
13196 2001-07-25  André Pönitz <poenitz@gmx.net>
13197
13198         * commandtags.h:
13199         * LyXAction.C:
13200         * lyxfunc.C:  new LFUN 'math-space'
13201
13202         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13203
13204 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * text2.C (toggleInset): call open/close
13207
13208 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13209
13210         * lyxfunc.C (dispatch): add debug for the disabled case
13211
13212         * font.C (buttonText): make similar to rectText
13213
13214         * buffer.C (readInset): comment out parsing of insetlist and
13215         insttheorem
13216
13217         * PainterBase.C (rectText): small correction
13218
13219         * BufferView_pimpl.C: comment out insettheorem and insetlist
13220         * LyXAction.C: ditto
13221         * commandtags.h: ditto
13222
13223 2001-07-24  Juergen Vigna  <jug@sad.it>
13224
13225         * text.C (draw): honor the ignore_language.
13226
13227         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13228
13229 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13232         char inset.
13233
13234 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13235
13236         * lyxtext.h: remove unused (and unimplemented) methods
13237
13238 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13239
13240         * text.C (getVisibleRow): honor background color
13241
13242         * PainterBase.h:
13243         * Painter.h: remove default color argument for fillRectangle
13244
13245         * text.C (backgroundColor): new method
13246
13247 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * text.C (getVisibleRow): adjust
13250
13251         * font.[Ch] (rectText): new method, metrics
13252         (buttonText): new method, metrics
13253
13254         * PainterBase.[hC]: make rectText and buttonText always draw and take
13255         fewer paramteres.
13256
13257 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13258
13259         * ToolbarDefaults.C (read):
13260         * MenuBackend.C (read): allow escaping in all strings
13261
13262         * BufferView_pimpl.C (insertAndEditInset): new method.
13263         (Dispatch): use insertAndEditInset whenever appropriate.
13264
13265         * BufferView_pimpl.C (insertNote): removed
13266
13267         * BufferView_pimpl.C (smartQuote): new method, moved from
13268         BufferView; if an insetquote cannot be inserted, insert a '"'
13269         character instead.
13270
13271         * BufferView2.C: remove insertCorrectQuote();
13272
13273         * lyxfunc.C (getStatus): Add support for all remaingin
13274         inset-insert lfuns.
13275
13276         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13277
13278         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13279         command (necessary to pass " as parameter of self-insert.
13280
13281         * text.C (selectWordWhenUnderCursor):
13282         (selectWord): add word_location parameter
13283         (selectWordWhenUnderCursor): same + remove special code for word
13284         boundary.
13285         (selectNextWord): use kind() to guess type of insetspecialchar,
13286         not latex().
13287
13288         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13289         (insertErtContents): create ert insets as collapsed.
13290         (readInset): better compatibility code for Info inset.
13291
13292 2001-07-20  Juergen Vigna  <jug@sad.it>
13293
13294         * lyxfunc.C (dispatch): use always LyXFind now!
13295
13296         * text2.C (init): add a reinit flag so that the LyXText can be
13297         reinited instead of deleted and reallocated (used in InsetText).
13298
13299         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13300
13301         * text.C: ditto
13302
13303         * text2.C: ditto
13304
13305 2001-07-18  Juergen Vigna  <jug@sad.it>
13306
13307         * text.C (selectNextWord): handle insets inside inset by calling
13308         always the bv->text functions so that we can go up the_locking_inset!
13309
13310         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13311         in strange locations when inside an inset!
13312
13313         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13314         handling to include insets.
13315
13316         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13317
13318 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * LyXAction.C (init):
13321         * commandtags.h:
13322         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13323         LIGATURE_BREAK, since the name is so stupid.
13324
13325 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13328         InsetInfos.
13329
13330         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13331
13332         * sp_form.[Ch]: remove.
13333
13334         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13335
13336         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13337         InsetInfo.
13338
13339         * src/buffer.C (readInset): ditto.
13340
13341 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13342
13343         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13344         menuSeparator(), endOfSentenceDot(), ldots() and
13345         hyphenationPoint(), which are therefore removed.
13346         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13347
13348         * LyXAction.C (init):
13349         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13350
13351         * paragraph.C (getWord): removed.
13352
13353         * BufferView_pimpl.C (Dispatch): use last word or selection for
13354         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13355
13356         * lyx_main.C (queryUserLyXDir): do not ask before creating
13357         user_dir, except if it has been named explicitely.
13358
13359 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13360
13361         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13362         a document of zero size.
13363
13364 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13367         approriately in the c-tor and in require().
13368         (getPackages): output the appropriate LaTeX for natbib support.
13369
13370         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13371         variables "use_natbib" and "use_numerical_citations" when reading the
13372         LyX file.
13373         (readInset): read the various natbib cite commands.
13374         (validate): white-space change.
13375
13376         * bufferparams.[Ch]: new variables "bool use_natbib" and
13377         "bool use_numerical_citations".
13378         (writeFile): output them in the LyX file.
13379
13380 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13381
13382         * lyxfunc.C (getStatus): add support for all the inset insertion
13383         commands.
13384
13385         * text2.C (insertInset):
13386         * paragraph.C (insetAllowed):
13387         * BufferView_pimpl.C (insertInset): update to take in account the
13388         renaming of insertInsetAllowed
13389
13390         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13391
13392         * text2.C (getInset): new method. returns inset at cursor position.
13393
13394         * BufferView_pimpl.C (Dispatch): changes because of this.
13395
13396         * LyXAction.C (init): rename open-stuff to inset-toggle.
13397
13398         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13399
13400         * text2.C (toggleInset): renamed from openStuff; use
13401         Inset::open().
13402
13403 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13404
13405         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13406
13407         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13408
13409 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * buffer.C (readLyXformat2): Add filename to the error dialog
13412
13413 2001-07-18  Juergen Vigna  <jug@sad.it>
13414
13415         * tabular.C (GetCellNumber): put an assert here instead of the check!
13416
13417 2001-07-17  Juergen Vigna  <jug@sad.it>
13418
13419         * BufferView_pimpl.C (toggleSelection): adapted too.
13420
13421         * text.C (selectNextWord): adapted for use with insets.
13422         (selectSelectedWord): ditto
13423
13424 2001-07-17  Juergen Vigna  <jug@sad.it>
13425
13426         * sp_spell.C (PSpell): fix initialitation order.
13427
13428 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.C: spacing
13431
13432 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13433
13434         * sp_spell.C: repair language selection for pspell
13435
13436 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * lyxfunc.h: change more methods to begin with lower char.
13439
13440 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13441
13442         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13443         for unknown layouts.
13444
13445 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13446
13447         * buffer.C (readLyXformat2): Generate an error dialog if there are
13448         unknown layouts.
13449
13450 2001-07-16  Juergen Vigna  <jug@sad.it>
13451
13452         * sp_spell.C: always compile ISpell part.
13453
13454         * lyxrc.C: added use_pspell entry and it's handling.
13455
13456 2001-07-13  Juergen Vigna  <jug@sad.it>
13457
13458         * sp_spell.C: removed double includes.
13459
13460 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         Consistent use of Lsstream.h:
13463         * Lsstream.h: added using std::stringstream for consistencies sake.
13464
13465         * buffer.C: removed using std::stringstream
13466
13467         * lyxfont.C (stateText):
13468         * paragraph.C (asString):
13469         * text.C (selectNextWord, selectSelectedWord):
13470         * text2.C (setCounter):
13471         * vspace.C (asString, asLatexString):
13472         std::ostringstream -> ostringstream.
13473
13474 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13475
13476         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13477         * commandtags.h: add LFUN_HELP_ABOUTLYX
13478         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13479
13480 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13481
13482         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13483         cursorToggle()
13484         * lyx_gui_misc.C: remove spellchecker
13485         * lyxfunc.C: showSpellchecker
13486         * sp_base.h: added
13487         * sp_ispell.h: added
13488         * sp_pspell.h: added
13489         * sp_spell.C: added
13490         * sp_form.[Ch]: removed
13491         * spellchecker.[Ch]: removed
13492
13493 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13494
13495         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13496         is set.
13497         (simpleTeXSpecialChars): Simply print the input character without
13498         any special translation if pass_thru is set.
13499
13500         * layout.h: Added bool pass_thru to layout class for being able to
13501         implement pass through of a paragraph for Literate Programming.
13502
13503         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13504         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13505         * layout.C (Read): add "passthru" to list of layout tags and add
13506         code to set the pass_thru boolean when it is read.
13507
13508 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * trans_decl.h: remove allowed from KmodInfo
13511
13512         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13513         remove allowed code
13514         (Load): adjust
13515
13516         * paragraph_pimpl.C (erase): use boost::prior
13517
13518         * Painter.C (text): use data() instead of c_str() when length is
13519         also provided.
13520         * WorkArea.C (putClipboard): ditto
13521         * font.h (width): ditto
13522
13523         * BufferView2.C: use it-> instead of (*it). for iterators
13524         * texrow.C: ditto
13525         * paragraph_pimpl.C: ditto
13526         * paragraph.C: ditto
13527         * minibuffer.C: ditto
13528         * language.C: ditto
13529         * kbmap.C: ditto
13530         * encoding.C: ditto
13531         * counters.C: ditto
13532         * converter.C: ditto
13533         * chset.C: ditto
13534         * Variables.C: ditto
13535         * TextCache.C: ditto
13536         * MenuBackend.C: ditto
13537         * LyXAction.C: ditto
13538         * LColor.C: ditto
13539         * FloatList.C: ditto
13540         * DepTable.C: ditto
13541         * ColorHandler.C (LyXColorHandler): ditto
13542
13543 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13546
13547         * text2.C (openStuff): reintroduce this method (which had been
13548         nuked in NEW_INSETS frenzy).
13549
13550         * lyxfunc.C (Dispatch): when an action has not been handled, use
13551         its name in the error message, not its number.
13552
13553         * paragraph.C (inInset): change method name to begin with lowercase.
13554
13555         * undo_funcs.C:
13556         * text2.C: updates because of this.
13557
13558 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * ToolbarDefaults.C (add): add spaces in error message
13561
13562 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13565         (readLyXformat2): rename return_par to first_par, use lyxlex's
13566         pushToken and remove the manual push handling.
13567         (parseSingleLyXformat2Token): add another ert comp. variable:
13568         in_tabular, rename return_par to first_par. handle newlines better
13569
13570 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13573
13574 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * text2.C (getParFromID): removed
13577
13578         * buffer.C (getParFromID): new method moved form lyxtext.
13579         * BufferView2.C (insertErrors): adjust
13580         (setCursorFromRow): adjust
13581         * BufferView_pimpl.C (restorePosition): adjust
13582         * lyxfunc.C (Dispatch): adjust
13583         * undo_funcs.C (textUndo): adjust
13584         (textRedo): adjust
13585         (textHandleUndo): adjust
13586         (textHandleUndo): adjust
13587
13588 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * buffer.C: up' the LYX_FORMAT
13591
13592         * lyxfont.h: turn NO_LATEX on as default
13593
13594         * buffer.C (insertErtContents): new methods of tex style compability.
13595         (parseSingleLyXformat2Token): use it several places.
13596         * tabular.C (OldFormatRead): and here
13597
13598 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * text2.C: remove some commented code.
13601         reindent file.
13602
13603         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13604         * trans.C: changes because of the above.
13605
13606 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13607
13608         * text2.C (setCounter): Fix counters bug with bibliography layout.
13609
13610 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13613         own member functions
13614         (simpleTeXSpecialChars): ditto
13615
13616 2001-07-06  Juergen Vigna  <jug@sad.it>
13617
13618         * a lot of files: changed the access to LyXText::status and the
13619         call of undo-functions.
13620
13621         * undo.[Ch]: added a inset_id to the undo informations.
13622
13623         * undo_funcs.[Ch]: added and moved here all undo functions.
13624
13625         * lyxtext.h: give the status enum a weight, made status_ a private
13626         variable and made accessor functions for it, removed the whole bunch
13627         of undo-functions as they are now in their own file, make some
13628         functions publically available. Added function ownerParagraph with
13629         int parameter.
13630
13631         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13632         made InInset() a const function, added getParFromID() function.
13633
13634         * buffer.[Ch]: added const version for inset_iterator functions,
13635         added getInsetFromID() function.
13636
13637         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13638         changed undo functions for new version.
13639
13640 2001-07-05  Juergen Vigna  <jug@sad.it>
13641
13642         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13643         unknow mechanism does not call the proper constructor but only this
13644         one also if I request the other!?
13645
13646 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13649
13650         * text2.C (LyXText): use initialization lists.
13651
13652         * lyxtext.h (Selection): initialize set_ and mark_
13653         (init): remove method
13654
13655 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13656
13657         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13658
13659 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * screen.[Ch]: change method names to begin with lowercase
13662
13663         * BufferView_pimpl.C (updateScrollbar): simplify further and
13664         hopefully make it a bit faster.
13665
13666 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13669         calling directly xforms functions.
13670
13671         * Painter.C (Painter):
13672         * lyx_cb.C (MenuWrite):
13673         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13674         fl_display.
13675
13676         * lyx_gui.C: remove bogus guiruntime extern declaration.
13677
13678 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13681         in NEW_INSETS
13682         (redoDrawingOfParagraph): ditto
13683         (redoParagraphs): ditto
13684         (cutSelection): don't create a object for CutAndPaste use the
13685         static method directly
13686         (pasteSelection): ditto
13687
13688         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13689         LyXview (+ rename)
13690
13691 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * modifications to some other files because of this.
13694
13695         * Makefile.am (lyx_SOURCES): add XFormsView
13696
13697         * XFormsView.[Ch]: new files
13698
13699         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13700         the main window. Move the gui dependent stuff to XFormsView
13701
13702 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13703
13704         * tabular.C (GetCellInset): update cur_cell also in the row/col
13705         version of this function.
13706
13707         * lyxfunc.C: no need to include figure_form.h here.
13708
13709         * FontLoader.h:
13710         * lyxfunc.h:
13711         * lyxscreen.h:
13712         * text2.C:
13713         * lyxvc.C: no need to include forms.h here.
13714
13715 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13716
13717         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13718
13719         * lyxfunc.C (Dispatch):
13720         * Spacing.C (set):
13721         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13722         constructor argument.
13723
13724 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * paragraph.C (Paragraph): dont't clear, and just set layout.
13727         (makeSameLayout): use params's copy contructor.
13728
13729         * ParagraphParameters.[Ch] (makeSame): delete method
13730
13731 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13732
13733         * Variables.[Ch]: fix indentation, rename set to isSet
13734
13735 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * lyxfunc.C (Dispatch): fix typo
13738
13739 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13742         upper_bound.
13743
13744         * bufferlist.C: include assert.h for emergencyWrite().
13745
13746 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13747
13748         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13749           give up at last (bug #425202) !
13750
13751 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * lyx_gui_misc.C:
13754         * sp_form.h:
13755         * sp_form.C:
13756         * spellchecker.h:
13757         * spellchecker.C: strip spellchecker options and bring up
13758           preferences tab instead
13759
13760 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13763         the istringstream constructor
13764
13765 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * paragraph.C (getLayout): fix return value
13768
13769         * paragraph.h: do not declare getLayout as inline.
13770
13771         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13772
13773 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * lyxcursor.h (operator<): new func
13776         (operator>): new func
13777         (operator>=): new func
13778         (operator<=): new func
13779
13780         * text.C (changeCase): use selection.start and selection.end
13781         (changeRegionCase): require from to be <= to. Require par to be a
13782         valid paragraph.
13783
13784         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13785
13786 2001-06-27  Juergen Vigna  <jug@sad.it>
13787
13788         * text.C (cursorLeftOneWord): changed to return the cursor and added
13789         overlay with BufferView * parameter which calls this one.
13790         (getWord): added
13791         (selectWord): use new getWord function.
13792         (changeCase): renamed from changeWordCase as and extended to work
13793         also on selections.
13794
13795         * lyxtext.h: added enum word_location
13796
13797         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13798         changeCase as this operates now also on selections.
13799
13800 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13801
13802         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13803
13804         * many files: send debug output to Debug::INFO instead of
13805         Debug::ANY.
13806
13807         * converter.C (View):
13808         (Convert):
13809         (Move): send debug output to Debug::FILES instead of console.
13810
13811 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13812
13813         * lyxfunc.C (getStatus): use func_status
13814
13815         * func_status.h: new header, describing the results of
13816         LyXFunc::getStatus;
13817
13818         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13819         LFUN_MATH_HALIGN.
13820
13821 2001-06-25  The LyX Project  <jug@sad.it>
13822
13823         * buffer.C (sgmlOpenTag):
13824         (sgmlCloseTag):
13825         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13826
13827 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * text2.C: remove some dead code
13830
13831         * tabular.C (GetCellInset): store the last cell checked (gotten)
13832
13833         * tabular.h: add the helper for the speedup
13834
13835         * lyxtext.h: remove some dead code
13836
13837 2001-06-26  The LyX Project  <Asger>
13838
13839         * paragraph.C: Change export to LaTeX of alignment to
13840         \begin{center} and family for better roundtrip work with reLyX.
13841
13842         * Tune the math drawing a bit.
13843
13844 2001-06-25  The LyX Project  <Asger>
13845
13846         * LColor.C (LColor): New color for math background. New color
13847         for buttons.
13848
13849 2001-06-25  The LyX Project  <jug@sad.it>
13850
13851         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13852
13853         * lyxfunc.C (Open):
13854         * bufferlist.C (newFile): do not restrict to files ending with
13855         .lyx
13856
13857         * BufferView_pimpl.C (MenuInsertLyXFile):
13858
13859 2001-06-24  The LyX Project  <jug@sad.it>
13860
13861         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13862         of compare_no_case
13863
13864 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * lyxtext.h: rename most methods to begin with a small char.
13867         Lots of changes because of this.
13868
13869         * paragraph.C (Paragraph): do not call fitToSize
13870         (erase): call Pimpl::erase
13871         (insertChar): call Pimpl::insertChar
13872         (insertInset): call Pipl::insertInset
13873         (breakParagraph): do not call fitToSize
13874         (breakParagraphConservative): do not call fitToSize
13875         (fitToSize): remove method
13876
13877         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13878
13879 2001-06-24  The LyX Project  <Asger>
13880
13881         * Fix Qt compilation^2
13882
13883 2001-06-24  The LyX Project  <jug@sad.it>
13884
13885         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13886         depthHook(getDepth()-1).
13887
13888         * paragraph.h:
13889         * ParagraphParameters.h:
13890         * ParameterStruct.h: change type of depth to unsigned int ==
13891         depth_type. Many adaptations to other files before of that.
13892
13893 2001-06-24  The LyX Project  <Asger>
13894
13895         * Fix Qt compilation.
13896
13897 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * paragraph.h: renamed several methods to begin with small letter.
13900         several changes to many parts of the code because of this.
13901
13902 2001-06-23  The LyX Project  <jug@sad.it>
13903
13904         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13905         rewritten to discard all double spaces when KeepEmpty is off
13906         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13907         to only handle newlines but not fiddle with spaces and friends.
13908
13909         * lyxfunc.C (MenuNew): when doing 'new from template', use
13910         template_path as default directory
13911
13912 2001-06-23  The LyX Project  <Asger>
13913
13914         * Clean-up of header file includes all over
13915         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13916
13917 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * paragraph.h: renamed from lyxparagraph.h
13920
13921 2001-06-23  Asger  <lyx@violet.home.sad.it>
13922
13923         * Buffer.h: Removed Buffer::resize
13924         * BufferList.h: Removed BufferList::resize
13925         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13926         the document lazily when we change the width, or the font settings.
13927
13928 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13929
13930         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13931
13932 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13933
13934         * buffer.h: remove out of date comment
13935
13936 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * lyxscreen.h:
13939         * screen.C: fix "theoretical" GC leak
13940
13941 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13942
13943         * LaTeX.C (scanAuxFile):
13944         (deplog): remove trailing \r when reading stream (useful under
13945         win32)
13946
13947 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13948
13949         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13950         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13951         and BufferView::theLockingInset(Inset*), so should use them and not
13952         access bv_->text->the_locking_inset directly.
13953
13954         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13955
13956 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * Makefile.am:
13959         * tex-defs.h: remove old unused file
13960
13961 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * BufferView_pimpl.C: fix typo, remove minibuffer message
13964           when buffer has loaded
13965
13966 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * lyxfunc.C (Dispatch): use stringstream
13969         (MenuNew): use stringstream
13970         (Open): use stringstream
13971
13972         * importer.C (Import): use stringstream
13973
13974         * bufferview_funcs.C (CurrentState): use stringstream
13975
13976         * LaTeX.C (run): use stringstream
13977
13978         * BufferView_pimpl.C (savePosition): use stringstream
13979         (restorePosition): use stringstream
13980         (MenuInsertLyXFile): use stringstream
13981
13982 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13983
13984         * BufferView.C:
13985         * Bullet.C:
13986         * ColorHandler.C:
13987         * FontInfo.C:
13988         * FontLoader.C:
13989         * LColor.C:
13990         * LaTeXFeatures.C:
13991         * Painter.C:
13992         * gettext.C:
13993         * lyx_gui_misc.C:
13994         * lyxserver.C:
13995         * vspace.C: removed // -*- C++ -*- as first line.
13996
13997         * lyxfind.h:
13998         * version.h: added // -*- C++ -*- as first line.
13999
14000 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14003
14004         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14005         of string
14006
14007 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14008
14009         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14010         of floats.
14011
14012 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * gettext.C: include LString.h even when --disable-nls is on.
14015
14016 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14017
14018         * converter.h (Get): changed argument type from int to
14019         FormatList::size_type to avoid unnecessary conversion.
14020
14021         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14022         before using it.
14023
14024 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14025
14026         * gettext.h: include LString.h even when --disable-nls is on.
14027
14028 2001-06-07  Juergen Vigna  <jug@sad.it>
14029
14030         * text.C (BreakAgain): subst spaces with tabs.
14031
14032         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14033         (resizeInsetsLyXText): set force on resizeLyXText.
14034
14035 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * gettext.h (gettext_init):
14038         (locale_init): use a real definition instead of a macro
14039
14040 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * Bufferview_pimpl.C:
14043         * LColor.h:
14044         * LColor.C: further lcolor tidies
14045
14046 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * BufferView_pimpl.C (updateScrollbar): simplify.
14049
14050         * BufferView2.C: don't include insets/insetinfo.h, change
14051         prototype for insertInset and call the Pimpl version. let
14052         updateInset call Pimpl version.
14053
14054         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14055         gotoInset to BufferView::Pimpl
14056
14057 2001-06-01  Juergen Vigna  <jug@sad.it>
14058
14059         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14060         inside a LockingInset (is the update needed at all?).
14061
14062 2001-05-31  Juergen Vigna  <jug@sad.it>
14063
14064         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14065         here not the old one otherwise how should we compare it afterwards
14066         if it's the same!
14067
14068 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * lyxfont.C:
14071         * tabular.C:
14072         * tabular-old.C:
14073         * FontInfo.C: bring C functions into global namespace when
14074         necessary
14075
14076 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * LString.h: make sure config.h has been loaded before LString.h.
14079
14080         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14081         (one for each char read by EatLine!).
14082
14083         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14084         variables.
14085
14086 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14089         to the same as the par we break from
14090
14091 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14094
14095         * MenuBackend.C (expand): also create menu entries for wide
14096         versions of the floats.
14097
14098         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14099
14100         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14101
14102         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14103         frontends/Makefile.am
14104
14105         * text2.C: adjust
14106         * text.C: adjust
14107
14108
14109         * tabular.C (getTokenValue): add std::
14110
14111         * tabular-old.C (getTokenValue): add std::
14112         (getTokenValue): ditto
14113         (getTokenValue): ditto
14114
14115         * screen.C (ToggleSelection): adjust
14116
14117         * lyxtext.h: put selection cursors inside a Selection struct.
14118
14119         * lyxfunc.C (moveCursorUpdate): adjust
14120
14121         * lyxfont.C (latexWriteStartChanges): add std::
14122
14123         * lyxfind.C: adjust
14124
14125         * font.h: delete with(char const *, LyXFont const &)
14126
14127         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14128
14129         * FontInfo.C (getFontname): add std::
14130
14131         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14132         (workAreaButtonPress): adjust
14133         (tripleClick): adjust
14134         (update): adjust
14135         (moveCursorUpdate): adjust
14136         (Dispatch): adjust
14137
14138         * BufferView2.C (gotoInset): adjust
14139
14140 2001-05-30  Juergen Vigna  <jug@sad.it>
14141
14142         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14143         to check pspell I add this as default as I now have new pspell
14144         libraries and they seem to use this.
14145
14146 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * text2.C (CutSelection): make the cursor valid before the call to
14149         ClearSelection.
14150
14151 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14154         relied on 0 terminated strings and other horrors. Bug found due to
14155         the new assert in lyxstring!
14156
14157         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14158         KP_ keys.
14159
14160 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14163         to latinkeys.bind.
14164
14165         * lyxfunc.C (processKeySym): change method of getting to the
14166         self-insert char.
14167
14168         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14169         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14170         * BufferView_pimpl.[Ch]: here as private methods.
14171
14172 2001-05-28  Juergen Vigna  <jug@sad.it>
14173
14174         * text.C (SetHeightOfRow): added the update() call again as it is
14175         needed to initialize inset dimensions!
14176
14177 2001-05-16  Juergen Vigna  <jug@sad.it>
14178
14179         * text2.C (SetCharFont): Add new function with BufferView * and
14180         bool toggleall parameters for setting insets internal fonts.
14181         (SetFont): Freeze the undo as we may change fonts in Insets and
14182         all this change should be inside only one Undo!
14183
14184         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14185         setting font's in insets as for them we have the SetFont function!
14186
14187 2001-05-15  Juergen Vigna  <jug@sad.it>
14188
14189         * text2.C (ClearSelection): to be sure we REALLY don't have any
14190         selection anymore!
14191
14192         * tabular.C (TeXCellPreamble): fixed the left border problem for
14193         multicolumn cells.
14194
14195 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14196
14197         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14198         dependancy file
14199
14200 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14203         LFUN_BREAKPARAGRAPH.
14204
14205         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14206         help test to "internal only", similar for LFUN_INSERT_URL
14207
14208         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14209         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14210         auto_region_delete and deadkeys.
14211
14212 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * LColor.h:
14215         * LColor.C: remove some dead entries, tidy a little
14216
14217 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14218
14219         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14220         commented code.
14221         (Dispatch): implement LFUN_ESCAPE
14222
14223         * commandtags.h: add LFUN_ESCAPE
14224
14225         * LyXAction.C (init): add entry for LFUN_ESCAPE
14226
14227         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14228         Remove commented code.
14229         (insertNote): moved here
14230         (open_new_inset): moved here
14231
14232         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14233         BufferView_pimpl
14234
14235 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14236
14237         * kbmap.C (findbinding): clean it up and make it work correctly.
14238
14239         * lyx_main.C (init): do not pass argc and argv as parameters
14240
14241 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14242
14243         * buffer.C: fix path for OS/2 & Win32
14244
14245         * lyx_gui.C:
14246         * lyx_main:
14247         * lyx_main.C: Added os:: class.
14248
14249         * os2_defines.h: update
14250
14251 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14254         better by trying again with reduced state.
14255
14256 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * lyxrc.C (read): print error about invalid key sequence only when
14259         debugging (because not all latinX keysyms are known to some X
14260         servers)
14261
14262         * kbsequence.C (getiso): add a few std:: qualifiers
14263         (getiso): comment out extra return statement.
14264
14265 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14268         handling.
14269         (Dispatch): enhance the accent inset a bit. (not perfect)
14270
14271 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14272
14273         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14274
14275 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * bufferlist.C (emergencyWrite): fix assert() call
14278
14279 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14280
14281         * text.C (InsertChar): Added trivial patch to only send the "you
14282         can not do multiple spaces this way" message once during a
14283         session.
14284
14285 2001-05-08  Baruch Even  <baruch@lyx.org>
14286
14287         * Makefile.am: Changed order of libraries to get LyX to link properly
14288         with the gnome frontend.
14289
14290 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * LaTeXFeatures.h: add a std:: qualifier
14293
14294 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14295
14296         * paragraph.C (String): use stringstream
14297
14298 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * paragraph.C (writeFile): remove footflag arg
14301
14302         * buffer.C (makeLaTeXFile): use stringstream
14303         (latexParagraphs): remove footnot gurba
14304
14305         * LaTeXFeatures.C (getPackages): use stringstream
14306         (getMacros): likewise
14307         (getTClassPreamble): likewise
14308         (getFloatDefinitions): new method
14309
14310         * paragraph.C (writeFile): reindent
14311         (Erase): reindent
14312
14313         * WorkArea.h: revert the xpos + etc changes.
14314
14315         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14316
14317         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14318
14319         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14320         (pasteSelection): likewise
14321         * text2.C (CreateUndo): likewise
14322
14323 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14324
14325         * minibuffer.C (peek_event): temporarily reduce the functionality
14326         of the minibuffer (to allow args on lfuns)
14327
14328         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14329         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14330
14331         * buffer.C (readInset): add compability reading of old float
14332         lists, add reading of new style float list.
14333         (readInset): avoid reevaluation of inscmd.getCmdName()
14334         (getLists): reindent
14335
14336         * MenuBackend.C (MenuItem): implement parsing of
14337         md_floatlistinsert and md_floatinsert.
14338         (expand::LastFiles): move initalizaton of iterators out of loop,
14339         avoid reevaluation.
14340         (expand::Documents): introduce typdedef vector<string> Strings,
14341         and use it.
14342         (expand::ExportFormats): introduce typedef vector<Format const *>
14343         Formats, and use it.
14344         (expand): implement FloatListInsert and FloatInsert.
14345
14346         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14347         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14348         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14349
14350         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14351         handling.
14352         (Dispatch::LFUN_FLOAT_LIST): implement
14353
14354 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14355
14356         * LaTeX.C (run): Fix problem with --export code.
14357
14358 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         * BufferView.[Ch] (workarea): removed.
14361         (getClipboard) new method; wrapper for workarea()->getClipboard()
14362
14363         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14364         bug.
14365
14366         * WorkArea.h (width, height, xpos, ypos): These methods all
14367         returned the dimensions of the work_area sub-area of WorkArea,
14368         resulting in a position error if the WorkArea were resized. Now
14369         return the dimensions of the entire WorkArea.
14370
14371         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14372
14373 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * LaTeX.C (deplog): correct the syntax of regex reg1
14376
14377 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * undo.C: remove !NEW_INSETS cruft
14380
14381 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * text2.C: remove !NEW_INSETS cruft
14384
14385         * text.C: remove !NEW_INSETS cruft
14386
14387         * tabular.C: remove !NEW_INSETS cruft
14388
14389         * spellchecker.C: remove !NEW_INSETS cruft
14390
14391         * lyxtext.h: remove !NEW_INSETS cruft
14392
14393         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14394
14395         * lyxfunc.C: remove !NEW_INSETS cruft
14396
14397         * lyxfind.C: remove !NEW_INSETS cruft
14398
14399         * lyx_cb.C: remove !NEW_INSETS cruft
14400
14401         * figureForm.C: remove  !NEW_INSETS cruft
14402
14403         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14404
14405         * buffer.[Ch]: remove !NEW_INSETS cruft
14406
14407         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14408
14409         * CutAndPaste.C: remove !NEW_INSETS cruft
14410
14411         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14412
14413         * BufferView2.C: remove !NEW_INSETS cruft
14414
14415         * BufferView.h: remove !NEW_INSETS cruft
14416
14417 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14418
14419         * Lsstream.h: include LString.h before the sstream headers to
14420         fix problem with gcc 2.95.3 and lyxstring
14421
14422 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * lyx_main.C: add using directives when needed for C functions
14425         declared in std:: namespace.
14426
14427 2001-04-27  Juergen Vigna  <jug@sad.it>
14428
14429         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14430         (SetHeightOfRow): comment out the update call should not be needed!
14431
14432 2001-04-13  Juergen Vigna  <jug@sad.it>
14433
14434         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14435         (LyXTabular): tried to minimize operator= operations (and realized
14436         hopfully Lars wish).
14437
14438 2001-04-27  Juergen Vigna  <jug@sad.it>
14439
14440         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14441
14442 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14443
14444         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14445
14446         * buffer.C (readInset): hack to make listof algorithm work
14447
14448         * BufferView_pimpl.C: hack to make listof algorithm work
14449
14450 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * LyXAction.C: removed all !NEW_INSETS cruft
14453         (init): moved lfun_item in method
14454
14455         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14456
14457 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14458
14459         * BufferView2.C (theLockingInset): white space.
14460
14461 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * minibuffer.C: include <iostream>
14464
14465         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14466
14467         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14468
14469         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14470
14471         * text.[Ch] (TransposeChars): new method
14472
14473 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * call message directly through LyXView instead of through LyXFunc
14476         * BufferView2.C: adjust
14477         * BufferView_pimpl.C: adjust
14478         * FontLoader.C: adjust
14479         * buffer.C: adjust
14480         * bufferview_funcs.C: adjust
14481         * converter.C: adjust
14482         * figureForm.C: adjust
14483         * importer.C: adjust
14484         * lyx_cb.C: adjust
14485         * lyx_gui_misc.C: adjust
14486         * lyxfunc.C: adjust
14487         * lyxvc.C: adjust
14488         * text2.C: adjust
14489         + more files in subdirs
14490
14491         * lyxparagraph.h (size): move up int file
14492         (GetLayout): ditto
14493
14494         * adjust all uses of Assert to lyx::Assert.
14495
14496         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14497         lyxfunctional in namespace lyx
14498         * layout.C (hasLayout): ditto
14499         (GetLayout): ditto
14500         (GetLayout): ditto
14501         (delete_layout): ditto
14502         (NumberOfClass): ditto
14503         * converter.C (GetFormat): ditto
14504         (GetNumber): ditto
14505         (Add): ditto
14506         (Delete): ditto
14507         (SetViewer): ditto
14508         * bufferlist.C (getFileNames): ditto
14509         (emergencyWriteAll): ditto
14510         (exists): ditto
14511         (getBuffer): ditto
14512         * MenuBackend.C (hasSubmenu): ditto
14513         (hasMenu): ditto
14514         (getMenu): ditto
14515         * BufferView_pimpl.C (getInsetByCode): ditto
14516
14517 2001-04-18  Juergen Vigna  <jug@sad.it>
14518
14519         * vspace.C (asLatexString): fixed the 100% problem.
14520
14521 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14522
14523         * lyxfunc.C (Dispatch):
14524         * minibuffer.C:
14525         * minibuffer.h: add a few std:: qualifiers
14526
14527 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14528
14529         * minibuffer.[Ch]: reimplement so that commands is initiated and
14530         run from lyxfunc, simplified som handling, and made the completion
14531         and history code for complete. wip.
14532
14533         * lyxfunc.C (processKeySym): call message
14534         (miniDispatch): new temporary method
14535         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14536         (LFUN_MESSAGE): implement
14537         (LFUN_MESSAGE_PUSH): implement
14538         (LFUN_MESSAGE_POP): implement
14539         (initMiniBuffer): the initial/defualt minibuffer message.
14540
14541         * lyxfont.[Ch]: inline some more getters
14542
14543         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14544
14545         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14546
14547         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14548         (AutoSave): use LFUN_MESSAGE
14549         (Reconfigure): ditto
14550
14551         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14552
14553         * figureForm.C: use LFUN_MESSAGE
14554
14555         * converter.C (runLaTeX): use LFUN_MESSAGE
14556
14557         * bufferview_funcs.C: use LFUN_MESSAGE
14558         (Melt): ditto
14559         (changeDepth): ditto
14560
14561         * bufferparams.h: use boost::
14562
14563         * bufferlist.h: inherit privately from noncopyable
14564
14565         * bufferlist.C (loadLyXFile): remove some commented code.
14566
14567         * buffer.C (runChktex): use LFUN_MESSAGE
14568
14569         * ShareContainer.h: inherit privately from noncopyable
14570
14571         * ParagraphParameters.[hC] (depth): inline it.
14572
14573         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14574         methods.
14575         (message): new method
14576         (messagePush): ditto
14577         (messagePop): ditto
14578         (show): init minibuffer
14579         (showState): direct call
14580
14581         * LaTeX.[Ch]: inherit privately from noncopyable
14582         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14583         instead of WriteStatus.
14584
14585         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14586
14587         * BufferView_pimpl.C (buffer): don't init minibuffer
14588         (workAreaButtonPress): use LFUN_MESSAGE
14589         (workAreaButtonRelease): ditto
14590         (savePosition): ditto
14591         (restorePosition): ditto
14592         (MenuInsertLyXFile): ditto
14593         (workAreaExpose): don't init minibuffer
14594         (update): remove commented code, simplify
14595
14596         * BufferView2.C (openStuff): use LFUN_MESSAGE
14597         (toggleFloat): ditto
14598         (menuUndo): ditto
14599         (menuRedo): ditto
14600         (copyEnvironment): ditto
14601         (pasteEnvironment): ditto
14602         (copy): ditto
14603         (cut): ditto
14604         (paste): ditto
14605         (gotoInset): ditto
14606         (updateInset): remove some commented code
14607
14608         * lastfiles.h: inherit privately from noncopyable
14609         * layout.h: ditto
14610         * lyx_gui.h: ditto
14611         * lyx_main.h: ditto
14612         * lyxlex.h: ditto
14613         * lyxlex_pimpl.h: ditto
14614
14615         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14616         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14617         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14618
14619         * LyXAction.h: inherit privately from noncopyable, add methods
14620         func_begin, func_end, returning iterators to the func map.
14621
14622         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14623         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14624         (func_begin): new method
14625         (func_end): new method
14626
14627         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14628         and not)
14629         (copySelection): ditto
14630         (pasteSelection): ditto
14631
14632         * BufferView.C: whitespace change
14633         * BufferView.h: inherit privately from noncopyable
14634
14635 2001-04-16  Allan Rae  <rae@lyx.org>
14636
14637         * tabular-old.C (l_getline):
14638         * spellchecker.C (sc_check_word):
14639         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14640         an unrecognised preprocessor directive.  So ensure they're wrapped.
14641
14642 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * src/exporter.C (Export): Give an error message when path to file
14645         contains spaces.
14646
14647 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * LaTeX.C (deplog): Always check that foundfile exists.
14650
14651 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * lyx_main.h:
14654         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14655
14656 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * tabular.[Ch] (getLabelList): implement new method
14659
14660         * minibuffer.h: comment ouf setTiimer
14661
14662         * minibuffer.C (ExecutingCB): constify res
14663         (peek_event): constify s
14664         (Set): constify ntext
14665         (Init): constify nicename
14666
14667         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14668
14669         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14670         (savePosition): use two params to Minibuffer::Set
14671         (restorePosition): ditto
14672
14673 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * lyx_main.C: include language.h
14676
14677         * Makefile.am (lyx_main.o): add language.h
14678
14679 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * exporter.C:
14682         * paragraph.C:
14683         * screen.C:
14684         * tabular.C:
14685         * CutAndPaste.C: include gettext.h
14686
14687         * lyxfont.h: remove old hack with ON and OFF.
14688
14689         * lyxparagraph.h:
14690         * lyxfont.h: do not include language.h...
14691
14692         * BufferView2.C:
14693         * LaTeXFeatures.C:
14694         * Painter.C:
14695         * bufferview_funcs.C:
14696         * font.C:
14697         * lyxfont.C:
14698         * text.C:
14699         * text2.C:
14700         * trans_mgr.C:
14701         * paragraph.C: ... but do it here instead
14702
14703 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14704
14705         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14706
14707         * tabular.C: small reformat
14708
14709         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14710         NEW_INSETS version
14711         (GetChar): ditto
14712         (BreakParagraph): ditto
14713         (SetOnlyLayout): ditto
14714         (SetLayout): ditto
14715
14716         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14717         with one arg less.
14718
14719         * lastfiles.C: removed most using decl, add std:: where needed
14720
14721         * buffer.C: ws changes
14722
14723         * MenuBackend.C (class compare_format): put into anon namespace
14724         (expand): constify label, names, action, action2
14725         (expand):
14726
14727         * text.C (SingleWidth): constify font
14728         (IsBoundary): constify rtl2
14729         (GetVisibleRow): constify ww
14730
14731         * LaTeX.C (deplog): constify logfile
14732
14733         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14734         start_x, end_x
14735         (workAreaExpose): constify widthChange, heightChange
14736
14737         * lyxrow.C (par): moved
14738         (height): moved
14739         (next): moved
14740         * lyxrow.h: as inlines here
14741
14742         * lyxfont.h (shape): moved from lyxfont.C
14743         (emph): moved from lyxfont.C
14744
14745         * lyxfont.C (LyXFont): use initialization list for all
14746         constructors
14747         (shape): move to lyxfont.h as inline
14748         (emph): move to lyxfont.h as inline
14749
14750
14751 2001-04-04  Juergen Vigna  <jug@sad.it>
14752
14753         * vspace.C: had to include stdio.h for use of sscanf
14754
14755 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14756
14757         * BufferView.h:
14758         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14759         independent of xforms.
14760
14761 2001-04-02  Juergen Vigna  <jug@sad.it>
14762
14763         * spellchecker.C: fixed namespace placing!
14764
14765 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14766
14767         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14768         the LyXParagraph * is 0.
14769
14770 2001-03-29  Juergen Vigna  <jug@sad.it>
14771
14772         * vspace.C: added support for %, c%, p%, l%.
14773         (stringFromUnit): added helper function.
14774         (asLatexString): changed to give right results for the %-values.
14775
14776         * buffer.C: convert the widthp in a width%.
14777
14778 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14779
14780         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14781         figureForm.[Ch].
14782
14783         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14784         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14785
14786         * lyx_cb.[Ch]: see above.
14787
14788         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14789         form1.[Ch].
14790
14791         * form1.[Ch]:
14792         * lyx.[Ch]: replaced by figure_form.[Ch].
14793
14794         * lyx_gui.C:
14795         * lyx_gui_misc.C:
14796         * lyxfunc.C: changed headers associated with above changes.
14797
14798 2001-03-27  Juergen Vigna  <jug@sad.it>
14799
14800         * BufferView_pimpl.C: set the temporary cursor right!
14801
14802 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14803
14804         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14805
14806 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14807
14808         * LString.h: removed "using std::getline"!
14809
14810         * BufferView_pimpl.C (Dispatch): changes due to changes in
14811         InsetInclude::Params.
14812
14813         * buffer.C (tag_name): removed redundant break statements as they were
14814         producing lots of warnings with my compiler.
14815
14816 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * LString.h: add "using std::getline" when using the real <string>.
14819
14820 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14821
14822         * buffer.C: removed bitset usage.
14823         PAR_TAG moved to an anonymous name space.
14824         (tag_name): new funtion, also in the anonymous namespace.
14825         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14826         (makeDocBookFile): clean code. Completed transition from string arrays
14827         to string vectors.
14828         (SimpleDocBookOnePar): code clean.
14829
14830 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14831
14832         * tabular.C: add some comments.
14833
14834 2001-03-22  Juergen Vigna  <jug@sad.it>
14835
14836         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14837         compatibility read a bit and fixed bug with minipage in different
14838         depth.
14839
14840 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14841
14842         * buffer.C (pop_tag): removed.
14843         (push_tag): removed.
14844         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14845         array replaced with vector. Added support for CDATA sections.
14846         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14847         at any nest level.
14848         (makeDocBookFile): XML conformant declaration of CDATA section,
14849         fixed bug related to <emphasis> in the first paragraph char.
14850         (sgmlOpenTag): exclude empty tags.
14851         (sgmlCloseTag): ditto.
14852
14853         * buffer.h (pop_tag): removed.
14854         (push_tag): removed.
14855
14856 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * language.h (Languages): added size_type and size().
14859
14860 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14861
14862         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14863         response on compability reading of minipages. One probliem is that
14864         the old usage of minipages was «flertydig»
14865
14866         * several files here and in subdirs: don't use static at file
14867         scope use anon namespaces instead.
14868
14869 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14870
14871         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14872         LaTeX output. This is necessary for Literate document
14873         processing.
14874
14875 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14876
14877         * buffer.C: insert hfill when needed.
14878
14879         * tabular.C (l_getline): use string::erase, small whitespace change.
14880
14881         * BufferView_pimpl.C: try the anon namespace.
14882         * WorkArea.C: ditto
14883
14884 2001-03-16  Juergen Vigna  <jug@sad.it>
14885
14886         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14887         otherwise it won't open options-dialogs.
14888
14889         * buffer.C: honor pextraWidth(p) on converting minipages.
14890
14891         * tabular.C (l_getline): changed the functions to strip trailing \r.
14892
14893 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14894
14895         * BufferView_pimpl.C:
14896         * minibuffer..C: added "using SigC::slot" declaration.
14897
14898 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14899
14900         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14901
14902         * text2.C: ditto
14903
14904         * text.C: ditto
14905
14906         * paragraph.C: ditto
14907
14908         * lyxtext.h: NO_PEXTRA
14909
14910         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14911
14912         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14913         * ParameterStruct.h: ditto
14914         * ParagraphParameters.h: ditto
14915         * lyxparagraph.h: ditto
14916
14917 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14918
14919         * buffer.C: add compability for minipage alignment.
14920         (latexParagraphs): remove unwanted pextra check.
14921
14922         * several files: remove CXX_WORKING_NAMESPACES
14923
14924         * buffer.C (pop_tag): tie is in namespace boost
14925
14926         * BufferView.h: noncopyable is in namespace boost
14927         * lyxlex.h: ditto
14928         * lyx_main.h: ditto
14929         * lyx_gui.h: ditto
14930         * layout.h: ditto
14931         * lastfiles.h: ditto
14932         * bufferlist.h: ditto
14933         * ShareContainer.h: ditto
14934         * LyXView.h: ditto
14935         * LyXAction.h: ditto
14936         * LaTeX.h: ditto
14937
14938 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14939
14940         * Merging changes from BRANCH_MVC back into HEAD.
14941
14942         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14943
14944 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * BufferView_pimpl.C: change from intl.C
14947
14948         * combox.h:
14949         * combox.C:
14950         * Makefile.am: move combox.*
14951
14952         * form1.h:
14953         * form1.C:
14954         * lyx_gui.C:
14955         * intl.h:
14956         * intl.C: remove dialog (covered by prefs)
14957
14958 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14959
14960         * lyxfunc.C (Dispatch): removed redundant break statement.
14961
14962 2001-03-14  Juergen Vigna  <jug@sad.it>
14963
14964         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14965
14966 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14967
14968         * buffer.C: add hack to fix compability reading of minipages.
14969
14970 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * buffer.C (getLists): Cleanup.
14973
14974 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * lyxfont.C (update): don't honor toggleall on font size.
14977
14978 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14979
14980         * bmtable.c:
14981         * bmtable.h:
14982         * Makefile.am: moved to frontends/xforms/
14983
14984         * lyx_gui_misc.C:
14985         * lyxfunc.C:
14986         * BufferView_pimpl.C: changes for moved mathpanel
14987
14988 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * gettext.h: fix gettext_init() in --disable-nls
14991
14992 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14995
14996 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * lyx.C:
14999         * lyx.h: strip external form
15000
15001 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * BufferView_pimpl.C: add comment, destroySplash()
15004
15005 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * BufferView_pimpl.C:
15008         * LyXAction.C:
15009         * buffer.C:
15010         * commandtags.h:
15011         * lyxfunc.C: use re-worked insetinclude
15012
15013 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15014
15015         * buffer.C: add using std::stringstream.
15016
15017         * lyx_cb.C: readd using std::ios.
15018
15019         * buffer.C: add using std::map.
15020
15021         * BufferView_pimpl.C: add using std::vector.
15022
15023         * ShareContainer.h: add std:: to swap.
15024
15025         * buffer.h: add some typedefs
15026         * buffer.C (getLists): use them
15027         (getLists): renamed from getTocList.
15028         add a counter for the different float types and use it in the
15029         generated string.
15030         (getLists): use the same counter for the NEW_INSETS and the "non"
15031         NEW_INSETS
15032
15033         * lyx_cb.h: remove unused items, includes, using etc.
15034
15035         * ShareContainer.h: remove some commented code, add more comments
15036         and "documentation".
15037
15038 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15039
15040         * buffer.C (getTocList): make the list also when NEW_INSETS is
15041         defined.
15042
15043         * buffer.h: remove TocType
15044
15045         * buffer.C (getTocList): change to return a map<string,
15046         vector<TocItem> >, implement for dynamic number of list.
15047
15048         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15049         * text2.C (PasteSelection): adjust
15050         * CutAndPaste.C (pasteSelection): adjust
15051
15052         * FloatList.C (FloatList): update from the new_insets branch.
15053         * Floating.[Ch]: ditto
15054         * LaTeXFeatures.C: ditto
15055         * buffer.C: ditto
15056         * lyxlex_pimpl.C: ditto
15057
15058         * paragraph.C (Last): remove when NEW_INSETS is defined.
15059
15060         * other file: changes because of the above.
15061
15062 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15063
15064         * lyxparagraph.h: rename next to next_, previous to previous_,
15065         make them private for NEW_INSETS. Rename Next() to next(),
15066         Previous() to previous().
15067
15068         * other files: changes because of the above.
15069
15070 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * BufferView.h:
15073         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15074         problem.
15075
15076 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * main.C (main): pass lyx_localedir to gettext_init().
15079
15080         * gettext.h: remove locale_init and gettext_init macros
15081
15082         * gettext.C (locale_init): new function
15083         (gettext_init): new function
15084
15085         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15086         setlocale().
15087
15088 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15089
15090         * Moved credits to frontends:
15091         * credits.[Ch]: removed
15092         * credits_form.[Ch]: removed
15093         * lyx_gui_misc.C: remove credits stuff
15094         * Makefile.am:
15095
15096 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15097
15098         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15099
15100         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15101         unneeded destructor.
15102
15103         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15104         a standalone pointer again.
15105
15106         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15107
15108 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * Makefile.am:
15111         * filedlg.h:
15112         * filedlg.C:
15113         * LyXAction.C:
15114         * ToolbarDefaults.C:
15115         * bufferlist.C:
15116         * commandtags.h:
15117         * form1.C:
15118         * form1.h:
15119         * lyx_cb.C:
15120         * lyx_cb.h:
15121         * lyxfunc.h:
15122         * lyxfunc.C:
15123         * BufferView_pimpl.C: use new file dialog in GUII
15124
15125         * lyx_cb.h:
15126         * lyx_cb.C: remove LayoutsCB to Toolbar
15127
15128 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15129
15130         * ShareContainer.h (get): add std:: qualifier
15131
15132 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * ShareContainer.h: define a proper ShareContainer::value_type
15135         type (and use typename to please compaq cxx)
15136
15137 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15138
15139         * lyxparagraph.h: move serveral local vars to
15140         ParameterStruct/ParagraphParameters., use ShareContainer in
15141         FontTable., make vars in FontTable private and add getter and
15142         setter.
15143
15144         * paragraph.C: changes because of the above.
15145
15146         * lyxfont.h: remove copy constructor and copy assignment. (the
15147         default ones is ok), move number inside FontBits. move inlines to
15148         lyxfont.C
15149
15150         * lyxfont.C: add number to initializaton of statics, move several
15151         inlines here. constify several local vars. some whitespace
15152         cleanup. Dont hide outerscope variables.
15153
15154         * Spacing.h: add two new constructors to match the set methods.
15155
15156         * ShareContainer.h: new file, will perhaps be moved to support
15157
15158         * ParameterStruct.h: new file
15159
15160         * ParagraphParameters.h: new file
15161
15162         * ParagraphParameters.C: new file
15163
15164         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15165         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15166
15167         * BufferView_pimpl.C: ParagraphParameter changes.
15168         * buffer.C: Likewise.
15169         * bufferview_funcs.C: Likewise.
15170         * text.C: Likewise.
15171         * text2.C: Likewise.
15172
15173 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * lyxfind.C (LyXReplace): do not redefine default argument in
15176         implementation.
15177         (IsStringInText): ditto
15178         (SearchForward): ditto
15179         (SearchBackward): ditto
15180
15181 2001-03-06  Juergen Vigna  <jug@sad.it>
15182
15183         * lyxfind.C (IsStringInText): put parentes around expressions.
15184
15185 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15186
15187         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15188
15189 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15192
15193         * stl_string_fwd.h: add comment
15194
15195         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15196
15197         * tabular.h:
15198         * tabular.C: remove unused DocBook methods
15199
15200         * intl.C:
15201         * language.C:
15202         * paragraph.C:
15203         * buffer.C:
15204         killed DO_USE_DEFAULT_LANGUAGE
15205
15206 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * lyx_gui.C: do not include language.h.
15209
15210         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15211         arguments in function implementation.
15212
15213 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15214
15215         * BufferView_pimpl.C: add <ctime>
15216
15217 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15218
15219         * BufferView_pimpl.C: add using std::find_if
15220
15221 2001-02-27  José Matos  <jamatos@fep.up.pt>
15222
15223         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15224         by OnlyPath.
15225
15226 2001-02-11  José Matos  <jamatos@fep.up.pt>
15227
15228         * buffer.C (makeDocBookFile): command styles now have a parameter as
15229         "title" by default.
15230
15231 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15232
15233         * layout_forms.[Ch]: removed
15234         * lyx_cb.[Ch]: out character
15235         * lyx_gui.C: out character
15236         * lyx_gui_misc.C: out character
15237         * bufferview_funcs.C: : out character,
15238         added toggleall as parameter in ToggleAndShow
15239
15240 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15241
15242         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15243
15244         * text2.C (SetCurrentFont): Disable number property at boundary.
15245
15246 2001-02-26  Juergen Vigna  <jug@sad.it>
15247
15248         * lyxfunc.C (getStatus): added a string argument override function so
15249         that this is correctly called from LyXFunc::Dispatch if it contains a
15250         do_not_use_argument which is used!
15251         (Dispatch): added check for "custom" export and call appropriate func.
15252
15253 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15254
15255         * lyxrc.C: Add language_command_local, language_use_babel and
15256         language_global_options.
15257
15258         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15259
15260         * buffer.C (makeLaTeXFile): Use language_use_babel and
15261         language_global_options.
15262
15263 2001-02-23  Juergen Vigna  <jug@sad.it>
15264
15265         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15266         which works with LyXText and putted it inside BufferView. Here now we
15267         only call for that part the BufferView::Dispatch() function.
15268
15269         * BufferView.C (Dispatch): added.
15270
15271         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15272         functions which needs to use a LyXText over from LyXFunc.
15273         (MenuInsertLyXFile): added
15274         (getInsetByCode): added
15275         (moveCursorUpdate): added
15276         (static TEXT): added
15277
15278 2001-02-22  Juergen Vigna  <jug@sad.it>
15279
15280         * BufferView_pimpl.C (update): call a status update to see if LyXText
15281         needs it.
15282
15283 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15284
15285         * vc-backend.C (revert): implement for CVS
15286         (getLog): implement for CVS
15287
15288 2001-02-20  Juergen Vigna  <jug@sad.it>
15289
15290         * text2.C (ClearSelection): added BufferView param for inset_owner call
15291
15292         * lyxfunc.C (TEXT): added this function and use it instead of
15293         directly owner->view()-text of getLyXText().
15294
15295 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15296
15297         * src/layout_forms.C: out preamble
15298         * src/layout_forms.h: out preamble
15299         * src/lyx_cb.C: out preamble
15300         * src/lyx_cb.h: out preamble
15301         * src/lyx_gui.C: out preamble
15302         * src/lyx_gui_misc.C: out preamble
15303         * src/lyxfunc.C: connect with guii preamble
15304
15305 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15306
15307         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15308
15309 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15312         whether to run bibtex.
15313
15314 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15315
15316         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15317
15318 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15319
15320         * Makefile.am (lyx_SOURCES): removed bibforms.h
15321
15322         * vspace.h: doxygen
15323
15324         * text.C (GetVisibleRow): make several local vars const
15325
15326         * tabular.C: small cleanup.
15327
15328         * lyxserver.C (callback): use compare instead of strncmp
15329
15330         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15331         inlines to after class or to paragraph.C
15332
15333         * lyxfont.h: remove friend operator!=
15334
15335         * converter.h: move friend bool operator< to non friend and after
15336         class def.
15337
15338         * combox.h: small cleanup
15339
15340         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15341         to inlines after class def.
15342
15343         * buffer.C (pop_tag): use string operations instead of strcmp
15344
15345         * bmtable.c: doxygen, small cleanup
15346
15347         * LaTeX.h: remove friend operator==
15348
15349 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15350
15351         * screen.C:
15352         * lyxrc.[Ch]:
15353         * lyxfunc.C:
15354         * lyxfont.[Ch]:
15355         * lyx_cb.C:
15356         * intl.[Ch]:
15357         * commandtags.h:
15358         * buffer.C:
15359         * WorkArea.[Ch]:
15360         * LyXAction.C:
15361         * BufferView_pimpl.C:
15362         * BufferView.[Ch]: remove cruft
15363
15364 2001-02-14  Juergen Vigna  <jug@sad.it>
15365
15366         * lyxfunc.C: removed #if 0 unused code
15367
15368         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15369
15370         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15371
15372         * text2.C (SetSelection): added a BufferView * parameter
15373
15374 2001-02-13  Juergen Vigna  <jug@sad.it>
15375
15376         * lyxfunc.C (Dispatch): fixed protected blank problem.
15377         * BufferView2.C (protectedBlank): added LyxText * parameter.
15378
15379         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15380         (AppendColumn): same as above for column_info.
15381
15382         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15383         (moveCursorUpdate): use a LyXText param for support of InsetText.
15384
15385         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15386         (tripleClick): ditto
15387
15388         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15389
15390         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15391
15392         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15393
15394         * text2.C (SetSelection): set correct update status if inset_owner
15395         (ToggleFree): ditto
15396
15397 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15398
15399         * tabular.C: remove some commented code.
15400
15401 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15402
15403         * BufferView_pimpl.C: call hideSplash()
15404
15405         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15406
15407         * include_form.h:
15408         * bibforms.h: remove
15409
15410         * lyxfunc.C:
15411         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15412           add LFUN_CHILD_CREATE
15413
15414         * counters.h: fix tiny typo
15415
15416         * lyx_cb.C:
15417         * lyx.h:
15418         * lyx_gui.C:
15419         * lyx.C: move splash to frontends/xforms/
15420
15421         * lyx_gui_misc.C: move Include and Bibform to frontends
15422
15423         * lyxvc.h: clarify comment
15424
15425         * vspace.C: tiny housekeeping
15426
15427 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15428
15429         * text.C (PrepareToPrint): RTL Fix.
15430
15431         * paragraph.C (GetUChar): New method.
15432         (String):  Use GetUChar.
15433
15434         * buffer.C (asciiParagraph): Use GetUChar.
15435
15436 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15437
15438         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15439
15440 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15441
15442         * buffer.h:
15443         * buffer.C: rename to getLogName(), handle
15444           build log / latex log nicely
15445
15446 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * MenuBackend.C:
15449         * MenuBackend.h: remove support for reference menuitem type.
15450
15451 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15452
15453         * BufferView_pimpl.C: housekeeping
15454         * BufferView_pimpl.h:
15455         * LyXView.h:
15456         * Makefile.am:
15457         * Timeout.C:
15458         * Timeout.h:
15459         * minibuffer.h: move Timeout GUI-I
15460
15461 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15462
15463         * lyxrc.C (read): Update converters data-structures.
15464
15465 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15466
15467         * LaTeX.h (operator!=): add operator != for Aux_Info
15468
15469 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15470
15471         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15472
15473         * LaTeXLog.C: deleted, useful code moved to Buffer
15474
15475         * buffer.h:
15476         * buffer.C: new function getLatexLogName()
15477
15478         * lyx_gui_misc.C:
15479         * lyx_gui.C:
15480         * lyxvc.C:
15481         * lyxvc.h:
15482         * lyxfunc.C: use frontends for LaTeX and VC logs
15483
15484 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * LaTeX.h: yet another std:: that Allan forgot.
15487
15488         * Variables.C (set): renamed from isset(), because this clashes
15489         with some HP-UX macros (grr).
15490
15491 2001-02-06  Allan Rae  <rae@lyx.org>
15492
15493         * LaTeX.h: Another bug fix.  Missing std:: this time.
15494
15495 2001-02-04  Allan Rae  <rae@lyx.org>
15496
15497         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15498         floats problem. I've left it commented out because it's not quite
15499         correct.  It should also test that the current object is a table or
15500         figure inset.  But I haven't gotten around to figuring out how to do
15501         that.  I *think* it'll be something like: "table" == inset.type()
15502
15503         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15504         bool.
15505
15506 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15507
15508         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15509         all the citation/databases/styles in the auxilary file.
15510         (run): Rerun latex if there was a babel language error.
15511
15512 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15513
15514         * text.C (Backspace): Preserve the font when changing newline char
15515         with a space.
15516         (BreakParagraph): If the cursor is before a space, delete the space.
15517
15518         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15519
15520 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15521
15522         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15523         new argument (code).
15524         (ChangeCitationsIfUnique): New method.
15525
15526         * paragraph.C (GetPositionOfInset): Handle bibkey.
15527
15528 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * BufferView_pimpl.h: change type of Position::par_pos to
15531         LyXParagraph::size_type.
15532
15533 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15534
15535         * BufferView_pimpl.C (savePosition, restorePosition): Write
15536         messages to minibuffer.
15537
15538 2001-01-28  José Matos  <jamatos@fep.up.pt>
15539
15540         * buffer.C (makeDocBookFile): adds support for document language.
15541         A silly restriction on the name of LatexCommand types where removed.
15542         Added support for CDATA sections, allows to chars unescaped, used
15543         among others in code, to avoid escape < and >.
15544
15545 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15546
15547         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15548         saved positions instrad of a stack. Furthermore, a position is
15549         stored using paragraph id/paragraph position.
15550
15551         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15552         Remove LFUN_REF_BACK.
15553
15554 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15555
15556         * converter.C (dvipdfm_options): New method.
15557
15558 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15559
15560         * vspace.C (isValidLength): Fix for empty input string.
15561
15562 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15563
15564         * LyXAction.C (init): change description of LFUN_FIGURE to
15565         "Insert Graphics"
15566
15567 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15568
15569         * LaTeX.C: add using directive
15570
15571 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * MenuBackend.C (expand): Fix the sorting of the formats.
15574
15575 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * lyx_main.C: tiny error message fix
15578
15579 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15582         calling fl_initialize(). This fixes the problem with ',' as
15583         decimal separator in text files.
15584
15585 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15586
15587         * trans.C (process): Fix the keymap bug.
15588
15589 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15590
15591         * LaTeX.C (scanAuxFiles): New method. Provides support for
15592         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15593         (scanLogFile) Scan for "run BibTeX" messages.
15594
15595         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15596         OT1 font encoding. Also, load the aecompl package if the ae
15597         package is loaded.
15598
15599         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15600
15601 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * texrow.C (increasePos): turn two error messages into debug
15604         messages.
15605
15606 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15607
15608         * LaTeX.C (scanAux): Handle the \@input macro.
15609         (runBibTeX): Use scanAux().
15610
15611         * language.C (latex_options_): New field.
15612
15613         * LaTeXFeatures.C (getMacros): Add language macros.
15614
15615         * buffer.C (makeLaTeXFile): Small fix.
15616
15617 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15620
15621         * text2.C: add a using directive.
15622
15623 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15624
15625         * BufferView2.C:
15626         * lyx_gui_misc.h:
15627         * lyxfr1.C:
15628         * lyxfunc.C: kill LyXBell.
15629
15630 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * text.C (IsBoundary): Remove the error message
15633
15634         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15635
15636         * lyxrc.C (setDefaults): Correct initialization value for
15637         font_norm_type.
15638
15639 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15640
15641         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15642         gotoError().
15643
15644         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15645         and GotoNextNote().
15646
15647         * src/LyXAction.C: Added reference-next.
15648
15649         * text.C (InsertChar): Use contains instead of strchr.
15650
15651         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15652
15653 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15656         alignment commands (when needed).
15657
15658         * text.C (InsertChar): Add ':' to number separator chars.