]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e50946f1d4599c313afcb0a9e422dd48dfc440a1
[lyx.git] / src / ChangeLog
1 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * debug.h: add DEBUG to enum and fix size of ANY.
4
5         * debug.C: add support for Debug::DEBUG
6         (showTags): cast errorTags.level to unsigned int
7
8         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
9         (redoCurrentBuffer): ditto
10         (updateScrollbar): ditto
11         * cursor.C (dispatch): ditto
12         * text2.C (setLayout): ditto
13         (setFont): ditto
14         (updateCounters): ditto
15         (editXY): ditto
16         (deleteEmptyParagraphMechanism): ditto
17
18 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
19
20         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
21         annotations to cleanup the Makefile slightly.
22
23 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * lyxrc.C: do not set user_email to a default value but use empty
26         instead. The entry used to be translated, which does not work
27         since at the point where lyxrc is constructed there is no
28         translation service available
29
30         * messages.C (getLocaleDir): remove and use directly
31         lyx_localedir() instead
32
33 2004-06-02  Angus Leeming  <leeming@lyx.org>
34
35         Fix crash caused by dereferencing null pointer 'exportdata' in
36         OutputParams by creating a new ExportData variable on the heap,
37         storing it in a boost::shared_ptr.
38         The crash was triggered when generating an Instant Preview
39         of an external inset.
40
41         * Makefile.am: add outputparams.C
42
43         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
44         (c-tor): allocate memory to it.
45
46         * exporter.C (c-tor): associated changes.
47
48 2004-06-01  Angus Leeming  <leeming@lyx.org>
49
50         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
51         contains data before calling isInset(0). (Bug 1513.)
52
53 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
54
55         * exporter.C (checkOverwrite): new method
56         * exporter.C (copyFile): new method
57         * exporter.C (Export): copy referenced files to the document dir
58         * exporter.[Ch]: new class ExportedFile
59         * exporter.[Ch]: new class ExportData. Contains currently the
60         names of referenced external files
61         * outputparams.h: add exportdata member.
62
63 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
64
65         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
66         version.C-tmp
67
68 2004-05-19  Angus Leeming  <leeming@lyx.org>
69
70         * LaTeXFeatures.C:
71         * ToolbarBackend.C:
72         * bufferparams.C:
73         * lyxfunc.C: small changes due to the introduction of namespace
74         lyx::frontend and the moving of namespace biblio to lyx::biblio.
75
76 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
77
78         * text3.C (dispatch): supress update when only moving the cursor
79         * cursor.C (selHandle): remove commented code
80
81 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * paragraph.C (startTeXParParams): correct column count
84         * CutAndPaste.C (pasteSelection): remove const_cast
85         * output_docbook.C (docbookParagraphs): remove const_cast
86         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
87         const_cast and return ParagraphList::const_iterator
88         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
89         * output_plaintext.C (writeFileAscii): remove const_cast
90         * paragraph.[Ch] (simpleTeXOnePar): make const
91         * paragraph_funcs.C (outerPar): use const iterators
92         * paragraph_pimpl.C (validate): use const iterators
93         * text.C (setHeightOfRow): use const iterators
94
95 2004-05-17  Angus Leeming  <leeming@lyx.org>
96
97         * lfuns.h:
98         * LyXAction.C (init): new LFUN_INSET_REFRESH.
99
100         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
101         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
102         if the citation engine has changed.
103
104 2004-05-14  José Matos  <jamatos@lyx.org>
105
106         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
107         if the textclass does not provide it. Have it different for sgml and
108         xml.
109         support the language of document.
110         * output_docbook.C (docbookParagraphs):
111         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
112         first anchor as the id of the paragraph, remove special case code.
113         * sgml.C (escapeChar): escape only < & >.
114
115 2004-05-14  Angus Leeming  <leeming@lyx.org>
116
117         * bufferparams.h: move biblio::CiteEngine enum here to minimize
118         dependencies on src/frontends/controllers/biblio.h. Define a
119         CiteEngine_enum wrapper class to enable the enum to be forward
120         declared.
121
122 2004-05-12  Angus Leeming  <leeming@lyx.org>
123
124         * buffer.C: up LYX_FORMAT to 234.
125         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
126         use_numerical_citations with a single biblio::CiteEngine cite_engine
127         variable.
128         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
129
130 2004-05-13  José Matos  <jamatos@lyx.org>
131
132         * converter.h:
133         * converter.C (Converter, readFlags): add xml member.
134         * outputparams.h: add XML flavor.
135         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
136
137 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * lyxfunc.C (dispatch):
140         (getStatus): fix handling of LFUN_SEQUENCE
141
142 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * debug.C (showLevel): do not forget the end-of-line marker
145
146 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * kbmap.C (read): do not stop parsing a bind file when an error
149         occurs (bug 1575)
150
151 2004-04-29  Angus Leeming  <leeming@lyx.org>
152
153         * cursor.C:
154         * factory.C:
155         * pariterator.C:
156         * text2.C: wrap a bunch of #warning statements
157         inside #ifdef WITH_WARNINGS blocks.
158
159 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * buffer.C: increment format to 233.
162
163 2004-04-28  Angus Leeming  <leeming@lyx.org>
164
165         * BufferView_pimpl.C:
166         * lyxfunc.C:
167         * text3.C:
168         s/updateToolbar()/updateToolbars()/
169         s/Toolbar.h/Toolbars.h/
170
171 2004-04-28  Angus Leeming  <leeming@lyx.org>
172
173         * BufferView.[Ch] (c-tor):
174         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
175         No longer passes these data to the WorkArea generator.
176
177 2004-04-28  Angus Leeming  <leeming@lyx.org>
178
179         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
180
181 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
182
183         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
184
185 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * output_latex.C (TeXEnvironment): make sure that there is a line
188         break before \end{foo} for the last paragraph of a document
189         (TeXOnePar): if the paragraph is at the end of the document (or
190         inset) and the language has to be reset, then make sure that the
191         line break is _before_ the language command, not after (fixes bug
192         1225); also make sure that the language reset command is the first
193         thing after the paragraph (to ensure proper nesting of
194         environments and thus fix bug 1404)
195
196 2004-04-21  John Levon  <levon@movementarian.org>
197
198         * ToolbarBackend.h:
199         * ToolbarBackend.C: make "name" be a programmatic name
200         and a gui_name field.
201
202         * lyxfunc.C: display the minibuffer on M-x
203
204 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
205
206         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
207         (bug 1526)
208
209 2004-04-19  Angus Leeming  <leeming@lyx.org>
210
211         * BufferView_pimpl.C (setBuffer): changed preview interface.
212
213         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
214         possible values.
215
216 2004-04-19  John Levon  <levon@movementarian.org>
217
218         * BufferView_pimpl.C:
219         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
220
221 2004-04-05  Angus Leeming  <leeming@lyx.org>
222
223         * text.C (redoParagraphs): add call to updateCounters(), thereby
224         fixing the missing "Figure #:" label from the caption of a
225         figure float.
226
227 2004-04-13  Angus Leeming  <leeming@lyx.org>
228
229         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
230         cursor is clicked out of an inset.
231
232 2004-04-13  Angus Leeming  <leeming@lyx.org>
233
234         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
235         than an InsetOld one.
236
237 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * format.[Ch]: add editor to Format
240         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
241         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
242
243 2004-04-08  André Pönitz  <poenitz@gmx.net>
244
245         * metricsinfo.h: remove PainterInfo::width member
246
247 2004-04-08  Angus Leeming  <leeming@lyx.org>
248
249         * lyx_sty.C (boldsymbol_def): modify so that it outputs
250         "\providecommand" rather than "\newcommand", thereby preventing
251         clashes with packages that define "\boldsymbol" themselves.
252         Eg, beamer.
253
254 2004-04-08  Angus Leeming  <leeming@lyx.org>
255
256         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
257         thereby squashing an unnecessary warning.
258
259 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
262         setBuffer()
263
264 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * BufferView.C (setCursor): call redoParagraph (some insets could
267         have been opened)
268         (putSelectionAt): remove the 'double update' trick
269
270         * BufferView_pimpl.C (fitCursor): call refreshPar
271         (workAreaDispatch): remove an uneeded update call
272         (dispatch): remove some manual update calls
273
274         * cursor.[Ch]: remove cached_y_, updatePos
275         (selHandle): set noUpdate when appropriate
276
277         * lyxfunc.C (dispatch): track if we need an update
278
279         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
280
281         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
282         (paintSelection): cheap optimization, do not call cursorX when not
283         needed
284         (paintPars): change signature
285         (refreshPar): add
286         (paintText): adjust
287         (paintTextInset): adjust
288
289         * text.C: adjust
290
291 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * lengthcommon.C: compilation fix: remove explicit array size from
294         unit_name[] and friends
295
296 2004-04-05  Angus Leeming  <leeming@lyx.org>
297
298         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
299
300         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
301         present only for the preferences dialog.
302         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
303
304 2004-04-05  Angus Leeming  <leeming@lyx.org>
305
306         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
307         to enable the frontends to export changes to lyxrc correctly.
308
309         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
310
311 2004-04-07  André Pönitz  <poenitz@gmx.net>
312
313         * cursor.[Ch] (selClear, adjust): remove math
314
315         * cursor_slice.C: more agressive assert
316
317         * lyxfunc.C:
318         * BufferView_pimpl.C: rework mouse event dispatch
319
320         * dociterator.C:
321         * paragraph.C:
322         * text2.C:
323         * text3.C: adjust
324
325 2004-04-05  André Pönitz  <poenitz@gmx.net>
326
327         * cursor.[Ch] (valign, halign...): remove unneeded functions
328
329 2004-04-05  Angus Leeming  <leeming@lyx.org>
330
331         * lyxlength.[Ch] (unit_name et al.): const-correct.
332
333 2004-04-05  Angus Leeming  <leeming@lyx.org>
334
335         * BufferView_pimpl.C:
336         * buffer.C:
337         * counters.C:
338         * cursor.C:
339         * lyxfunc.C
340         * paragraph.C:
341         * pariterator.C:
342         * text.C:
343         * text2.C:
344         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
345
346 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * text3.C (getStatus): add LFUN_BEGINNINGBUF
349
350 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
351
352         * lyxfind.C: add a couple of inTexted() tests + other small fixes
353         * BufferView_pimpl.[Ch] (getStatus)
354         * BufferView.[Ch] (getStatus): add
355         * lyxfunc.C (getStatus): move lfuns handled in
356         BufferView::dispatch to te function above
357         * Cursor.C (setSelection): set selection() = true
358
359 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
360
361         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
362
363 2004-03-31  Angus Leeming  <leeming@lyx.org>
364
365         * lyxfunc.C (dispatch): Fall through to the generic
366         Dialogs::show("preamble").
367
368 2004-03-31  Angus Leeming  <leeming@lyx.org>
369
370         * lyxfunc.C (dispatch): Fall through to the generic
371         Dialogs::show("spellchecker").
372
373 2004-03-31  Angus Leeming  <leeming@lyx.org>
374
375         * lyxfunc.C (getStatus, dispatch): changed invocation of the
376         preferences dialog.
377
378 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * BufferView.C
381         * cursor.[Ch]
382         * dociterator.[Ch]:
383         * insetiterator.[Ch]:
384         * lyxfind.C:
385         * lyxfunc.C:
386         * pariterator.[Ch]:
387         * text2.C:
388         * undo.[Ch]: s/DocumentIterator/DocIterator/g
389
390 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * BufferView.C (setCursor, putSelectionAt): call edit to open the
393         insets where we are putting the cursor.
394
395 2004-03-31  Angus Leeming  <leeming@lyx.org>
396
397         * lfuns.h:
398         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
399
400         * lyxrc.[Ch] (read, write): overloaded member functions taking
401         a std::[io]stream arguments.
402
403         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
404
405 2004-03-31  Angus Leeming  <leeming@lyx.org>
406
407         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
408         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
409
410         * lyxtextclass.C (load): if the text class couldn't be loaded, then
411         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
412
413 2004-03-31  Angus Leeming  <leeming@lyx.org>
414
415         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
416         the LFUN_ALL_INSETS_TOGGLE code.
417
418 2004-03-30  Angus Leeming  <leeming@lyx.org>
419
420         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
421         has died. Fall through to the generic Dialogs::show("document").
422
423 2004-03-30  Angus Leeming  <leeming@lyx.org>
424
425         * lfuns.h:
426         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
427         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
428
429         * lyxfunc.C (getStatus, dispatch): define the actions for these
430         lfuns. Little more than a cut and pste job from ControlDocument.C
431
432         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
433
434 2004-03-30  Angus Leeming  <leeming@lyx.org>
435
436         * lfuns.h:
437         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
438         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
439
440         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
441         open/closed state of ollapsable insets. Usage:
442
443         all-inset-toggle <state> <name>, where
444         <state> == "open" || "closed" || "toggle" and
445         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
446
447         * lyxtext.h, text2.C (toggleInset): removed.
448
449         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
450         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
451         now passes LFUN_INSET_TOGGLE to the found inset.
452
453         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
454         is now invoked as "all-insets-toggle toggle branch".
455
456 2004-03-30  Angus Leeming  <leeming@lyx.org>
457
458         * dociterator.C:
459         * insetiterator.C:
460         * pariterator.[Ch]: added/corrected header blurb.
461
462 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * dociterator.[Ch]: add an inset_ member
465         (backwardPos): implemented
466         (backwardPos, forwardPos): use inset_ when the stack is empty.
467         (doc_iterator_begin, doc_iterator_end): implemented
468         * pariterator.[Ch]: adjust, add begin, end
469         * insetiterator.[Ch]: adjust, add begin, end
470         * cursor.C:
471         * document.C:
472         * BufferView.C:
473         * BufferView_pimpl.C:
474         * CutAndPaste.C: adjust
475
476 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * buffer.C: increment file format to 232.
479         * LaTeXFeatures.C: add bibtopic package.
480         * bufferparams.[Ch]: param \use_bibtopic.
481
482         * lyxrc.[Ch]: add lyxrc bibtex_command
483         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
484
485         * buffer.C: increment file format to 231.
486
487 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * dociterator.C: implement forwardPar
490         * iterators.[Ch]: remove, replaced by
491         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
492         * BufferView.C:
493         * BufferView_pimpl.C:
494         * CutAndPaste.C:
495         * buffer.C:
496         * bufferview_funcs.C:
497         * cursor.C:
498         * lyxfind.C
499         * lyxfunc.C
500         * paragraph_funcs.C
501         * toc.C:
502         * Makefile.am: adjust
503
504 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * CutAndPaste.C (pasteSelection): fix 2 crashes
507         (eraseSelection): fix a crash
508         * paragraph_funcs.C: remove a warning
509
510 2004-03-28  Angus Leeming  <leeming@lyx.org>
511
512         * lfuns.h:
513         * LyXAction.C (init): new LFUN_PRINT.
514
515         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
516
517 2004-03-27  Angus Leeming  <leeming@lyx.org>
518
519         * lfuns.h:
520         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
521
522         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
523
524 2004-03-27  Angus Leeming  <leeming@lyx.org>
525
526         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
527         insetlist always contains non-null pointers to insets.
528
529 2004-03-26  Angus Leeming  <leeming@lyx.org>
530
531         * src/BufferView_pimpl.C:
532         * src/CutAndPaste.C:
533         * src/buffer.C:
534         * src/iterators.C:
535         * src/output_plaintext.C:
536         * src/outputparams.h:
537         * src/paragraph_funcs.C:
538         * src/rowpainter.C:
539         * src/text.C:
540         * src/text2.C:
541         * src/frontends/controllers/ControlErrorList.C:
542         * src/frontends/gtk/FileDialogPrivate.C:
543         * src/frontends/gtk/GPainter.C:
544         * src/frontends/gtk/GToolbar.C:
545         * src/frontends/qt2/QRef.C:
546         * src/mathed/math_scriptinset.C: squash compiler warnings.
547
548 2004-03-26  Angus Leeming  <leeming@lyx.org>
549
550         * ispell.C (LaunchIspell::start):
551         * lyx_cb.C (AutoSaveBuffer::start):
552         invoke run(DontWait) rather than runNonBlocking().
553
554 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
557
558 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * kbsequence.C (print): adjust
561
562         * kbmap.C (printKeySym): rename and change signature
563         (printKey): use LyXKeySym::print()
564
565 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
566
567         * undo.C: add using std::advance to compile for stlport
568
569 2004-03-24  Angus Leeming  <leeming@lyx.org>
570
571         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
572         it leads to a crash when no buffer is present.
573
574 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
575             Martin Vermeer  <martin.vermeer@hut.fi>
576
577         * lyxfunc.C (dispatch):
578         * bufferparams.C (readToken): use the new LColor::setColor
579
580         * LColor.[Ch] (setColor): new version that takes two strings as
581         argument and creates a new color entry if necessary
582
583 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
584
585         * buffer.C (makeLaTeXFile): if the main latex file that is
586         processed is usually a subdocument of some master, then pretend
587         for a while that it is actually the master
588
589 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
590
591         * buffer.C (getLabelList):
592         (getBibkeyList): use getMasterBuffer()
593         (getMasterBuffer): new method. Returns the main document in the
594         case where one is using included documents.
595
596 2004-03-25  André Pönitz  <poenitz@gmx.net>
597
598         * Makefile.am:
599         * iterators.[Ch]:
600         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
601
602         * ParagraphList_fwd.h: change ParagraphList to a std::vector
603
604         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
605         text*.C over here. Rename namespace CutAndPaste to lyx::cap
606
607         * ParameterStruct.h: merge with ParagraphParameters
608
609         * lyxtext.h: remove LyXText::parOffset() and getPar()
610
611         * text3.C: Remove all 'manual' update calls. We do now one per user
612         interaction which is completely sufficient.
613
614         * Bidi.C:
615         * BufferView.[Ch]:
616         * BufferView_pimpl.C:
617         * FontIterator.[Ch]:
618         * MenuBackend.C:
619         * ParagraphParameters.[Ch]:
620         * buffer.C:
621         * buffer.h:
622         * bufferlist.C:
623         * cursor.[Ch]:
624         * cursor_slice.[Ch]:
625         * dociterator.[Ch]:
626         * errorlist.[Ch]:
627         * factory.C:
628         * lfuns.h:
629         * lyxfind.C:
630         * lyxfunc.C:
631         * output_docbook.[Ch]:
632         * output_latex.[Ch]:
633         * output_linuxdoc.[Ch]:
634         * output_plaintext.[Ch]:
635         * paragraph.[Ch]:
636         * paragraph_funcs.[Ch]:
637         * paragraph_pimpl.[Ch]:
638         * rowpainter.C:
639         * tabular.[Ch]:
640         * text.C:
641         * text2.C:
642         * toc.C:
643         * undo.[Ch]: adjust
644
645         * frontends/controllers/ControlDocument.C:
646         * frontends/controllers/ControlErrorList.C:
647         * frontends/controllers/ControlSpellchecker.C:
648         * insets/inset.C:
649         * insets/inset.h:
650         * insets/insetbase.h:
651         * insets/insetbibitem.C:
652         * insets/insetbox.C:
653         * insets/insetbranch.C:
654         * insets/insetcaption.C:
655         * insets/insetcharstyle.C:
656         * insets/insetcharstyle.h:
657         * insets/insetcollapsable.C:
658         * insets/insetcollapsable.h:
659         * insets/insetert.C:
660         * insets/insetfloat.C:
661         * insets/insetfoot.C:
662         * insets/insetmarginal.C:
663         * insets/insetnote.C:
664         * insets/insetoptarg.C:
665         * insets/insettabular.C:
666         * insets/insettext.C:
667         * insets/insettext.h:
668         * insets/insetwrap.C:
669         * mathed/math_mboxinset.C:
670         * mathed/math_nestinset.C:
671         * mathed/math_scriptinset.C:
672         * mathed/math_scriptinset.h:
673         * support/types.h:
674
675 2004-03-24  Angus Leeming  <leeming@lyx.org>
676
677         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
678         deal with any child processes that have finished but are waiting to
679         communicate this fact to the rest of LyX.
680
681 2004-03-24  Angus Leeming  <leeming@lyx.org>
682
683         64-bit compile fixes.
684
685         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
686         (c-tor): pass lyx::pos_types rather than ints.
687
688         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
689         lyx::pos_type.
690
691         * text.C (Delete): compile fix.
692         (getPar): ensure that function declaration is the same as that in
693         the header file.
694
695 2004-03-23  Angus Leeming  <leeming@lyx.org>
696
697         * ispell.C (LaunchIspell):
698         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
699         a boost::shred_ptr rather than a std::auto_ptr.
700
701 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * lyxfunc.C (getStatus): handle read-only buffers correctly;
704         handle LFUN_FILE_INSERT_*
705
706         * lyxrc.C (setDefaults, getDescription, output, read):
707         * lyxrc.h: remove ps_command
708
709 2004-03-22  Angus Leeming  <leeming@lyx.org>
710
711         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
712         Ensure that error_handler is processed once only and that all data
713         is saved before attempting to output any warning messages.
714
715         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
716
717 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
718
719         * tabular.C (TeXRow): crash fix (from Kayvan and André)
720
721 2004-03-19  André Pönitz  <poenitz@gmx.net>
722
723         * cursor.[Ch] (reset): take main text inset as argument
724
725         * BufferView: adjust
726         * BufferView_pimpl.C: adjust
727
728         * paragraph.[Ch]: fix completely broken operator=()
729
730 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * LColor.C (getFromLyXName): make sure that the color name is used
733         as lowercase.
734
735 2004-03-17  Angus Leeming  <leeming@lyx.org>
736
737         * lfuns.h:
738         * LyXAction.C (init): remove LFUN_FORKS_KILL.
739
740         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
741         dialog and to kill a forked process.
742
743 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
744
745         * text2.C (setCursorFromCoordinates): fix font problem
746
747 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
748
749         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
750         bogus "rebuild cursor" code
751
752 2004-03-11  André Pönitz  <poenitz@gmx.net>
753
754         * buffer.[Ch]: use InsetText instead of LyXText as container for
755         the main lyx text.
756
757         * dociterator.[Ch]: drop the BufferView * member which is not needed
758         anymore after the change to buffer.C
759
760         * paragraph_funcs.C:
761         * text.C:
762         * text2.C:
763         * BufferView.[Ch]:
764         * BufferView_pimpl.[Ch]:
765         * cursor.[Ch]:
766         * cursor_slice.[Ch]: adjust
767
768         * text3.C: fix bug in mathDispatch
769
770 2004-03-08  André Pönitz  <poenitz@gmx.net>
771
772         * undo.[Ch]: use 'StableDocumentIterator' as base for
773         the Undo struct.
774
775 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
776
777         * LaTeXFeatures.C:
778         * bufferparams.[Ch]: add jurabib support and param.
779
780         * LaTeX.C: add FIXME/comment.
781
782 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
783
784         * buffer.C: increment file format to 230.
785
786 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
787
788         * cursor.C (dispatch): avoid infinite loops
789
790 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
791
792         * rowpainter.C (paintSelection): fix x coordinates
793
794 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
795
796         * text.C (rowBreakPoint): fix breaking before displayed insets
797
798 2004-03-01  André Pönitz  <poenitz@gmx.net>
799
800         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
801
802         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
803
804         * Makefile.am:
805         * BufferView.C:
806         * BufferView_pimpl.C:
807         * buffer.C:
808         * lyxfind.C:
809         * lyxfunc.C:
810         * text.C:
811         * text2.C:
812         * text3.C: adjust
813
814 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
815
816         * lyxtext.h:
817         * text.C:
818         * text2.C:
819         * rowpainter.C:
820         * BufferView_pimpl.C: rename textwidth -> maxwidth,
821         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
822
823 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
824
825         * Bidi.[Ch] (computeTables): const correctness
826         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
827         fill_hfill, fill_label_hfill and x from Row
828         * lyxtext.h: prepareToPrint returns a RowMetrics
829         * rowPainter.C: adjust
830         * text.C (prepareToPrint): use width, not textWidth. adjust
831         (redoParagraphInternal, cursorX): adjust
832         * text2.C (getColumnNearX): adjust
833         (init): put a default value to the top LyXText::width
834
835 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
836
837         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
838
839 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
840
841         * lyxtext.h: add FontIterator class
842
843         * text.C (FontIterator, operator*, operator->, operator++): add
844         (rowBreakPoint, setRowWidth): adjust (fixing a
845         rebreaking bug)
846
847 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * BufferView_pimpl.C (workAreaDispatch): allow also
850         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
851
852 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * text.C (rowBreakPoint): fix a bug showing with very large insets
855
856 2004-02-25  André Pönitz  <poenitz@gmx.net>
857
858         * text3.C:
859         * cursor.[Ch]: move some mathed specific code to mathed
860
861 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
862
863         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
864         use_tempdir in preferences
865         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
866         tempfile creation
867         * lyx_main.C: ensure that tempdir is valid
868         * lyxlex.h: correct typo
869         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
870         * paragraph.[Ch] (isMultiLingual): make const
871         * cursor.[Ch] (openable): make const
872
873 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
874
875         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
876
877 2004-02-20  André Pönitz  <poenitz@gmx.net>
878
879         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
880
881         * cursor.[Ch]: prepare for localized getStatus()
882
883         * lyxtext.h:
884         * tabular.C:
885         * text.C:
886         * text2.C:
887         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
888
889 2004-02-20  André Pönitz  <poenitz@gmx.net>
890
891         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
892
893 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
894
895         * text2.C (setCursorFromCoordinates): switch to absolute coords
896         (cursorUp): adjust
897         (cursorDown): adjust
898         * text3.C (dispatch): adjust
899
900 2004-02-16  André Pönitz  <poenitz@gmx.net>
901
902         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
903           insets/ChangeLog)
904
905         * cursor_slice.[Ch]: remove unneeded acessor function
906
907         * lyxtext.h: rename rtl() to isRTL()
908
909         * rowpainter.C:
910         * tabular.C:
911         * text.C:
912         * text2.C:
913         * text3.C: adjust
914
915 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * rowpainter.C (paintSelection): coord fix
918
919 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
920
921         * Spacing.C: compile fix
922
923 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * cursor.C (dispatch): restore current_ before returning
926
927 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text2.C (cursorUp, cursorDown): fix coords
930         (moveUp): fix crash
931
932 2004-02-12  André Pönitz  <poenitz@gmx.net>
933
934         * lyxtext.h:
935         * text.C:
936         * text2.C:
937         * text3.C: add LCursor & parameter to most cursor movement functions
938           remove usage of LyXText::cursorRow() and cursorPar()
939
940         * cursor.[Ch]: add textRow() needed members
941
942         * BufferView.C:
943         * BufferView_pimpl.C:
944         * paragraph.[Ch]:
945         * BufferView.C:
946         * BufferView_pimpl.C: adjust
947
948 2004-02-11  André Pönitz  <poenitz@gmx.net>
949
950         * lyxfunc.C:
951         * BufferView.[Ch]:
952         * BufferView_pimpl.C: shift undo/redo handling
953
954         * cursor.[Ch]: fix mathed crash
955
956         * lyxfind.C:
957         * lyxtext.h: move selectionAsText to LCursor
958
959         * output_latex.C:
960         * paragraph.C:
961         * text.C:
962         * text2.C:
963         * text3.C: adjust
964
965         * rowpainter.C: fix excessive drawing
966
967 2004-02-06  André Pönitz  <poenitz@gmx.net>
968
969         * BufferView.[Ch]:
970         * BufferView_pimpl.[Ch]:
971         * text3.C: move some text specific LFUN handling
972
973 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
974
975         * text3.C (checkInsetHit): adjust coords
976         * text2.C (getColumnNearX): adjust coords
977         (edit): adjust coords
978         * text.C (getRowNearY): add two asserts
979
980 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
981
982         * converter.C:
983         * format.C: add using std::distance to compile on gcc 2.95/stlport
984
985 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
988
989 2004-02-04  André Pönitz  <poenitz@gmx.net>
990
991         * BufferView.[Ch] (insertInset):
992         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
993
994         * text2.C:
995         * text3.C: adjust
996
997 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1000         on the default clause of the switch
1001         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1002         wasn't catched by LCursor::dispatch
1003
1004 2004-02-03  André Pönitz  <poenitz@gmx.net>
1005
1006         * BufferView.C:
1007         * cursor.[Ch]: some additional asserts
1008
1009         * undo.[Ch]: remove LyXText dependency in interface
1010
1011         * lyxfunc.C: adjust
1012
1013         * lyxtext.h (firstPar, lastPar): remove dead functions
1014
1015         * text.C:
1016         * text2.C:
1017         * text3.C:
1018         * paragraph.[Ch]: adjust
1019
1020 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1021
1022         * lyxfind.C (find): fix argument order in call to ::find
1023
1024 2004-02-02  André Pönitz  <poenitz@gmx.net>
1025
1026         * cursor.[Ch]: remove direct access to anchor
1027
1028         * text.C: remove findText() hack
1029
1030 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * iterators.[Ch] (lockPath): remove in favour of...
1033         * BufferView.[Ch] (setCursor): this addition
1034         * BufferView.C (putSelectionAt): adjust
1035         * undo.C (performUndoOrRedo): adjust
1036         * lyxfunc.C (dispatch): adjust
1037
1038 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * iterators.C (lockPath): add a missing slice
1041         * undo.C (performUndoOrRedo): remove redundant positioning code
1042
1043 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1044
1045         * vc-backend.C (scanMaster): ";" -> ';'
1046
1047 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1048
1049         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1050         std::binary_function
1051
1052         * lyxtextclass.C (compare_name): rename to...
1053         (LayoutNamesEqual): ...this
1054
1055         * lyxlex_pimpl.C (compare_tags): inherit from
1056         std::binary_function, put back into anon namespace
1057
1058         * lyxfind.C (MatchString): inherig from std::binary_function
1059         (findChange): use empty() istead of !size()
1060
1061         * format.C (FormatNamesEqual): new functor
1062         (getFormat): use it
1063         (getNumber): use it
1064         (add): use it
1065         (erase): use it
1066         (setViewer): use it
1067
1068         * converter.C (compare_Converter): rename to...
1069         (ConverterEqual): ...this, and fixup a bit.
1070         (getConverter): use it, and make function const
1071         (getNumber): use it, and make function const
1072         (add): use it
1073         (erase): use it:
1074
1075         * bufferlist.C: add using boost::bind
1076
1077         * MenuBackend.C (MenuNamesEqual): new functor
1078         (hasMenu): use it, and make function const
1079         (hasSubmenu): use nested bind to get rid of compare_memfun.
1080
1081 2004-01-30  André Pönitz  <poenitz@gmx.net>
1082
1083         * BufferView_pimpl.C:
1084         * cursor.C:
1085         * cursor.h:
1086         * cursor_slice.[Ch]:
1087         * lyxfunc.C:
1088         * lyxtext.h:
1089         * paragraph_funcs.C:
1090         * paragraph_funcs.h:
1091         * rowpainter.C:
1092         * text.C:
1093         * text2.C:
1094         * text3.C: move some of the edit(x,y) handling to the insets
1095         some coordinate changes.
1096
1097 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1098
1099         * text.C: add using statements for std::advance and std::distance
1100
1101         * paragraph.C: add using statement for std::distance
1102
1103         * lyxfind.C: add using statement for std::advance
1104
1105         * cursor.C (region): remove std:: from swap
1106         (openable): use nucleus in stead of operator->
1107
1108         * BufferView.C: add using statements for std::distance and std::swap
1109
1110 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1111
1112         * iterators.C: Remove the pimple, move the needed structures to
1113         the header file. Create accessor for the positions stack.
1114         (asPosIterator): remove function
1115
1116         * PosIterator.C (PosIterator): move constructors to top of file
1117         (PosIterator): reimplement the constructor taking a ParIterator in
1118         terms of setFrom.
1119         (setFrom): new function
1120         (operator!=): inline it
1121
1122 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1123
1124         * lyxfind.C (replaceAll): use std::advance
1125
1126         * iterators.h: inherit from std::iterator.
1127
1128         * PosIterator.C (advance, distance): remove
1129         * PosIterator.h: interit from std::iterator.
1130
1131 2004-01-26  André Pönitz  <poenitz@gmx.net>
1132
1133         * BufferView.[Ch]:
1134         * BufferView_pimpl.[Ch]:
1135         * InsetList.[Ch]:
1136         * PosIterator.[Ch]:
1137         * buffer.h:
1138         * bufferview_funcs.C:
1139         * cursor.[Ch]:
1140         * cursor_slice.h:
1141         * factory.[Ch]:
1142         * iterators.[Ch]:
1143         * lyxfind.C:
1144         * lyxfunc.C:
1145         * lyxtext.h:
1146         * output_docbook.C:
1147         * output_latex.C:
1148         * output_linuxdoc.C:
1149         * output_plaintext.C:
1150         * paragraph.[Ch]:
1151         * paragraph_funcs.[Ch]:
1152         * paragraph_pimpl.[Ch]:
1153         * rowpainter.C:
1154         * tabular.C:
1155         * tabular.h:
1156         * text.C:
1157         * text2.C:
1158         * text3.C: more IU:  dumps most of the rest of the mathcursor
1159     implementation into cursor.[Ch]; "globalize" a bit of it.
1160
1161 2004-01-25  Angus Leeming  <leeming@lyx.org>
1162
1163         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1164
1165 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1166
1167         * LaTeXFeatures.h: add nice_ and nice() const
1168         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1169
1170 2004-01-20  André Pönitz  <poenitz@gmx.net>
1171
1172         * BufferView.[Ch]:
1173         * BufferView_pimpl.C:
1174         * PosIterator.C:
1175         * bufferview_funcs.C:
1176         * cursor.[Ch]:
1177         * cursor_slice.[Ch]:
1178         * factory.C:
1179         * iterators.C:
1180         * lyx_cb.C:
1181         * lyxfind.C:
1182         * lyxfunc.C:
1183         * lyxtext.h:
1184         * rowpainter.C:
1185         * text.C:
1186         * text2.C:
1187         * text3.C:
1188         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1189           LCursor and mathcursor parts to LCursor and InsetBase.
1190
1191 2004-01-15  André Pönitz  <poenitz@gmx.net>
1192
1193         * cursor_slice.[Ch]: add a few covienience functions
1194
1195         * funcrequest.[Ch]: remove BufferView * member
1196
1197         * BufferView_pimpl.C:
1198         * cursor.C:
1199         * factory.[Ch]:
1200         * lyxfind.[Ch]:
1201         * lyxfunc.C:
1202         * lyxtext.h:
1203         * text3.C:
1204         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1205
1206 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1207
1208         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1209         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1210
1211 2004-01-13  André Pönitz  <poenitz@gmx.net>
1212
1213         * textcursor.[Ch]:
1214         * lyxtext.h: hide cursor and selection anchor behind accessor function
1215
1216         * BufferView.C:
1217         * BufferView_pimpl.[Ch]:
1218         * PosIterator.C:
1219         * bufferview_funcs.C:
1220         * cursor.h:
1221         * lyxfind.C:
1222         * lyxfunc.C:
1223         * text.C:
1224         * text2.C:
1225         * text3.C:
1226         * undo.C: adjust
1227
1228         * cursor.h:
1229         * cursor_slice.[Ch]: some integer type changes for inset unification
1230
1231         * lyxcursor.[hC]: remove, it's CursorSlice now.
1232
1233         * Makefile.am:
1234         * BufferView_pimpl.[Ch]:
1235         * bufferview_funcs.C:
1236         * cursor_slice.C:
1237         * lyxtext.h:
1238         * text.C:
1239         * text2.C:
1240         * text3.C:
1241         * textcursor.[Ch]: adjust
1242
1243 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * text2.C (undoSpan): add and use
1246         * text.C (breakParagraph): use undoSpan (fix bug 578)
1247         * lyxtext.h: adjust
1248
1249 2004-01-08  Angus Leeming  <leeming@lyx.org>
1250
1251         * BufferView_pimpl.C (MenuInsertLyXFile):
1252         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1253         * lyxfunc.C (menuNew, open, doImport):
1254         FileFilterList change to the FileDialog open and save functions.
1255
1256 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1257
1258         * ShareContainer.h: make isEqual and isUnique adaptable
1259
1260         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1261
1262 2004-01-07  Angus Leeming  <leeming@lyx.org>
1263
1264         * LyXAction.C:
1265         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1266
1267         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1268
1269         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1270         functions replacing find, replace and replaceAll.
1271
1272         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1273         LFUN_WORDFIND(FORWARD|BACKWARD).
1274
1275 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1276
1277         * text.C (breakParagraph): remove an outdated #warning
1278
1279 2004-01-07  André Pönitz  <poenitz@gmx.net>
1280
1281         * lyxfind.C: somewhat clearer logic
1282
1283         * text.C: prevent crash in cursorX on unitialized row cache
1284
1285 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * lyxcursor.[Ch] (operator>): add
1288         * textcursor.C (selStart, selEnd): use std::min and std::max
1289
1290 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1291
1292         * Chktex.C: include boost/format.hpp
1293
1294 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1295
1296         * InsetList.C: replace functor MathcIt with adaptable functor
1297         InsetTablePosLess
1298         (insetIterator): modify accordingly
1299
1300         * BranchList.h: move the BranchNamesEqual functor here from...
1301         * BranchList.C: ... to here
1302
1303         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1304         SameName and match.
1305         (add): replace a finding loop with std::find_if.
1306
1307 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * output_docbook.C: moving LatexParam functionality into
1310         .layout files
1311
1312 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1313
1314         * buffer.C: increment format to 229.
1315
1316 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1317
1318         * LaTeXFeatures.C:
1319         * lyx_sty.[Ch]: remove minipageindent_def
1320
1321         * LyXAction.C:
1322         * factory.C:
1323         * lfuns.h:
1324         * lyxfunc.C:
1325         * text3.C: remove LFUN_INSET_MINIPAGE
1326
1327 2003-12-28  Angus Leeming  <leeming@lyx.org>
1328
1329         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1330
1331 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * text2.C (setParagraph): fix off-by-one crash
1334
1335 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * output_docbook.C: header stuff for AGU
1338
1339 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1340
1341         * text2.C (redoCursor): remove
1342         * text.C:
1343         * text3.C:
1344         * BufferView_pimpl.C: remove calls to redoCursor and
1345         setCursor(cursor.par(), cursor.pos()) all around
1346
1347 2003-12-15  Angus Leeming  <leeming@lyx.org>
1348
1349         * buffer.C: up the format to 228.
1350
1351 2003-12-15  André Pönitz  <poenitz@gmx.net>
1352
1353         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1354         slices
1355
1356         * Makefile.am:
1357
1358         * BufferView_pimpl.C:
1359         * cursor.[Ch]:
1360         * lyxcursor.[Ch]:
1361         * rowpainter.[Ch]:
1362         * lyxtext.h:
1363         * text.C:
1364         * text2.C:
1365         * text3.C: adjust
1366
1367 2003-12-15  Angus Leeming  <leeming@lyx.org>
1368
1369         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1370         than getFromGUIName to manipulate the color.
1371
1372 2003-12-14  Angus Leeming  <leeming@lyx.org>
1373
1374         * BranchList.[Ch]: minimize the API.
1375         (Branch::getBranch, getColor): now return a 'const &'.
1376         (Branch::setSelected) now returns a bool set to true if the
1377         selection status changes.
1378         (BranchList::clear, size, getColor, setColor, setSelected,
1379         allBranches, allSelected, separator): removed.
1380         (BranchList::find): new functions, returning the Branch with
1381         the given name.
1382         (BranchList::add, remove): return a bool indicating that
1383         the operation was successful.
1384
1385         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1386         new InsetBranch::isBranchSlected member function.
1387
1388         * LColor.[Ch]: mimimize the API.
1389         (fill): renamed as addColor and made private.
1390         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1391         versions of these functions taking a string arg have been removed.
1392
1393         * bufferparams.C (readToken):
1394         * lyxfunc.C (dispatch):
1395         * lyxrc.C (read): changes due to the altered BranchList and
1396         LColor APIs.
1397
1398         * factory.C (createInset, readInset): changes due to altered
1399         InsetBranch c-tor.
1400
1401 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1402
1403         * factory.C:
1404         * lyxfunc.C: remove insetminipage. "minipage-insert"
1405         now produces a frameless minipage box inset.
1406
1407 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * textcursor.[Ch] (selStart,selEnd): add new methods
1410         remove selection::start, end, use LyXCursor::operator<
1411         * lyxcursor.[Ch] (operator<): add
1412         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1413         * BufferView.[Ch] (unsetXSel): add
1414         * text2.C (clearSelection): use unsetXSel,adjust
1415         * text.C: adjust
1416         * text3.C: adjust
1417         * rowpainter.C: adjust
1418         * bufferview_funcs.C (put_selection_at): adjust
1419
1420 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * BufferView_pimpl.C: small coord. correction
1423
1424 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1425
1426         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1427         dragging over the splash screen.
1428
1429 2003-12-11  Angus Leeming  <leeming@lyx.org>
1430
1431         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1432         as it is now handled in LyXText::dispatch.
1433
1434         * text3.C (doInsertInset): remove a level of nesting.
1435
1436 2003-12-11  Angus Leeming  <leeming@lyx.org>
1437
1438         * factory.C (createInset): changes due to the changed interface to
1439         InsetCommandMailer::string2params.
1440
1441 2003-12-10  Angus Leeming  <leeming@lyx.org>
1442
1443         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1444         'dialog-show-new-inset <inset name>'
1445
1446 2003-12-10  Angus Leeming  <leeming@lyx.org>
1447
1448         * buffer.C: up the format to 227.
1449
1450         * factory.C: the box inset is now identified simply by 'Box'.
1451
1452 2003-12-10  Angus Leeming  <leeming@lyx.org>
1453
1454         * buffer.C: up the format to 226.
1455
1456         * factory.C: the note inset is now identified simply by 'Note'.
1457
1458 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1461         when a pit is enough. Standarize a couple of loops.
1462
1463 2003-12-05  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1466         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1467         data to the re-worked "log" dialog.
1468
1469 2003-12-03  André Pönitz  <poenitz@gmx.net>
1470
1471         * PosIterator.C:
1472         * iterators.C:
1473         * lyxtext.h:
1474         * output_latex.C:
1475         * paragraph_funcs.C:
1476         * text.C:
1477         * text2.C: use Inset::getText instead of Inset::getParagraph
1478
1479 2003-12-03  André Pönitz  <poenitz@gmx.net>
1480
1481         * buffer.[Ch]:
1482         * lyxtext.h:
1483         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1484         InsetText::read() as LyXText::read()
1485
1486 2003-12-02  Angus Leeming  <leeming@lyx.org>
1487
1488         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1489         type. Add a comment in the implementation that the function uses
1490         the stream's bad() function rather than fail() as the std::streams
1491         would do.
1492
1493 2003-12-02  André Pönitz  <poenitz@gmx.net>
1494
1495         * lyxlex.[Ch]: make interface more similar to std::stream
1496
1497         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1498
1499 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1500
1501         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1502
1503 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1504
1505         * vspace.[Ch]: remove VSpace::NONE
1506
1507 2003-12-01  André Pönitz  <poenitz@gmx.net>
1508
1509         * buffer.[Ch]:
1510         * lyxtext.h: move ParagraphList member to LyXText
1511         rename LyXText::ownerParagraphs to LyXText::paragraph
1512
1513         * CutAndPaste.C:
1514         * bufferview_funcs.C:
1515         * iterators.[Ch]:
1516         * lyx_cb.C:
1517         * paragraph.C:
1518         * rowpainter.C:
1519         * tabular.C:
1520         * text.C:
1521         * text2.C:
1522         * text3.C: adjust
1523
1524         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1525
1526         * undo.C: fix cursor positioning
1527
1528 2003-12-01  John Levon  <levon@movementarian.org>
1529
1530         * BufferView_pimpl.C: fix a crash on exit with
1531         a buffer open
1532
1533 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * BranchList.C: fix setSelected() method.
1536
1537 2003-11-28  André Pönitz  <poenitz@gmx.net>
1538
1539         * ParagraphParameters.[Ch]:
1540         * ParameterStruct.h: remove space above/below from Paragraph to
1541          InsetVSpace
1542
1543         * BufferView_pimpl.C:
1544         * factory.C:
1545         * lyxfunc.C:
1546         * lyxtext.h:
1547         * output_latex.C:
1548         * paragraph.C:
1549         * paragraph_funcs.C:
1550         * rowpainter.[Ch]:
1551         * text.C:
1552         * text2.C:
1553         * text3.C: adjust
1554
1555 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1556
1557         * factory.C: Syntax change for CharStyles
1558
1559 2003-11-28  André Pönitz  <poenitz@gmx.net>
1560
1561         * BufferView.[Ch]:
1562         * BufferView.[Ch]:
1563         * buffer.[Ch]:
1564         * buffer.[Ch]: move LyXText member
1565
1566 2003-11-28  André Pönitz  <poenitz@gmx.net>
1567
1568         * BufferView.[Ch]: make LyXText * text a private member
1569
1570         * BufferView_pimpl.C:
1571         * cursor.C:
1572         * iterators.C:
1573         * lyx_cb.C:
1574         * lyxfind.C:
1575         * lyxtext.h:
1576         * rowpainter.[Ch]:
1577         * text.C:
1578         * text2.C:
1579         * undo.C: adjust
1580
1581         * output_plaintext.C: cleanup
1582
1583 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * buffer.C:
1586         * lyxtextclass.[Ch]: parametrize SGML document header
1587
1588 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * converter.[Ch]:
1591         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1592         getFlavor().
1593
1594 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1595
1596         * text2.C (setFont): rework using PosIterator (no more recursive)
1597         (setCharFont): no more needed
1598         (setLayout): no more selection cursors fiddling (done by redoCursor)
1599         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1600         destroy remaining ones)
1601
1602 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1605         * lyxtext.h: ditto
1606         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1607         selection cursors
1608         * lyxfunc.C: adjust
1609         * text3.C: adjust + re-allow multi par depth changes
1610         * textcursor.C: simplify a bit
1611
1612 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1613
1614         * src/buffer.C:
1615         * src/lyxlayout.C:
1616         * src/lyxlayout.h:
1617         * src/lyxtext.h:
1618         * src/output_docbook.C:
1619         * src/output_latex.C:
1620         * src/paragraph.C:
1621         * src/paragraph.h:
1622         * src/sgml.C:
1623         * src/sgml.h:
1624         * src/text2.C: Introducing a number of tags parametrizing various
1625         XML formats that we may want to support
1626
1627 2003-11-25  André Pönitz  <poenitz@gmx.net>
1628
1629         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1630
1631         * lyxtext.h (leftMargin/rightMargin): simplify interface
1632
1633         * rowpainter.C:
1634         * text.C:
1635         * text2.C:
1636         * text3.C: adjust
1637
1638 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1639
1640         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1641         master file to any child files. Fixes bug 546.
1642
1643 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1644
1645         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1646
1647 2003-11-24  André Pönitz  <poenitz@gmx.net>
1648
1649         * rowpainter.C: simplification
1650
1651         * text2.C (updateCounters): remove call to redoParagraph on
1652         changed labels as this is far too expensive.
1653
1654 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * converter.C (convert): fix a crash: this function gets
1657         called with buffer == 0 from importer code.
1658
1659 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1660
1661         * text3.C (cursorPrevious): make sure that we do not compare
1662         iterators form different containers.
1663         (cursorNext): ditto
1664
1665         * rowpainter.C (paintSelection): make sure that we do not compare
1666         iterators from different containers.
1667
1668         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1669         iterators from different ParagraphList containers.
1670         [NEXT] ditto
1671
1672         * text2.C (LyXText): change order of initialization slightly
1673         (operator=): new function. copy all variables except cache_par_
1674         (moveUp): make sure that we do not compare iterators from
1675         different ParagraphList constainers.
1676         (moveDown): ditto
1677
1678         * text.C (firstPar): new function
1679         (lastPar): new function
1680         (endPar): new function
1681
1682         * lyxtext.h: move things around and group public functions, public
1683         variables, private functions, private variables
1684
1685 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1686
1687         * factory.C: change call to InsetERT constructor to avoid
1688         additional invocation of method status
1689         * text2.C (toggleInset): remove redundant update() call
1690         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1691         instead of a Bufferview pointer
1692
1693 2003-11-21  André Pönitz  <poenitz@gmx.net>
1694
1695         * rowpainter.C: simplification
1696
1697 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1698
1699         * text3.C (dispatch): make possible to extend a word/row selection
1700         with the mouse
1701
1702 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * lyxtext.h: x0_,y0_ -> xo_,yo_
1705         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1706         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1707         * rowpainter.C (paintRows): paint full paragraphs
1708
1709 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1710
1711         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1712         screen coordinates)
1713
1714 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * lyxtext.h: add x0_, y0_
1717         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1718         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1719
1720 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * text2.C (setCursorIntern): move the x_target update here *
1723         * text3.C: change some bv() to true/false in calls to
1724         cursorUp/Down/Right/Left
1725         * cursor.C: use helper function.
1726
1727 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1728
1729         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1730         * paragraph_funcs.[Ch]: correct comment
1731         * rowpainter.C: do not paint selections away from bv->cursor()
1732         Fix a long standing selection painting bug.
1733         * text3.C: generalize mouse-selection code to LyXTexts other that
1734         top one
1735         * textcursor.C: do not use y coords if we can use par offsets
1736
1737 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1738
1739         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1740         cursor position after e.g. inset insert)
1741
1742 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * lyxfind.C (replace): adjust to locking removal + some
1745         code simplification
1746
1747 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1750         of the path
1751
1752 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1753
1754         * lyxlayout.[Ch]:
1755         * output_docbook.C: XML sanitation: new layout
1756         parameters InnerTag and CommandDepth
1757
1758 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1759
1760         * BufferView_pimpl.C:
1761         * factory.C:
1762         * text3.C: Fix the insertion and modification of button-style
1763         insets
1764
1765 2003-11-13  André Pönitz  <poenitz@gmx.net>
1766
1767         * InsetList.[Ch]: remove deleteLyXText
1768
1769         * paragraph.[Ch]: cache beginOfBody position
1770
1771         * Bidi.C:
1772         * text.C:
1773         * text2.C:
1774         * text3.C: remove superfluous update() calls
1775
1776         * vspace.C: cleanup
1777
1778 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1779
1780         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1781         * BufferView.C (fitLockedInsetCursor): remove
1782         * cursor.[Ch] (getDim): add
1783         * text.C (getRowNearY): add faster version
1784         * text3.C: remove some update calls
1785
1786 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1787
1788         * LaTeXFeatures.C:
1789         * LyXAction.C:
1790         * MenuBackend.C:
1791         * MenuBackend.h:
1792         * dispatchresult.h:
1793         * factory.C:
1794         * lfuns.h:
1795         * lyxfunc.C:
1796         * lyxtextclass.C:
1797         * lyxtextclass.h:
1798         * text3.C: The Character Style /XML short element patch.
1799
1800 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * text3.C:
1803         * factory.C: Small step to solving 'unable to insert some insets'
1804         problem
1805
1806 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * cursor.[Ch] (updatePos): new function for updating the y
1809         position of the tip inset
1810         * bufferview_funcs.C (put_selection_at):
1811         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1812
1813 2003-11-11  André Pönitz  <poenitz@gmx.net>
1814
1815         * text.C: remove big comment on invalid Paragraph pointers as it is
1816         not valid anymore
1817
1818 2003-11-11  André Pönitz  <poenitz@gmx.net>
1819
1820         * text_funcs.[Ch]: merge with ...
1821
1822         * text.C: ... this
1823
1824         * lyxtext.h:
1825         * text2.C:
1826         * text3.C: adjust
1827
1828         * Makefile.am: remove text_funcs.[Ch]
1829
1830 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1831
1832         * cursor.C (getPos): return absolute cached y coord
1833
1834         * BufferView_pimpl.C (fitCursor): new simplistic code
1835         (workAreaDispatch): add a fitCursor call
1836
1837 2003-11-10  André Pönitz  <poenitz@gmx.net>
1838
1839         * BufferView.[Ch]:
1840         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1841
1842 2003-11-10  André Pönitz  <poenitz@gmx.net>
1843
1844         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1845         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1846         indicate that the cursor needs to leave an inset
1847
1848         * lyxtext.h: remove inset locking
1849
1850         * cursor.[Ch]: re-implement functionality provided by inset locking
1851
1852         * BufferView.[Ch]:
1853         * BufferView_pimpl.[Ch]:
1854         * LyXAction.C:
1855         * bufferview_funcs.[Ch]:
1856         * factory.C:
1857         * funcrequest.[Ch]:
1858         * iterators.C:
1859         * lyx_cb.C:
1860         * lyxfind.C:
1861         * lyxfunc.C:
1862         * text.C:
1863         * text2.C:
1864         * text3.C:
1865         * undo.C: adjust
1866
1867 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * PosIterator.[Ch]: replace the stack with a vector, add inset
1870         accesor
1871         * iterators.[C]: adjust
1872
1873 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1874
1875         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1876         replaced
1877         * paragraph_funcs.C (readParToken): put the correct id in the
1878         error item, not the id of the top paragraph
1879
1880 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1883         * bufferview_funcs.C (put_selection_at): use the above
1884
1885 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1888
1889 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1890
1891         * output_linuxdoc.h:
1892         * output_plaintext.h:
1893         * output.h:
1894         * output_docbook.h: add #include statements
1895
1896 2003-11-05  José Matos  <jamatos@lyx.org>
1897
1898         * output_docbook.[Ch]:
1899         * output_latex.[Ch]:
1900         * output_linuxdoc.[Ch]:
1901         * output_plaintext.[Ch]: New files for output formats.
1902         * output.[Ch]: New file for helper functions.
1903
1904         * buffer.[Ch]:
1905         * paragraph_funcs.[Ch]: output functions moved to new files.
1906
1907         * outputparams.h: rename of latexrunparams.h
1908
1909         * LaTeX.[Ch]:
1910         * buffer.[Ch]:
1911         * bufferlist.[Ch]:
1912         * converter.[Ch]:
1913         * exporter.C:
1914         * paragraph.[Ch]:
1915         * paragraph_funcs.[Ch]:
1916         * paragraph_pimpl.[Ch]:
1917         * tabular.[Ch]: rename ascii to plaintext
1918         and LatexRunParams to OutputParams.
1919
1920 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1921
1922         * iterators.[Ch] (text): require bv argument
1923         * undo.C (recordUndo):
1924         * lyxfunc.C (dispatch):
1925         * bufferview_funcs.C (put_selection_at): adjust
1926
1927 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1928
1929         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1930
1931 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1934         nestings
1935
1936 2003-11-04  André Pönitz  <poenitz@gmx.net>
1937
1938         * cursor.[Ch]: restructure
1939
1940         * BufferView.[Ch]:
1941         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1942
1943         * iterators.[Ch] (asCursor): remove
1944
1945         * lfuns.h: remove LFUN_INSET_EDIT
1946
1947         * lyxfunc.C:
1948         * tabular.C:
1949         * text.C:
1950         * text2.C:
1951         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1952
1953 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1954
1955         * lyxfind.[Ch]: complete overhaul
1956         * BufferView_pimpl.C:
1957         * lyxfunc.C: adjust
1958         * paragraph.[Ch] (insert): add
1959
1960 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * BufferView.[Ch]:
1963         * lyxtext.h:
1964         * text.C: remove dead spellcheck code
1965
1966 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1967
1968         * dispatchresult.h: add a val setter
1969
1970         * cursor.C (dispatch): use a tempvar for data_[i]
1971
1972 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1973
1974         * PosIterator.[Ch]: compile fix
1975
1976 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1977
1978         * text.C (cursorPar): deactivate the cursor cache
1979
1980 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1981
1982         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1983
1984 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * text3.C (dispatch): adjust for new DisptchResult semantics.
1987
1988         * lyxfunc.C (dispatch): handle update when return from
1989         Cursor::dispatch, adjust for new DispatchResult semantics.
1990
1991         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1992         DispatchResult(true) mean to not update. Add class functions for
1993         setting dispatched and update, as well as reading.
1994
1995         * cursor.C (dispatch): don't handle update here
1996
1997 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1998
1999         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2000         * trans_mgr.C: adjust
2001
2002         * paragraph_funcs.C (readParToken): exception safety
2003
2004         * lyxvc.h: store the vcs pointer in a scoped_ptr
2005         * lyxvc.C: adjust
2006
2007         * lyxsocket.C (serverCallback): exception safety
2008
2009         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2010
2011         * ispell.C (clone): make it return a auto_ptr
2012
2013         * factory.C (createInset): exception safety
2014         (readInset): exception safety
2015
2016         * bufferlist.C (newBuffer): exception safety
2017
2018         * Thesaurus.C (Thesaurus): use initialization for aik_
2019
2020         * MenuBackend.C (expandToc): exception safety.
2021
2022 2003-11-03  André Pönitz  <poenitz@gmx.net>
2023
2024         * buffer.C:
2025         * buffer.h:
2026         * bufferview_funcs.C: remove getInsetFromId()
2027
2028         * lyxcursor.[Ch]:
2029         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2030
2031         * lyxfunc.C:
2032         * text2.C:
2033         * text3.C: adjust
2034
2035 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2036
2037         * PosIterator.C (distance, advance): new
2038         * bufferview_funcs.[Ch] (put_selection_at): new
2039         * iterators.[Ch] (lockPath): new
2040
2041 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2042
2043         * iterators.[Ch] (asPosIterator): added
2044         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2045         * PosIterator.[Ch]: added
2046
2047 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * text3.C:
2050         * lyxfunc.C:
2051         * cursor.C (dispatch):
2052         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2053
2054         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2055         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2056         contructor, add a class function dispatched. Remove operator>=
2057
2058 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2059
2060         * debug.C: only use the default constructor for debugstream
2061         (lyxerr) here.
2062
2063         * main.C (main): include debug.h and setup the lyxerr streambuf
2064         here.
2065
2066 2003-10-31  José Matos  <jamatos@lyx.org>
2067
2068         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2069
2070         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2071         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2072         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2073         * paragraph_pimpl.C (simpleTeXSpecialC):
2074         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2075         add LatexRunParams argument.
2076
2077         * exporter.C (Export): change call accordingly.
2078
2079         * latexrunparams.h: add new member to take care of the other backends.
2080 2003-10-30  José Matos  <jamatos@lyx.org>
2081
2082         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2083         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2084         factorise code for paragraph output.
2085         * buffer.[Ch]:
2086         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2087         move functions.
2088
2089 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * text3.C (dispatch):
2092         * lyxfunc.C (dispatch):
2093         * cursor.C (dispatch):
2094         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2095
2096         * dispatchresult.h: make the dispatch_result_t ctor explicit
2097
2098 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2099
2100         * sgml.[Ch]:
2101         * buffer.C: small refactoring of docbook stuff
2102
2103 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2106         meaning.
2107
2108 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2111         operator dispatch_result_t, and operators for == != and >=
2112
2113         * cursor.C (dispatch): adjust for operator dispatch_result_t
2114         removal. comment out call to update
2115
2116         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2117
2118 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * text3.C:
2121         * text2.C:
2122         * text.C:
2123         * lyxtext.h:
2124         * lyxfunc.C:
2125         * cursor.C:
2126         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2127         (dispatch):
2128
2129         * dispatchresult.h: new file, DispatchResult broken out of
2130         insets/insetbase.h
2131
2132         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2133
2134 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * text.C (rowBreakPoint): put a hack inside #if 0
2137
2138 2003-10-28  André Pönitz  <poenitz@gmx.net>
2139
2140         * lyxtext.h:
2141         * metricsinfo.C:
2142         * paragraph_funcs.C:
2143         * rowpainter.C:
2144         * text.C:
2145         * text2.C: general cleanup (lots of small stuff)
2146
2147 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2148
2149         * text2.C (cursorEnd): simple fix to the "end key goes to one
2150         before the end on last row" bug
2151
2152 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * text.C (backspace): fix the "zombie characters"
2155
2156 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2157
2158         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2159
2160 2003-10-27  André Pönitz  <poenitz@gmx.net>
2161
2162         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2163
2164         * factory.C: handle new InsetPagebreak, InsetLine
2165
2166         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2167         and move handling into new InsetPagebreak, InsetLine
2168
2169         * BufferView_pimpl.C:
2170         * LyXAction.C:
2171         * ParagraphParameters.C:
2172         * ParameterStruct.h:
2173         * lyxfunc.C:
2174         * lyxtext.h:
2175         * paragraph.C:
2176         * paragraph.h:
2177         * paragraph_funcs.C:
2178         * paragraph_pimpl.C:
2179         * rowpainter.C:
2180         * text.C:
2181         * text2.C:
2182         * text3.C: adjust
2183
2184 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2185
2186         * text.C:
2187         * lyxrow_funcs.[Ch]:
2188         * Bidi.C:
2189         * paragraph.C:
2190         * lyxtext.h:
2191         * rowpainter.C:
2192         * text2.C:
2193         * text3.C: remove lastPos uses in favour of Row::endpos
2194
2195 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2196
2197         * undo.C (performUndoOrRedo): fix two crashes by setting a
2198         cursor by hand and reordering some calls. Use bv->lockInset instead
2199         of inset->edit because the latter loses cursor information
2200
2201 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2204         by Martin
2205         (rowBreakPoint): fix width. change point to point + 1.
2206         Add a missing check.
2207
2208 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * MenuBackend.C:
2211         * lyxfunc.C: fix (at least partly) the problems
2212         with the Nav menu and headers inside branch insets
2213         reported by Kayvan
2214
2215 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2216
2217         * paragraph.C (getChar): add strong asserts
2218
2219         * lyxrow_funcs.C (lastPos): remove hideous hack
2220
2221         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2222         (fill): adjust to that (avoid an infinite loop)
2223
2224 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2225
2226         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2227
2228 2003-10-23  André Pönitz  <poenitz@gmx.net>
2229
2230         * RowList_fwd.h: change list<> to vector<> to gain speed
2231         after suggestion from Alfredo
2232
2233 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2234
2235         * lyxtext.h: move the bidi stuff from here...
2236         * text.C: and here
2237         * text2.C: and here
2238         * Bidi.[Ch]: ... to here
2239
2240 2003-10-23  André Pönitz  <poenitz@gmx.net>
2241
2242         * lyxtext.h:
2243         * text.C (isLastRow, isFirstRow): new functions
2244
2245         * paragraph.h: new width cache member
2246
2247         * rowpainter.C: replace RowList::iterator with Row & where possible
2248
2249         * lyxfunc.C: replace several view()->text with a single call
2250
2251         * toc.C: fix 'unused' warning
2252
2253 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2256         when woring with stream::pos_type
2257         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2258
2259 2003-10-22  André Pönitz  <poenitz@gmx.net>
2260
2261         * lyxtext.h:
2262         * text.C: use Row & instead of RowList::iterator
2263
2264         * lyxrow.h: rename end() to endpos()
2265
2266         * rowpainter.C:
2267         * text.C:
2268         * text2.C: adjust
2269
2270 2003-10-22  Angus Leeming  <leeming@lyx.org>
2271
2272         * buffer.[Ch] (fully_loaded): new member function, returning true
2273         only when the file has been loaded fully.
2274         Used to prevent the premature generation of previews and by the
2275         citation inset to prevent computation of the natbib-style label.
2276
2277         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2278         templates are all set up.
2279
2280         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2281
2282 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2283
2284         * text.C: fixed an "oops" in the "is a bit silly"
2285         bug fix
2286
2287 2003-10-21  André Pönitz  <poenitz@gmx.net>
2288
2289         * FuncStatus.[Ch]: small stuff, whitespace
2290
2291         * lyxfont.[Ch]: operator<<() for debug reasons
2292
2293         * lyxfunc.C:
2294         * lyxrow_funcs.C:
2295         * lyxtext.h: whitespace, spelling
2296
2297         * paragraph.C: naming of variables
2298
2299         * text.C:
2300         * text2.C: small stuff
2301
2302
2303 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2304
2305         * text.C: (1) finish off the inset display() work;
2306         (2) fix the "is a bit silly" bug (accessing char
2307         past end of par).
2308
2309 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2310
2311         * text.C: re-introduce display() for insets, fixing the
2312         various bugs (stretch of line above, math inset
2313         positioning, ...)
2314
2315 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * text.C (rightMargin): remove spurious semicolon
2318
2319         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2320         1415)
2321
2322 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2323
2324         * text3.C: fix one crash due to wrong cursor def
2325
2326 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2327
2328         * vc-backend.C (scanMaster): make the regex static
2329
2330         * LaTeX.C (scanAuxFile): make the regexs static
2331
2332         * text3.C (doInsertInset, dispatch, dispatch):
2333         * text2.C (cursorUp, cursorDown):
2334         * text.C (selectNextWordToSpellcheck):
2335         * BufferView_pimpl.C (dispatch):
2336         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2337
2338 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * lyxsocket.C: include <cerrno>
2341
2342 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2343
2344         * lyxfunc.C (dispatch): remove textcache stuff
2345
2346         * bufferlist.C (release): remove textcache stuff
2347         (closeAll): ditto
2348
2349         * TextCache.C: delete file
2350         * TextCache.h: delete file
2351
2352         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2353
2354         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2355         delete of the bv_->text.
2356         (resizeCurrentBuffer): remove texcache stuff
2357         (workAreaResize): ditto
2358
2359 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2360
2361         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2362         action.
2363
2364 2003-10-16  André Pönitz  <poenitz@gmx.net>
2365
2366         * lyxrow.[Ch]:
2367         * paragraph.h:
2368         * rowpainter.C:
2369         * text.C:
2370         * text2.C:
2371         * text3.C: speed up by storing y positions per paragraph plus per-row
2372         offset instead of having a 'full' y position in the row.
2373
2374 2003-10-15  André Pönitz  <poenitz@gmx.net>
2375
2376         * iterators.[Ch]:
2377         * iterators.[Ch]:
2378         * undo.[Ch]: make undo aware of inner insets
2379
2380 2003-10-14  Angus Leeming  <leeming@lyx.org>
2381
2382         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2383         static member functions LyX::ref() and LyX::cref.
2384         (lastfiles): new accessor functions for the new lastfiles_ member var.
2385         (addLyXView, views_): add a new LyXView to the list of views_.
2386         (updateInset): loop over all LyXViews to call their own updateInset
2387         member function, returning a pointer to the Buffer owning the inset.
2388
2389         * BufferView_pimpl.C (loadLyXFile):
2390         * MenuBackend.C (expandLastfiles):
2391         * bufferlist.C (MenuWrite, QuitLyX):
2392         lastfiles is no longer a global variable.
2393         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2394
2395         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2396         static function. Access through LyX::cref().emergencyCleanup().
2397
2398 2003-10-14  André Pönitz  <poenitz@gmx.net>
2399
2400         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2401
2402         * undo.[Ch]: restoring part of 'undo in insets'
2403
2404         * Makefile.am:
2405         * undo_funcs.[Ch]: merge with undo.[Ch]
2406
2407         * tabular.C: small cleansing stuff
2408
2409 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * paragraph_funcs.C (readParToken): report unknown insets as error
2412         boxes. Use the outer paragraph as location (also for unknown
2413         tokens).
2414
2415         * factory.C (readInset): do not abort on reading an unknown inset.
2416         Eat it and return 0.
2417
2418 2003-10-13  Angus Leeming  <leeming@lyx.org>
2419
2420         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2421
2422         * lyxrc.C: displayTranslator is now a function,
2423         declared in GraphicsTypes.h.
2424
2425 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2426
2427         * format.C: new placeholder $$a to pass the socket address.
2428
2429         * bufferlist.[Ch]: new function getBufferFromTmp.
2430
2431         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2432           files in the temporary dir.
2433
2434 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2435
2436         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2437
2438         * Makefile.am: add lyxsocket.[Ch].
2439
2440         * lyx_main.C (error_handler): handle SIGPIPE.
2441
2442 2003-10-13  André Pönitz  <poenitz@gmx.net>
2443
2444         * BufferView_pimpl.C:
2445         * lyxtext.h:
2446         * text.C:
2447         * text2.C:
2448         * text3.C:
2449         * undo_funcs.[Ch]: use paroffset_type instead of
2450           ParagraphList::iterators to prevent multiple conversion
2451           (and get a more robust interface)
2452
2453 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2456         * lyxtext.h: ditto
2457         * text3.C (dispatch): ditto
2458
2459 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2460
2461         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2462         move the onlyfile, use onlyfile instead of foundfile in a couple
2463         of places.
2464
2465         * DepTable.C (update): flush the error stream a bit more
2466
2467 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * lyxserver.C (callback): adjust
2470
2471         * lyxfunc.C (getStatus): add a missing brace in commented code
2472         (ensureBufferClean): reindent
2473         (dispatch): delete version taking a string
2474
2475 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2476
2477         * LaTeX.C (deplog): move found file handlig from here...
2478         (handleFoundFile): .. to new function here.
2479         (deplog): make sure to discover several files mentioned on the
2480         same log line.
2481
2482 2003-10-10  André Pönitz  <poenitz@gmx.net>
2483
2484         * lyxfunc.C:
2485         * lyxtext.h:
2486         * tabular.C:
2487         * text.C:
2488         * text2.C:
2489         * text3.C: fix some of the tabular crashes
2490
2491 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2492
2493         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2494
2495         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2496
2497 2003-10-09  André Pönitz  <poenitz@gmx.net>
2498
2499         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2500
2501         * BufferView.C:
2502         * BufferView_pimpl.C:
2503         * bufferview_funcs.C:
2504         * lyx_cb.C:
2505         * lyxcursor.C:
2506         * lyxfind.C:
2507         * lyxfunc.C:
2508         * lyxtext.h:
2509         * text.C:
2510         * text2.C:
2511         * text3.C:
2512         * text_funcs.[Ch]:
2513         * textcursor.[Ch]:
2514         * undo_funcs.C: adjust
2515
2516 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * text2.C (incrementItemDepth): new function, use a backtracking
2519         algorithm to discover the correct item depth.
2520         (resetEnumCounterIfNeeded): new function, use a backtracking
2521         algorithm to discover if counter reset is needed.
2522         (setCounter): use them. Simplify a bit. Add different labels for
2523         different item depths for itemize.
2524
2525         * paragraph.C (Paragraph): remove initialization of enumdepth
2526         (operator=): ditto
2527
2528         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2529         enumerate and itemize. Change the type of itemdepth to signed char.
2530
2531 2003-10-08  André Pönitz  <poenitz@gmx.net>
2532
2533         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2534           thing assignable.
2535         * text.C:
2536         * text2.C: adjust
2537
2538         * tabular.[Ch]: fix crash after 'row-insert'
2539
2540 2003-10-08  Angus Leeming  <leeming@lyx.org>
2541
2542         Fix doxygen warnings.
2543
2544         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2545         Remove CutAndPaste:: prefix from header file declaration.
2546
2547         * LColor.h (fill): remove LColor:: prefix from declaration.
2548
2549         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2550         use lyx::depth_type rather than Paragraph::depth_type so that
2551         header file and .C file match.
2552
2553         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2554
2555         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2556         * aspell.C: \file aspell_local.C -> \file aspell.C
2557         * gettext.C: \file gettext.C -> \file src/gettext.C
2558         * gettext.h: \file gettext.h -> \file src/gettext.h
2559         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2560         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2561         * text.C: \file text.C -> \file src/text.C
2562
2563         * toc.C: move comment so that doxygen is not confused.
2564
2565 2003-10-07  Angus Leeming  <leeming@lyx.org>
2566
2567         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2568
2569 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2570
2571         * aspell.C:
2572         * aspell_local.h: add forgotten std::string's.
2573
2574 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2575
2576         * LaTeXFeatures.C:
2577         * LyXAction.C:
2578         * factory.C:
2579         * lfuns.h:
2580         * lyxfunc.C:
2581         * text3.C: The Box patch. Fancybox support, minipage, parbox
2582
2583 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2584
2585         * CutAndPaste.h:
2586         * DepTable.h:
2587         * FloatList.h:
2588         * LaTeXFeatures.h:
2589         * ParagraphParameters.h:
2590         * TextCache.h:
2591         * Thesaurus.h:
2592         * bufferlist.h:
2593         * exporter.h:
2594         * importer.h:
2595         * lastfiles.h:
2596         * lyxfind.h:
2597         * lyxfont.h:
2598         * lyxlex.h:
2599         * lyxtextclasslist.h:
2600         * messages.h:
2601         * paragraph.h:
2602         * paragraph_pimpl.C:
2603         * textcursor.h: add <string> and other small fixes to make Lars'
2604         std::string patch compile with STLport.
2605
2606 2003-10-06  Angus Leeming  <leeming@lyx.org>
2607
2608         * LColor.h: Add missing #include <string>.
2609
2610 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * All most all file in all subdirs: Make <string> be the prefered
2613         way of getting to std::string, add using declarations.
2614
2615 2003-10-06  André Pönitz  <poenitz@gmx.net>
2616
2617         * metricsinfo.C: initialize LyXFont before changing attribute.
2618         (fixes the 'math in \emph is upright' bug)
2619
2620 2003-10-06  André Pönitz  <poenitz@gmx.net>
2621
2622         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2623
2624 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * graph.C:
2627         * paragraph_pimpl.C: Small fixes to build using STLport
2628
2629 2003-10-02  André Pönitz  <poenitz@gmx.net>
2630
2631         * lyxfunc.C:
2632         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2633
2634 2003-10-01  André Pönitz  <poenitz@gmx.net>
2635
2636         * factory.C: assert early
2637
2638 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * lyx_main.C: remove the global debug object
2641
2642         * debug.h: adjust for new debugstream
2643
2644         * debug.C: adjust for new debugstream and keep the global debug
2645         object here.
2646
2647 2003-09-22  Angus Leeming  <leeming@lyx.org>
2648
2649         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2650         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2651         an incomplete class LyXFont.
2652
2653 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * factory.C: bug fix in branches
2656
2657 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2658
2659         * lyxfunc.C (processKeySym): adjust
2660         (dispatch): adjust
2661         (dispatch): change arg name from ev to func, adjust
2662         (sendDispatchMessage): ditto
2663
2664         * lyx_main.C (defaultKeyBindings): adjust keybindings
2665         (deadKeyBindings): ditto
2666
2667         * kbsequence.C (addkey): return a FuncRequest
2668
2669         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2670
2671         * kbmap.C (bind): take a FuncRequest as arg, adjust
2672         (read): adjust
2673         (lookup): adjust
2674         (defkey): change to take a FuncRequest as arg, adjust
2675         (findbinding): take a FuncRequest as arg, adjust.
2676
2677         * funcrequest.h (operator=): added
2678
2679         * funcrequest.C (FuncRequest): default kb_action changed from
2680         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2681
2682         * buffer.C (dispatch): simplify
2683         (dispatch): adjust to take a FuncRequest as arg, adjust
2684
2685         * boost.C (assertion_failed): change assertion message slightly
2686
2687         * ToolbarBackend.C (read): simplify
2688
2689         * MenuBackend.C (binding): adjust call to findbinding, add a
2690         message if no binding is found.
2691         (read): simplify
2692         (expandToc): correct by adding a empty FuncRequest
2693
2694         * LyXAction.C: include <boost/assert.hpp>
2695         (isPseudoAction): delete function
2696         (LookupFunc): change name to...
2697         (lookupFunc): this. change return type to FuncRequest.
2698         (getActionName): take kb_action as arg, simplify
2699         (funcHasFlag): add an assert, simplify.
2700
2701 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2702
2703         * toc.C (action): return a FuncRequest, simplify
2704
2705         * lyxfunc.C (processKeySym): adjust
2706         (getStatus): delete version that takes an int.
2707         (getStatus): adjust
2708         (dispatch): delete version that takes action as int
2709         (dispatch): adjust
2710         (sendDispatchMessage): simplify and adjust
2711
2712         * funcrequest.C (getArg): take unsigned int as arg
2713
2714         * ToolbarBackend.C (read): adjust
2715         (add): delete version that takes func as a string.
2716         (getIton): take a FuncRequest as arg
2717
2718         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2719         action.
2720
2721         * MenuBackend.C (MenuItem): add a new construct that only takes a
2722         Kind, simplify the constructor use for submenus.
2723         (add): adjust
2724         (expandLastfiles): adjust
2725         (expandDocuments): adjust
2726         (expandFormats): adjust
2727         (expandFloatListInsert): adjust
2728         (expandFloatInsert): adjust
2729         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2730
2731         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2732         Remove class variables lyx_pseudo_map and lyx_arg_map
2733
2734         * LyXAction.C (searchActionArg): delete function
2735         (getPseudoAction): delete function
2736         (retrieveActionArg): delete function
2737         (LookupFunc): make it return kb_action, simplify.
2738         (getActionName): simplify
2739
2740         * factory.C (createInset): fix new bug
2741
2742 2003-09-19  Angus Leeming  <leeming@lyx.org>
2743
2744         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2745         masterFilename_ parameter in the include inset.
2746
2747         * factory.C (createInset): changes due to the changes to InsetInclude.
2748
2749 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2750
2751         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2752
2753 2003-09-18  Angus Leeming  <leeming@lyx.org>
2754
2755         * buffer.C:
2756         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2757         Inset::fillWithBibKeys.
2758         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2759
2760 2003-09-18  Angus Leeming  <leeming@lyx.org>
2761
2762         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2763         variables.
2764         (ctor): pass and store a 'Buffer const &'
2765         (buffer): new member function.
2766
2767         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2768         '*this' to the LaTeXFeatures ctor.
2769
2770 2003-09-18  Angus Leeming  <leeming@lyx.org>
2771
2772         * LColor.h:
2773         * lyxfont.C:
2774         * lyxfont.h:
2775         * lyxtext.h:
2776         * text.C: rename EnumLColor as LColor_color.
2777
2778 2003-09-18  Angus Leeming  <leeming@lyx.org>
2779
2780         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2781         remove #include "insets/insetbase.h" from cursor.h.
2782
2783 2003-09-18  Angus Leeming  <leeming@lyx.org>
2784
2785         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2786         InsetOld_code to remove #include "inset.h".
2787
2788         * iterators.C: add #include "insets/inset.h"
2789
2790 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2791
2792         * BufferView.C: remove more locking stuff that apparently doesn't
2793         do anything sensible.
2794
2795 2003-09-16  André Pönitz  <poenitz@gmx.net>
2796
2797         * paragraph.[Ch]:
2798         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2799           performance boost.
2800
2801 2003-09-16  Angus Leeming  <leeming@lyx.org>
2802
2803         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2804
2805         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2806         arg/return type.
2807
2808         * paragraph.h: remove #include "lyxfont.h". Forward declare
2809         LyXFont_size.
2810
2811 2003-09-16  Angus Leeming  <leeming@lyx.org>
2812
2813         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2814         of support/textutils.h.
2815         (isWord): move the contents of support/textutils.h's IsWordChar here.
2816
2817         * buffer.C:
2818         * lyxfind.C:
2819         * rowpainter.C:
2820         * text.C:
2821         * text2.C: add #include "paragraph.h".
2822
2823         * rowpainter.C:
2824         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2825
2826 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * main.C:
2829         * lyx_main.C:
2830         * lyx_cb.C:
2831         * buffer.C:
2832         * LaTeX.C: use namespace alias for lyx::support::os
2833
2834 2003-09-16  Angus Leeming  <leeming@lyx.org>
2835
2836         * bufferparams.C:
2837         * bufferview_funcs.C:
2838         * factory.C:
2839         * lyxfunc.C:
2840         * paragraph_pimpl.C:
2841         * rowpainter.C:
2842         * text.C: add #include "LColor.h".
2843
2844 2003-09-16  Angus Leeming  <leeming@lyx.org>
2845
2846         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2847         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2848         return LyXFont &.
2849         Store the FontBits::color variable as an int rather than as an
2850         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2851         file.
2852
2853         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2854         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2855         string calls together.
2856
2857         * lyxrc.C: add #include "LColor.h".
2858
2859 2003-09-15  Angus Leeming  <leeming@lyx.org>
2860
2861         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2862         a cow_ptr.
2863
2864 2003-09-15  Angus Leeming  <leeming@lyx.org>
2865
2866         * LColor.h: add an EnumLColor wrapper for LColor::color.
2867
2868         * lyxfont.[Ch] (color, setColor, realColor):
2869         * lyxtext.h, text.C (backgroundColor):
2870         pass EnumLColor args to/from the functions, rather than LColor::color
2871         ones.
2872
2873         * lyxfont.h:
2874         * lyxtext.h: forward declare EnumLColor.
2875
2876         * lyx_main.C: add #include "LColor.h".
2877
2878 2003-09-15  Angus Leeming  <leeming@lyx.org>
2879
2880         * .cvsignore: add lyx-gtk.
2881
2882 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * Chktex.C
2885         * LaTeX.C
2886         * LaTeXFeatures.C
2887         * ParagraphParameters.C
2888         * Spacing.C
2889         * buffer.C
2890         * bufferparams.C
2891         * bufferview_funcs.C
2892         * chset.C
2893         * counters.C
2894         * funcrequest.C
2895         * lyxfont.C
2896         * lyxgluelength.C
2897         * lyxlength.C
2898         * paragraph.C
2899         * paragraph_funcs.C
2900         * text3.C
2901         * vc-backend.C: remove usage of STRCONV
2902
2903 2003-09-15  Angus Leeming  <leeming@lyx.org>
2904
2905         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2906         explicitly define the color passed to the painter.
2907
2908 2003-09-15  Angus Leeming  <leeming@lyx.org>
2909
2910         * bufferparams.C (BufferParams): reorder member initializers to avoid
2911         compiler warning.
2912
2913 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2916         * text.C (updateRowPositions): remove an unusual nop
2917
2918 2003-09-12  André Pönitz  <poenitz@gmx.net>
2919
2920         * BufferView_pimpl.C:
2921         * Bullet.C:
2922         * layout.h:
2923         * lyxfunc.C:
2924         * lyxlayout.[Ch]:
2925         * lyxtextclass.C:
2926         * rowpainter.C:
2927         * text.C:
2928         * text2.C:
2929         * Counters.[Ch]: finish the 'automatic counters' job
2930
2931 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2932
2933         * aspell.C: include <boost/assert.cpp> (compile fix)
2934
2935 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2936
2937         * boost.C (assertion_failed): use lyx::support::abort instead of
2938         assert.
2939
2940 2003-09-10  Angus Leeming  <leeming@lyx.org>
2941
2942         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2943         with their _fwd progeny.
2944
2945 2003-09-09  Angus Leeming  <leeming@lyx.org>
2946
2947         134 files throughtout the source tree: replace 'using namespace abc;'
2948         directives with the appropriate 'using abc::xyz;' declarations.
2949
2950 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2951
2952         * boost.C (emergencyCleanup): moved here from LAssert.c
2953         (assertion_failed): new function, called by BOOST_ASSERT
2954
2955         * several files: change Assert to BOOST_ASSERT
2956
2957 2003-09-09  Angus Leeming  <leeming@lyx.org>
2958
2959         * buffer.[Ch]: Add an Impl class and move Buffer's member
2960         variables into it. As a result move several header files out of
2961         buffer.h.
2962
2963         Add header files to lots of .C files all over the tree as a result.
2964
2965 2003-09-09  Angus Leeming  <leeming@lyx.org>
2966
2967         * buffer.[Ch]: make Buffer's member variables private. Add
2968         accessor functions.
2969
2970         Lots of changes all over the tree as a result.
2971
2972 2003-09-08  Angus Leeming  <leeming@lyx.org>
2973
2974         * graph.C: #include <config.h>.
2975
2976 2003-09-08  Angus Leeming  <leeming@lyx.org>
2977
2978         * BranchList.C:
2979         * BufferView.C:
2980         * BufferView_pimpl.C:
2981         * CutAndPaste.C:
2982         * DepTable.C:
2983         * LaTeX.C:
2984         * LaTeXFeatures.C:
2985         * LyXAction.C:
2986         * MenuBackend.C:
2987         * TextCache.C:
2988         * aspell.C:
2989         * buffer.C:
2990         * bufferlist.C:
2991         * changes.C:
2992         * chset.C:
2993         * converter.C:
2994         * counters.C:
2995         * debug.C:
2996         * graph.C:
2997         * ispell.C:
2998         * lyx_cb.C:
2999         * lyxfind.C:
3000         * lyxfunc.C:
3001         * lyxlex_pimpl.C:
3002         * lyxrc.C:
3003         * lyxrow.C:
3004         * paragraph.C:
3005         * rowpainter.C:
3006         * texrow.C:
3007         * text.C:
3008         * text2.C:
3009         * toc.C: remove redundant using directives.
3010
3011 2003-09-07  Angus Leeming  <leeming@lyx.org>
3012
3013         * LaTeXFeatures.h: remove #include "support/types.h".
3014         * ToolbarBackend.h: remove #include <algorithm>.
3015         * changes.h: remove #include <ctime>.
3016         * debug.h: remove #include <iosfwd>.
3017         * graph.h: remove #include "support/std_string.h".
3018         * lyx_main.h: remove #include <csignal>.
3019         * lyxlex_pimpl.h: remove #include <fstream>.
3020         * sgml.h: remove #include <algorithm>, <utility>.
3021         * toc.h: remove #include "support/std_ostream.h".
3022         Add #include <iosfwd>.
3023
3024 2003-09-07  Angus Leeming  <leeming@lyx.org>
3025
3026         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3027
3028         * converter.h: forward declare LatexRunParams.
3029         * encoding.h: remove #include "lyxrc.h".
3030         * lyxtext.h: remove #include "LColor.h".
3031         * lyxtextclass.h: remove #include "support/types.h".
3032         * trans.h: remove #include "tex-accent.h".
3033         * trans_mgr.h: remove #include "tex-accent.h".
3034         * insets/inset.h: remove #include "support/types.h", <vector>.
3035         * insets/insetcollapsable.h: remove #include "LColor.h".
3036         * insets/insetinclude.h: remove #include "dimension.h".
3037         * insets/insetlatexaccent.h: remove #include "dimension.h".
3038         * insets/insetoptarg.h:: remove #include "insettext.h".
3039         * insets/insettext.h: remove #include "dimension.h",
3040         <boost/shared_ptr.hpp>
3041
3042         * insets/renderers.h: add #include "dimension.h".
3043         * insets/updatableinset.h: add #include "support/types.h".
3044
3045         * many .C files: Associated changes.
3046
3047 2003-09-06  Angus Leeming  <leeming@lyx.org>
3048
3049         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3050         one, inside testInvariant.
3051
3052         * PrinterParams.C: new file.
3053         * PrinterParams.[Ch]: move the function bodies out of line.
3054
3055 2003-09-06  Angus Leeming  <leeming@lyx.org>
3056
3057         * ParagraphParameters.h: forward declare ParameterStruct rather than
3058         including its header file.
3059         (depth): moved out-of-line.
3060
3061 2003-09-06  Angus Leeming  <leeming@lyx.org>
3062
3063         * BufferView_pimpl.h:
3064         * kbmap.h:
3065         * kbsequence.h:
3066         * lyxfunc.h: forward declare LyXKeySym rather than
3067         #include "frontends/LyXKeySym.h".
3068
3069         * BufferView_pimpl.C:
3070         * kbmap.C:
3071         * kbsequence.C:
3072         * lyxfunc.C: associated changes.
3073
3074 2003-09-06  Angus Leeming  <leeming@lyx.org>
3075
3076         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3077         As a result, can remove the #include "insets/inset.h" from BufferView.h
3078
3079 2003-09-06  Angus Leeming  <leeming@lyx.org>
3080
3081         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3082         As a result, can remove the #include "insets/inset.h" from BufferView.h
3083
3084 2003-09-06  Angus Leeming  <leeming@lyx.org>
3085
3086         * buffer_funcs.C:
3087         * buffer.h:
3088         * bufferlist.C:
3089         * BufferView.C:
3090         * bufferview_funcs.C:
3091         * BufferView_pimpl.C:
3092         * CutAndPaste.C:
3093         * lyx_cb.C:
3094         * lyxfunc.C:
3095         * paragraph.h:
3096         * ParagraphParameters.C:
3097         * tabular.C:
3098         * text3.C:
3099         * toc.C:
3100         * undo_funcs.C:
3101         * frontends/controllers/ControlDocument.C:
3102         * insets/insetcaption.C: rearrange the #includes into some sort of
3103         coherent order.
3104
3105         * buffer.h: remove #includes ErrorList.h, undo.h
3106
3107 2003-09-06  Angus Leeming  <leeming@lyx.org>
3108
3109         * support/types.h: add a 'depth_type' typedef, used to store the
3110         nesting depth of a paragraph.
3111
3112         * paragraph.h:
3113         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3114         defining explicitly.
3115
3116         * buffer.h:
3117         * paragraph_funcs.h:
3118         * ParagraphParameters.h:
3119         * sgml.h: use lyx::depth_type rather than Paragraph or
3120         ParameterStruct's depth_type.
3121
3122         * buffer.h
3123         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3124
3125         * BufferView.C:
3126         * BufferView_pimpl.C:
3127         * CutAndPaste.C:
3128         * ParagraphParameters.C:
3129         * buffer_funcs.C:
3130         * bufferlist.C:
3131         * bufferview_funcs.C:
3132         * lyx_cb.C:
3133         * lyxfunc.C:
3134         * tabular.C:
3135         * text3.C:
3136         * toc.C:
3137         * undo_funcs.C:
3138         * frontends/LyXView.C:
3139         * frontends/controllers/ControlDocument.C:
3140         * frontends/controllers/ControlErrorList.C:
3141         * insets/insetbibitem.C:
3142         * insets/insetbranch.C:
3143         * insets/insetcaption.C:
3144         * insets/insetcollapsable.C:
3145         * insets/insetenv.C:
3146         * insets/insetert.C:
3147         * insets/insetfloat.C:
3148         * insets/insetfoot.C:
3149         * insets/insetfootlike.C:
3150         * insets/insetnewline.C:
3151         * insets/insetquotes.C:
3152         * insets/insettabular.C:
3153         * insets/insettext.C:
3154         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3155
3156         * frontends/controllers/ControlChanges.C: #include "changes.h".
3157
3158 2003-09-06  Angus Leeming  <leeming@lyx.org>
3159
3160         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3161         than #including paragraph.h.
3162
3163         * ParagraphList.h:
3164         * RowList.h: deleted. Superfluous.
3165
3166         * CutAndPaste.h:
3167         * iterators.h:
3168         * lyxcursor.h:
3169         * lyxtext.h:
3170         * text_funcs.h:
3171         * undo.h:
3172         * undo_funcs.h:
3173         * insets/inset.h:
3174         * insets/insettext.h: use ParagraphList_fwd.h rather than
3175         ParagraphList.h.
3176
3177         * paragraph.h: don't forward declare ParagraphList.
3178
3179         * buffer.h:
3180         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3181         rather than ParagraphList.h. paragraph.h is still needed for the
3182         Paragraph::depth_type parameters.
3183
3184         * textcursor.h: enable it to compile stand-alone in light of the
3185         above changes.
3186
3187         * bufferview_funcs.C:
3188         * iterators.C:
3189         * lyxfunc.C:
3190         * lyxrow_funcs.C:
3191         * paragraph.C:
3192         * rowpainter.C:
3193         * text.C:
3194         * text2.C:
3195         * text3.C:
3196         * text_funcs.C:
3197         * textcursor.C:
3198         * undo.C:
3199         * frontends/controllers/ControlParagraph.C:
3200         * frontends/controllers/ControlTabular.C:
3201         * insets/insetmarginal.C:
3202         * insets/insetminipage.C:
3203         * insets/insetnote.C:
3204         * insets/insetoptarg.C: add header files needed to compile again.
3205
3206 2003-09-06  Angus Leeming  <leeming@lyx.org>
3207
3208         * RowList_fwd.h: new file, forward-declaring Row rather than
3209         #including lyxrow.h.
3210
3211         * lyxrow_funcs.h:
3212         * lyxtext.h:
3213         * paragraph.h:
3214         * insets/insettext.h: use it instead of RowList.h
3215
3216         * bufferview_funcs.C:
3217         * lyxfunc.C:
3218         * lyxrow_funcs.C:
3219         * paragraph.C:
3220         * rowpainter.C:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: #include "RowList.h".
3224
3225 2003-09-05  Angus Leeming  <leeming@lyx.org>
3226
3227         * factory.C (createInset):
3228         * vspace.C (c-tor): replace sscanf call with an istringstream.
3229         * ispell.C: re-add missing HP/UX headers.
3230         * lyxserver.C: re-add missing  os2 headers.
3231
3232 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3233
3234         * BranchList.C:
3235         * graph.C:
3236         * ispell.C:
3237         * lastfiles.C:
3238         * lyx_cb.C:
3239         * lyxserver.C:
3240         * texrow.C:
3241         * text3.C: re-add missing system headers, needed for 2.95.2.
3242
3243 2003-09-05  Angus Leeming  <leeming@lyx.org>
3244
3245         Changes most place everywhere due to the removal of using directives
3246         from support/std_sstream.h.
3247
3248 2003-09-05  Angus Leeming  <leeming@lyx.org>
3249
3250         Replace LString.h with support/std_string.h,
3251         Lsstream.h with support/std_sstream.h,
3252         support/LIstream.h with support/std_istream.h,
3253         support/LOstream.h with support/std_ostream.h.
3254
3255         Changes resulting throughout the tree.
3256
3257 2003-09-05  Angus Leeming  <leeming@lyx.org>
3258
3259         * sgml.h: ensure that the header file can be compiled stand-alone.
3260         * *.C: strip out redundant #includes. (320 in total.)
3261
3262 2003-09-04  Angus Leeming  <leeming@lyx.org>
3263
3264         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3265         here (from getPackages).
3266
3267         * debug.[Ch]: add a new EXTERNAL tag.
3268
3269 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3270
3271         * text2.C (cursorEnd): simplify
3272         (setCursor): adjust
3273         (getColumnNearX): adjust
3274
3275         * text.C (computeBidiTables): adjust
3276         (fill): adjust
3277
3278         * rowpainter.C (paintChars): adjust
3279         (paintSelection): adjust
3280         (paintChangeBar): adjust
3281         (paintText): adjust
3282
3283         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3284         lastPos instead.
3285         (numberOfSeparators): adjust
3286
3287 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3288
3289         * LyXAction.C:
3290         * box.[Ch]:
3291         * lfuns.h:
3292         * lyxfunc.C:
3293         * text3.C: Restricts the mouse click functionality
3294         of insets like bibtex, include, toc and floatlist to the visible
3295         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3296         up the dialogs. Cursor has to be in front of the inset (i.e.
3297         start of row) for this to function.
3298
3299 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3300
3301         * bufferview_funcs.C (currentState): output row information
3302
3303 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3304
3305         * bufferview_funcs.C (currentState): output paragraph position
3306
3307 2003-09-04  Angus Leeming  <leeming@lyx.org>
3308
3309         * FloatList.h: move out #include "Floating.h".
3310         * LaTeX.h: move out #include "DepTable.h".
3311         * LyXAction.h: move out #include "funcrequest.h".
3312         * buffer.h: move out #include "author.h", "iterators.h".
3313         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3314         * lyx_main.h: move out #include "errorlist.h".
3315         * lyxfunc.h: move out #include "FuncStatus.h".
3316         * lyxtext: move out #include "lyxcursor.h".
3317         * paragraph_pimpl.h: move out #include "counters.h".
3318
3319 2003-09-03  Angus Leeming  <leeming@lyx.org>
3320
3321         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3322         preamble_snippets list, enabling us to add snippets to the preamble
3323         only if the snippet was not there already.
3324
3325 2003-09-04  Angus Leeming  <leeming@lyx.org>
3326
3327         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3328
3329 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3332         update
3333
3334 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3335
3336         * BranchList.C: point fix, earlier forgotten
3337
3338 2003-09-02  Angus Leeming  <leeming@lyx.org>
3339
3340         * box.C (contains): renamed from 'contained' after a fantastic
3341         amount of hot air.
3342
3343 2003-09-02  John Levon  <levon@movementarian.org>
3344
3345         * BufferView.C:
3346         * lyxcursor.h:
3347         * lyxcursor.C:
3348         * lyxfunc.C:
3349         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3350
3351 2003-09-02  John Levon  <levon@movementarian.org>
3352
3353         * text2.C: simplification of cursorEnd(), including partial
3354         fix for bug 1376
3355
3356 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * buffer.C (readFile): add a space
3359
3360 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3363
3364 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * buffer.C (readFile): new function, take a filename and a
3367         ParagraphList::iterator
3368         (readFile): adjust
3369         (readFile): adjust, make it private. don't use setStream, make
3370         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3371         always contain the filename.
3372
3373         * BufferView.C (insertLyXFile): simplify and make it work for
3374         gzipped files.
3375
3376 2003-08-30  John Levon  <levon@movementarian.org>
3377
3378         * Makefile.am: fix dist (from Kayvan)
3379
3380 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3381
3382         * most files: change to use const Buffer refs
3383
3384 2003-08-27  André Pönitz  <poenitz@gmx.net>
3385
3386         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3387         on top of ownerPar().
3388
3389 2003-08-27  John Levon  <levon@movementarian.org>
3390
3391         * funcrequest.C: properly initialise POD members
3392
3393 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3394
3395         * lyxtext.h (top_y): move top_y from here
3396         * text.C:
3397         * text2.C:
3398         * text3.C:
3399         * BufferView.[Ch]:
3400         * BufferView_pimpl.[Ch]: to here
3401         * frontends/screen.C:
3402         * insets/insettabular.C:
3403         * insets/insettext.C: adjust
3404         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3405
3406 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3407
3408         * BufferView.[Ch]:
3409         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3410
3411 2003-08-26  André Pönitz  <poenitz@gmx.net>
3412
3413         * paragraph_func.[Ch] (outerPar): new function
3414
3415         * paragraph.C:
3416         * paragraph_funcs.C:
3417         * paragraph_funcs.h:
3418         * paragraph_pimpl.C:
3419         * text2.C: remove Inset::par_owner
3420
3421 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3422
3423         * lyxrow_funcs.C:
3424         * lyxtext.h:
3425         * text.C:
3426         * text2.C: eliminates the needFullRow/display() stuff
3427         altogether, putting the logic in metrics/draw in the insets.
3428
3429 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * text2.C (redoParagraphInternal, redoParagraphs):
3432         * text.C (redoParagraph): add a call to updateRowPositions at the
3433         end of each 'metrics-like' call. Remove all others.
3434         (getRow): remove the 'y-computing' version.
3435         (getRowNearY): do not compute nor return the real y. Solve the
3436         'y < 0' problem and simplify.
3437
3438 2003-08-22  Angus Leeming  <leeming@lyx.org>
3439
3440         * *.[Ch]: clean-up of licence and author blurbs.
3441         Also move config.h out of a few .h files and into a few .C files.
3442
3443 2003-08-22  André Pönitz  <poenitz@gmx.net>
3444
3445         * lyxrow.[Ch]: add x_ and *fill_ members
3446
3447         * lyxtext.h:
3448         * text.C:
3449         * rowpainter.C:
3450         * text2.C: adjust/remove prepareToPrint() calls
3451
3452 2003-08-22  André Pönitz  <poenitz@gmx.net>
3453
3454         * lyxrow.[Ch]: add  end_ member
3455
3456         * lyxrow_funcs.C: use LyXRow::end_
3457
3458         * lyxtext.h (singleWidth): add LyXFont parameter
3459
3460         * rowpainter.C:
3461         * text2.C: adjust LyXText::singleWidth() calls
3462
3463         * text.C (redoParagraph): simplify row breaking logic
3464
3465
3466 2003-08-19  André Pönitz  <poenitz@gmx.net>
3467
3468         * funcrequest.C: initialize button_ member
3469
3470         * text3.C:
3471         * rowpainter.[Ch]: interface consolidation
3472
3473 2003-08-18  André Pönitz  <poenitz@gmx.net>
3474
3475         * BufferView.C:
3476         * BufferView_pimpl.C:
3477         * lyxfind.C:
3478         * paragraph_funcs.C:
3479         * rowpainter.C:
3480         * text3.C: remove LyXScreen::draw() and fitCursor calls
3481
3482         * BranchList.h: remove spurious semicolons
3483
3484         * MenuBackend.C: fix branchlist related crash
3485
3486 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3487
3488         * BranchList.[Ch]:
3489         * InsetList.[Ch]:
3490         * LColor.[Ch]:
3491         * LyXAction.C:
3492         * Makefile.am:
3493         * MenuBackend.[Ch]:
3494         * bufferparams.[Ch]:
3495         * factory.C:
3496         * lfuns.h:
3497         * lyxfunc.C:
3498         * text3.C: implements the 'branch inset'
3499         idea. This allows the output of various versions of a document
3500         from a single source version, selectively outputing or suppressing
3501         output of parts of the text.
3502         This implementation contains a 'branch list editor' in a separate
3503         tab of the document settings dialog. Branches are user definable
3504         and have a "display colour" to distinguish them on-screen.
3505
3506         ColorHandler was somewhat cleaned up.
3507         (1) make possible a dynamically growing LColor list by allowing
3508         the graphic context cache to grow along (vector);
3509         (2) eliminate an IMHO unnecessary step in colour allocation.
3510
3511 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3512
3513         * BufferView_pimpl.C: compile fix
3514
3515 2003-08-15  André Pönitz  <poenitz@gmx.net>
3516
3517         * rowpainter.C: remove extra metrics calls
3518
3519         * lyxtext.h: merge the two constructors into a single one,
3520           pass reference to owner's par list
3521
3522         * BufferView_pimpl.C:
3523         * text.C:
3524         * text2.C: adjust
3525
3526 2003-08-15  André Pönitz  <poenitz@gmx.net>
3527
3528         * lyxrow_funcs.[Ch]:
3529         * lyxtext.h:
3530         * paragraph.h:
3531         * paragraph_funcs.C:
3532         * rowpainter.C:
3533         * text.C:
3534         * text2.C:
3535         * text3.C:
3536         * text_funcs.C: split LyXText::rowlist_ into individual
3537         Paragraph::rows_ chunks
3538
3539         * BufferView.[Ch]:
3540         * BufferView_pimpl.[Ch]:
3541         * lyxfind.C:
3542         * lyxtext.h:
3543         * text3.C: remove toggleSelection()
3544
3545 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3546
3547         * bufferlist.C: beautify two alerts (shorter text of buttons)
3548         * buffer.C: Remove redundant ' ' from message
3549         * tabular.h:
3550         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3551         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3552         rename VALIGN_CENTER to VALIGN_MIDDLE
3553
3554 2003-08-11  André Pönitz  <poenitz@gmx.net>
3555
3556         * lyxtext.h (getPar):
3557         * text.C: new function
3558
3559 2003-08-11  André Pönitz  <poenitz@gmx.net>
3560
3561         * Makefile.am:
3562         * tracer.[Ch]: remove unneeded files
3563
3564         * InsetList.[Ch]: remove resizeInsetsLyXText()
3565
3566         * lyxtext.h:
3567         * text.C:
3568         * text2.C:
3569         * text3.C: merge insertParagraphs() and appendParagraph()
3570         remove breakAgain(), update()
3571
3572         * BufferView_pimpl.[Ch]:
3573         * bufferview_funcs.[Ch]:
3574         * lyxfunc.C:
3575         * paragraph.[Ch]:
3576         * rowpainter.C:
3577         * tabular.C: adjust after text & InsetList changes.
3578
3579 2003-08-08  André Pönitz  <poenitz@gmx.net>
3580
3581         * text.C (insertChar, backspace): replace rowlist fiddling
3582         with rebreak of full par
3583
3584         * lyxtext.h:
3585         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3586         checkParagraph, updateInset): removed
3587
3588 2003-08-07  André Pönitz  <poenitz@gmx.net>
3589
3590         * paragraph.C:
3591         * text3.C: merge some LFUN handlers, remove dead code
3592
3593 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3594
3595         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3596
3597 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * text2.C (DEPM): fix part of bug 1255 and 1256
3600
3601 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3602
3603         * BufferView_pimpl.C (workAreaDispatch): change to use
3604         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3605         that are no mouse related.
3606
3607 2003-08-05  André Pönitz  <poenitz@gmx.net>
3608
3609         * BufferView.[Ch]:
3610         * BufferView_pimpl.[Ch]:
3611         * bufferview_funcs.C:
3612         * text2.C:
3613         * text3.C: rip out "deep update"
3614
3615         * textcursor.[Ch] (last_sel_cursor): remove unused member
3616
3617 2003-08-04  André Pönitz  <poenitz@gmx.net>
3618
3619         * BufferView.[Ch]:
3620         * BufferView_pimpl.[Ch]:
3621         * ParagraphParameters.C:
3622         * bufferview_funcs.C:
3623         * lyx_cb.C:
3624         * lyxfind.C:
3625         * lyxfunc.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C: replace "complicated" BufferView::update(...) calls with
3629         simpler ones.
3630
3631         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3632
3633 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3634
3635         * Makefile.am (lyx_SOURCES): add paper.h
3636
3637 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3638
3639         * Makefile.am: move things around so that both lyx-qt and
3640         lyx-xforms can be built (according to --with-frontend). Then lyx
3641         is a symbolic link to lyx-[firstfrontend]
3642
3643 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3644
3645         * Always use std::endl with lyxerr
3646
3647 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3648
3649         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3650
3651 2003-08-01  André Pönitz  <poenitz@gmx.net>
3652
3653         * BufferView.[Ch]:
3654         * BufferView_pimpl.[Ch]:
3655         * lyxfunc.C:
3656         * text3.C: merge BufferView::repaint() and BufferView::update()
3657
3658 2003-08-01  José Matos  <jamatos@lyx.org>
3659
3660         * buffer.[Ch]: file_format is no longer a buffer data element.
3661
3662 2003-08-01  André Pönitz  <poenitz@gmx.net>
3663
3664         * BufferView.C:
3665         * lyxtext.h:
3666         * text.C:
3667         * text2.C: make redoParagraph more independent of current cursor
3668
3669         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3670         * text.C:
3671         * text2.C: remove unneeded members
3672
3673 2003-07-30  André Pönitz  <poenitz@gmx.net>
3674
3675         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3676
3677         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3678           create a single function...
3679
3680         * paragraph_funcs.C (moveItem): ... here.
3681
3682         * text.C:
3683           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3684
3685 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3686
3687         * LColor.[Ch]: Add comment and greyedout logical colors.
3688
3689 2003-07-30  André Pönitz  <poenitz@gmx.net>
3690
3691         * tabular.C: don't use Assert too heavily. This crashes where it
3692           shouldn't
3693
3694 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3695
3696         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3697         is disabled (bug 1232)
3698
3699 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3700
3701         * factory.C: limited 'arg' scope
3702
3703 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3704
3705         * factory.C: fixed Note submenu issues
3706
3707 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3708
3709         * factory.C: submenu for Note/Comment/Greyedout
3710
3711 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * lyx_main.C (LyX):
3714         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3715
3716 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3717
3718         * LaTeXFeatures.C:
3719         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3720         greyedout. Patch provided by Jürgen Spitzmüller.
3721
3722 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3723
3724         * kbmap.C (read): fix error message when reading bind files
3725
3726 2003-07-29  Angus Leeming  <leeming@lyx.org>
3727
3728         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3729         certainly does not do what it purports to do. I am doing it, and
3730         us, a favour by killing it.
3731
3732 2003-07-28  José Matos  <jamatos@lyx.org>
3733
3734         * buffer.C (readBody, do_writeFile):
3735         * paragraph.C(readParagraph): \end_document replaces \the_end.
3736
3737 2003-07-29  André Pönitz  <poenitz@gmx.net>
3738
3739         * BufferView.[Ch]:
3740         * BufferView_pimpl.[Ch]:
3741         * lyxfunc.C:
3742         * text2.C:
3743         * text3.C:
3744         * textcursor.[Ch]: remove toggleToggle & Co
3745
3746 2003-07-28  José Matos  <jamatos@fep.up.pt>
3747
3748         * buffer.C (readParagraph):
3749         * params_func (readParToken, readParagraph):
3750         * paragraph.C (write): \layout -> \begin_layout.
3751
3752 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * lyxlex_pimpl.C (setFile): clean up slightly.
3755
3756         * bufferparams.h: add compressed var
3757
3758         * buffer_funcs.C (readFile): adjust for LyXLex change
3759         (newFile): ditto + simplify
3760
3761         * buffer.C (writeFile): handle writing of compressed files
3762
3763         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3764         Check if the file is compressed and set a bufferparm if so.
3765
3766         * Makefile.am (lyx_LDADD): remove explicit -lz
3767
3768 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3769
3770         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3771         makeDocBookFile): put the real LyX version in the first line of
3772         the file
3773
3774         * version.h:
3775         * version.C.in: remove lyx_docversion
3776
3777         * tabular.C (write_attribute): add a template-based version to
3778         write enums properly
3779
3780 2003-07-28  André Pönitz  <poenitz@gmx.net>
3781
3782         * lyxtext.h:
3783         * text.C:
3784         * text2.C:
3785         * text3.C: use doubles again for x-coordinates. They are needed.
3786
3787 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3788
3789         * messages.C (getLocaleDir): use lyx_localedir()
3790
3791         * lyxlex_pimpl.C (setFile): compress stuff
3792
3793         * buffer.C (writeFile): add some compression stuff
3794         (do_writeFile): new func, dont call expliti close... will this
3795         breake anything?
3796
3797         * Makefile.am (lyx_LDADD): add -lz
3798
3799 2003-07-28  José Matos  <jamatos@fep.up.pt>
3800
3801         * buffer.C: increment file format.
3802         * paragraph_funcs (readParagraph, readParToken):
3803         * paragraph.C (readParagraph): add \end_layout.
3804
3805 2003-07-27  Angus Leeming  <leeming@lyx.org>
3806
3807         * Makefile.am: remove special casing for configure-time setting of
3808         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3809
3810         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3811         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3812
3813 2003-07-26  André Pönitz  <poenitz@gmx.net>
3814
3815         * paragraph_func.[Ch]:
3816         * paragraph.C (realizeFont): inline it whereever it is used
3817
3818         * rowpainter.C:
3819         * text.C:
3820         * text2.C:
3821         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3822
3823
3824 2003-07-26  André Pönitz  <poenitz@gmx.net>
3825
3826         *       lyxtext.h:
3827         * text.C:
3828         * text2.C: get rid of LyXText::need_break_row
3829
3830 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * toc.[Ch]: put namespace toc inside namespace lyx
3833
3834         * MenuBackend.C (expandToc2): adjust for lyx::toc
3835         (expandToc): ditto
3836
3837         * lyxfunc.C (dispatch): adjust for lyx::find
3838
3839         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3840         lyx::find instead. Reorganize a bit.
3841         (LyXReplace): rename to replace
3842         (LyXFind): rename to find
3843
3844         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3845         (dispatch): ditto
3846
3847 2003-07-26  André Pönitz  <poenitz@gmx.net>
3848
3849         * text.C (setHeightOfRow): restrict scope of temporary variable
3850
3851         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3852           code (never has been used?)
3853
3854 2003-07-27  Asger Alstrup  <alstrup@local>
3855
3856         * text.C (fill): Optimise algorithm to exploit that we can reuse
3857         the LyXFont for many characters.
3858         (setHeightOfRow): Same thing.
3859         (rowBreakPoint): Same thing.
3860
3861 2003-07-26  Asger Alstrup  <alstrup@local>
3862
3863         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3864
3865         * text.C (singleWidth): Spurious font copying in hot-spot
3866         singleWidth avoided. Reorder tests for arabic for efficiency.
3867
3868         * text.C (fill): handle empty paragraphs better.
3869
3870 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3871
3872         * ispell.C:
3873         * encoding.h: add includes
3874
3875         * lyxrc.C: remove reading of bind files
3876
3877         * lyx_main.C (init): setup bindings and menus only if we have a
3878         gui.
3879
3880         * kbmap.C (read): new method. Do the actual reading of bind
3881         files.
3882
3883         * converter.C (dvipdfm_options):
3884         * bufferparams.C:
3885         * lyxrc.C (read):
3886         (output): adapt PAPER_* enums.
3887
3888         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3889
3890         * bufferparams.h: remove paper-related enums from there
3891
3892         * paper.h: New file. A trivial header file to hold paper-related
3893         enums. It should later expand to contain many paper-related
3894         horrors access.
3895
3896         * lyxrc.C: declare extern displayTranslator
3897
3898 2003-07-27  José Matos  <jamatos@fep.up.pt>
3899
3900         * tabular.[Ch] (linuxdoc): add support for tables and figures
3901         (linuxdoc).
3902
3903 2003-07-27  José Matos  <jamatos@fep.up.pt>
3904
3905         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3906         consistency in both functions.
3907         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3908
3909 2003-07-26  Asger Alstrup  <alstrup@local>
3910
3911         * rowpainter.C (paintRows): Change algorithm to work directly on
3912         the insets rather than asking every character in the document
3913         whether its an inset.
3914
3915 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3916
3917         * buffer.C (openFileWrite): factorize some code
3918
3919 2003-07-26  Angus Leeming  <leeming@lyx.org>
3920
3921         * lyx_cb.C:
3922         * lyx_main.[Ch]: replace occurances of system_tempdir with
3923         os::getTmpDir().
3924
3925 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * rename Inset to InsetOld
3928
3929 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3930
3931         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3932         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3933         which I think is a bit clearer. EDIT is gone, since it was
3934         premature optimisation, and broken for mathed anyway.
3935         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3936         with cursor positioning in insets as well (math insets still do not
3937         work, but that's a different story anyway.) It mysteriously
3938         crashes sometimes with undo in the first paragraph, but I'm fairly
3939         confident that this is a compiler bug.
3940
3941 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * paragraph.C (Paragraph): adjust for new clone return type
3944         (operator==): ditto
3945         (copyIntoMinibuffer): ditto
3946
3947 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3948
3949         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3950         by not having a special case, and always doing a full rebreak of
3951         the document after undo.
3952
3953 2003-07-23  Angus Leeming  <leeming@lyx.org>
3954
3955         * factory.C (createInset): InsetExternal::setParams now takes a
3956         Buffer const * arg.
3957
3958 2003-07-23  Angus Leeming  <leeming@lyx.org>
3959
3960         * factory.C (createInset): changed interface to the external and
3961         graphics mailers' string2params functions.
3962
3963 2003-07-23  Angus Leeming  <leeming@lyx.org>
3964
3965         * factory.C (createInset): pass a
3966         Buffer const * parameter to InsetExternalMailer's string2params.
3967
3968 2003-07-22  John Levon  <levon@movementarian.org>
3969
3970         * Thesaurus.h: include the right aiksaurus header
3971
3972 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3973
3974         * MenuBackend.C (expand): check menu shortcuts unconditionally
3975
3976 2003-07-21  Angus Leeming  <leeming@lyx.org>
3977
3978         * factory.C (createInset): pass a
3979         buffer_path parameter to InsetGraphicsMailer's string2params.
3980
3981 2003-07-21  Angus Leeming  <leeming@lyx.org>
3982
3983         * BufferView_pimpl.C (buffer):
3984         * buffer.C (d-tor):
3985         * lyx_main.C (LyX):
3986         * lyxfunc.C (dispatch):
3987         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3988         rather than the grfx shortcut.
3989
3990 2003-07-21  André Pönitz  <poenitz@gmx.net>
3991
3992         * rowpainter.C: remove unused variables
3993
3994         * tabular_funcs.C:
3995         * tabular_funcs.h: move to tabular.C
3996         * Makefile.am: adjust
3997
3998         * tabular.[Ch]: basic optical cleaning
3999
4000         * author.h: pass references, not values
4001
4002 2003-07-18  André Pönitz  <poenitz@gmx.net>
4003
4004         * lyxtext.h:
4005         * metricsinfo.C:
4006         * metricsinfo.h:
4007         * rowpainter.C:
4008         * text.C:
4009         * text2.C:
4010         * text3.C: two-phase drawing for InsetText and InsetTabular
4011         some float -> int changes.
4012
4013 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * lyx_main.C: fix the fix
4016
4017 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * lyx_main.C: fix a crash in batch mode if no files specified
4020         * converter.C: ws
4021
4022 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * format.[Ch] (papersize): moved to BufferParams
4025         * converter.[Ch] (dvips_options): moved to BufferParams
4026         (dvipdfm_options): moved to anon namespace
4027         * bufferparams.[Ch]: added above functions.
4028
4029 2003-07-17  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxtext.h:
4032         * rowpainter.C:
4033         * text2.C: don't call inset->update() anymore
4034
4035         * metricsinfo.[Ch]: add convenience constructor
4036
4037 2003-07-16  André Pönitz  <poenitz@gmx.net>
4038
4039         * lyxcursor.[Ch]:
4040         * lyxfunc.[Ch]:
4041         * text.C:
4042         * text2.C: replace the LyXCursor::irow_ member with
4043          on-demand computation of the value
4044
4045 2003-07-16  John Levon  <levon@movementarian.org>
4046
4047         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4048
4049 2003-07-15  André Pönitz  <poenitz@gmx.net>
4050
4051         * text.C:
4052         * text2.C: remove no more needed refresh_row
4053
4054 2003-07-15  André Pönitz  <poenitz@gmx.net>
4055
4056         * lyxtext.h:
4057         * rowpainter.C:
4058         * text2.C:
4059         * text3.C: refresh_status tristate -> need_update bool
4060
4061 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * lyxtext.h (init): remove reinit argument (act as if always true)
4064         * text2.C: adjust to that
4065
4066 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4067
4068         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4069         * text3.C: use it to delete selections in some cases
4070         (bugs 441, 673, 702, 954).
4071
4072 2003-07-14  André Pönitz  <poenitz@gmx.net>
4073
4074         * rowpainter.[Ch]: reduce interface
4075
4076 2003-07-14  André Pönitz  <poenitz@gmx.net>
4077
4078         * BufferView_pimpl.C:
4079         * text2.C: adjust after removing unused BufferView * argument
4080
4081 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4082
4083         * text2.C (init): fix a crash fired on resize
4084
4085 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4086
4087         * buffer.[Ch]: added new closing signal
4088         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4089         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4090         BufferView::Pimpl via the closing the signal
4091
4092 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4093
4094         * buffer.[Ch]: take out all bv-related from buffer
4095         * BufferView.C:
4096         * BufferView_pimpl.[Ch]: connect to new signals
4097         * CutAndPaste.C: removed useless asserts
4098         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4099         * lyxvc.[Ch]:
4100         * vc-backend.[Ch]:
4101         * lyxfunc.C: moved view-related funciontality from vc here
4102         * paragraph.C: removed outdated comments
4103         * text.C: ws
4104
4105 2003-07-10  André Pönitz  <poenitz@gmx.net>
4106
4107         * BufferView_pimpl.C:
4108         * tabular.h:
4109         * tabular_funcs.C:
4110         * text.C:
4111         * text2.C: remove InsetText::InnerCache, clean up consequences
4112
4113 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4114
4115         * ispell.C: fix two typos in error messages
4116
4117 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4118
4119         * Extend Note inset to other forms of annotation like Comment
4120         and Greyedout. Right button click gives dialog.
4121
4122         Files modified or added (+):
4123
4124         * insetnote.[Ch]
4125         * FormNote.[Ch]      +
4126         * ControlNote.[Ch]   +
4127         * form_note.fd       +
4128         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4129         frontends/controllers
4130         * xforms/Dialogs.C
4131         * factory.C
4132
4133 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4134
4135         * aspell.C: add missing namespace lyx::support
4136
4137 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4138
4139         * BufferView.[Ch] (newFile): Add
4140         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4141         * LaTeX.[Ch] (message): added this signal and use it
4142         * buffer.[Ch] (busy, message): added these signals and use them
4143         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4144         * converter.C:
4145         * exporter.C:
4146         * format.C:
4147         * importer.C: use buffer signals instead of direct bv calling
4148         * lyx_cb.[Ch] (ShowMessage): removed
4149         * lyx_main.C:
4150         * lyxfunc.C:
4151         * paragraph_funcs.C:
4152         * text2.C: use buffer signals
4153
4154 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * introduce namespace lyx::graphics
4157
4158 2003-07-02  André Pönitz  <poenitz@gmx.net>
4159
4160         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4161
4162 2003-07-01  André Pönitz  <poenitz@gmx.net>
4163
4164         * text.C:
4165         * text2.C:
4166         * text3.C:
4167         * text_funcs.[Ch]:
4168         * textcursor.h:
4169         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4170           text*.C to text_func.C
4171
4172 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * introduce namespace lyx::support
4175
4176 2003-06-30  André Pönitz  <poenitz@gmx.net>
4177
4178         * Chktex.C:
4179         * funcrequest.C:
4180         * lyxtext.h:
4181         * text.C: re-enable --with-included-string
4182
4183 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * textcursor.C: add <config.h>
4186
4187         * text.C (getWord): remove const from word_location arg
4188
4189         * lyxvc.C (getLogFile): fix const type order
4190
4191         * lyxtext.h: remove const from word_location arg, add arg name
4192
4193         * lyxlayout.h: currect type on labeltype.
4194
4195         * importer.C: correct \file
4196
4197         * converter.C (intToFormat): use std:: on ret val, ws changes
4198
4199         * bufferlist.h: correct \file
4200
4201         * buffer.C (makeLinuxDocFile): fix const type order
4202         (makeDocBookFile): ditto
4203         (fillWithBibKeys): use std:: on stdlib args.
4204
4205         * CutAndPaste.C: fix authors.
4206         (availableSelections): use std:: on return vector
4207
4208 2003-06-27  André Pönitz  <poenitz@gmx.net>
4209
4210         * BufferView_pimpl.C:
4211         * bufferview_funcs.C:
4212         * lyxcursor.C:
4213         * lyxcursor.h:
4214         * lyxfunc.C:
4215         * lyxtext.h:
4216         * rowpainter.C:
4217         * text.C:
4218         * text2.C:
4219         * text3.C: remove LyXCursor::row_ member
4220
4221         * lyxtext.h:
4222         * text.C: rename fullRebreak() to partialRebreak() and implement
4223           a fullRebreak() that really bereks fully
4224
4225         * textcursor.h: new struct for cursor-related data
4226
4227 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4228
4229         * lyx_main.C (LyX): get full path of document loaded on the
4230         command line
4231
4232 2003-06-26  André Pönitz  <poenitz@gmx.net>
4233
4234         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4235           remove unused/broken operator>,<,>=.
4236
4237         *       text.C: remove only use of broken operator<= in an Assert().
4238
4239 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4240
4241         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4242         moved errorlist_.clear to showErrorList
4243
4244 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4245
4246         * converter.C (scanLog, runLaTeX):
4247         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4248         move the bv->showErrorList call to the callers
4249         * lyxfunc.C: i.e. here...
4250         * text2.C: and here
4251         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4252         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4253         namespace, the second to...
4254         * buffer_funcs (BufferFormat, parseErrors): added
4255         * errorlist.C (ErrorList(TeXErrors const &)): removed
4256
4257 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4258
4259         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4260
4261 2003-06-24  "Garst R. Reese" <reese@isn.net>
4262
4263         * debug.C: fix typo
4264
4265 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4266
4267         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4268
4269         * version.C.in: change docversion to 1.4
4270
4271 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4272
4273         * buffer.C: fix a bug just introduced
4274
4275 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4276
4277         * buffer.[Ch]: added the parseError signal and use it, removed
4278         sgmlError
4279         * BufferView.[Ch] (addError): moved to ...
4280         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4281         to the Buffer::parseError signal to catch (guess what) parse errors
4282         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4283
4284 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4285
4286         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4287         ability to create a buffer and to return an existing one from
4288         the list. Moved these functions to...
4289         * buffer_funcs.[Ch]: added
4290         * BufferView.[Ch] (loadLyXFile): added
4291         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4292         job removed from bufferlist::loadLyXFile.
4293         * buffer.C (setReadOnly): make it work without view
4294         (i.e added an if (users))
4295
4296 2003-06-19  Angus Leeming  <leeming@lyx.org>
4297
4298         * lfuns.h:
4299         * LyXAction.C (init):
4300         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4301         with LFUN_DIALOG_SHOW <name> <data>.
4302
4303 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4304
4305         * CutAndPaste.C (availableSelections): small compilation fix for
4306         ancient (gcc 2.9x) compilers
4307
4308 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * text3.C (cursorNext): add tmp var
4311
4312         * text2.C (updateCounters): for function calling out of for clause
4313         (replaceSelectionWithString): ditto
4314         (insertStringAsParagraphs): ditto
4315         (getColumnNearX): add tmp var
4316         (setCursorFromCoordinates): add tmp var
4317         (cursorDownParagraph): add tmp var
4318         (deleteEmptyParagraphMechanism): add tmp var
4319
4320         * text.C (insertChar): add tmp var
4321
4322         * rowpainter.C (paintDepthBar): add tmp var
4323
4324         * CutAndPaste.C (availableSelections): potentially check all
4325         paragraphs in a cut to fill the shown strings.
4326
4327 2003-06-18  André Pönitz  <poenitz@gmx.net>
4328
4329         * kbmap.[Ch]: use vector<> instead of list<>
4330
4331 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4332
4333         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4334         pasteSelection with index
4335
4336         * text2.C (pasteSelection): modify, call pasteSelection with index
4337
4338         * paragraph.C (asString): reimplement version with no interval to
4339         call the one with interval.
4340
4341         * lyxtext.h: add index arg to pasteSelection
4342
4343         * MenuBackend.C (MenuItem): handle PasteRecent
4344         (Menu::read::Menutags): add md_pasterecent
4345         (read): handle it
4346         (expandPasteRecent): new function
4347         (expand): use it
4348
4349         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4350
4351         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4352         the limited stack
4353         (availableSelections): new function
4354
4355 2003-06-17  Angus Leeming  <leeming@lyx.org>
4356
4357         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4358
4359 2003-06-17  Angus Leeming  <leeming@lyx.org>
4360
4361         * lfuns.h:
4362         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4363
4364         * lyxfunc.C (dispatch): invoke it.
4365
4366 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4367
4368         * iterators.C (operator++, ParPosition): reintroduce some
4369         const_cast for the benefit of older compilers.
4370
4371 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4372
4373         * text3.C (dispatch): do not modify clipboard when doing
4374         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4375         LFUN_DELETE_SKIP on a selection selection
4376
4377 2003-06-16  André Pönitz  <poenitz@gmx.net>
4378
4379         * BufferView.C:
4380         * buffer.C:
4381         * buffer.h:
4382         * paragraph.C:
4383         * tabular.[Ch]: IU of clone() and getLabelList();
4384
4385 2003-06-13  André Pönitz  <poenitz@gmx.net>
4386
4387         * tabular.h: compactification
4388
4389 2003-06-12  André Pönitz  <poenitz@gmx.net>
4390
4391         * tabular.C:
4392         * tabular.h:
4393         * tabular_funcs.h: some renaming plus whitespace
4394
4395 2003-06-12  André Pönitz  <poenitz@gmx.net>
4396
4397         * BufferView.C:
4398         * BufferView_pimpl.C:
4399         * CutAndPaste.C:
4400         * buffer.C:
4401         * iterators.[Ch]:
4402         * lyxfunc.C:
4403         * text.C:
4404         * toc.C: Return a Paragraph & for ParIterator::operator*()
4405
4406 2003-06-11  John Levon  <levon@movementarian.org>
4407
4408         * lyx_main.C:
4409         * ToolbarBackend.h:
4410         * ToolbarBackend.C: add "Toolbars" section and
4411         put the flags there
4412
4413 2003-06-10  Angus Leeming  <leeming@lyx.org>
4414
4415         * lfuns.h:
4416         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4417
4418         * lyxfunc.C (dispatch): invoke it.
4419
4420 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4421
4422         * main.C: protect <ios> with HAVE_IOS
4423         (main): protect sync_with_stdio with HAVE_IOS
4424
4425 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4426
4427         * text2.C (cutSelection): adjust
4428         (pasteSelection): adjust
4429
4430         * messages.C: handle get of empty string
4431
4432         * main.C (main): use sync_with_stdio(false)
4433
4434         * lyxfunc.C (dispatch): adjust
4435
4436         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4437         (WriteAs): remove unneeded BufferView arg.
4438
4439         * bufferparams.h: use correct types on papersize, papersize2 and
4440         paperpackage.
4441
4442         * bufferparams.C (readToken): adjust for type
4443         (writeLaTeX): add missing cases to switch.
4444
4445         * bufferlist.C (quitWriteBuffer): adjust
4446         (close): adjust
4447
4448         * buffer.C (asciiParagraph): remove some commented code.
4449
4450         * CutAndPaste.C: remove current_view extern variable.
4451         (cutSelection): add BufferParams arg.
4452         (eraseSelection): add BufferParams arg.
4453         (pasteSelection): add Buffer const & arg
4454
4455 2003-06-07  John Levon  <levon@movementarian.org>
4456
4457         * buffer.C:
4458         * paragraph_funcs.C:
4459         * paragraph_pimpl.C:
4460         * text.C:
4461         * text2.C:
4462         * paragraph.h:
4463         * paragraph.C: allow InsetERT to freely space lines,
4464         and some consolidation of code
4465
4466 2003-06-06  José Matos  <jamatos@fep.up.pt>
4467
4468         * buffer.C (makeDocBookFile): fix bug #821
4469
4470 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4473
4474 2003-06-04  Angus Leeming  <leeming@lyx.org>
4475
4476         * buffer.C: bump format to 224.
4477
4478 2003-06-05  André Pönitz  <poenitz@gmx.net>
4479
4480         * text2.C (redoParagraphs): remove two const_cast<>
4481
4482 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4483
4484         * ParagraphList.h: remove last remnants of NO_STD_LIST
4485
4486 2003-06-03  Angus Leeming  <leeming@lyx.org>
4487
4488         * factory.C (createInset): small change to the way InsetExternal's params
4489         are set.
4490
4491 2003-06-04  André Pönitz  <poenitz@gmx.net>
4492
4493         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4494
4495         * paragraph_pimpl.h:
4496         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4497
4498         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4499
4500         * undo_funcs.C: make some simple cases of undo work again
4501
4502 2003-06-03  John Levon  <levon@movementarian.org>
4503
4504         * ispell.C: HPUX doesn't have sys/select.h
4505         (from Albert Chin)
4506
4507 2003-06-03  John Levon  <levon@movementarian.org>
4508
4509         * CutAndPaste.C: update tabular and include inset
4510         buffer references
4511
4512         * buffer.h:
4513         * paragraph.h:
4514         * paragraph.C: remove owningBuffer(), don't pass Buffer
4515         to clone()
4516
4517         * factory.C: insetGraphicsParams changed
4518
4519 2003-06-02  John Levon  <levon@movementarian.org>
4520
4521         * LyXAction.C:
4522         * factory.C:
4523         * lfuns.h:
4524         * lyxfunc.C:
4525         * text3.C: remove insetparent
4526
4527 2003-06-02  John Levon  <levon@movementarian.org>
4528
4529         * buffer.h:
4530         * buffer.C: fix inset_iterator.end(), move out of line
4531         (bug 1149)
4532
4533 2003-06-01  John Levon  <levon@movementarian.org>
4534
4535         * text3.C: use a proper cut/paste when doing inset
4536         insert (from Jürgen Spitzmüller)
4537
4538 2003-06-01  John Levon  <levon@movementarian.org>
4539
4540         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4541
4542 2003-05-30  André Pönitz  <poenitz@gmx.net>
4543
4544         * rowpainter.C: unify second drawing phase
4545
4546 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * trans_mgr.C: remove one case of current_view
4549
4550         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4551
4552         * paragraph_funcs.h: remove paragraph.h include
4553
4554         * paragraph.h: delete NO_STD_LIST stuff
4555
4556         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4557
4558         * buffer.h: remove paragraph.h include
4559
4560         * ParagraphList.C: delete file
4561
4562         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4563
4564         * toc.C (getTocList): adjust
4565
4566         * paragraph_pimpl.C (validate): adjust
4567
4568         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4569
4570         * paragraph.C (Paragraph): adjust
4571         (getPositionOfInset): use const_iterator, adjust
4572         (bibitem): use const_iterator, adjust
4573         (setInsetOwner): adjust
4574
4575         * iterators.C (operator++): adjust
4576
4577         * InsetList.[Ch]: Replace selfmade iterator with standard
4578         vector::iterator also introduce const_iterator. Remove getPos,
4579         getInset and setInset from InsetTable. Adjust accordingly.
4580
4581         * BufferView.C (lockInset): adjust
4582         (ChangeInsets): adjust
4583
4584         * tabular.[Ch]: delete commented same_id functions
4585
4586 2003-05-28  John Levon  <levon@movementarian.org>
4587
4588         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4589
4590 2003-05-28  André Pönitz  <poenitz@gmx.net>
4591
4592         * metricsinfo.[Ch]: remove 'fullredraw' member
4593
4594 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4595
4596         * lyxtextclass.C (operator): remove caching.
4597
4598 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * text3.C: adjust
4601
4602         * text2.C (cursorBottom): adjust
4603         (setCounter): use ParagraphList::find, adjust
4604
4605         * text.C (workWidth): use ParagraphList::find, adjust
4606
4607         * lyxcursor.C (LyXCursor): adjust
4608
4609         * buffer.C (inset_iterator): adjust
4610
4611         * ParagraphList.h: make iterator(value_type) private, make
4612         ParagraphList a friend of iterator.
4613
4614         * ParagraphList.C (find): new function
4615
4616         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4617
4618 2003-05-27  André Pönitz  <poenitz@gmx.net>
4619
4620         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4621
4622 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4623
4624         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4625
4626 2003-05-26  John Levon  <levon@movementarian.org>
4627
4628         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4629
4630 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4631
4632         * remove same_id from function signatures, adjust.
4633
4634 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4637
4638         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4639
4640         * paragraph.C (Paragraph): get rid of same_ids parameter
4641
4642         * ParagraphList.C (insert): adjust
4643         (push_back): adjust
4644
4645 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * paragraph_funcs.C (breakParagraph): adjust
4648         (breakParagraphConservative): adjust
4649
4650         * buffer.C (readParagraph): adjust
4651
4652         * ParagraphList.C (insert): take a reference instead of a pointer
4653         (insert): adjust
4654
4655         * paragraph.[Ch] (id): new function
4656
4657         * bufferlist.C (newFile): adjust
4658
4659         * ParagraphList.C (ParagraphList): adjust
4660         (assign): adjust
4661         (push_back): take a reference instead of a pointer.
4662
4663         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4664
4665         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4666         instead.
4667
4668         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4669         set else use old code.
4670
4671         * ParagraphList.C: remove all NO_NEXT code and only compile this
4672         code of NO_STD_LIST is set.
4673
4674 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4675
4676         * BufferView_pimpl.C:
4677         * TextCache.C:
4678         * TextCache.h:
4679         * bufferlist.C:
4680         * errorlist.h:
4681         * format.C:
4682         * format.h:
4683         * graph.C:
4684         * lyxfunc.C:
4685         * lyxrc.C:
4686         * graphics/GraphicsConverter.C:
4687         * graphics/PreviewLoader.C: header adjustment
4688
4689 2003-05-23  Angus Leeming  <leeming@lyx.org>
4690
4691         * LaTeXFeatures.[Ch] (useBabel): new method.
4692         * bufferparams.C (writeLaTeX): use it.
4693
4694 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * ParagraphList.h (set): remove unused function.
4697
4698 2003-05-23  André Pönitz  <poenitz@gmx.net>
4699
4700         * BufferView.C:
4701         * BufferView_pimpl.C:
4702         * buffer.C:
4703         * buffer.h:
4704         * lyxfunc.C:
4705         * undo_funcs.C: setUndo reworked
4706
4707         * iterators.[Ch]: add access to topmost ParagraphList
4708
4709         * lyxtext.[Ch] (workWidth): add a const
4710
4711 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * texrow.[Ch] (increasePos): remove function
4714         * exporter.C (export): removed unused var and outdated comment
4715
4716 2003-05-23  Angus Leeming  <leeming@lyx.org>
4717
4718         * latexrunparams.h: rename fragile as moving_arg.
4719         * paragraph.C (simpleTeXOnePar): ditto.
4720         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4721
4722 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4725         (createUndo): ditto
4726         (textUndoOrRedo): comment out a currently unused var.
4727
4728         * paragraph.h (NO_NEXT): enable NO_NEXT
4729
4730         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4731
4732         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4733
4734         * exporter.C (Export): adjust for removeAutoInsets removal.
4735
4736         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4737
4738         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4739
4740         * BufferView.[Ch] (removeAutoInsets): delete function
4741
4742 2003-05-22  Angus Leeming  <leeming@lyx.org>
4743
4744         * latexrunparams.h: add a free_spacing variable.
4745
4746         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4747         to pass moving_arg, as the data is stored in runparams.fragile.
4748
4749         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4750         to Inset::latexOptional or to simpleTeXOnePar.
4751
4752         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4753         free_spacing arg to Inset::latexOptional.
4754
4755         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4756         free_spacing arg.
4757
4758 2003-05-22  Angus Leeming  <leeming@lyx.org>
4759
4760         * latexrunparams.h: add fragile and use_babel variables.
4761
4762         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4763         * buffer.C (makeLaTeXFile): store this returned value in
4764         runparams.use_babel, thus passing it to the inset::latex methods.
4765
4766         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4767         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4768
4769         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4770         longer has a fragile arg, as it is stored in runparams.fragile.
4771
4772         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4773         moving_arg parameter as the data is stored in runparams.fragile.
4774
4775         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4776         a fragile parameter as the data is stored in runparams.fragile.
4777
4778 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4781
4782 2003-05-22  Angus Leeming  <leeming@lyx.org>
4783
4784         * latexrunparams.h: add a 'bool nice' which defaults to false.
4785
4786         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4787         now encapsulated within runparams.
4788
4789         * bufferlist.C (updateIncludedTeXfiles):
4790         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4791
4792 2003-05-22  Angus Leeming  <leeming@lyx.org>
4793
4794         * latexrunparams.h: new file containing struct LatexRunParams.
4795         * Makefile.am: add new file.
4796
4797         * LaTeX.[Ch] (c-tor, run):
4798         * buffer.[Ch] (makeLaTeXFile):
4799         * bufferlist.[Ch] (updateIncludedTeXfiles):
4800         * converter.C (convert, scanLog):
4801         * converter.[Ch] (runLaTeX):
4802         * exporter.C (Export):
4803         * paragraph.[Ch] (simpleTeXOnePar):
4804         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4805         * paragraph_funcs.[Ch] (latexParagraphs):
4806         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4807         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4808         pass around a LatexRunParams parameter.
4809
4810 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * paragraph.[Ch]: remove unused constructor
4813
4814         * ParagraphList.C (erase): new function, taking two iterators
4815
4816 2003-05-22  André Pönitz  <poenitz@gmx.net>
4817
4818         * undo_funcs.C: remove duplicated code
4819
4820         * iterator.[Ch]: operator=
4821
4822 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * tabular.C (SetMultiColumn): ws changes
4825
4826         * rowpainter.C (paintFirst): get rid of a ->previous
4827
4828         * lyx_cb.C (getPossibleLabel): parlist simplification
4829
4830         * BufferView.C (ChangeInsets): simplify slightly.
4831
4832 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4833
4834         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4835         * lfuns.h: new LFUN_SPACE
4836         * lyxfunc.C: protected space has a new lfun
4837         * paragraph_funcs.C: read new space insets
4838         * text3.C:
4839         * factory.C: handle new space insets
4840
4841 2003-05-22  André Pönitz  <poenitz@gmx.net>
4842
4843         * BufferView.C:
4844         * BufferView_pimpl.C:
4845         * buffer.[Ch]:
4846         * lyxfunc.C:
4847         * undo_funcs.C: return a ParIterator from getParFromID.
4848
4849         * iterators.[Ch]: add two const's
4850
4851 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * toc.C (getTocList): adjust
4854
4855         * iterators.[Ch]: rework for parlist
4856
4857         * buffer.C (par_iterator_begin): adjust
4858         (par_iterator_end): adjust
4859
4860         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4861
4862         * BufferView.C (removeAutoInsets): adjust
4863         (ChangeInsets): adjust
4864
4865 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * text.C (top_y): fix bug 1110
4868
4869 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * errorlist.[Ch]: added
4872         * buffer.C:
4873         * BufferView.[Ch]:
4874         * BufferView_pimpl.C:
4875         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4876         instead
4877
4878 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * Makefile.am: ensure that lyx is relinked upon changes to the
4881         various "convenience" libs.
4882
4883 2003-05-20  Angus Leeming  <leeming@lyx.org>
4884
4885         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4886         files are compiled in alphabetical order again.
4887
4888         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4889
4890 2003-05-19  Angus Leeming  <leeming@lyx.org>
4891
4892         * gettext.[Ch]: remove "char const * _(char const *)".
4893
4894 2003-05-19  André Pönitz  <poenitz@gmx.net>
4895
4896         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4897
4898         * Makefile.am:
4899         * BufferView.C:
4900         * DepTable.h:
4901         * LaTeXFeatures.C:
4902         * buffer.C:
4903         * lyxfont.C:
4904         * lyxlex.h:
4905         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4906
4907 2003-05-19  André Pönitz  <poenitz@gmx.net>
4908
4909         * buffer.C:
4910         * lyxlayout.[Ch]:
4911         * lyxtextclass.[Ch]:
4912         * paragraph.C:
4913         * paragraph_funcs.[Ch]:
4914         * text2.C:
4915         * text3.C: more insetenv work
4916
4917 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * ParagraphParameters.C (params2string): small bug fixed
4920
4921 2003-05-16  André Pönitz  <poenitz@gmx.net>
4922
4923         * debug.C:
4924         * bufferview_funcs.C: patch from Kornel Benko to prevent
4925           crash when _(...) is called twice in a statement
4926
4927 2003-05-16  André Pönitz  <poenitz@gmx.net>
4928
4929         * BufferView.C:
4930         * lyxfunc.C:
4931         * text.C:
4932         * text2.C:
4933         * text3.C:
4934         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4935
4936 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * lyx_main.C (init): remove spurious static_cast
4939
4940 2003-05-14  André Pönitz  <poenitz@gmx.net>
4941
4942         * BufferView.C: fix format string
4943
4944 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4945
4946         * BufferView.[Ch] (insertErrors): removed
4947         * BufferView.[Ch] (showErrorList): added
4948         * buffer.C (runChkTeX):
4949         * converter.C (scanLog): call showErrorList instead of inserterrors
4950
4951 2003-05-13  André Pönitz  <poenitz@gmx.net>
4952
4953         * BufferView_pimpl.C:
4954         * buffer.C:
4955         * bufferview_func.C:
4956         * MenuBackend.C:
4957         * lyxfunc.C:
4958         * lyxrc.C:
4959         * tex-accent.C:
4960         * text3.C:
4961         * toc.C:
4962         * tabular_funcs.h: tostr() from its own header
4963
4964         * ParagraphParameters.C:
4965         * ToolbarBackend.C:
4966         * bufferparams.C:
4967         * format.C:
4968         * lyxlex_pimpl.C:
4969         * text3.C: STRCONV()
4970
4971 2003-05-12  André Pönitz  <poenitz@gmx.net>
4972
4973         * BufferView.C:
4974         * BufferView_pimpl.C:
4975         * CutAndPaste.C:
4976         * LaTeX.C:
4977         * LaTeXFeatures.C:
4978         * ParagraphParameters.C:
4979         * buffer.C:
4980         * bufferlist.C:
4981         * bufferparams.C:
4982         * bufferview_funcs.C:
4983         * converter.C:
4984         * counters.C:
4985         * debug.C:
4986         * exporter.C:
4987         * format.C:
4988         * importer.C:
4989         * lyx_cb.C:
4990         * lyx_main.C:
4991         * lyxfont.C:
4992         * lyxfunc.C:
4993         * lyxvc.C:
4994         * paragraph.C:
4995         * paragraph_funcs.C:
4996         * tabular.C:
4997         * tabular_funcs.C:
4998         * text2.C:
4999         * text3.C:  boost::format -> bformat  all over the place
5000
5001
5002 2003-05-09  André Pönitz  <poenitz@gmx.net>
5003
5004         * LColor.[Ch]: Pimpl the #include <map> away
5005
5006 2003-05-09  John Levon  <levon@movementarian.org>
5007
5008         * bufferlist.C: never remove emergency saves
5009
5010 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * Makefile.am: better lib building
5013
5014 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5017         instead.
5018         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5019         (simpleTeXSpecialChars): adjust
5020         (simpleTeXSpecialChars): adjust
5021         * paragraph.C (simpleTeXOnePar): adjust
5022         * buffer.C (makeLaTeXFile): adjust
5023
5024         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5025
5026         * text2.C (changeDepth): parlist cleanup
5027         (getColumnNearX): ditto
5028
5029         * rowpainter.C (getLabelFont): parlist cleanup
5030
5031         * bufferlist.C (newFile): parlist cleanup
5032
5033         * CutAndPaste.C (eraseSelection): parlist cleanup
5034
5035         * BufferView_pimpl.C (trackChanges): parlist cleanup
5036         (dispatch): ditto
5037
5038         * BufferView.C (lockInset): parlist cleanup.
5039         (ChangeInsets): ditto
5040
5041 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * CutAndPaste.h: Update file header.
5044
5045         * CutAndPaste.C: Update file header.
5046         Store the parts cut out of the Document in a limited_stack.
5047         (copySelection): adjust
5048         (pasteSelection): new function, takes the index in the limited stack.
5049         (nrOfParagraphs): adjust
5050         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5051         simplify error inset insertion.
5052         (checkPastePossible): adjust
5053
5054 2003-05-06  John Levon  <levon@movementarian.org>
5055
5056         * text2.C: don't cast wrap inset to float
5057
5058 2003-05-05  André Pönitz  <poenitz@gmx.net>
5059
5060         * iterator.C:
5061         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5062
5063         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5064           few naked Paragraph *.
5065
5066 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5067
5068         * bufferparams.C: Output warning if a document with missing
5069         TeX document class is loaded
5070         * exporter.C: Disable TeX exports if the document class is missing
5071         * lyxtextclass.C:
5072         * lyxtextclass.h:
5073         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5074         isTeXClassAvailable()
5075
5076 2003-05-03  John Levon  <levon@movementarian.org>
5077
5078         * BufferView.h:
5079         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5080         explicit cursor show/hide
5081
5082         * BufferView_pimpl.h:
5083         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5084         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5085
5086         * lyxfunc.C: hide cursor before dispatching.
5087
5088         * lyx_cb.C:
5089         * lyxfind.C:
5090         * text.C:
5091         * text3.C: remove explicit cursor hides
5092
5093 2003-05-02  André Pönitz  <poenitz@gmx.net>
5094
5095         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5096
5097         * undo_funcs.C:
5098         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5099           linked lists
5100
5101         * text2.C: tiny whitespace
5102
5103 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * undo_funcs.C: almost only ws changes.
5106
5107         * ParagraphList.C (splice): just return if pl is empty.
5108
5109 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * ParagraphList.C (splice): new function.
5112
5113         * CutAndPaste.C (pasteSelection): use it
5114
5115 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * CutAndPaste.C (pasteSelection): remove the last next and
5118         previous from this file.
5119
5120 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * CutAndPaste.C (pasteSelection): more clean up, user proper
5123         ParagraphList functions for pasteing.
5124
5125         * ParagraphList.C (insert): new function, three arg insert
5126
5127 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5128
5129         * ParagraphList.C (insert): new function, three arg insert
5130
5131         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5132         not on paragraphs.
5133
5134 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5137
5138 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5141
5142 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5145         (copySelection): clean up a bit.
5146         (pasteSelection): use make_pair
5147
5148         * ParagraphList.C (ParagraphList): implement copy constructor
5149         (operator=): implement, base on copy constructor.
5150         (assign): new func
5151
5152         * paragraph.C (erase): return a bool
5153
5154         * paragraph_pimpl.C (erasePos): remove function, move contents...
5155         (erase): ... here. Return a bool.
5156         (erase): call erase instead of erasePos.
5157
5158 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5159
5160         * ParagraphList.h: define PitPosPair
5161         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5162         ParagraphList, fix a bug on pasting multiple pars
5163         * text2.C: change interface to C&P
5164
5165 2003-04-30  André Pönitz  <poenitz@gmx.net>
5166
5167         * undo_func.C: revert part of yesterday's patch 2
5168
5169 2003-04-30  John Levon  <levon@movementarian.org>
5170
5171         * LColor.C: s/tabular/table/
5172
5173 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * text3.C (dispatch): do not convert iterator -> pointer
5176         * undo_funcs.C (setCursorParUndo): ditto
5177         * text_funcs.C (transposeChars): ditto
5178
5179         * text2.C (setLayout): ws changes only
5180
5181         * text.C (breakParagraph): do not convert iterator -> pointer
5182         (insertChar): ditto
5183         (acceptChange): ditto
5184         (rejectChange): ditto
5185         (changeCase): ditto
5186         (Delete): ditto
5187         (backspace): ditto
5188
5189         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5190         pointer
5191
5192 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * text3.C (gotoInset): YABG (yet another bad getChar)
5195
5196 2003-04-29  André Pönitz  <poenitz@gmx.net>
5197
5198         * paragraph.h: make operator= private unimplemented as long as
5199           it is unusable
5200
5201         * ParagraphList.C: whitespace
5202
5203         * paragraph.[Ch]:
5204         * paragraph_pimpl.[Ch]:
5205         * paragraph_funcs.C:
5206         * CutAndPaste.C:
5207         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5208
5209         * text2.C:
5210           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5211
5212 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5213
5214         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5215         * paragraph.[Ch] (erase):
5216         * paragraph_pimpl.[Ch] (erase): change return type and value
5217         * text2.C (cutSelection): some rework
5218
5219 2003-04-28  John Levon  <levon@movementarian.org>
5220
5221         * bufferlist.C: changes for unsaved changes dialog
5222
5223 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * bufferlist.C (newFile): set language (messages_) for new
5226         documents also.
5227
5228         * buffer.C (readFile): ws changes only.
5229
5230 2003-04-28  André Pönitz  <poenitz@gmx.net>
5231
5232         * undo_funcs.C:
5233         * lyxfunc.C:
5234         * buffer.[Ch]:
5235         * BufferView_pimpl.C:
5236         * BufferView.C: getParFromID related ParagraphList::iterator changes
5237
5238 2003-04-28  André Pönitz  <poenitz@gmx.net>
5239
5240         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5241           Changes
5242
5243 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * messages.C: remove one more localedir class variable.
5246
5247 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * messages.C (getLocaleDir): singleton generation function
5250         (Pimpl): use it.
5251         (Messages): add a default constructor.
5252
5253         * main.C (main): do not setup localedir here, do not call
5254         gettext_init.
5255
5256         * gettext.C (_): use it.
5257         (gettext_init): delete funciton
5258
5259 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * gettext.C (getLyXMessages): new singleton generating function.
5262
5263         * buffer.C (updateDocLang): adjust
5264
5265         * Makefile.am (messages.o): add target
5266         (main.o): remove target
5267
5268 2003-04-27  John Levon  <levon@movementarian.org>
5269
5270         * bufferlist.C:
5271         * lyx_cb.C:
5272         * lyxfunc.C:
5273         * lyxvc.C: specify cancel button in Alert::prompt
5274
5275 2003-04-26  John Levon  <levon@movementarian.org>
5276
5277         * text3.C:
5278         * lyxfunc.C:
5279         * lfuns.h:
5280         * LyXAction.C: add LFUN_INSET_SETTINGS
5281
5282         * lyxfunc.C: don't enable tabular-feature when there's
5283         just any locking inset
5284
5285 2003-04-26  John Levon  <levon@movementarian.org>
5286
5287         * bufferlist.C: re-add Cancel to buffer close question
5288
5289         * lyxfunc.C: fix import UI a bit
5290
5291 2003-04-25  John Levon  <levon@movementarian.org>
5292
5293         * gettext.C: remove the broken asserts for now
5294
5295 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * messages.C: make case where setlocale cannot comply work better.
5298
5299         * buffer.C (updateDocLang): new function
5300         (changeLanguage): use it
5301         (readFile): use it
5302
5303         * text2.C (setCounter): use B_ a bit.
5304
5305         * lyxlayout.C (Read): be sure to trim the label strings.
5306
5307         * messages.C (Messages): fix typo in comment
5308
5309         * buffer.C (readFile): set message_ after file is loaded.
5310         (makeDocBookFile): remove double return
5311         (changeLanguage): reset message_ upon language change.
5312         (B_): new func, use this to get translated buffer strings.
5313
5314         * main.C: add myself and Jean Marc as authors.
5315
5316 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * messages.[hC]: pimplify Messages, and three different pimpls to be
5319         used in different circumstances.
5320
5321         * gettext.[Ch]: change for use with new message code.
5322
5323 2003-04-24 André Pönitz <poenitz@gmx.net>
5324
5325         * factory.C: support for eqref
5326
5327 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * messages.[Ch]: add missing char
5330
5331         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5332
5333         * messages.[Ch]: New files
5334
5335 2003-04-18  John Levon  <levon@movementarian.org>
5336
5337         * BufferView.h:
5338         * BufferView.C:
5339         * BufferView_pimpl.C:
5340         * lfuns.h:
5341         * LyXAction.C:
5342         * lyxtext.h:
5343         * text2.C: remove layout-copy/paste (bug 778)
5344
5345 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5348
5349 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5352         if they succeed. Act accordingly.
5353
5354 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * text2.C (setCharFont): adjust
5357         (setCounter): adjust
5358         (insertStringAsLines): adjust
5359
5360         * text.C (leftMargin): adjust
5361         (setHeightOfRow): adjust
5362
5363         * rowpainter.C (paintFirst): adjust
5364         (paintLast): adjust
5365
5366         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5367         (outerHook): ditto
5368         (isFirstInSequence): ditto
5369         (getEndLabel): ditto
5370         (outerFont): adjust
5371
5372         * paragraph.C (getParLanguage): comment out some hard stuff.
5373
5374         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5375         (sgmlError): ditto
5376         (simpleDocBookOnePar): ditto
5377         (makeDocBookFile): use ParagraphList::iterator
5378
5379         * CutAndPaste.C (pasteSelection): adjust
5380
5381 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5382
5383         * text2.C (getFont): adjust
5384         (getLayoutFont): adjust
5385         (getLabelFont): adjust
5386
5387         * paragraph_funcs.C (TeXOnePar): adjust
5388
5389         * buffer.C (simpleLinuxDocOnePar): adjust
5390         (simpleDocBookOnePar): adjust
5391
5392         * CutAndPaste.C (pasteSelection): adjust
5393
5394         * BufferView.C (getEncoding): adjust
5395
5396         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5397
5398 2003-04-16  John Levon  <levon@movementarian.org>
5399
5400         * lyxfind.C: use parlist stuff for search/changes
5401
5402 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5405
5406         * text2.C (deleteEmptyParagraphMechanism): adjust
5407
5408         * text2.[Ch] (ownerParagraph): delete func (both of them
5409
5410 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5413
5414 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * ParagraphList.C: prepare for NO_NEXT
5417
5418 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * text2.C (getFont): adjust
5421         (getLayoutFont): adjust
5422         (getLabelFont): adjust
5423
5424         * paragraph.C (getFont): adjust
5425         (getLabelFont): adjust
5426         (getLayoutFont): adjust
5427
5428         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5429
5430 2003-04-15  John Levon  <levon@movementarian.org>
5431
5432         From Angus Leeming
5433
5434         * lyx_main.C: handle Include in .ui files
5435
5436 2003-04-15  John Levon  <levon@movementarian.org>
5437
5438         * MenuBackend.C: make the doc files length shorter
5439
5440         * ToolbarBackend.h:
5441         * ToolbarBackend.C: handle toolbar placement flags,
5442         Minibuffer
5443
5444 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5447         adjust
5448
5449         * paragraph_funcs.C (TeXOnePar): adjust
5450
5451         * paragraph.C (getLabelFont): add outerfont arg, adjust
5452         (getLayoutFont): ditto
5453         (simpleTeXOnePar): adjust
5454
5455         * paragraph_pimpl.C (realizeFont): delete func
5456
5457 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5458
5459         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5460         row argument, constify cur argument.
5461
5462 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5463
5464         * text2.C (getFont): adjust
5465         (getLayoutFont): adjust
5466         (getLabelFont): adjust
5467
5468         * paragraph_funcs.C (TeXOnePar): adjust
5469         (outerFont): new func...
5470         (realizeFont): ...moved out from here, changed this to facilitate
5471         transition
5472
5473         * paragraph.C (getFont): take outerfont as arg, adjust
5474         (simpleTeXOnePar): add outerfont arg, adjust
5475
5476         * buffer.C (simpleLinuxDocOnePar): adjust
5477         (simpleDocBookOnePar): adjust
5478
5479         * CutAndPaste.C (pasteSelection): adjust
5480
5481         * BufferView.C (getEncoding): adjust
5482
5483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * text2.C (setCharFont): adjust
5486         (setCounter): adjust
5487
5488         * text.C (leftMargin): adjust
5489         (setHeightOfRow): adjust
5490
5491         * rowpainter.C (paintFirst): adjust
5492         (paintLast): adjust
5493
5494         * paragraph_pimpl.C (realizeFont): adjust
5495
5496         * paragraph.C (isFirstInSequence): move from here...
5497         * paragraph_funcs.C (isFirstInSequence): ...to here
5498
5499         * paragraph.C (outerHook): move from here...
5500         * paragraph_funcs.C (outerHook): ...to here
5501
5502         * paragraph.C (depthHook): move from here...
5503         * paragraph_funcs.C (depthHook): ...to here
5504
5505         * paragraph.C (getEndLabel): move from here...
5506         * paragraph_funcs.C (getEndLabel): ...to here
5507
5508         * text2.C (realizeFont): move from here...
5509         * paragraph_funcs.C (realizeFont): ...to here
5510
5511 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5514
5515 2003-04-14  Angus Leeming  <leeming@lyx.org>
5516
5517         * LColor.[Ch]: scrap LColor mathcursor.
5518
5519 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * lyxlex.[Ch] (text): delete function
5522         * trans.C (Load): adjust
5523         * paragraph_funcs.C (readParToken): adjust
5524
5525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5528         vector<char> instead of a char[].
5529
5530         * lyxlex_pimpl.C (getString): adjust
5531         (next): adjust
5532         (lex): use getString
5533         (eatLine): adjust
5534         (nextToken): adjust
5535
5536         * lyxlex.C (text): use pimpl_->getString()
5537         (getBool): ditto
5538         (findToken): ditto
5539
5540 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5543         (makeFontEntriesLayoutSpecific): temp var for par.size()
5544         (setLayout): temp var for ownerParagraphs().end()
5545         (fullRebreak): temp var for rows().end()
5546         (selectionAsString): temp var for boost::next(startpit), realize
5547         that the while really is a regular for loop.
5548         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5549         setCursor in one place.
5550         (setParagraph): temp vr for ownerParagraphs().end()
5551         (updateCounters): make the while loop a for loop
5552         (cutSelection): temp var for ownerParagraphs().end()
5553         (updateInset): make the do {} while() a regular for loop
5554         (getCursorX): use temp vars
5555         (setCurrentFont): use temp vars
5556         (getColumnNearX): use temp vars
5557
5558 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5559
5560         * text.C (transformChar): use temp var for getChar
5561         (computeBidiTables): use temp var for row->par()
5562         (fill): move temp vars for row->par() and pit->layout() earlier in
5563         the function.
5564         (labelFill): use temp var for row->par()
5565         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5566         asc and desc, realize that pit never changes and that firstpit is
5567         just a duplicate and not needed. Exchange rit->par() with pit in a
5568         lot of places.
5569         (breakAgain): use a temp var for boost::next(rit)
5570         (breakAgainOneRow): ditto
5571         (breakParagraph): use a temp var for rows().begin()
5572         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5573         (cursorRightOneWord): use temp var for cursor.par() and
5574         cursor.pos(), remove usage of tmpcursor.
5575         (cursorLeftOneWord): use temp var for cursor.par() and
5576         cursor.pos() only set cur at end of function.
5577
5578 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * text.C, text2.C: exchange all usage of Paragraph::next with
5581         boost::next(ParagraphList::iterator)
5582
5583         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5584
5585         * text2.C (cursorTop): simplify implementation
5586         (cursorBottom): ditto
5587         (setParagraph): use ParagraphList::iterator
5588         (setCurrentFont): adjust
5589         (getColumnNearX): adjust
5590         (cursorRight): adjust
5591         (cursorLeft): remove usage of Paragraph::previous
5592         (cursorUpParagraph): ditto
5593         (deleteEmptyParagraphMechanism): slight cleanup
5594
5595         * text.C (isBoundary): take a Paragraph const & instead of a
5596         pointer as arg.
5597         (addressBreakPoint): ditto
5598         (leftMargin): remove usage of Paragraph::previous.
5599         (setHeightOfRow): ditto
5600         (cursorLeftOneWord): ditto
5601         (selectNextWordToSpellcheck): ditto
5602         (Delete): ditto
5603         (backspace): ditto
5604         (breakParagraph): remove one usage of Paragraph::next
5605         (redoParagraph): ditto
5606         (acceptChange): ditto
5607         (insertChar): adjust
5608         (rowBreakPoint): adjust
5609
5610         * bufferview_funcs.C (toggleAndShow): adjust
5611
5612 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5615         methods to access it.
5616         * lyxtext.h:
5617         * text.C: Added updateRowPositions to compute all row positions.
5618         Make top_y and getRowNearY() to use the cached y position
5619
5620 2003-04-11  John Levon  <levon@movementarian.org>
5621
5622         * text.C (rowBreakPoint): reintroduce the labelEnd
5623         checks, code copied from the row fill stuff. Deep voodoo.
5624
5625         * text.C (fill): add a comment and debugging for the
5626         next poor soul.
5627
5628 2003-04-11  John Levon  <levon@movementarian.org>
5629
5630         * text.C: make sure fullrow insets get wrapped to the next line,
5631         even when they're in a manual label
5632
5633 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * text2.C (insertParagraph): make it take ParagraphList::iterator
5636         as arg.
5637         (setLayout): make it return ParagraphList::iterator
5638         (redoParagraphs): ditto
5639         (setCounter): ditto
5640         (checkParagraph): ditto
5641
5642         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5643
5644         * text2.C: adjust several funcs.
5645         (realizeFont): take a ParagraphList::iterator as arg.
5646         (getLayoutFont): ditto
5647         (getLabelFont): ditto
5648         (setCharFont): ditto
5649
5650         * text.C: adjust several funcs.
5651
5652 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * text.C (selectNextWordToSpellcheck): don't accidentally
5655         skip insets
5656
5657 2003-04-10  John Levon  <levon@movementarian.org>
5658
5659         * ToolbarBackend.C (getIcon): special handling for
5660         LFUN_MATH_DELIM
5661
5662 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * text2.C (cursorRight): a getChar assert fixed
5665
5666 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * text2.C (getFont): change to take a ParagraphList::iterator
5669         instead of Paragraph*
5670         Adjust several functions.
5671
5672         * text.C (transformChar): change to take a ParagraphList::iterator
5673         instead of Paragraph*
5674         (singleWidth): ditto
5675         Adjust several functions.
5676
5677         * rowpainter.C: adjust several functions
5678         * rowpainter.h:store a ParagraphList::iterator and not a
5679         Paragraph&.
5680
5681
5682 2003-04-09  John Levon  <levon@movementarian.org>
5683
5684         * lyxfunc.C:
5685         * lfuns.h:
5686         * LyXAction.h:
5687         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5688         and the "help" bits as well
5689
5690 2003-04-09  John Levon  <levon@movementarian.org>
5691
5692         * ToolbarBackend.h:
5693         * ToolbarBackend.C: allow multiple toolbars
5694
5695 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * undo_funcs.C (setCursorParUndo): adjust
5698
5699         * text_funcs.C (transposeChars): adjust
5700
5701         * text3.C (gotoNextInset): adjust
5702         (dispatch): adjust
5703
5704         * text2.C (setLayout): adjust
5705         (changeDepth): adjust
5706         (setFont): adjust
5707         (redoParagraphs): adjust
5708         (selectionAsString): adjust
5709         (setParagraph): adjust
5710         (insertInset): adjust
5711         (cutSelection): adjust
5712         (copySelection): adjust
5713         (pasteSelection): adjust
5714         (insertStringAsLines): adjust
5715         (updateInset): adjust
5716         (setCursor): change to take a ParagraphList::iterator parameter
5717         (setCursorIntern): change to take a ParagraphList::iterator parameter
5718         (setCurrentFont): adjust
5719         (cursorLeft): adjust
5720         (cursorRight): adjust
5721         (deleteEmptyParagraphMechanism): adjust
5722
5723         * text.C (breakParagraph): adjust
5724         (insertChar): adjust
5725         (acceptChange): adjust
5726         (rejectChange): adjust
5727         (selectNextWordToSpellcheck): adjust
5728         (changeCase): adjust
5729         (Delete): adjust
5730         (backspace): adjust
5731
5732         * lyxfind.C (SearchForward): adjust
5733         (SearchBackward): adjust
5734         (nextChange): adjust
5735
5736         * lyxcursor.C (par): adjust
5737
5738         * lyxcursor.h: store a ParagraphList::iterator instead of a
5739         Paragraph*
5740
5741         * lyx_cb.C (getPossibleLabel): adjust
5742
5743         * bufferview_funcs.C (toggleAndShow): adjust
5744
5745         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5746         (dispatch): adjust
5747
5748         * BufferView.C (removeAutoInsets): adjust
5749         (lockedInsetStoreUndo): adjust
5750
5751 2003-04-09  John Levon  <levon@movementarian.org>
5752
5753         * ToolbarBackend.C: try icon without argument
5754         if with argument fails
5755
5756 2003-04-08  John Levon  <levon@movementarian.org>
5757
5758         * ToolbarBackend.h:
5759         * ToolbarBackend.C: add getIcon(), handle tooltip,
5760         and change from "Icon" to "Item".
5761
5762 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5763
5764         * BufferView.C (lockInset): another bad getchar crunched
5765
5766 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5769         again)
5770
5771 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5772
5773         * lyxfind.C (searchForward, searchBackwards): bug 782
5774
5775 2003-04-07  John Levon  <levon@movementarian.org>
5776
5777         * paragraph.C: remove dead comment
5778
5779         * text.C: remove troublesome depth-fiddling code
5780         in leftMargin() and rightMargin() (bug 1017)
5781
5782         * text.C: fix breaking of rows in nested lists
5783         (bug 1004)
5784
5785         * text2.C (updateCounters): fix up depth values
5786         (bug 1013)
5787
5788 2003-04-07  John Levon  <levon@movementarian.org>
5789
5790         * BufferView_pimpl.C: clear message when doc finishes resizing,
5791         and after a mouse event
5792
5793         * lyxfunc.C: clear message after exiting inset
5794
5795 2003-04-07  John Levon  <levon@movementarian.org>
5796
5797         * bufferview_funcs.C: show math status not outside
5798         status in the statusbar
5799
5800 2003-04-07  John Levon  <levon@movementarian.org>
5801
5802         * lyxfunc.C: note status changed after a depth change
5803
5804 2003-04-04  Angus Leeming  <leeming@lyx.org>
5805
5806         * LaTeX.h: move AuxInfo operator==, != out of line.
5807         Remove LaTeX virtual destructor; nothing derives from it.
5808         Move operator()() out of public area and rename it startscript().
5809         Change protected for private.
5810
5811 2003-04-04  Angus Leeming  <leeming@lyx.org>
5812
5813         * lyxfunc.C:
5814         * text2.C: remove unneeded #includes.
5815
5816 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * text2.C (dEPM): fix the heigth of the next row
5819
5820 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5821
5822         * text.C: squashed an invalid getChar requester + some ws changes
5823
5824 2003-04-03  John Levon  <levon@movementarian.org>
5825
5826         * bufferview_funcs.h:
5827         * bufferview_funcs.C:
5828         * lyxfunc.C:
5829         * lyxtext.h:
5830         * text2.C: make getStatus work for the env depth lfuns
5831
5832 2003-04-03  John Levon  <levon@movementarian.org>
5833
5834         * bufferview_funcs.h:
5835         * bufferview_funcs.C:
5836         * lyxfunc.C:
5837         * lyxtext.h:
5838         * text2.C: parlistize decDepth(), by merging it with incDepth()
5839
5840 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * lyxrow.h: store a ParagraphList::iterator instead of a
5843         Paragraph* and adjust other class functions to suit.
5844
5845         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5846         above.
5847
5848 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * text2.C (setCursor): do not anchor to cursor row for the time being
5851
5852 2003-04-02  John Levon  <levon@movementarian.org>
5853
5854         * LyXAction.C:
5855         * lfuns.h:
5856         * lyx_main.C:
5857         * lyxtext.h:
5858         * text.C:
5859         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5860
5861 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * paragraph.h: make ParagraphList and ParagraphList::iterator
5864         friends of Paragraph.
5865
5866         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5867
5868         * ParagraphList.C: Use the private next_ and previous_ from
5869         Paragraph.
5870
5871 2003-04-01  John Levon  <levon@movementarian.org>
5872
5873         * ToolbarBackend.h:
5874         * ToolbarBackend.C:
5875         * Makefile.am: rename, remove defaults gunk
5876
5877         * MenuBackend.h:
5878         * MenuBackend.C: remove defaults gunk
5879
5880         * Languages.h:
5881         * Languages.C: remove defaults gunk
5882
5883         * lyx_main.h:
5884         * lyx_main.C: error out if files couldn't be found.
5885
5886 2003-04-02  John Levon  <levon@movementarian.org>
5887
5888         * text2.C: make incDepth() use parlist
5889
5890 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5891
5892         * undo_funcs.C (firstUndoParagraph): adjust
5893
5894         * text3.C (gotoInset): adjust
5895         (dispatch): adjust, and rewrite loop.
5896
5897         * text2.C (init): adjust, and rewrite loop.
5898         (redoParagraphs): adjust
5899         (updateInset): adjust, and rewrite loop.
5900         (deleteEmptyParagraphMechanism): adjust
5901
5902         * tabular.C (LyXTabular): adjust
5903         (SetMultiColumn): adjust
5904         (TeXRow): adjust
5905
5906         * lyxtext.[Ch] (ownerParagraph): delete function
5907         (ownerParagraphs): new function returns a ParagraphList.
5908
5909         * BufferView.C (removeAutoInsets): adjust
5910         (insertErrors): adjust
5911         (setCursorFromRow): adjust
5912
5913 2003-04-01  Angus Leeming  <leeming@lyx.org>
5914
5915         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5916         in the frontends.
5917
5918 2003-04-02  John Levon  <levon@movementarian.org>
5919
5920         * lyxtext.h:
5921         * text.C:
5922         * Makefile.am:
5923         * text_funcs.h:
5924         * text_funcs.C: make transposeChars a free function
5925
5926         * lyxrow_funcs.C: remove wrong comment
5927
5928 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * lyxtext.h: adjust
5931         * rowpainter.C: adjust
5932         * text.C: adjust
5933         * text2.C: adjust
5934         * text3.C: adjust
5935
5936         * lyxrow_funcs. [Ch]: new files
5937
5938         * lyxrow.[Ch]: remove next and previous pointers
5939         (next,previous): remove accessor functions
5940         (isParEnd): move to lyxrow_funcs
5941         (lastPos): move to lyxrow_funcs
5942         (nextRowIsAllInset): move to lyxrow_funcs
5943         (lastPrintablePos): move to lyxrow_funcs
5944         (numberOfSeparators): move to lyxrow_funcs
5945         (numberOfHfills): move to lyxrow_funcs
5946         (numberOfLabelHfills): move to lyxrow_funcs
5947         (hfillExpansion): move to lyxrow_funcs
5948
5949         * lyxfunc.C: adjust
5950
5951         * bufferview_funcs.C (toggleAndShow): adjust
5952
5953         * RowList.h: Remove class RowList from file leave just a
5954         std::list<Row>.
5955
5956         * RowList.C: delete file
5957
5958         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5959         and lyxrow_funcs.h
5960
5961 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * text3.C (cursorPrevious): adjust
5964         (cursorNext): adjust
5965         (dispatch): adjust
5966
5967         * text2.C (redoHeightOfParagraph): adjust
5968         (redoDrawingOfParagraph): adjust
5969         (setCursor): adjust
5970
5971         * text.C (breakParagraph): adjust
5972         (insertChar): adjust
5973         (backspace): adjust
5974
5975         * rowpainter.C (RowPainter): adjust
5976         (leftMargin): simplify and adjust
5977         (most rowpainter functions): adjust.
5978
5979         * rowpainter.h: store the row as RowList::iterator not as Row*
5980
5981         * lyxcursor.C (row): taka RowList::iterator as arg
5982         (irow): ditto
5983
5984         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5985         of Row*.
5986
5987 2003-04-01  Angus Leeming  <leeming@lyx.org>
5988
5989         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5990         stuff like bool Bool.
5991
5992 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5995         rewrite a loop
5996
5997 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5998
5999         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6000         RowList::iterator.
6001
6002         * lyxtext.h (rows): drop one version and leve a const variant that
6003         returns a RowList::iterator.
6004
6005 2003-03-31  Angus Leeming  <leeming@lyx.org>
6006
6007         * text.C (fill): ensure that the signature is the same as that in the
6008         header file.
6009
6010 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * text2.C (redoParagraphs): adjust
6013         (updateCounters): adjust
6014         (checkParagraph): adjust
6015         (getColumnNearX): adjust and reformat a bit.
6016
6017         * text.C (top_y): adjust
6018         (workWidth): adjust
6019         (leftMargin): adjust
6020         (prepareToPrint): adjust
6021         (getRow): adjust
6022         (getRowNearY): adjust
6023
6024         * lyxtext.h: make rowlist_ mutable.
6025
6026         * RowList.h: add const_iterator
6027         * RowList.C: adjust for RowList::const_iterator.
6028
6029         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6030         adjust.
6031
6032 2003-03-31  John Levon  <levon@movementarian.org>
6033
6034         * lyxrc.h:
6035         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6036
6037         * lyx_main.C: set default fonts from using lyx_gui funcs
6038
6039         * exporter.C: pdf_mode moved from lyxrc
6040
6041         * lyx_cb.C:
6042         * lyxfunc.C: changes from above
6043
6044 2003-03-31  John Levon  <levon@movementarian.org>
6045
6046         * lyx_main.C: fix to the last fix
6047
6048 2003-03-31  John Levon  <levon@movementarian.org>
6049
6050         * bufferlist.C: "Load original" -> "Load Original"
6051
6052         * converter.C:
6053         * exporter.C:
6054         * importer.C:
6055         * lyx_main.C:
6056         * format.C: more Alert cleanups
6057
6058 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * text2.C (removeParagraph): make it take a RowList::iterator as
6061         arg, adjust.
6062         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6063         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6064
6065         * text.C (anchor_row): make it take a RowList::iterator as arg,
6066         adjust.
6067         (computeBidiTables): make it take a const reference to Row instead
6068         of Row pointer, adjust.
6069         (leftMargin): make it take a RowList::iterator as arg, adjust.
6070         (rowBreakPoint): adjust
6071         (breakAgainOneRow): make it take a RowList::iterator as arg,
6072         adjust.
6073         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6074
6075         * bufferview_funcs.C (toggleAndShow): adjust
6076
6077 2003-03-30  John Levon  <levon@movementarian.org>
6078
6079         * Makefile.am:
6080         * BoostFormat.h:
6081         * boost-inst.C: moved to support
6082
6083         * several files: changes as a result
6084
6085 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * text2.C (LyXText): adjust.
6088         (init): adjust
6089         (removeRow): make it take a RowList::iterator as arg, adjust.
6090         (fullRebreak): adjust
6091         (deleteEmptyParagraphMechanism): adjust
6092         (clearPaint): adjust
6093         (postPaint): adjust
6094
6095         * text.C (top_y): adjust
6096         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6097         (breakAgain): make it take a RowList::iterator as arg, adjust.
6098         (breakParagraph): adjust
6099         (insertChar): adjust
6100         (backspace): adjust
6101
6102         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6103         need_break_row, and refresh_row.
6104
6105         * text3.C (dispatch): adjust
6106
6107         * text2.C (checkParagraph): adjust
6108         (setCursor): adjust
6109         (setCursorFromCoordinates): adjust
6110
6111         * text.C (top_y): adjust
6112         (workWidth): adjust
6113         (getRow): make it return a RowList::iterator, adjust
6114         (getRowNearY): make it return a RowList::iterator, adjust
6115
6116         * text2.C (init): adjust
6117         (insertRow): remove function
6118         (insertParagraph): adjust
6119         (redoParagraphs): adjust
6120         (fullRebreak): adjust
6121         (updateCounters): adjust
6122
6123         * text.C (top_y): rewrite to use RowList iterators.
6124         (top_y): adjust
6125         (setHeightOfRow): rewrite to sue RowList iterators.
6126         (appendParagraph): adjust
6127         (breakAgain): adjust
6128         (breakAgainOneRow): adjust
6129         (breakParagraph): adjust
6130         (getRow): adjust
6131         (getRowNearY): adjust, and remove commented code.
6132
6133         * lyxtext.h (firstRow): delete function
6134         (lastRow): delete function
6135         (rows): new function (const and non-const versions.)
6136         (insertRow): delete function
6137
6138         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6139
6140 2003-03-29  John Levon  <levon@movementarian.org>
6141
6142         * BufferView_pimpl.C: always update scrollbar top
6143         because pasting text when we're anchored could mean we
6144         miss an update altogether
6145
6146 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * text2.C (init): use rowlist_.end() and not 0.
6149         (insertRow): change to take a RowList::iterator as arg, adjust
6150         for this.
6151         (insertParagraph): change to take a RowList::iterator as arg,
6152         adjust for this.
6153         (redoParagraphs): remove some debug msgs.
6154
6155         * text.C (appendParagraph): change to take a RowList::iterator
6156         arg, adjust for this.
6157         (breakAgain): add an assert
6158         (breakAgainOneRow): ditto
6159
6160 2003-03-29  John Levon  <levon@movementarian.org>
6161
6162         * text2.C: do not clear selection after inc/decDepth
6163         (bug 550)
6164
6165 2003-03-29  John Levon  <levon@movementarian.org>
6166
6167         * BufferView.C:
6168         * buffer.C: fix broken strerrors according to Lars
6169
6170 2003-03-29  John Levon  <levon@movementarian.org>
6171
6172         * converters.C: more Alert cleanups
6173
6174 2003-03-29  John Levon  <levon@movementarian.org>
6175
6176         * bufferview_funcs.C: remove pointless Alert
6177
6178         * buffer.C: fix confusing error message when
6179         a template is chmoded 000
6180
6181 2003-03-29  John Levon  <levon@movementarian.org>
6182
6183         * BufferView.C:
6184         * BufferView.h:
6185         * BufferView_pimpl.C: Alert fixes
6186
6187         * Makefile.am:
6188         * tabular.C:
6189         * tabular-old.C: remove unused table compat reading
6190
6191 2003-03-29  John Levon  <levon@movementarian.org>
6192
6193         * BufferView.C:
6194         * buffer.C:
6195         * lyx_cb.h:
6196         * lyx_cb.C: more Alert cleanups
6197
6198         * lyxfunc.C: don't allow chktex if not latex document
6199
6200 2003-03-29  John Levon  <levon@movementarian.org>
6201
6202         * lyx_cb.C:
6203         * BufferView.C:
6204         * buffer.C: warnings pushed down from support/,
6205         kill err_alert
6206
6207 2003-03-29  John Levon  <levon@movementarian.org>
6208
6209         * lyxfunc.C: safety check for C-r (revert)
6210
6211 2003-03-29  John Levon  <levon@movementarian.org>
6212
6213         * bufferlist.h:
6214         * bufferlist.C: several UI fixes using Alert::prompt.
6215         Fix the pointless looping quit code. Fix stupid revert
6216         behaviour (bug 938)
6217
6218         * lyxvc.h:
6219         * lyxvc.C:
6220         * lyx_cb.C: use Alert::prompt
6221
6222         * lyx_main.C: remove a silly question
6223
6224         * lyxfunc.C: remove a couple of silly questions,
6225         use Alert::prompt
6226
6227 2003-03-28  John Levon  <levon@movementarian.org>
6228
6229         * text2.C: fix bug 974 (End on empty par)
6230
6231 2003-03-28  John Levon  <levon@movementarian.org>
6232
6233         * BufferView_pimpl.C:
6234         * LyXAction.C:
6235         * lfuns.h: remove do-nothing math greek lfuns
6236
6237 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * lyxgluelength.h (isValidGlueLength): add default arg on
6240         parameter 2. Remove default arg from friend in class.
6241
6242         * lyxlength.h (isValidLength): add default arg on parameter 2.
6243         Remove default arg from friend in class.
6244
6245         * text2.C (LyXText): adjust, initialize refresh_row.
6246         (init): adjust
6247         (removeRow): adjust
6248         (insertRow): adjust
6249         (insertParagraph): adjst
6250         (redoParagraphs): adjust
6251         (fullRebreak): adjust
6252         (updateCounters): adjust
6253         (deleteEmptyParagraphMechanism): first attempt at fixing a
6254         crashing bug.
6255
6256         * text.C (top_y): adjust
6257         (setHeightOfRow): adjust
6258         (getRow): adjust
6259         (getRowNearY): adjust
6260
6261         * lyxtext.h: include RowList.h
6262         (~LyXText): not needed anymore, deleted.
6263         (firstRow): modify for RowList
6264         (lastRow): new function
6265         Delete firstrow and lastrow class variables, add a Rowlist
6266         rowlist_ class variable.
6267
6268         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6269         paragraph is empty.
6270
6271         * RowList.C (insert): fix case where it == begin().
6272
6273 2003-03-26  Angus Leeming  <leeming@lyx.org>
6274
6275         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6276         the thesaurus dialog.
6277
6278 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6281
6282         * RowList.[Ch]: new files
6283
6284         * ParagraphList.C (erase): handle the case where it == begin
6285         correctly.
6286
6287 2003-03-25  John Levon  <levon@movementarian.org>
6288
6289         * Makefile.am:
6290         * aspell_local.h:
6291         * aspell.C: add new aspell support
6292
6293         * lyxrc.h:
6294         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6295         have it accessible.
6296
6297 2003-03-25  Angus Leeming  <leeming@lyx.org>
6298
6299         * lfuns.h:
6300         * LyXAction.C (init): new LFUN_INSET_INSERT.
6301
6302         * BufferView_pimpl.C (dispatch): split out part of the
6303         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6304
6305         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6306         LFUN_INSET_APPLY.
6307
6308 2003-03-25  Angus Leeming  <leeming@lyx.org>
6309
6310         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6311
6312 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6313
6314         * text2.C:
6315         * text3.C: remove useless row->height(0)
6316
6317 2003-03-25  John Levon  <levon@movementarian.org>
6318
6319         * lyxtext.h:
6320         * text2.C:
6321         * text3.C: rename the refreshing stuff to better names
6322
6323 2003-03-24  John Levon  <levon@movementarian.org>
6324
6325         * BufferView_pimpl.h:
6326         * BufferView_pimpl.C: update layout choice on a mouse
6327         press/release
6328
6329 2003-03-23  John Levon  <levon@movementarian.org>
6330
6331         * Makefile.am: fix commandtags.h reference
6332
6333 2003-03-22  John Levon  <levon@movementarian.org>
6334
6335         * BufferView_pimpl.C:
6336         * lyxtext.h:
6337         * rowpainter.C:
6338         * rowpainter.h:
6339         * text.C:
6340         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6341
6342 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6343
6344         * lyxtext.h:
6345         * text.C: take the rtl methods out of line
6346
6347 2003-03-21 André Pönitz <poenitz@gmx.net>
6348
6349         * metricsinfo.[Ch]: new files containing structures to be passed around
6350         during the two-phase-drawing...
6351
6352 2003-03-21 André Pönitz <poenitz@gmx.net>
6353
6354         * lyxtextclass.C: read 'environment' tag.
6355
6356 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * text2.C (removeRow): fix bug 964
6359
6360 2003-03-20  John Levon  <levon@movementarian.org>
6361
6362         * rowpainter.C:
6363         * text.C:
6364         * text2.C: paint cleanups. Inset::update() dropped font
6365         parameter
6366
6367 2003-03-19  John Levon  <levon@movementarian.org>
6368
6369         * lyxfunc.C: only fitcursor/markDirty if available()
6370
6371 2003-03-19  John Levon  <levon@movementarian.org>
6372
6373         * commandtags.h: rename to ...
6374
6375         * lfuns.h: ... this, and renumber / cleanup
6376
6377 2003-03-19  John Levon  <levon@movementarian.org>
6378
6379         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6380         fit the cursor after an lfun
6381
6382         * BufferView.h:
6383         * BufferView.C:
6384         * BufferView_pimpl.h:
6385         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6386
6387         * LyXAction.C: layout-character should have ReadOnly
6388
6389         * ParagraphParameters.C:
6390         * buffer.C:
6391         * bufferview_funcs.C:
6392         * lyx_cb.C:
6393         * lyxfind.C:
6394         * lyxtext.h:
6395         * text.C:
6396         * text2.C:
6397         * text3.C:
6398         * undo_funcs.C: changes from above
6399
6400 2003-03-18  John Levon  <levon@movementarian.org>
6401
6402         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6403         remove it from update()
6404
6405         * lyxfunc.C: update layout choice after an lfun
6406
6407         * text3.C: remove extra updateLayoutChoice()s
6408
6409 2003-03-18  John Levon  <levon@movementarian.org>
6410
6411         * text.C: top_y change means full repaint, fix
6412         a drawing bug with cursor movement
6413
6414 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6415
6416         * lyxtext.h:
6417         * text.C:
6418         * text2.C: anchor row on setCursor
6419
6420 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6421
6422         * lyxtext.h: remove almost all mutable keywords
6423         * text.C:
6424         * text2.C:
6425         * text3.C: remove const keywords accordingly
6426
6427 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6430         anon namespace
6431         (TeXEnvironment): ditto
6432         (TeXOnePar): ditto
6433
6434 2003-03-17  John Levon  <levon@movementarian.org>
6435
6436         * text.C (rowBreakPoint): remove attempt to fix displayed
6437         math insets inside a manual label
6438
6439 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * lyxtext.h: remove BufferView* as first arg from almost all class
6442         functions.
6443         * other files: adjust.
6444
6445 2003-03-17  John Levon  <levon@movementarian.org>
6446
6447         * lyxtext.h:
6448         * undo_funcs.C:
6449         * text2.C: more paint cleanups
6450
6451         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6452
6453         * rowpainter.h:
6454         * rowpainter.C: remove "smart" background painting code
6455
6456 2003-03-16  John Levon  <levon@movementarian.org>
6457
6458         * lyxtext.h:
6459         * text.C:
6460         * text2.C:
6461         * text3.C: add helper functions for setting refresh_row/y
6462
6463 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6464
6465         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6466         newline inset which *can* get inserted in the pass_thru layouts.
6467         This is primarily for literate documents.
6468
6469 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6470
6471         * buffer.C: increment LYX_FORMAT to 223
6472
6473 2003-03-14 André Pönitz <poenitz@gmx.net>
6474
6475         * textclass.h: prepare for environment handling, ws changes
6476         * lyxlayout.C: read latexheader and latexfooter tags
6477
6478 2003-03-14  John Levon  <levon@movementarian.org>
6479
6480         * text2.C: rewrite ::status() a bit
6481
6482 2003-03-13  John Levon  <levon@movementarian.org>
6483
6484         * lyxtext.h: add some docs
6485
6486 2003-03-13  John Levon  <levon@movementarian.org>
6487
6488         * lyxtext.h:
6489         * text.C:
6490         * text2.C:
6491         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6492
6493 2003-03-13  John Levon  <levon@movementarian.org>
6494
6495         * text3.C: fix appendix redrawing
6496
6497 2003-03-13  John Levon  <levon@movementarian.org>
6498
6499         * text.C (setHeightOfRow):
6500         * rowpainter.h:
6501         * rowpainter.C: make appendix mark have the text
6502           "Appendix" so the user knows what it is
6503
6504         * LColor.h:
6505         * LColor.C: s/appendixline/appendix/ from above
6506
6507 2003-03-13  John Levon  <levon@movementarian.org>
6508
6509         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6510
6511         * text.C: fix a getChar(pos) bug properly
6512
6513 2003-03-13  Angus Leeming  <leeming@lyx.org>
6514
6515         * commandtags.h:
6516         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6517         Probably only temporary. Let's see how things pan out.
6518
6519         * BufferView.C (unlockInset):
6520         * BufferView_pimpl.C (fitCursor):
6521         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6522
6523         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6524         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6525
6526         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6527         new functions that convert ParagraphParameters to and from a string.
6528
6529         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6530         BufferView::Pimpl's dispatch.
6531         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6532
6533 2003-03-13 André Pönitz <poenitz@gmx.net>
6534
6535         * lyxfunc.C:
6536         * text3.C:
6537         * factory.C: make it aware of InsetEnv
6538
6539 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * text2.C (setCursor): never ask for one past last
6542         (setCursor): add some debugging messages.
6543
6544         * text.C (singleWidth): never ask for one past last
6545         (singleWidth): ditto
6546         (leftMargin): ditto
6547         (rightMargin): ditto
6548         (rowBreakPoint): ditto
6549         (setHeightOfRow): ditto
6550         (prepareToPrint): ditto
6551
6552         * rowpainter.C (paintBackground): never ask for one past last
6553         (paintText): never ask for one past last
6554
6555         * paragraph_pimpl.C (getChar): make the assert stricter, never
6556         allow the one past last pos to be taken
6557
6558         * paragraph.C (getChar): ws changes only
6559
6560         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6561         (numberOfSeparators): ditto
6562         (numberOfHfills): ditto
6563
6564 2003-03-12  John Levon  <levon@movementarian.org>
6565
6566         * author.h:
6567         * author.C:
6568         * bufferparams.h:
6569         * bufferparams.C:
6570         * paragraph_funcs.C: fix per-buffer authorlists
6571
6572 2003-03-12  John Levon  <levon@movementarian.org>
6573
6574         * text.C: fix newline in right address
6575
6576 2003-03-12  Angus Leeming  <leeming@lyx.org>
6577
6578         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6579         duplicate those in LyXFunc::dispatch.
6580
6581         * commandtags.h:
6582         * LyXAction.C:
6583         * ToolbarDefaults.C:
6584         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6585         Add LFUN_FONTFREE_UPDATE.
6586
6587         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6588         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6589
6590         * bufferview_func.[Ch]: several new functions to facilliate
6591         transfer of data to and from the character dialog.
6592
6593 2003-03-12  John Levon  <levon@movementarian.org>
6594
6595         * buffer.C:
6596         * paragraph.h:
6597         * paragraph.C:
6598         * paragraph_funcs.C:
6599         * paragraph_pimpl.C:
6600         * sgml.C:
6601         * tabular.C:
6602         * text.C:
6603         * text3.C: remove META_NEWLINE in favour of an inset
6604
6605         * rowpainter.h:
6606         * rowpainter.C: remove paintNewline (done by inset)
6607
6608 2003-03-12  John Levon  <levon@movementarian.org>
6609
6610         * paragraph_pimpl.C: complain about bad getChar()s
6611         for a while at least
6612
6613 2003-03-12  John Levon  <levon@movementarian.org>
6614
6615         * buffer.h:
6616         * buffer.C: move paragraph read into a separate function,
6617         a little renaming to reflect that.
6618
6619         * bufferparams.h:
6620         * bufferparams.C: remove the author_ids map, not necessary now
6621
6622         * factory.h:
6623         * factory.C: moved Buffer::readInset to here
6624
6625         * paragraph_funcs.h:
6626         * paragraph_funcs.C: readParagraph free function moved from
6627         buffer.C
6628
6629         * tabular.C: name change
6630
6631 2003-03-12  John Levon  <levon@movementarian.org>
6632
6633         * buffer.C:
6634         * ParagraphParameters.C: move par params input to
6635         a read() method
6636
6637         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6638         behave like a normal read from the stream wrt reading
6639         a line vs. a \\token
6640
6641 2003-03-12  John Levon  <levon@movementarian.org>
6642
6643         * paragraph.C:
6644         * ParagraphParameters.h:
6645         * ParagraphParameters.C: move output code to a
6646         ::write() method
6647
6648 2003-03-12  John Levon  <levon@movementarian.org>
6649
6650         * BufferView.C (insertLyXFile):
6651         * buffer.h:
6652         * buffer.C:
6653         * tabular.C: use a parlist iterator for creating the
6654           document.
6655
6656 2003-03-12  John Levon  <levon@movementarian.org>
6657
6658         * buffer.C: make current_change static local not
6659           static file-scope
6660
6661 2003-03-12  John Levon  <levon@movementarian.org>
6662
6663         * buffer.C: fix insertStringAsLines for change tracking
6664
6665 2003-03-12  John Levon  <levon@movementarian.org>
6666
6667         * BufferView.C:
6668         * tabular.C:
6669         * buffer.h:
6670         * buffer.C:
6671         * bufferparams.h:
6672         * bufferparams.C: move author list into params. Rename some
6673           functions. Move the header reading into a separate token
6674           loop. Move the header token reading into BufferParams.
6675
6676 2003-03-12  John Levon  <levon@movementarian.org>
6677
6678         * changes.C: put debug inside lyxerr.debugging() checks
6679
6680 2003-03-11 André Pönitz <poenitz@gmx.net>
6681
6682         * factory.C: make it aware of InsetHFill
6683
6684 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6685
6686         * buffer.C (latexParagraphs): move function from here...
6687         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6688         args.
6689
6690 2003-03-10  Angus Leeming  <leeming@lyx.org>
6691
6692         * LyXAction.C (init): fix bug in poplating array with multiple entries
6693         with the same LFUN (spotted by JMarc).
6694
6695 2003-03-10  John Levon  <levon@movementarian.org>
6696
6697         * text.C:
6698         * text2.C: move getColumnNearX() near its
6699         only call site
6700
6701 2003-03-10  John Levon  <levon@movementarian.org>
6702
6703         * text.C: fix break before a minipage
6704
6705 2003-03-10  John Levon  <levon@movementarian.org>
6706
6707         * text.C: fix the last commit
6708
6709 2003-03-09  John Levon  <levon@movementarian.org>
6710
6711         * lyxtext.h:
6712         * text.C:
6713         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6714         bug 365 (don't break before insets unless needed). Don't
6715         return a value > last under any circumstances.
6716
6717 2003-03-09  Angus Leeming  <leeming@lyx.org>
6718
6719         * BufferView_pimpl.C (trackChanges, dispatch): call
6720         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6721
6722 2003-03-09  Angus Leeming  <leeming@lyx.org>
6723
6724         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6725         than Dialogs::showAboutlyx().
6726
6727 2003-03-09  Angus Leeming  <leeming@lyx.org>
6728
6729         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6730         than Dialogs::showTabularCreate().
6731
6732 2003-03-09  John Levon  <levon@movementarian.org>
6733
6734         * lyxtext.h:
6735         * text.C:
6736         * text2.C: 3rd arg to nextBreakPoint was always the same.
6737           Use references.
6738
6739 2003-03-08  John Levon  <levon@movementarian.org>
6740
6741         * lyxrow.C:
6742         * paragraph.C:
6743         * paragraph.h:
6744         * rowpainter.C:
6745         * text.C:
6746         * text2.C: Remove the "main" bit from the "main body"
6747           notion.
6748
6749 2003-03-08  John Levon  <levon@movementarian.org>
6750
6751         * text.C (leftMargin): The left margin of an empty
6752         manual label paragraph should not include the label width
6753         string length.
6754
6755         * text.C (prepareToPrint): don't attempt to measure hfills
6756         for empty manual label paragraphs - the answer should be 0
6757
6758 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6759
6760         * CutAndPaste.C: remove commented code and reindent.
6761
6762 2003-03-08  John Levon  <levon@movementarian.org>
6763
6764         * lyxfunc.h:
6765         * lyxfunc.C: move reloadBuffer()
6766
6767         * BufferView.h:
6768         * BufferView.C: to here
6769
6770         * lyxvc.C: add comment
6771
6772         * vc-backend.h:
6773         * vc-backend.C: call bv->reload() to avoid
6774           getStatus() check on MENURELOAD
6775
6776 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6777
6778         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6779         to an old format .dep file.
6780
6781 2003-03-07  Angus Leeming  <leeming@lyx.org>
6782
6783         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6784         when the LFUN_MOUSE_RELEASE should have been handled by
6785         inset->localDispatch.
6786
6787 2003-03-07  Angus Leeming  <leeming@lyx.org>
6788
6789         * BufferView_pimpl.C (dispatch):
6790         * LyXAction.C (init):
6791         * ToolbarDefaults.C (init):
6792         * commandtags.h:
6793         * lyxfunc.C (getStatus):
6794         remove LFUN_INSET_GRAPHICS.
6795
6796         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6797
6798 2003-03-07  Angus Leeming  <leeming@lyx.org>
6799
6800         * commandtags.h:
6801         * LyXAction.C (init):
6802         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6803
6804         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6805
6806         * commandtags.h:
6807         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6808
6809         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6810         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6811
6812 2003-03-07  Angus Leeming  <leeming@lyx.org>
6813
6814         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6815         remove "ert".
6816
6817 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * ParagraphList.C (front): new function
6820         (back): implement
6821
6822 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6823
6824         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6825         and top_row_offset_. removed var first_y.
6826         * text.C (top_y):
6827         * text2.C (LyXText, removeRow):
6828         * text3.C:
6829         * BufferView_pimpl.C:
6830         use these methods instead of using first_y
6831
6832 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * text2.C (pasteSelection): adjust for checkPastePossible
6835
6836         * CutAndPaste.C: remove Paragraph * buf and replace with
6837         ParagraphList paragraphs.
6838         (DeleteBuffer): delete
6839         (cutSelection): change the tc type to textclass_type
6840         (copySelection): change the tc type to textclass_type
6841         (copySelection): adjust for ParagraphList
6842         (pasteSelection): change the tc type to textclass_type
6843         (pasteSelection): adjust for Paragraphlist
6844         (nrOfParagraphs): simplify for ParagraphList
6845         (checkPastePossible): simplify for ParagraphList
6846         (checkPastePossible): remove unused arg
6847
6848         * ParagraphList.C (insert): handle the case where there are no
6849         paragraphs yet.
6850
6851         * CutAndPaste.h: make CutAndPaste a namespace.
6852
6853         * text3.C (dispatch): adjust
6854
6855         * text.C (breakParagraph): add a ParagraphList as arg
6856
6857         * paragraph_funcs.C (breakParagraph): change to take a
6858         BufferParams and a ParagraphList as args.
6859         (breakParagraphConservative): ditto
6860         (mergeParagraph): ditto
6861         (TeXDeeper): add a ParagraphList arg
6862         (TeXEnvironment): ditto
6863         (TeXOnePar): ditto
6864
6865         * buffer.C (readLyXformat2): adjust
6866         (insertStringAsLines): adjust
6867         (latexParagraphs): adjust
6868
6869         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6870         (cutSelection): adjust
6871         (pasteSelection): adjust
6872
6873         * BufferView_pimpl.C (insertInset): adjust
6874
6875 2003-03-05  Angus Leeming  <leeming@lyx.org>
6876
6877         * commandtags.h:
6878         * LyXAction.C (init):
6879         * BufferView_pimpl.C (dispatch):
6880         * lyxfunc.C (getStatus):
6881         remove LFUN_CHILD_INSERT.
6882
6883         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6884
6885 2003-03-05  Angus Leeming  <leeming@lyx.org>
6886
6887         * commandtags.h:
6888         * LyXAction.C (init):
6889         * src/factory.C (createInset):
6890         * lyxfunc.C (getStatus):
6891         * text3.C (dispatch):
6892         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6893
6894         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6895
6896 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * ParagraphList.C (insert): handle insert right before end()
6899         (erase): fix cases where it can be first or last paragraph.
6900
6901 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6904         Paragraph::next and Paragraph::previous
6905         (TeXOnePar): ditto
6906
6907         * text.C (breakParagraph): adjust
6908
6909         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6910         BufferParams& as arg.
6911         (breakParagraph): use ParagraphList::insert
6912         (breakParagraphConservative): take a Buffer* instead of a
6913         BufferParams& as arg.
6914         (breakParagraphConservative): use ParagraphList::insert.
6915
6916         * buffer.C (insertStringAsLines): un-const it
6917         (insertStringAsLines): adjust
6918
6919         * ParagraphList.C (insert): new function
6920
6921         * CutAndPaste.C (pasteSelection): adjust
6922
6923         * text.C (backspace): adjust
6924
6925         * tabular.C (SetMultiColumn): adjust
6926
6927         * CutAndPaste.C (cutSelection): adjust
6928         (pasteSelection): adjust
6929
6930         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6931         Buffer const * as arg
6932
6933         * ParagraphList.C (erase): new function
6934         * paragraph_funcs.C (mergeParagraph): use it
6935         (mergeParagraph): make it take a Buffer* instead of a
6936         BufferParams* as arg
6937
6938         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6939         as arg
6940         (breakParagraphConservative): ditto
6941
6942         * paragraph.h: remove the breakParagraph friend
6943
6944         * paragraph.C (eraseIntern): new function
6945         (setChange): new function
6946
6947         * paragraph_funcs.C (mergeParagraph): make it take a
6948         ParagraphList::iterator instead of a Paragraph *, adjust
6949         accordingly.
6950
6951         * paragraph.h: move an #endif so that the change tracking stuff
6952         also works in the NO_NEXT case.
6953
6954 2003-03-04  Angus Leeming  <leeming@lyx.org>
6955
6956         * commandtags.h:
6957         * LyXAction.C: new LFUN_INSET_MODIFY.
6958
6959         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6960         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6961
6962 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * several files: ws changes only
6965
6966         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6967         (TeXEnvironment): ditto
6968         (TeXDeeper): ditto
6969
6970         * buffer.C (makeLaTeXFile): adjust
6971         (latexParagraphs): make it take ParagraphList::iterator as args
6972
6973 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * buffer.C (latexParagraphs): adjust
6976
6977         * paragraph.C (TeXOnePar): move function...
6978         (optArgInset): move function...
6979         (TeXEnvironment): move function...
6980         * paragraph_pimpl.C (TeXDeeper): move function...
6981         * paragraph_funcs.C: ...here
6982
6983         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6984
6985 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * buffer.C (readInset): remove compability code for old Figure and
6988         InsetInfo insets
6989
6990 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * buffer.C: ws changes
6993         (readInset):
6994
6995         * BufferView_pimpl.C: ditto
6996         * author.C: ditto
6997         * buffer.h: ditto
6998         * bufferlist.h: ditto
6999         * changes.h: ditto
7000         * lyxfunc.C: ditto
7001
7002 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7003
7004         * converter.[Ch]: split into itself +
7005         * graph.[Ch]
7006         * format.[Ch]
7007         * Makefile.am: += graph.[Ch] + format.[Ch]
7008         * MenuBackend.C
7009         * buffer.C
7010         * exporter.C
7011         * importer.C
7012         * lyx_main.C
7013         * lyxfunc.C
7014         * lyxrc.C: added #include "format.h"
7015
7016 2003-02-27  Angus Leeming  <leeming@lyx.org>
7017
7018         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7019           a label.
7020
7021         * factory.C (createInset): add "label" to the factory.
7022
7023         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7024           string and do no more.
7025
7026 2003-02-27  Angus Leeming  <leeming@lyx.org>
7027
7028         * commandtags.h:
7029         * LyXAction.C (init):
7030         * factory.C (createInset):
7031         * BufferView_pimpl.C (dispatch):
7032           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7033
7034         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7035
7036         * lyxfunc.C (dispatch):
7037         * text3.C (dispatch): pass name to params2string.
7038
7039 2003-02-26  Angus Leeming  <leeming@lyx.org>
7040
7041         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7042           blocks together.
7043           Rearrange the ~includes. Strip out the unnecessary ones.
7044
7045         * factory.C (createInset): reformat.
7046           create new insets for the various LFUN_XYZ_APPLY lfuns.
7047
7048 2003-02-26  John Levon  <levon@movementarian.org>
7049
7050         * lyxrow.h:
7051         * lyxrow.C: add isParStart,isParEnd helpers
7052
7053         * paragraph.h: make isInserted/DeletedText take refs
7054
7055         * paragraph_funcs.h:
7056         * paragraph_funcs.C: remove #if 0'd code
7057
7058         * lyxtext.h:
7059         * text3.C:
7060         * text2.C:
7061         * text.C: use lyxrow helpers above.
7062           Move draw and paint routines to RowPainter.
7063           Make several methods use refs not pointers.
7064           Make backgroundColor() const.
7065           Add markChangeInDraw(), isInInset().
7066           Merge changeRegionCase into changeCase.
7067           Make workWidth() shouldn't-happen code into an Assert.
7068
7069         * rowpainter.h:
7070         * rowpainter.C: new class for painting a row.
7071
7072         * vspace.h:
7073         * vspace.C: make inPixels take a ref
7074
7075 2003-02-26  Angus Leeming  <leeming@lyx.org>
7076
7077         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7078         LFUN_REF_APPLY.
7079
7080 2003-02-25  John Levon  <levon@movementarian.org>
7081
7082         * ispell.C: give the forked command a more accurate name
7083
7084 2003-02-22  John Levon  <levon@movementarian.org>
7085
7086         * toc.h:
7087         * toc.C: make TocItem store an id not a Paragraph *
7088           (bug #913)
7089
7090 2003-02-21  Angus Leeming  <leeming@lyx.org>
7091
7092         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7093           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7094           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7095           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7096           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7097           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7098
7099         * BufferView_pimpl.C (dispatch):
7100         * LyXAction.C (init):
7101         * factory.C (createInset):
7102         * lyxfunc.C (getStatus, dispatch):
7103         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7104
7105 2003-02-21  Angus Leeming  <leeming@lyx.org>
7106
7107         * BufferView_pimpl.C (MenuInsertLyXFile):
7108         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7109         * lyxfunc.C (menuNew, open, doImport):
7110           no longer pass a LyXView & to fileDlg.
7111
7112 2003-02-21  Angus Leeming  <leeming@lyx.org>
7113
7114         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7115         * LyXAction.C: change, BIBKEY to BIBITEM.
7116         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7117         Change InsetBibKey to InsetBibitem.
7118         Change BIBKEY_CODE to BIBITEM_CODE.
7119         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7120         * factory.C: replace insetbib.h with insetbibitem.h.
7121         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7122         * paragraph.C: replace insetbib.h with insetbibitem.h.
7123         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7124         Change bibkey() to bibitem().
7125         * text.C: remove insetbib.h.
7126         * text2.C: replace insetbib.h with insetbibitem.h.
7127         change bibkey() to bibitem().
7128         * text3.C: remove insetbib.h.
7129         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7130
7131 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7132
7133         * lyxrc.C (output): enclose user email in quotes (in case there are
7134         several words)
7135
7136 2003-02-18  John Levon  <levon@movementarian.org>
7137
7138         * buffer.h: add std::
7139
7140 2003-02-17  John Levon  <levon@movementarian.org>
7141
7142         * SpellBase.h:
7143         * ispell.h:
7144         * ispell.C:
7145         * pspell.h:
7146         * pspell.C: reworking. Especially in ispell, a large
7147           number of clean ups and bug fixes.
7148
7149         * lyxfunc.C: fix revert to behave sensibly
7150
7151 2003-02-17 André Pönitz <poenitz@gmx.net>
7152
7153         * LyXAction.C:
7154         * commandtags.h: new LFUN_INSERT_BIBKEY
7155
7156         * layout.h:
7157         * lyxlayout.C:
7158         * buffer.C:
7159         * factory.C:
7160         * text.C:
7161         * text2.C:
7162         * text3.C:
7163         * paragraph.[Ch]:
7164         * paragraph_func.C: remove special bibkey handling
7165
7166 2003-02-17  John Levon  <levon@movementarian.org>
7167
7168         * text.C (Delete): fix case where delete at the end of
7169           the very first paragraph would not merge the pars
7170
7171 2003-02-17  John Levon  <levon@movementarian.org>
7172
7173         * lyxrow.C: fix lastPrintablePos()
7174
7175 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7176
7177         * bufferparams.C (writeLaTeX): add a std:here
7178
7179         * buffer.C: and remove a using directive there
7180
7181 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7182
7183         * buffer.C (makeLaTeXFile): move the code that generates the
7184           preamble...
7185
7186         * bufferparams.C (writeLaTeX): ... in this new method
7187
7188         * LaTeXFeatures.C (getEncodingSet): make const
7189           (getLanguages): make const
7190
7191         * MenuBackend.C (binding): returns the binding associated to this
7192           action
7193           (add): sets the status of each item by calling getStatus. Adds
7194           some intelligence.
7195           (read): add support for OptSubMenu
7196           (expand): remove extra separator at the end of expanded menu
7197
7198 2003-02-15  John Levon  <levon@movementarian.org>
7199
7200         * BufferView.C:
7201         * BufferView_pimpl.C:
7202         * bufferlist.h:
7203         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7204           inset code that had no actual effect. Remove unneeded status
7205           code.
7206
7207 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7208
7209         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7210           in preamble
7211
7212 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7213
7214         * text.C (drawLengthMarker): also draw an arrow marker for
7215           symbolic lengths (medskip...)
7216
7217 2003-02-14  John Levon  <levon@movementarian.org>
7218
7219         * tabular.h:
7220         * tabular.C: better method names
7221
7222 2003-02-14  John Levon  <levon@movementarian.org>
7223
7224         * BufferView_pimpl.C:
7225         * bufferlist.C:
7226         * buffer.C:
7227         * converter.C:
7228         * lyx_cb.C:
7229         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7230           it's a more accurate name. Remove some pointless uses.
7231
7232 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7233
7234         * text2.C (LyXText): change order of initilizers to shut off
7235           warnings
7236
7237 2003-02-14  John Levon  <levon@movementarian.org>
7238
7239         * buffer.C: use ParIterator for getParFromID()
7240
7241         * paragraph.h:
7242         * paragraph.C:
7243         * paragraph_pimpl.h:
7244         * paragraph_pimpl.C: remove unused getParFromID()
7245
7246 2003-02-14  John Levon  <levon@movementarian.org>
7247
7248         * buffer.C: remove some very old #if 0'd parse code
7249
7250 2003-02-13  John Levon  <levon@movementarian.org>
7251
7252         * text.h:
7253         * text.C:
7254         * text2.C: move hfillExpansion(), numberOfSeparators(),
7255           rowLast(), rowLastPrintable(), numberofHfills(),
7256           numberOfLabelHfills() ...
7257
7258         * lyxrow.h:
7259         * lyxrow.C: ... to member functions here.
7260
7261         * paragraph.h:
7262         * paragraph.C:
7263         * lyxtext.h:
7264         * text.C: remove LyXText::beginningOfMainBody(), and call
7265           p->beginningOfMainBody() directly. Move the check for
7266           LABEL_MANUAL into the latter.
7267
7268         * text.h:
7269         * text.C:
7270         * text2.C:
7271         * vspace.C:
7272         * BufferView.h:
7273         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7274
7275         * text.h:
7276         * text.C:
7277         * text2.C:
7278         * text3.C:
7279         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7280           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7281
7282 2003-02-13  John Levon  <levon@movementarian.org>
7283
7284         * CutAndPaste.C: remove debug
7285
7286 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7287
7288         * paragraph.C (asString): remove two unused variables
7289
7290         * lyxtextclass.C (readTitleType):
7291           (Read):
7292           (LyXTextClass): handle new members titletype_ and titlename_
7293
7294         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7295
7296 2003-02-09  John Levon  <levon@movementarian.org>
7297
7298         * buffer.h:
7299         * buffer.C: replace hand-coded list with a map for the dep clean
7300
7301 2003-02-08  John Levon  <levon@movementarian.org>
7302
7303         * LaTeX.C: consolidate code into showRunMessage() helper
7304
7305 2003-02-08  John Levon  <levon@movementarian.org>
7306
7307         * lyxfind.C:
7308         * lyxtext.h:
7309         * text2.C:
7310         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7311           and pass the size in explicitly
7312
7313         * BufferView_pimpl.h:
7314         * BufferView_pimpl.C:
7315         * BufferView.h:
7316         * BufferView.C: add getCurrentChange()
7317
7318         * BufferView_pimpl.h:
7319         * BufferView_pimpl.C: handle change lfuns
7320
7321         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7322           for changes. Mark pasted paragraphs as new.
7323
7324         * support/lyxtime.h:
7325         * support/lyxtime.C:
7326         * DepTable.C: abstract time_t as lyx::time_type
7327
7328         * LColor.h:
7329         * LColor.C: add colours for new text, deleted text, changebars
7330
7331         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7332           package use "usenames" option.
7333
7334         * commandtags.h:
7335         * lyxfunc.C:
7336         * LyXAction.C: add change lfuns
7337
7338         * Makefile.am:
7339         * author.h:
7340         * author.C: author handling
7341
7342         * buffer.h:
7343         * buffer.C: add a per-buffer author list, with first entry as
7344           current author. Handle new .lyx tokens for change tracking. Output
7345           author list to .lyx file. Output dvipost stuff to .tex preamble.
7346           Bump lyx format to 222.
7347
7348         * bufferlist.h:
7349         * bufferlist.C: add setCurrentAuthor() to reset current author details
7350           in all buffers.
7351
7352         * bufferparams.h:
7353         * bufferparams.C: add param for tracking
7354
7355         * bufferview_funcs.C: output change info in minibuffer
7356
7357         * Makefile.am:
7358         * changes.h:
7359         * changes.C: add change-tracking structure
7360
7361         * debug.h:
7362         * debug.C: add CHANGES debug flag
7363
7364         * lyxfind.h:
7365         * lyxfind.C: add code for finding the next change piece
7366
7367         * lyxrc.h:
7368         * lyxrc.C: add user_name and user_email
7369
7370         * lyxrow.h:
7371         * lyxrow.C: add a metric for the top of the text line
7372
7373         * lyxtext.h:
7374         * text.C: implement accept/rejectChange()
7375
7376         * lyxtext.h:
7377         * text.C: paint changebars. Paint new/deleted text in the chosen
7378         colours. Strike through deleted text.
7379
7380         * paragraph.h:
7381         * paragraph.C:
7382         * paragraph_pimpl.h:
7383         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7384           in the current change to the insert functions. Rework erase to
7385           mark text as deleted, adding an eraseIntern() and a range-based
7386           erase(). Implement per-paragraph change lookup and
7387           accept/reject.
7388
7389         * paragraph_funcs.C: Fixup paste for change tracking.
7390
7391         * tabular.C: mark added row/columns as new.
7392
7393         * text.C: fix rowLast() to never return -1. Don't allow
7394           spellchecking of deleted text. Track transpose changes. Don't
7395           allow paragraph break or merge where appropriate.
7396
7397         * text2.C: leave cursor at end of selection after a cut.
7398
7399 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7400
7401         * text.C (getLengthMarkerHeight):
7402         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7403         visible on screen too.
7404
7405 2003-02-07  John Levon  <levon@movementarian.org>
7406
7407         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7408
7409 2003-02-05  Angus Leeming  <leeming@lyx.org>
7410
7411         * lyxserver.C (read_ready): revert my patch of 11 September last year
7412         as it sends PC cpu through the roof. Presumably this means that
7413         the lyxserver will no longer run on an Alpha...
7414
7415 2003-01-30  Angus Leeming  <leeming@lyx.org>
7416
7417         * factory.C (createInset): create an InsetCommandParam of type "index"
7418         and use it to 'do the right thing'.
7419
7420         * text2.C (getStringToIndex): ensure that cursor position is always
7421         reset to the reset_cursor position.
7422
7423 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7424
7425         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7426         disabled.
7427
7428 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7429
7430         * bufferview.C:
7431         * lyxcb.C:
7432         * lyxfunc.C: Output messages with identical spelling, punctuation,
7433         and spaces
7434
7435 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7436
7437         * MenuBackend.C (expandFormats): List only viewable export formats
7438         in "View" menu
7439
7440         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7441         message
7442
7443         * lyxfunc.C (getStatus): Make sure that formats other than
7444         "fax" can also be disabled
7445
7446 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7447
7448         * text3.C (dispatch): put the lfuns that insert insets in 3
7449         groups, and call doInsertInset with appropriate arguments.
7450         (doInsertInset): new function, that creates an inset and inserts
7451         it according to some boolean parameters.
7452
7453 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * buffer.C (readFile): remember to pass on 'par' when calling
7456         readFile recursively.
7457
7458 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7459
7460         * MenuBackend.C (expandFormats): add "..." to import formats.
7461
7462 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7463
7464         * paragraph.C (asString): Remove XForms RTL hacks.
7465
7466 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7467         * buffer.C: fix typo
7468
7469 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * Makefile.am (LIBS): delete var
7472         (lyx_LDADD): add @LIBS@ here instead.
7473
7474 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7475
7476         * Clarify the meaning of "wheel mouse jump"
7477
7478 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7479
7480         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7481         tabular in a float
7482
7483 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7484
7485         * importer.C (Loaders): do not preallocate 3 elements in the
7486         vector, since one ends up with 6 elements otherwise
7487
7488 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7489
7490         * DepTable.C (write): write the file name as last element of the
7491         .dep file (because it may contain spaces)
7492         (read): read info in the right order
7493
7494 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7495
7496         * paragraph_pimpl.C (simpleTeXBlanks):
7497         (simpleTeXSpecialChars):
7498         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7499
7500         * tabular.C (latex): add some missing case statements. Reindent.
7501
7502         * MenuBackend.C (expandToc): remove unused variable.
7503
7504 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7505
7506         * LColor.C:
7507         * LaTeX.C:
7508         * LyXAction.C:
7509         * MenuBackend.C:
7510         * buffer.C:
7511         * exporter.C:
7512         * lyxfunc.C:
7513         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7514         and the like.
7515
7516 2003-01-05  John Levon  <levon@movementarian.org>
7517
7518         * BufferView.h:
7519         * BufferView.C: add getEncoding()
7520
7521         * kbsequence.h:
7522         * kbsequence.C: do not store last keypress
7523
7524         * lyxfunc.h:
7525         * lyxfunc.C: store last keypress here instead. Pass encoding
7526           to getISOEncoded()
7527
7528 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7529
7530         * lyx_main.C (init): remove annoying error message when following
7531         symbolic links (bug #780)
7532
7533 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7534
7535         * text.C (insertChar):
7536         * lyxrc.C (getDescription): remove extra spaces
7537
7538 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7539
7540         * lyxrc.C (getDescription): remove extra spaces
7541
7542 2002-12-20  John Levon  <levon@movementarian.org>
7543
7544         * text3.C: hack fix for page up/down across tall rows
7545
7546 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7547
7548         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7549         not been invoked
7550
7551 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7552
7553         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7554         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7555         thesaurus is not compiled in
7556
7557 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7558
7559         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7560
7561 2002-12-16  Angus Leeming  <leeming@lyx.org>
7562
7563         * lyxrc.[Ch]:
7564         * lyx_main.C (init): remove override_x_deadkeys stuff.
7565
7566 2002-12-12  John Levon  <levon@movementarian.org>
7567
7568         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7569           insert. Only remove shift modifier under strict
7570           circumstances.
7571
7572 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * MenuBackend.C (expandToc): fix crash.
7575
7576 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * MenuBackend.C (expandToc): gettext on float names.
7579
7580 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7581
7582         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7583         implement bool empty() [bug 490]
7584
7585 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7588
7589 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * several files: ws changes
7592
7593 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * text2.C (setCounter): clean up a bit, use boost.format.
7596         (updateCounters): initialize par upon declaration.
7597
7598         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7599         if the layout exists. We do not just store the layout any more.
7600         (SwitchLayoutsBetweenClasses): use boost.format
7601
7602 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7603
7604         * converter.C (convert): if from and to files are the same, use a
7605         temporary files as intermediary
7606
7607 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7608
7609         * commandtags.h:
7610         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7611
7612 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7613
7614         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7615
7616 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * tabular.C (asciiPrintCell): use string(size, char) instead of
7619         explicit loop.
7620
7621         * sgml.C (openTag): fix order of arguments to string constructor
7622         (closeTag): ditto
7623
7624         * lyxfunc.C (dispatch): use boost.format
7625
7626         * lots of files: change "c" -> 'c'
7627
7628 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7629
7630         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7631
7632 2002-11-25  Angus Leeming  <leeming@lyx.org>
7633
7634         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7635
7636         * lyx_main.C (init): compile fix.
7637
7638 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * lyx_cb.C (start): boost.formatify
7641         do not include <iostream>
7642
7643         * lengthcommon.C: ws only
7644
7645         * boost-inst.C,BoostFormat.h: add more explict instantations
7646
7647 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * lots of files: handle USE_BOOST_FORMAT
7650
7651 2002-11-21  John Levon  <levon@movementarian.org>
7652
7653         * pspell.C: fix compile
7654
7655 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7656
7657         * lyxfunc.C (dispatch): use boost::format
7658         (open): ditto
7659         (doImport): ditto
7660
7661         * lyxfont.C (stateText): use boost::format
7662
7663         * lyx_main.C (LyX): use boost::format
7664         (init): ditto
7665         (queryUserLyXDir): ditto
7666         (readRcFile): ditto
7667         (parse_dbg): ditto
7668         (typedef boost::function): use the recommened syntax.
7669
7670         * importer.C (Import): use boost::format
7671
7672         * debug.C (showLevel): use boost::format
7673
7674         * converter.C (view): use boost::format
7675         (convert): ditto
7676         (move): ditto
7677         (scanLog): ditto
7678
7679         * bufferview_funcs.C (currentState): use boost::format
7680
7681         * bufferlist.C (emergencyWrite): use boost::format
7682
7683         * buffer.C (readLyXformat2): use boost::format
7684         (parseSingleLyXformat2Token): ditto
7685
7686         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7687
7688         * LaTeX.C (run): use boost::format
7689
7690         * Chktex.C (scanLogFile): use boost::format
7691
7692         * BufferView_pimpl.C (savePosition): use boost::format
7693         (restorePosition): ditto
7694         (MenuInsertLyXFile): ditto
7695
7696         * BoostFormat.h: help file for explicit instation.
7697
7698 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7699
7700         * tabular.C (latex): Support for block alignment in fixed width
7701         columns.
7702
7703 2002-11-17  John Levon  <levon@movementarian.org>
7704
7705         * BufferView_pimpl.C:
7706         * lyx_cb.C:
7707         * lyxfunc.C: split filedialog into open/save
7708
7709 2002-11-08  Juergen Vigna  <jug@sad.it>
7710
7711         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7712         by my last patch (hopefully).
7713
7714 2002-11-08  John Levon  <levon@movementarian.org>
7715
7716         * iterators.h:
7717         * iterators.C:
7718         * buffer.h:
7719         * buffer.C:
7720         * paragraph.h:
7721         * paragraph.C:
7722         * toc.h:
7723         * toc.C: ParConstIterator, and use it (from Lars)
7724
7725 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7726
7727         * lyxtextclass.[Ch]: revise and add doxygen comments
7728
7729 2002-11-07  John Levon  <levon@movementarian.org>
7730
7731         * text.C: fix progress value for spellchecker
7732
7733         * toc.C: fix navigate menu for insetwrap inside minipage
7734
7735         * paragraph_funcs.C: added FIXME for suspect code
7736
7737 2002-11-07  John Levon  <levon@movementarian.org>
7738
7739         * BufferView_pimpl.C: fix redrawing of insets
7740           on buffer switch
7741
7742 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7743
7744         * text2.C (updateCounters): fix bug 668
7745
7746 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7747
7748         * text3.C (dispatch): Do not make the buffer dirty when moving the
7749         cursor.
7750
7751 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * vc-backend.C: STRCONV
7754         (scanMaster): ditto
7755
7756         * text2.C (setCounter): STRCONV
7757
7758         * paragraph.C (asString): STRCONV
7759
7760         * lyxlength.C (asString): STRCONV
7761         (asLatexString): ditto
7762
7763         * lyxgluelength.C (asString): STRCONV
7764         (asLatexString): ditto
7765
7766         * lyxfunc.C (dispatch): STRCONV
7767         (open): ditto
7768
7769         * lyxfont.C (stateText): STRCONV
7770
7771         * importer.C (Import): STRCONV
7772
7773         * counters.C (labelItem): STRCONV
7774         (numberLabel): ditto
7775         (numberLabel): remove unused ostringstream o
7776
7777         * chset.C: STRCONV
7778         (loadFile): ditto
7779
7780         * bufferview_funcs.C (currentState): STRCONV
7781
7782         * buffer.C (readFile): STRCONV
7783         (asciiParagraph): ditto
7784         (makeLaTeXFile): ditto
7785
7786         * Spacing.C (writeEnvirBegin): STRCONV
7787
7788         * LaTeXFeatures.C (getLanguages): STRCONV
7789         (getPackages): ditto
7790         (getMacros): ditto
7791         (getBabelOptions): ditto
7792         (getTClassPreamble): ditto
7793         (getLyXSGMLEntities): ditto
7794         (getIncludedFiles): ditto
7795
7796         * LaTeX.C: STRCONV
7797         (run): ditto
7798         (scanAuxFile): ditto
7799         (deplog): ditto
7800
7801         * LString.h: add the STRCONV macros
7802
7803         * BufferView_pimpl.C (savePosition): STRCONV
7804         (restorePosition): ditto
7805         (MenuInsertLyXFile): ditto
7806
7807         * vc-backend.C (scanMaster): change from submatch[...] to
7808         submatch.str(...)
7809
7810         * funcrequest.C: include config.h
7811
7812         * factory.C: include config.h
7813
7814         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7815
7816         * box.C: include config.h
7817
7818         * LaTeX.C (scanAuxFile): change from submatch[...] to
7819         submatch.str(...)
7820         (deplog): ditto
7821
7822 2002-10-25  Angus Leeming  <leeming@lyx.org>
7823
7824         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7825
7826         * ispell.[Ch] (setError): new method.
7827         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7828         Use setError() insetead of goto END.
7829
7830         * lyx_cb.C (AutoSave): move out child process into new class
7831         AutoSaveBuffer.
7832
7833 2002-10-30  John Levon  <levon@movementarian.org>
7834
7835         * text3.C: make start appendix undoable
7836
7837 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7838
7839         * lyxlength.C (inPixels): Fix returned value.
7840
7841         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7842         environment.
7843
7844 2002-10-24  Angus Leeming  <leeming@lyx.org>
7845
7846         * lyxgluelength.h: no need to forward declare BufferParams
7847         or BufferView, so don't.
7848
7849 2002-10-21  John Levon  <levon@movementarian.org>
7850
7851         * BufferView.C: menuUndo ->undo, redo
7852
7853         * BufferView.h: document, remove dead, make some methods private
7854
7855         * paragraph_funcs.h:
7856         * paragraph_funcs.C:
7857         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7858
7859         * buffer.h:
7860         * buffer.C:
7861         * sgml.h:
7862         * sgml.C: move sgml open/close tag into sgml.C
7863
7864         * bufferview_funcs.h: unused prototype
7865
7866         * lyxfunc.h:
7867         * lyxfunc.C: remove unused
7868
7869         * lyxtext.h:
7870         * text.C: remove unused
7871
7872 2002-10-21  John Levon  <levon@movementarian.org>
7873
7874         * BufferView.h:
7875         * BufferView.C:
7876         * BufferView_pimpl.h:
7877         * BufferView_pimpl.C: fix mouse wheel handling based on
7878           patch from Darren Freeman
7879
7880 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7881
7882         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7883
7884 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7885
7886         * lyxlength.C (inPixels): Fix hanfling of negative length.
7887         Fix LyXLength::MU case.
7888
7889 2002-10-16  John Levon  <levon@movementarian.org>
7890
7891         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7892
7893 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7894
7895         * converter.C (view): add support for $$i (file name) and $$p
7896         (file path) for the viewer command. If $$i is not specified, then
7897         it is appended to the command (for compatibility with old syntax)
7898
7899 2002-10-14  Juergen Vigna  <jug@sad.it>
7900
7901         * undo_funcs.C (textHandleUndo): alter the order in which the
7902         new undopar is added to the LyXText, as we have to set first
7903         the right prev/next and then add it as otherwise the rebuild of
7904         LyXText is not correct. Also reset the cursor to the right paragraph,
7905         with this IMO we could remove the hack in "redoParagraphs()".
7906
7907 2002-10-09  Angus Leeming  <leeming@lyx.org>
7908
7909         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7910         to turn off an optimisation if a new inset is to be inserted.
7911
7912 2002-10-11 André Pönitz <poenitz@gmx.net>
7913
7914         * lyxtext.h: make some functions public to allow access
7915         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7916
7917 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7918
7919         * text3.C (dispatch): when changing layout, avoid an infinite loop
7920         [bug #652]
7921
7922 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7923
7924         * lyxrc.C (read): treat a viewer or converter command of "none" as
7925         if it were empty.
7926
7927         * MenuBackend.C (expandFormats): for an update, also allow the
7928         formats that are not viewable
7929
7930         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7931         script if it is newer than the lyxrc.defaults in user directory
7932
7933 2002-10-07 André Pönitz <poenitz@gmx.net>
7934
7935         * text.C: Vitaly Lipatov's small i18n fix
7936
7937 2002-09-25  Angus Leeming  <leeming@lyx.org>
7938
7939         * ispell.h: doxygen fix.
7940
7941 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7942
7943         * buffer.h (readFile): Add a new argument to the method, to allow
7944         reading of old-format templates.
7945
7946 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7947
7948         * toc.C (getTocList): Get TOC from InsetWrap.
7949
7950 2002-09-16  John Levon  <levon@movementarian.org>
7951
7952         * lyxfunc.C: check tabular for cut/copy too
7953
7954 2002-09-12  John Levon  <levon@movementarian.org>
7955
7956         * LyXAction.C: tidy
7957
7958         * factory.h:
7959         * factory.C: add header
7960
7961         * paragraph_funcs.h:
7962         * paragraph_funcs.C: cleanup
7963
7964 2002-09-11  John Levon  <levon@movementarian.org>
7965
7966         * PrinterParams.h: odd/even default to true
7967
7968 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7969
7970         * PrinterParams.h: update printer parameters for new xforms dialog
7971
7972 2002-09-11  Angus Leeming  <leeming@lyx.org>
7973
7974         * lyxserver.C (read_ready): re-write to make it more transparent
7975         and to make it work in coherent fashion under Tru64 Unix.
7976
7977 2002-09-11  André Pönitz <poenitz@gmx.net>
7978
7979         * commandtags.h:
7980         * LyXAction.C:
7981         * text3.C: implement LFUN_WORDSEL
7982
7983 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7986         make floatlist_ a boost::shared_ptr<FloatList>
7987
7988         * lyxtextclass.C: include FloatList.h
7989         (LyXTextClass): initialize floatlist_
7990         (TextClassTags): add TC_NOFLOAT
7991         (Read): match "nofloat" to TC_NOFLOAT and use it.
7992         (readFloat): modify call to floatlist_
7993         (floats): ditto
7994         (floats): ditto
7995
7996         * FloatList.[Ch] (FloatList): remove commented out float
7997         initialization.
7998         (erase): new function
7999
8000 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8001
8002         * MenuBackend.C (expandToc): fix crash when there is no document
8003         open
8004
8005 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8006
8007         * many files: Add insetwrap.
8008
8009 2002-09-09  John Levon  <levon@movementarian.org>
8010
8011         * text2.C: remove confusing and awkward depth wraparound
8012
8013 2002-09-09  John Levon  <levon@movementarian.org>
8014
8015         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8016
8017         * buffer.h:
8018         * buffer.C: remove getIncludeonlyList()
8019
8020         * paragraph.C:
8021         * lyxfunc.C: remove headers
8022
8023 2002-09-09  Juergen Vigna  <jug@sad.it>
8024
8025         * text.C (getColumnNearX): fix form Michael this is most
8026         probably a cut&paste bug.
8027
8028 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8031
8032         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8033         references, ws changes.
8034
8035         * text2.C (init): update counters after init
8036         (insertParagraph): no need to set counter on idividual paragraphs.
8037         (setCounter): access the counters object in the textclass object
8038         on in the buffer object.
8039         (updateCounters): ditto
8040
8041         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8042         shared_ptr<Counters> to avoid loading counters.h in all
8043         compilation units.
8044         (LyXTextClass): initialize ctrs_
8045         (TextClassTags): add TC_COUNTER, and ...
8046         (Read): use it here.
8047         (CounterTags): new tags
8048         (readCounter): new function
8049         (counters): new funtion
8050         (defaultLayoutName): return a const reference
8051
8052         * counters.C (Counters): remove contructor
8053         (newCounter): remove a couple of unneeded statements.
8054         (newCounter): simplify a bit.
8055         (numberLabel): some small formatting changes.
8056
8057         * buffer.[Ch]: remove all traces of counters, move the Counters
8058         object to the LyXTextClass.
8059
8060 2002-09-06  Alain Castera  <castera@in2p3.fr>
8061
8062         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8063         package to set the horizontal alignment on fixed width columns.
8064
8065         * lyx_sty.C:
8066         * lyx_sty.h: added tabularnewline macro def.
8067
8068         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8069
8070 2002-09-06  John Levon  <levon@movementarian.org>
8071
8072         * LyXAction.C: tooltips for sub/superscript
8073
8074         * MenuBackend.C: a bit more verbose
8075
8076         * lyxfunc.C: tiny clean
8077
8078         * undo_funcs.C: document undo_frozen
8079
8080 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * counters.C (Counters): add missing algorithm counter.
8083
8084         * text2.C (setCounter): lookup the counter with layouts latexname
8085         instead of by section number.
8086         (setCounter): use a hackish way to lookup the correct enum
8087         counter.
8088         a float name->type change
8089         reset enum couners with counter name directly instead of depth value.
8090
8091         * counters.C (Counters): remove the push_backs, change to use the
8092         float type not the float name.
8093         (labelItem): remove unused string, float name->type change
8094
8095         * counters.h: don't include vector, loose the enums and sects vectors
8096
8097 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8100         (Read): add float->TC_FLOAT to textclassTags
8101         (Read): and handle it in the switch
8102         (readFloat): new function
8103
8104         * FloatList.C (FloatList): comment out the hardcoded float
8105         definitions.
8106
8107         * lyxlayout.h: ws change.
8108
8109 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8110
8111         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8112
8113 2002-09-03  Angus Leeming  <leeming@lyx.org>
8114
8115         * BufferView_pimpl.h: qualified name is not allowed in member
8116         declaration: WorkArea & Pimpl::workarea() const;
8117
8118         * factory.C: added using std::endl directive.
8119
8120         * text3.C: added using std::find and std::vector directives.
8121
8122 2002-08-29  André Pönitz <poenitz@gmx.net>
8123
8124         * lyxtext.h:
8125         * text2.C: remove unused member number_of_rows
8126
8127         * Makefile.am:
8128         * BufferView2.C: remove file, move contents to...
8129         * BufferView.C: ... here
8130
8131         * BufferView_pimpl.C:
8132         * factory.C: move more inset creation to factory
8133
8134         * vspace.C: avoid direct usage of LyXText, ws changes
8135
8136         * BufferView.[Ch]:
8137                 don't provide direct access to WorkArea, use two simple
8138                 acessors haveSelction() and workHeight() instead
8139
8140
8141 2002-08-29  John Levon  <levon@movementarian.org>
8142
8143         * BufferView_pimpl.C (dispatch): do not continue when
8144           no buffer
8145
8146 2002-08-28  André Pönitz <poenitz@gmx.net>
8147
8148         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8149
8150         * BufferView.h:
8151         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8152
8153 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8154
8155         * buffer.C: increment LYX_FORMAT to 221
8156
8157         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8158         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8159
8160         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8161
8162         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8163
8164 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8165
8166         * factory.C (createInset): use LyXTextClass::floats
8167
8168         * MenuBackend.C (expandFloatListInsert):
8169         (expandFloatInsert):
8170         (expandToc):
8171
8172         * text2.C (setCounter):
8173
8174         * LaTeXFeatures.C (useFloat):
8175         (getFloatDefinitions):
8176
8177         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8178
8179         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8180         floatlist_, with accessor floats().
8181
8182         * FloatList.h: remove global FloatList
8183
8184 2002-08-26  André Pönitz <poenitz@gmx.net>
8185
8186         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8187
8188         * BufferView.h:
8189         * BufferView2.C:
8190         * BufferView_pimpl.C:
8191         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8192
8193 2002-08-25  John Levon  <levon@movementarian.org>
8194
8195         * LyXAction.C: fix margin note description
8196
8197 2002-08-24  John Levon  <levon@movementarian.org>
8198
8199         * buffer.C:
8200         * bufferlist.C:
8201         * bufferview_funcs.C:
8202         * lyxfont.C:
8203         * undo_funcs.C: cleanups
8204
8205         * lyxfunc.C: disable CUT/COPY when no selection
8206
8207 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8208
8209         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8210         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8211
8212         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8213         Add backward compatibility to "mono", "gray" and "no".
8214
8215 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8218         (and file_format >= 200).
8219
8220 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8223
8224 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8227
8228 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8229
8230         * BufferView_pimpl.C:
8231         * LyXAction.C:
8232         * buffer.C:
8233         * commandtags.h:
8234         * lyxfunc.C:
8235         * paragraph.[Ch]:
8236         * text2.C:
8237         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8238         inset and code to make it  work with the paragraph code. The inset
8239         can be anywhere in the paragraph, but will only do the expected
8240         thing in LaTeX if the layout file contains the parameter line
8241                         OptionalArgs    1
8242         (or more generally, a nonzero value) for that layout.
8243
8244 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8245
8246         * paragraph.h: remove the declaration of undefined counters class
8247         function.
8248
8249 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8250
8251         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8252         Dr. Richard Hawkins.
8253
8254 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8255
8256         * paragraph_funcs.h: remove some unneeded includes
8257
8258         * text.C (backspace): pasteParagraph now in global scipe
8259
8260         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8261         (pasteSelection): ditto
8262
8263         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8264         * paragraph_funcs.C (pasteParagraph): ... here
8265
8266 2002-08-20  André Pönitz <poenitz@gmx.net>
8267
8268         * commandtags.h: new LFUNs for swapping/copying table row/colums
8269
8270         * LyXAction.C:
8271         * lyxfunc.C: support for new lfuns
8272
8273 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * tabular.C:
8276         * buffer.[Ch]: remove NO_COMPABILITY stuff
8277
8278 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * boost.C (throw_exception): new file, with helper function for
8281         boost compiled without exceptions.
8282
8283         * paragraph.h:
8284         * lyxlength.C:
8285         * buffer.C:
8286         * ParameterStruct.h:
8287         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8288
8289         * bufferlist.C (emergencyWriteAll): use boost bind
8290
8291         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8292
8293         * text.C: include paragraph_funcs.h
8294         (breakParagraph): breakParagraph is now in global scope
8295
8296         * paragraph_funcs.[Ch]: new files
8297
8298         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8299         global scope
8300
8301         * buffer.C: include paragraph_funcs.h
8302         (insertStringAsLines): breakParagraph is now in global scope
8303
8304         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8305         paragraph_funcs.C
8306
8307         * CutAndPaste.C: include paragraph_funcs.h
8308         (cutSelection): breakParagraphConservative is now in global scope
8309         (pasteSelection): ditto
8310
8311         * buffer.h: declare oprator== and operator!= for
8312         Buffer::inset_iterator
8313
8314         * bufferlist.C (emergencyWrite): don't use fmt(...)
8315
8316         * text3.C: add using std::endl
8317
8318         * BufferView.C (moveCursorUpdate): remove default arg
8319
8320 2002-08-20  André Pönitz <poenitz@gmx.net>
8321
8322         * buffer.[Ch]: move inline functions to .C
8323
8324         * BufferView2.C:
8325         * BufferView_pimpl.C:
8326         * text.C:
8327         * buffer.[Ch]: use improved inset_iterator
8328
8329         * buffer.C:
8330         * paragraph.[Ch]: write one paragraph at a time
8331
8332 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8333
8334         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8335         style if style is not specified.
8336
8337 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * text2.C (setCounter): when searching for right label for a
8340         caption, make sure to recurse to parent insets (so that a caption
8341         in a minipage in a figure float works) (bug #568)
8342
8343 2002-08-20  André Pönitz <poenitz@gmx.net>
8344
8345         * text3.C: new file for LyXText::dispatch() and helpers
8346
8347         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8348
8349         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8350
8351 2002-08-19  André Pönitz <poenitz@gmx.net>
8352
8353         * lyxtext.h:
8354         * text.C: new LyXText::dispatch()
8355
8356         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8357
8358 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8359
8360         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8361
8362         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8363         Hebrew text.
8364
8365 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * Makefile.am: use $(variables) instead of @substitutions@
8368
8369 2002-08-15  André Pönitz <poenitz@gmx.net>
8370
8371         * lyxfunc.C:
8372         * BufferView_pimpl.C: streamlining mathed <-> outer world
8373         interaction
8374
8375         * commandtags.h:
8376         * LyXAction.C: remove unused LFUN_MATH
8377
8378 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8381
8382 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * paragraph.C (Paragraph): reformat a bit
8385         (cutIntoMinibuffer): use builtin InsetList function instad of
8386         doing it manually.
8387         (getInset): ditto
8388
8389         * buffer.C: include boost/bind.hpp, add using std::for_each
8390         (writeFileAscii): use ParagraphList iterators
8391         (validate): use for_each for validate traversal of paragraphs
8392         (getBibkeyList): use ParagraphList iterators
8393         (resizeInsets): use for_each to resizeInsetsLyXText for all
8394         paragraphs.
8395         (getParFromID): use ParagraphList iterators
8396
8397         * BufferView2.C (lockInset): use paragraph list and iterators
8398
8399 2002-08-14  John Levon  <levon@movementarian.org>
8400
8401         * lyxserver.C: remove spurious xforms include
8402
8403 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8404
8405         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8406
8407 2002-08-13  André Pönitz <poenitz@gmx.net>
8408
8409         * LyXAction.[Ch]:
8410         * lyxfunc.C: further cleaning
8411
8412 2002-08-13  André Pönitz <poenitz@gmx.net>
8413
8414         * funcrequest.h: new constructor
8415
8416         * funcrequest.C: move stuff here from .h
8417
8418         * Makefile.am:
8419         * BufferView_pimpl.C:
8420         * LyXAction.C:
8421         * toc.C:
8422         * lyxfunc.C: subsequent changes
8423
8424         * lyxfunc.h: new view() member function
8425
8426         * lyxfunc.C: subsequent changes
8427
8428 2002-08-13  Angus Leeming  <leeming@lyx.org>
8429
8430         * BufferView2.C:
8431         * BufferView_pimpl.C:
8432         * buffer.C:
8433         * converter.C:
8434         * importer.C:
8435         * lyxfunc.C:
8436         * lyxvc.C:
8437         * toc.C:
8438         * vc-backend.C:
8439         changes due to the changed LyXView interface that now returns references
8440         to member variables not pointers.
8441
8442 2002-08-13  Angus Leeming  <leeming@lyx.org>
8443
8444         * WordLangTuple (word, lang_code): return references to strings,
8445         not strings.
8446
8447         * BufferView.h:
8448         * SpellBase.h:
8449         * lyxtext.h: forward-declare WordLangTuple.
8450
8451         * BufferView2.C:
8452         * ispell.C:
8453         * pspell.C:
8454         * text.C: #include "WordLangTuple.h".
8455
8456         * lyxtext.h:
8457         * text.C: (selectNextWordToSpellcheck): constify return type.
8458
8459 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8460
8461         * buffer.C:
8462         * buffer.h:
8463         * lyxtext.h:
8464         * paragraph.C:
8465         * paragraph_pimpl.h:
8466         * text.C:
8467         * text2.C:
8468         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8469         suggested by Angus.
8470         Made updateCounter always count from start of buffer, and removed
8471         second argument (par).
8472         Reverted floats number display to '#'. Perhaps I'll try again when the
8473         code base is sanitized a bit.
8474
8475 2002-08-12  Angus Leeming  <leeming@lyx.org>
8476
8477         * buffer.[Ch] (getLabelList): constify.
8478
8479 2002-08-07  André Pönitz <poenitz@gmx.net>
8480
8481         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8482
8483         * funcrequest.h: extension to keep mouse (x,y) position
8484
8485 2002-08-12  Juergen Vigna  <jug@sad.it>
8486
8487         * BufferView2.C (insertErrors): forbid undo when inserting error
8488         insets.
8489
8490         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8491
8492 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * ParagraphList.[Ch]: new files
8495
8496         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8497
8498         * BufferView2.C (lockInset): ParagraphList changes
8499         * toc.C: ditto
8500         * text2.C: ditto
8501         * bufferlist.C: ditto
8502         * buffer.h: ditto
8503         * buffer.C: ditto
8504
8505 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8508         unused class variable counter_,
8509
8510         * paragraph.[Ch] (getFirstCounter): delete unused function
8511
8512         * counters.C: include LAssert.h
8513         (reset): add a new function with no arg, change other version to
8514         not have def. arg and to not allow empty arg.
8515
8516         * text2.C (setCounter): remove empty arg from call to Counters::reset
8517
8518 2002-08-11  John Levon  <levon@movementarian.org>
8519
8520         * Makefile.am: add WordLangTuple.h
8521
8522 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8525         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8526
8527         * insets/insettext.C: InsetList changes
8528
8529         * graphics/GraphicsSupport.C (operator()): InsetList changes
8530
8531         * toc.C (getTocList): InsetList changes
8532
8533         * paragraph_pimpl.[Ch]: InsetList changes
8534
8535         * paragraph.[Ch]: InsetList changes
8536
8537         * buffer.C (inset_iterator): InsetList changes
8538         (setParagraph): ditto
8539         * buffer.h (inset_iterator): ditto
8540         * iterators.C (operator++): ditto
8541         * iterators.h: ditto
8542
8543         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8544
8545         * InsetList.[Ch]: new files, most InsetList handling moved out of
8546         paragraph.C.
8547
8548         * BufferView2.C (removeAutoInsets): InsetList changes
8549         (lockInset): ditto
8550         (ChangeInsets): ditto
8551
8552 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * paragraph_pimpl.h (empty): new function
8555
8556         * paragraph.[Ch] (empty): new function
8557
8558         * other files: use the new Paragraph::empty function
8559
8560 2002-08-09  John Levon  <levon@movementarian.org>
8561
8562         * lyxtext.h: remove unused refresh_height
8563
8564 2002-08-09  John Levon  <levon@movementarian.org>
8565
8566         * Makefile.am:
8567         * sgml.h:
8568         * sgml.C:
8569         * buffer.C:
8570         * paragraph.h:
8571         * paragraph.C: move sgml char escaping out of paragraph
8572
8573         * paragraph.h:
8574         * paragraph.C: remove id setter
8575
8576         * buffer.C:
8577         * paragraph.C:
8578         * paragraph_pimpl.C: remove dead tex_code_break_column
8579
8580         * bufferview_funcs.C: small cleanup
8581
8582         * lyxfunc.C: remove dead proto
8583
8584         * lyxtext.h: make some stuff private. Remove some dead stuff.
8585
8586         * lyxgluelength.C: make as[LyX]String() readable
8587
8588 2002-08-08  John Levon  <levon@movementarian.org>
8589
8590         * LyXAction.h:
8591         * LyXAction.C:
8592         * MenuBackend.C:
8593         * ToolbarDefaults.C:
8594         * lyxfunc.C:
8595         * lyxrc.C:
8596         * toc.C: lyxaction cleanup
8597
8598 2002-08-08  John Levon  <levon@movementarian.org>
8599
8600         * BufferView2.C: small cleanup
8601
8602         * lyxfind.h:
8603         * lyxfind.C: move unnecessary header into the .C
8604
8605 2002-08-08  John Levon  <levon@movementarian.org>
8606
8607         * funcrequest.h: just tedious nonsense
8608
8609         * lyx_main.h:
8610         * lyx_main.C: cleanups
8611
8612         * buffer.C:
8613         * vspace.C: remove dead header lyx_main.h
8614
8615 2002-08-07  Angus Leeming  <leeming@lyx.org>
8616
8617         * Paragraph.[Ch]:
8618         * paragraph_pimpl.h:
8619         Forward declare class Counters in paragraph.h by moving the ctrs member
8620         variable into Paragraph::Pimpl.
8621         (counters): new method, returning a reference to pimpl_->ctrs.
8622
8623         * text2.C: ensuing changes.
8624
8625 2002-08-07  John Levon  <levon@movementarian.org>
8626
8627         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8628
8629         * BufferView_pimpl.C: announce X selection on double/triple
8630           click
8631
8632         * lyx_main.C: use correct bool in batch dispatch
8633
8634         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8635
8636 2002-08-07  André Pönitz <poenitz@gmx.net>
8637
8638         * funcrequest.h: new class to wrap a kb_action and its argument
8639
8640         * BufferView.[Ch]:
8641         * BufferView_pimpl[Ch]:
8642         * LaTeX.C:
8643         * LyXAction.[Ch]:
8644         * lyxfunc.[Ch]:
8645         * lyxrc.C: subsequent changes
8646
8647
8648 2002-08-07  John Levon  <levon@movementarian.org>
8649
8650         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8651           document options change.
8652
8653 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8654
8655         * counters.[Ch]
8656         * text2.C
8657         * paragraph.[Ch]
8658         * makefile.am: move counters functionality over from
8659         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8660
8661 2002-08-06  John Levon  <levon@movementarian.org>
8662
8663         * WordLangTuple.h: new file for word + language code tuple
8664
8665         * SpellBase.h:
8666         * pspell.h:
8667         * pspell.C:
8668         * ispell.h:
8669         * ispell.C:
8670         * lyxtext.h:
8671         * text.C:
8672         * text2.C:
8673         * BufferView.h:
8674         * BufferView2.C: use WordLangTuple
8675
8676         * layout.h:
8677         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8678
8679 2002-08-06  John Levon  <levon@movementarian.org>
8680
8681         * lyx_main.C: fix cmdline batch handling
8682
8683 2002-08-06  André Pönitz <poenitz@gmx.net>
8684
8685         * lyxrc.C: set default for show_banner to true
8686
8687 2002-08-06  John Levon  <levon@movementarian.org>
8688
8689         * pspell.C: fix a crash, and allow new aspell to work
8690
8691 2002-08-06  John Levon  <levon@movementarian.org>
8692
8693         * lyxfunc.C:
8694         * kbmap.C: small cleanup
8695
8696         * vspace.h:
8697         * vspace.C: add const
8698
8699 2002-08-05  John Levon  <levon@movementarian.org>
8700
8701         * LyXAction.C: back to tabular-insert
8702
8703 2002-08-04  John Levon  <levon@movementarian.org>
8704
8705         * BufferView.h:
8706         * BufferView.C: cosmetic change
8707
8708         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8709
8710         * bufferlist.C:
8711         * buffer.h:
8712         * buffer.C:
8713         * lyxcb.h:
8714         * lyxcb.C:
8715         * lyxserver.C:
8716         * lyxvc.C:
8717         * vc-backend.C:
8718         * BufferView2.C: purge all "Lyx" not "LyX" strings
8719
8720         * lyxcursor.h:
8721         * lyxcursor.C: attempt to add some documentation
8722
8723         * lyxfunc.C:
8724         * commandtags.h:
8725         * LyXAction.C:
8726         * ToolbarDefaults.C:
8727         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8728           merge with LFUN_TABULAR_INSERT
8729
8730         * Makefile.am:
8731         * SpellBase.h:
8732         * ispell.h:
8733         * ispell.C:
8734         * pspell.h:
8735         * pspell.C: split up i/pspell implementations into separate
8736           files, many cleanups
8737
8738         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8739
8740         * text2.C: some cleanup
8741
8742         * lyxfunc.C: don't check for isp_command == "none" any more, it
8743           didn't make any sense
8744
8745 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8746
8747         * counters.[Ch]
8748         * text2.C
8749         * paragraph.[Ch]
8750         * makefile.am: move counters functionality over
8751         from text2.C/paragraph.[Ch] to counters.[Ch], and
8752         make proper C++.
8753 2002-08-02  John Levon  <levon@movementarian.org>
8754
8755         * buffer.C: s/lyxconvert/lyx2lyx/
8756
8757 2002-08-02  Angus Leeming  <leeming@lyx.org>
8758
8759         * lyxlex.C: revert John's change as it breaks reading of the user
8760         preamble.
8761
8762 2002-08-02  Angus Leeming  <leeming@lyx.org>
8763
8764         * importer.C (Import):
8765         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8766         changes due to LyXView::view() now returning a boost::shared_ptr.
8767
8768 2002-08-02  John Levon  <levon@movementarian.org>
8769
8770         * lyxlex.C: small cleanup
8771
8772 2002-08-02  John Levon  <levon@movementarian.org>
8773
8774         * text2.C (status): small cleanup, no logic change
8775
8776 2002-08-01  John Levon  <levon@movementarian.org>
8777
8778         * buffer.h:
8779         * buffer.C (writeFile): don't output alerts, caller
8780           handles this
8781
8782         * bufferlist.C:
8783         * lyx_cb.C: from above
8784
8785         * lyxfunc.C: allow to open non-existent files
8786
8787 2002-07-31  John Levon  <levon@movementarian.org>
8788
8789         * lyxserver.C: don't let incidental errors get
8790           in the way (errno)
8791
8792 2002-07-30  John Levon  <levon@movementarian.org>
8793
8794         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8795
8796 2002-07-30  John Levon  <levon@movementarian.org>
8797
8798         * lyxserver.h:
8799         * lyxserver.C: remove I/O callback too
8800
8801 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8802
8803         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8804         log.
8805
8806 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * many files: strip,frontStrip -> trim,ltrim,rtrim
8809
8810 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * PrinterParams.h: remove extern containsOnly, and include
8813         support/lstrings.h instead.
8814
8815         * LaTeX.C (scanAuxFile): modify because of strip changes
8816         (deplog): ditto
8817         * buffer.C (makeLaTeXFile): ditto
8818         * bufferparams.C (writeFile): ditt
8819         * lyxfont.C (stateText): ditto
8820         * lyxserver.C (read_ready): ditto
8821         * vc-backend.C (scanMaster): ditto
8822
8823         * BufferView_pimpl.h: ws changes
8824
8825         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8826
8827 2002-07-26  André Pönitz <poenitz@gmx.net>
8828
8829         * kb_sequence.C: remove unnedred usings
8830
8831 2002-07-26  Juergen Vigna  <jug@sad.it>
8832
8833         * lyxfind.C (LyXReplace): we have to check better if the returned
8834         text is not of theLockingInset()->getLockingInset().
8835
8836 2002-07-25  Juergen Vigna  <jug@sad.it>
8837
8838         * lyxfind.C (LyXReplace): don't replace if we don't get the
8839         right LyXText.
8840
8841         * undo_funcs.C (createUndo): remove debugging code.
8842
8843 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8844
8845         * buffer.C (parseSingleLyXformat2Token): Use default placement
8846         when reading old floats.
8847
8848         * FloatList.C (FloatList): Change the default placement of figure
8849         and tables to "tbp".
8850
8851 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8852
8853         * MenuBackend.C: using std::max
8854
8855 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * MenuBackend.C (expandToc):
8858         (expandToc2): code moved from xforms menu frontend. It is now
8859         generic and TOCs are transparent to menu frontends.
8860
8861 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * toc.C (getTocList): protect against buf=0
8864
8865         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8866         Menu as first parameter. Now, this calls itself recursively to
8867         expand a whole tree (this will be useful for TOC handling)
8868         (expandFloatInsert): remove 'wide' version of floats
8869
8870         * MenuBackend.h (submenuname): returns the name of the submenu.
8871         (submenu): returns the submenu itself, provided it has been
8872         created by MenuBackend::expand
8873
8874 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8877         insets which have noFontChange == true. (bug #172)
8878
8879 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8880
8881         * BufferView_pimpl.C: add connection objects and use them...
8882         (Pimpl): here.
8883
8884 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * MenuBackend.C (expandLastfiles):
8887         (expandDocuments):
8888         (expandFormats):
8889         (expandFloatListInsert):
8890         (expandFloatInsert):
8891         (expand): split expand in parts
8892
8893 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * lyx_gui.C: use lyx_gui::exit()
8896
8897 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * LyXAction.C: show the failing pseudo action
8900
8901 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * buffer.C (readFile): Run the lyxconvert script in order to read
8904         old files.
8905
8906 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8907
8908         * LyXAction.C:
8909         * commandtags.h:
8910         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8911
8912 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * LyXAction.C:
8915         * commandtags.h:
8916         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8917
8918 2002-07-22  Herbert Voss  <voss@lyx.org>
8919
8920         * lengthcommon.C:
8921         * lyxlength.[Ch]: add support for the vertical lengths
8922
8923 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8924
8925         * toc.[Ch]: std:: fixes
8926
8927 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * lyxrc.C: do not include lyx_main.h
8930
8931         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8932         for layouts
8933
8934         * lyxrc.C:
8935         * encoding.C:
8936         * bufferlist.C:
8937         * BufferView2.C: include "lyxlex.h"
8938
8939         * tabular.h:
8940         * bufferparams.h: do not #include "lyxlex.h"
8941
8942         * lyxtextclasslist.C (Add): remove method
8943         (classlist): renamed to classlist_
8944
8945         * paragraph_pimpl.C:
8946         * paragraph.C:
8947         * text2.C:
8948         * CutAndPaste.C:
8949         * bufferview_funcs.C:
8950         * bufferlist.C:
8951         * text.C:
8952         * LaTeXFeatures.C:
8953         * buffer.C:
8954         * toc.C (getTocList): use BufferParams::getLyXTextClass
8955
8956         * toc.C (getTocList): use InsetFloat::addToToc
8957
8958         * toc.[Ch]: new files, containing helper functions to handle table
8959         of contents
8960
8961         * lyxfunc.C (dispatch): no need to remove spaces around command
8962         given as a string
8963         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8964         first command of the sequence; it is not very clever, but I do not
8965         have a better idea, actually
8966
8967         * LyXAction.C (LookupFunc): make sure to remove space at the
8968         beginning and end of the command
8969
8970 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * MenuBackend.C (getMenubar): new method: return the menubar of
8973         this menu set
8974         (read): treat differently reading of menu and menubar (in
8975         particular, the menubar has no name now)
8976         (Menu::menubar): remove
8977
8978         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8979         saving is finished
8980
8981 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8982
8983         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8984         a bibitem inset in a RTL paragraph.
8985
8986 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * paragraph_pimpl.C: constify
8989
8990         * BufferView_pimpl.C:
8991         * LaTeX.C:
8992         * lyxfunc.C: fix dispatch in a nicer way
8993
8994 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8995
8996         * lyxfunc.C (dispatch):
8997         * BufferView_pimpl.C:
8998         * BufferView_pimpl.h:
8999         * BufferView.C:
9000         * BufferView.h: rename Dispatch() to dispatch()
9001
9002         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9003
9004         * lyxlayout.C (Read): honor DependsOn tag
9005
9006         * lyxlayout.[Ch] (depends_on): new method
9007
9008         * version.C.in: update lyx_docversion
9009
9010         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9011
9012         * paragraph.C (validate): remove from here...
9013         * paragraph_pimpl.C (validate): ... and move here
9014         (isTextAt): make it const
9015
9016         * buffer.C (getLists): ws cleanup
9017
9018 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9019
9020         * language.C (read): Use iso8859-1 encoding in latex_lang
9021         (this prevents LyX from crashing when using iso10646-1 encoding).
9022
9023 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * text2.C (toggleInset): if cursor is inside an inset, close the
9026         inset and leave cursor _after_ it
9027
9028 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * lyxfunc.C: move minibuffer completion handling out of here
9031
9032 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9033
9034         * BufferView_pimpl.C:
9035         * LaTeX.C: fix dispatch calls
9036
9037 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9038
9039         * text.C (drawChars): Fix Arabic text rendering.
9040
9041 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9042
9043         * LyXAction.C:
9044         * commandtags.h:
9045         * lyxfunc.C: remove message-push/pop
9046
9047         * lyxserver.C:
9048         * lyxfunc.h:
9049         * lyxfunc.C: rationalise some code by removing verboseDispatch
9050           in favour of a bool argument to dispatch()
9051
9052 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9053
9054         * lyx_main.C (init): make sure to read symlinks as absolute paths
9055
9056 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9057
9058         * lyxfunc.h:
9059         * lyxfunc.C: no need for commandshortcut to be a member
9060
9061 2002-07-15  André Pönitz <poenitz@gmx.net>
9062
9063         * converter.C: add support for $$s (scripts from lib/scripts dir)
9064         * lyx_main.C: white space
9065
9066 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9067
9068         * bufferlist.C:
9069         * lyxrc.h:
9070         * lyxrc.C: remove second exit confirmation
9071
9072 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9073
9074         * BufferView.h:
9075         * BufferView.C:
9076         * BufferView2.C:
9077         * BufferView_pimpl.h:
9078         * BufferView_pimpl.C:
9079         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9080
9081 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * MenuBackend.C (expand): add numeric shortcuts to document menu
9084
9085         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9086
9087 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * lyxfont.C (setLyXFamily):
9090         (setLyXSeries):
9091         (setLyXShape):
9092         (setLyXSize):
9093         (setLyXMisc):
9094         (lyxRead):
9095         * debug.C (value):
9096         * buffer.C (asciiParagraph): use ascii_lowercase
9097
9098 2002-07-15  Mike Fabian  <mfabian@suse.de>
9099
9100         * lyxlex_pimpl.C (search_kw):
9101         * lyxlex.C (getLongString):
9102         * converter.h (operator<):
9103         * converter.C (operator<):
9104         * buffer.C (parseSingleLyXformat2Token):
9105         (asciiParagraph):
9106         * ToolbarDefaults.C (read):
9107         * MenuBackend.C (checkShortcuts):
9108         (read):
9109         * LColor.C (getFromGUIName):
9110         (getFromLyXName): use the compare_ascii_no_case instead of
9111         compare_no_case, because in turkish, 'i' is not the lowercase
9112         version of 'I', and thus turkish locale breaks parsing of tags.
9113
9114 2002-07-16  Angus Leeming  <leeming@lyx.org>
9115
9116         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9117         now takes a Buffer const & argument.
9118
9119 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * BufferView.C (resize): check there's a buffer to resize
9122
9123 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * lyxfunc.C: remove dead code
9126
9127         * lyxserver.h:
9128         * lyxserver.C: use lyx_guii::set_read_callback
9129
9130 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9131
9132         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9133         an inset in a RTL paragraph.
9134
9135 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9136
9137         * lyxfunc.C: repaint after a font size update
9138
9139 2002-07-15  André Pönitz <poenitz@gmx.net>
9140
9141         * lyxlength.C: inBP should be able to return negative values
9142
9143 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9144
9145         * lyxfunc.C: use lyx_gui::update_fonts()
9146
9147 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * lyxfunc.C: use lyx_gui::update_color()
9150
9151 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * bufferlist.C:
9154         * lyxfunc.h:
9155         * lyxfunc.C:
9156         * lyxrc.h:
9157         * lyxrc.C: remove file->new asks for name option, and let
9158           buffer-new take an argument
9159
9160 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9161
9162         * BufferView_pimpl.C: remove unneeded extra repaint()
9163
9164 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * LyXAction.C: allow command-sequence with NoBuffer
9167
9168         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9169
9170 2002-07-10  Angus Leeming  <leeming@lyx.org>
9171
9172         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9173
9174 2002-07-09  Angus Leeming  <leeming@lyx.org>
9175
9176         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9177
9178 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * lengthcommon.h: whitespace
9181
9182         * lyxfunc.C: update scrollbar after goto paragraph
9183
9184         * lyxtext.h: factor out page break drawing, and fix it so
9185           page break/added space paints as selected nicely
9186
9187 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9188
9189         * BufferView_pimpl.C: add FIXMEs, clean up a little
9190
9191 2002-07-09  André Pönitz <poenitz@gmx.net>
9192
9193         * lyxfont.[Ch]: support for wasy symbols
9194
9195 2002-07-08  André Pönitz <poenitz@gmx.net>
9196
9197         * BufferView_pimpl.C: apply John's patch for #93.
9198
9199 2002-07-05  Angus Leeming  <leeming@lyx.org>
9200
9201         * BufferView_pimpl.C (buffer): generate previews if desired.
9202
9203         * LColor.h: add "preview" to the color enum.
9204
9205         * LColor.C (LColor): add a corresponding entry to the items array.
9206
9207         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9208         with this buffer.
9209
9210 2002-07-05  Angus Leeming  <leeming@lyx.org>
9211
9212         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9213         The body of the code is now in the method that is passed an ostream &
9214         rather than a file name.
9215         Pass an additional only_preamble parameter, useful for the forthcoming
9216         preview stuff.
9217
9218 2002-07-03  André Pönitz <poenitz@gmx.net>
9219
9220         * lyxfunc.C: simplify getStatus() a bit for math stuff
9221
9222 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9223
9224         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9225
9226 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * text.C (changeRegionCase): do not change case of all the
9229         document when region ends at paragraph end (bug #461)
9230
9231 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9232
9233         * paragraph.C (startTeXParParams):
9234         (endTeXParParams): add \protect when necessary
9235
9236 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * BufferView_pimpl.C (workAreaExpose): remove warning
9239
9240 2002-06-27  Angus Leeming  <leeming@lyx.org>
9241
9242         * Makefile.am: add lyxlayout_ptr_fwd.h.
9243
9244 2002-06-26  André Pönitz <poenitz@gmx.net>
9245
9246         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9247
9248 2002-06-25  Angus Leeming  <leeming@lyx.org>
9249
9250         * lyxfunc.C (dispatch): Comment out the call to
9251         grfx::GCache::changeDisplay. The method no longer exists now that the
9252         pixmap generation part of the graphics loader has been moved into
9253         InsetGraphics.
9254
9255 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * text2.C: layout as layout
9258
9259         * text.C: layout as layout
9260
9261         * tabular.C (OldFormatRead): layout as layout
9262
9263         * paragraph_pimpl.C (TeXDeeper): layout as layout
9264         (realizeFont): layout as layout
9265
9266         * paragraph.C (writeFile): layout as layout
9267         (validate): layout as layout
9268         (getFont): layout as layout
9269         (getLabelFont): layout as layout
9270         (getLayoutFont): layout as layout
9271         (breakParagraph): layout as layout
9272         (stripLeadingSpaces): layout as layout
9273         (getEndLabel): layout as layout
9274         (getMaxDepthAfter): layout as layout
9275         (applyLayout): layout as layout
9276         (TeXOnePar): layout as layout
9277         (simpleTeXOnePar): layout as layout
9278         (TeXEnvironment): layout as layout
9279         (layout): layout as layout
9280         (layout): layout as layout
9281
9282         * lyxtextclass.C (compare_name): new functor to work with
9283         shared_ptr, layout as layout
9284         (Read): layout as layout
9285         (hasLayout): layout as layout
9286         (operator): layout as layout
9287         (delete_layout): layout as layout
9288         (defaultLayout): layout as layout
9289
9290         * lyxlayout_ptr_fwd.h: new file
9291
9292         * lyxlayout.C (Read): layout as layout
9293
9294         * lyx_cb.C (MenuInsertLabel): layout as layout
9295
9296         * bufferlist.C (newFile): layout as layout
9297
9298         * buffer.C (readLyXformat2): layout as layout
9299         (parseSingleLyXformat2Token): layout as layout
9300         (insertStringAsLines): layout as layout
9301         (asciiParagraph): layout as layout
9302         (latexParagraphs): layout as layout
9303         (makeLinuxDocFile): layout as layout
9304         (simpleLinuxDocOnePar): layout as layout
9305         (makeDocBookFile): layout as layout
9306         (simpleDocBookOnePar): layout as layout
9307         (getLists): layout as layout
9308
9309         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9310
9311         * CutAndPaste.C (cutSelection): layout as layout
9312         (pasteSelection): layout as layout
9313         (SwitchLayoutsBetweenClasses): layout as layout
9314
9315         * BufferView_pimpl.C (Dispatch): layout as layout
9316         (smartQuote): layout as layout
9317
9318         * BufferView2.C (unlockInset): layout as layout
9319
9320 2002-06-24  André Pönitz <poenitz@gmx.net>
9321
9322         * lyxfunc.C: fix #487
9323
9324 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * lyxrc.h:
9327         * lyxrc.C:
9328         * lyxfunc.C: remove display_shortcuts, show_banner
9329
9330 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * Buffer_pimpl.C: oops, update on resize
9333
9334 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9335
9336         * buffer.C:
9337         * converter.C:
9338         * exporter.C:
9339         * lyxfunc.C:
9340         * BufferView.h:
9341         * BufferView.C: use repaint()
9342
9343         * BufferView_pimpl.h:
9344         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9345           as it's a clearer description. Remove superfluous
9346           redraws.
9347
9348 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * text.C: fix bug 488. Not ideal, but getting
9351           getWord() to work properly for the insets that
9352           matter is more difficult ...
9353
9354 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * BufferView_pimpl.C:
9357         * LyXAction.C:
9358         * commandtags.h:
9359         * lyxfunc.C: remove the six million index lyxfuncs to just
9360           one, and DTRT (bug 458)
9361
9362 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * BufferView.h:
9365         * BufferView.C:
9366         * BufferView_pimpl.h:
9367         * BufferView_pimpl.C: clean up resize() stuff,
9368           and unnecessary updateScreen()s
9369
9370 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9371
9372         * BufferView.h:
9373         * BufferView.C:
9374         * BufferView_pimpl.h:
9375         * BufferView_pimpl.C:
9376         * lyxfind.h:
9377         * lyxfind.C:
9378         * minibuffer.C: remove focus management of workarea,
9379           not needed. Use screen's greyOut()
9380
9381 2002-06-17  Herbert Voss  <voss@lyx.org>
9382
9383         * converter.C: (convert) do not post a message, when converting
9384         fails, let the calling function decide what to do in this case
9385
9386 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * lyxfunc.C: tidy up a little
9389
9390 2002-06-16    <alstrup@diku.dk>
9391
9392         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9393         Got rid of FORMS_H_LOCATION include. Now we are
9394         GUII.
9395
9396 2002-06-15  LyX Development team  <lyx@rilke>
9397
9398         * buffer.[Ch] (sgmlOpenTag):
9399         (sgmlCloseTag): Added support for avoiding pernicious mixed
9400         content. Return number of lines written.
9401
9402         (makeLinuxDocFile):
9403         (makeDocBookFile): Fixed calls to sgml*Tag.
9404         Simple white space clean.
9405
9406         (simpleDocBookOnePar): Simple white space clean.
9407
9408         * tabular.[Ch] (docBook): Renamed to docbook and got another
9409         argument to related with the pernicious mixed content.
9410
9411         (docbookRow): Fixed calls for docbook inset method.
9412
9413 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9414
9415         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9416         so it's X11 independent.
9417
9418         * kb*.[Ch]: ditto.
9419
9420         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9421
9422 2002-06-15  Lyx Development team  <lyx@electronia>
9423
9424         * intl.h: Renamed getTrans to getTransManager.
9425
9426 2002-06-14  Angus Leeming  <leeming@lyx.org>
9427
9428         * Makefile.am: nuke forgotten stl_string_fwd.h.
9429
9430 2002-06-12  Angus Leeming  <leeming@lyx.org>
9431
9432         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9433
9434 2002-06-13  Angus Leeming  <leeming@lyx.org>
9435
9436         * LaTeX.C:
9437         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9438
9439 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9440
9441         * kbmap.C (getiso): add support for cyrillic and greek
9442
9443 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * BufferView.h:
9446         * BufferView.C:
9447         * BufferView_pimpl.h:
9448         * BufferView_pimpl.C: move bogus scrolling logic
9449           to xforms
9450
9451 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * lyxfunc.C:
9454         * BufferView_pimpl.C: view->resize() change
9455
9456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * BufferView_pimpl.C: topCursorVisible
9459           prototype change
9460
9461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * Makefile.am:
9464         * lyx_gui.h:
9465         * lyx_gui.C: move to frontends/
9466
9467         * main.C:
9468         * lyx_main.h:
9469         * lyx_main.C: changes from above
9470
9471 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * intl.C:
9474         * intl.h:
9475         * kbmap.C:
9476         * kbsequence.C:
9477         * lyx_cb.C:
9478         * lyx_main.C: minor tidy
9479
9480 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9481
9482         * BufferView_pimpl.h:
9483         * BufferView_pimpl.C:
9484         * BufferView.h:
9485         * BufferView.C: make painter() const,
9486           remove dead code
9487
9488         * BufferView2.C: use screen() accessor
9489
9490         * lyx_main.h:
9491         * lyx_main.C: some minor cleanup
9492
9493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * BufferView_pimpl.h:
9496         * BufferView_pimpl.C: remove enter/leaveView,
9497           use workHeight()
9498
9499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * BufferView.h:
9502         * BufferView.C:
9503         * BufferView2.C:
9504         * BufferView_pimpl.h:
9505         * BufferView_pimpl.C: only construct screen once,
9506           rename
9507
9508         * lyxrc.C: remove pointless comment
9509
9510 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * BufferView.h:
9513         * BufferView.C: remove active() and belowMouse()
9514
9515         * BufferView_pimpl.h:
9516         * BufferView_pimpl.C: use workarea() not workarea_,
9517           and make it use a scoped_ptr instead
9518
9519 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * lyx_gui.C: add debug message on BadWindow
9522
9523 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9524
9525         * sp_spell.C: fdopen is not part of the C++ standard.
9526
9527         * paragraph.C (InsetIterator): use >= instead of ==
9528
9529 2002-06-07  Angus Leeming  <leeming@lyx.org>
9530
9531         Fixes needed to compile with Compaq cxx 6.5.
9532         * BufferView_pimpl.C:
9533         * DepTable.C:
9534         * buffer.C:
9535         * converter.C:
9536         * encoding.C:
9537         * lyx_gui.C:
9538         * lyx_main.C:
9539         * lyxtextclasslist.C:
9540         * minibuffer.C:
9541         * sp_spell.C:
9542         * tabular_funcs.C:
9543         * vc-backend.C:
9544         all c-library variables have been moved into namespace std. Wrap
9545         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9546
9547         * lyxlength.C:
9548         * tabular-old.C:
9549         * tabular.C:
9550         Add a using std::abs declaration.
9551
9552         * kbmap.h (modifier_pair):
9553         * paragraph.h (InsetTable, InsetList):
9554         * lyxfont.h (FontBits):
9555         type definition made public.
9556
9557         * bufferlist.C (emergencyWriteAll): the compiler complains that
9558         there is more than one possible lyx::class_fun template to choose from.
9559         I re-named the void specialisation as lyx::void_class_fun.
9560
9561         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9562
9563         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9564         the compiler is is unable to find tostr in write_attribute.
9565
9566 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9567
9568         * buffer.C (sgmlError): hide #warning
9569
9570 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * xtl/*: get rid of xtl, which is not in use anyway
9573
9574         * LyXAction.C (init):
9575         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9576         were unimplemented xtl experimentation
9577
9578 2002-06-04  André Pönitz <poenitz@gmx.net>
9579
9580         * lyxfunc.C: disable array operation on simple formulae
9581
9582 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * converter.C: constify a bit
9585
9586 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * lyx_gui.C: check xforms version correctly
9589
9590 2002-04-30  Herbert Voss  <voss@lyx.org>
9591
9592         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9593         "keep" option
9594
9595 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9596
9597         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9598           attempt to register it with a VCS)
9599
9600 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * lyx_main.C (init): honor variables LYX_DIR_13x and
9603         LYX_USERDIR_13x
9604
9605 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * buffer.h:
9608         * buffer.C:
9609         * lyx_main.C: fix a crash on bad command line,
9610           and give a useful exit status on error
9611
9612         * lyxfunc.C (doImport): allow -i lyx to work
9613
9614 2002-03-30  André Pönitz <poenitz@gmx.net>
9615
9616         * lyxfunc.C: mathed font changes
9617
9618 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * LaTeX.C:
9621         * importer.h:
9622         * importer.C:
9623         * lyx_sty.h:
9624         * lyx_sty.C:
9625         * lyxlex.C:
9626         * lyxrow.h:
9627         * lyxtext.h:
9628         * paragraph.h:
9629         * paragraph.C:
9630         * texrow.h:
9631         * texrow.C:
9632         * text.C:
9633         * trans_mgr.h: srcdocs, and some minor cleanups
9634
9635 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9638         call getFont all the time)
9639
9640 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9641
9642         * switch from SigC signals to boost::signals
9643
9644 2002-05-29  André Pönitz <poenitz@gmx.net>
9645
9646         * paragraph_pimpl.C (getChar): don't call size() too often...
9647
9648 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9649
9650         * paragraph_pimpl.C (insertChar): do not try to update tables when
9651         appending (pos == size())
9652
9653         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9654         in order to reduce drastically the number of comparisons needed to
9655         parse a large document
9656
9657 2002-05-29  André Pönitz <poenitz@gmx.net>
9658
9659         * text.C:
9660         * text2.C:
9661         * lyxtextclass.C:
9662         * sp_pspell.h:
9663         * textclasslist.[Ch]:
9664         * sp_ispell.h: whitespace change
9665
9666 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9667
9668         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9669         lyxaction directly now.
9670
9671 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9672
9673         * trans.C:
9674         * lyxfont.C:
9675         * lyxvc.C: remove unused headers
9676
9677 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * Makefile.am:
9680         * buffer.h:
9681         * undostack.h:
9682         * undostack.C:
9683         * undo_funcs.h:
9684         * undo_funcs.C: some cleanups. Use shared_ptr
9685           and a template for the undo stacks.
9686
9687 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * BufferView_pimpl.h:
9690         * BufferView_pimpl.C:
9691         * kbmap.h:
9692         * kbmap.C:
9693         * kbsequence.h:
9694         * kbsequence.C:
9695         * lyxfunc.h:
9696         * lyxfunc.C:
9697         * text2.C: use key_state/mouse_state
9698
9699 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9700
9701         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9702         and LSubstring
9703
9704         * chset.C: change include order
9705         (loadFile): use boost regex and get rid of LRegex and LSubstring
9706
9707         * Makefile.am (BOOST_LIBS): new variable
9708         (lyx_LDADD): use it
9709
9710         * LaTeX.C: change include order.
9711         (scanAuxFile): use boost regex and get rid of LRegex and
9712         LSubstring
9713         (deplog): ditto
9714
9715 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * ColorHandler.h:
9718         * ColorHandler.C:
9719         * FontInfo.h:
9720         * FontInfo.C: moved to frontends/xforms/
9721
9722         * FontLoader.h:
9723         * FontLoader.C: moved into frontends for GUIIzation
9724
9725         * Makefile.am:
9726         * lyx_gui.C:
9727         * lyxfont.C:
9728         * lyxfunc.C: changes from above
9729
9730 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9731
9732         * LColor.C: remove spurious X include
9733
9734         * BufferView_pimpl.C:
9735         * Makefile.am:
9736         * font.h:
9737         * font.C:
9738         * text.C:
9739         * text2.C: move font metrics to frontends/
9740
9741 2002-05-24  Juergen Vigna  <jug@sad.it>
9742
9743         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9744         setting the undo_cursor.
9745
9746         * ParagraphParameters.h: include local includes first.
9747
9748 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * BufferView_pimpl.C:
9751         * BufferView_pimpl.h:
9752         * Makefile.am:
9753         * WorkArea.h:
9754         * WorkArea.C:
9755         * screen.C: move WorkArea into frontends/
9756
9757         * lyxscreen.h:
9758         * screen.C:
9759         * text.C:
9760         * BufferView.C:
9761         * BufferView2.C: move LyXScreen into frontends/
9762
9763         * lyxlookup.h:
9764         * lyxlookup.C:
9765         * lyx_gui.C: move lyxlookup into frontends/xforms/
9766
9767 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * BufferView2.C:
9770         * BufferView_pimpl.C:
9771         * FontLoader.C:
9772         * LyXView.h:
9773         * LyXView.C:
9774         * Makefile.am:
9775         * WorkArea.C:
9776         * XFormsView.h:
9777         * XFormsView.C:
9778         * buffer.C:
9779         * bufferlist.C:
9780         * bufferview_funcs.C:
9781         * converter.C:
9782         * importer.C:
9783         * lyx_cb.C:
9784         * lyx_gui.C:
9785         * lyx_main.C:
9786         * lyx_find.C:
9787         * lyxfunc.C:
9788         * lyxvc.C:
9789         * minibuffer.C:
9790         * text.C:
9791         * text2.C:
9792         * trans.C:
9793         * vc-backend.C: move LyX/XFormsView into frontends/
9794
9795 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * Makefile.am:
9798         * PainterBase.C:
9799         * PainterBase.h:
9800         * Painter.C:
9801         * Painter.h:
9802         * WorkArea.C:
9803         * WorkArea.h:
9804         * screen.C:
9805         * tabular.C:
9806         * text.C:
9807         * text2.C: move Painter to frontends/
9808
9809 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * buffer.C: comment out some some code that depend upon lyx_format
9812         < 220
9813
9814         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9815         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9816
9817         * buffer.h (NO_COMPABILITY): turn off compability
9818
9819         * ColorHandler.C: include scoped_array.hpp
9820
9821         * font.C: Use more specific smart_ptr header.
9822         * Painter.C: ditto
9823         * gettext.C: ditto
9824         * ShareContainer.h: ditto
9825         * lyx_main.h: ditto
9826         * kbmap.h: ditto
9827         * FontInfo.h: ditto
9828         * BufferView_pimpl.h: ditto
9829         * ColorHandler.h: ditto
9830
9831         * kbmap.C (defkey): change call to shared_ptr::reset
9832
9833 2002-05-21  Juergen Vigna  <jug@sad.it>
9834
9835         * buffer.C (insertErtContents): fix to insert ert asis if it is
9836         non empty. Skip it completely if it contains only whitespaces.
9837
9838 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * BufferView_pimpl.C:
9841         * BufferView2.C: clear selection on paste (bug 393)
9842
9843 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * DepTable.C: include ctime
9846
9847 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9848
9849         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9850
9851 2002-05-14  Juergen Vigna  <jug@sad.it>
9852
9853         * text.C (breakParagraph): fixed function to honor the keepempty
9854         layout in the right maner and also to permit the right breaking
9855         algorithm on empty or non empyt keepempty paragraphs.
9856
9857         * paragraph.C (breakParagraph): we have to check also if the par
9858         is really empty (!size()) for isempty otherwise we do the wrong
9859         paragraph break.
9860
9861 2002-05-10  Juergen Vigna  <jug@sad.it>
9862
9863         * buffer.[Ch] : The following are only changes to the ert
9864         compatibility read reading old LaTeX layout and font stuff and
9865         convert it to ERTInsets.
9866
9867         * buffer.h: added isErtInset().
9868
9869         * buffer.C (struct ErtComp): add a fromlayout bool to check
9870         if we're inside a LaTeX layout.
9871         (isErtInset): new helper function.
9872         (insertErtContents): look for other ert insets before this one
9873         and insert the contents there, so that we don't have subsequent
9874         ERT insets with nothing between them. This way we create only one
9875         inset with multiple paragraphs. Also check if we don't insert only
9876         spaces ' ' as they are ignored anyway afterwards in the .tex file
9877         so if we have only spaces we will ignore this latex part in the
9878         new file.
9879         (parseSingleLyXformat2Token \\layout): better compatibility when
9880         reading layout-latex stuff.
9881         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9882         language tag.
9883         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9884         stuff after reading the inset only get the information back from
9885         the stack.
9886
9887 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9888
9889         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9890
9891         * LaTeXFeatures.C (getBabelOptions): New method.
9892
9893 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * BufferView_pimpl.C (Dispatch): work around missing argument for
9896         'layout'
9897
9898 2002-05-08  Juergen Vigna  <jug@sad.it>
9899
9900         * text.C (leftMargin): handle paragraph leftindent.
9901
9902         * paragraph.C (writeFile): write the new \\leftindent tag.
9903         (validate): handle leftindent code.
9904         (TeXEnvironment): handle paragraphleftindent code again.
9905
9906         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9907
9908         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9909         for paragrap_extra indent code and new token \\leftindent.
9910         (latexParagraphs): handle the leftindent as environment.
9911
9912         * ParameterStruct.h: added leftindent support.
9913
9914         * ParagraphParameters.C (leftIndent): added support functions for
9915         the paragraph left indent.
9916
9917         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9918         more appropriate.
9919
9920 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9921
9922         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9923         inside insetERT.
9924
9925         * text.C (computeBidiTables): No bidi in insetERT.
9926
9927         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9928         in RTL documents.
9929
9930 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9931
9932         * version.C.in: pre 5
9933
9934 2002-05-02  José Matos  <jamatos@fep.up.pt>
9935         * buffer.C (makeDocBookFile): white space changes, add newline to
9936         command styles.
9937         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9938
9939         * tabular.C (docBook): fix typo.
9940
9941 2002-05-03  Juergen Vigna  <jug@sad.it>
9942
9943         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9944         change in LyXText as we can not be sure it was not freed.
9945         (drawOneRow): remove unused code.
9946
9947         * text.C (drawInset): redo the calculation of the need_break_row as
9948         it could have a row which was already freed.
9949         (draw): look at the return value of drawInset and return false if
9950         it also returned false.
9951         (paintRowText): look at the return value of draw and return false if
9952         it also returned false.
9953
9954         * lyxtext.h: added bool return type to drawInset() and draw() so that
9955         if we have a change in the row so that the rowbreak has to be redone
9956         we abort drawing as it will be called again.
9957
9958 2002-05-02  Juergen Vigna  <jug@sad.it>
9959
9960         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9961         a change in the maintext also if we're inside an inset.
9962         (Dispatch): set the cursor again after a break line and after the
9963         screen has been updated as it could be we're in a different row.
9964
9965         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9966         to set the cursor behind the pargraph with > size().
9967         (setCursor): check also for the same paragraph when checking where
9968         to put the cursor if we have a NFR inset.
9969
9970         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9971         parts of layout read further up as it still was in the wrong
9972         position.
9973
9974 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9975
9976         * screen.C (drawFromTo): change sine fullRebreak always return
9977         true.
9978
9979         * buffer.C (parseSingleLyXformat2Token): reindent some
9980
9981         * BufferView_pimpl.C (update): change since fullRebreak always
9982         return true.
9983         (Dispatch): git rid of the last hardcoded "Standard"s.
9984
9985 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9986
9987         * text2.[Ch] (fullRebreak): make it return void now that we always
9988         returned true.
9989
9990 2002-04-30  Juergen Vigna  <jug@sad.it>
9991
9992         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9993         ert compatibility check for "latex" layout.
9994
9995 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9996
9997         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9998         minipages: use col% instead of p%, and also use the current font.
9999         (makeLaTeXFile): Fix use babel condition.
10000         (parseSingleLyXformat2Token): Correct font when reading old floats.
10001
10002 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10003
10004         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10005         inserting list of floats.
10006
10007 2002-04-25  Herbert Voss  <voss@lyx.org>
10008
10009         * MenuBackend.C (expand): don't add the graphics extensions to the
10010         export menu
10011
10012 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10013
10014         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10015         non-existing layout, do not complain if it was the default layout
10016         of the original class (bug #342)
10017
10018 2002-04-24  Juergen Vigna  <jug@sad.it>
10019
10020         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10021         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10022
10023 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10024
10025         * buffer.C (getBibkeyList): If using \bibliography, return the
10026         option field with the reference itself. Enables us to provide natbib
10027         support when using \bibliography.
10028
10029 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10030
10031         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10032
10033         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10034         natbib is provided by the LaTeX class.
10035
10036 2002-04-23  Juergen Vigna  <jug@sad.it>
10037
10038         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10039         Wakeup functions.
10040
10041         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10042
10043 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10046
10047         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10048         ensuremath around textordmasculine, textordfeminine and
10049         textdegree.
10050
10051 2002-04-19  Juergen Vigna  <jug@sad.it>
10052
10053         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10054         reinitializing the buffer otherwise row-dimensions may be wrong.
10055         (update): reset also the selection cursors if they do exits otherwise
10056         their x/y positions may be wrong.
10057
10058         * text2.C (cursorDown): don't enter the inset if we came from a row
10059         above and are one row over the inset.
10060
10061         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10062         really leaving an inset.
10063
10064 2002-04-18  Juergen Vigna  <jug@sad.it>
10065
10066         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10067         of the selected paragraph does not have the selected layout also if
10068         the last one had!
10069
10070         * text2.C (setLayout): fixed bug which did not change last selected
10071         paragraph.
10072
10073         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10074         changed the read and substituted \\end_float with \\end_inset!
10075
10076         * BufferView_pimpl.C (cursorPrevious):
10077         (cursorNext): fixed to make it work with rows heigher than the work
10078         area without moving the cursor only the draw of the row.
10079         (workAreaMotionNotify): fix jumping over high rows.
10080
10081 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10082
10083         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10084         Ressler.
10085
10086 2002-04-16  Juergen Vigna  <jug@sad.it>
10087
10088         * text2.C (setCursor): set also the irow().
10089         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10090         (cursorUp):
10091         (cursorDown): support for locking an inset if the x_fix value goes
10092         inside it. That way I can transverse insets too with cursor up/down.
10093
10094         * lyxrow.h: added irow helper function same as other (i) functions.
10095
10096         * BufferView_pimpl.C (cursorPrevious):
10097         (cursorNext): fixed for insets!
10098
10099 2002-04-15  Juergen Vigna  <jug@sad.it>
10100
10101         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10102         position otherwise it is wrong in some cases.
10103
10104         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10105         inside the inset before the call.
10106
10107 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10108
10109         * buffer.[Ch] (getBibkeyList): make it const.
10110
10111 2002-04-12  Juergen Vigna  <jug@sad.it>
10112
10113         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10114
10115         * text2.C (getCursorX): new helper function
10116         (setCursor): compute also ix_
10117         (setCursorFromCoordinates): set also ix.
10118
10119         * lyxcursor.h: added ix_ and helper functions.
10120
10121         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10122
10123         * buffer.C (insertStringAsLines): dont break paragraph if the this
10124         paragraph is inside an inset which does not permit it!
10125
10126         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10127         also with no chars on this paragraph.
10128         (paintRowText): only paint stuff if it's inside the workarea!
10129
10130         * paragraph.C (breakParagraph): honor keepempty flag and break the
10131         paragraph always below not above.
10132
10133         * BufferView2.C (unlockInset): update the paragraph layout on inset
10134         unlock as we changed paragraph in such a case.
10135
10136         * lyxfind.C (LyXFind): clear the former selection if not found!
10137
10138         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10139         again called in insertChar().
10140
10141         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10142         an inset which uses the whole row!
10143         (rightMargin): ditto.
10144         (insertChar): force a rebreak if we inserted an inset!
10145
10146 2002-03-28  Herbert Voss  <voss@lyx.org>
10147
10148         * lyxlength.[Ch]: add inBP() to get the right PS-point
10149         units (BigPoint). With inPixels we have rounding errors
10150
10151 2002-04-11  Juergen Vigna  <jug@sad.it>
10152
10153         * text2.C (setCursorFromCoordinates): set iy to the right value.
10154         (setCursor): add check if row->previous exists!
10155
10156         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10157         an old float_type as this was the case in the old code!
10158
10159         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10160
10161         * BufferView2.C (showLockedInsetCursor): use iy
10162         (fitLockedInsetCursor): ditto
10163
10164         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10165         locked insets as there we have the right value now.
10166
10167         * lyxcursor.C: added iy_ variable and iy functions to set to the
10168         baseline of cursor-y of the locked inset.
10169
10170         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10171         (setCursor): fixed for insets which need a full row.
10172
10173         * text.C (rowLastPrintable): don't ignore the last space when before
10174         an inset which needs a full row.
10175         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10176         as last character of a row when before a inset which needs a full row.
10177
10178 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10179
10180         * version.C.in: update date
10181
10182         * text2.C (fullRebreak): try to always return true and see what
10183         happens...
10184
10185 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10186
10187         * MenuBackend.C (expand): use Floating::listName
10188
10189         * FloatList.C (FloatList): add listName argument to the built-in
10190         floats
10191
10192         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10193         text associated with the float.
10194
10195 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10198
10199 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10200
10201         * ShareContainer.h: add a couple of missing typenames.
10202
10203 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10204
10205         * lyxrc.C (getDescription): use _() correctly rather than N_().
10206
10207 2002-03-28  Herbert Voss  <voss@lyx.org>
10208
10209         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10210         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10211
10212 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10213
10214         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10215         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10216
10217 2002-03-29  Juergen Vigna  <jug@sad.it>
10218
10219         * lyxfunc.C (dispatch): add a missing fitCursor call.
10220
10221         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10222         it was scrolled by a cursor move, so return the bool status.
10223
10224         * BufferView.C (fitCursor): return the bool flag also to the outside
10225         world as this is needed.
10226
10227         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10228
10229         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10230         call the edit() as it is not needed (and wrong) IMO.
10231         (workAreaButtonPress): set the screen_first variable before evt.
10232         unlock the inset as this may change screen_first and then we have
10233         a wrong y position for the click!
10234
10235 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * MenuBackend.C (expand): another translation that I missed
10238
10239 2002-03-28  Juergen Vigna  <jug@sad.it>
10240
10241         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10242
10243         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10244
10245 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10248
10249         * MenuBackend.C (expand): fix export/view/update when there is no
10250         document open.
10251
10252 2002-03-27  Herbert Voss  <voss@lyx.org>
10253
10254         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10255         and text%
10256
10257 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10258
10259         * bufferview_funcs.C (currentState): only show paragraph number
10260         for is DEVEL_VERSION is set.
10261
10262         * lyxfunc.C (dispatch): put warning in INFO channel
10263
10264         * MenuBackend.C (expand): translate the name of floats
10265
10266         * FloatList.C (FloatList): mark the float names for translation
10267
10268         * converter.C (convert): use LibScriptSearch
10269
10270 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * MenuBackend.C (defaults): fix default menu (we might as well get
10273         rid of it...)
10274
10275 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10276
10277         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10278         directory.
10279
10280 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * lyxvc.C: reorder includes.
10283
10284 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10287           properly
10288
10289 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * CutAndPaste.C: change layouts earlier on paste
10292           to avoid crashing when calling getFont()
10293
10294 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10295
10296         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10297         irritating #error.
10298
10299 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10300
10301         * WorkArea.C: remove 'Pending' debug message.
10302
10303         * most files: ws cleanup
10304
10305         * buffer.[Ch]: ws changes
10306
10307         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10308
10309 2002-03-21  Juergen Vigna  <jug@sad.it>
10310
10311         * tabular.C (SetMultiColumn): collapse also the contents of the
10312         cells and set the last border right. Added a Buffer const * param.
10313
10314 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10317         linking or not.
10318
10319 2002-03-19  Juergen Vigna  <jug@sad.it>
10320
10321         * text2.C (clearSelection): reset also xsel_cache.
10322
10323         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10324         where it needs to be called (John tells us to do so too :)
10325         (selectionLost): reset sel_cache.
10326
10327         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10328
10329 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * text2.C (setCursorIntern): put debuging code in INSETS channel
10332
10333 2002-03-19  André Pönitz <poenitz@gmx.net>
10334
10335         * lyxfunc.C: tiny whitespace change
10336
10337 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * ToolbarDefaults.C (init):
10340         * LyXAction.C (init):
10341         * commandtags.h:
10342         * BufferView_pimpl.C (Dispatch):
10343         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10344
10345 2002-03-19  Allan Rae  <rae@lyx.org>
10346
10347         * exporter.C (Export): removeAutoInsets before doing anything else.
10348         While I've just introduced a dependency on BufferView this really is
10349         the best place to clean the buffer otherwise you need to cleanup in
10350         a dozen places before calling export or cleanup in a dozen functions
10351         that export calls.
10352
10353         * converter.C (runLaTeX):
10354         (scanLog): Better handling of removeAutoInsets and screen updates.
10355
10356         * lyxfunc.C (dispatch): small whitespace changes
10357
10358 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10359
10360         * WorkArea.C (C_WorkAreaEvent): return a value.
10361         (event_cb): return 1 if we handled the event, 0 otherwise.
10362
10363         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10364
10365 2002-03-18  Juergen Vigna  <jug@sad.it>
10366
10367         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10368         (GetAdditionalWidth): ditto.
10369         (RightLine): ditto.
10370         (LeftLine): ditto.
10371
10372         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10373         inset if we're there actually (probably not used right now but this
10374         is the direction to go for unifying code).
10375         (paste): disable code to clear the selection.
10376
10377         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10378         inside an InsetText and move the check further up as it is in the
10379         wrong place.
10380
10381         * text2.C (pasteSelection): set a selection over the pasted text.
10382
10383 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10384
10385         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10386         and libgraphics to build on Cygwin.
10387
10388 2002-03-15  Juergen Vigna  <jug@sad.it>
10389
10390         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10391         inserting an Inset into the paragraph. I know this is not the best
10392         fix but we already use current_view in CutAndPaste so we will remove
10393         all of it's using at the same time.
10394
10395         * buffer.C (sgmlError): deactivated function till it is rewritten in
10396         the right mode, now it can create problems.
10397
10398         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10399         before accessing it.
10400
10401 2002-03-14  Juergen Vigna  <jug@sad.it>
10402
10403         * undo_funcs.C (textHandleUndo): do the right thing when updating
10404         the inset after the undo/redo.
10405
10406         * text2.C (setCursor): just some testcode for #44 not ready yet.
10407
10408         * undo_funcs.C (textHandleUndo): set the next() and previous()
10409         pointers of the paragraph to 0 before deleting otherwise we have
10410         problems with the Paragraph::[destructor].
10411
10412         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10413         on a paragraph insertion.
10414
10415 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10416
10417         * buffer.C (asciiParagraph): use += operator for char append to
10418         string.
10419
10420         * paragraph.C (getFontSettings): compare >= not just >
10421         (highestFontInRange): ditto
10422         (setFont): ditto
10423
10424 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10425
10426         * paragraph.C: change several algorithm to be more appripriate for
10427         the problem domain. This is lookip in FontList and in the InsetList.
10428
10429 2002-03-13  André Pönitz <poenitz@gmx.net>
10430
10431         * commandtags.h:
10432         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10433
10434 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * commandtags.h:
10437         * LyXAction.C:
10438         * lyxfunc.C:
10439         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10440
10441 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * Painter.C (display): anon helper function, adjust code for this
10444         change.
10445         (pixmap): remove function.
10446
10447         * Painter.h: remove private display variable.
10448
10449         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10450
10451 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10452
10453         * WorkArea.[Ch]: remove figinset_canvas cruft.
10454
10455 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10456
10457         * lyxtextclass.C (operator): add one item cache optimization.
10458
10459         * bufferlist.h: doxy changes
10460
10461         * bufferlist.C: ws changes
10462
10463         * DepTable.[Ch] (ext_exist): place const in the right spot.
10464
10465         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10466         call resizeInsets.
10467         (workAreaExpose): call resizeInsets when the with BufferView changes.
10468         (Dispatch): adjust for protectedBlank removal
10469         (specialChar): call updateInset if the insert went ok.
10470
10471         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10472         specialChar instead.
10473
10474         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10475
10476         * BufferView.h: doxy change
10477
10478         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10479
10480         * lyxtextclass.C (operator[]): remove non-const version
10481         (defaultLayout): remove non-const version
10482
10483 2002-03-12  Juergen Vigna  <jug@sad.it>
10484
10485         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10486         did resize the LyXText too.
10487
10488         * buffer.C (readLyXformat2): set layout information on newly allocated
10489         paragraphs.
10490
10491         * tabular.C (OldFormatRead): set layout information on the paragraph.
10492
10493 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10494
10495         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10496
10497 2002-03-11  Juergen Vigna  <jug@sad.it>
10498
10499         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10500         plainly wrong.
10501         (resizeCurrentBuffer): force also the insets to resize themselfes.
10502         (moveCursorUpdate): fixed up for InsetText.
10503
10504 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10505
10506         * commandtags.h:
10507         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10508         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10509         value of Dialogs::tooltipsEnabled().
10510         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10511
10512 2002-03-08  Juergen Vigna  <jug@sad.it>
10513
10514         * BufferView_pimpl.C (updateInset): update inset inside inset also
10515         if it isn't inside theLockingInset().
10516
10517 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * buffer.C (asciiParagraph): redo some of the word and line length
10520         handling.
10521         (getLists): look for Caption instead of caption.
10522
10523 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * buffer.C (Buffer): initialize niceFile to true
10526         (makeLaTeXFile):
10527         (makeLinuxDocFile):
10528         (makeDocBookFile): make sure niceFile is true on exit
10529
10530 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10531
10532         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10533
10534 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10535
10536         * LyXSendto.C: remove.
10537         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10538         * lyx_gui.C: remove now-redundant comment.
10539         * ColorHandler.h: remove forward declaration of class WorkArea.
10540         * lyxfunc.C: remove #include "WorkArea.h".
10541
10542 2002-03-07  Juergen Vigna  <jug@sad.it>
10543
10544         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10545         got moved away with the DEPM and also set the inset_owner always
10546         right which before could have been omitted.
10547
10548 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10551         wanted layout is not found.
10552
10553 2002-03-07  Juergen Vigna  <jug@sad.it>
10554
10555         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10556
10557 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10558
10559         * paragraph.C (breakParagraph): use default layout not layout of
10560         prev paragraph.
10561         (Paragraph): clear ParagraphParameters.
10562
10563 2002-03-06  Juergen Vigna  <jug@sad.it>
10564
10565         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10566         otherwise it would not be a valid lenght. Fixed a special case in
10567         the minipage compatibility read where we end the document with a
10568         minipage.
10569
10570         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10571         was set as it could be 0 for InsetTexts first entry.
10572
10573 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10574
10575         * paragraph.C (writeFile): if layout is empty write out
10576         defaultLayoutName().
10577
10578         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10579         file without named layout we set layout to defaultLayoutName().
10580
10581 2002-03-06  Juergen Vigna  <jug@sad.it>
10582
10583         * CutAndPaste.C (copySelection): set layout for new paragraph.
10584
10585         * text.C (prepareToPrint): leave ERT inset left aligned
10586         (leftMargin): don't indent paragraphs inside ERT insets
10587
10588 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * paragraph.C (breakParagraph): dont call clear do the work manually
10591
10592         * paragraph.[Ch] (clear): remove function
10593
10594 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10595
10596         * paragraph.C (Paragraph): dont call clear, the work has already
10597         been done.
10598
10599         * lyxtextclass.C (operator): assert if n is empty
10600
10601         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10602         work manually instead.
10603
10604 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * BufferView_pimpl.C: protect selectionLost against text == 0
10607
10608 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10609
10610         * text.C (breakParagraph): fix a setting layout to '0' problem.
10611
10612 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10613
10614         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10615         final location of file, for the included files, and graphics.
10616
10617 2002-03-05  Juergen Vigna  <jug@sad.it>
10618
10619         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10620
10621 2002-03-04  Juergen Vigna  <jug@sad.it>
10622
10623         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10624
10625         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10626         last column of multicolumn cells.
10627         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10628
10629 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10630
10631         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10632         file if it doesn't go to a temporary file.
10633
10634         * buffer.C (sgmlOpenTag):
10635         (sgmlCloseTag):  remove extra newline insertion.
10636
10637 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * text.C (getRowNearY): comment out debug msg
10640
10641 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * text2.C: first -> first_y
10644
10645         * text.C (getRowNearY): add some attemts at a possible
10646         optimization, not working.
10647
10648         * tabular.[Ch]: add BufferParams to several function so that newly
10649         created paragraph can be initialized to he default layotu for the
10650         buffers textclass.
10651
10652         * tabular-old.C (ReadOld): add buf->params to call of Init
10653
10654         * screen.C: rename text->first to text->first_y
10655
10656         * paragraph.C (breakParagraph): always set layout in the broken
10657         paragraph
10658
10659         * lyxtextclass.C (Read): remove lowercase
10660         (hasLayout): ditto
10661         (operator): ditto
10662         (delete_layout): ditto
10663
10664         * lyxtext.h: rename first -> first_y
10665
10666         * lyxlayout.C (Read): remove lowercase
10667         (name): ditto
10668         (setName): ditto
10669         (obsoleted_by): ditto
10670
10671         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10672
10673         * buffer.C (insertErtContents): add params are to InsetERT
10674         (parseSingleLyXformat2Token): add code to check if a paragraphs
10675         layout really exist.
10676         (parseSingleLyXformat2Token): add params to several inset
10677         constructors
10678         (asciiParagraph): remove lowercase, do the layout comparisons with
10679         no_case
10680
10681         * BufferView_pimpl.C (cursorNext): first -> first_y
10682         (resizeCurrentBuffer): first -> first_y
10683         (updateScrollbar): first -> first_y
10684         (scrollCB): first -> first_y
10685         (workAreaMotionNotify): first -> first_y
10686         (workAreaButtonPress): first -> first_y
10687         (checkInsetHit): first -> first_y
10688         (cursorPrevious): first -> first_y
10689         (cursorNext): first -> first_y
10690         (Dispatch): add buffer_->params to severl inset contructors
10691
10692 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * lyxlayout.C (Read): remove some debug info that I forgot.
10695
10696         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10697         clean up the code slightly.
10698         (makeLinuxDocFile): ditto
10699         (makeDocBookFile): ditto
10700
10701         * text2.C: layout as string
10702
10703         * text.C: layout as string
10704
10705         * paragraph_pimpl.C: layout as string
10706
10707         * paragraph.[Ch]: layout as string
10708
10709         * lyxtextclasslist.[Ch]: layout as string
10710
10711         * lyxtextclass.[Ch]: layout as string
10712
10713         * lyxtext.h: layout as string
10714
10715         * lyxlayout.[Ch]: layout as string
10716
10717         * lyx_cb.C: layout as string
10718
10719         * bufferview_funcs.C: layout as string
10720
10721         * bufferparams.C: layout as string
10722
10723         * buffer.C: layout as string
10724
10725         * LyXView.[Ch]: layout as string
10726
10727         * LaTeXFeatures.[Ch]: layout as string
10728
10729         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10730
10731         * BufferView_pimpl.C: change current_layout to string, remove
10732         lyx::layout_type.
10733         (Dispatch):
10734         (smartQuote):
10735         (insertInset):
10736         (workAreaButtonRelease): layout as string
10737
10738         * BufferView2.C (unlockInset): adjust
10739
10740         * vspace.C (asLatexCommand): use an explict temp variable.
10741
10742 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * Makefile.am: use FRONTEND_*
10745
10746 2002-03-01  Juergen Vigna  <jug@sad.it>
10747
10748         * tabular.C (SetWidthOfMulticolCell): changed to something better
10749         I hope but still work in progress.
10750         (recalculateMulticolumnsOfColumn): renamed function from
10751         recalculateMulticolCells as it is more appropriate now.
10752         (SetWidthOfCell): calculate multicols better.
10753
10754 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10757
10758         * lyxfunc.C (processKeySym): print sequence also if it is
10759         `deleted' (complete)
10760
10761         * kbsequence.C (print): print sequence even if it is deleted
10762         (complete would be a better word, actually).
10763
10764         * lyxfunc.C (dispatch): print complete options after a prefix key
10765
10766         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10767
10768 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10769
10770         * text2.C (setCharFont): eliminate setCharFont code duplication.
10771
10772 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10775         LFUN_TABULAR_FEATURE (bug #177)
10776
10777 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10778
10779         * Makefile.am: remove figure.h
10780
10781 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10782
10783         * Bufferview_pimpl.C:
10784         * CutAndPasteC:
10785         * LaTeX.C:
10786         * LyXSendto.C:
10787         * buffer.C:
10788         * bufferlist.C:
10789         * converter.C:
10790         * language.C:
10791         * lyxfunc.C:
10792         * lyxvc.C:
10793         * paragraph.C:
10794         * text.C:
10795         * text2.C: remove #include "lyx_gui_misc.h".
10796
10797         * LaTeX.C: added #include <cstdio>
10798
10799 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10802         that the paragraph following this one can have.
10803
10804         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10805
10806         * vspace.C (asLatexCommand): fix bogus gcc warning
10807
10808         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10809
10810 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10811
10812         * text2.C (setLayout): get rid of redundant code
10813
10814 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10815
10816         * text2.C (incDepth): make sure depth cannot be increased beyond
10817         reasonable values.
10818
10819 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10822         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10823
10824         * PainterBase.h (image):
10825         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10826         a LyXImage const *.
10827
10828 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView.C:
10831         * BufferView.h:
10832         * BufferView_pimpl.C:
10833         * BufferView_pimpl.h:
10834         * LaTeXFeatures.C:
10835         * LyXAction.C:
10836         * LyXView.C:
10837         * Makefile.am:
10838         * UpdateList.h:
10839         * UpdateList.C:
10840         * buffer.C:
10841         * figure.h:
10842         * figureForm.C:
10843         * figureForm.h:
10844         * figure_form.C:
10845         * figure_form.h:
10846         * lyx_cb.C:
10847         * lyx_gui.C:
10848         * lyx_gui_misc.C:
10849         * lyxfunc.C:
10850         * sp_base.h:
10851         * sp_ispell.h:
10852         * sp_pspell.h:
10853         * sp_spell.C: remove fig inset, and the crap house of
10854           cards that follows it
10855
10856 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * Makefile.am:
10859         * lyxserver.C:
10860         * os2_defines.h:
10861         * os2_errortable.h:
10862         * nt_defines.h: move .h into support/
10863
10864         * vms_defines.h: remove
10865
10866         * WorkArea.C: add space in debug output
10867
10868         * text2.C:
10869         * paragraph.C:
10870         * buffer.C: add WITH_WARNINGS
10871
10872         * vc-backend.h:
10873         * vc-backend.C:
10874         * bufferlist.C: s/retrive/retrieve/, add docs
10875
10876         * vspace.h:
10877         * vspace.C:
10878         * kbmap.h:
10879         * lyxlength.h:
10880         * lyxgluelength.h:
10881         * length_common.h:
10882         * chset.h:
10883         * chset.C: add docs
10884
10885         * lyxgui.C: add ID to X error handler
10886
10887         * lyxtestclass.c: fix typo
10888
10889 2002-02-26  Juergen Vigna  <jug@sad.it>
10890
10891         * tabular_funcs.C (write_attribute): changed so that some default
10892         attributes are not written at all.
10893         (getTokenValue): set default values before trying to read the
10894         value so we have the return value always set as default if we don't
10895         find the token we search for.
10896
10897         * tabular.C (Write): write bools as bools not as strings!
10898
10899 2002-02-22  Juergen Vigna  <jug@sad.it>
10900
10901         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10902         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10903
10904         * text.C (leftMargin): don't add an indent for paragraphs inside
10905         tabular cells (fix #208).
10906
10907 2002-02-21  José Matos  <jamatos@fep.up.pt>
10908
10909         * tabular.C (docBook): fixed support for long tables.
10910
10911 2002-02-20  Juergen Vigna  <jug@sad.it>
10912
10913         * text2.C (getFont): get the drawing font of the Inset if this
10914         paragraph is inside an inset (only important for InsetERT for now).
10915
10916         * buffer.C (insertErtContents): use new lanugage params in ERT
10917         constructor.
10918
10919         * CutAndPaste.C: commenting out seemingly uneeded code.
10920
10921 2002-02-19  Allan Rae  <rae@lyx.org>
10922
10923         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10924         Iterators might be simple to use but they also get invalidated.
10925         (removeAutoInsets): renamed saved cursor tracking variables and added
10926         some comments to clarify what everything does.
10927
10928 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10929
10930         * Chktex.C:
10931         * LaTeX.C:
10932         * LyXSendto.C:
10933         * converter.C:
10934         * lyx_cb.C:
10935         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10936         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10937
10938         * lyxfunc.C:
10939         * vc-backend.h: remove #include "support/syscall.h"
10940
10941         * LaTeX.C:
10942         * LyXSendto.C:
10943         * converter.C: rearrange #includes in Lars' approved fashion.
10944
10945         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10946         forward declare class Timeout in the header file.
10947
10948         * XFormsView.C: changes due to the above.
10949
10950         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10951         similar to LyXView.
10952
10953         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10954         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10955
10956 2002-02-18  José Matos  <jamatos@fep.up.pt>
10957
10958         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10959         insets contents.
10960
10961 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10962
10963         * a lot of small ws changes
10964         * add a lot of using std::XXX
10965         * use std construcs some places where approp.
10966         * use some exisint stuff from lyxfunctional where approp.
10967         * Make file changes to use partial linking (lets test this now...)
10968
10969 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10970
10971         * Chktex.C:
10972         * buffer.C:
10973         remove #include "support/syscontr.h" as it's redundant. Always has been.
10974
10975         * Chktex.C:
10976         * LaTeX.C:
10977         * LyXSendto.C:
10978         * converter.C:
10979         * lyx_cb.C:
10980         * vc-backend.C:
10981         change Systemcalls::System to Systemcalls::Wait and
10982         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10983         No change of functionality, just reflects the stripped down Systemcalls
10984         class.
10985
10986 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10987
10988         * debug.[Ch]: add a GRAPHICS type to the enum.
10989
10990 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10991
10992         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10993
10994         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10995         there is an inset.
10996
10997 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10998
10999         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11000         match the changes below.
11001
11002         * text2.C (toggleInset): if there is not editable inset at cursor
11003         position, try to see if cursor is _inside_ a collapsable inset
11004         and close it.
11005
11006 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11009         document menu has a nice checkbox
11010
11011 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * lyxlength.C (asLatexString): change PW to output as percent of
11014         \textwidth.
11015
11016         * lengthcommon.C: change '%' to 't%'
11017
11018         * lyxfunc.C (dispatch): a few comments from Martin
11019
11020 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * WorkArea.h:
11023         * WorkArea.C:
11024         * BufferView_pimpl.h:
11025         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11026           the X selection.
11027
11028 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * vspace.C (inPixels): fix compiler warning
11031
11032 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * lyxfunc.C (getStatus): fix status message for disabled commands.
11035
11036 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * BufferView_pimpl.C: fix crash on close buffer
11039         during selection (#227)
11040
11041 2002-01-27  Herbert Voss  <voss@lyx.org>
11042
11043         * buffer.C: link old Figure to new graphic inset
11044
11045 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11046
11047         * FontLoader.C (getFontinfo): Change the latex font names in order
11048         to match the names of type1inst.
11049
11050 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11053
11054         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11055         (extchanged): ditto
11056         (ext_exist): ditto
11057         (remove_files_with_extension): ditto
11058         (remove_file): ditto
11059         (write): ditto
11060
11061         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11062         document is smaller than the work area height. Do not initialize
11063         static variables to 0.
11064
11065 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11068
11069         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11070         LFUN_LAYOUT_PARAGRAPHS.
11071
11072         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11073         tabular. It is possible to provide a possible cell, which will
11074         typically be the actcell from the corresponding insettabular
11075
11076         * lyxfunc.C (getStatus): small cleanup; disable
11077         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11078         true
11079
11080 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11081
11082         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11083
11084         * paragraph.C (startTeXParParams):
11085         (endTeXParParams): new methods. The LaTeX code to
11086         start/end paragraph formatting
11087         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11088         empty (fixes bug #200)
11089
11090         * vspace.C (inPixels): adapt to the change below
11091         (inPixels): [later] more cleanups (remove unused variables)
11092
11093         * lyxlength.C (inPixels): change to use a width and a height as
11094         parameter.
11095
11096 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11099         Replaced with \paperwidth
11100
11101         * DepTable.C (insert): add std:: qualifier
11102
11103 2002-01-18  Allan Rae  <rae@lyx.org>
11104
11105         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11106         updated also?
11107
11108         * text.C (drawInset): Turned out I didn't know enough about how
11109         rebreaking worked.  This fixes most of the redraw problems.  I see
11110         an occasional cursor trail when a line is broken now and the cursor
11111         placement can seem out by a few pixels also after a rebreak.
11112
11113 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11114
11115         * buffer.C (parseSingleLyXformat2Token): update because minipage
11116         width is now a LyXLength
11117
11118         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11119
11120         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11121         math insets
11122
11123 2002-01-17  Juergen Vigna  <jug@sad.it>
11124
11125         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11126
11127         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11128         is set correctly and the inset is updated correctly.
11129
11130 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11133         the beginning of the loop.
11134
11135 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11136
11137         * lyxrc.C: improve help for use_scalable_fonts
11138
11139 2002-01-17  Allan Rae  <rae@lyx.org>
11140
11141         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11142
11143 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11146         make sure to set their inset_owner to the right value (bug #171)
11147
11148 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11149
11150         * DepTable.h
11151         * DepTable.C: Implement mtime checking to reduce time spent doing
11152         CRCs.
11153
11154 2002-01-16  Juergen Vigna  <jug@sad.it>
11155
11156         * tabular.C (GetAdditionalHeight): one of error fixed.
11157
11158         * lyxrc.C (output): small fix in writing use_pspell.
11159
11160 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11161
11162         * sp_base.h: #include LString.h
11163
11164 2002-01-16  Allan Rae  <rae@lyx.org>
11165
11166         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11167         Can someone check this please?
11168
11169         * text.C (drawInset): It was possible that p.row would be removed by
11170         breakAgainOneRow upsetting a few other settings.  There may be another
11171         small tweak possible by setting need_break_row = 0 when p.row has been
11172         removed but I don't know enough about the logic here.
11173
11174 2002-01-15  Allan Rae  <rae@lyx.org>
11175
11176         * text.C (insertChar): removed conditional truism.
11177
11178         * BufferView2.C (removeAutoInsets): More tweaks.
11179         cur_par_prev could be a stray pointer.  Check for trailing empty line
11180         in case last line was cur_par and only had an error inset on it.
11181
11182 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11185         absolute
11186
11187         * vc-backend.C (most methods):
11188         * exporter.C (Export):
11189         * converter.C (convert):
11190         (runLaTeX):
11191         * LyXSendto.C (SendtoApplyCB):
11192         * lyxfunc.C (dispatch):
11193         (menuNew):
11194         (open):
11195         (doImport):
11196         * lyx_cb.C (AutoSave):
11197         (InsertAsciiFile):
11198         * BufferView_pimpl.C (MenuInsertLyXFile):
11199         * buffer.C (runChktex): use Buffer::filePath().
11200
11201         * buffer.h: rename filename to filename_; rename filepath to
11202         filepath_ and make it private
11203         (filePath): new method
11204
11205         * buffer.C (writeFile): use fileName()
11206         (getLatexName):
11207
11208         * lyx_main.C (init): fix starting  of LyX when the binary is a
11209         link from so,ewhere else.
11210
11211         * minibuffer.C: include <cctype> for isprint
11212
11213 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11214
11215         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11216         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11217         name clash with InsetCollapsable's width function.
11218
11219 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11220
11221         * lastfiles.C: include <iterator>
11222
11223 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11226         std::count.
11227
11228         * buffer.C (makeLaTeXFile): ditto.
11229         Also make loop operation more transparent.
11230
11231 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11232
11233         * ToolbarDefaults.C: remove trailing comma closing namespace.
11234
11235         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11236
11237         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11238         as in WorkArea.
11239
11240         * trans.C (Load): comment out unused variable, allowed.
11241
11242 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11243
11244         * minibuffer.[Ch] (append_char): new method to recieve input from the
11245         drop-down completion browser. If a key was pressed, then recieve this
11246         char and append it to the existing string.
11247         (peek_event): modify the positioning data passed to the completion
11248         browser so that it can be placed above the minibuffer rather than below.
11249 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * LyXAction.C (init): alloe error-next for readonly documents.
11252
11253         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11254         count.
11255
11256 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * bufferlist.C (readFile): create the buffer _after_ checking that
11259         the file exists.
11260
11261         * lyxfunc.C (verboseDispatch): fix handling of arguments
11262
11263         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11264
11265         * lyxrc.C: use string::erase() instead of initializing to "".
11266
11267
11268 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * BufferView_pimpl.h:
11271         * BufferView_pimpl.C:
11272         * WorkArea.h:
11273         * WorkArea.C:
11274         * text2.C: tell X when we have made a selection for copying
11275
11276 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * BufferView_pimpl.C (MenuInsertLyXFile):
11279         * lyxfunc.C (menuNew):
11280         (open):
11281         (doImport): add shortcuts to directory buttons
11282
11283         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11284         open a float)
11285
11286         * lyxfunc.C (setStatusMessage):
11287         (getStatusMessage): new methods
11288         (getStatus):use setStatusMessage instead of setErrorMessage
11289         (dispatch): when function is disabled, set error message here
11290         [instead of in getStatus previously]
11291
11292         * BufferView_pimpl.C (workAreaButtonRelease): update
11293         toolbar/menubar here too.
11294
11295 2002-01-13  Allan Rae  <rae@lyx.org>
11296
11297         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11298         Now seems indestructible.  Remaining task is to audit all other
11299         code affected by deleteEmptyParagraphMechanism.  One small quirk
11300         left is that an empty document with an error in the preamble can
11301         be made to report an error but no error box appears.  I don't know
11302         where it goes.
11303         (removeAutoInsets): Improved comments.
11304
11305 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * Thesaurus.h:
11308         * Thesaurus.C: update for Aiksaurus 0.14
11309
11310 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * text2.C (firstParagraph): removed member function, all uses
11313         replaces with ownerParagraph
11314         (redoParagraphs): here
11315         (updateInset): here
11316         (toggleAppendix): here
11317         * BufferView2.C (insertErrors): here
11318         (setCursorFromRow): here
11319
11320 2002-01-13  Allan Rae  <rae@lyx.org>
11321
11322         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11323         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11324         There is still a way to segfault this although you may have to do this
11325         multiple times: Have an InsetERT with an unknown command in it.
11326         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11327         <down-arrow>, <Enter> again, View->DVI, BANG!
11328
11329         * text2.C (setCursor):
11330         (deleteEmptyParagraphMechanism):
11331         * lyxtext.h (setCursor):
11332         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11333         Making use of the return value may help fix other bugs.
11334
11335 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11338
11339         * LyXView.C (updateMenubar): call MenuBar::update here
11340         (updateToolbar): but not here
11341         (showState): do not update toolbar/menubar
11342
11343         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11344         should need to care about that.
11345
11346         * lyxfunc.C (verboseDispatch): simplify a bit
11347         (getStatus): have a version which takes a pseudoaction, and
11348         another which requires a (kb_action,string).
11349
11350         * LyXAction.C (retrieveActionArg): make it work also when action
11351         is not a pseudo-action.
11352         (getActionName): simplify a bit
11353         (helpText):
11354
11355 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11356
11357         * lyxfunc.C (verboseDispatch): new families of methods with
11358         several ways to specify a command and a bool to indicate whether
11359         the command name and shortcut should be displayed in minibuffer
11360         (eventually, we could extend that to a finer bitmask like
11361         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11362         (dispatch): the pristine dispatch command which just, well,
11363         dispatchs! Note it still sets its result to minibuffer; I'm not
11364         sure we want that.
11365
11366         * lyxfunc.h: remove setHintMessage
11367
11368         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11369
11370 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * BufferView_pimpl.C (specialChar): delete new inset if we have
11373         not been able to insert it.
11374
11375         * kbmap.C: revert to using int instead of kb_action, since all we
11376         are dealing with is pseudo-actions.
11377
11378         * LyXAction.C (searchActionArg): change to return int instead of
11379         kb_action, since the result is a pseudoaction.
11380
11381 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11382
11383         * buffer.C (insertErtContents): Fix (partially) the font bug.
11384
11385 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11386
11387         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11388         as the other one is broken on my machine!
11389
11390 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11391
11392         * commandtags.h:
11393         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11394
11395 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11396
11397         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11398         reflect their actual use. Provide compatibility code for older lyxrc
11399         files.
11400
11401         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11402         FL_NORMAL_STYLE.
11403         change names of popup font variables in line with the changes to lyxrc.C
11404
11405 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11406
11407         * buffer.C (asciiParagraph): avoid outputing a word twice after
11408         an inset.
11409
11410         * lyxrc.C (getDescription): document that document_path and
11411         template_path can be empty.
11412
11413 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11414
11415         * LaTeXFeatures.C (getMacros):
11416         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11417
11418         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11419
11420         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11421         getPackages.
11422         (getPackages): rename feature "floats" to "float". Use an array to
11423         iterate over 'simple' features (i.e. just a \usepackage). Add
11424         handling of "amsmath" (renamed from "amsstyle").
11425
11426 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11427
11428         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11429         features list.
11430
11431 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11432
11433         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11434         FuncStaus::FuncStatus & FuncStaus::some_method().
11435
11436 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11437
11438         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11439         of the func_satus stuff. Edited and massaged in various ways by
11440         JMarc.
11441
11442         * lyxfunc.C (getStatus): use FuncStatus
11443
11444 2002-01-08  Juergen Vigna  <jug@sad.it>
11445
11446         * text.C (nextBreakPoint): use function Inset::isChar().
11447
11448         * paragraph.C (TeXOnePar): use function
11449         Inset::forceDefaultParagraphs.
11450
11451         * buffer.C (latexParagraphs): use function
11452         Inset::forceDefaultParagraphs.
11453
11454 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11455
11456         * lyx_gui.C (init): set the style of the menu popups to
11457         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11458
11459 2002-01-07  Juergen Vigna  <jug@sad.it>
11460
11461         * text.C (setHeightOfRow): small fix
11462         (prepareToPrint): don't look at alignment if we don't have the place
11463         for doing it.
11464
11465 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11466
11467         * box.C: New file. Move the Box methods and functions out of box.h,
11468         following Lars' suggestion.
11469
11470 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * box.h: #include "support/LOstream.h", needed for inlined function.
11473
11474         * lyxtextclass.C:
11475         * lyxtextclasslist.C: added some using std declarations.
11476
11477 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * box.h: make signed dimensions to allow insets wider than
11480           the screen (bug #162)
11481
11482         * BufferView_pimpl.C: add some insetHit debug
11483
11484 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * vc-backend.C: add FIXME
11487
11488 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * lyxfunc.C (getStatus): enable code for showing math font status
11491         in toolbar/menu.
11492
11493 2002-01-07  Juergen Vigna  <jug@sad.it>
11494
11495         * text.C (nextBreakPoint): removed debug output not needed anymore.
11496
11497 2002-01-06  Juergen Vigna  <jug@sad.it>
11498
11499         * text.C (nextBreakPoint): fixed up this function we had this bug
11500         since ever but now hopefully we break row better.
11501         (insertChar): we have to check if an inset is the next char as it
11502         could now happen that a large inset is causing a break.
11503
11504 2002-01-05  Juergen Vigna  <jug@sad.it>
11505
11506         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11507         if it doesn't like to be drawed.
11508
11509 2002-01-04  Juergen Vigna  <jug@sad.it>
11510
11511         * BufferView2.C (lockInset): forgot to set a cursor.
11512
11513         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11514
11515 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11516
11517         * FormMathsPanel.C:
11518         * FormMathsPanel.h
11519         * MathsSymbols.C:
11520         * form_maths_panel.C:
11521         * form_maths_panel.h:
11522         * form_maths_panel.fd: implemented sub- and super- buttons in math
11523         panel.
11524
11525         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11526         (or ^ space) to be used as in TeX (req'd by André).
11527
11528         * lyxfunc.C: Allow ^ and _ again to be used both as
11529         super/subscript (mathed) and as themselves (in text).
11530
11531 2002-01-03  Allan Rae  <rae@lyx.org>
11532
11533         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11534         "LyX" or the filename of the current buffer if it has one.  This is a
11535         modified form of John Levon's patch.
11536
11537         * XFormsView.C (setWindowTitle): also set icon title.
11538
11539         * LyXView.h (setWindowTitle): signature changed.
11540         * XFormsView.h (setWindowTitle): ditto.
11541
11542 2002-01-02  Juergen Vigna  <jug@sad.it>
11543
11544         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11545
11546 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * screen.C (topCursorVisible): introduce a temp var for
11549         text->cursor.row(), handle the case where this row is null. (kindo
11550         hachish)
11551
11552         * text2.C (setCursor): add a couple of asserts.
11553
11554         * paragraph.h (inset_iterator): add -> operator
11555
11556         * paragraph.[Ch] (autoDeleteInsets): remove member function
11557
11558         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11559         cursor pos correctly and handle inset deletion by itself.
11560         (insertErrors): move iterator declaration out of for expression
11561
11562         * lyxtextclass.C: add <algorithm>
11563
11564         * Makefile.am: added the new files to sources, removed layout.C
11565
11566         * layout.C: removed file
11567
11568         * layout.h: remove LYX_DUMMY_LAYOUT
11569
11570         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11571         layout.
11572
11573         * lyxlayout.[Ch]:
11574         * lyxtextclass.[Ch]:
11575         * lyxtextclasslist.[Ch]: new files
11576
11577         * include order changes to a lot of files, also changes because of
11578         the six new files.
11579
11580 2001-12-27  Juergen Vigna  <jug@sad.it>
11581
11582         * buffer.C (asciiParagraph): more fixes.
11583
11584         * tabular.C (ascii): make ascii export support export of only the
11585         data separated by a column-delimiter.
11586         (ascii): better support for ascii export.
11587
11588         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11589
11590 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11591
11592         * tabular_funcs.C: use a "using std::getline" instead of the
11593         previous fix from Angus (necessary for cxx + lyxstring)
11594
11595 2001-12-24  Juergen Vigna  <jug@sad.it>
11596
11597         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11598
11599         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11600         problems. First check a minipage also if we have some ert-contents
11601         (not only on par->size(), second set the right depth of the paragraph
11602         on the relink to the root-paragraph-list!
11603
11604         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11605         which then did not anymore update the main paragraphs on undo/redo!
11606
11607 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11610         code. Support all font-changing funcs (even those which are not in
11611         menu currently). Support for reporting font settings in
11612         mathed (disabled until Andre provides a function on mathed's side).
11613
11614         * func_status.h (toggle): small helper function to set toggle
11615         state on a flag.
11616
11617 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11618
11619         * tabular_funcs.C: getline -> std::getline
11620
11621 2001-12-21  Juergen Vigna  <jug@sad.it>
11622
11623         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11624         accessed and could be 0 (I couldn't generate this but it seems
11625         Michael could!).
11626
11627 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11630         * tabular_funcs.h: here and include iosfwd
11631
11632 2001-12-20  Juergen Vigna  <jug@sad.it>
11633
11634         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11635         inside inset but undo_par was.
11636
11637 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11638
11639         * Thesaurus.C: always include <config.h> in sources.
11640
11641         * Painter.h:
11642         * lyxlookup.h:
11643         * box.h: do not include <config.h> in header files
11644
11645         * text.C (paintLastRow): remove unused variable
11646
11647         * text.C (transformChar):
11648         (insertChar):
11649         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11650
11651         * Painter.C (text):
11652         * font.C (width): rewrite to use uppercase() instead of
11653         islower/toupper.
11654
11655         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11656
11657 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * lyxfind.C: clean up of find failure position change
11660
11661 2001-12-20  Juergen Vigna  <jug@sad.it>
11662
11663         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11664
11665         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11666         (TeXRow): added to LaTeX a single tabular row.
11667         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11668         (Latex): simplified and finally good LT-h/f support.
11669         (various_functions): just small adaptions for LT-h/f support.
11670
11671         * tabular_funcs.[hC]: added and moved here all not classfunctions
11672         of LyXTabular.
11673
11674 2001-12-19  Juergen Vigna  <jug@sad.it>
11675
11676         * tabular.[Ch]: better support for longtabular options (not finished
11677         yet!)
11678
11679 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * text.C (paintLastRow): use the label font instead of the font of
11682         the last character to compute the size of *_BOX. This makes more
11683         sense and avoids a crash with empty paragraphs.
11684         Use Painter::rectangle to draw EMPTY_BOX.
11685
11686 2001-12-19  Juergen Vigna  <jug@sad.it>
11687
11688         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11689         the paragraphs if the replaced paragraph is not the first one!
11690         Tried to delete not used paragraphs but does not work yet so for
11691         now it's inside #ifdef's and by default off!
11692
11693 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11694
11695         * MenuBackend.C: include "lyx_main.h" instead of declaring
11696         lastfiles (actually was declared as LastFiles* instead of a
11697         scoped_ptr).
11698
11699 2001-12-17  Juergen Vigna  <jug@sad.it>
11700
11701         * tabular.C (AppendColumn): applied John's fix
11702
11703 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * BufferView.h:
11706         * BufferView.C:
11707         * BufferView_pimpl.h:
11708         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11709
11710         * Makefile.am:
11711         * box.h: new start of class for above
11712
11713         * lyxfunc.C: ignore space-only minibuffer dispatches.
11714           Show the command name when it doesn't exist
11715
11716         * minibuffer.C: don't add empty lines to the history
11717
11718         * minibuffer.C: add a space on dropdown completion
11719
11720 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * text.C: fix line above/below drawing in insets
11723
11724 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * lyxlength.C (LyXLength): Initialize private variables.
11727
11728 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11731         when inserting error insets.
11732
11733 2001-12-13  Juergen Vigna  <jug@sad.it>
11734
11735         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11736         actually sometimes the before-paragraph.
11737         (setUndo): don't clear the redostack if we're not actually undoing!
11738
11739 2001-12-06  Juergen Vigna  <jug@sad.it>
11740
11741         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11742         and fixed redoing of main paragraph, so we can use it now ;)
11743
11744         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11745
11746 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11749         Juergen's request
11750
11751 2001-12-13  André Pönitz <poenitz@gmx.net>
11752
11753         * undostack.[Ch]:
11754         * undo_func.C: minor cleanup
11755
11756 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11759         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11760         font in urw-fonts package which is marked as -urw-fontspecific and
11761         does not work (incidentally, changing the encoding in the
11762         fonts.dir of this package to -adobe-fontspecific fixes the
11763         problem).
11764
11765         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11766         is a crash when undoing first paragraph (Juergen, please take a
11767         look). THis does not mean the undo fix is wrong, just that it
11768         uncovers problems.
11769
11770         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11771         the (Paragraph*) version when needed instead of duplicating the
11772         code.
11773
11774         * text.C (workWidth): use Inset::parOwner to find out where the
11775         inset has been inserted. This is a huge performance gain for large
11776         documents with lots of insets. If Inset::parOwner is not set, fall
11777         back on the brute force method
11778
11779         * paragraph_pimpl.C (insertInset):
11780         * paragraph.C (Paragraph):
11781         (cutIntoMinibuffer): set parOwner of insets when
11782         inserting/removing them
11783
11784         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11785
11786 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11787
11788         * commandtags.h:
11789         * LyXAction.C:
11790         * lyx_main.C:
11791         * lyxfunc.C:
11792         * mathed/formulabase.C:
11793         * mathed/math_cursor.[Ch]:
11794         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11795
11796
11797 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11798
11799         * lyxlength.[Ch] (operator!=): new function
11800
11801 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802
11803         * text.C (workWidth): use Inset::parOwner to find out where the
11804         inset has been inserted. This is a huge performance gain for large
11805         documents with lots of insets. If Inset::parOwner is not set, fall
11806         back on the brute force method
11807
11808         * paragraph_pimpl.C (insertInset):
11809         * paragraph.C (Paragraph):
11810         (cutIntoMinibuffer): set parOwner of insets when
11811         inserting/removing them
11812
11813         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11814
11815 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11816
11817         * tabular-old.C (getTokenValue):
11818         * tabular.C (getTokenValue):
11819         (write_attribute): new versions for LyXLength
11820         (everywhere): adjust the use of widths
11821
11822         * tabular.h: change the type of widths from string to LyXLength
11823
11824 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11825
11826         * paragraph.C: fixed missing line number count when exporting
11827         Environments to LaTeX file
11828
11829         * buffer.C: added informational message for checking line numbers.
11830
11831 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11832
11833         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11834         paragraph, do the 'double space' part, but not the 'empty
11835         paragraph' one.
11836
11837         * text.C (workWidth): small optimization
11838         (getLengthMarkerHeight): use minimal size for negative lengths.
11839
11840 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11841
11842         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11843
11844         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11845
11846 2001-12-11  André Pönitz <poenitz@gmx.net>
11847
11848         * FontLoader.C:
11849         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11850
11851 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * text2.C: keep selection on a setFont()
11854
11855 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11856
11857         * lyx_cb.C: another bv->text misuse, from insert label
11858
11859 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * kbsequence.h:
11862         * kbsequence.C: re-instate nmodifier mask
11863
11864 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * lyx_main.h: make lyxGUI private.
11867
11868 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * lyxfind.C: place the cursor correctly on failed search
11871
11872 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * text.C (getLengthMarkerHeight): for small heights, the arrows
11875         are not always on top/bottom of the text
11876         (drawLengthMarker): smaller arrows; take the left margin in
11877         account; draw also vfills.
11878         (paintFirstRow):
11879         (paintLastRow): remove special code for vfill and standard spaces,
11880         since everything is handled in drawLengthMarker now.
11881
11882 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * buffer.C (insertErtContents): try to handle font and language
11885         interaction a bit better.g
11886
11887         * ColorHandler.C (updateColor): change the hash to cover the whole
11888         LColor enum, ws cleanup
11889         (getGCLinepars): ditto
11890         (getGCLinepars): only lookup in the linecache once.
11891
11892 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11893
11894         * iterators.C (operator++): Make the iterator more robust
11895
11896         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11897         (John's patch)
11898         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11899
11900 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * lyxtext.h:
11903         * text.C: better added space drawing
11904
11905 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11906
11907         * LyXView.C:
11908         * BufferView2.C: fix layout combo update on inset unlock
11909
11910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * Makefile.am: don't compile unused files
11913
11914 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyxfunc.C:
11917         * commandtags.h:
11918         * LyXAction.C: remove old LFUN_LAYOUTNO
11919
11920 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11921
11922         * paragraph_pimpl.h:
11923         * paragraph_pimpl.C: isTextAt() doesn't need font param
11924
11925 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * lyxlex.h:
11928         * lyxlex.C: little cleanup
11929
11930 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * BufferView_pimpl.C: fix insertAscii for insets
11933
11934 2001-12-05  Juergen Vigna  <jug@sad.it>
11935
11936         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11937         set the right font on the "multi" paragraph paste!
11938
11939 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * trans_decl.h:
11942         * trans_mgr.[Ch]:
11943         * trans.[Ch]:
11944         * lyxgluelength.C:
11945         * lyxlength.C: remove out-commented code.
11946
11947         * BufferView_pimpl:
11948         * CutAndPaste.C:
11949         * DepTable.C:
11950         * buffer.C:
11951         * chset.C:
11952         * lastfiles.C:
11953         * lyxlex.C:
11954         * lyxlex_pimpl.C:
11955         * lyxserver.C:
11956         * screen.C:
11957         * tabular-old.C:
11958         * tabular.C:
11959         * text.C:
11960         * trans_mgr.C:
11961         * vc-backend.C: change "while(" to "while ("
11962
11963         * lyxlength.[Ch]: add zero function to check if length is zero or
11964         not
11965         * lyxgluelength.C: use it
11966
11967 2001-12-05  Allan Rae  <rae@lyx.org>
11968
11969         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11970         Works for 2.95.3, from what I understand of Garst's reports this should
11971         work for other g++ versions.  We're screwed if the abs(int) definition
11972         changed between bugfix releases of gcc.
11973
11974 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * text.C: fix chapter label offset !
11977
11978 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * lyxtext.h:
11981         * text.C: fix hfill at end of line, clean up
11982
11983 2001-12-04  Juergen Vigna  <jug@sad.it>
11984
11985         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11986         that we force an update of the inset and it's owners if neccessary.
11987
11988 2001-12-03  Juergen Vigna  <jug@sad.it>
11989
11990         * text.C (rowLast): simplified code
11991
11992 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * lyxfunc.C: fix show options on timeout
11995
11996 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * screen.C (topCursorVisible): scroll half a page when the cursor
11999         reached top of bottom of screen
12000
12001 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * minibuffer.C: deactivate on loss of focus
12004
12005 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * vspace.[Ch] (operator!=): add operator.
12008
12009 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * BufferView_pimpl.C: refuse to open an inset when
12012         there's a selection.
12013
12014 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView_pimpl.C: allow to click on RHS of full row insets
12017
12018 2001-11-30  Juergen Vigna  <jug@sad.it>
12019
12020         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12021         insets for undo reasons.
12022
12023 2001-11-28  André Pönitz <poenitz@gmx.net>
12024
12025         * vspace.[Ch]: cosmetical changes
12026
12027 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * LyXAction.h:
12030         * LyXAction.C:
12031         * lyxfunc.h:
12032         * lyxfunc.C:
12033         * kbmap.h:
12034         * kbmap.C:
12035         * lyxrc.C:
12036         * kbsequence.h:
12037         * kbsequence.C: part re-write of old kb code
12038
12039         * Painter.C:
12040         * WorkArea.C: remove Lgb_bug_find_hack
12041
12042 2001-11-30  José Matos <jamatos@fep.up.pt>
12043
12044         * buffer.C (makeDocBookFile): add a comment to point a hack.
12045         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12046         Fixed a double write of labels.
12047
12048 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12049
12050         * LaTeX.C:
12051         * LaTeX.h Fixed bug in LaTeX class where it would not
12052         re-run latex if no depfiles were changed, but the .dvi was removed.
12053
12054 2001-11-28  André Pönitz <poenitz@gmx.net>
12055
12056         * all the files from the change on 2001/11/26:
12057         use lyx::layout_type instead of LyXTextClass::size_type
12058         use lyx::textclass_type instead of LyXTextClassList::size_type
12059
12060 2001-11-29  Juergen Vigna  <jug@sad.it>
12061
12062         * text.C: added support for paragraph::isFreeSpacing()
12063
12064         * buffer.C: same as above
12065
12066         * paragraph.h: inserted isFreeSpacing() function to enable
12067         FreeSpacing inside InsetERT.
12068
12069         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12070         of the paragraph's in the cut/copy buffer to 0!
12071
12072         * text2.C (removeRow): remove the assert as it can!
12073
12074         * lyxtext.h: added helper function firstRow returning firstrow and
12075         made firstrow private again.
12076
12077         * BufferView2.C (lockInset): don't relock if we're already locked!
12078
12079         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12080         the only paragraph.
12081         (removeRow): added Assert::(firstrow)
12082
12083         * debug.C: forgot to add INSETTEXT here.
12084
12085 2001-11-28  Juergen Vigna  <jug@sad.it>
12086
12087         * sp_spell.C (initialize): changed error text to more general
12088         spellchecker command use (not only ispell!)
12089
12090         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12091
12092         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12093
12094 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * vspace.C: initialise lyxgluelength on failure
12097
12098 2001-11-28  Allan Rae  <rae@lyx.org>
12099
12100         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12101         declaration & definition that looks like a function declaration.
12102
12103 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12104
12105         * BufferView2.C (copy):
12106         (copyEnvironment): do not clear the selection when doing a copy.
12107
12108         * text.C (paintFirstRow): compilation fix
12109
12110 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12111
12112         * tabular.C (Latex): correct line count when writing latex.
12113
12114 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * paragraph_pimpl.h:
12117         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12118           bug a bit
12119
12120 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * text.C:
12123         * LColor.h:
12124         * LColor.C: change vfillline->added_space
12125
12126         * text.C: add markers and text for added space
12127
12128         * vspace.C: fix comment
12129
12130 2001-11-28  André Pönitz <poenitz@gmx.net>
12131
12132         * paragraph.C: whitespace changes
12133         * all the other files from the change on 2001/11/26:
12134         change *::pos_type into lyx::pos_type
12135
12136 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12139         language of the document when inserting error insets.
12140
12141 2001-11-26  André Pönitz <poenitz@gmx.net>
12142
12143         * BufferView_pimpl.[Ch]:
12144         *       CutAndPaste.C:
12145         * buffer.[Ch]:
12146         * lyxcursor.[Ch]:
12147         * lyxfind.C:
12148         * lyxfunc.C:
12149         * lyxrow.[Ch]:
12150         * paragraph.[Ch]:
12151         * paragraph_pimpl.[Ch]:
12152         * sp_spell.C:
12153         * text.C:
12154         * text2.C: reduce header dependencies, introduce type for positions
12155
12156 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * <various>: change to use Alert.h
12159
12160 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12161
12162         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12163         when encountering an unknown token.
12164         (readLyXformat2): Show an error message if there were unknown tokens.
12165
12166 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * BufferView2.C:
12169         * BufferView_pimpl.C:
12170         * buffer.C:
12171         * paragraph.h:
12172         * text.C:
12173         * text2.C: use par->isInset()
12174
12175 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * paragraph_pimpl.h:
12178         * paragraph_pimpl.C: cleanup
12179
12180 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12181
12182         * text2.C (removeRow):
12183         * text.C (setHeightOfRow): remove useless (and costly) call to
12184         getRow.
12185
12186 2001-11-20  Allan Rae  <rae@lyx.org>
12187
12188         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12189         Now need Inset*::checkInsertChar() to return true for appropriate
12190         cases so that the characters in the minibuffer will actually be
12191         inserted.
12192
12193 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * text.C: change the order of the includes.
12196         (workWidth): initialize it at once.
12197         (workWidth): make maxw unsigned
12198         (setHeightOfRow): remove unused variable (inset)
12199         (selectSelectedWord): remove unused variable (inset)
12200         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12201
12202 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12203
12204         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12205         server is not running.
12206         (openConnection):
12207         (closeConnection): add debug info when server is disabled.
12208
12209         * ColorHandler.C (getGCForeground): send debug message to GUI
12210         channel.
12211
12212         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12213
12214         * kbmap.C (bind): modify because return conventions of
12215         kb_sequence::parse have changed.
12216
12217         * kbsequence.C (parse): only ignore spaces and not any stupid
12218         control character. This avoids tests like s[i] <= ' ', which are
12219         guaranteed to fail with 8bit characters and signed chars.
12220         Change return code to string::npos when there have been no error
12221         (0 was a bad idea when error is at first character)
12222
12223 2001-11-14  José Matos  <jamatos@fep.up.pt>
12224
12225         * buffer.h:
12226         * buffer.C (simpleDocBookOnePar): removed unused argument.
12227
12228 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12231         insets which are part of a word. Paragraph::isLetter takes care of
12232         that now. Use Paragraph::isInset to identify insets.
12233         (selectSelectedWord): do not test for hyphenation break.
12234
12235         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12236         that protected spaces are considered as spaces.
12237
12238         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12239         Inset::isLetter.
12240
12241 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * lyxserver.h:
12244         * lyxserver.C: fix it. and small cleanup.
12245
12246 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * BufferView_pimpl.C: use inline helpers
12249
12250         * LaTeXFeatures.h:
12251         * LaTeXFeatures.C: fix typos
12252
12253         * Spacing.h:
12254         * Spacing.C: move spacing_string into class
12255
12256         * ToolbarDefaults.C: move stuff into namespace anon
12257
12258         * layout.h: update enum
12259
12260         * lyxfunc.C: use better debug
12261
12262         * minibuffer.h: fix typo
12263
12264         * debug.h:
12265         * debug.C:
12266         * WorkArea.C: add and use Debug::WORKAREA
12267
12268         * lyxtext.h:
12269         * text.C:
12270         * text2.C: code re-organisation, inline helpers
12271
12272 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12273
12274         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12275         std::vector.empty().
12276
12277 2001-11-09  Allan Rae  <rae@lyx.org>
12278
12279         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12280         '\n's after tables.  Tabular and ERT inset work now makes this no
12281         longer necessary.
12282
12283 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * minibuffer.h:
12286         * minibuffer.C: fix crash, improve drop-down completion
12287
12288 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * lyxserver.h:
12291         * lyxserver.C: invalidate fd's when doing endPipe()
12292
12293 2001-11-08  José Matos  <jamatos@fep.up.pt>
12294
12295         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12296         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12297
12298         * paragraph.h:
12299         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12300
12301 2001-11-07  José Matos  <jamatos@fep.up.pt>
12302
12303         * buffer.h:
12304         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12305         const qualifier.
12306
12307         * buffer.C (sgmlOpenTag):
12308         * buffer.C (sgmlCloseTag): removed debug info.
12309
12310         * buffer.h (sgmlOpenTag):
12311         * buffer.h (sgmlCloseTag): made public.
12312
12313 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * buffer.C (saveParamsAsDefaults):
12316         * lyx_cb.C (MenuLayoutSave): remove
12317
12318         * LyXAction.C (init):
12319         * commandtags.h:
12320         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12321
12322 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12323
12324         * buffer.C (setPaperStuff): removed from here...
12325
12326         * bufferparams.C (setPaperStuff): ... and moved there.
12327
12328 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * minibuffer.h:
12331         * minibuffer.C:
12332         * XFormsView.C: add support for drop-down completion
12333
12334 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12335
12336         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12337         commands.
12338
12339 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12340
12341         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12342         disabled.
12343
12344 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12345
12346         * lyx_main.C: change ref to known bugs
12347
12348 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12349
12350         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12351         to work around older babel problems.
12352
12353 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12354
12355         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12356
12357 2001-10-24  Juergen Vigna  <jug@sad.it>
12358
12359         * tabular-old.C (ReadOld): below variable changes reflected.
12360
12361         * tabular.[Ch]: added ltType struct for longtable header/footer
12362         defines and changed all instances where they are used. Added
12363         future support for double top/bottom rows.
12364
12365 2001-10-24  José Matos  <jamatos@fep.up.pt>
12366
12367         * buffer.h (docbookHandleCaption):
12368         * buffer.C (docbookHandleCaption): removed unused function.
12369         (makeDocBookFile): moved docbook supported version to v4.1.
12370
12371 2001-10-24  José Matos  <jamatos@fep.up.pt>
12372
12373         * tabular.h:
12374         * tabular.C (docbookRow): new function to export docbook code of a row.
12375         (DocBook): now honors the longtable flags.
12376
12377 2001-10-23  José Matos  <jamatos@fep.up.pt>
12378
12379         * LaTeXFeatures.h:
12380         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12381         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12382
12383         * buffer.C (makeLinuxDocFile):
12384         (makeDocBookFile): reworked the preamble, more clean, and with
12385         support for lyx defined entities. Changed the document declaration
12386         to be more XML friendly.
12387
12388         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12389         if we need to output XML that should be done with a filter.
12390
12391 2001-10-22  Juergen Vigna  <jug@sad.it>
12392
12393         * sp_pspell.h (class PSpell): add alive function needed in the
12394         controller to see if the spellchecker could be started.
12395
12396 2001-10-22  Juergen Vigna  <jug@sad.it>
12397
12398         * buffer.C (insertStringAsLines): modify the font for inserting
12399         chars in certain conditions by calling checkInsertChar(font).
12400
12401 2001-10-19  Juergen Vigna  <jug@sad.it>
12402
12403         * text.C (workWidth): use getRow instead of wrong algorithm.
12404         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12405
12406 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * lyxserver.h:
12409         * lyxserver.C:
12410         * lyx_main.h:
12411         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12412
12413 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12414
12415         * text.C (workWidth): do not search for the exact row when
12416         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12417         optimization for big documents.
12418
12419 2001-10-18  Juergen Vigna  <jug@sad.it>
12420
12421         * text.C (workWidth): new function with added Inset * parameter.
12422
12423 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12424
12425         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12426
12427         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12428         change return type of getColumnNearX.
12429
12430
12431         * text.C (changeRegionCase): use uppercase/lowercase instead of
12432         toupper/tolower.
12433         (leftMargin):
12434         (rightMargin): simplify code by factoring out the uses of
12435         textclasslist.
12436         (labelFill):
12437         (numberOfHfills):
12438         (setHeightOfRow):
12439         (appendParagraph): use Paragraph::size_type
12440
12441 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12442
12443         * vspace.C (asLatexString): add a missing break
12444
12445 2001-10-15  Herbert Voss  <voss@perce.de>
12446
12447         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12448
12449 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12452         is not available.
12453
12454 2001-10-10  André Pönitz <poenitz@gmx.net>
12455
12456         * lyxfunc.C: removed greek_kb_flag.
12457
12458 2001-10-10  Herbert Voss  <voss@perce.de>
12459
12460         * lyx_main.C: delete global string help_lyxdir.
12461
12462 2001-10-09  Herbert Voss  <voss@perce.de>
12463
12464         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12465
12466         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12467
12468         * lyx_main.C: added global string help_lyxdir.
12469
12470         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12471
12472 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12473
12474         * lyxrc.C (set_font_norm_type): support iso8859-4
12475
12476 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12477
12478         * LaTeX.C (deplog): add another regex for MikTeX
12479
12480 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12481
12482         * lyxrc.C (set_font_norm_type): support iso8859-3
12483
12484 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12485
12486         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12487
12488         * LaTeXFeatures.C: remove special case of french and index
12489
12490         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12491         before \begin{document}). This solves several incompatibilities.
12492
12493 2001-10-03  Garst Reese  <reese@isn.net>
12494
12495         * lyx_cb.C: change CheckTex error msg.
12496
12497 2001-10-03  José Matos  <jamatos@fep.up.pt>
12498
12499         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12500
12501 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12502
12503         * .cvsignore: update
12504
12505         * lyx_main.C (commandLineVersionInfo): use new style version info.
12506
12507         * buffer.C (writeFile):
12508         (makeLaTeXFile):
12509         (makeLinuxDocFile):
12510         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12511
12512         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12513
12514         * version.h: update to use stuff in version.C
12515
12516         * version.C.in: new file. Contains version information determined
12517         at compile time. This is a merging of version.h and
12518         version_info.h.in.
12519
12520 2001-10-03  Juergen Vigna  <jug@sad.it>
12521
12522         * BufferView_pimpl.C (update): don't change "dirty" status in
12523         updateInset call.
12524
12525 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * WorkArea.C (c-tor): re-position version string slightly.
12528
12529 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12532         revert to previous code.
12533
12534         WorkArea.[Ch]: (show, destroySplash): methods removed.
12535
12536         WorkArea.C: rework code so that it's an amalgam of the codes before and
12537         after the splash screen was moved to WorkArea.
12538
12539 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12540
12541         * lyxrc.C (read):
12542         * vspace.C (inPixels):
12543         (lyx_advance):
12544         * kbmap.C (bind):
12545         * buffer.C (insertStringAsLines):
12546         (asciiParagraph): fix types to be large enough
12547
12548         * lyxlex_pimpl.h: change member status from short to int
12549
12550         * layout.h: fix type of endlabeltype
12551
12552         * kbmap.C (bind):
12553         * kbsequence.C (parse): change return type to string::size_type
12554
12555         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12556         variable
12557
12558         * Bullet.C (bulletSize):
12559         (bulletEntry): do not use short ints as parameters
12560
12561         * BufferView2.C (insertLyXFile): change a char to an int.
12562
12563         * WorkArea.C (WorkArea): remove unneeded floats in computation
12564
12565 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12566
12567         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12568
12569         * paragraph.C (asString): Do not ignore newline/hfill chars when
12570         copying to the clipboard.
12571
12572 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12573
12574         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12575         after a multi-line inset.
12576
12577 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12578
12579         * paragraph.C (validate): Set NeedLyXFootnoteCode
12580
12581 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12584         and decrease-error to decrease.
12585
12586 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12587
12588         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12589         it more readable (should be equivalent)
12590
12591 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12592
12593         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12594
12595 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12598         of a cursor (row, etc.) after a character has been deleted
12599         (deleteEmptyParagraphMechanism): call the method above on _all_
12600         cursors held by the LyXText when a double space has been
12601         detected/deleted.
12602
12603 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12606         pixmap.
12607         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12608
12609         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12610         background. Use greyOut() and the new show() methods to toggle between
12611         the foreground and background. Add code to remove the splash after
12612         its initial showing.
12613
12614         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12615         (create_forms): no longer call Dialogs::showSplash.
12616
12617 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12618
12619         * .cvsignore: add version_info.h
12620
12621 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12622
12623         * version_info.h.in: new file
12624
12625         * Makefile.am: add version_info.h.in
12626
12627         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12628         version_info.h instead of VERSION_INFO
12629
12630 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12631
12632         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12633         The ERT inset now returns string().
12634
12635 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * lyxtext.h, text.C (selectNextWord): renamed as
12638         selectNextWordToSpellcheck.
12639
12640         * text.C (selectNextWordToSpellcheck): Modified to not select
12641         words inside an ERT inset.
12642
12643 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * lyx_cb.C (MenuLayoutSave): change a bit the question
12646
12647         * sp_base.h: include <sys/types.h>
12648
12649 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12650
12651         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12652
12653 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12654
12655         * several files: fix typos in user-visible strings
12656
12657 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12658
12659         * text2.C (pasteSelection): do not set the selection, since it
12660         will be cleared later. Actually, the intent was to fix the way the
12661         selection was set, but I figured rmoving the code was just as good.
12662
12663 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12664
12665         * FontLoader.C (available): Check if font is available without
12666         loading the font.
12667
12668 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12669
12670         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12671
12672 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * lyxrc.[Ch]: added display_graphics variable and associated code.
12675
12676 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12677
12678         * bufferparams.C (hasClassDefaults): new method. Returns true if
12679         the buffer parameters correspond to known class defaults
12680
12681 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * XFormsView.C (show): set minimum size to the main window.
12684
12685 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * text2.C (copySelection):
12688         (cutSelection):
12689         * lyxfind.C (LyXReplace):
12690         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12691         LyXText::selectionAsString.
12692
12693         * paragraph.C (asString): add "label" argument to the second form
12694
12695         * text2.C (selectionAsString): add "label" argument and pass it to
12696         Paragraph::asString.
12697
12698 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12699
12700         * lyx_main.C (commandLineHelp): remove version information
12701
12702 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12703
12704         * lyx_main.C: add -version commandline option
12705
12706 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * paragraph.h: make the optional constructor arg required instead.
12709         some modifications to other files because of this.
12710
12711         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12712
12713         * lyxserver.C (C_LyXComm_callback): make it static
12714
12715         * lyx_main.C (error_handler): make it static
12716
12717         * lyx_gui.C (LyX_XErrHandler): make it static
12718
12719         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12720
12721         * WorkArea.C: make the extern "C" methods static.
12722
12723         * Makefile.am (lyx_LDADD): simplify
12724
12725 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12726
12727         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12728         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12729
12730         * LyXAction.C (init):
12731         * lyxfunc.C (dispatch): associated code removal.
12732
12733 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12734
12735         * lyxfont.h (isSymbolFont): shut off warning
12736
12737         * text.C (setHeightOfRow):
12738         (getVisibleRow): fix crash with empty paragraphs which have a
12739         bottom line
12740
12741 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12742
12743         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12744         code.
12745
12746 2001-09-04  José Matos  <jamatos@fep.up.pt>
12747         * buffer.C
12748         * buffer.h
12749         * tabular.C (docbook): rename docBook method to docbook.
12750
12751 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12752
12753         * Makefile.am: add dependencies to main.o.
12754
12755 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12756
12757         * FontLoader.C (available): Return false if !lyxrc.use_gui
12758
12759 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12760
12761         * FontInfo.C (query):
12762         * converter.C (view):
12763         * importer.C (Import):
12764         * exporter.C (Export): Can not -> cannot.
12765
12766 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12767
12768         * BufferView_pimpl.C: allow to create index inset even if
12769           string is empty
12770
12771 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12772
12773         * buffer.C (getLists): replace boost::tie code with an explicit pair
12774         as boost::tie can break some compilers.
12775
12776         * iterators.h: Added a std:: declaration to the return type of
12777         ParIterator::size.
12778
12779 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12782           case.
12783
12784 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12785
12786         * iterators.[Ch]: New files. Provide paragraph iterators.
12787
12788         * buffer.C (changeLanguage): Use paragraph iterators.
12789         (isMultiLingual): ditto
12790
12791         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12792
12793 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * FontLoader.C: Support for cmr font.
12796
12797 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12800         (available): New method.
12801
12802         * FontInfo.C (getFontname): Use scalable fonts even when
12803         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12804         found.
12805
12806 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12807
12808         * converter.C (Formats::view): reverted! Incorrect fix.
12809
12810 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12811
12812         * converter.C (Formats::view): only output the -paper option
12813         if the dvi viewer is xdvi, thereby fixing bug #233429.
12814
12815 2001-08-23  Herbert Voss  <voss@perce>
12816
12817         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12818
12819 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12820
12821         * Spacing.h (Spacing): Set space to Default on in the default
12822         constructor.
12823
12824 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * vc-backend.h (RCS::versionString): add RCS to version
12827         (CVS::versionString): add CVS to version
12828
12829         * vc-backend.C (scanMaster): do not add CVS to version.
12830         (scanMaster): do not add RCS to version
12831
12832         * lyxvc.C (versionString): new method
12833
12834         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12835
12836 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * Spacing.C (set): initialize fval
12839
12840 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12841
12842         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12843         " or \.
12844
12845 2001-08-16  Juergen Vigna  <jug@sad.it>
12846
12847         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12848
12849 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * BufferView_pimpl.C:
12852         * figureForm.C:
12853         * lyxtext.h:
12854         * text2.C: setParagraph takes linespacing now
12855
12856 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * LyxAction.C: add internal LFUN_CITATION_INSERT
12859
12860         * LyXView.C: actually apply fix
12861
12862         * bufferlist.C: fix open non-existent file
12863
12864         * lyxfind.C: fix indentation
12865
12866         * lyxfunc.C: remove unneeded assert, fix typo
12867
12868 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12869
12870         * MenuBackend.C: use "Floatname List"
12871
12872 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12873
12874         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12875         when converting LaTeX layout to insetERT.
12876         Generate a non-collapsed float when reading old float
12877
12878 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12879
12880         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12881         ERT insets.
12882
12883 2001-08-13  Juergen Vigna  <jug@sad.it>
12884
12885         * text.C (fill): return 0 instead of 20 as this seems to be the more
12886         correct value.
12887
12888 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12889
12890         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12891         lyxrc.font_norm.
12892
12893 2001-08-13  Juergen Vigna  <jug@sad.it>
12894
12895         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12896         casesensitive off.
12897         (SearchBackward): comment out the unlocking of the inset_owner this
12898         should not be needed!
12899
12900 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12901
12902         * Many files: Remove inherit_language, and add latex_language
12903
12904         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12905         collapsible insets.
12906
12907 2001-08-10  Juergen Vigna  <jug@sad.it>
12908
12909         * text.C (prepareToPrint): fixed hfill-width in draw!
12910
12911         * BufferView2.C (selectLastWord): save the selection cursor as this
12912         now is cleared in the function LyXText::clearSelection!
12913
12914 2001-08-08  Juergen Vigna  <jug@sad.it>
12915
12916         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12917         BACKSPACE type functions.
12918
12919         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12920         is only cutted from the document but not put in the cut-buffer, where
12921         still the old stuff should be.
12922
12923         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12924
12925         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12926
12927         * tabular.C (SetWidthOfCell): fixed special case where the width
12928         was not updated!
12929         (LeftLine): handle '|' in align_special.
12930         (RightLine): ditto
12931         (LeftAlreadyDrawed): ditto
12932         (SetWidthOfCell): ditto
12933
12934 2001-08-07  Juergen Vigna  <jug@sad.it>
12935
12936         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12937
12938 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12941         * lyxlex.[hC]: ditto
12942
12943 2001-08-06  Juergen Vigna  <jug@sad.it>
12944
12945         * text.C (getVisibleRow): fix up row clearing a bit.
12946
12947 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * minibuffer.C: make sure the X server sees the changes in the input.
12950
12951 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * paragraph.C (getFont): split into...
12954         (getLabelFont): this
12955         (getLayoutFont): and this
12956         * paragraph_pimpl.C (realizeFont): calling this
12957
12958         * text2.C (getFont): split into...
12959         (getLayoutFont): this
12960         (getLabelFont): and this
12961         (realizeFont): all three calling this
12962
12963         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12964         files where used.
12965
12966 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12969
12970 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12971
12972         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12973         layouts from the Quote inset insertion.
12974
12975 2001-08-03  Juergen Vigna  <jug@sad.it>
12976
12977         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12978
12979         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12980         only if status not is already CHANGED_IN_DRAW (second level).
12981
12982         * text.C (draw): don't set the need_break_row when inside an
12983         InsetText LyXText.
12984
12985 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * buffer.C (parseSingleLyXformat2Token): handle more latex
12988         conversion cases.
12989
12990         * bufferview_funcs.[hC]: change function names to
12991         begin with small char, adjust other files.
12992
12993 2001-08-02  André Pönitz <poenitz@gmx.net>
12994
12995         * lyxfunc.C:
12996         BufferView_pimpl.C: remove broken special code for math-greek
12997
12998 2001-08-02  Juergen Vigna  <jug@sad.it>
12999
13000         * BufferView_pimpl.C (update): redone this function so that we
13001         update the text again if there was a CHANGE_IN_DRAW.
13002
13003         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13004         (drawFromTo): added a new internal bool which is used by draw() and
13005         redraw() function.
13006         (general): some cursor drawing problems fixed.
13007
13008 2001-08-01  Juergen Vigna  <jug@sad.it>
13009
13010         * lyxfind.C (LyXFind): fixed
13011         (SearchForward): ditto
13012         (SearchBackward): ditto
13013
13014         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13015         spurius drawing of the cursor in the main area.
13016
13017         * text2.C (status): small fix which could lead to a segfault!
13018         (clearSelection): remove unneeded BufferView param.
13019
13020 2001-08-01  André Pönitz <poenitz@gmx.net>
13021
13022         * lyxfunc.C: small change due to changed mathed interface
13023
13024 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13025
13026         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13027
13028 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * lyxfunc.c: fail gracefully if file doesn't exist
13031
13032         * LyXSendto.C:
13033         * buffer.C:
13034         * lyxfunc.C:
13035         * BufferView_pimpl.C: IsDirWriteable() proto changed
13036
13037         * LyXView.C: fix updateWindowTitle() to store the last title
13038
13039 2001-07-31  Juergen Vigna  <jug@sad.it>
13040
13041         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13042         the font (wrong since using of Paragraph::highestFontInRange).
13043
13044         * paragraph.C (highestFontInRange): added a default_size parameter.
13045
13046         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13047         (setHeightOfRow): reformat
13048
13049 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * converter.[hC] + affected files: move to (inital-char)lowercase
13052         function names.
13053
13054         * ParagraphParameters.C (ParagraphParameters): remove commented code
13055
13056         * PainterBase.[Ch]: remove commented code
13057
13058         * LaTeXFeatures.h: add "bool floats" for float.sty
13059
13060         * LaTeXFeatures.C (LaTeXFeatures): init floats
13061         (require): handle float
13062         (getPackages): do it with floats
13063
13064 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13065
13066         * BufferView_pimpl.C (Dispatch): improve handling of
13067         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13068
13069         * commandtags.h: #include lyxfont.h here temporarily to avoid
13070         keybinding bug.
13071
13072         * bufferlist.h: include LString.h here.
13073
13074 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * text2.C (getStringToIndex): new method.
13077
13078 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13079
13080         * *: Reduced header file dependencies all over.
13081
13082 2001-07-30  Baruch Even  <baruch@lyx.org>
13083
13084         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13085
13086 2001-07-29  Baruch Even  <baruch@lyx.org>
13087
13088         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13089
13090 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * ParameterStruct.h (endif): add a default constructor to make
13093         sure that all variables is initialized.
13094
13095         * ParagraphParameters.C (ParagraphParameters): adjust
13096
13097 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13100         index; also, check that there is something to index, and that it
13101         does not span over several paragraphs.
13102         (doubleClick): use WHOLE_WORD_STRICT for double click.
13103
13104         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13105
13106         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13107         scheme.
13108
13109 2001-07-26  Baruch Even  <baruch@lyx.org>
13110
13111         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13112         an InsetFig figure, backwards compatible reading of old figure code.
13113
13114 2001-07-27  Juergen Vigna  <jug@sad.it>
13115
13116         * text2.C: font.realize function adaption.
13117
13118         * text.C (draw): add a warnings lyxerr text if needed.
13119
13120         * layout.C: font.realize function adaption.
13121
13122         * language.C: add inherit_language and implement it's handlings
13123
13124         * bufferview_funcs.C (StyleReset): remove language parameter from
13125         font creation (should be language_inherit now).
13126
13127         * bufferparams.C (writeFile): handle ignore_language.
13128
13129         * paragraph.C (getFontSettings): the language has to be resolved
13130         otherwise we have problems in LyXFont!
13131
13132         * lyxfont.C (lyxWriteChanges): added document_language parameter
13133         (update): removed unneeded language parameter
13134
13135         * paragraph.C (validate): fixed wrong output of color-package when
13136         using interface colors for certain fonts in certain environments,
13137         which should not seen as that on the final output.
13138
13139 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * BufferView_pimpl.C:
13142         * Thesaurus.h:
13143         * Thesaurus.C:
13144         * Makefile.am:
13145         * commandtags.h:
13146         * LyXAction.C: add thesaurus support
13147
13148         * lyxfind.h:
13149         * lyxfind.C: add "once" parameter, for thesaurus, to not
13150           move to the next match
13151
13152 2001-07-26  Juergen Vigna  <jug@sad.it>
13153
13154         * lyxfont.C (realize): honor ignore_language too!
13155         (resolved): ditto.
13156
13157         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13158
13159         * text.C (draw): one place more for ignore_language to not draw
13160         itself!
13161
13162 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13165
13166 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13169         the minipage conversion problem.
13170
13171 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13174         insert an inset.
13175
13176 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * BufferView.h: don't forward declare WorkArea
13179
13180         * BufferView.C: don't include WorkArea.h
13181
13182 2001-07-25  André Pönitz <poenitz@gmx.net>
13183
13184         * commandtags.h:
13185         * LyXAction.C:
13186         * lyxfunc.C:  new LFUN 'math-space'
13187
13188         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13189
13190 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * text2.C (toggleInset): call open/close
13193
13194 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13195
13196         * lyxfunc.C (dispatch): add debug for the disabled case
13197
13198         * font.C (buttonText): make similar to rectText
13199
13200         * buffer.C (readInset): comment out parsing of insetlist and
13201         insttheorem
13202
13203         * PainterBase.C (rectText): small correction
13204
13205         * BufferView_pimpl.C: comment out insettheorem and insetlist
13206         * LyXAction.C: ditto
13207         * commandtags.h: ditto
13208
13209 2001-07-24  Juergen Vigna  <jug@sad.it>
13210
13211         * text.C (draw): honor the ignore_language.
13212
13213         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13214
13215 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13218         char inset.
13219
13220 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13221
13222         * lyxtext.h: remove unused (and unimplemented) methods
13223
13224 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13225
13226         * text.C (getVisibleRow): honor background color
13227
13228         * PainterBase.h:
13229         * Painter.h: remove default color argument for fillRectangle
13230
13231         * text.C (backgroundColor): new method
13232
13233 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * text.C (getVisibleRow): adjust
13236
13237         * font.[Ch] (rectText): new method, metrics
13238         (buttonText): new method, metrics
13239
13240         * PainterBase.[hC]: make rectText and buttonText always draw and take
13241         fewer paramteres.
13242
13243 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13244
13245         * ToolbarDefaults.C (read):
13246         * MenuBackend.C (read): allow escaping in all strings
13247
13248         * BufferView_pimpl.C (insertAndEditInset): new method.
13249         (Dispatch): use insertAndEditInset whenever appropriate.
13250
13251         * BufferView_pimpl.C (insertNote): removed
13252
13253         * BufferView_pimpl.C (smartQuote): new method, moved from
13254         BufferView; if an insetquote cannot be inserted, insert a '"'
13255         character instead.
13256
13257         * BufferView2.C: remove insertCorrectQuote();
13258
13259         * lyxfunc.C (getStatus): Add support for all remaingin
13260         inset-insert lfuns.
13261
13262         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13263
13264         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13265         command (necessary to pass " as parameter of self-insert.
13266
13267         * text.C (selectWordWhenUnderCursor):
13268         (selectWord): add word_location parameter
13269         (selectWordWhenUnderCursor): same + remove special code for word
13270         boundary.
13271         (selectNextWord): use kind() to guess type of insetspecialchar,
13272         not latex().
13273
13274         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13275         (insertErtContents): create ert insets as collapsed.
13276         (readInset): better compatibility code for Info inset.
13277
13278 2001-07-20  Juergen Vigna  <jug@sad.it>
13279
13280         * lyxfunc.C (dispatch): use always LyXFind now!
13281
13282         * text2.C (init): add a reinit flag so that the LyXText can be
13283         reinited instead of deleted and reallocated (used in InsetText).
13284
13285         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13286
13287         * text.C: ditto
13288
13289         * text2.C: ditto
13290
13291 2001-07-18  Juergen Vigna  <jug@sad.it>
13292
13293         * text.C (selectNextWord): handle insets inside inset by calling
13294         always the bv->text functions so that we can go up the_locking_inset!
13295
13296         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13297         in strange locations when inside an inset!
13298
13299         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13300         handling to include insets.
13301
13302         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13303
13304 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * LyXAction.C (init):
13307         * commandtags.h:
13308         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13309         LIGATURE_BREAK, since the name is so stupid.
13310
13311 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13314         InsetInfos.
13315
13316         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13317
13318         * sp_form.[Ch]: remove.
13319
13320         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13321
13322         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13323         InsetInfo.
13324
13325         * src/buffer.C (readInset): ditto.
13326
13327 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13328
13329         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13330         menuSeparator(), endOfSentenceDot(), ldots() and
13331         hyphenationPoint(), which are therefore removed.
13332         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13333
13334         * LyXAction.C (init):
13335         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13336
13337         * paragraph.C (getWord): removed.
13338
13339         * BufferView_pimpl.C (Dispatch): use last word or selection for
13340         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13341
13342         * lyx_main.C (queryUserLyXDir): do not ask before creating
13343         user_dir, except if it has been named explicitely.
13344
13345 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13346
13347         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13348         a document of zero size.
13349
13350 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13353         approriately in the c-tor and in require().
13354         (getPackages): output the appropriate LaTeX for natbib support.
13355
13356         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13357         variables "use_natbib" and "use_numerical_citations" when reading the
13358         LyX file.
13359         (readInset): read the various natbib cite commands.
13360         (validate): white-space change.
13361
13362         * bufferparams.[Ch]: new variables "bool use_natbib" and
13363         "bool use_numerical_citations".
13364         (writeFile): output them in the LyX file.
13365
13366 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13367
13368         * lyxfunc.C (getStatus): add support for all the inset insertion
13369         commands.
13370
13371         * text2.C (insertInset):
13372         * paragraph.C (insetAllowed):
13373         * BufferView_pimpl.C (insertInset): update to take in account the
13374         renaming of insertInsetAllowed
13375
13376         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13377
13378         * text2.C (getInset): new method. returns inset at cursor position.
13379
13380         * BufferView_pimpl.C (Dispatch): changes because of this.
13381
13382         * LyXAction.C (init): rename open-stuff to inset-toggle.
13383
13384         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13385
13386         * text2.C (toggleInset): renamed from openStuff; use
13387         Inset::open().
13388
13389 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13390
13391         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13392
13393         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13394
13395 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * buffer.C (readLyXformat2): Add filename to the error dialog
13398
13399 2001-07-18  Juergen Vigna  <jug@sad.it>
13400
13401         * tabular.C (GetCellNumber): put an assert here instead of the check!
13402
13403 2001-07-17  Juergen Vigna  <jug@sad.it>
13404
13405         * BufferView_pimpl.C (toggleSelection): adapted too.
13406
13407         * text.C (selectNextWord): adapted for use with insets.
13408         (selectSelectedWord): ditto
13409
13410 2001-07-17  Juergen Vigna  <jug@sad.it>
13411
13412         * sp_spell.C (PSpell): fix initialitation order.
13413
13414 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * paragraph.C: spacing
13417
13418 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13419
13420         * sp_spell.C: repair language selection for pspell
13421
13422 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * lyxfunc.h: change more methods to begin with lower char.
13425
13426 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13427
13428         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13429         for unknown layouts.
13430
13431 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * buffer.C (readLyXformat2): Generate an error dialog if there are
13434         unknown layouts.
13435
13436 2001-07-16  Juergen Vigna  <jug@sad.it>
13437
13438         * sp_spell.C: always compile ISpell part.
13439
13440         * lyxrc.C: added use_pspell entry and it's handling.
13441
13442 2001-07-13  Juergen Vigna  <jug@sad.it>
13443
13444         * sp_spell.C: removed double includes.
13445
13446 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         Consistent use of Lsstream.h:
13449         * Lsstream.h: added using std::stringstream for consistencies sake.
13450
13451         * buffer.C: removed using std::stringstream
13452
13453         * lyxfont.C (stateText):
13454         * paragraph.C (asString):
13455         * text.C (selectNextWord, selectSelectedWord):
13456         * text2.C (setCounter):
13457         * vspace.C (asString, asLatexString):
13458         std::ostringstream -> ostringstream.
13459
13460 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13461
13462         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13463         * commandtags.h: add LFUN_HELP_ABOUTLYX
13464         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13465
13466 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13467
13468         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13469         cursorToggle()
13470         * lyx_gui_misc.C: remove spellchecker
13471         * lyxfunc.C: showSpellchecker
13472         * sp_base.h: added
13473         * sp_ispell.h: added
13474         * sp_pspell.h: added
13475         * sp_spell.C: added
13476         * sp_form.[Ch]: removed
13477         * spellchecker.[Ch]: removed
13478
13479 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13480
13481         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13482         is set.
13483         (simpleTeXSpecialChars): Simply print the input character without
13484         any special translation if pass_thru is set.
13485
13486         * layout.h: Added bool pass_thru to layout class for being able to
13487         implement pass through of a paragraph for Literate Programming.
13488
13489         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13490         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13491         * layout.C (Read): add "passthru" to list of layout tags and add
13492         code to set the pass_thru boolean when it is read.
13493
13494 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * trans_decl.h: remove allowed from KmodInfo
13497
13498         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13499         remove allowed code
13500         (Load): adjust
13501
13502         * paragraph_pimpl.C (erase): use boost::prior
13503
13504         * Painter.C (text): use data() instead of c_str() when length is
13505         also provided.
13506         * WorkArea.C (putClipboard): ditto
13507         * font.h (width): ditto
13508
13509         * BufferView2.C: use it-> instead of (*it). for iterators
13510         * texrow.C: ditto
13511         * paragraph_pimpl.C: ditto
13512         * paragraph.C: ditto
13513         * minibuffer.C: ditto
13514         * language.C: ditto
13515         * kbmap.C: ditto
13516         * encoding.C: ditto
13517         * counters.C: ditto
13518         * converter.C: ditto
13519         * chset.C: ditto
13520         * Variables.C: ditto
13521         * TextCache.C: ditto
13522         * MenuBackend.C: ditto
13523         * LyXAction.C: ditto
13524         * LColor.C: ditto
13525         * FloatList.C: ditto
13526         * DepTable.C: ditto
13527         * ColorHandler.C (LyXColorHandler): ditto
13528
13529 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13532
13533         * text2.C (openStuff): reintroduce this method (which had been
13534         nuked in NEW_INSETS frenzy).
13535
13536         * lyxfunc.C (Dispatch): when an action has not been handled, use
13537         its name in the error message, not its number.
13538
13539         * paragraph.C (inInset): change method name to begin with lowercase.
13540
13541         * undo_funcs.C:
13542         * text2.C: updates because of this.
13543
13544 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13545
13546         * ToolbarDefaults.C (add): add spaces in error message
13547
13548 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13551         (readLyXformat2): rename return_par to first_par, use lyxlex's
13552         pushToken and remove the manual push handling.
13553         (parseSingleLyXformat2Token): add another ert comp. variable:
13554         in_tabular, rename return_par to first_par. handle newlines better
13555
13556 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13559
13560 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13561
13562         * text2.C (getParFromID): removed
13563
13564         * buffer.C (getParFromID): new method moved form lyxtext.
13565         * BufferView2.C (insertErrors): adjust
13566         (setCursorFromRow): adjust
13567         * BufferView_pimpl.C (restorePosition): adjust
13568         * lyxfunc.C (Dispatch): adjust
13569         * undo_funcs.C (textUndo): adjust
13570         (textRedo): adjust
13571         (textHandleUndo): adjust
13572         (textHandleUndo): adjust
13573
13574 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * buffer.C: up' the LYX_FORMAT
13577
13578         * lyxfont.h: turn NO_LATEX on as default
13579
13580         * buffer.C (insertErtContents): new methods of tex style compability.
13581         (parseSingleLyXformat2Token): use it several places.
13582         * tabular.C (OldFormatRead): and here
13583
13584 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * text2.C: remove some commented code.
13587         reindent file.
13588
13589         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13590         * trans.C: changes because of the above.
13591
13592 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13593
13594         * text2.C (setCounter): Fix counters bug with bibliography layout.
13595
13596 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13599         own member functions
13600         (simpleTeXSpecialChars): ditto
13601
13602 2001-07-06  Juergen Vigna  <jug@sad.it>
13603
13604         * a lot of files: changed the access to LyXText::status and the
13605         call of undo-functions.
13606
13607         * undo.[Ch]: added a inset_id to the undo informations.
13608
13609         * undo_funcs.[Ch]: added and moved here all undo functions.
13610
13611         * lyxtext.h: give the status enum a weight, made status_ a private
13612         variable and made accessor functions for it, removed the whole bunch
13613         of undo-functions as they are now in their own file, make some
13614         functions publically available. Added function ownerParagraph with
13615         int parameter.
13616
13617         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13618         made InInset() a const function, added getParFromID() function.
13619
13620         * buffer.[Ch]: added const version for inset_iterator functions,
13621         added getInsetFromID() function.
13622
13623         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13624         changed undo functions for new version.
13625
13626 2001-07-05  Juergen Vigna  <jug@sad.it>
13627
13628         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13629         unknow mechanism does not call the proper constructor but only this
13630         one also if I request the other!?
13631
13632 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13635
13636         * text2.C (LyXText): use initialization lists.
13637
13638         * lyxtext.h (Selection): initialize set_ and mark_
13639         (init): remove method
13640
13641 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13642
13643         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13644
13645 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * screen.[Ch]: change method names to begin with lowercase
13648
13649         * BufferView_pimpl.C (updateScrollbar): simplify further and
13650         hopefully make it a bit faster.
13651
13652 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13655         calling directly xforms functions.
13656
13657         * Painter.C (Painter):
13658         * lyx_cb.C (MenuWrite):
13659         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13660         fl_display.
13661
13662         * lyx_gui.C: remove bogus guiruntime extern declaration.
13663
13664 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13667         in NEW_INSETS
13668         (redoDrawingOfParagraph): ditto
13669         (redoParagraphs): ditto
13670         (cutSelection): don't create a object for CutAndPaste use the
13671         static method directly
13672         (pasteSelection): ditto
13673
13674         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13675         LyXview (+ rename)
13676
13677 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * modifications to some other files because of this.
13680
13681         * Makefile.am (lyx_SOURCES): add XFormsView
13682
13683         * XFormsView.[Ch]: new files
13684
13685         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13686         the main window. Move the gui dependent stuff to XFormsView
13687
13688 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * tabular.C (GetCellInset): update cur_cell also in the row/col
13691         version of this function.
13692
13693         * lyxfunc.C: no need to include figure_form.h here.
13694
13695         * FontLoader.h:
13696         * lyxfunc.h:
13697         * lyxscreen.h:
13698         * text2.C:
13699         * lyxvc.C: no need to include forms.h here.
13700
13701 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13702
13703         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13704
13705         * lyxfunc.C (Dispatch):
13706         * Spacing.C (set):
13707         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13708         constructor argument.
13709
13710 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * paragraph.C (Paragraph): dont't clear, and just set layout.
13713         (makeSameLayout): use params's copy contructor.
13714
13715         * ParagraphParameters.[Ch] (makeSame): delete method
13716
13717 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * Variables.[Ch]: fix indentation, rename set to isSet
13720
13721 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * lyxfunc.C (Dispatch): fix typo
13724
13725 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13728         upper_bound.
13729
13730         * bufferlist.C: include assert.h for emergencyWrite().
13731
13732 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13735           give up at last (bug #425202) !
13736
13737 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * lyx_gui_misc.C:
13740         * sp_form.h:
13741         * sp_form.C:
13742         * spellchecker.h:
13743         * spellchecker.C: strip spellchecker options and bring up
13744           preferences tab instead
13745
13746 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13749         the istringstream constructor
13750
13751 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * paragraph.C (getLayout): fix return value
13754
13755         * paragraph.h: do not declare getLayout as inline.
13756
13757         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13758
13759 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * lyxcursor.h (operator<): new func
13762         (operator>): new func
13763         (operator>=): new func
13764         (operator<=): new func
13765
13766         * text.C (changeCase): use selection.start and selection.end
13767         (changeRegionCase): require from to be <= to. Require par to be a
13768         valid paragraph.
13769
13770         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13771
13772 2001-06-27  Juergen Vigna  <jug@sad.it>
13773
13774         * text.C (cursorLeftOneWord): changed to return the cursor and added
13775         overlay with BufferView * parameter which calls this one.
13776         (getWord): added
13777         (selectWord): use new getWord function.
13778         (changeCase): renamed from changeWordCase as and extended to work
13779         also on selections.
13780
13781         * lyxtext.h: added enum word_location
13782
13783         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13784         changeCase as this operates now also on selections.
13785
13786 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13787
13788         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13789
13790         * many files: send debug output to Debug::INFO instead of
13791         Debug::ANY.
13792
13793         * converter.C (View):
13794         (Convert):
13795         (Move): send debug output to Debug::FILES instead of console.
13796
13797 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13798
13799         * lyxfunc.C (getStatus): use func_status
13800
13801         * func_status.h: new header, describing the results of
13802         LyXFunc::getStatus;
13803
13804         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13805         LFUN_MATH_HALIGN.
13806
13807 2001-06-25  The LyX Project  <jug@sad.it>
13808
13809         * buffer.C (sgmlOpenTag):
13810         (sgmlCloseTag):
13811         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13812
13813 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13814
13815         * text2.C: remove some dead code
13816
13817         * tabular.C (GetCellInset): store the last cell checked (gotten)
13818
13819         * tabular.h: add the helper for the speedup
13820
13821         * lyxtext.h: remove some dead code
13822
13823 2001-06-26  The LyX Project  <Asger>
13824
13825         * paragraph.C: Change export to LaTeX of alignment to
13826         \begin{center} and family for better roundtrip work with reLyX.
13827
13828         * Tune the math drawing a bit.
13829
13830 2001-06-25  The LyX Project  <Asger>
13831
13832         * LColor.C (LColor): New color for math background. New color
13833         for buttons.
13834
13835 2001-06-25  The LyX Project  <jug@sad.it>
13836
13837         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13838
13839         * lyxfunc.C (Open):
13840         * bufferlist.C (newFile): do not restrict to files ending with
13841         .lyx
13842
13843         * BufferView_pimpl.C (MenuInsertLyXFile):
13844
13845 2001-06-24  The LyX Project  <jug@sad.it>
13846
13847         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13848         of compare_no_case
13849
13850 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13851
13852         * lyxtext.h: rename most methods to begin with a small char.
13853         Lots of changes because of this.
13854
13855         * paragraph.C (Paragraph): do not call fitToSize
13856         (erase): call Pimpl::erase
13857         (insertChar): call Pimpl::insertChar
13858         (insertInset): call Pipl::insertInset
13859         (breakParagraph): do not call fitToSize
13860         (breakParagraphConservative): do not call fitToSize
13861         (fitToSize): remove method
13862
13863         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13864
13865 2001-06-24  The LyX Project  <Asger>
13866
13867         * Fix Qt compilation^2
13868
13869 2001-06-24  The LyX Project  <jug@sad.it>
13870
13871         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13872         depthHook(getDepth()-1).
13873
13874         * paragraph.h:
13875         * ParagraphParameters.h:
13876         * ParameterStruct.h: change type of depth to unsigned int ==
13877         depth_type. Many adaptations to other files before of that.
13878
13879 2001-06-24  The LyX Project  <Asger>
13880
13881         * Fix Qt compilation.
13882
13883 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13884
13885         * paragraph.h: renamed several methods to begin with small letter.
13886         several changes to many parts of the code because of this.
13887
13888 2001-06-23  The LyX Project  <jug@sad.it>
13889
13890         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13891         rewritten to discard all double spaces when KeepEmpty is off
13892         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13893         to only handle newlines but not fiddle with spaces and friends.
13894
13895         * lyxfunc.C (MenuNew): when doing 'new from template', use
13896         template_path as default directory
13897
13898 2001-06-23  The LyX Project  <Asger>
13899
13900         * Clean-up of header file includes all over
13901         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13902
13903 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13904
13905         * paragraph.h: renamed from lyxparagraph.h
13906
13907 2001-06-23  Asger  <lyx@violet.home.sad.it>
13908
13909         * Buffer.h: Removed Buffer::resize
13910         * BufferList.h: Removed BufferList::resize
13911         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13912         the document lazily when we change the width, or the font settings.
13913
13914 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13915
13916         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13917
13918 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13919
13920         * buffer.h: remove out of date comment
13921
13922 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13923
13924         * lyxscreen.h:
13925         * screen.C: fix "theoretical" GC leak
13926
13927 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * LaTeX.C (scanAuxFile):
13930         (deplog): remove trailing \r when reading stream (useful under
13931         win32)
13932
13933 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13934
13935         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13936         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13937         and BufferView::theLockingInset(Inset*), so should use them and not
13938         access bv_->text->the_locking_inset directly.
13939
13940         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13941
13942 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13943
13944         * Makefile.am:
13945         * tex-defs.h: remove old unused file
13946
13947 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * BufferView_pimpl.C: fix typo, remove minibuffer message
13950           when buffer has loaded
13951
13952 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * lyxfunc.C (Dispatch): use stringstream
13955         (MenuNew): use stringstream
13956         (Open): use stringstream
13957
13958         * importer.C (Import): use stringstream
13959
13960         * bufferview_funcs.C (CurrentState): use stringstream
13961
13962         * LaTeX.C (run): use stringstream
13963
13964         * BufferView_pimpl.C (savePosition): use stringstream
13965         (restorePosition): use stringstream
13966         (MenuInsertLyXFile): use stringstream
13967
13968 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * BufferView.C:
13971         * Bullet.C:
13972         * ColorHandler.C:
13973         * FontInfo.C:
13974         * FontLoader.C:
13975         * LColor.C:
13976         * LaTeXFeatures.C:
13977         * Painter.C:
13978         * gettext.C:
13979         * lyx_gui_misc.C:
13980         * lyxserver.C:
13981         * vspace.C: removed // -*- C++ -*- as first line.
13982
13983         * lyxfind.h:
13984         * version.h: added // -*- C++ -*- as first line.
13985
13986 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13989
13990         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13991         of string
13992
13993 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13996         of floats.
13997
13998 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13999
14000         * gettext.C: include LString.h even when --disable-nls is on.
14001
14002 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14003
14004         * converter.h (Get): changed argument type from int to
14005         FormatList::size_type to avoid unnecessary conversion.
14006
14007         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14008         before using it.
14009
14010 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14011
14012         * gettext.h: include LString.h even when --disable-nls is on.
14013
14014 2001-06-07  Juergen Vigna  <jug@sad.it>
14015
14016         * text.C (BreakAgain): subst spaces with tabs.
14017
14018         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14019         (resizeInsetsLyXText): set force on resizeLyXText.
14020
14021 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * gettext.h (gettext_init):
14024         (locale_init): use a real definition instead of a macro
14025
14026 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * Bufferview_pimpl.C:
14029         * LColor.h:
14030         * LColor.C: further lcolor tidies
14031
14032 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * BufferView_pimpl.C (updateScrollbar): simplify.
14035
14036         * BufferView2.C: don't include insets/insetinfo.h, change
14037         prototype for insertInset and call the Pimpl version. let
14038         updateInset call Pimpl version.
14039
14040         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14041         gotoInset to BufferView::Pimpl
14042
14043 2001-06-01  Juergen Vigna  <jug@sad.it>
14044
14045         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14046         inside a LockingInset (is the update needed at all?).
14047
14048 2001-05-31  Juergen Vigna  <jug@sad.it>
14049
14050         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14051         here not the old one otherwise how should we compare it afterwards
14052         if it's the same!
14053
14054 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * lyxfont.C:
14057         * tabular.C:
14058         * tabular-old.C:
14059         * FontInfo.C: bring C functions into global namespace when
14060         necessary
14061
14062 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14063
14064         * LString.h: make sure config.h has been loaded before LString.h.
14065
14066         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14067         (one for each char read by EatLine!).
14068
14069         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14070         variables.
14071
14072 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14075         to the same as the par we break from
14076
14077 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14078
14079         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14080
14081         * MenuBackend.C (expand): also create menu entries for wide
14082         versions of the floats.
14083
14084         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14085
14086         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14087
14088         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14089         frontends/Makefile.am
14090
14091         * text2.C: adjust
14092         * text.C: adjust
14093
14094
14095         * tabular.C (getTokenValue): add std::
14096
14097         * tabular-old.C (getTokenValue): add std::
14098         (getTokenValue): ditto
14099         (getTokenValue): ditto
14100
14101         * screen.C (ToggleSelection): adjust
14102
14103         * lyxtext.h: put selection cursors inside a Selection struct.
14104
14105         * lyxfunc.C (moveCursorUpdate): adjust
14106
14107         * lyxfont.C (latexWriteStartChanges): add std::
14108
14109         * lyxfind.C: adjust
14110
14111         * font.h: delete with(char const *, LyXFont const &)
14112
14113         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14114
14115         * FontInfo.C (getFontname): add std::
14116
14117         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14118         (workAreaButtonPress): adjust
14119         (tripleClick): adjust
14120         (update): adjust
14121         (moveCursorUpdate): adjust
14122         (Dispatch): adjust
14123
14124         * BufferView2.C (gotoInset): adjust
14125
14126 2001-05-30  Juergen Vigna  <jug@sad.it>
14127
14128         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14129         to check pspell I add this as default as I now have new pspell
14130         libraries and they seem to use this.
14131
14132 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * text2.C (CutSelection): make the cursor valid before the call to
14135         ClearSelection.
14136
14137 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14138
14139         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14140         relied on 0 terminated strings and other horrors. Bug found due to
14141         the new assert in lyxstring!
14142
14143         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14144         KP_ keys.
14145
14146 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14149         to latinkeys.bind.
14150
14151         * lyxfunc.C (processKeySym): change method of getting to the
14152         self-insert char.
14153
14154         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14155         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14156         * BufferView_pimpl.[Ch]: here as private methods.
14157
14158 2001-05-28  Juergen Vigna  <jug@sad.it>
14159
14160         * text.C (SetHeightOfRow): added the update() call again as it is
14161         needed to initialize inset dimensions!
14162
14163 2001-05-16  Juergen Vigna  <jug@sad.it>
14164
14165         * text2.C (SetCharFont): Add new function with BufferView * and
14166         bool toggleall parameters for setting insets internal fonts.
14167         (SetFont): Freeze the undo as we may change fonts in Insets and
14168         all this change should be inside only one Undo!
14169
14170         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14171         setting font's in insets as for them we have the SetFont function!
14172
14173 2001-05-15  Juergen Vigna  <jug@sad.it>
14174
14175         * text2.C (ClearSelection): to be sure we REALLY don't have any
14176         selection anymore!
14177
14178         * tabular.C (TeXCellPreamble): fixed the left border problem for
14179         multicolumn cells.
14180
14181 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14182
14183         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14184         dependancy file
14185
14186 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14187
14188         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14189         LFUN_BREAKPARAGRAPH.
14190
14191         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14192         help test to "internal only", similar for LFUN_INSERT_URL
14193
14194         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14195         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14196         auto_region_delete and deadkeys.
14197
14198 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * LColor.h:
14201         * LColor.C: remove some dead entries, tidy a little
14202
14203 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14204
14205         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14206         commented code.
14207         (Dispatch): implement LFUN_ESCAPE
14208
14209         * commandtags.h: add LFUN_ESCAPE
14210
14211         * LyXAction.C (init): add entry for LFUN_ESCAPE
14212
14213         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14214         Remove commented code.
14215         (insertNote): moved here
14216         (open_new_inset): moved here
14217
14218         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14219         BufferView_pimpl
14220
14221 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * kbmap.C (findbinding): clean it up and make it work correctly.
14224
14225         * lyx_main.C (init): do not pass argc and argv as parameters
14226
14227 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14228
14229         * buffer.C: fix path for OS/2 & Win32
14230
14231         * lyx_gui.C:
14232         * lyx_main:
14233         * lyx_main.C: Added os:: class.
14234
14235         * os2_defines.h: update
14236
14237 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14240         better by trying again with reduced state.
14241
14242 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * lyxrc.C (read): print error about invalid key sequence only when
14245         debugging (because not all latinX keysyms are known to some X
14246         servers)
14247
14248         * kbsequence.C (getiso): add a few std:: qualifiers
14249         (getiso): comment out extra return statement.
14250
14251 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14254         handling.
14255         (Dispatch): enhance the accent inset a bit. (not perfect)
14256
14257 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14258
14259         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14260
14261 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * bufferlist.C (emergencyWrite): fix assert() call
14264
14265 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14266
14267         * text.C (InsertChar): Added trivial patch to only send the "you
14268         can not do multiple spaces this way" message once during a
14269         session.
14270
14271 2001-05-08  Baruch Even  <baruch@lyx.org>
14272
14273         * Makefile.am: Changed order of libraries to get LyX to link properly
14274         with the gnome frontend.
14275
14276 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * LaTeXFeatures.h: add a std:: qualifier
14279
14280 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14281
14282         * paragraph.C (String): use stringstream
14283
14284 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * paragraph.C (writeFile): remove footflag arg
14287
14288         * buffer.C (makeLaTeXFile): use stringstream
14289         (latexParagraphs): remove footnot gurba
14290
14291         * LaTeXFeatures.C (getPackages): use stringstream
14292         (getMacros): likewise
14293         (getTClassPreamble): likewise
14294         (getFloatDefinitions): new method
14295
14296         * paragraph.C (writeFile): reindent
14297         (Erase): reindent
14298
14299         * WorkArea.h: revert the xpos + etc changes.
14300
14301         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14302
14303         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14304
14305         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14306         (pasteSelection): likewise
14307         * text2.C (CreateUndo): likewise
14308
14309 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14310
14311         * minibuffer.C (peek_event): temporarily reduce the functionality
14312         of the minibuffer (to allow args on lfuns)
14313
14314         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14315         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14316
14317         * buffer.C (readInset): add compability reading of old float
14318         lists, add reading of new style float list.
14319         (readInset): avoid reevaluation of inscmd.getCmdName()
14320         (getLists): reindent
14321
14322         * MenuBackend.C (MenuItem): implement parsing of
14323         md_floatlistinsert and md_floatinsert.
14324         (expand::LastFiles): move initalizaton of iterators out of loop,
14325         avoid reevaluation.
14326         (expand::Documents): introduce typdedef vector<string> Strings,
14327         and use it.
14328         (expand::ExportFormats): introduce typedef vector<Format const *>
14329         Formats, and use it.
14330         (expand): implement FloatListInsert and FloatInsert.
14331
14332         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14333         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14334         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14335
14336         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14337         handling.
14338         (Dispatch::LFUN_FLOAT_LIST): implement
14339
14340 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14341
14342         * LaTeX.C (run): Fix problem with --export code.
14343
14344 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * BufferView.[Ch] (workarea): removed.
14347         (getClipboard) new method; wrapper for workarea()->getClipboard()
14348
14349         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14350         bug.
14351
14352         * WorkArea.h (width, height, xpos, ypos): These methods all
14353         returned the dimensions of the work_area sub-area of WorkArea,
14354         resulting in a position error if the WorkArea were resized. Now
14355         return the dimensions of the entire WorkArea.
14356
14357         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14358
14359 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * LaTeX.C (deplog): correct the syntax of regex reg1
14362
14363 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * undo.C: remove !NEW_INSETS cruft
14366
14367 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * text2.C: remove !NEW_INSETS cruft
14370
14371         * text.C: remove !NEW_INSETS cruft
14372
14373         * tabular.C: remove !NEW_INSETS cruft
14374
14375         * spellchecker.C: remove !NEW_INSETS cruft
14376
14377         * lyxtext.h: remove !NEW_INSETS cruft
14378
14379         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14380
14381         * lyxfunc.C: remove !NEW_INSETS cruft
14382
14383         * lyxfind.C: remove !NEW_INSETS cruft
14384
14385         * lyx_cb.C: remove !NEW_INSETS cruft
14386
14387         * figureForm.C: remove  !NEW_INSETS cruft
14388
14389         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14390
14391         * buffer.[Ch]: remove !NEW_INSETS cruft
14392
14393         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14394
14395         * CutAndPaste.C: remove !NEW_INSETS cruft
14396
14397         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14398
14399         * BufferView2.C: remove !NEW_INSETS cruft
14400
14401         * BufferView.h: remove !NEW_INSETS cruft
14402
14403 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * Lsstream.h: include LString.h before the sstream headers to
14406         fix problem with gcc 2.95.3 and lyxstring
14407
14408 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * lyx_main.C: add using directives when needed for C functions
14411         declared in std:: namespace.
14412
14413 2001-04-27  Juergen Vigna  <jug@sad.it>
14414
14415         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14416         (SetHeightOfRow): comment out the update call should not be needed!
14417
14418 2001-04-13  Juergen Vigna  <jug@sad.it>
14419
14420         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14421         (LyXTabular): tried to minimize operator= operations (and realized
14422         hopfully Lars wish).
14423
14424 2001-04-27  Juergen Vigna  <jug@sad.it>
14425
14426         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14427
14428 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14429
14430         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14431
14432         * buffer.C (readInset): hack to make listof algorithm work
14433
14434         * BufferView_pimpl.C: hack to make listof algorithm work
14435
14436 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * LyXAction.C: removed all !NEW_INSETS cruft
14439         (init): moved lfun_item in method
14440
14441         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14442
14443 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14444
14445         * BufferView2.C (theLockingInset): white space.
14446
14447 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * minibuffer.C: include <iostream>
14450
14451         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14452
14453         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14454
14455         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14456
14457         * text.[Ch] (TransposeChars): new method
14458
14459 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14460
14461         * call message directly through LyXView instead of through LyXFunc
14462         * BufferView2.C: adjust
14463         * BufferView_pimpl.C: adjust
14464         * FontLoader.C: adjust
14465         * buffer.C: adjust
14466         * bufferview_funcs.C: adjust
14467         * converter.C: adjust
14468         * figureForm.C: adjust
14469         * importer.C: adjust
14470         * lyx_cb.C: adjust
14471         * lyx_gui_misc.C: adjust
14472         * lyxfunc.C: adjust
14473         * lyxvc.C: adjust
14474         * text2.C: adjust
14475         + more files in subdirs
14476
14477         * lyxparagraph.h (size): move up int file
14478         (GetLayout): ditto
14479
14480         * adjust all uses of Assert to lyx::Assert.
14481
14482         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14483         lyxfunctional in namespace lyx
14484         * layout.C (hasLayout): ditto
14485         (GetLayout): ditto
14486         (GetLayout): ditto
14487         (delete_layout): ditto
14488         (NumberOfClass): ditto
14489         * converter.C (GetFormat): ditto
14490         (GetNumber): ditto
14491         (Add): ditto
14492         (Delete): ditto
14493         (SetViewer): ditto
14494         * bufferlist.C (getFileNames): ditto
14495         (emergencyWriteAll): ditto
14496         (exists): ditto
14497         (getBuffer): ditto
14498         * MenuBackend.C (hasSubmenu): ditto
14499         (hasMenu): ditto
14500         (getMenu): ditto
14501         * BufferView_pimpl.C (getInsetByCode): ditto
14502
14503 2001-04-18  Juergen Vigna  <jug@sad.it>
14504
14505         * vspace.C (asLatexString): fixed the 100% problem.
14506
14507 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14508
14509         * lyxfunc.C (Dispatch):
14510         * minibuffer.C:
14511         * minibuffer.h: add a few std:: qualifiers
14512
14513 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * minibuffer.[Ch]: reimplement so that commands is initiated and
14516         run from lyxfunc, simplified som handling, and made the completion
14517         and history code for complete. wip.
14518
14519         * lyxfunc.C (processKeySym): call message
14520         (miniDispatch): new temporary method
14521         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14522         (LFUN_MESSAGE): implement
14523         (LFUN_MESSAGE_PUSH): implement
14524         (LFUN_MESSAGE_POP): implement
14525         (initMiniBuffer): the initial/defualt minibuffer message.
14526
14527         * lyxfont.[Ch]: inline some more getters
14528
14529         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14530
14531         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14532
14533         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14534         (AutoSave): use LFUN_MESSAGE
14535         (Reconfigure): ditto
14536
14537         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14538
14539         * figureForm.C: use LFUN_MESSAGE
14540
14541         * converter.C (runLaTeX): use LFUN_MESSAGE
14542
14543         * bufferview_funcs.C: use LFUN_MESSAGE
14544         (Melt): ditto
14545         (changeDepth): ditto
14546
14547         * bufferparams.h: use boost::
14548
14549         * bufferlist.h: inherit privately from noncopyable
14550
14551         * bufferlist.C (loadLyXFile): remove some commented code.
14552
14553         * buffer.C (runChktex): use LFUN_MESSAGE
14554
14555         * ShareContainer.h: inherit privately from noncopyable
14556
14557         * ParagraphParameters.[hC] (depth): inline it.
14558
14559         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14560         methods.
14561         (message): new method
14562         (messagePush): ditto
14563         (messagePop): ditto
14564         (show): init minibuffer
14565         (showState): direct call
14566
14567         * LaTeX.[Ch]: inherit privately from noncopyable
14568         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14569         instead of WriteStatus.
14570
14571         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14572
14573         * BufferView_pimpl.C (buffer): don't init minibuffer
14574         (workAreaButtonPress): use LFUN_MESSAGE
14575         (workAreaButtonRelease): ditto
14576         (savePosition): ditto
14577         (restorePosition): ditto
14578         (MenuInsertLyXFile): ditto
14579         (workAreaExpose): don't init minibuffer
14580         (update): remove commented code, simplify
14581
14582         * BufferView2.C (openStuff): use LFUN_MESSAGE
14583         (toggleFloat): ditto
14584         (menuUndo): ditto
14585         (menuRedo): ditto
14586         (copyEnvironment): ditto
14587         (pasteEnvironment): ditto
14588         (copy): ditto
14589         (cut): ditto
14590         (paste): ditto
14591         (gotoInset): ditto
14592         (updateInset): remove some commented code
14593
14594         * lastfiles.h: inherit privately from noncopyable
14595         * layout.h: ditto
14596         * lyx_gui.h: ditto
14597         * lyx_main.h: ditto
14598         * lyxlex.h: ditto
14599         * lyxlex_pimpl.h: ditto
14600
14601         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14602         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14603         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14604
14605         * LyXAction.h: inherit privately from noncopyable, add methods
14606         func_begin, func_end, returning iterators to the func map.
14607
14608         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14609         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14610         (func_begin): new method
14611         (func_end): new method
14612
14613         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14614         and not)
14615         (copySelection): ditto
14616         (pasteSelection): ditto
14617
14618         * BufferView.C: whitespace change
14619         * BufferView.h: inherit privately from noncopyable
14620
14621 2001-04-16  Allan Rae  <rae@lyx.org>
14622
14623         * tabular-old.C (l_getline):
14624         * spellchecker.C (sc_check_word):
14625         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14626         an unrecognised preprocessor directive.  So ensure they're wrapped.
14627
14628 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * src/exporter.C (Export): Give an error message when path to file
14631         contains spaces.
14632
14633 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * LaTeX.C (deplog): Always check that foundfile exists.
14636
14637 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyx_main.h:
14640         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14641
14642 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14643
14644         * tabular.[Ch] (getLabelList): implement new method
14645
14646         * minibuffer.h: comment ouf setTiimer
14647
14648         * minibuffer.C (ExecutingCB): constify res
14649         (peek_event): constify s
14650         (Set): constify ntext
14651         (Init): constify nicename
14652
14653         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14654
14655         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14656         (savePosition): use two params to Minibuffer::Set
14657         (restorePosition): ditto
14658
14659 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * lyx_main.C: include language.h
14662
14663         * Makefile.am (lyx_main.o): add language.h
14664
14665 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * exporter.C:
14668         * paragraph.C:
14669         * screen.C:
14670         * tabular.C:
14671         * CutAndPaste.C: include gettext.h
14672
14673         * lyxfont.h: remove old hack with ON and OFF.
14674
14675         * lyxparagraph.h:
14676         * lyxfont.h: do not include language.h...
14677
14678         * BufferView2.C:
14679         * LaTeXFeatures.C:
14680         * Painter.C:
14681         * bufferview_funcs.C:
14682         * font.C:
14683         * lyxfont.C:
14684         * text.C:
14685         * text2.C:
14686         * trans_mgr.C:
14687         * paragraph.C: ... but do it here instead
14688
14689 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14692
14693         * tabular.C: small reformat
14694
14695         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14696         NEW_INSETS version
14697         (GetChar): ditto
14698         (BreakParagraph): ditto
14699         (SetOnlyLayout): ditto
14700         (SetLayout): ditto
14701
14702         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14703         with one arg less.
14704
14705         * lastfiles.C: removed most using decl, add std:: where needed
14706
14707         * buffer.C: ws changes
14708
14709         * MenuBackend.C (class compare_format): put into anon namespace
14710         (expand): constify label, names, action, action2
14711         (expand):
14712
14713         * text.C (SingleWidth): constify font
14714         (IsBoundary): constify rtl2
14715         (GetVisibleRow): constify ww
14716
14717         * LaTeX.C (deplog): constify logfile
14718
14719         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14720         start_x, end_x
14721         (workAreaExpose): constify widthChange, heightChange
14722
14723         * lyxrow.C (par): moved
14724         (height): moved
14725         (next): moved
14726         * lyxrow.h: as inlines here
14727
14728         * lyxfont.h (shape): moved from lyxfont.C
14729         (emph): moved from lyxfont.C
14730
14731         * lyxfont.C (LyXFont): use initialization list for all
14732         constructors
14733         (shape): move to lyxfont.h as inline
14734         (emph): move to lyxfont.h as inline
14735
14736
14737 2001-04-04  Juergen Vigna  <jug@sad.it>
14738
14739         * vspace.C: had to include stdio.h for use of sscanf
14740
14741 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14742
14743         * BufferView.h:
14744         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14745         independent of xforms.
14746
14747 2001-04-02  Juergen Vigna  <jug@sad.it>
14748
14749         * spellchecker.C: fixed namespace placing!
14750
14751 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14752
14753         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14754         the LyXParagraph * is 0.
14755
14756 2001-03-29  Juergen Vigna  <jug@sad.it>
14757
14758         * vspace.C: added support for %, c%, p%, l%.
14759         (stringFromUnit): added helper function.
14760         (asLatexString): changed to give right results for the %-values.
14761
14762         * buffer.C: convert the widthp in a width%.
14763
14764 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14765
14766         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14767         figureForm.[Ch].
14768
14769         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14770         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14771
14772         * lyx_cb.[Ch]: see above.
14773
14774         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14775         form1.[Ch].
14776
14777         * form1.[Ch]:
14778         * lyx.[Ch]: replaced by figure_form.[Ch].
14779
14780         * lyx_gui.C:
14781         * lyx_gui_misc.C:
14782         * lyxfunc.C: changed headers associated with above changes.
14783
14784 2001-03-27  Juergen Vigna  <jug@sad.it>
14785
14786         * BufferView_pimpl.C: set the temporary cursor right!
14787
14788 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14789
14790         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14791
14792 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14793
14794         * LString.h: removed "using std::getline"!
14795
14796         * BufferView_pimpl.C (Dispatch): changes due to changes in
14797         InsetInclude::Params.
14798
14799         * buffer.C (tag_name): removed redundant break statements as they were
14800         producing lots of warnings with my compiler.
14801
14802 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * LString.h: add "using std::getline" when using the real <string>.
14805
14806 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14807
14808         * buffer.C: removed bitset usage.
14809         PAR_TAG moved to an anonymous name space.
14810         (tag_name): new funtion, also in the anonymous namespace.
14811         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14812         (makeDocBookFile): clean code. Completed transition from string arrays
14813         to string vectors.
14814         (SimpleDocBookOnePar): code clean.
14815
14816 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14817
14818         * tabular.C: add some comments.
14819
14820 2001-03-22  Juergen Vigna  <jug@sad.it>
14821
14822         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14823         compatibility read a bit and fixed bug with minipage in different
14824         depth.
14825
14826 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14827
14828         * buffer.C (pop_tag): removed.
14829         (push_tag): removed.
14830         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14831         array replaced with vector. Added support for CDATA sections.
14832         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14833         at any nest level.
14834         (makeDocBookFile): XML conformant declaration of CDATA section,
14835         fixed bug related to <emphasis> in the first paragraph char.
14836         (sgmlOpenTag): exclude empty tags.
14837         (sgmlCloseTag): ditto.
14838
14839         * buffer.h (pop_tag): removed.
14840         (push_tag): removed.
14841
14842 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14843
14844         * language.h (Languages): added size_type and size().
14845
14846 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14847
14848         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14849         response on compability reading of minipages. One probliem is that
14850         the old usage of minipages was «flertydig»
14851
14852         * several files here and in subdirs: don't use static at file
14853         scope use anon namespaces instead.
14854
14855 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14856
14857         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14858         LaTeX output. This is necessary for Literate document
14859         processing.
14860
14861 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14862
14863         * buffer.C: insert hfill when needed.
14864
14865         * tabular.C (l_getline): use string::erase, small whitespace change.
14866
14867         * BufferView_pimpl.C: try the anon namespace.
14868         * WorkArea.C: ditto
14869
14870 2001-03-16  Juergen Vigna  <jug@sad.it>
14871
14872         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14873         otherwise it won't open options-dialogs.
14874
14875         * buffer.C: honor pextraWidth(p) on converting minipages.
14876
14877         * tabular.C (l_getline): changed the functions to strip trailing \r.
14878
14879 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14880
14881         * BufferView_pimpl.C:
14882         * minibuffer..C: added "using SigC::slot" declaration.
14883
14884 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14885
14886         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14887
14888         * text2.C: ditto
14889
14890         * text.C: ditto
14891
14892         * paragraph.C: ditto
14893
14894         * lyxtext.h: NO_PEXTRA
14895
14896         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14897
14898         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14899         * ParameterStruct.h: ditto
14900         * ParagraphParameters.h: ditto
14901         * lyxparagraph.h: ditto
14902
14903 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14904
14905         * buffer.C: add compability for minipage alignment.
14906         (latexParagraphs): remove unwanted pextra check.
14907
14908         * several files: remove CXX_WORKING_NAMESPACES
14909
14910         * buffer.C (pop_tag): tie is in namespace boost
14911
14912         * BufferView.h: noncopyable is in namespace boost
14913         * lyxlex.h: ditto
14914         * lyx_main.h: ditto
14915         * lyx_gui.h: ditto
14916         * layout.h: ditto
14917         * lastfiles.h: ditto
14918         * bufferlist.h: ditto
14919         * ShareContainer.h: ditto
14920         * LyXView.h: ditto
14921         * LyXAction.h: ditto
14922         * LaTeX.h: ditto
14923
14924 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14925
14926         * Merging changes from BRANCH_MVC back into HEAD.
14927
14928         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14929
14930 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * BufferView_pimpl.C: change from intl.C
14933
14934         * combox.h:
14935         * combox.C:
14936         * Makefile.am: move combox.*
14937
14938         * form1.h:
14939         * form1.C:
14940         * lyx_gui.C:
14941         * intl.h:
14942         * intl.C: remove dialog (covered by prefs)
14943
14944 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14945
14946         * lyxfunc.C (Dispatch): removed redundant break statement.
14947
14948 2001-03-14  Juergen Vigna  <jug@sad.it>
14949
14950         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14951
14952 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14953
14954         * buffer.C: add hack to fix compability reading of minipages.
14955
14956 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14957
14958         * buffer.C (getLists): Cleanup.
14959
14960 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * lyxfont.C (update): don't honor toggleall on font size.
14963
14964 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * bmtable.c:
14967         * bmtable.h:
14968         * Makefile.am: moved to frontends/xforms/
14969
14970         * lyx_gui_misc.C:
14971         * lyxfunc.C:
14972         * BufferView_pimpl.C: changes for moved mathpanel
14973
14974 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * gettext.h: fix gettext_init() in --disable-nls
14977
14978 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14979
14980         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14981
14982 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14983
14984         * lyx.C:
14985         * lyx.h: strip external form
14986
14987 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14988
14989         * BufferView_pimpl.C: add comment, destroySplash()
14990
14991 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * BufferView_pimpl.C:
14994         * LyXAction.C:
14995         * buffer.C:
14996         * commandtags.h:
14997         * lyxfunc.C: use re-worked insetinclude
14998
14999 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15000
15001         * buffer.C: add using std::stringstream.
15002
15003         * lyx_cb.C: readd using std::ios.
15004
15005         * buffer.C: add using std::map.
15006
15007         * BufferView_pimpl.C: add using std::vector.
15008
15009         * ShareContainer.h: add std:: to swap.
15010
15011         * buffer.h: add some typedefs
15012         * buffer.C (getLists): use them
15013         (getLists): renamed from getTocList.
15014         add a counter for the different float types and use it in the
15015         generated string.
15016         (getLists): use the same counter for the NEW_INSETS and the "non"
15017         NEW_INSETS
15018
15019         * lyx_cb.h: remove unused items, includes, using etc.
15020
15021         * ShareContainer.h: remove some commented code, add more comments
15022         and "documentation".
15023
15024 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15025
15026         * buffer.C (getTocList): make the list also when NEW_INSETS is
15027         defined.
15028
15029         * buffer.h: remove TocType
15030
15031         * buffer.C (getTocList): change to return a map<string,
15032         vector<TocItem> >, implement for dynamic number of list.
15033
15034         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15035         * text2.C (PasteSelection): adjust
15036         * CutAndPaste.C (pasteSelection): adjust
15037
15038         * FloatList.C (FloatList): update from the new_insets branch.
15039         * Floating.[Ch]: ditto
15040         * LaTeXFeatures.C: ditto
15041         * buffer.C: ditto
15042         * lyxlex_pimpl.C: ditto
15043
15044         * paragraph.C (Last): remove when NEW_INSETS is defined.
15045
15046         * other file: changes because of the above.
15047
15048 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15049
15050         * lyxparagraph.h: rename next to next_, previous to previous_,
15051         make them private for NEW_INSETS. Rename Next() to next(),
15052         Previous() to previous().
15053
15054         * other files: changes because of the above.
15055
15056 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * BufferView.h:
15059         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15060         problem.
15061
15062 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * main.C (main): pass lyx_localedir to gettext_init().
15065
15066         * gettext.h: remove locale_init and gettext_init macros
15067
15068         * gettext.C (locale_init): new function
15069         (gettext_init): new function
15070
15071         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15072         setlocale().
15073
15074 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15075
15076         * Moved credits to frontends:
15077         * credits.[Ch]: removed
15078         * credits_form.[Ch]: removed
15079         * lyx_gui_misc.C: remove credits stuff
15080         * Makefile.am:
15081
15082 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15083
15084         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15085
15086         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15087         unneeded destructor.
15088
15089         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15090         a standalone pointer again.
15091
15092         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15093
15094 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * Makefile.am:
15097         * filedlg.h:
15098         * filedlg.C:
15099         * LyXAction.C:
15100         * ToolbarDefaults.C:
15101         * bufferlist.C:
15102         * commandtags.h:
15103         * form1.C:
15104         * form1.h:
15105         * lyx_cb.C:
15106         * lyx_cb.h:
15107         * lyxfunc.h:
15108         * lyxfunc.C:
15109         * BufferView_pimpl.C: use new file dialog in GUII
15110
15111         * lyx_cb.h:
15112         * lyx_cb.C: remove LayoutsCB to Toolbar
15113
15114 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * ShareContainer.h (get): add std:: qualifier
15117
15118 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * ShareContainer.h: define a proper ShareContainer::value_type
15121         type (and use typename to please compaq cxx)
15122
15123 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15124
15125         * lyxparagraph.h: move serveral local vars to
15126         ParameterStruct/ParagraphParameters., use ShareContainer in
15127         FontTable., make vars in FontTable private and add getter and
15128         setter.
15129
15130         * paragraph.C: changes because of the above.
15131
15132         * lyxfont.h: remove copy constructor and copy assignment. (the
15133         default ones is ok), move number inside FontBits. move inlines to
15134         lyxfont.C
15135
15136         * lyxfont.C: add number to initializaton of statics, move several
15137         inlines here. constify several local vars. some whitespace
15138         cleanup. Dont hide outerscope variables.
15139
15140         * Spacing.h: add two new constructors to match the set methods.
15141
15142         * ShareContainer.h: new file, will perhaps be moved to support
15143
15144         * ParameterStruct.h: new file
15145
15146         * ParagraphParameters.h: new file
15147
15148         * ParagraphParameters.C: new file
15149
15150         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15151         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15152
15153         * BufferView_pimpl.C: ParagraphParameter changes.
15154         * buffer.C: Likewise.
15155         * bufferview_funcs.C: Likewise.
15156         * text.C: Likewise.
15157         * text2.C: Likewise.
15158
15159 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * lyxfind.C (LyXReplace): do not redefine default argument in
15162         implementation.
15163         (IsStringInText): ditto
15164         (SearchForward): ditto
15165         (SearchBackward): ditto
15166
15167 2001-03-06  Juergen Vigna  <jug@sad.it>
15168
15169         * lyxfind.C (IsStringInText): put parentes around expressions.
15170
15171 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15172
15173         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15174
15175 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15178
15179         * stl_string_fwd.h: add comment
15180
15181         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15182
15183         * tabular.h:
15184         * tabular.C: remove unused DocBook methods
15185
15186         * intl.C:
15187         * language.C:
15188         * paragraph.C:
15189         * buffer.C:
15190         killed DO_USE_DEFAULT_LANGUAGE
15191
15192 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * lyx_gui.C: do not include language.h.
15195
15196         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15197         arguments in function implementation.
15198
15199 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15200
15201         * BufferView_pimpl.C: add <ctime>
15202
15203 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15204
15205         * BufferView_pimpl.C: add using std::find_if
15206
15207 2001-02-27  José Matos  <jamatos@fep.up.pt>
15208
15209         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15210         by OnlyPath.
15211
15212 2001-02-11  José Matos  <jamatos@fep.up.pt>
15213
15214         * buffer.C (makeDocBookFile): command styles now have a parameter as
15215         "title" by default.
15216
15217 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15218
15219         * layout_forms.[Ch]: removed
15220         * lyx_cb.[Ch]: out character
15221         * lyx_gui.C: out character
15222         * lyx_gui_misc.C: out character
15223         * bufferview_funcs.C: : out character,
15224         added toggleall as parameter in ToggleAndShow
15225
15226 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15229
15230         * text2.C (SetCurrentFont): Disable number property at boundary.
15231
15232 2001-02-26  Juergen Vigna  <jug@sad.it>
15233
15234         * lyxfunc.C (getStatus): added a string argument override function so
15235         that this is correctly called from LyXFunc::Dispatch if it contains a
15236         do_not_use_argument which is used!
15237         (Dispatch): added check for "custom" export and call appropriate func.
15238
15239 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15240
15241         * lyxrc.C: Add language_command_local, language_use_babel and
15242         language_global_options.
15243
15244         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15245
15246         * buffer.C (makeLaTeXFile): Use language_use_babel and
15247         language_global_options.
15248
15249 2001-02-23  Juergen Vigna  <jug@sad.it>
15250
15251         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15252         which works with LyXText and putted it inside BufferView. Here now we
15253         only call for that part the BufferView::Dispatch() function.
15254
15255         * BufferView.C (Dispatch): added.
15256
15257         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15258         functions which needs to use a LyXText over from LyXFunc.
15259         (MenuInsertLyXFile): added
15260         (getInsetByCode): added
15261         (moveCursorUpdate): added
15262         (static TEXT): added
15263
15264 2001-02-22  Juergen Vigna  <jug@sad.it>
15265
15266         * BufferView_pimpl.C (update): call a status update to see if LyXText
15267         needs it.
15268
15269 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15270
15271         * vc-backend.C (revert): implement for CVS
15272         (getLog): implement for CVS
15273
15274 2001-02-20  Juergen Vigna  <jug@sad.it>
15275
15276         * text2.C (ClearSelection): added BufferView param for inset_owner call
15277
15278         * lyxfunc.C (TEXT): added this function and use it instead of
15279         directly owner->view()-text of getLyXText().
15280
15281 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15282
15283         * src/layout_forms.C: out preamble
15284         * src/layout_forms.h: out preamble
15285         * src/lyx_cb.C: out preamble
15286         * src/lyx_cb.h: out preamble
15287         * src/lyx_gui.C: out preamble
15288         * src/lyx_gui_misc.C: out preamble
15289         * src/lyxfunc.C: connect with guii preamble
15290
15291 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15292
15293         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15294
15295 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15298         whether to run bibtex.
15299
15300 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15301
15302         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15303
15304 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15305
15306         * Makefile.am (lyx_SOURCES): removed bibforms.h
15307
15308         * vspace.h: doxygen
15309
15310         * text.C (GetVisibleRow): make several local vars const
15311
15312         * tabular.C: small cleanup.
15313
15314         * lyxserver.C (callback): use compare instead of strncmp
15315
15316         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15317         inlines to after class or to paragraph.C
15318
15319         * lyxfont.h: remove friend operator!=
15320
15321         * converter.h: move friend bool operator< to non friend and after
15322         class def.
15323
15324         * combox.h: small cleanup
15325
15326         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15327         to inlines after class def.
15328
15329         * buffer.C (pop_tag): use string operations instead of strcmp
15330
15331         * bmtable.c: doxygen, small cleanup
15332
15333         * LaTeX.h: remove friend operator==
15334
15335 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15336
15337         * screen.C:
15338         * lyxrc.[Ch]:
15339         * lyxfunc.C:
15340         * lyxfont.[Ch]:
15341         * lyx_cb.C:
15342         * intl.[Ch]:
15343         * commandtags.h:
15344         * buffer.C:
15345         * WorkArea.[Ch]:
15346         * LyXAction.C:
15347         * BufferView_pimpl.C:
15348         * BufferView.[Ch]: remove cruft
15349
15350 2001-02-14  Juergen Vigna  <jug@sad.it>
15351
15352         * lyxfunc.C: removed #if 0 unused code
15353
15354         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15355
15356         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15357
15358         * text2.C (SetSelection): added a BufferView * parameter
15359
15360 2001-02-13  Juergen Vigna  <jug@sad.it>
15361
15362         * lyxfunc.C (Dispatch): fixed protected blank problem.
15363         * BufferView2.C (protectedBlank): added LyxText * parameter.
15364
15365         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15366         (AppendColumn): same as above for column_info.
15367
15368         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15369         (moveCursorUpdate): use a LyXText param for support of InsetText.
15370
15371         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15372         (tripleClick): ditto
15373
15374         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15375
15376         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15377
15378         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15379
15380         * text2.C (SetSelection): set correct update status if inset_owner
15381         (ToggleFree): ditto
15382
15383 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15384
15385         * tabular.C: remove some commented code.
15386
15387 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15388
15389         * BufferView_pimpl.C: call hideSplash()
15390
15391         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15392
15393         * include_form.h:
15394         * bibforms.h: remove
15395
15396         * lyxfunc.C:
15397         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15398           add LFUN_CHILD_CREATE
15399
15400         * counters.h: fix tiny typo
15401
15402         * lyx_cb.C:
15403         * lyx.h:
15404         * lyx_gui.C:
15405         * lyx.C: move splash to frontends/xforms/
15406
15407         * lyx_gui_misc.C: move Include and Bibform to frontends
15408
15409         * lyxvc.h: clarify comment
15410
15411         * vspace.C: tiny housekeeping
15412
15413 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15414
15415         * text.C (PrepareToPrint): RTL Fix.
15416
15417         * paragraph.C (GetUChar): New method.
15418         (String):  Use GetUChar.
15419
15420         * buffer.C (asciiParagraph): Use GetUChar.
15421
15422 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15423
15424         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15425
15426 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15427
15428         * buffer.h:
15429         * buffer.C: rename to getLogName(), handle
15430           build log / latex log nicely
15431
15432 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * MenuBackend.C:
15435         * MenuBackend.h: remove support for reference menuitem type.
15436
15437 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15438
15439         * BufferView_pimpl.C: housekeeping
15440         * BufferView_pimpl.h:
15441         * LyXView.h:
15442         * Makefile.am:
15443         * Timeout.C:
15444         * Timeout.h:
15445         * minibuffer.h: move Timeout GUI-I
15446
15447 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15448
15449         * lyxrc.C (read): Update converters data-structures.
15450
15451 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15452
15453         * LaTeX.h (operator!=): add operator != for Aux_Info
15454
15455 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15456
15457         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15458
15459         * LaTeXLog.C: deleted, useful code moved to Buffer
15460
15461         * buffer.h:
15462         * buffer.C: new function getLatexLogName()
15463
15464         * lyx_gui_misc.C:
15465         * lyx_gui.C:
15466         * lyxvc.C:
15467         * lyxvc.h:
15468         * lyxfunc.C: use frontends for LaTeX and VC logs
15469
15470 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * LaTeX.h: yet another std:: that Allan forgot.
15473
15474         * Variables.C (set): renamed from isset(), because this clashes
15475         with some HP-UX macros (grr).
15476
15477 2001-02-06  Allan Rae  <rae@lyx.org>
15478
15479         * LaTeX.h: Another bug fix.  Missing std:: this time.
15480
15481 2001-02-04  Allan Rae  <rae@lyx.org>
15482
15483         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15484         floats problem. I've left it commented out because it's not quite
15485         correct.  It should also test that the current object is a table or
15486         figure inset.  But I haven't gotten around to figuring out how to do
15487         that.  I *think* it'll be something like: "table" == inset.type()
15488
15489         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15490         bool.
15491
15492 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15493
15494         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15495         all the citation/databases/styles in the auxilary file.
15496         (run): Rerun latex if there was a babel language error.
15497
15498 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15499
15500         * text.C (Backspace): Preserve the font when changing newline char
15501         with a space.
15502         (BreakParagraph): If the cursor is before a space, delete the space.
15503
15504         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15505
15506 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15507
15508         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15509         new argument (code).
15510         (ChangeCitationsIfUnique): New method.
15511
15512         * paragraph.C (GetPositionOfInset): Handle bibkey.
15513
15514 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * BufferView_pimpl.h: change type of Position::par_pos to
15517         LyXParagraph::size_type.
15518
15519 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15520
15521         * BufferView_pimpl.C (savePosition, restorePosition): Write
15522         messages to minibuffer.
15523
15524 2001-01-28  José Matos  <jamatos@fep.up.pt>
15525
15526         * buffer.C (makeDocBookFile): adds support for document language.
15527         A silly restriction on the name of LatexCommand types where removed.
15528         Added support for CDATA sections, allows to chars unescaped, used
15529         among others in code, to avoid escape < and >.
15530
15531 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15532
15533         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15534         saved positions instrad of a stack. Furthermore, a position is
15535         stored using paragraph id/paragraph position.
15536
15537         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15538         Remove LFUN_REF_BACK.
15539
15540 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * converter.C (dvipdfm_options): New method.
15543
15544 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15545
15546         * vspace.C (isValidLength): Fix for empty input string.
15547
15548 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15549
15550         * LyXAction.C (init): change description of LFUN_FIGURE to
15551         "Insert Graphics"
15552
15553 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * LaTeX.C: add using directive
15556
15557 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * MenuBackend.C (expand): Fix the sorting of the formats.
15560
15561 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15562
15563         * lyx_main.C: tiny error message fix
15564
15565 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15568         calling fl_initialize(). This fixes the problem with ',' as
15569         decimal separator in text files.
15570
15571 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15572
15573         * trans.C (process): Fix the keymap bug.
15574
15575 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15576
15577         * LaTeX.C (scanAuxFiles): New method. Provides support for
15578         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15579         (scanLogFile) Scan for "run BibTeX" messages.
15580
15581         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15582         OT1 font encoding. Also, load the aecompl package if the ae
15583         package is loaded.
15584
15585         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15586
15587 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * texrow.C (increasePos): turn two error messages into debug
15590         messages.
15591
15592 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15593
15594         * LaTeX.C (scanAux): Handle the \@input macro.
15595         (runBibTeX): Use scanAux().
15596
15597         * language.C (latex_options_): New field.
15598
15599         * LaTeXFeatures.C (getMacros): Add language macros.
15600
15601         * buffer.C (makeLaTeXFile): Small fix.
15602
15603 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15606
15607         * text2.C: add a using directive.
15608
15609 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * BufferView2.C:
15612         * lyx_gui_misc.h:
15613         * lyxfr1.C:
15614         * lyxfunc.C: kill LyXBell.
15615
15616 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15617
15618         * text.C (IsBoundary): Remove the error message
15619
15620         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15621
15622         * lyxrc.C (setDefaults): Correct initialization value for
15623         font_norm_type.
15624
15625 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15628         gotoError().
15629
15630         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15631         and GotoNextNote().
15632
15633         * src/LyXAction.C: Added reference-next.
15634
15635         * text.C (InsertChar): Use contains instead of strchr.
15636
15637         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15638
15639 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15640
15641         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15642         alignment commands (when needed).
15643
15644         * text.C (InsertChar): Add ':' to number separator chars.