]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f9d437842e1b26550dce7683b01f7aa8dcb38c87
[lyx.git] / src / ChangeLog
1 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
4         command, return early.
5  
6 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
7
8         * debug.h: add DEBUG to enum and fix size of ANY.
9
10         * debug.C: add support for Debug::DEBUG
11         (showTags): cast errorTags.level to unsigned int
12
13         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
14         (redoCurrentBuffer): ditto
15         (updateScrollbar): ditto
16         * cursor.C (dispatch): ditto
17         * text2.C (setLayout): ditto
18         (setFont): ditto
19         (updateCounters): ditto
20         (editXY): ditto
21         (deleteEmptyParagraphMechanism): ditto
22
23 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
24
25         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
26         annotations to cleanup the Makefile slightly.
27
28 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxrc.C: do not set user_email to a default value but use empty
31         instead. The entry used to be translated, which does not work
32         since at the point where lyxrc is constructed there is no
33         translation service available
34
35         * messages.C (getLocaleDir): remove and use directly
36         lyx_localedir() instead
37
38 2004-06-02  Angus Leeming  <leeming@lyx.org>
39
40         Fix crash caused by dereferencing null pointer 'exportdata' in
41         OutputParams by creating a new ExportData variable on the heap,
42         storing it in a boost::shared_ptr.
43         The crash was triggered when generating an Instant Preview
44         of an external inset.
45
46         * Makefile.am: add outputparams.C
47
48         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
49         (c-tor): allocate memory to it.
50
51         * exporter.C (c-tor): associated changes.
52
53 2004-06-01  Angus Leeming  <leeming@lyx.org>
54
55         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
56         contains data before calling isInset(0). (Bug 1513.)
57
58 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
59
60         * exporter.C (checkOverwrite): new method
61         * exporter.C (copyFile): new method
62         * exporter.C (Export): copy referenced files to the document dir
63         * exporter.[Ch]: new class ExportedFile
64         * exporter.[Ch]: new class ExportData. Contains currently the
65         names of referenced external files
66         * outputparams.h: add exportdata member.
67
68 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
71         version.C-tmp
72
73 2004-05-19  Angus Leeming  <leeming@lyx.org>
74
75         * LaTeXFeatures.C:
76         * ToolbarBackend.C:
77         * bufferparams.C:
78         * lyxfunc.C: small changes due to the introduction of namespace
79         lyx::frontend and the moving of namespace biblio to lyx::biblio.
80
81 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * text3.C (dispatch): supress update when only moving the cursor
84         * cursor.C (selHandle): remove commented code
85
86 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * paragraph.C (startTeXParParams): correct column count
89         * CutAndPaste.C (pasteSelection): remove const_cast
90         * output_docbook.C (docbookParagraphs): remove const_cast
91         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
92         const_cast and return ParagraphList::const_iterator
93         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
94         * output_plaintext.C (writeFileAscii): remove const_cast
95         * paragraph.[Ch] (simpleTeXOnePar): make const
96         * paragraph_funcs.C (outerPar): use const iterators
97         * paragraph_pimpl.C (validate): use const iterators
98         * text.C (setHeightOfRow): use const iterators
99
100 2004-05-17  Angus Leeming  <leeming@lyx.org>
101
102         * lfuns.h:
103         * LyXAction.C (init): new LFUN_INSET_REFRESH.
104
105         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
106         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
107         if the citation engine has changed.
108
109 2004-05-14  José Matos  <jamatos@lyx.org>
110
111         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
112         if the textclass does not provide it. Have it different for sgml and
113         xml.
114         support the language of document.
115         * output_docbook.C (docbookParagraphs):
116         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
117         first anchor as the id of the paragraph, remove special case code.
118         * sgml.C (escapeChar): escape only < & >.
119
120 2004-05-14  Angus Leeming  <leeming@lyx.org>
121
122         * bufferparams.h: move biblio::CiteEngine enum here to minimize
123         dependencies on src/frontends/controllers/biblio.h. Define a
124         CiteEngine_enum wrapper class to enable the enum to be forward
125         declared.
126
127 2004-05-12  Angus Leeming  <leeming@lyx.org>
128
129         * buffer.C: up LYX_FORMAT to 234.
130         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
131         use_numerical_citations with a single biblio::CiteEngine cite_engine
132         variable.
133         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
134
135 2004-05-13  José Matos  <jamatos@lyx.org>
136
137         * converter.h:
138         * converter.C (Converter, readFlags): add xml member.
139         * outputparams.h: add XML flavor.
140         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
141
142 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * lyxfunc.C (dispatch):
145         (getStatus): fix handling of LFUN_SEQUENCE
146
147 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * debug.C (showLevel): do not forget the end-of-line marker
150
151 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * kbmap.C (read): do not stop parsing a bind file when an error
154         occurs (bug 1575)
155
156 2004-04-29  Angus Leeming  <leeming@lyx.org>
157
158         * cursor.C:
159         * factory.C:
160         * pariterator.C:
161         * text2.C: wrap a bunch of #warning statements
162         inside #ifdef WITH_WARNINGS blocks.
163
164 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
165
166         * buffer.C: increment format to 233.
167
168 2004-04-28  Angus Leeming  <leeming@lyx.org>
169
170         * BufferView_pimpl.C:
171         * lyxfunc.C:
172         * text3.C:
173         s/updateToolbar()/updateToolbars()/
174         s/Toolbar.h/Toolbars.h/
175
176 2004-04-28  Angus Leeming  <leeming@lyx.org>
177
178         * BufferView.[Ch] (c-tor):
179         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
180         No longer passes these data to the WorkArea generator.
181
182 2004-04-28  Angus Leeming  <leeming@lyx.org>
183
184         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
185
186 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
187
188         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
189
190 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * output_latex.C (TeXEnvironment): make sure that there is a line
193         break before \end{foo} for the last paragraph of a document
194         (TeXOnePar): if the paragraph is at the end of the document (or
195         inset) and the language has to be reset, then make sure that the
196         line break is _before_ the language command, not after (fixes bug
197         1225); also make sure that the language reset command is the first
198         thing after the paragraph (to ensure proper nesting of
199         environments and thus fix bug 1404)
200
201 2004-04-21  John Levon  <levon@movementarian.org>
202
203         * ToolbarBackend.h:
204         * ToolbarBackend.C: make "name" be a programmatic name
205         and a gui_name field.
206
207         * lyxfunc.C: display the minibuffer on M-x
208
209 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
212         (bug 1526)
213
214 2004-04-19  Angus Leeming  <leeming@lyx.org>
215
216         * BufferView_pimpl.C (setBuffer): changed preview interface.
217
218         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
219         possible values.
220
221 2004-04-19  John Levon  <levon@movementarian.org>
222
223         * BufferView_pimpl.C:
224         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
225
226 2004-04-05  Angus Leeming  <leeming@lyx.org>
227
228         * text.C (redoParagraphs): add call to updateCounters(), thereby
229         fixing the missing "Figure #:" label from the caption of a
230         figure float.
231
232 2004-04-13  Angus Leeming  <leeming@lyx.org>
233
234         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
235         cursor is clicked out of an inset.
236
237 2004-04-13  Angus Leeming  <leeming@lyx.org>
238
239         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
240         than an InsetOld one.
241
242 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
243
244         * format.[Ch]: add editor to Format
245         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
246         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
247
248 2004-04-08  André Pönitz  <poenitz@gmx.net>
249
250         * metricsinfo.h: remove PainterInfo::width member
251
252 2004-04-08  Angus Leeming  <leeming@lyx.org>
253
254         * lyx_sty.C (boldsymbol_def): modify so that it outputs
255         "\providecommand" rather than "\newcommand", thereby preventing
256         clashes with packages that define "\boldsymbol" themselves.
257         Eg, beamer.
258
259 2004-04-08  Angus Leeming  <leeming@lyx.org>
260
261         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
262         thereby squashing an unnecessary warning.
263
264 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
265
266         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
267         setBuffer()
268
269 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
270
271         * BufferView.C (setCursor): call redoParagraph (some insets could
272         have been opened)
273         (putSelectionAt): remove the 'double update' trick
274
275         * BufferView_pimpl.C (fitCursor): call refreshPar
276         (workAreaDispatch): remove an uneeded update call
277         (dispatch): remove some manual update calls
278
279         * cursor.[Ch]: remove cached_y_, updatePos
280         (selHandle): set noUpdate when appropriate
281
282         * lyxfunc.C (dispatch): track if we need an update
283
284         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
285
286         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
287         (paintSelection): cheap optimization, do not call cursorX when not
288         needed
289         (paintPars): change signature
290         (refreshPar): add
291         (paintText): adjust
292         (paintTextInset): adjust
293
294         * text.C: adjust
295
296 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * lengthcommon.C: compilation fix: remove explicit array size from
299         unit_name[] and friends
300
301 2004-04-05  Angus Leeming  <leeming@lyx.org>
302
303         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
304
305         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
306         present only for the preferences dialog.
307         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
308
309 2004-04-05  Angus Leeming  <leeming@lyx.org>
310
311         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
312         to enable the frontends to export changes to lyxrc correctly.
313
314         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
315
316 2004-04-07  André Pönitz  <poenitz@gmx.net>
317
318         * cursor.[Ch] (selClear, adjust): remove math
319
320         * cursor_slice.C: more agressive assert
321
322         * lyxfunc.C:
323         * BufferView_pimpl.C: rework mouse event dispatch
324
325         * dociterator.C:
326         * paragraph.C:
327         * text2.C:
328         * text3.C: adjust
329
330 2004-04-05  André Pönitz  <poenitz@gmx.net>
331
332         * cursor.[Ch] (valign, halign...): remove unneeded functions
333
334 2004-04-05  Angus Leeming  <leeming@lyx.org>
335
336         * lyxlength.[Ch] (unit_name et al.): const-correct.
337
338 2004-04-05  Angus Leeming  <leeming@lyx.org>
339
340         * BufferView_pimpl.C:
341         * buffer.C:
342         * counters.C:
343         * cursor.C:
344         * lyxfunc.C
345         * paragraph.C:
346         * pariterator.C:
347         * text.C:
348         * text2.C:
349         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
350
351 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
352
353         * text3.C (getStatus): add LFUN_BEGINNINGBUF
354
355 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
356
357         * lyxfind.C: add a couple of inTexted() tests + other small fixes
358         * BufferView_pimpl.[Ch] (getStatus)
359         * BufferView.[Ch] (getStatus): add
360         * lyxfunc.C (getStatus): move lfuns handled in
361         BufferView::dispatch to te function above
362         * Cursor.C (setSelection): set selection() = true
363
364 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
365
366         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
367
368 2004-03-31  Angus Leeming  <leeming@lyx.org>
369
370         * lyxfunc.C (dispatch): Fall through to the generic
371         Dialogs::show("preamble").
372
373 2004-03-31  Angus Leeming  <leeming@lyx.org>
374
375         * lyxfunc.C (dispatch): Fall through to the generic
376         Dialogs::show("spellchecker").
377
378 2004-03-31  Angus Leeming  <leeming@lyx.org>
379
380         * lyxfunc.C (getStatus, dispatch): changed invocation of the
381         preferences dialog.
382
383 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
384
385         * BufferView.C
386         * cursor.[Ch]
387         * dociterator.[Ch]:
388         * insetiterator.[Ch]:
389         * lyxfind.C:
390         * lyxfunc.C:
391         * pariterator.[Ch]:
392         * text2.C:
393         * undo.[Ch]: s/DocumentIterator/DocIterator/g
394
395 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
396
397         * BufferView.C (setCursor, putSelectionAt): call edit to open the
398         insets where we are putting the cursor.
399
400 2004-03-31  Angus Leeming  <leeming@lyx.org>
401
402         * lfuns.h:
403         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
404
405         * lyxrc.[Ch] (read, write): overloaded member functions taking
406         a std::[io]stream arguments.
407
408         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
409
410 2004-03-31  Angus Leeming  <leeming@lyx.org>
411
412         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
413         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
414
415         * lyxtextclass.C (load): if the text class couldn't be loaded, then
416         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
417
418 2004-03-31  Angus Leeming  <leeming@lyx.org>
419
420         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
421         the LFUN_ALL_INSETS_TOGGLE code.
422
423 2004-03-30  Angus Leeming  <leeming@lyx.org>
424
425         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
426         has died. Fall through to the generic Dialogs::show("document").
427
428 2004-03-30  Angus Leeming  <leeming@lyx.org>
429
430         * lfuns.h:
431         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
432         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
433
434         * lyxfunc.C (getStatus, dispatch): define the actions for these
435         lfuns. Little more than a cut and pste job from ControlDocument.C
436
437         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
438
439 2004-03-30  Angus Leeming  <leeming@lyx.org>
440
441         * lfuns.h:
442         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
443         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
444
445         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
446         open/closed state of ollapsable insets. Usage:
447
448         all-inset-toggle <state> <name>, where
449         <state> == "open" || "closed" || "toggle" and
450         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
451
452         * lyxtext.h, text2.C (toggleInset): removed.
453
454         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
455         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
456         now passes LFUN_INSET_TOGGLE to the found inset.
457
458         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
459         is now invoked as "all-insets-toggle toggle branch".
460
461 2004-03-30  Angus Leeming  <leeming@lyx.org>
462
463         * dociterator.C:
464         * insetiterator.C:
465         * pariterator.[Ch]: added/corrected header blurb.
466
467 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * dociterator.[Ch]: add an inset_ member
470         (backwardPos): implemented
471         (backwardPos, forwardPos): use inset_ when the stack is empty.
472         (doc_iterator_begin, doc_iterator_end): implemented
473         * pariterator.[Ch]: adjust, add begin, end
474         * insetiterator.[Ch]: adjust, add begin, end
475         * cursor.C:
476         * document.C:
477         * BufferView.C:
478         * BufferView_pimpl.C:
479         * CutAndPaste.C: adjust
480
481 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * buffer.C: increment file format to 232.
484         * LaTeXFeatures.C: add bibtopic package.
485         * bufferparams.[Ch]: param \use_bibtopic.
486
487         * lyxrc.[Ch]: add lyxrc bibtex_command
488         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
489
490         * buffer.C: increment file format to 231.
491
492 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * dociterator.C: implement forwardPar
495         * iterators.[Ch]: remove, replaced by
496         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
497         * BufferView.C:
498         * BufferView_pimpl.C:
499         * CutAndPaste.C:
500         * buffer.C:
501         * bufferview_funcs.C:
502         * cursor.C:
503         * lyxfind.C
504         * lyxfunc.C
505         * paragraph_funcs.C
506         * toc.C:
507         * Makefile.am: adjust
508
509 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * CutAndPaste.C (pasteSelection): fix 2 crashes
512         (eraseSelection): fix a crash
513         * paragraph_funcs.C: remove a warning
514
515 2004-03-28  Angus Leeming  <leeming@lyx.org>
516
517         * lfuns.h:
518         * LyXAction.C (init): new LFUN_PRINT.
519
520         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
521
522 2004-03-27  Angus Leeming  <leeming@lyx.org>
523
524         * lfuns.h:
525         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
526
527         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
528
529 2004-03-27  Angus Leeming  <leeming@lyx.org>
530
531         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
532         insetlist always contains non-null pointers to insets.
533
534 2004-03-26  Angus Leeming  <leeming@lyx.org>
535
536         * src/BufferView_pimpl.C:
537         * src/CutAndPaste.C:
538         * src/buffer.C:
539         * src/iterators.C:
540         * src/output_plaintext.C:
541         * src/outputparams.h:
542         * src/paragraph_funcs.C:
543         * src/rowpainter.C:
544         * src/text.C:
545         * src/text2.C:
546         * src/frontends/controllers/ControlErrorList.C:
547         * src/frontends/gtk/FileDialogPrivate.C:
548         * src/frontends/gtk/GPainter.C:
549         * src/frontends/gtk/GToolbar.C:
550         * src/frontends/qt2/QRef.C:
551         * src/mathed/math_scriptinset.C: squash compiler warnings.
552
553 2004-03-26  Angus Leeming  <leeming@lyx.org>
554
555         * ispell.C (LaunchIspell::start):
556         * lyx_cb.C (AutoSaveBuffer::start):
557         invoke run(DontWait) rather than runNonBlocking().
558
559 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
562
563 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * kbsequence.C (print): adjust
566
567         * kbmap.C (printKeySym): rename and change signature
568         (printKey): use LyXKeySym::print()
569
570 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
571
572         * undo.C: add using std::advance to compile for stlport
573
574 2004-03-24  Angus Leeming  <leeming@lyx.org>
575
576         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
577         it leads to a crash when no buffer is present.
578
579 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
580             Martin Vermeer  <martin.vermeer@hut.fi>
581
582         * lyxfunc.C (dispatch):
583         * bufferparams.C (readToken): use the new LColor::setColor
584
585         * LColor.[Ch] (setColor): new version that takes two strings as
586         argument and creates a new color entry if necessary
587
588 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
589
590         * buffer.C (makeLaTeXFile): if the main latex file that is
591         processed is usually a subdocument of some master, then pretend
592         for a while that it is actually the master
593
594 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
595
596         * buffer.C (getLabelList):
597         (getBibkeyList): use getMasterBuffer()
598         (getMasterBuffer): new method. Returns the main document in the
599         case where one is using included documents.
600
601 2004-03-25  André Pönitz  <poenitz@gmx.net>
602
603         * Makefile.am:
604         * iterators.[Ch]:
605         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
606
607         * ParagraphList_fwd.h: change ParagraphList to a std::vector
608
609         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
610         text*.C over here. Rename namespace CutAndPaste to lyx::cap
611
612         * ParameterStruct.h: merge with ParagraphParameters
613
614         * lyxtext.h: remove LyXText::parOffset() and getPar()
615
616         * text3.C: Remove all 'manual' update calls. We do now one per user
617         interaction which is completely sufficient.
618
619         * Bidi.C:
620         * BufferView.[Ch]:
621         * BufferView_pimpl.C:
622         * FontIterator.[Ch]:
623         * MenuBackend.C:
624         * ParagraphParameters.[Ch]:
625         * buffer.C:
626         * buffer.h:
627         * bufferlist.C:
628         * cursor.[Ch]:
629         * cursor_slice.[Ch]:
630         * dociterator.[Ch]:
631         * errorlist.[Ch]:
632         * factory.C:
633         * lfuns.h:
634         * lyxfind.C:
635         * lyxfunc.C:
636         * output_docbook.[Ch]:
637         * output_latex.[Ch]:
638         * output_linuxdoc.[Ch]:
639         * output_plaintext.[Ch]:
640         * paragraph.[Ch]:
641         * paragraph_funcs.[Ch]:
642         * paragraph_pimpl.[Ch]:
643         * rowpainter.C:
644         * tabular.[Ch]:
645         * text.C:
646         * text2.C:
647         * toc.C:
648         * undo.[Ch]: adjust
649
650         * frontends/controllers/ControlDocument.C:
651         * frontends/controllers/ControlErrorList.C:
652         * frontends/controllers/ControlSpellchecker.C:
653         * insets/inset.C:
654         * insets/inset.h:
655         * insets/insetbase.h:
656         * insets/insetbibitem.C:
657         * insets/insetbox.C:
658         * insets/insetbranch.C:
659         * insets/insetcaption.C:
660         * insets/insetcharstyle.C:
661         * insets/insetcharstyle.h:
662         * insets/insetcollapsable.C:
663         * insets/insetcollapsable.h:
664         * insets/insetert.C:
665         * insets/insetfloat.C:
666         * insets/insetfoot.C:
667         * insets/insetmarginal.C:
668         * insets/insetnote.C:
669         * insets/insetoptarg.C:
670         * insets/insettabular.C:
671         * insets/insettext.C:
672         * insets/insettext.h:
673         * insets/insetwrap.C:
674         * mathed/math_mboxinset.C:
675         * mathed/math_nestinset.C:
676         * mathed/math_scriptinset.C:
677         * mathed/math_scriptinset.h:
678         * support/types.h:
679
680 2004-03-24  Angus Leeming  <leeming@lyx.org>
681
682         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
683         deal with any child processes that have finished but are waiting to
684         communicate this fact to the rest of LyX.
685
686 2004-03-24  Angus Leeming  <leeming@lyx.org>
687
688         64-bit compile fixes.
689
690         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
691         (c-tor): pass lyx::pos_types rather than ints.
692
693         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
694         lyx::pos_type.
695
696         * text.C (Delete): compile fix.
697         (getPar): ensure that function declaration is the same as that in
698         the header file.
699
700 2004-03-23  Angus Leeming  <leeming@lyx.org>
701
702         * ispell.C (LaunchIspell):
703         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
704         a boost::shred_ptr rather than a std::auto_ptr.
705
706 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * lyxfunc.C (getStatus): handle read-only buffers correctly;
709         handle LFUN_FILE_INSERT_*
710
711         * lyxrc.C (setDefaults, getDescription, output, read):
712         * lyxrc.h: remove ps_command
713
714 2004-03-22  Angus Leeming  <leeming@lyx.org>
715
716         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
717         Ensure that error_handler is processed once only and that all data
718         is saved before attempting to output any warning messages.
719
720         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
721
722 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
723
724         * tabular.C (TeXRow): crash fix (from Kayvan and André)
725
726 2004-03-19  André Pönitz  <poenitz@gmx.net>
727
728         * cursor.[Ch] (reset): take main text inset as argument
729
730         * BufferView: adjust
731         * BufferView_pimpl.C: adjust
732
733         * paragraph.[Ch]: fix completely broken operator=()
734
735 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * LColor.C (getFromLyXName): make sure that the color name is used
738         as lowercase.
739
740 2004-03-17  Angus Leeming  <leeming@lyx.org>
741
742         * lfuns.h:
743         * LyXAction.C (init): remove LFUN_FORKS_KILL.
744
745         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
746         dialog and to kill a forked process.
747
748 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * text2.C (setCursorFromCoordinates): fix font problem
751
752 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
753
754         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
755         bogus "rebuild cursor" code
756
757 2004-03-11  André Pönitz  <poenitz@gmx.net>
758
759         * buffer.[Ch]: use InsetText instead of LyXText as container for
760         the main lyx text.
761
762         * dociterator.[Ch]: drop the BufferView * member which is not needed
763         anymore after the change to buffer.C
764
765         * paragraph_funcs.C:
766         * text.C:
767         * text2.C:
768         * BufferView.[Ch]:
769         * BufferView_pimpl.[Ch]:
770         * cursor.[Ch]:
771         * cursor_slice.[Ch]: adjust
772
773         * text3.C: fix bug in mathDispatch
774
775 2004-03-08  André Pönitz  <poenitz@gmx.net>
776
777         * undo.[Ch]: use 'StableDocumentIterator' as base for
778         the Undo struct.
779
780 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
781
782         * LaTeXFeatures.C:
783         * bufferparams.[Ch]: add jurabib support and param.
784
785         * LaTeX.C: add FIXME/comment.
786
787 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
788
789         * buffer.C: increment file format to 230.
790
791 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * cursor.C (dispatch): avoid infinite loops
794
795 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
796
797         * rowpainter.C (paintSelection): fix x coordinates
798
799 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
800
801         * text.C (rowBreakPoint): fix breaking before displayed insets
802
803 2004-03-01  André Pönitz  <poenitz@gmx.net>
804
805         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
806
807         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
808
809         * Makefile.am:
810         * BufferView.C:
811         * BufferView_pimpl.C:
812         * buffer.C:
813         * lyxfind.C:
814         * lyxfunc.C:
815         * text.C:
816         * text2.C:
817         * text3.C: adjust
818
819 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * lyxtext.h:
822         * text.C:
823         * text2.C:
824         * rowpainter.C:
825         * BufferView_pimpl.C: rename textwidth -> maxwidth,
826         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
827
828 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * Bidi.[Ch] (computeTables): const correctness
831         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
832         fill_hfill, fill_label_hfill and x from Row
833         * lyxtext.h: prepareToPrint returns a RowMetrics
834         * rowPainter.C: adjust
835         * text.C (prepareToPrint): use width, not textWidth. adjust
836         (redoParagraphInternal, cursorX): adjust
837         * text2.C (getColumnNearX): adjust
838         (init): put a default value to the top LyXText::width
839
840 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
841
842         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
843
844 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * lyxtext.h: add FontIterator class
847
848         * text.C (FontIterator, operator*, operator->, operator++): add
849         (rowBreakPoint, setRowWidth): adjust (fixing a
850         rebreaking bug)
851
852 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * BufferView_pimpl.C (workAreaDispatch): allow also
855         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
856
857 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * text.C (rowBreakPoint): fix a bug showing with very large insets
860
861 2004-02-25  André Pönitz  <poenitz@gmx.net>
862
863         * text3.C:
864         * cursor.[Ch]: move some mathed specific code to mathed
865
866 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
867
868         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
869         use_tempdir in preferences
870         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
871         tempfile creation
872         * lyx_main.C: ensure that tempdir is valid
873         * lyxlex.h: correct typo
874         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
875         * paragraph.[Ch] (isMultiLingual): make const
876         * cursor.[Ch] (openable): make const
877
878 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
881
882 2004-02-20  André Pönitz  <poenitz@gmx.net>
883
884         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
885
886         * cursor.[Ch]: prepare for localized getStatus()
887
888         * lyxtext.h:
889         * tabular.C:
890         * text.C:
891         * text2.C:
892         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
893
894 2004-02-20  André Pönitz  <poenitz@gmx.net>
895
896         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
897
898 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
899
900         * text2.C (setCursorFromCoordinates): switch to absolute coords
901         (cursorUp): adjust
902         (cursorDown): adjust
903         * text3.C (dispatch): adjust
904
905 2004-02-16  André Pönitz  <poenitz@gmx.net>
906
907         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
908           insets/ChangeLog)
909
910         * cursor_slice.[Ch]: remove unneeded acessor function
911
912         * lyxtext.h: rename rtl() to isRTL()
913
914         * rowpainter.C:
915         * tabular.C:
916         * text.C:
917         * text2.C:
918         * text3.C: adjust
919
920 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * rowpainter.C (paintSelection): coord fix
923
924 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
925
926         * Spacing.C: compile fix
927
928 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * cursor.C (dispatch): restore current_ before returning
931
932 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * text2.C (cursorUp, cursorDown): fix coords
935         (moveUp): fix crash
936
937 2004-02-12  André Pönitz  <poenitz@gmx.net>
938
939         * lyxtext.h:
940         * text.C:
941         * text2.C:
942         * text3.C: add LCursor & parameter to most cursor movement functions
943           remove usage of LyXText::cursorRow() and cursorPar()
944
945         * cursor.[Ch]: add textRow() needed members
946
947         * BufferView.C:
948         * BufferView_pimpl.C:
949         * paragraph.[Ch]:
950         * BufferView.C:
951         * BufferView_pimpl.C: adjust
952
953 2004-02-11  André Pönitz  <poenitz@gmx.net>
954
955         * lyxfunc.C:
956         * BufferView.[Ch]:
957         * BufferView_pimpl.C: shift undo/redo handling
958
959         * cursor.[Ch]: fix mathed crash
960
961         * lyxfind.C:
962         * lyxtext.h: move selectionAsText to LCursor
963
964         * output_latex.C:
965         * paragraph.C:
966         * text.C:
967         * text2.C:
968         * text3.C: adjust
969
970         * rowpainter.C: fix excessive drawing
971
972 2004-02-06  André Pönitz  <poenitz@gmx.net>
973
974         * BufferView.[Ch]:
975         * BufferView_pimpl.[Ch]:
976         * text3.C: move some text specific LFUN handling
977
978 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * text3.C (checkInsetHit): adjust coords
981         * text2.C (getColumnNearX): adjust coords
982         (edit): adjust coords
983         * text.C (getRowNearY): add two asserts
984
985 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * converter.C:
988         * format.C: add using std::distance to compile on gcc 2.95/stlport
989
990 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
991
992         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
993
994 2004-02-04  André Pönitz  <poenitz@gmx.net>
995
996         * BufferView.[Ch] (insertInset):
997         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
998
999         * text2.C:
1000         * text3.C: adjust
1001
1002 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1005         on the default clause of the switch
1006         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1007         wasn't catched by LCursor::dispatch
1008
1009 2004-02-03  André Pönitz  <poenitz@gmx.net>
1010
1011         * BufferView.C:
1012         * cursor.[Ch]: some additional asserts
1013
1014         * undo.[Ch]: remove LyXText dependency in interface
1015
1016         * lyxfunc.C: adjust
1017
1018         * lyxtext.h (firstPar, lastPar): remove dead functions
1019
1020         * text.C:
1021         * text2.C:
1022         * text3.C:
1023         * paragraph.[Ch]: adjust
1024
1025 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1026
1027         * lyxfind.C (find): fix argument order in call to ::find
1028
1029 2004-02-02  André Pönitz  <poenitz@gmx.net>
1030
1031         * cursor.[Ch]: remove direct access to anchor
1032
1033         * text.C: remove findText() hack
1034
1035 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * iterators.[Ch] (lockPath): remove in favour of...
1038         * BufferView.[Ch] (setCursor): this addition
1039         * BufferView.C (putSelectionAt): adjust
1040         * undo.C (performUndoOrRedo): adjust
1041         * lyxfunc.C (dispatch): adjust
1042
1043 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1044
1045         * iterators.C (lockPath): add a missing slice
1046         * undo.C (performUndoOrRedo): remove redundant positioning code
1047
1048 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * vc-backend.C (scanMaster): ";" -> ';'
1051
1052 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1053
1054         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1055         std::binary_function
1056
1057         * lyxtextclass.C (compare_name): rename to...
1058         (LayoutNamesEqual): ...this
1059
1060         * lyxlex_pimpl.C (compare_tags): inherit from
1061         std::binary_function, put back into anon namespace
1062
1063         * lyxfind.C (MatchString): inherig from std::binary_function
1064         (findChange): use empty() istead of !size()
1065
1066         * format.C (FormatNamesEqual): new functor
1067         (getFormat): use it
1068         (getNumber): use it
1069         (add): use it
1070         (erase): use it
1071         (setViewer): use it
1072
1073         * converter.C (compare_Converter): rename to...
1074         (ConverterEqual): ...this, and fixup a bit.
1075         (getConverter): use it, and make function const
1076         (getNumber): use it, and make function const
1077         (add): use it
1078         (erase): use it:
1079
1080         * bufferlist.C: add using boost::bind
1081
1082         * MenuBackend.C (MenuNamesEqual): new functor
1083         (hasMenu): use it, and make function const
1084         (hasSubmenu): use nested bind to get rid of compare_memfun.
1085
1086 2004-01-30  André Pönitz  <poenitz@gmx.net>
1087
1088         * BufferView_pimpl.C:
1089         * cursor.C:
1090         * cursor.h:
1091         * cursor_slice.[Ch]:
1092         * lyxfunc.C:
1093         * lyxtext.h:
1094         * paragraph_funcs.C:
1095         * paragraph_funcs.h:
1096         * rowpainter.C:
1097         * text.C:
1098         * text2.C:
1099         * text3.C: move some of the edit(x,y) handling to the insets
1100         some coordinate changes.
1101
1102 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1103
1104         * text.C: add using statements for std::advance and std::distance
1105
1106         * paragraph.C: add using statement for std::distance
1107
1108         * lyxfind.C: add using statement for std::advance
1109
1110         * cursor.C (region): remove std:: from swap
1111         (openable): use nucleus in stead of operator->
1112
1113         * BufferView.C: add using statements for std::distance and std::swap
1114
1115 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1116
1117         * iterators.C: Remove the pimple, move the needed structures to
1118         the header file. Create accessor for the positions stack.
1119         (asPosIterator): remove function
1120
1121         * PosIterator.C (PosIterator): move constructors to top of file
1122         (PosIterator): reimplement the constructor taking a ParIterator in
1123         terms of setFrom.
1124         (setFrom): new function
1125         (operator!=): inline it
1126
1127 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1128
1129         * lyxfind.C (replaceAll): use std::advance
1130
1131         * iterators.h: inherit from std::iterator.
1132
1133         * PosIterator.C (advance, distance): remove
1134         * PosIterator.h: interit from std::iterator.
1135
1136 2004-01-26  André Pönitz  <poenitz@gmx.net>
1137
1138         * BufferView.[Ch]:
1139         * BufferView_pimpl.[Ch]:
1140         * InsetList.[Ch]:
1141         * PosIterator.[Ch]:
1142         * buffer.h:
1143         * bufferview_funcs.C:
1144         * cursor.[Ch]:
1145         * cursor_slice.h:
1146         * factory.[Ch]:
1147         * iterators.[Ch]:
1148         * lyxfind.C:
1149         * lyxfunc.C:
1150         * lyxtext.h:
1151         * output_docbook.C:
1152         * output_latex.C:
1153         * output_linuxdoc.C:
1154         * output_plaintext.C:
1155         * paragraph.[Ch]:
1156         * paragraph_funcs.[Ch]:
1157         * paragraph_pimpl.[Ch]:
1158         * rowpainter.C:
1159         * tabular.C:
1160         * tabular.h:
1161         * text.C:
1162         * text2.C:
1163         * text3.C: more IU:  dumps most of the rest of the mathcursor
1164     implementation into cursor.[Ch]; "globalize" a bit of it.
1165
1166 2004-01-25  Angus Leeming  <leeming@lyx.org>
1167
1168         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1169
1170 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1171
1172         * LaTeXFeatures.h: add nice_ and nice() const
1173         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1174
1175 2004-01-20  André Pönitz  <poenitz@gmx.net>
1176
1177         * BufferView.[Ch]:
1178         * BufferView_pimpl.C:
1179         * PosIterator.C:
1180         * bufferview_funcs.C:
1181         * cursor.[Ch]:
1182         * cursor_slice.[Ch]:
1183         * factory.C:
1184         * iterators.C:
1185         * lyx_cb.C:
1186         * lyxfind.C:
1187         * lyxfunc.C:
1188         * lyxtext.h:
1189         * rowpainter.C:
1190         * text.C:
1191         * text2.C:
1192         * text3.C:
1193         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1194           LCursor and mathcursor parts to LCursor and InsetBase.
1195
1196 2004-01-15  André Pönitz  <poenitz@gmx.net>
1197
1198         * cursor_slice.[Ch]: add a few covienience functions
1199
1200         * funcrequest.[Ch]: remove BufferView * member
1201
1202         * BufferView_pimpl.C:
1203         * cursor.C:
1204         * factory.[Ch]:
1205         * lyxfind.[Ch]:
1206         * lyxfunc.C:
1207         * lyxtext.h:
1208         * text3.C:
1209         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1210
1211 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1214         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1215
1216 2004-01-13  André Pönitz  <poenitz@gmx.net>
1217
1218         * textcursor.[Ch]:
1219         * lyxtext.h: hide cursor and selection anchor behind accessor function
1220
1221         * BufferView.C:
1222         * BufferView_pimpl.[Ch]:
1223         * PosIterator.C:
1224         * bufferview_funcs.C:
1225         * cursor.h:
1226         * lyxfind.C:
1227         * lyxfunc.C:
1228         * text.C:
1229         * text2.C:
1230         * text3.C:
1231         * undo.C: adjust
1232
1233         * cursor.h:
1234         * cursor_slice.[Ch]: some integer type changes for inset unification
1235
1236         * lyxcursor.[hC]: remove, it's CursorSlice now.
1237
1238         * Makefile.am:
1239         * BufferView_pimpl.[Ch]:
1240         * bufferview_funcs.C:
1241         * cursor_slice.C:
1242         * lyxtext.h:
1243         * text.C:
1244         * text2.C:
1245         * text3.C:
1246         * textcursor.[Ch]: adjust
1247
1248 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1249
1250         * text2.C (undoSpan): add and use
1251         * text.C (breakParagraph): use undoSpan (fix bug 578)
1252         * lyxtext.h: adjust
1253
1254 2004-01-08  Angus Leeming  <leeming@lyx.org>
1255
1256         * BufferView_pimpl.C (MenuInsertLyXFile):
1257         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1258         * lyxfunc.C (menuNew, open, doImport):
1259         FileFilterList change to the FileDialog open and save functions.
1260
1261 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1262
1263         * ShareContainer.h: make isEqual and isUnique adaptable
1264
1265         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1266
1267 2004-01-07  Angus Leeming  <leeming@lyx.org>
1268
1269         * LyXAction.C:
1270         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1271
1272         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1273
1274         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1275         functions replacing find, replace and replaceAll.
1276
1277         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1278         LFUN_WORDFIND(FORWARD|BACKWARD).
1279
1280 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1281
1282         * text.C (breakParagraph): remove an outdated #warning
1283
1284 2004-01-07  André Pönitz  <poenitz@gmx.net>
1285
1286         * lyxfind.C: somewhat clearer logic
1287
1288         * text.C: prevent crash in cursorX on unitialized row cache
1289
1290 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * lyxcursor.[Ch] (operator>): add
1293         * textcursor.C (selStart, selEnd): use std::min and std::max
1294
1295 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1296
1297         * Chktex.C: include boost/format.hpp
1298
1299 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1300
1301         * InsetList.C: replace functor MathcIt with adaptable functor
1302         InsetTablePosLess
1303         (insetIterator): modify accordingly
1304
1305         * BranchList.h: move the BranchNamesEqual functor here from...
1306         * BranchList.C: ... to here
1307
1308         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1309         SameName and match.
1310         (add): replace a finding loop with std::find_if.
1311
1312 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * output_docbook.C: moving LatexParam functionality into
1315         .layout files
1316
1317 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1318
1319         * buffer.C: increment format to 229.
1320
1321 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1322
1323         * LaTeXFeatures.C:
1324         * lyx_sty.[Ch]: remove minipageindent_def
1325
1326         * LyXAction.C:
1327         * factory.C:
1328         * lfuns.h:
1329         * lyxfunc.C:
1330         * text3.C: remove LFUN_INSET_MINIPAGE
1331
1332 2003-12-28  Angus Leeming  <leeming@lyx.org>
1333
1334         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1335
1336 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text2.C (setParagraph): fix off-by-one crash
1339
1340 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1341
1342         * output_docbook.C: header stuff for AGU
1343
1344 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1345
1346         * text2.C (redoCursor): remove
1347         * text.C:
1348         * text3.C:
1349         * BufferView_pimpl.C: remove calls to redoCursor and
1350         setCursor(cursor.par(), cursor.pos()) all around
1351
1352 2003-12-15  Angus Leeming  <leeming@lyx.org>
1353
1354         * buffer.C: up the format to 228.
1355
1356 2003-12-15  André Pönitz  <poenitz@gmx.net>
1357
1358         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1359         slices
1360
1361         * Makefile.am:
1362
1363         * BufferView_pimpl.C:
1364         * cursor.[Ch]:
1365         * lyxcursor.[Ch]:
1366         * rowpainter.[Ch]:
1367         * lyxtext.h:
1368         * text.C:
1369         * text2.C:
1370         * text3.C: adjust
1371
1372 2003-12-15  Angus Leeming  <leeming@lyx.org>
1373
1374         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1375         than getFromGUIName to manipulate the color.
1376
1377 2003-12-14  Angus Leeming  <leeming@lyx.org>
1378
1379         * BranchList.[Ch]: minimize the API.
1380         (Branch::getBranch, getColor): now return a 'const &'.
1381         (Branch::setSelected) now returns a bool set to true if the
1382         selection status changes.
1383         (BranchList::clear, size, getColor, setColor, setSelected,
1384         allBranches, allSelected, separator): removed.
1385         (BranchList::find): new functions, returning the Branch with
1386         the given name.
1387         (BranchList::add, remove): return a bool indicating that
1388         the operation was successful.
1389
1390         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1391         new InsetBranch::isBranchSlected member function.
1392
1393         * LColor.[Ch]: mimimize the API.
1394         (fill): renamed as addColor and made private.
1395         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1396         versions of these functions taking a string arg have been removed.
1397
1398         * bufferparams.C (readToken):
1399         * lyxfunc.C (dispatch):
1400         * lyxrc.C (read): changes due to the altered BranchList and
1401         LColor APIs.
1402
1403         * factory.C (createInset, readInset): changes due to altered
1404         InsetBranch c-tor.
1405
1406 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1407
1408         * factory.C:
1409         * lyxfunc.C: remove insetminipage. "minipage-insert"
1410         now produces a frameless minipage box inset.
1411
1412 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * textcursor.[Ch] (selStart,selEnd): add new methods
1415         remove selection::start, end, use LyXCursor::operator<
1416         * lyxcursor.[Ch] (operator<): add
1417         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1418         * BufferView.[Ch] (unsetXSel): add
1419         * text2.C (clearSelection): use unsetXSel,adjust
1420         * text.C: adjust
1421         * text3.C: adjust
1422         * rowpainter.C: adjust
1423         * bufferview_funcs.C (put_selection_at): adjust
1424
1425 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * BufferView_pimpl.C: small coord. correction
1428
1429 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1432         dragging over the splash screen.
1433
1434 2003-12-11  Angus Leeming  <leeming@lyx.org>
1435
1436         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1437         as it is now handled in LyXText::dispatch.
1438
1439         * text3.C (doInsertInset): remove a level of nesting.
1440
1441 2003-12-11  Angus Leeming  <leeming@lyx.org>
1442
1443         * factory.C (createInset): changes due to the changed interface to
1444         InsetCommandMailer::string2params.
1445
1446 2003-12-10  Angus Leeming  <leeming@lyx.org>
1447
1448         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1449         'dialog-show-new-inset <inset name>'
1450
1451 2003-12-10  Angus Leeming  <leeming@lyx.org>
1452
1453         * buffer.C: up the format to 227.
1454
1455         * factory.C: the box inset is now identified simply by 'Box'.
1456
1457 2003-12-10  Angus Leeming  <leeming@lyx.org>
1458
1459         * buffer.C: up the format to 226.
1460
1461         * factory.C: the note inset is now identified simply by 'Note'.
1462
1463 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1466         when a pit is enough. Standarize a couple of loops.
1467
1468 2003-12-05  Angus Leeming  <leeming@lyx.org>
1469
1470         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1471         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1472         data to the re-worked "log" dialog.
1473
1474 2003-12-03  André Pönitz  <poenitz@gmx.net>
1475
1476         * PosIterator.C:
1477         * iterators.C:
1478         * lyxtext.h:
1479         * output_latex.C:
1480         * paragraph_funcs.C:
1481         * text.C:
1482         * text2.C: use Inset::getText instead of Inset::getParagraph
1483
1484 2003-12-03  André Pönitz  <poenitz@gmx.net>
1485
1486         * buffer.[Ch]:
1487         * lyxtext.h:
1488         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1489         InsetText::read() as LyXText::read()
1490
1491 2003-12-02  Angus Leeming  <leeming@lyx.org>
1492
1493         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1494         type. Add a comment in the implementation that the function uses
1495         the stream's bad() function rather than fail() as the std::streams
1496         would do.
1497
1498 2003-12-02  André Pönitz  <poenitz@gmx.net>
1499
1500         * lyxlex.[Ch]: make interface more similar to std::stream
1501
1502         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1503
1504 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1505
1506         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1507
1508 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1509
1510         * vspace.[Ch]: remove VSpace::NONE
1511
1512 2003-12-01  André Pönitz  <poenitz@gmx.net>
1513
1514         * buffer.[Ch]:
1515         * lyxtext.h: move ParagraphList member to LyXText
1516         rename LyXText::ownerParagraphs to LyXText::paragraph
1517
1518         * CutAndPaste.C:
1519         * bufferview_funcs.C:
1520         * iterators.[Ch]:
1521         * lyx_cb.C:
1522         * paragraph.C:
1523         * rowpainter.C:
1524         * tabular.C:
1525         * text.C:
1526         * text2.C:
1527         * text3.C: adjust
1528
1529         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1530
1531         * undo.C: fix cursor positioning
1532
1533 2003-12-01  John Levon  <levon@movementarian.org>
1534
1535         * BufferView_pimpl.C: fix a crash on exit with
1536         a buffer open
1537
1538 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1539
1540         * BranchList.C: fix setSelected() method.
1541
1542 2003-11-28  André Pönitz  <poenitz@gmx.net>
1543
1544         * ParagraphParameters.[Ch]:
1545         * ParameterStruct.h: remove space above/below from Paragraph to
1546          InsetVSpace
1547
1548         * BufferView_pimpl.C:
1549         * factory.C:
1550         * lyxfunc.C:
1551         * lyxtext.h:
1552         * output_latex.C:
1553         * paragraph.C:
1554         * paragraph_funcs.C:
1555         * rowpainter.[Ch]:
1556         * text.C:
1557         * text2.C:
1558         * text3.C: adjust
1559
1560 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1561
1562         * factory.C: Syntax change for CharStyles
1563
1564 2003-11-28  André Pönitz  <poenitz@gmx.net>
1565
1566         * BufferView.[Ch]:
1567         * BufferView.[Ch]:
1568         * buffer.[Ch]:
1569         * buffer.[Ch]: move LyXText member
1570
1571 2003-11-28  André Pönitz  <poenitz@gmx.net>
1572
1573         * BufferView.[Ch]: make LyXText * text a private member
1574
1575         * BufferView_pimpl.C:
1576         * cursor.C:
1577         * iterators.C:
1578         * lyx_cb.C:
1579         * lyxfind.C:
1580         * lyxtext.h:
1581         * rowpainter.[Ch]:
1582         * text.C:
1583         * text2.C:
1584         * undo.C: adjust
1585
1586         * output_plaintext.C: cleanup
1587
1588 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1589
1590         * buffer.C:
1591         * lyxtextclass.[Ch]: parametrize SGML document header
1592
1593 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1594
1595         * converter.[Ch]:
1596         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1597         getFlavor().
1598
1599 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * text2.C (setFont): rework using PosIterator (no more recursive)
1602         (setCharFont): no more needed
1603         (setLayout): no more selection cursors fiddling (done by redoCursor)
1604         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1605         destroy remaining ones)
1606
1607 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1610         * lyxtext.h: ditto
1611         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1612         selection cursors
1613         * lyxfunc.C: adjust
1614         * text3.C: adjust + re-allow multi par depth changes
1615         * textcursor.C: simplify a bit
1616
1617 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1618
1619         * src/buffer.C:
1620         * src/lyxlayout.C:
1621         * src/lyxlayout.h:
1622         * src/lyxtext.h:
1623         * src/output_docbook.C:
1624         * src/output_latex.C:
1625         * src/paragraph.C:
1626         * src/paragraph.h:
1627         * src/sgml.C:
1628         * src/sgml.h:
1629         * src/text2.C: Introducing a number of tags parametrizing various
1630         XML formats that we may want to support
1631
1632 2003-11-25  André Pönitz  <poenitz@gmx.net>
1633
1634         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1635
1636         * lyxtext.h (leftMargin/rightMargin): simplify interface
1637
1638         * rowpainter.C:
1639         * text.C:
1640         * text2.C:
1641         * text3.C: adjust
1642
1643 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1644
1645         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1646         master file to any child files. Fixes bug 546.
1647
1648 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1649
1650         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1651
1652 2003-11-24  André Pönitz  <poenitz@gmx.net>
1653
1654         * rowpainter.C: simplification
1655
1656         * text2.C (updateCounters): remove call to redoParagraph on
1657         changed labels as this is far too expensive.
1658
1659 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * converter.C (convert): fix a crash: this function gets
1662         called with buffer == 0 from importer code.
1663
1664 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1665
1666         * text3.C (cursorPrevious): make sure that we do not compare
1667         iterators form different containers.
1668         (cursorNext): ditto
1669
1670         * rowpainter.C (paintSelection): make sure that we do not compare
1671         iterators from different containers.
1672
1673         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1674         iterators from different ParagraphList containers.
1675         [NEXT] ditto
1676
1677         * text2.C (LyXText): change order of initialization slightly
1678         (operator=): new function. copy all variables except cache_par_
1679         (moveUp): make sure that we do not compare iterators from
1680         different ParagraphList constainers.
1681         (moveDown): ditto
1682
1683         * text.C (firstPar): new function
1684         (lastPar): new function
1685         (endPar): new function
1686
1687         * lyxtext.h: move things around and group public functions, public
1688         variables, private functions, private variables
1689
1690 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1691
1692         * factory.C: change call to InsetERT constructor to avoid
1693         additional invocation of method status
1694         * text2.C (toggleInset): remove redundant update() call
1695         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1696         instead of a Bufferview pointer
1697
1698 2003-11-21  André Pönitz  <poenitz@gmx.net>
1699
1700         * rowpainter.C: simplification
1701
1702 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * text3.C (dispatch): make possible to extend a word/row selection
1705         with the mouse
1706
1707 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * lyxtext.h: x0_,y0_ -> xo_,yo_
1710         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1711         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1712         * rowpainter.C (paintRows): paint full paragraphs
1713
1714 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1717         screen coordinates)
1718
1719 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1720
1721         * lyxtext.h: add x0_, y0_
1722         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1723         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1724
1725 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * text2.C (setCursorIntern): move the x_target update here *
1728         * text3.C: change some bv() to true/false in calls to
1729         cursorUp/Down/Right/Left
1730         * cursor.C: use helper function.
1731
1732 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1735         * paragraph_funcs.[Ch]: correct comment
1736         * rowpainter.C: do not paint selections away from bv->cursor()
1737         Fix a long standing selection painting bug.
1738         * text3.C: generalize mouse-selection code to LyXTexts other that
1739         top one
1740         * textcursor.C: do not use y coords if we can use par offsets
1741
1742 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1745         cursor position after e.g. inset insert)
1746
1747 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * lyxfind.C (replace): adjust to locking removal + some
1750         code simplification
1751
1752 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1755         of the path
1756
1757 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1758
1759         * lyxlayout.[Ch]:
1760         * output_docbook.C: XML sanitation: new layout
1761         parameters InnerTag and CommandDepth
1762
1763 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1764
1765         * BufferView_pimpl.C:
1766         * factory.C:
1767         * text3.C: Fix the insertion and modification of button-style
1768         insets
1769
1770 2003-11-13  André Pönitz  <poenitz@gmx.net>
1771
1772         * InsetList.[Ch]: remove deleteLyXText
1773
1774         * paragraph.[Ch]: cache beginOfBody position
1775
1776         * Bidi.C:
1777         * text.C:
1778         * text2.C:
1779         * text3.C: remove superfluous update() calls
1780
1781         * vspace.C: cleanup
1782
1783 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1784
1785         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1786         * BufferView.C (fitLockedInsetCursor): remove
1787         * cursor.[Ch] (getDim): add
1788         * text.C (getRowNearY): add faster version
1789         * text3.C: remove some update calls
1790
1791 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * LaTeXFeatures.C:
1794         * LyXAction.C:
1795         * MenuBackend.C:
1796         * MenuBackend.h:
1797         * dispatchresult.h:
1798         * factory.C:
1799         * lfuns.h:
1800         * lyxfunc.C:
1801         * lyxtextclass.C:
1802         * lyxtextclass.h:
1803         * text3.C: The Character Style /XML short element patch.
1804
1805 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1806
1807         * text3.C:
1808         * factory.C: Small step to solving 'unable to insert some insets'
1809         problem
1810
1811 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * cursor.[Ch] (updatePos): new function for updating the y
1814         position of the tip inset
1815         * bufferview_funcs.C (put_selection_at):
1816         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1817
1818 2003-11-11  André Pönitz  <poenitz@gmx.net>
1819
1820         * text.C: remove big comment on invalid Paragraph pointers as it is
1821         not valid anymore
1822
1823 2003-11-11  André Pönitz  <poenitz@gmx.net>
1824
1825         * text_funcs.[Ch]: merge with ...
1826
1827         * text.C: ... this
1828
1829         * lyxtext.h:
1830         * text2.C:
1831         * text3.C: adjust
1832
1833         * Makefile.am: remove text_funcs.[Ch]
1834
1835 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * cursor.C (getPos): return absolute cached y coord
1838
1839         * BufferView_pimpl.C (fitCursor): new simplistic code
1840         (workAreaDispatch): add a fitCursor call
1841
1842 2003-11-10  André Pönitz  <poenitz@gmx.net>
1843
1844         * BufferView.[Ch]:
1845         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1846
1847 2003-11-10  André Pönitz  <poenitz@gmx.net>
1848
1849         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1850         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1851         indicate that the cursor needs to leave an inset
1852
1853         * lyxtext.h: remove inset locking
1854
1855         * cursor.[Ch]: re-implement functionality provided by inset locking
1856
1857         * BufferView.[Ch]:
1858         * BufferView_pimpl.[Ch]:
1859         * LyXAction.C:
1860         * bufferview_funcs.[Ch]:
1861         * factory.C:
1862         * funcrequest.[Ch]:
1863         * iterators.C:
1864         * lyx_cb.C:
1865         * lyxfind.C:
1866         * lyxfunc.C:
1867         * text.C:
1868         * text2.C:
1869         * text3.C:
1870         * undo.C: adjust
1871
1872 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1873
1874         * PosIterator.[Ch]: replace the stack with a vector, add inset
1875         accesor
1876         * iterators.[C]: adjust
1877
1878 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1879
1880         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1881         replaced
1882         * paragraph_funcs.C (readParToken): put the correct id in the
1883         error item, not the id of the top paragraph
1884
1885 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1888         * bufferview_funcs.C (put_selection_at): use the above
1889
1890 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1891
1892         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1893
1894 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1895
1896         * output_linuxdoc.h:
1897         * output_plaintext.h:
1898         * output.h:
1899         * output_docbook.h: add #include statements
1900
1901 2003-11-05  José Matos  <jamatos@lyx.org>
1902
1903         * output_docbook.[Ch]:
1904         * output_latex.[Ch]:
1905         * output_linuxdoc.[Ch]:
1906         * output_plaintext.[Ch]: New files for output formats.
1907         * output.[Ch]: New file for helper functions.
1908
1909         * buffer.[Ch]:
1910         * paragraph_funcs.[Ch]: output functions moved to new files.
1911
1912         * outputparams.h: rename of latexrunparams.h
1913
1914         * LaTeX.[Ch]:
1915         * buffer.[Ch]:
1916         * bufferlist.[Ch]:
1917         * converter.[Ch]:
1918         * exporter.C:
1919         * paragraph.[Ch]:
1920         * paragraph_funcs.[Ch]:
1921         * paragraph_pimpl.[Ch]:
1922         * tabular.[Ch]: rename ascii to plaintext
1923         and LatexRunParams to OutputParams.
1924
1925 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * iterators.[Ch] (text): require bv argument
1928         * undo.C (recordUndo):
1929         * lyxfunc.C (dispatch):
1930         * bufferview_funcs.C (put_selection_at): adjust
1931
1932 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1933
1934         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1935
1936 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1939         nestings
1940
1941 2003-11-04  André Pönitz  <poenitz@gmx.net>
1942
1943         * cursor.[Ch]: restructure
1944
1945         * BufferView.[Ch]:
1946         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1947
1948         * iterators.[Ch] (asCursor): remove
1949
1950         * lfuns.h: remove LFUN_INSET_EDIT
1951
1952         * lyxfunc.C:
1953         * tabular.C:
1954         * text.C:
1955         * text2.C:
1956         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1957
1958 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1959
1960         * lyxfind.[Ch]: complete overhaul
1961         * BufferView_pimpl.C:
1962         * lyxfunc.C: adjust
1963         * paragraph.[Ch] (insert): add
1964
1965 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1966
1967         * BufferView.[Ch]:
1968         * lyxtext.h:
1969         * text.C: remove dead spellcheck code
1970
1971 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * dispatchresult.h: add a val setter
1974
1975         * cursor.C (dispatch): use a tempvar for data_[i]
1976
1977 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1978
1979         * PosIterator.[Ch]: compile fix
1980
1981 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1982
1983         * text.C (cursorPar): deactivate the cursor cache
1984
1985 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1986
1987         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1988
1989 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * text3.C (dispatch): adjust for new DisptchResult semantics.
1992
1993         * lyxfunc.C (dispatch): handle update when return from
1994         Cursor::dispatch, adjust for new DispatchResult semantics.
1995
1996         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1997         DispatchResult(true) mean to not update. Add class functions for
1998         setting dispatched and update, as well as reading.
1999
2000         * cursor.C (dispatch): don't handle update here
2001
2002 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2003
2004         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2005         * trans_mgr.C: adjust
2006
2007         * paragraph_funcs.C (readParToken): exception safety
2008
2009         * lyxvc.h: store the vcs pointer in a scoped_ptr
2010         * lyxvc.C: adjust
2011
2012         * lyxsocket.C (serverCallback): exception safety
2013
2014         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2015
2016         * ispell.C (clone): make it return a auto_ptr
2017
2018         * factory.C (createInset): exception safety
2019         (readInset): exception safety
2020
2021         * bufferlist.C (newBuffer): exception safety
2022
2023         * Thesaurus.C (Thesaurus): use initialization for aik_
2024
2025         * MenuBackend.C (expandToc): exception safety.
2026
2027 2003-11-03  André Pönitz  <poenitz@gmx.net>
2028
2029         * buffer.C:
2030         * buffer.h:
2031         * bufferview_funcs.C: remove getInsetFromId()
2032
2033         * lyxcursor.[Ch]:
2034         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2035
2036         * lyxfunc.C:
2037         * text2.C:
2038         * text3.C: adjust
2039
2040 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2041
2042         * PosIterator.C (distance, advance): new
2043         * bufferview_funcs.[Ch] (put_selection_at): new
2044         * iterators.[Ch] (lockPath): new
2045
2046 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * iterators.[Ch] (asPosIterator): added
2049         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2050         * PosIterator.[Ch]: added
2051
2052 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2053
2054         * text3.C:
2055         * lyxfunc.C:
2056         * cursor.C (dispatch):
2057         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2058
2059         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2060         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2061         contructor, add a class function dispatched. Remove operator>=
2062
2063 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * debug.C: only use the default constructor for debugstream
2066         (lyxerr) here.
2067
2068         * main.C (main): include debug.h and setup the lyxerr streambuf
2069         here.
2070
2071 2003-10-31  José Matos  <jamatos@lyx.org>
2072
2073         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2074
2075         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2076         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2077         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2078         * paragraph_pimpl.C (simpleTeXSpecialC):
2079         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2080         add LatexRunParams argument.
2081
2082         * exporter.C (Export): change call accordingly.
2083
2084         * latexrunparams.h: add new member to take care of the other backends.
2085 2003-10-30  José Matos  <jamatos@lyx.org>
2086
2087         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2088         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2089         factorise code for paragraph output.
2090         * buffer.[Ch]:
2091         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2092         move functions.
2093
2094 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * text3.C (dispatch):
2097         * lyxfunc.C (dispatch):
2098         * cursor.C (dispatch):
2099         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2100
2101         * dispatchresult.h: make the dispatch_result_t ctor explicit
2102
2103 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2104
2105         * sgml.[Ch]:
2106         * buffer.C: small refactoring of docbook stuff
2107
2108 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2111         meaning.
2112
2113 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2116         operator dispatch_result_t, and operators for == != and >=
2117
2118         * cursor.C (dispatch): adjust for operator dispatch_result_t
2119         removal. comment out call to update
2120
2121         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2122
2123 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * text3.C:
2126         * text2.C:
2127         * text.C:
2128         * lyxtext.h:
2129         * lyxfunc.C:
2130         * cursor.C:
2131         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2132         (dispatch):
2133
2134         * dispatchresult.h: new file, DispatchResult broken out of
2135         insets/insetbase.h
2136
2137         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2138
2139 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2140
2141         * text.C (rowBreakPoint): put a hack inside #if 0
2142
2143 2003-10-28  André Pönitz  <poenitz@gmx.net>
2144
2145         * lyxtext.h:
2146         * metricsinfo.C:
2147         * paragraph_funcs.C:
2148         * rowpainter.C:
2149         * text.C:
2150         * text2.C: general cleanup (lots of small stuff)
2151
2152 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * text2.C (cursorEnd): simple fix to the "end key goes to one
2155         before the end on last row" bug
2156
2157 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2158
2159         * text.C (backspace): fix the "zombie characters"
2160
2161 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2162
2163         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2164
2165 2003-10-27  André Pönitz  <poenitz@gmx.net>
2166
2167         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2168
2169         * factory.C: handle new InsetPagebreak, InsetLine
2170
2171         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2172         and move handling into new InsetPagebreak, InsetLine
2173
2174         * BufferView_pimpl.C:
2175         * LyXAction.C:
2176         * ParagraphParameters.C:
2177         * ParameterStruct.h:
2178         * lyxfunc.C:
2179         * lyxtext.h:
2180         * paragraph.C:
2181         * paragraph.h:
2182         * paragraph_funcs.C:
2183         * paragraph_pimpl.C:
2184         * rowpainter.C:
2185         * text.C:
2186         * text2.C:
2187         * text3.C: adjust
2188
2189 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * text.C:
2192         * lyxrow_funcs.[Ch]:
2193         * Bidi.C:
2194         * paragraph.C:
2195         * lyxtext.h:
2196         * rowpainter.C:
2197         * text2.C:
2198         * text3.C: remove lastPos uses in favour of Row::endpos
2199
2200 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2201
2202         * undo.C (performUndoOrRedo): fix two crashes by setting a
2203         cursor by hand and reordering some calls. Use bv->lockInset instead
2204         of inset->edit because the latter loses cursor information
2205
2206 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2207
2208         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2209         by Martin
2210         (rowBreakPoint): fix width. change point to point + 1.
2211         Add a missing check.
2212
2213 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2214
2215         * MenuBackend.C:
2216         * lyxfunc.C: fix (at least partly) the problems
2217         with the Nav menu and headers inside branch insets
2218         reported by Kayvan
2219
2220 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2221
2222         * paragraph.C (getChar): add strong asserts
2223
2224         * lyxrow_funcs.C (lastPos): remove hideous hack
2225
2226         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2227         (fill): adjust to that (avoid an infinite loop)
2228
2229 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2230
2231         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2232
2233 2003-10-23  André Pönitz  <poenitz@gmx.net>
2234
2235         * RowList_fwd.h: change list<> to vector<> to gain speed
2236         after suggestion from Alfredo
2237
2238 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2239
2240         * lyxtext.h: move the bidi stuff from here...
2241         * text.C: and here
2242         * text2.C: and here
2243         * Bidi.[Ch]: ... to here
2244
2245 2003-10-23  André Pönitz  <poenitz@gmx.net>
2246
2247         * lyxtext.h:
2248         * text.C (isLastRow, isFirstRow): new functions
2249
2250         * paragraph.h: new width cache member
2251
2252         * rowpainter.C: replace RowList::iterator with Row & where possible
2253
2254         * lyxfunc.C: replace several view()->text with a single call
2255
2256         * toc.C: fix 'unused' warning
2257
2258 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2259
2260         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2261         when woring with stream::pos_type
2262         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2263
2264 2003-10-22  André Pönitz  <poenitz@gmx.net>
2265
2266         * lyxtext.h:
2267         * text.C: use Row & instead of RowList::iterator
2268
2269         * lyxrow.h: rename end() to endpos()
2270
2271         * rowpainter.C:
2272         * text.C:
2273         * text2.C: adjust
2274
2275 2003-10-22  Angus Leeming  <leeming@lyx.org>
2276
2277         * buffer.[Ch] (fully_loaded): new member function, returning true
2278         only when the file has been loaded fully.
2279         Used to prevent the premature generation of previews and by the
2280         citation inset to prevent computation of the natbib-style label.
2281
2282         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2283         templates are all set up.
2284
2285         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2286
2287 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2288
2289         * text.C: fixed an "oops" in the "is a bit silly"
2290         bug fix
2291
2292 2003-10-21  André Pönitz  <poenitz@gmx.net>
2293
2294         * FuncStatus.[Ch]: small stuff, whitespace
2295
2296         * lyxfont.[Ch]: operator<<() for debug reasons
2297
2298         * lyxfunc.C:
2299         * lyxrow_funcs.C:
2300         * lyxtext.h: whitespace, spelling
2301
2302         * paragraph.C: naming of variables
2303
2304         * text.C:
2305         * text2.C: small stuff
2306
2307
2308 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2309
2310         * text.C: (1) finish off the inset display() work;
2311         (2) fix the "is a bit silly" bug (accessing char
2312         past end of par).
2313
2314 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2315
2316         * text.C: re-introduce display() for insets, fixing the
2317         various bugs (stretch of line above, math inset
2318         positioning, ...)
2319
2320 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2321
2322         * text.C (rightMargin): remove spurious semicolon
2323
2324         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2325         1415)
2326
2327 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * text3.C: fix one crash due to wrong cursor def
2330
2331 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2332
2333         * vc-backend.C (scanMaster): make the regex static
2334
2335         * LaTeX.C (scanAuxFile): make the regexs static
2336
2337         * text3.C (doInsertInset, dispatch, dispatch):
2338         * text2.C (cursorUp, cursorDown):
2339         * text.C (selectNextWordToSpellcheck):
2340         * BufferView_pimpl.C (dispatch):
2341         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2342
2343 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2344
2345         * lyxsocket.C: include <cerrno>
2346
2347 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2348
2349         * lyxfunc.C (dispatch): remove textcache stuff
2350
2351         * bufferlist.C (release): remove textcache stuff
2352         (closeAll): ditto
2353
2354         * TextCache.C: delete file
2355         * TextCache.h: delete file
2356
2357         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2358
2359         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2360         delete of the bv_->text.
2361         (resizeCurrentBuffer): remove texcache stuff
2362         (workAreaResize): ditto
2363
2364 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2367         action.
2368
2369 2003-10-16  André Pönitz  <poenitz@gmx.net>
2370
2371         * lyxrow.[Ch]:
2372         * paragraph.h:
2373         * rowpainter.C:
2374         * text.C:
2375         * text2.C:
2376         * text3.C: speed up by storing y positions per paragraph plus per-row
2377         offset instead of having a 'full' y position in the row.
2378
2379 2003-10-15  André Pönitz  <poenitz@gmx.net>
2380
2381         * iterators.[Ch]:
2382         * iterators.[Ch]:
2383         * undo.[Ch]: make undo aware of inner insets
2384
2385 2003-10-14  Angus Leeming  <leeming@lyx.org>
2386
2387         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2388         static member functions LyX::ref() and LyX::cref.
2389         (lastfiles): new accessor functions for the new lastfiles_ member var.
2390         (addLyXView, views_): add a new LyXView to the list of views_.
2391         (updateInset): loop over all LyXViews to call their own updateInset
2392         member function, returning a pointer to the Buffer owning the inset.
2393
2394         * BufferView_pimpl.C (loadLyXFile):
2395         * MenuBackend.C (expandLastfiles):
2396         * bufferlist.C (MenuWrite, QuitLyX):
2397         lastfiles is no longer a global variable.
2398         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2399
2400         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2401         static function. Access through LyX::cref().emergencyCleanup().
2402
2403 2003-10-14  André Pönitz  <poenitz@gmx.net>
2404
2405         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2406
2407         * undo.[Ch]: restoring part of 'undo in insets'
2408
2409         * Makefile.am:
2410         * undo_funcs.[Ch]: merge with undo.[Ch]
2411
2412         * tabular.C: small cleansing stuff
2413
2414 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2415
2416         * paragraph_funcs.C (readParToken): report unknown insets as error
2417         boxes. Use the outer paragraph as location (also for unknown
2418         tokens).
2419
2420         * factory.C (readInset): do not abort on reading an unknown inset.
2421         Eat it and return 0.
2422
2423 2003-10-13  Angus Leeming  <leeming@lyx.org>
2424
2425         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2426
2427         * lyxrc.C: displayTranslator is now a function,
2428         declared in GraphicsTypes.h.
2429
2430 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2431
2432         * format.C: new placeholder $$a to pass the socket address.
2433
2434         * bufferlist.[Ch]: new function getBufferFromTmp.
2435
2436         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2437           files in the temporary dir.
2438
2439 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2440
2441         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2442
2443         * Makefile.am: add lyxsocket.[Ch].
2444
2445         * lyx_main.C (error_handler): handle SIGPIPE.
2446
2447 2003-10-13  André Pönitz  <poenitz@gmx.net>
2448
2449         * BufferView_pimpl.C:
2450         * lyxtext.h:
2451         * text.C:
2452         * text2.C:
2453         * text3.C:
2454         * undo_funcs.[Ch]: use paroffset_type instead of
2455           ParagraphList::iterators to prevent multiple conversion
2456           (and get a more robust interface)
2457
2458 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2461         * lyxtext.h: ditto
2462         * text3.C (dispatch): ditto
2463
2464 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2467         move the onlyfile, use onlyfile instead of foundfile in a couple
2468         of places.
2469
2470         * DepTable.C (update): flush the error stream a bit more
2471
2472 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * lyxserver.C (callback): adjust
2475
2476         * lyxfunc.C (getStatus): add a missing brace in commented code
2477         (ensureBufferClean): reindent
2478         (dispatch): delete version taking a string
2479
2480 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * LaTeX.C (deplog): move found file handlig from here...
2483         (handleFoundFile): .. to new function here.
2484         (deplog): make sure to discover several files mentioned on the
2485         same log line.
2486
2487 2003-10-10  André Pönitz  <poenitz@gmx.net>
2488
2489         * lyxfunc.C:
2490         * lyxtext.h:
2491         * tabular.C:
2492         * text.C:
2493         * text2.C:
2494         * text3.C: fix some of the tabular crashes
2495
2496 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2497
2498         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2499
2500         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2501
2502 2003-10-09  André Pönitz  <poenitz@gmx.net>
2503
2504         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2505
2506         * BufferView.C:
2507         * BufferView_pimpl.C:
2508         * bufferview_funcs.C:
2509         * lyx_cb.C:
2510         * lyxcursor.C:
2511         * lyxfind.C:
2512         * lyxfunc.C:
2513         * lyxtext.h:
2514         * text.C:
2515         * text2.C:
2516         * text3.C:
2517         * text_funcs.[Ch]:
2518         * textcursor.[Ch]:
2519         * undo_funcs.C: adjust
2520
2521 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2522
2523         * text2.C (incrementItemDepth): new function, use a backtracking
2524         algorithm to discover the correct item depth.
2525         (resetEnumCounterIfNeeded): new function, use a backtracking
2526         algorithm to discover if counter reset is needed.
2527         (setCounter): use them. Simplify a bit. Add different labels for
2528         different item depths for itemize.
2529
2530         * paragraph.C (Paragraph): remove initialization of enumdepth
2531         (operator=): ditto
2532
2533         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2534         enumerate and itemize. Change the type of itemdepth to signed char.
2535
2536 2003-10-08  André Pönitz  <poenitz@gmx.net>
2537
2538         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2539           thing assignable.
2540         * text.C:
2541         * text2.C: adjust
2542
2543         * tabular.[Ch]: fix crash after 'row-insert'
2544
2545 2003-10-08  Angus Leeming  <leeming@lyx.org>
2546
2547         Fix doxygen warnings.
2548
2549         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2550         Remove CutAndPaste:: prefix from header file declaration.
2551
2552         * LColor.h (fill): remove LColor:: prefix from declaration.
2553
2554         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2555         use lyx::depth_type rather than Paragraph::depth_type so that
2556         header file and .C file match.
2557
2558         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2559
2560         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2561         * aspell.C: \file aspell_local.C -> \file aspell.C
2562         * gettext.C: \file gettext.C -> \file src/gettext.C
2563         * gettext.h: \file gettext.h -> \file src/gettext.h
2564         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2565         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2566         * text.C: \file text.C -> \file src/text.C
2567
2568         * toc.C: move comment so that doxygen is not confused.
2569
2570 2003-10-07  Angus Leeming  <leeming@lyx.org>
2571
2572         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2573
2574 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2575
2576         * aspell.C:
2577         * aspell_local.h: add forgotten std::string's.
2578
2579 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2580
2581         * LaTeXFeatures.C:
2582         * LyXAction.C:
2583         * factory.C:
2584         * lfuns.h:
2585         * lyxfunc.C:
2586         * text3.C: The Box patch. Fancybox support, minipage, parbox
2587
2588 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2589
2590         * CutAndPaste.h:
2591         * DepTable.h:
2592         * FloatList.h:
2593         * LaTeXFeatures.h:
2594         * ParagraphParameters.h:
2595         * TextCache.h:
2596         * Thesaurus.h:
2597         * bufferlist.h:
2598         * exporter.h:
2599         * importer.h:
2600         * lastfiles.h:
2601         * lyxfind.h:
2602         * lyxfont.h:
2603         * lyxlex.h:
2604         * lyxtextclasslist.h:
2605         * messages.h:
2606         * paragraph.h:
2607         * paragraph_pimpl.C:
2608         * textcursor.h: add <string> and other small fixes to make Lars'
2609         std::string patch compile with STLport.
2610
2611 2003-10-06  Angus Leeming  <leeming@lyx.org>
2612
2613         * LColor.h: Add missing #include <string>.
2614
2615 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * All most all file in all subdirs: Make <string> be the prefered
2618         way of getting to std::string, add using declarations.
2619
2620 2003-10-06  André Pönitz  <poenitz@gmx.net>
2621
2622         * metricsinfo.C: initialize LyXFont before changing attribute.
2623         (fixes the 'math in \emph is upright' bug)
2624
2625 2003-10-06  André Pönitz  <poenitz@gmx.net>
2626
2627         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2628
2629 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2630
2631         * graph.C:
2632         * paragraph_pimpl.C: Small fixes to build using STLport
2633
2634 2003-10-02  André Pönitz  <poenitz@gmx.net>
2635
2636         * lyxfunc.C:
2637         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2638
2639 2003-10-01  André Pönitz  <poenitz@gmx.net>
2640
2641         * factory.C: assert early
2642
2643 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * lyx_main.C: remove the global debug object
2646
2647         * debug.h: adjust for new debugstream
2648
2649         * debug.C: adjust for new debugstream and keep the global debug
2650         object here.
2651
2652 2003-09-22  Angus Leeming  <leeming@lyx.org>
2653
2654         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2655         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2656         an incomplete class LyXFont.
2657
2658 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2659
2660         * factory.C: bug fix in branches
2661
2662 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * lyxfunc.C (processKeySym): adjust
2665         (dispatch): adjust
2666         (dispatch): change arg name from ev to func, adjust
2667         (sendDispatchMessage): ditto
2668
2669         * lyx_main.C (defaultKeyBindings): adjust keybindings
2670         (deadKeyBindings): ditto
2671
2672         * kbsequence.C (addkey): return a FuncRequest
2673
2674         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2675
2676         * kbmap.C (bind): take a FuncRequest as arg, adjust
2677         (read): adjust
2678         (lookup): adjust
2679         (defkey): change to take a FuncRequest as arg, adjust
2680         (findbinding): take a FuncRequest as arg, adjust.
2681
2682         * funcrequest.h (operator=): added
2683
2684         * funcrequest.C (FuncRequest): default kb_action changed from
2685         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2686
2687         * buffer.C (dispatch): simplify
2688         (dispatch): adjust to take a FuncRequest as arg, adjust
2689
2690         * boost.C (assertion_failed): change assertion message slightly
2691
2692         * ToolbarBackend.C (read): simplify
2693
2694         * MenuBackend.C (binding): adjust call to findbinding, add a
2695         message if no binding is found.
2696         (read): simplify
2697         (expandToc): correct by adding a empty FuncRequest
2698
2699         * LyXAction.C: include <boost/assert.hpp>
2700         (isPseudoAction): delete function
2701         (LookupFunc): change name to...
2702         (lookupFunc): this. change return type to FuncRequest.
2703         (getActionName): take kb_action as arg, simplify
2704         (funcHasFlag): add an assert, simplify.
2705
2706 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2707
2708         * toc.C (action): return a FuncRequest, simplify
2709
2710         * lyxfunc.C (processKeySym): adjust
2711         (getStatus): delete version that takes an int.
2712         (getStatus): adjust
2713         (dispatch): delete version that takes action as int
2714         (dispatch): adjust
2715         (sendDispatchMessage): simplify and adjust
2716
2717         * funcrequest.C (getArg): take unsigned int as arg
2718
2719         * ToolbarBackend.C (read): adjust
2720         (add): delete version that takes func as a string.
2721         (getIton): take a FuncRequest as arg
2722
2723         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2724         action.
2725
2726         * MenuBackend.C (MenuItem): add a new construct that only takes a
2727         Kind, simplify the constructor use for submenus.
2728         (add): adjust
2729         (expandLastfiles): adjust
2730         (expandDocuments): adjust
2731         (expandFormats): adjust
2732         (expandFloatListInsert): adjust
2733         (expandFloatInsert): adjust
2734         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2735
2736         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2737         Remove class variables lyx_pseudo_map and lyx_arg_map
2738
2739         * LyXAction.C (searchActionArg): delete function
2740         (getPseudoAction): delete function
2741         (retrieveActionArg): delete function
2742         (LookupFunc): make it return kb_action, simplify.
2743         (getActionName): simplify
2744
2745         * factory.C (createInset): fix new bug
2746
2747 2003-09-19  Angus Leeming  <leeming@lyx.org>
2748
2749         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2750         masterFilename_ parameter in the include inset.
2751
2752         * factory.C (createInset): changes due to the changes to InsetInclude.
2753
2754 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2755
2756         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2757
2758 2003-09-18  Angus Leeming  <leeming@lyx.org>
2759
2760         * buffer.C:
2761         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2762         Inset::fillWithBibKeys.
2763         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2764
2765 2003-09-18  Angus Leeming  <leeming@lyx.org>
2766
2767         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2768         variables.
2769         (ctor): pass and store a 'Buffer const &'
2770         (buffer): new member function.
2771
2772         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2773         '*this' to the LaTeXFeatures ctor.
2774
2775 2003-09-18  Angus Leeming  <leeming@lyx.org>
2776
2777         * LColor.h:
2778         * lyxfont.C:
2779         * lyxfont.h:
2780         * lyxtext.h:
2781         * text.C: rename EnumLColor as LColor_color.
2782
2783 2003-09-18  Angus Leeming  <leeming@lyx.org>
2784
2785         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2786         remove #include "insets/insetbase.h" from cursor.h.
2787
2788 2003-09-18  Angus Leeming  <leeming@lyx.org>
2789
2790         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2791         InsetOld_code to remove #include "inset.h".
2792
2793         * iterators.C: add #include "insets/inset.h"
2794
2795 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2796
2797         * BufferView.C: remove more locking stuff that apparently doesn't
2798         do anything sensible.
2799
2800 2003-09-16  André Pönitz  <poenitz@gmx.net>
2801
2802         * paragraph.[Ch]:
2803         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2804           performance boost.
2805
2806 2003-09-16  Angus Leeming  <leeming@lyx.org>
2807
2808         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2809
2810         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2811         arg/return type.
2812
2813         * paragraph.h: remove #include "lyxfont.h". Forward declare
2814         LyXFont_size.
2815
2816 2003-09-16  Angus Leeming  <leeming@lyx.org>
2817
2818         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2819         of support/textutils.h.
2820         (isWord): move the contents of support/textutils.h's IsWordChar here.
2821
2822         * buffer.C:
2823         * lyxfind.C:
2824         * rowpainter.C:
2825         * text.C:
2826         * text2.C: add #include "paragraph.h".
2827
2828         * rowpainter.C:
2829         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2830
2831 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * main.C:
2834         * lyx_main.C:
2835         * lyx_cb.C:
2836         * buffer.C:
2837         * LaTeX.C: use namespace alias for lyx::support::os
2838
2839 2003-09-16  Angus Leeming  <leeming@lyx.org>
2840
2841         * bufferparams.C:
2842         * bufferview_funcs.C:
2843         * factory.C:
2844         * lyxfunc.C:
2845         * paragraph_pimpl.C:
2846         * rowpainter.C:
2847         * text.C: add #include "LColor.h".
2848
2849 2003-09-16  Angus Leeming  <leeming@lyx.org>
2850
2851         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2852         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2853         return LyXFont &.
2854         Store the FontBits::color variable as an int rather than as an
2855         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2856         file.
2857
2858         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2859         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2860         string calls together.
2861
2862         * lyxrc.C: add #include "LColor.h".
2863
2864 2003-09-15  Angus Leeming  <leeming@lyx.org>
2865
2866         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2867         a cow_ptr.
2868
2869 2003-09-15  Angus Leeming  <leeming@lyx.org>
2870
2871         * LColor.h: add an EnumLColor wrapper for LColor::color.
2872
2873         * lyxfont.[Ch] (color, setColor, realColor):
2874         * lyxtext.h, text.C (backgroundColor):
2875         pass EnumLColor args to/from the functions, rather than LColor::color
2876         ones.
2877
2878         * lyxfont.h:
2879         * lyxtext.h: forward declare EnumLColor.
2880
2881         * lyx_main.C: add #include "LColor.h".
2882
2883 2003-09-15  Angus Leeming  <leeming@lyx.org>
2884
2885         * .cvsignore: add lyx-gtk.
2886
2887 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * Chktex.C
2890         * LaTeX.C
2891         * LaTeXFeatures.C
2892         * ParagraphParameters.C
2893         * Spacing.C
2894         * buffer.C
2895         * bufferparams.C
2896         * bufferview_funcs.C
2897         * chset.C
2898         * counters.C
2899         * funcrequest.C
2900         * lyxfont.C
2901         * lyxgluelength.C
2902         * lyxlength.C
2903         * paragraph.C
2904         * paragraph_funcs.C
2905         * text3.C
2906         * vc-backend.C: remove usage of STRCONV
2907
2908 2003-09-15  Angus Leeming  <leeming@lyx.org>
2909
2910         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2911         explicitly define the color passed to the painter.
2912
2913 2003-09-15  Angus Leeming  <leeming@lyx.org>
2914
2915         * bufferparams.C (BufferParams): reorder member initializers to avoid
2916         compiler warning.
2917
2918 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2921         * text.C (updateRowPositions): remove an unusual nop
2922
2923 2003-09-12  André Pönitz  <poenitz@gmx.net>
2924
2925         * BufferView_pimpl.C:
2926         * Bullet.C:
2927         * layout.h:
2928         * lyxfunc.C:
2929         * lyxlayout.[Ch]:
2930         * lyxtextclass.C:
2931         * rowpainter.C:
2932         * text.C:
2933         * text2.C:
2934         * Counters.[Ch]: finish the 'automatic counters' job
2935
2936 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2937
2938         * aspell.C: include <boost/assert.cpp> (compile fix)
2939
2940 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2941
2942         * boost.C (assertion_failed): use lyx::support::abort instead of
2943         assert.
2944
2945 2003-09-10  Angus Leeming  <leeming@lyx.org>
2946
2947         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2948         with their _fwd progeny.
2949
2950 2003-09-09  Angus Leeming  <leeming@lyx.org>
2951
2952         134 files throughtout the source tree: replace 'using namespace abc;'
2953         directives with the appropriate 'using abc::xyz;' declarations.
2954
2955 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2956
2957         * boost.C (emergencyCleanup): moved here from LAssert.c
2958         (assertion_failed): new function, called by BOOST_ASSERT
2959
2960         * several files: change Assert to BOOST_ASSERT
2961
2962 2003-09-09  Angus Leeming  <leeming@lyx.org>
2963
2964         * buffer.[Ch]: Add an Impl class and move Buffer's member
2965         variables into it. As a result move several header files out of
2966         buffer.h.
2967
2968         Add header files to lots of .C files all over the tree as a result.
2969
2970 2003-09-09  Angus Leeming  <leeming@lyx.org>
2971
2972         * buffer.[Ch]: make Buffer's member variables private. Add
2973         accessor functions.
2974
2975         Lots of changes all over the tree as a result.
2976
2977 2003-09-08  Angus Leeming  <leeming@lyx.org>
2978
2979         * graph.C: #include <config.h>.
2980
2981 2003-09-08  Angus Leeming  <leeming@lyx.org>
2982
2983         * BranchList.C:
2984         * BufferView.C:
2985         * BufferView_pimpl.C:
2986         * CutAndPaste.C:
2987         * DepTable.C:
2988         * LaTeX.C:
2989         * LaTeXFeatures.C:
2990         * LyXAction.C:
2991         * MenuBackend.C:
2992         * TextCache.C:
2993         * aspell.C:
2994         * buffer.C:
2995         * bufferlist.C:
2996         * changes.C:
2997         * chset.C:
2998         * converter.C:
2999         * counters.C:
3000         * debug.C:
3001         * graph.C:
3002         * ispell.C:
3003         * lyx_cb.C:
3004         * lyxfind.C:
3005         * lyxfunc.C:
3006         * lyxlex_pimpl.C:
3007         * lyxrc.C:
3008         * lyxrow.C:
3009         * paragraph.C:
3010         * rowpainter.C:
3011         * texrow.C:
3012         * text.C:
3013         * text2.C:
3014         * toc.C: remove redundant using directives.
3015
3016 2003-09-07  Angus Leeming  <leeming@lyx.org>
3017
3018         * LaTeXFeatures.h: remove #include "support/types.h".
3019         * ToolbarBackend.h: remove #include <algorithm>.
3020         * changes.h: remove #include <ctime>.
3021         * debug.h: remove #include <iosfwd>.
3022         * graph.h: remove #include "support/std_string.h".
3023         * lyx_main.h: remove #include <csignal>.
3024         * lyxlex_pimpl.h: remove #include <fstream>.
3025         * sgml.h: remove #include <algorithm>, <utility>.
3026         * toc.h: remove #include "support/std_ostream.h".
3027         Add #include <iosfwd>.
3028
3029 2003-09-07  Angus Leeming  <leeming@lyx.org>
3030
3031         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3032
3033         * converter.h: forward declare LatexRunParams.
3034         * encoding.h: remove #include "lyxrc.h".
3035         * lyxtext.h: remove #include "LColor.h".
3036         * lyxtextclass.h: remove #include "support/types.h".
3037         * trans.h: remove #include "tex-accent.h".
3038         * trans_mgr.h: remove #include "tex-accent.h".
3039         * insets/inset.h: remove #include "support/types.h", <vector>.
3040         * insets/insetcollapsable.h: remove #include "LColor.h".
3041         * insets/insetinclude.h: remove #include "dimension.h".
3042         * insets/insetlatexaccent.h: remove #include "dimension.h".
3043         * insets/insetoptarg.h:: remove #include "insettext.h".
3044         * insets/insettext.h: remove #include "dimension.h",
3045         <boost/shared_ptr.hpp>
3046
3047         * insets/renderers.h: add #include "dimension.h".
3048         * insets/updatableinset.h: add #include "support/types.h".
3049
3050         * many .C files: Associated changes.
3051
3052 2003-09-06  Angus Leeming  <leeming@lyx.org>
3053
3054         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3055         one, inside testInvariant.
3056
3057         * PrinterParams.C: new file.
3058         * PrinterParams.[Ch]: move the function bodies out of line.
3059
3060 2003-09-06  Angus Leeming  <leeming@lyx.org>
3061
3062         * ParagraphParameters.h: forward declare ParameterStruct rather than
3063         including its header file.
3064         (depth): moved out-of-line.
3065
3066 2003-09-06  Angus Leeming  <leeming@lyx.org>
3067
3068         * BufferView_pimpl.h:
3069         * kbmap.h:
3070         * kbsequence.h:
3071         * lyxfunc.h: forward declare LyXKeySym rather than
3072         #include "frontends/LyXKeySym.h".
3073
3074         * BufferView_pimpl.C:
3075         * kbmap.C:
3076         * kbsequence.C:
3077         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3087         As a result, can remove the #include "insets/inset.h" from BufferView.h
3088
3089 2003-09-06  Angus Leeming  <leeming@lyx.org>
3090
3091         * buffer_funcs.C:
3092         * buffer.h:
3093         * bufferlist.C:
3094         * BufferView.C:
3095         * bufferview_funcs.C:
3096         * BufferView_pimpl.C:
3097         * CutAndPaste.C:
3098         * lyx_cb.C:
3099         * lyxfunc.C:
3100         * paragraph.h:
3101         * ParagraphParameters.C:
3102         * tabular.C:
3103         * text3.C:
3104         * toc.C:
3105         * undo_funcs.C:
3106         * frontends/controllers/ControlDocument.C:
3107         * insets/insetcaption.C: rearrange the #includes into some sort of
3108         coherent order.
3109
3110         * buffer.h: remove #includes ErrorList.h, undo.h
3111
3112 2003-09-06  Angus Leeming  <leeming@lyx.org>
3113
3114         * support/types.h: add a 'depth_type' typedef, used to store the
3115         nesting depth of a paragraph.
3116
3117         * paragraph.h:
3118         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3119         defining explicitly.
3120
3121         * buffer.h:
3122         * paragraph_funcs.h:
3123         * ParagraphParameters.h:
3124         * sgml.h: use lyx::depth_type rather than Paragraph or
3125         ParameterStruct's depth_type.
3126
3127         * buffer.h
3128         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3129
3130         * BufferView.C:
3131         * BufferView_pimpl.C:
3132         * CutAndPaste.C:
3133         * ParagraphParameters.C:
3134         * buffer_funcs.C:
3135         * bufferlist.C:
3136         * bufferview_funcs.C:
3137         * lyx_cb.C:
3138         * lyxfunc.C:
3139         * tabular.C:
3140         * text3.C:
3141         * toc.C:
3142         * undo_funcs.C:
3143         * frontends/LyXView.C:
3144         * frontends/controllers/ControlDocument.C:
3145         * frontends/controllers/ControlErrorList.C:
3146         * insets/insetbibitem.C:
3147         * insets/insetbranch.C:
3148         * insets/insetcaption.C:
3149         * insets/insetcollapsable.C:
3150         * insets/insetenv.C:
3151         * insets/insetert.C:
3152         * insets/insetfloat.C:
3153         * insets/insetfoot.C:
3154         * insets/insetfootlike.C:
3155         * insets/insetnewline.C:
3156         * insets/insetquotes.C:
3157         * insets/insettabular.C:
3158         * insets/insettext.C:
3159         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3160
3161         * frontends/controllers/ControlChanges.C: #include "changes.h".
3162
3163 2003-09-06  Angus Leeming  <leeming@lyx.org>
3164
3165         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3166         than #including paragraph.h.
3167
3168         * ParagraphList.h:
3169         * RowList.h: deleted. Superfluous.
3170
3171         * CutAndPaste.h:
3172         * iterators.h:
3173         * lyxcursor.h:
3174         * lyxtext.h:
3175         * text_funcs.h:
3176         * undo.h:
3177         * undo_funcs.h:
3178         * insets/inset.h:
3179         * insets/insettext.h: use ParagraphList_fwd.h rather than
3180         ParagraphList.h.
3181
3182         * paragraph.h: don't forward declare ParagraphList.
3183
3184         * buffer.h:
3185         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3186         rather than ParagraphList.h. paragraph.h is still needed for the
3187         Paragraph::depth_type parameters.
3188
3189         * textcursor.h: enable it to compile stand-alone in light of the
3190         above changes.
3191
3192         * bufferview_funcs.C:
3193         * iterators.C:
3194         * lyxfunc.C:
3195         * lyxrow_funcs.C:
3196         * paragraph.C:
3197         * rowpainter.C:
3198         * text.C:
3199         * text2.C:
3200         * text3.C:
3201         * text_funcs.C:
3202         * textcursor.C:
3203         * undo.C:
3204         * frontends/controllers/ControlParagraph.C:
3205         * frontends/controllers/ControlTabular.C:
3206         * insets/insetmarginal.C:
3207         * insets/insetminipage.C:
3208         * insets/insetnote.C:
3209         * insets/insetoptarg.C: add header files needed to compile again.
3210
3211 2003-09-06  Angus Leeming  <leeming@lyx.org>
3212
3213         * RowList_fwd.h: new file, forward-declaring Row rather than
3214         #including lyxrow.h.
3215
3216         * lyxrow_funcs.h:
3217         * lyxtext.h:
3218         * paragraph.h:
3219         * insets/insettext.h: use it instead of RowList.h
3220
3221         * bufferview_funcs.C:
3222         * lyxfunc.C:
3223         * lyxrow_funcs.C:
3224         * paragraph.C:
3225         * rowpainter.C:
3226         * text.C:
3227         * text2.C:
3228         * text3.C: #include "RowList.h".
3229
3230 2003-09-05  Angus Leeming  <leeming@lyx.org>
3231
3232         * factory.C (createInset):
3233         * vspace.C (c-tor): replace sscanf call with an istringstream.
3234         * ispell.C: re-add missing HP/UX headers.
3235         * lyxserver.C: re-add missing  os2 headers.
3236
3237 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3238
3239         * BranchList.C:
3240         * graph.C:
3241         * ispell.C:
3242         * lastfiles.C:
3243         * lyx_cb.C:
3244         * lyxserver.C:
3245         * texrow.C:
3246         * text3.C: re-add missing system headers, needed for 2.95.2.
3247
3248 2003-09-05  Angus Leeming  <leeming@lyx.org>
3249
3250         Changes most place everywhere due to the removal of using directives
3251         from support/std_sstream.h.
3252
3253 2003-09-05  Angus Leeming  <leeming@lyx.org>
3254
3255         Replace LString.h with support/std_string.h,
3256         Lsstream.h with support/std_sstream.h,
3257         support/LIstream.h with support/std_istream.h,
3258         support/LOstream.h with support/std_ostream.h.
3259
3260         Changes resulting throughout the tree.
3261
3262 2003-09-05  Angus Leeming  <leeming@lyx.org>
3263
3264         * sgml.h: ensure that the header file can be compiled stand-alone.
3265         * *.C: strip out redundant #includes. (320 in total.)
3266
3267 2003-09-04  Angus Leeming  <leeming@lyx.org>
3268
3269         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3270         here (from getPackages).
3271
3272         * debug.[Ch]: add a new EXTERNAL tag.
3273
3274 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3275
3276         * text2.C (cursorEnd): simplify
3277         (setCursor): adjust
3278         (getColumnNearX): adjust
3279
3280         * text.C (computeBidiTables): adjust
3281         (fill): adjust
3282
3283         * rowpainter.C (paintChars): adjust
3284         (paintSelection): adjust
3285         (paintChangeBar): adjust
3286         (paintText): adjust
3287
3288         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3289         lastPos instead.
3290         (numberOfSeparators): adjust
3291
3292 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3293
3294         * LyXAction.C:
3295         * box.[Ch]:
3296         * lfuns.h:
3297         * lyxfunc.C:
3298         * text3.C: Restricts the mouse click functionality
3299         of insets like bibtex, include, toc and floatlist to the visible
3300         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3301         up the dialogs. Cursor has to be in front of the inset (i.e.
3302         start of row) for this to function.
3303
3304 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3305
3306         * bufferview_funcs.C (currentState): output row information
3307
3308 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3309
3310         * bufferview_funcs.C (currentState): output paragraph position
3311
3312 2003-09-04  Angus Leeming  <leeming@lyx.org>
3313
3314         * FloatList.h: move out #include "Floating.h".
3315         * LaTeX.h: move out #include "DepTable.h".
3316         * LyXAction.h: move out #include "funcrequest.h".
3317         * buffer.h: move out #include "author.h", "iterators.h".
3318         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3319         * lyx_main.h: move out #include "errorlist.h".
3320         * lyxfunc.h: move out #include "FuncStatus.h".
3321         * lyxtext: move out #include "lyxcursor.h".
3322         * paragraph_pimpl.h: move out #include "counters.h".
3323
3324 2003-09-03  Angus Leeming  <leeming@lyx.org>
3325
3326         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3327         preamble_snippets list, enabling us to add snippets to the preamble
3328         only if the snippet was not there already.
3329
3330 2003-09-04  Angus Leeming  <leeming@lyx.org>
3331
3332         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3333
3334 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3337         update
3338
3339 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3340
3341         * BranchList.C: point fix, earlier forgotten
3342
3343 2003-09-02  Angus Leeming  <leeming@lyx.org>
3344
3345         * box.C (contains): renamed from 'contained' after a fantastic
3346         amount of hot air.
3347
3348 2003-09-02  John Levon  <levon@movementarian.org>
3349
3350         * BufferView.C:
3351         * lyxcursor.h:
3352         * lyxcursor.C:
3353         * lyxfunc.C:
3354         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3355
3356 2003-09-02  John Levon  <levon@movementarian.org>
3357
3358         * text2.C: simplification of cursorEnd(), including partial
3359         fix for bug 1376
3360
3361 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * buffer.C (readFile): add a space
3364
3365 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3366
3367         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3368
3369 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * buffer.C (readFile): new function, take a filename and a
3372         ParagraphList::iterator
3373         (readFile): adjust
3374         (readFile): adjust, make it private. don't use setStream, make
3375         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3376         always contain the filename.
3377
3378         * BufferView.C (insertLyXFile): simplify and make it work for
3379         gzipped files.
3380
3381 2003-08-30  John Levon  <levon@movementarian.org>
3382
3383         * Makefile.am: fix dist (from Kayvan)
3384
3385 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * most files: change to use const Buffer refs
3388
3389 2003-08-27  André Pönitz  <poenitz@gmx.net>
3390
3391         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3392         on top of ownerPar().
3393
3394 2003-08-27  John Levon  <levon@movementarian.org>
3395
3396         * funcrequest.C: properly initialise POD members
3397
3398 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * lyxtext.h (top_y): move top_y from here
3401         * text.C:
3402         * text2.C:
3403         * text3.C:
3404         * BufferView.[Ch]:
3405         * BufferView_pimpl.[Ch]: to here
3406         * frontends/screen.C:
3407         * insets/insettabular.C:
3408         * insets/insettext.C: adjust
3409         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3410
3411 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3412
3413         * BufferView.[Ch]:
3414         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3415
3416 2003-08-26  André Pönitz  <poenitz@gmx.net>
3417
3418         * paragraph_func.[Ch] (outerPar): new function
3419
3420         * paragraph.C:
3421         * paragraph_funcs.C:
3422         * paragraph_funcs.h:
3423         * paragraph_pimpl.C:
3424         * text2.C: remove Inset::par_owner
3425
3426 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3427
3428         * lyxrow_funcs.C:
3429         * lyxtext.h:
3430         * text.C:
3431         * text2.C: eliminates the needFullRow/display() stuff
3432         altogether, putting the logic in metrics/draw in the insets.
3433
3434 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * text2.C (redoParagraphInternal, redoParagraphs):
3437         * text.C (redoParagraph): add a call to updateRowPositions at the
3438         end of each 'metrics-like' call. Remove all others.
3439         (getRow): remove the 'y-computing' version.
3440         (getRowNearY): do not compute nor return the real y. Solve the
3441         'y < 0' problem and simplify.
3442
3443 2003-08-22  Angus Leeming  <leeming@lyx.org>
3444
3445         * *.[Ch]: clean-up of licence and author blurbs.
3446         Also move config.h out of a few .h files and into a few .C files.
3447
3448 2003-08-22  André Pönitz  <poenitz@gmx.net>
3449
3450         * lyxrow.[Ch]: add x_ and *fill_ members
3451
3452         * lyxtext.h:
3453         * text.C:
3454         * rowpainter.C:
3455         * text2.C: adjust/remove prepareToPrint() calls
3456
3457 2003-08-22  André Pönitz  <poenitz@gmx.net>
3458
3459         * lyxrow.[Ch]: add  end_ member
3460
3461         * lyxrow_funcs.C: use LyXRow::end_
3462
3463         * lyxtext.h (singleWidth): add LyXFont parameter
3464
3465         * rowpainter.C:
3466         * text2.C: adjust LyXText::singleWidth() calls
3467
3468         * text.C (redoParagraph): simplify row breaking logic
3469
3470
3471 2003-08-19  André Pönitz  <poenitz@gmx.net>
3472
3473         * funcrequest.C: initialize button_ member
3474
3475         * text3.C:
3476         * rowpainter.[Ch]: interface consolidation
3477
3478 2003-08-18  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView.C:
3481         * BufferView_pimpl.C:
3482         * lyxfind.C:
3483         * paragraph_funcs.C:
3484         * rowpainter.C:
3485         * text3.C: remove LyXScreen::draw() and fitCursor calls
3486
3487         * BranchList.h: remove spurious semicolons
3488
3489         * MenuBackend.C: fix branchlist related crash
3490
3491 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3492
3493         * BranchList.[Ch]:
3494         * InsetList.[Ch]:
3495         * LColor.[Ch]:
3496         * LyXAction.C:
3497         * Makefile.am:
3498         * MenuBackend.[Ch]:
3499         * bufferparams.[Ch]:
3500         * factory.C:
3501         * lfuns.h:
3502         * lyxfunc.C:
3503         * text3.C: implements the 'branch inset'
3504         idea. This allows the output of various versions of a document
3505         from a single source version, selectively outputing or suppressing
3506         output of parts of the text.
3507         This implementation contains a 'branch list editor' in a separate
3508         tab of the document settings dialog. Branches are user definable
3509         and have a "display colour" to distinguish them on-screen.
3510
3511         ColorHandler was somewhat cleaned up.
3512         (1) make possible a dynamically growing LColor list by allowing
3513         the graphic context cache to grow along (vector);
3514         (2) eliminate an IMHO unnecessary step in colour allocation.
3515
3516 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3517
3518         * BufferView_pimpl.C: compile fix
3519
3520 2003-08-15  André Pönitz  <poenitz@gmx.net>
3521
3522         * rowpainter.C: remove extra metrics calls
3523
3524         * lyxtext.h: merge the two constructors into a single one,
3525           pass reference to owner's par list
3526
3527         * BufferView_pimpl.C:
3528         * text.C:
3529         * text2.C: adjust
3530
3531 2003-08-15  André Pönitz  <poenitz@gmx.net>
3532
3533         * lyxrow_funcs.[Ch]:
3534         * lyxtext.h:
3535         * paragraph.h:
3536         * paragraph_funcs.C:
3537         * rowpainter.C:
3538         * text.C:
3539         * text2.C:
3540         * text3.C:
3541         * text_funcs.C: split LyXText::rowlist_ into individual
3542         Paragraph::rows_ chunks
3543
3544         * BufferView.[Ch]:
3545         * BufferView_pimpl.[Ch]:
3546         * lyxfind.C:
3547         * lyxtext.h:
3548         * text3.C: remove toggleSelection()
3549
3550 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3551
3552         * bufferlist.C: beautify two alerts (shorter text of buttons)
3553         * buffer.C: Remove redundant ' ' from message
3554         * tabular.h:
3555         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3556         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3557         rename VALIGN_CENTER to VALIGN_MIDDLE
3558
3559 2003-08-11  André Pönitz  <poenitz@gmx.net>
3560
3561         * lyxtext.h (getPar):
3562         * text.C: new function
3563
3564 2003-08-11  André Pönitz  <poenitz@gmx.net>
3565
3566         * Makefile.am:
3567         * tracer.[Ch]: remove unneeded files
3568
3569         * InsetList.[Ch]: remove resizeInsetsLyXText()
3570
3571         * lyxtext.h:
3572         * text.C:
3573         * text2.C:
3574         * text3.C: merge insertParagraphs() and appendParagraph()
3575         remove breakAgain(), update()
3576
3577         * BufferView_pimpl.[Ch]:
3578         * bufferview_funcs.[Ch]:
3579         * lyxfunc.C:
3580         * paragraph.[Ch]:
3581         * rowpainter.C:
3582         * tabular.C: adjust after text & InsetList changes.
3583
3584 2003-08-08  André Pönitz  <poenitz@gmx.net>
3585
3586         * text.C (insertChar, backspace): replace rowlist fiddling
3587         with rebreak of full par
3588
3589         * lyxtext.h:
3590         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3591         checkParagraph, updateInset): removed
3592
3593 2003-08-07  André Pönitz  <poenitz@gmx.net>
3594
3595         * paragraph.C:
3596         * text3.C: merge some LFUN handlers, remove dead code
3597
3598 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3599
3600         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3601
3602 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * text2.C (DEPM): fix part of bug 1255 and 1256
3605
3606 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3607
3608         * BufferView_pimpl.C (workAreaDispatch): change to use
3609         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3610         that are no mouse related.
3611
3612 2003-08-05  André Pönitz  <poenitz@gmx.net>
3613
3614         * BufferView.[Ch]:
3615         * BufferView_pimpl.[Ch]:
3616         * bufferview_funcs.C:
3617         * text2.C:
3618         * text3.C: rip out "deep update"
3619
3620         * textcursor.[Ch] (last_sel_cursor): remove unused member
3621
3622 2003-08-04  André Pönitz  <poenitz@gmx.net>
3623
3624         * BufferView.[Ch]:
3625         * BufferView_pimpl.[Ch]:
3626         * ParagraphParameters.C:
3627         * bufferview_funcs.C:
3628         * lyx_cb.C:
3629         * lyxfind.C:
3630         * lyxfunc.C:
3631         * text.C:
3632         * text2.C:
3633         * text3.C: replace "complicated" BufferView::update(...) calls with
3634         simpler ones.
3635
3636         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3637
3638 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3639
3640         * Makefile.am (lyx_SOURCES): add paper.h
3641
3642 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3643
3644         * Makefile.am: move things around so that both lyx-qt and
3645         lyx-xforms can be built (according to --with-frontend). Then lyx
3646         is a symbolic link to lyx-[firstfrontend]
3647
3648 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3649
3650         * Always use std::endl with lyxerr
3651
3652 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3653
3654         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3655
3656 2003-08-01  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.[Ch]:
3659         * BufferView_pimpl.[Ch]:
3660         * lyxfunc.C:
3661         * text3.C: merge BufferView::repaint() and BufferView::update()
3662
3663 2003-08-01  José Matos  <jamatos@lyx.org>
3664
3665         * buffer.[Ch]: file_format is no longer a buffer data element.
3666
3667 2003-08-01  André Pönitz  <poenitz@gmx.net>
3668
3669         * BufferView.C:
3670         * lyxtext.h:
3671         * text.C:
3672         * text2.C: make redoParagraph more independent of current cursor
3673
3674         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3675         * text.C:
3676         * text2.C: remove unneeded members
3677
3678 2003-07-30  André Pönitz  <poenitz@gmx.net>
3679
3680         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3681
3682         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3683           create a single function...
3684
3685         * paragraph_funcs.C (moveItem): ... here.
3686
3687         * text.C:
3688           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3689
3690 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3691
3692         * LColor.[Ch]: Add comment and greyedout logical colors.
3693
3694 2003-07-30  André Pönitz  <poenitz@gmx.net>
3695
3696         * tabular.C: don't use Assert too heavily. This crashes where it
3697           shouldn't
3698
3699 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3700
3701         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3702         is disabled (bug 1232)
3703
3704 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3705
3706         * factory.C: limited 'arg' scope
3707
3708 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3709
3710         * factory.C: fixed Note submenu issues
3711
3712 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3713
3714         * factory.C: submenu for Note/Comment/Greyedout
3715
3716 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3717
3718         * lyx_main.C (LyX):
3719         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3720
3721 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3722
3723         * LaTeXFeatures.C:
3724         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3725         greyedout. Patch provided by Jürgen Spitzmüller.
3726
3727 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3728
3729         * kbmap.C (read): fix error message when reading bind files
3730
3731 2003-07-29  Angus Leeming  <leeming@lyx.org>
3732
3733         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3734         certainly does not do what it purports to do. I am doing it, and
3735         us, a favour by killing it.
3736
3737 2003-07-28  José Matos  <jamatos@lyx.org>
3738
3739         * buffer.C (readBody, do_writeFile):
3740         * paragraph.C(readParagraph): \end_document replaces \the_end.
3741
3742 2003-07-29  André Pönitz  <poenitz@gmx.net>
3743
3744         * BufferView.[Ch]:
3745         * BufferView_pimpl.[Ch]:
3746         * lyxfunc.C:
3747         * text2.C:
3748         * text3.C:
3749         * textcursor.[Ch]: remove toggleToggle & Co
3750
3751 2003-07-28  José Matos  <jamatos@fep.up.pt>
3752
3753         * buffer.C (readParagraph):
3754         * params_func (readParToken, readParagraph):
3755         * paragraph.C (write): \layout -> \begin_layout.
3756
3757 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * lyxlex_pimpl.C (setFile): clean up slightly.
3760
3761         * bufferparams.h: add compressed var
3762
3763         * buffer_funcs.C (readFile): adjust for LyXLex change
3764         (newFile): ditto + simplify
3765
3766         * buffer.C (writeFile): handle writing of compressed files
3767
3768         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3769         Check if the file is compressed and set a bufferparm if so.
3770
3771         * Makefile.am (lyx_LDADD): remove explicit -lz
3772
3773 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3774
3775         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3776         makeDocBookFile): put the real LyX version in the first line of
3777         the file
3778
3779         * version.h:
3780         * version.C.in: remove lyx_docversion
3781
3782         * tabular.C (write_attribute): add a template-based version to
3783         write enums properly
3784
3785 2003-07-28  André Pönitz  <poenitz@gmx.net>
3786
3787         * lyxtext.h:
3788         * text.C:
3789         * text2.C:
3790         * text3.C: use doubles again for x-coordinates. They are needed.
3791
3792 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * messages.C (getLocaleDir): use lyx_localedir()
3795
3796         * lyxlex_pimpl.C (setFile): compress stuff
3797
3798         * buffer.C (writeFile): add some compression stuff
3799         (do_writeFile): new func, dont call expliti close... will this
3800         breake anything?
3801
3802         * Makefile.am (lyx_LDADD): add -lz
3803
3804 2003-07-28  José Matos  <jamatos@fep.up.pt>
3805
3806         * buffer.C: increment file format.
3807         * paragraph_funcs (readParagraph, readParToken):
3808         * paragraph.C (readParagraph): add \end_layout.
3809
3810 2003-07-27  Angus Leeming  <leeming@lyx.org>
3811
3812         * Makefile.am: remove special casing for configure-time setting of
3813         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3814
3815         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3816         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3817
3818 2003-07-26  André Pönitz  <poenitz@gmx.net>
3819
3820         * paragraph_func.[Ch]:
3821         * paragraph.C (realizeFont): inline it whereever it is used
3822
3823         * rowpainter.C:
3824         * text.C:
3825         * text2.C:
3826         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3827
3828
3829 2003-07-26  André Pönitz  <poenitz@gmx.net>
3830
3831         *       lyxtext.h:
3832         * text.C:
3833         * text2.C: get rid of LyXText::need_break_row
3834
3835 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3836
3837         * toc.[Ch]: put namespace toc inside namespace lyx
3838
3839         * MenuBackend.C (expandToc2): adjust for lyx::toc
3840         (expandToc): ditto
3841
3842         * lyxfunc.C (dispatch): adjust for lyx::find
3843
3844         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3845         lyx::find instead. Reorganize a bit.
3846         (LyXReplace): rename to replace
3847         (LyXFind): rename to find
3848
3849         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3850         (dispatch): ditto
3851
3852 2003-07-26  André Pönitz  <poenitz@gmx.net>
3853
3854         * text.C (setHeightOfRow): restrict scope of temporary variable
3855
3856         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3857           code (never has been used?)
3858
3859 2003-07-27  Asger Alstrup  <alstrup@local>
3860
3861         * text.C (fill): Optimise algorithm to exploit that we can reuse
3862         the LyXFont for many characters.
3863         (setHeightOfRow): Same thing.
3864         (rowBreakPoint): Same thing.
3865
3866 2003-07-26  Asger Alstrup  <alstrup@local>
3867
3868         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3869
3870         * text.C (singleWidth): Spurious font copying in hot-spot
3871         singleWidth avoided. Reorder tests for arabic for efficiency.
3872
3873         * text.C (fill): handle empty paragraphs better.
3874
3875 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3876
3877         * ispell.C:
3878         * encoding.h: add includes
3879
3880         * lyxrc.C: remove reading of bind files
3881
3882         * lyx_main.C (init): setup bindings and menus only if we have a
3883         gui.
3884
3885         * kbmap.C (read): new method. Do the actual reading of bind
3886         files.
3887
3888         * converter.C (dvipdfm_options):
3889         * bufferparams.C:
3890         * lyxrc.C (read):
3891         (output): adapt PAPER_* enums.
3892
3893         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3894
3895         * bufferparams.h: remove paper-related enums from there
3896
3897         * paper.h: New file. A trivial header file to hold paper-related
3898         enums. It should later expand to contain many paper-related
3899         horrors access.
3900
3901         * lyxrc.C: declare extern displayTranslator
3902
3903 2003-07-27  José Matos  <jamatos@fep.up.pt>
3904
3905         * tabular.[Ch] (linuxdoc): add support for tables and figures
3906         (linuxdoc).
3907
3908 2003-07-27  José Matos  <jamatos@fep.up.pt>
3909
3910         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3911         consistency in both functions.
3912         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3913
3914 2003-07-26  Asger Alstrup  <alstrup@local>
3915
3916         * rowpainter.C (paintRows): Change algorithm to work directly on
3917         the insets rather than asking every character in the document
3918         whether its an inset.
3919
3920 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3921
3922         * buffer.C (openFileWrite): factorize some code
3923
3924 2003-07-26  Angus Leeming  <leeming@lyx.org>
3925
3926         * lyx_cb.C:
3927         * lyx_main.[Ch]: replace occurances of system_tempdir with
3928         os::getTmpDir().
3929
3930 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * rename Inset to InsetOld
3933
3934 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3935
3936         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3937         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3938         which I think is a bit clearer. EDIT is gone, since it was
3939         premature optimisation, and broken for mathed anyway.
3940         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3941         with cursor positioning in insets as well (math insets still do not
3942         work, but that's a different story anyway.) It mysteriously
3943         crashes sometimes with undo in the first paragraph, but I'm fairly
3944         confident that this is a compiler bug.
3945
3946 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * paragraph.C (Paragraph): adjust for new clone return type
3949         (operator==): ditto
3950         (copyIntoMinibuffer): ditto
3951
3952 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3953
3954         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3955         by not having a special case, and always doing a full rebreak of
3956         the document after undo.
3957
3958 2003-07-23  Angus Leeming  <leeming@lyx.org>
3959
3960         * factory.C (createInset): InsetExternal::setParams now takes a
3961         Buffer const * arg.
3962
3963 2003-07-23  Angus Leeming  <leeming@lyx.org>
3964
3965         * factory.C (createInset): changed interface to the external and
3966         graphics mailers' string2params functions.
3967
3968 2003-07-23  Angus Leeming  <leeming@lyx.org>
3969
3970         * factory.C (createInset): pass a
3971         Buffer const * parameter to InsetExternalMailer's string2params.
3972
3973 2003-07-22  John Levon  <levon@movementarian.org>
3974
3975         * Thesaurus.h: include the right aiksaurus header
3976
3977 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3978
3979         * MenuBackend.C (expand): check menu shortcuts unconditionally
3980
3981 2003-07-21  Angus Leeming  <leeming@lyx.org>
3982
3983         * factory.C (createInset): pass a
3984         buffer_path parameter to InsetGraphicsMailer's string2params.
3985
3986 2003-07-21  Angus Leeming  <leeming@lyx.org>
3987
3988         * BufferView_pimpl.C (buffer):
3989         * buffer.C (d-tor):
3990         * lyx_main.C (LyX):
3991         * lyxfunc.C (dispatch):
3992         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3993         rather than the grfx shortcut.
3994
3995 2003-07-21  André Pönitz  <poenitz@gmx.net>
3996
3997         * rowpainter.C: remove unused variables
3998
3999         * tabular_funcs.C:
4000         * tabular_funcs.h: move to tabular.C
4001         * Makefile.am: adjust
4002
4003         * tabular.[Ch]: basic optical cleaning
4004
4005         * author.h: pass references, not values
4006
4007 2003-07-18  André Pönitz  <poenitz@gmx.net>
4008
4009         * lyxtext.h:
4010         * metricsinfo.C:
4011         * metricsinfo.h:
4012         * rowpainter.C:
4013         * text.C:
4014         * text2.C:
4015         * text3.C: two-phase drawing for InsetText and InsetTabular
4016         some float -> int changes.
4017
4018 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4019
4020         * lyx_main.C: fix the fix
4021
4022 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * lyx_main.C: fix a crash in batch mode if no files specified
4025         * converter.C: ws
4026
4027 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * format.[Ch] (papersize): moved to BufferParams
4030         * converter.[Ch] (dvips_options): moved to BufferParams
4031         (dvipdfm_options): moved to anon namespace
4032         * bufferparams.[Ch]: added above functions.
4033
4034 2003-07-17  André Pönitz  <poenitz@gmx.net>
4035
4036         * lyxtext.h:
4037         * rowpainter.C:
4038         * text2.C: don't call inset->update() anymore
4039
4040         * metricsinfo.[Ch]: add convenience constructor
4041
4042 2003-07-16  André Pönitz  <poenitz@gmx.net>
4043
4044         * lyxcursor.[Ch]:
4045         * lyxfunc.[Ch]:
4046         * text.C:
4047         * text2.C: replace the LyXCursor::irow_ member with
4048          on-demand computation of the value
4049
4050 2003-07-16  John Levon  <levon@movementarian.org>
4051
4052         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4053
4054 2003-07-15  André Pönitz  <poenitz@gmx.net>
4055
4056         * text.C:
4057         * text2.C: remove no more needed refresh_row
4058
4059 2003-07-15  André Pönitz  <poenitz@gmx.net>
4060
4061         * lyxtext.h:
4062         * rowpainter.C:
4063         * text2.C:
4064         * text3.C: refresh_status tristate -> need_update bool
4065
4066 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * lyxtext.h (init): remove reinit argument (act as if always true)
4069         * text2.C: adjust to that
4070
4071 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4072
4073         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4074         * text3.C: use it to delete selections in some cases
4075         (bugs 441, 673, 702, 954).
4076
4077 2003-07-14  André Pönitz  <poenitz@gmx.net>
4078
4079         * rowpainter.[Ch]: reduce interface
4080
4081 2003-07-14  André Pönitz  <poenitz@gmx.net>
4082
4083         * BufferView_pimpl.C:
4084         * text2.C: adjust after removing unused BufferView * argument
4085
4086 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4087
4088         * text2.C (init): fix a crash fired on resize
4089
4090 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * buffer.[Ch]: added new closing signal
4093         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4094         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4095         BufferView::Pimpl via the closing the signal
4096
4097 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4098
4099         * buffer.[Ch]: take out all bv-related from buffer
4100         * BufferView.C:
4101         * BufferView_pimpl.[Ch]: connect to new signals
4102         * CutAndPaste.C: removed useless asserts
4103         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4104         * lyxvc.[Ch]:
4105         * vc-backend.[Ch]:
4106         * lyxfunc.C: moved view-related funciontality from vc here
4107         * paragraph.C: removed outdated comments
4108         * text.C: ws
4109
4110 2003-07-10  André Pönitz  <poenitz@gmx.net>
4111
4112         * BufferView_pimpl.C:
4113         * tabular.h:
4114         * tabular_funcs.C:
4115         * text.C:
4116         * text2.C: remove InsetText::InnerCache, clean up consequences
4117
4118 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4119
4120         * ispell.C: fix two typos in error messages
4121
4122 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4123
4124         * Extend Note inset to other forms of annotation like Comment
4125         and Greyedout. Right button click gives dialog.
4126
4127         Files modified or added (+):
4128
4129         * insetnote.[Ch]
4130         * FormNote.[Ch]      +
4131         * ControlNote.[Ch]   +
4132         * form_note.fd       +
4133         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4134         frontends/controllers
4135         * xforms/Dialogs.C
4136         * factory.C
4137
4138 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4139
4140         * aspell.C: add missing namespace lyx::support
4141
4142 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * BufferView.[Ch] (newFile): Add
4145         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4146         * LaTeX.[Ch] (message): added this signal and use it
4147         * buffer.[Ch] (busy, message): added these signals and use them
4148         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4149         * converter.C:
4150         * exporter.C:
4151         * format.C:
4152         * importer.C: use buffer signals instead of direct bv calling
4153         * lyx_cb.[Ch] (ShowMessage): removed
4154         * lyx_main.C:
4155         * lyxfunc.C:
4156         * paragraph_funcs.C:
4157         * text2.C: use buffer signals
4158
4159 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * introduce namespace lyx::graphics
4162
4163 2003-07-02  André Pönitz  <poenitz@gmx.net>
4164
4165         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4166
4167 2003-07-01  André Pönitz  <poenitz@gmx.net>
4168
4169         * text.C:
4170         * text2.C:
4171         * text3.C:
4172         * text_funcs.[Ch]:
4173         * textcursor.h:
4174         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4175           text*.C to text_func.C
4176
4177 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * introduce namespace lyx::support
4180
4181 2003-06-30  André Pönitz  <poenitz@gmx.net>
4182
4183         * Chktex.C:
4184         * funcrequest.C:
4185         * lyxtext.h:
4186         * text.C: re-enable --with-included-string
4187
4188 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * textcursor.C: add <config.h>
4191
4192         * text.C (getWord): remove const from word_location arg
4193
4194         * lyxvc.C (getLogFile): fix const type order
4195
4196         * lyxtext.h: remove const from word_location arg, add arg name
4197
4198         * lyxlayout.h: currect type on labeltype.
4199
4200         * importer.C: correct \file
4201
4202         * converter.C (intToFormat): use std:: on ret val, ws changes
4203
4204         * bufferlist.h: correct \file
4205
4206         * buffer.C (makeLinuxDocFile): fix const type order
4207         (makeDocBookFile): ditto
4208         (fillWithBibKeys): use std:: on stdlib args.
4209
4210         * CutAndPaste.C: fix authors.
4211         (availableSelections): use std:: on return vector
4212
4213 2003-06-27  André Pönitz  <poenitz@gmx.net>
4214
4215         * BufferView_pimpl.C:
4216         * bufferview_funcs.C:
4217         * lyxcursor.C:
4218         * lyxcursor.h:
4219         * lyxfunc.C:
4220         * lyxtext.h:
4221         * rowpainter.C:
4222         * text.C:
4223         * text2.C:
4224         * text3.C: remove LyXCursor::row_ member
4225
4226         * lyxtext.h:
4227         * text.C: rename fullRebreak() to partialRebreak() and implement
4228           a fullRebreak() that really bereks fully
4229
4230         * textcursor.h: new struct for cursor-related data
4231
4232 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4233
4234         * lyx_main.C (LyX): get full path of document loaded on the
4235         command line
4236
4237 2003-06-26  André Pönitz  <poenitz@gmx.net>
4238
4239         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4240           remove unused/broken operator>,<,>=.
4241
4242         *       text.C: remove only use of broken operator<= in an Assert().
4243
4244 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4245
4246         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4247         moved errorlist_.clear to showErrorList
4248
4249 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4250
4251         * converter.C (scanLog, runLaTeX):
4252         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4253         move the bv->showErrorList call to the callers
4254         * lyxfunc.C: i.e. here...
4255         * text2.C: and here
4256         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4257         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4258         namespace, the second to...
4259         * buffer_funcs (BufferFormat, parseErrors): added
4260         * errorlist.C (ErrorList(TeXErrors const &)): removed
4261
4262 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4263
4264         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4265
4266 2003-06-24  "Garst R. Reese" <reese@isn.net>
4267
4268         * debug.C: fix typo
4269
4270 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4271
4272         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4273
4274         * version.C.in: change docversion to 1.4
4275
4276 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4277
4278         * buffer.C: fix a bug just introduced
4279
4280 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * buffer.[Ch]: added the parseError signal and use it, removed
4283         sgmlError
4284         * BufferView.[Ch] (addError): moved to ...
4285         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4286         to the Buffer::parseError signal to catch (guess what) parse errors
4287         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4288
4289 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4290
4291         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4292         ability to create a buffer and to return an existing one from
4293         the list. Moved these functions to...
4294         * buffer_funcs.[Ch]: added
4295         * BufferView.[Ch] (loadLyXFile): added
4296         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4297         job removed from bufferlist::loadLyXFile.
4298         * buffer.C (setReadOnly): make it work without view
4299         (i.e added an if (users))
4300
4301 2003-06-19  Angus Leeming  <leeming@lyx.org>
4302
4303         * lfuns.h:
4304         * LyXAction.C (init):
4305         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4306         with LFUN_DIALOG_SHOW <name> <data>.
4307
4308 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4309
4310         * CutAndPaste.C (availableSelections): small compilation fix for
4311         ancient (gcc 2.9x) compilers
4312
4313 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * text3.C (cursorNext): add tmp var
4316
4317         * text2.C (updateCounters): for function calling out of for clause
4318         (replaceSelectionWithString): ditto
4319         (insertStringAsParagraphs): ditto
4320         (getColumnNearX): add tmp var
4321         (setCursorFromCoordinates): add tmp var
4322         (cursorDownParagraph): add tmp var
4323         (deleteEmptyParagraphMechanism): add tmp var
4324
4325         * text.C (insertChar): add tmp var
4326
4327         * rowpainter.C (paintDepthBar): add tmp var
4328
4329         * CutAndPaste.C (availableSelections): potentially check all
4330         paragraphs in a cut to fill the shown strings.
4331
4332 2003-06-18  André Pönitz  <poenitz@gmx.net>
4333
4334         * kbmap.[Ch]: use vector<> instead of list<>
4335
4336 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4337
4338         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4339         pasteSelection with index
4340
4341         * text2.C (pasteSelection): modify, call pasteSelection with index
4342
4343         * paragraph.C (asString): reimplement version with no interval to
4344         call the one with interval.
4345
4346         * lyxtext.h: add index arg to pasteSelection
4347
4348         * MenuBackend.C (MenuItem): handle PasteRecent
4349         (Menu::read::Menutags): add md_pasterecent
4350         (read): handle it
4351         (expandPasteRecent): new function
4352         (expand): use it
4353
4354         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4355
4356         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4357         the limited stack
4358         (availableSelections): new function
4359
4360 2003-06-17  Angus Leeming  <leeming@lyx.org>
4361
4362         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4363
4364 2003-06-17  Angus Leeming  <leeming@lyx.org>
4365
4366         * lfuns.h:
4367         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4368
4369         * lyxfunc.C (dispatch): invoke it.
4370
4371 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4372
4373         * iterators.C (operator++, ParPosition): reintroduce some
4374         const_cast for the benefit of older compilers.
4375
4376 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4377
4378         * text3.C (dispatch): do not modify clipboard when doing
4379         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4380         LFUN_DELETE_SKIP on a selection selection
4381
4382 2003-06-16  André Pönitz  <poenitz@gmx.net>
4383
4384         * BufferView.C:
4385         * buffer.C:
4386         * buffer.h:
4387         * paragraph.C:
4388         * tabular.[Ch]: IU of clone() and getLabelList();
4389
4390 2003-06-13  André Pönitz  <poenitz@gmx.net>
4391
4392         * tabular.h: compactification
4393
4394 2003-06-12  André Pönitz  <poenitz@gmx.net>
4395
4396         * tabular.C:
4397         * tabular.h:
4398         * tabular_funcs.h: some renaming plus whitespace
4399
4400 2003-06-12  André Pönitz  <poenitz@gmx.net>
4401
4402         * BufferView.C:
4403         * BufferView_pimpl.C:
4404         * CutAndPaste.C:
4405         * buffer.C:
4406         * iterators.[Ch]:
4407         * lyxfunc.C:
4408         * text.C:
4409         * toc.C: Return a Paragraph & for ParIterator::operator*()
4410
4411 2003-06-11  John Levon  <levon@movementarian.org>
4412
4413         * lyx_main.C:
4414         * ToolbarBackend.h:
4415         * ToolbarBackend.C: add "Toolbars" section and
4416         put the flags there
4417
4418 2003-06-10  Angus Leeming  <leeming@lyx.org>
4419
4420         * lfuns.h:
4421         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4422
4423         * lyxfunc.C (dispatch): invoke it.
4424
4425 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * main.C: protect <ios> with HAVE_IOS
4428         (main): protect sync_with_stdio with HAVE_IOS
4429
4430 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4431
4432         * text2.C (cutSelection): adjust
4433         (pasteSelection): adjust
4434
4435         * messages.C: handle get of empty string
4436
4437         * main.C (main): use sync_with_stdio(false)
4438
4439         * lyxfunc.C (dispatch): adjust
4440
4441         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4442         (WriteAs): remove unneeded BufferView arg.
4443
4444         * bufferparams.h: use correct types on papersize, papersize2 and
4445         paperpackage.
4446
4447         * bufferparams.C (readToken): adjust for type
4448         (writeLaTeX): add missing cases to switch.
4449
4450         * bufferlist.C (quitWriteBuffer): adjust
4451         (close): adjust
4452
4453         * buffer.C (asciiParagraph): remove some commented code.
4454
4455         * CutAndPaste.C: remove current_view extern variable.
4456         (cutSelection): add BufferParams arg.
4457         (eraseSelection): add BufferParams arg.
4458         (pasteSelection): add Buffer const & arg
4459
4460 2003-06-07  John Levon  <levon@movementarian.org>
4461
4462         * buffer.C:
4463         * paragraph_funcs.C:
4464         * paragraph_pimpl.C:
4465         * text.C:
4466         * text2.C:
4467         * paragraph.h:
4468         * paragraph.C: allow InsetERT to freely space lines,
4469         and some consolidation of code
4470
4471 2003-06-06  José Matos  <jamatos@fep.up.pt>
4472
4473         * buffer.C (makeDocBookFile): fix bug #821
4474
4475 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4476
4477         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4478
4479 2003-06-04  Angus Leeming  <leeming@lyx.org>
4480
4481         * buffer.C: bump format to 224.
4482
4483 2003-06-05  André Pönitz  <poenitz@gmx.net>
4484
4485         * text2.C (redoParagraphs): remove two const_cast<>
4486
4487 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4488
4489         * ParagraphList.h: remove last remnants of NO_STD_LIST
4490
4491 2003-06-03  Angus Leeming  <leeming@lyx.org>
4492
4493         * factory.C (createInset): small change to the way InsetExternal's params
4494         are set.
4495
4496 2003-06-04  André Pönitz  <poenitz@gmx.net>
4497
4498         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4499
4500         * paragraph_pimpl.h:
4501         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4502
4503         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4504
4505         * undo_funcs.C: make some simple cases of undo work again
4506
4507 2003-06-03  John Levon  <levon@movementarian.org>
4508
4509         * ispell.C: HPUX doesn't have sys/select.h
4510         (from Albert Chin)
4511
4512 2003-06-03  John Levon  <levon@movementarian.org>
4513
4514         * CutAndPaste.C: update tabular and include inset
4515         buffer references
4516
4517         * buffer.h:
4518         * paragraph.h:
4519         * paragraph.C: remove owningBuffer(), don't pass Buffer
4520         to clone()
4521
4522         * factory.C: insetGraphicsParams changed
4523
4524 2003-06-02  John Levon  <levon@movementarian.org>
4525
4526         * LyXAction.C:
4527         * factory.C:
4528         * lfuns.h:
4529         * lyxfunc.C:
4530         * text3.C: remove insetparent
4531
4532 2003-06-02  John Levon  <levon@movementarian.org>
4533
4534         * buffer.h:
4535         * buffer.C: fix inset_iterator.end(), move out of line
4536         (bug 1149)
4537
4538 2003-06-01  John Levon  <levon@movementarian.org>
4539
4540         * text3.C: use a proper cut/paste when doing inset
4541         insert (from Jürgen Spitzmüller)
4542
4543 2003-06-01  John Levon  <levon@movementarian.org>
4544
4545         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4546
4547 2003-05-30  André Pönitz  <poenitz@gmx.net>
4548
4549         * rowpainter.C: unify second drawing phase
4550
4551 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * trans_mgr.C: remove one case of current_view
4554
4555         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4556
4557         * paragraph_funcs.h: remove paragraph.h include
4558
4559         * paragraph.h: delete NO_STD_LIST stuff
4560
4561         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4562
4563         * buffer.h: remove paragraph.h include
4564
4565         * ParagraphList.C: delete file
4566
4567         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4568
4569         * toc.C (getTocList): adjust
4570
4571         * paragraph_pimpl.C (validate): adjust
4572
4573         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4574
4575         * paragraph.C (Paragraph): adjust
4576         (getPositionOfInset): use const_iterator, adjust
4577         (bibitem): use const_iterator, adjust
4578         (setInsetOwner): adjust
4579
4580         * iterators.C (operator++): adjust
4581
4582         * InsetList.[Ch]: Replace selfmade iterator with standard
4583         vector::iterator also introduce const_iterator. Remove getPos,
4584         getInset and setInset from InsetTable. Adjust accordingly.
4585
4586         * BufferView.C (lockInset): adjust
4587         (ChangeInsets): adjust
4588
4589         * tabular.[Ch]: delete commented same_id functions
4590
4591 2003-05-28  John Levon  <levon@movementarian.org>
4592
4593         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4594
4595 2003-05-28  André Pönitz  <poenitz@gmx.net>
4596
4597         * metricsinfo.[Ch]: remove 'fullredraw' member
4598
4599 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4600
4601         * lyxtextclass.C (operator): remove caching.
4602
4603 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4604
4605         * text3.C: adjust
4606
4607         * text2.C (cursorBottom): adjust
4608         (setCounter): use ParagraphList::find, adjust
4609
4610         * text.C (workWidth): use ParagraphList::find, adjust
4611
4612         * lyxcursor.C (LyXCursor): adjust
4613
4614         * buffer.C (inset_iterator): adjust
4615
4616         * ParagraphList.h: make iterator(value_type) private, make
4617         ParagraphList a friend of iterator.
4618
4619         * ParagraphList.C (find): new function
4620
4621         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4622
4623 2003-05-27  André Pönitz  <poenitz@gmx.net>
4624
4625         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4626
4627 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4628
4629         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4630
4631 2003-05-26  John Levon  <levon@movementarian.org>
4632
4633         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4634
4635 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * remove same_id from function signatures, adjust.
4638
4639 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4642
4643         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4644
4645         * paragraph.C (Paragraph): get rid of same_ids parameter
4646
4647         * ParagraphList.C (insert): adjust
4648         (push_back): adjust
4649
4650 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4651
4652         * paragraph_funcs.C (breakParagraph): adjust
4653         (breakParagraphConservative): adjust
4654
4655         * buffer.C (readParagraph): adjust
4656
4657         * ParagraphList.C (insert): take a reference instead of a pointer
4658         (insert): adjust
4659
4660         * paragraph.[Ch] (id): new function
4661
4662         * bufferlist.C (newFile): adjust
4663
4664         * ParagraphList.C (ParagraphList): adjust
4665         (assign): adjust
4666         (push_back): take a reference instead of a pointer.
4667
4668         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4669
4670         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4671         instead.
4672
4673         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4674         set else use old code.
4675
4676         * ParagraphList.C: remove all NO_NEXT code and only compile this
4677         code of NO_STD_LIST is set.
4678
4679 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * BufferView_pimpl.C:
4682         * TextCache.C:
4683         * TextCache.h:
4684         * bufferlist.C:
4685         * errorlist.h:
4686         * format.C:
4687         * format.h:
4688         * graph.C:
4689         * lyxfunc.C:
4690         * lyxrc.C:
4691         * graphics/GraphicsConverter.C:
4692         * graphics/PreviewLoader.C: header adjustment
4693
4694 2003-05-23  Angus Leeming  <leeming@lyx.org>
4695
4696         * LaTeXFeatures.[Ch] (useBabel): new method.
4697         * bufferparams.C (writeLaTeX): use it.
4698
4699 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * ParagraphList.h (set): remove unused function.
4702
4703 2003-05-23  André Pönitz  <poenitz@gmx.net>
4704
4705         * BufferView.C:
4706         * BufferView_pimpl.C:
4707         * buffer.C:
4708         * buffer.h:
4709         * lyxfunc.C:
4710         * undo_funcs.C: setUndo reworked
4711
4712         * iterators.[Ch]: add access to topmost ParagraphList
4713
4714         * lyxtext.[Ch] (workWidth): add a const
4715
4716 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * texrow.[Ch] (increasePos): remove function
4719         * exporter.C (export): removed unused var and outdated comment
4720
4721 2003-05-23  Angus Leeming  <leeming@lyx.org>
4722
4723         * latexrunparams.h: rename fragile as moving_arg.
4724         * paragraph.C (simpleTeXOnePar): ditto.
4725         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4726
4727 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4730         (createUndo): ditto
4731         (textUndoOrRedo): comment out a currently unused var.
4732
4733         * paragraph.h (NO_NEXT): enable NO_NEXT
4734
4735         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4736
4737         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4738
4739         * exporter.C (Export): adjust for removeAutoInsets removal.
4740
4741         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4742
4743         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4744
4745         * BufferView.[Ch] (removeAutoInsets): delete function
4746
4747 2003-05-22  Angus Leeming  <leeming@lyx.org>
4748
4749         * latexrunparams.h: add a free_spacing variable.
4750
4751         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4752         to pass moving_arg, as the data is stored in runparams.fragile.
4753
4754         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4755         to Inset::latexOptional or to simpleTeXOnePar.
4756
4757         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4758         free_spacing arg to Inset::latexOptional.
4759
4760         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4761         free_spacing arg.
4762
4763 2003-05-22  Angus Leeming  <leeming@lyx.org>
4764
4765         * latexrunparams.h: add fragile and use_babel variables.
4766
4767         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4768         * buffer.C (makeLaTeXFile): store this returned value in
4769         runparams.use_babel, thus passing it to the inset::latex methods.
4770
4771         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4772         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4773
4774         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4775         longer has a fragile arg, as it is stored in runparams.fragile.
4776
4777         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4778         moving_arg parameter as the data is stored in runparams.fragile.
4779
4780         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4781         a fragile parameter as the data is stored in runparams.fragile.
4782
4783 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4786
4787 2003-05-22  Angus Leeming  <leeming@lyx.org>
4788
4789         * latexrunparams.h: add a 'bool nice' which defaults to false.
4790
4791         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4792         now encapsulated within runparams.
4793
4794         * bufferlist.C (updateIncludedTeXfiles):
4795         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4796
4797 2003-05-22  Angus Leeming  <leeming@lyx.org>
4798
4799         * latexrunparams.h: new file containing struct LatexRunParams.
4800         * Makefile.am: add new file.
4801
4802         * LaTeX.[Ch] (c-tor, run):
4803         * buffer.[Ch] (makeLaTeXFile):
4804         * bufferlist.[Ch] (updateIncludedTeXfiles):
4805         * converter.C (convert, scanLog):
4806         * converter.[Ch] (runLaTeX):
4807         * exporter.C (Export):
4808         * paragraph.[Ch] (simpleTeXOnePar):
4809         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4810         * paragraph_funcs.[Ch] (latexParagraphs):
4811         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4812         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4813         pass around a LatexRunParams parameter.
4814
4815 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * paragraph.[Ch]: remove unused constructor
4818
4819         * ParagraphList.C (erase): new function, taking two iterators
4820
4821 2003-05-22  André Pönitz  <poenitz@gmx.net>
4822
4823         * undo_funcs.C: remove duplicated code
4824
4825         * iterator.[Ch]: operator=
4826
4827 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * tabular.C (SetMultiColumn): ws changes
4830
4831         * rowpainter.C (paintFirst): get rid of a ->previous
4832
4833         * lyx_cb.C (getPossibleLabel): parlist simplification
4834
4835         * BufferView.C (ChangeInsets): simplify slightly.
4836
4837 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4838
4839         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4840         * lfuns.h: new LFUN_SPACE
4841         * lyxfunc.C: protected space has a new lfun
4842         * paragraph_funcs.C: read new space insets
4843         * text3.C:
4844         * factory.C: handle new space insets
4845
4846 2003-05-22  André Pönitz  <poenitz@gmx.net>
4847
4848         * BufferView.C:
4849         * BufferView_pimpl.C:
4850         * buffer.[Ch]:
4851         * lyxfunc.C:
4852         * undo_funcs.C: return a ParIterator from getParFromID.
4853
4854         * iterators.[Ch]: add two const's
4855
4856 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * toc.C (getTocList): adjust
4859
4860         * iterators.[Ch]: rework for parlist
4861
4862         * buffer.C (par_iterator_begin): adjust
4863         (par_iterator_end): adjust
4864
4865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4866
4867         * BufferView.C (removeAutoInsets): adjust
4868         (ChangeInsets): adjust
4869
4870 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * text.C (top_y): fix bug 1110
4873
4874 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4875
4876         * errorlist.[Ch]: added
4877         * buffer.C:
4878         * BufferView.[Ch]:
4879         * BufferView_pimpl.C:
4880         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4881         instead
4882
4883 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * Makefile.am: ensure that lyx is relinked upon changes to the
4886         various "convenience" libs.
4887
4888 2003-05-20  Angus Leeming  <leeming@lyx.org>
4889
4890         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4891         files are compiled in alphabetical order again.
4892
4893         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4894
4895 2003-05-19  Angus Leeming  <leeming@lyx.org>
4896
4897         * gettext.[Ch]: remove "char const * _(char const *)".
4898
4899 2003-05-19  André Pönitz  <poenitz@gmx.net>
4900
4901         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4902
4903         * Makefile.am:
4904         * BufferView.C:
4905         * DepTable.h:
4906         * LaTeXFeatures.C:
4907         * buffer.C:
4908         * lyxfont.C:
4909         * lyxlex.h:
4910         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4911
4912 2003-05-19  André Pönitz  <poenitz@gmx.net>
4913
4914         * buffer.C:
4915         * lyxlayout.[Ch]:
4916         * lyxtextclass.[Ch]:
4917         * paragraph.C:
4918         * paragraph_funcs.[Ch]:
4919         * text2.C:
4920         * text3.C: more insetenv work
4921
4922 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * ParagraphParameters.C (params2string): small bug fixed
4925
4926 2003-05-16  André Pönitz  <poenitz@gmx.net>
4927
4928         * debug.C:
4929         * bufferview_funcs.C: patch from Kornel Benko to prevent
4930           crash when _(...) is called twice in a statement
4931
4932 2003-05-16  André Pönitz  <poenitz@gmx.net>
4933
4934         * BufferView.C:
4935         * lyxfunc.C:
4936         * text.C:
4937         * text2.C:
4938         * text3.C:
4939         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4940
4941 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * lyx_main.C (init): remove spurious static_cast
4944
4945 2003-05-14  André Pönitz  <poenitz@gmx.net>
4946
4947         * BufferView.C: fix format string
4948
4949 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * BufferView.[Ch] (insertErrors): removed
4952         * BufferView.[Ch] (showErrorList): added
4953         * buffer.C (runChkTeX):
4954         * converter.C (scanLog): call showErrorList instead of inserterrors
4955
4956 2003-05-13  André Pönitz  <poenitz@gmx.net>
4957
4958         * BufferView_pimpl.C:
4959         * buffer.C:
4960         * bufferview_func.C:
4961         * MenuBackend.C:
4962         * lyxfunc.C:
4963         * lyxrc.C:
4964         * tex-accent.C:
4965         * text3.C:
4966         * toc.C:
4967         * tabular_funcs.h: tostr() from its own header
4968
4969         * ParagraphParameters.C:
4970         * ToolbarBackend.C:
4971         * bufferparams.C:
4972         * format.C:
4973         * lyxlex_pimpl.C:
4974         * text3.C: STRCONV()
4975
4976 2003-05-12  André Pönitz  <poenitz@gmx.net>
4977
4978         * BufferView.C:
4979         * BufferView_pimpl.C:
4980         * CutAndPaste.C:
4981         * LaTeX.C:
4982         * LaTeXFeatures.C:
4983         * ParagraphParameters.C:
4984         * buffer.C:
4985         * bufferlist.C:
4986         * bufferparams.C:
4987         * bufferview_funcs.C:
4988         * converter.C:
4989         * counters.C:
4990         * debug.C:
4991         * exporter.C:
4992         * format.C:
4993         * importer.C:
4994         * lyx_cb.C:
4995         * lyx_main.C:
4996         * lyxfont.C:
4997         * lyxfunc.C:
4998         * lyxvc.C:
4999         * paragraph.C:
5000         * paragraph_funcs.C:
5001         * tabular.C:
5002         * tabular_funcs.C:
5003         * text2.C:
5004         * text3.C:  boost::format -> bformat  all over the place
5005
5006
5007 2003-05-09  André Pönitz  <poenitz@gmx.net>
5008
5009         * LColor.[Ch]: Pimpl the #include <map> away
5010
5011 2003-05-09  John Levon  <levon@movementarian.org>
5012
5013         * bufferlist.C: never remove emergency saves
5014
5015 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * Makefile.am: better lib building
5018
5019 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5022         instead.
5023         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5024         (simpleTeXSpecialChars): adjust
5025         (simpleTeXSpecialChars): adjust
5026         * paragraph.C (simpleTeXOnePar): adjust
5027         * buffer.C (makeLaTeXFile): adjust
5028
5029         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5030
5031         * text2.C (changeDepth): parlist cleanup
5032         (getColumnNearX): ditto
5033
5034         * rowpainter.C (getLabelFont): parlist cleanup
5035
5036         * bufferlist.C (newFile): parlist cleanup
5037
5038         * CutAndPaste.C (eraseSelection): parlist cleanup
5039
5040         * BufferView_pimpl.C (trackChanges): parlist cleanup
5041         (dispatch): ditto
5042
5043         * BufferView.C (lockInset): parlist cleanup.
5044         (ChangeInsets): ditto
5045
5046 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * CutAndPaste.h: Update file header.
5049
5050         * CutAndPaste.C: Update file header.
5051         Store the parts cut out of the Document in a limited_stack.
5052         (copySelection): adjust
5053         (pasteSelection): new function, takes the index in the limited stack.
5054         (nrOfParagraphs): adjust
5055         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5056         simplify error inset insertion.
5057         (checkPastePossible): adjust
5058
5059 2003-05-06  John Levon  <levon@movementarian.org>
5060
5061         * text2.C: don't cast wrap inset to float
5062
5063 2003-05-05  André Pönitz  <poenitz@gmx.net>
5064
5065         * iterator.C:
5066         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5067
5068         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5069           few naked Paragraph *.
5070
5071 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5072
5073         * bufferparams.C: Output warning if a document with missing
5074         TeX document class is loaded
5075         * exporter.C: Disable TeX exports if the document class is missing
5076         * lyxtextclass.C:
5077         * lyxtextclass.h:
5078         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5079         isTeXClassAvailable()
5080
5081 2003-05-03  John Levon  <levon@movementarian.org>
5082
5083         * BufferView.h:
5084         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5085         explicit cursor show/hide
5086
5087         * BufferView_pimpl.h:
5088         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5089         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5090
5091         * lyxfunc.C: hide cursor before dispatching.
5092
5093         * lyx_cb.C:
5094         * lyxfind.C:
5095         * text.C:
5096         * text3.C: remove explicit cursor hides
5097
5098 2003-05-02  André Pönitz  <poenitz@gmx.net>
5099
5100         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5101
5102         * undo_funcs.C:
5103         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5104           linked lists
5105
5106         * text2.C: tiny whitespace
5107
5108 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * undo_funcs.C: almost only ws changes.
5111
5112         * ParagraphList.C (splice): just return if pl is empty.
5113
5114 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * ParagraphList.C (splice): new function.
5117
5118         * CutAndPaste.C (pasteSelection): use it
5119
5120 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * CutAndPaste.C (pasteSelection): remove the last next and
5123         previous from this file.
5124
5125 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * CutAndPaste.C (pasteSelection): more clean up, user proper
5128         ParagraphList functions for pasteing.
5129
5130         * ParagraphList.C (insert): new function, three arg insert
5131
5132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * ParagraphList.C (insert): new function, three arg insert
5135
5136         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5137         not on paragraphs.
5138
5139 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5142
5143 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5146
5147 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5150         (copySelection): clean up a bit.
5151         (pasteSelection): use make_pair
5152
5153         * ParagraphList.C (ParagraphList): implement copy constructor
5154         (operator=): implement, base on copy constructor.
5155         (assign): new func
5156
5157         * paragraph.C (erase): return a bool
5158
5159         * paragraph_pimpl.C (erasePos): remove function, move contents...
5160         (erase): ... here. Return a bool.
5161         (erase): call erase instead of erasePos.
5162
5163 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5164
5165         * ParagraphList.h: define PitPosPair
5166         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5167         ParagraphList, fix a bug on pasting multiple pars
5168         * text2.C: change interface to C&P
5169
5170 2003-04-30  André Pönitz  <poenitz@gmx.net>
5171
5172         * undo_func.C: revert part of yesterday's patch 2
5173
5174 2003-04-30  John Levon  <levon@movementarian.org>
5175
5176         * LColor.C: s/tabular/table/
5177
5178 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * text3.C (dispatch): do not convert iterator -> pointer
5181         * undo_funcs.C (setCursorParUndo): ditto
5182         * text_funcs.C (transposeChars): ditto
5183
5184         * text2.C (setLayout): ws changes only
5185
5186         * text.C (breakParagraph): do not convert iterator -> pointer
5187         (insertChar): ditto
5188         (acceptChange): ditto
5189         (rejectChange): ditto
5190         (changeCase): ditto
5191         (Delete): ditto
5192         (backspace): ditto
5193
5194         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5195         pointer
5196
5197 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * text3.C (gotoInset): YABG (yet another bad getChar)
5200
5201 2003-04-29  André Pönitz  <poenitz@gmx.net>
5202
5203         * paragraph.h: make operator= private unimplemented as long as
5204           it is unusable
5205
5206         * ParagraphList.C: whitespace
5207
5208         * paragraph.[Ch]:
5209         * paragraph_pimpl.[Ch]:
5210         * paragraph_funcs.C:
5211         * CutAndPaste.C:
5212         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5213
5214         * text2.C:
5215           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5216
5217 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5220         * paragraph.[Ch] (erase):
5221         * paragraph_pimpl.[Ch] (erase): change return type and value
5222         * text2.C (cutSelection): some rework
5223
5224 2003-04-28  John Levon  <levon@movementarian.org>
5225
5226         * bufferlist.C: changes for unsaved changes dialog
5227
5228 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * bufferlist.C (newFile): set language (messages_) for new
5231         documents also.
5232
5233         * buffer.C (readFile): ws changes only.
5234
5235 2003-04-28  André Pönitz  <poenitz@gmx.net>
5236
5237         * undo_funcs.C:
5238         * lyxfunc.C:
5239         * buffer.[Ch]:
5240         * BufferView_pimpl.C:
5241         * BufferView.C: getParFromID related ParagraphList::iterator changes
5242
5243 2003-04-28  André Pönitz  <poenitz@gmx.net>
5244
5245         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5246           Changes
5247
5248 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * messages.C: remove one more localedir class variable.
5251
5252 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * messages.C (getLocaleDir): singleton generation function
5255         (Pimpl): use it.
5256         (Messages): add a default constructor.
5257
5258         * main.C (main): do not setup localedir here, do not call
5259         gettext_init.
5260
5261         * gettext.C (_): use it.
5262         (gettext_init): delete funciton
5263
5264 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * gettext.C (getLyXMessages): new singleton generating function.
5267
5268         * buffer.C (updateDocLang): adjust
5269
5270         * Makefile.am (messages.o): add target
5271         (main.o): remove target
5272
5273 2003-04-27  John Levon  <levon@movementarian.org>
5274
5275         * bufferlist.C:
5276         * lyx_cb.C:
5277         * lyxfunc.C:
5278         * lyxvc.C: specify cancel button in Alert::prompt
5279
5280 2003-04-26  John Levon  <levon@movementarian.org>
5281
5282         * text3.C:
5283         * lyxfunc.C:
5284         * lfuns.h:
5285         * LyXAction.C: add LFUN_INSET_SETTINGS
5286
5287         * lyxfunc.C: don't enable tabular-feature when there's
5288         just any locking inset
5289
5290 2003-04-26  John Levon  <levon@movementarian.org>
5291
5292         * bufferlist.C: re-add Cancel to buffer close question
5293
5294         * lyxfunc.C: fix import UI a bit
5295
5296 2003-04-25  John Levon  <levon@movementarian.org>
5297
5298         * gettext.C: remove the broken asserts for now
5299
5300 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * messages.C: make case where setlocale cannot comply work better.
5303
5304         * buffer.C (updateDocLang): new function
5305         (changeLanguage): use it
5306         (readFile): use it
5307
5308         * text2.C (setCounter): use B_ a bit.
5309
5310         * lyxlayout.C (Read): be sure to trim the label strings.
5311
5312         * messages.C (Messages): fix typo in comment
5313
5314         * buffer.C (readFile): set message_ after file is loaded.
5315         (makeDocBookFile): remove double return
5316         (changeLanguage): reset message_ upon language change.
5317         (B_): new func, use this to get translated buffer strings.
5318
5319         * main.C: add myself and Jean Marc as authors.
5320
5321 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * messages.[hC]: pimplify Messages, and three different pimpls to be
5324         used in different circumstances.
5325
5326         * gettext.[Ch]: change for use with new message code.
5327
5328 2003-04-24 André Pönitz <poenitz@gmx.net>
5329
5330         * factory.C: support for eqref
5331
5332 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * messages.[Ch]: add missing char
5335
5336         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5337
5338         * messages.[Ch]: New files
5339
5340 2003-04-18  John Levon  <levon@movementarian.org>
5341
5342         * BufferView.h:
5343         * BufferView.C:
5344         * BufferView_pimpl.C:
5345         * lfuns.h:
5346         * LyXAction.C:
5347         * lyxtext.h:
5348         * text2.C: remove layout-copy/paste (bug 778)
5349
5350 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5353
5354 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5357         if they succeed. Act accordingly.
5358
5359 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * text2.C (setCharFont): adjust
5362         (setCounter): adjust
5363         (insertStringAsLines): adjust
5364
5365         * text.C (leftMargin): adjust
5366         (setHeightOfRow): adjust
5367
5368         * rowpainter.C (paintFirst): adjust
5369         (paintLast): adjust
5370
5371         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5372         (outerHook): ditto
5373         (isFirstInSequence): ditto
5374         (getEndLabel): ditto
5375         (outerFont): adjust
5376
5377         * paragraph.C (getParLanguage): comment out some hard stuff.
5378
5379         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5380         (sgmlError): ditto
5381         (simpleDocBookOnePar): ditto
5382         (makeDocBookFile): use ParagraphList::iterator
5383
5384         * CutAndPaste.C (pasteSelection): adjust
5385
5386 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * text2.C (getFont): adjust
5389         (getLayoutFont): adjust
5390         (getLabelFont): adjust
5391
5392         * paragraph_funcs.C (TeXOnePar): adjust
5393
5394         * buffer.C (simpleLinuxDocOnePar): adjust
5395         (simpleDocBookOnePar): adjust
5396
5397         * CutAndPaste.C (pasteSelection): adjust
5398
5399         * BufferView.C (getEncoding): adjust
5400
5401         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5402
5403 2003-04-16  John Levon  <levon@movementarian.org>
5404
5405         * lyxfind.C: use parlist stuff for search/changes
5406
5407 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5410
5411         * text2.C (deleteEmptyParagraphMechanism): adjust
5412
5413         * text2.[Ch] (ownerParagraph): delete func (both of them
5414
5415 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5418
5419 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * ParagraphList.C: prepare for NO_NEXT
5422
5423 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * text2.C (getFont): adjust
5426         (getLayoutFont): adjust
5427         (getLabelFont): adjust
5428
5429         * paragraph.C (getFont): adjust
5430         (getLabelFont): adjust
5431         (getLayoutFont): adjust
5432
5433         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5434
5435 2003-04-15  John Levon  <levon@movementarian.org>
5436
5437         From Angus Leeming
5438
5439         * lyx_main.C: handle Include in .ui files
5440
5441 2003-04-15  John Levon  <levon@movementarian.org>
5442
5443         * MenuBackend.C: make the doc files length shorter
5444
5445         * ToolbarBackend.h:
5446         * ToolbarBackend.C: handle toolbar placement flags,
5447         Minibuffer
5448
5449 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5452         adjust
5453
5454         * paragraph_funcs.C (TeXOnePar): adjust
5455
5456         * paragraph.C (getLabelFont): add outerfont arg, adjust
5457         (getLayoutFont): ditto
5458         (simpleTeXOnePar): adjust
5459
5460         * paragraph_pimpl.C (realizeFont): delete func
5461
5462 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5463
5464         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5465         row argument, constify cur argument.
5466
5467 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * text2.C (getFont): adjust
5470         (getLayoutFont): adjust
5471         (getLabelFont): adjust
5472
5473         * paragraph_funcs.C (TeXOnePar): adjust
5474         (outerFont): new func...
5475         (realizeFont): ...moved out from here, changed this to facilitate
5476         transition
5477
5478         * paragraph.C (getFont): take outerfont as arg, adjust
5479         (simpleTeXOnePar): add outerfont arg, adjust
5480
5481         * buffer.C (simpleLinuxDocOnePar): adjust
5482         (simpleDocBookOnePar): adjust
5483
5484         * CutAndPaste.C (pasteSelection): adjust
5485
5486         * BufferView.C (getEncoding): adjust
5487
5488 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * text2.C (setCharFont): adjust
5491         (setCounter): adjust
5492
5493         * text.C (leftMargin): adjust
5494         (setHeightOfRow): adjust
5495
5496         * rowpainter.C (paintFirst): adjust
5497         (paintLast): adjust
5498
5499         * paragraph_pimpl.C (realizeFont): adjust
5500
5501         * paragraph.C (isFirstInSequence): move from here...
5502         * paragraph_funcs.C (isFirstInSequence): ...to here
5503
5504         * paragraph.C (outerHook): move from here...
5505         * paragraph_funcs.C (outerHook): ...to here
5506
5507         * paragraph.C (depthHook): move from here...
5508         * paragraph_funcs.C (depthHook): ...to here
5509
5510         * paragraph.C (getEndLabel): move from here...
5511         * paragraph_funcs.C (getEndLabel): ...to here
5512
5513         * text2.C (realizeFont): move from here...
5514         * paragraph_funcs.C (realizeFont): ...to here
5515
5516 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5519
5520 2003-04-14  Angus Leeming  <leeming@lyx.org>
5521
5522         * LColor.[Ch]: scrap LColor mathcursor.
5523
5524 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * lyxlex.[Ch] (text): delete function
5527         * trans.C (Load): adjust
5528         * paragraph_funcs.C (readParToken): adjust
5529
5530 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531
5532         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5533         vector<char> instead of a char[].
5534
5535         * lyxlex_pimpl.C (getString): adjust
5536         (next): adjust
5537         (lex): use getString
5538         (eatLine): adjust
5539         (nextToken): adjust
5540
5541         * lyxlex.C (text): use pimpl_->getString()
5542         (getBool): ditto
5543         (findToken): ditto
5544
5545 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5548         (makeFontEntriesLayoutSpecific): temp var for par.size()
5549         (setLayout): temp var for ownerParagraphs().end()
5550         (fullRebreak): temp var for rows().end()
5551         (selectionAsString): temp var for boost::next(startpit), realize
5552         that the while really is a regular for loop.
5553         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5554         setCursor in one place.
5555         (setParagraph): temp vr for ownerParagraphs().end()
5556         (updateCounters): make the while loop a for loop
5557         (cutSelection): temp var for ownerParagraphs().end()
5558         (updateInset): make the do {} while() a regular for loop
5559         (getCursorX): use temp vars
5560         (setCurrentFont): use temp vars
5561         (getColumnNearX): use temp vars
5562
5563 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * text.C (transformChar): use temp var for getChar
5566         (computeBidiTables): use temp var for row->par()
5567         (fill): move temp vars for row->par() and pit->layout() earlier in
5568         the function.
5569         (labelFill): use temp var for row->par()
5570         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5571         asc and desc, realize that pit never changes and that firstpit is
5572         just a duplicate and not needed. Exchange rit->par() with pit in a
5573         lot of places.
5574         (breakAgain): use a temp var for boost::next(rit)
5575         (breakAgainOneRow): ditto
5576         (breakParagraph): use a temp var for rows().begin()
5577         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5578         (cursorRightOneWord): use temp var for cursor.par() and
5579         cursor.pos(), remove usage of tmpcursor.
5580         (cursorLeftOneWord): use temp var for cursor.par() and
5581         cursor.pos() only set cur at end of function.
5582
5583 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * text.C, text2.C: exchange all usage of Paragraph::next with
5586         boost::next(ParagraphList::iterator)
5587
5588         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5589
5590         * text2.C (cursorTop): simplify implementation
5591         (cursorBottom): ditto
5592         (setParagraph): use ParagraphList::iterator
5593         (setCurrentFont): adjust
5594         (getColumnNearX): adjust
5595         (cursorRight): adjust
5596         (cursorLeft): remove usage of Paragraph::previous
5597         (cursorUpParagraph): ditto
5598         (deleteEmptyParagraphMechanism): slight cleanup
5599
5600         * text.C (isBoundary): take a Paragraph const & instead of a
5601         pointer as arg.
5602         (addressBreakPoint): ditto
5603         (leftMargin): remove usage of Paragraph::previous.
5604         (setHeightOfRow): ditto
5605         (cursorLeftOneWord): ditto
5606         (selectNextWordToSpellcheck): ditto
5607         (Delete): ditto
5608         (backspace): ditto
5609         (breakParagraph): remove one usage of Paragraph::next
5610         (redoParagraph): ditto
5611         (acceptChange): ditto
5612         (insertChar): adjust
5613         (rowBreakPoint): adjust
5614
5615         * bufferview_funcs.C (toggleAndShow): adjust
5616
5617 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5620         methods to access it.
5621         * lyxtext.h:
5622         * text.C: Added updateRowPositions to compute all row positions.
5623         Make top_y and getRowNearY() to use the cached y position
5624
5625 2003-04-11  John Levon  <levon@movementarian.org>
5626
5627         * text.C (rowBreakPoint): reintroduce the labelEnd
5628         checks, code copied from the row fill stuff. Deep voodoo.
5629
5630         * text.C (fill): add a comment and debugging for the
5631         next poor soul.
5632
5633 2003-04-11  John Levon  <levon@movementarian.org>
5634
5635         * text.C: make sure fullrow insets get wrapped to the next line,
5636         even when they're in a manual label
5637
5638 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * text2.C (insertParagraph): make it take ParagraphList::iterator
5641         as arg.
5642         (setLayout): make it return ParagraphList::iterator
5643         (redoParagraphs): ditto
5644         (setCounter): ditto
5645         (checkParagraph): ditto
5646
5647         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5648
5649         * text2.C: adjust several funcs.
5650         (realizeFont): take a ParagraphList::iterator as arg.
5651         (getLayoutFont): ditto
5652         (getLabelFont): ditto
5653         (setCharFont): ditto
5654
5655         * text.C: adjust several funcs.
5656
5657 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5658
5659         * text.C (selectNextWordToSpellcheck): don't accidentally
5660         skip insets
5661
5662 2003-04-10  John Levon  <levon@movementarian.org>
5663
5664         * ToolbarBackend.C (getIcon): special handling for
5665         LFUN_MATH_DELIM
5666
5667 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5668
5669         * text2.C (cursorRight): a getChar assert fixed
5670
5671 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * text2.C (getFont): change to take a ParagraphList::iterator
5674         instead of Paragraph*
5675         Adjust several functions.
5676
5677         * text.C (transformChar): change to take a ParagraphList::iterator
5678         instead of Paragraph*
5679         (singleWidth): ditto
5680         Adjust several functions.
5681
5682         * rowpainter.C: adjust several functions
5683         * rowpainter.h:store a ParagraphList::iterator and not a
5684         Paragraph&.
5685
5686
5687 2003-04-09  John Levon  <levon@movementarian.org>
5688
5689         * lyxfunc.C:
5690         * lfuns.h:
5691         * LyXAction.h:
5692         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5693         and the "help" bits as well
5694
5695 2003-04-09  John Levon  <levon@movementarian.org>
5696
5697         * ToolbarBackend.h:
5698         * ToolbarBackend.C: allow multiple toolbars
5699
5700 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * undo_funcs.C (setCursorParUndo): adjust
5703
5704         * text_funcs.C (transposeChars): adjust
5705
5706         * text3.C (gotoNextInset): adjust
5707         (dispatch): adjust
5708
5709         * text2.C (setLayout): adjust
5710         (changeDepth): adjust
5711         (setFont): adjust
5712         (redoParagraphs): adjust
5713         (selectionAsString): adjust
5714         (setParagraph): adjust
5715         (insertInset): adjust
5716         (cutSelection): adjust
5717         (copySelection): adjust
5718         (pasteSelection): adjust
5719         (insertStringAsLines): adjust
5720         (updateInset): adjust
5721         (setCursor): change to take a ParagraphList::iterator parameter
5722         (setCursorIntern): change to take a ParagraphList::iterator parameter
5723         (setCurrentFont): adjust
5724         (cursorLeft): adjust
5725         (cursorRight): adjust
5726         (deleteEmptyParagraphMechanism): adjust
5727
5728         * text.C (breakParagraph): adjust
5729         (insertChar): adjust
5730         (acceptChange): adjust
5731         (rejectChange): adjust
5732         (selectNextWordToSpellcheck): adjust
5733         (changeCase): adjust
5734         (Delete): adjust
5735         (backspace): adjust
5736
5737         * lyxfind.C (SearchForward): adjust
5738         (SearchBackward): adjust
5739         (nextChange): adjust
5740
5741         * lyxcursor.C (par): adjust
5742
5743         * lyxcursor.h: store a ParagraphList::iterator instead of a
5744         Paragraph*
5745
5746         * lyx_cb.C (getPossibleLabel): adjust
5747
5748         * bufferview_funcs.C (toggleAndShow): adjust
5749
5750         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5751         (dispatch): adjust
5752
5753         * BufferView.C (removeAutoInsets): adjust
5754         (lockedInsetStoreUndo): adjust
5755
5756 2003-04-09  John Levon  <levon@movementarian.org>
5757
5758         * ToolbarBackend.C: try icon without argument
5759         if with argument fails
5760
5761 2003-04-08  John Levon  <levon@movementarian.org>
5762
5763         * ToolbarBackend.h:
5764         * ToolbarBackend.C: add getIcon(), handle tooltip,
5765         and change from "Icon" to "Item".
5766
5767 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5768
5769         * BufferView.C (lockInset): another bad getchar crunched
5770
5771 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5772
5773         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5774         again)
5775
5776 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5777
5778         * lyxfind.C (searchForward, searchBackwards): bug 782
5779
5780 2003-04-07  John Levon  <levon@movementarian.org>
5781
5782         * paragraph.C: remove dead comment
5783
5784         * text.C: remove troublesome depth-fiddling code
5785         in leftMargin() and rightMargin() (bug 1017)
5786
5787         * text.C: fix breaking of rows in nested lists
5788         (bug 1004)
5789
5790         * text2.C (updateCounters): fix up depth values
5791         (bug 1013)
5792
5793 2003-04-07  John Levon  <levon@movementarian.org>
5794
5795         * BufferView_pimpl.C: clear message when doc finishes resizing,
5796         and after a mouse event
5797
5798         * lyxfunc.C: clear message after exiting inset
5799
5800 2003-04-07  John Levon  <levon@movementarian.org>
5801
5802         * bufferview_funcs.C: show math status not outside
5803         status in the statusbar
5804
5805 2003-04-07  John Levon  <levon@movementarian.org>
5806
5807         * lyxfunc.C: note status changed after a depth change
5808
5809 2003-04-04  Angus Leeming  <leeming@lyx.org>
5810
5811         * LaTeX.h: move AuxInfo operator==, != out of line.
5812         Remove LaTeX virtual destructor; nothing derives from it.
5813         Move operator()() out of public area and rename it startscript().
5814         Change protected for private.
5815
5816 2003-04-04  Angus Leeming  <leeming@lyx.org>
5817
5818         * lyxfunc.C:
5819         * text2.C: remove unneeded #includes.
5820
5821 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5822
5823         * text2.C (dEPM): fix the heigth of the next row
5824
5825 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5826
5827         * text.C: squashed an invalid getChar requester + some ws changes
5828
5829 2003-04-03  John Levon  <levon@movementarian.org>
5830
5831         * bufferview_funcs.h:
5832         * bufferview_funcs.C:
5833         * lyxfunc.C:
5834         * lyxtext.h:
5835         * text2.C: make getStatus work for the env depth lfuns
5836
5837 2003-04-03  John Levon  <levon@movementarian.org>
5838
5839         * bufferview_funcs.h:
5840         * bufferview_funcs.C:
5841         * lyxfunc.C:
5842         * lyxtext.h:
5843         * text2.C: parlistize decDepth(), by merging it with incDepth()
5844
5845 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * lyxrow.h: store a ParagraphList::iterator instead of a
5848         Paragraph* and adjust other class functions to suit.
5849
5850         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5851         above.
5852
5853 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5854
5855         * text2.C (setCursor): do not anchor to cursor row for the time being
5856
5857 2003-04-02  John Levon  <levon@movementarian.org>
5858
5859         * LyXAction.C:
5860         * lfuns.h:
5861         * lyx_main.C:
5862         * lyxtext.h:
5863         * text.C:
5864         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5865
5866 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * paragraph.h: make ParagraphList and ParagraphList::iterator
5869         friends of Paragraph.
5870
5871         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5872
5873         * ParagraphList.C: Use the private next_ and previous_ from
5874         Paragraph.
5875
5876 2003-04-01  John Levon  <levon@movementarian.org>
5877
5878         * ToolbarBackend.h:
5879         * ToolbarBackend.C:
5880         * Makefile.am: rename, remove defaults gunk
5881
5882         * MenuBackend.h:
5883         * MenuBackend.C: remove defaults gunk
5884
5885         * Languages.h:
5886         * Languages.C: remove defaults gunk
5887
5888         * lyx_main.h:
5889         * lyx_main.C: error out if files couldn't be found.
5890
5891 2003-04-02  John Levon  <levon@movementarian.org>
5892
5893         * text2.C: make incDepth() use parlist
5894
5895 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * undo_funcs.C (firstUndoParagraph): adjust
5898
5899         * text3.C (gotoInset): adjust
5900         (dispatch): adjust, and rewrite loop.
5901
5902         * text2.C (init): adjust, and rewrite loop.
5903         (redoParagraphs): adjust
5904         (updateInset): adjust, and rewrite loop.
5905         (deleteEmptyParagraphMechanism): adjust
5906
5907         * tabular.C (LyXTabular): adjust
5908         (SetMultiColumn): adjust
5909         (TeXRow): adjust
5910
5911         * lyxtext.[Ch] (ownerParagraph): delete function
5912         (ownerParagraphs): new function returns a ParagraphList.
5913
5914         * BufferView.C (removeAutoInsets): adjust
5915         (insertErrors): adjust
5916         (setCursorFromRow): adjust
5917
5918 2003-04-01  Angus Leeming  <leeming@lyx.org>
5919
5920         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5921         in the frontends.
5922
5923 2003-04-02  John Levon  <levon@movementarian.org>
5924
5925         * lyxtext.h:
5926         * text.C:
5927         * Makefile.am:
5928         * text_funcs.h:
5929         * text_funcs.C: make transposeChars a free function
5930
5931         * lyxrow_funcs.C: remove wrong comment
5932
5933 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * lyxtext.h: adjust
5936         * rowpainter.C: adjust
5937         * text.C: adjust
5938         * text2.C: adjust
5939         * text3.C: adjust
5940
5941         * lyxrow_funcs. [Ch]: new files
5942
5943         * lyxrow.[Ch]: remove next and previous pointers
5944         (next,previous): remove accessor functions
5945         (isParEnd): move to lyxrow_funcs
5946         (lastPos): move to lyxrow_funcs
5947         (nextRowIsAllInset): move to lyxrow_funcs
5948         (lastPrintablePos): move to lyxrow_funcs
5949         (numberOfSeparators): move to lyxrow_funcs
5950         (numberOfHfills): move to lyxrow_funcs
5951         (numberOfLabelHfills): move to lyxrow_funcs
5952         (hfillExpansion): move to lyxrow_funcs
5953
5954         * lyxfunc.C: adjust
5955
5956         * bufferview_funcs.C (toggleAndShow): adjust
5957
5958         * RowList.h: Remove class RowList from file leave just a
5959         std::list<Row>.
5960
5961         * RowList.C: delete file
5962
5963         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5964         and lyxrow_funcs.h
5965
5966 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * text3.C (cursorPrevious): adjust
5969         (cursorNext): adjust
5970         (dispatch): adjust
5971
5972         * text2.C (redoHeightOfParagraph): adjust
5973         (redoDrawingOfParagraph): adjust
5974         (setCursor): adjust
5975
5976         * text.C (breakParagraph): adjust
5977         (insertChar): adjust
5978         (backspace): adjust
5979
5980         * rowpainter.C (RowPainter): adjust
5981         (leftMargin): simplify and adjust
5982         (most rowpainter functions): adjust.
5983
5984         * rowpainter.h: store the row as RowList::iterator not as Row*
5985
5986         * lyxcursor.C (row): taka RowList::iterator as arg
5987         (irow): ditto
5988
5989         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5990         of Row*.
5991
5992 2003-04-01  Angus Leeming  <leeming@lyx.org>
5993
5994         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5995         stuff like bool Bool.
5996
5997 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5998
5999         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6000         rewrite a loop
6001
6002 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6005         RowList::iterator.
6006
6007         * lyxtext.h (rows): drop one version and leve a const variant that
6008         returns a RowList::iterator.
6009
6010 2003-03-31  Angus Leeming  <leeming@lyx.org>
6011
6012         * text.C (fill): ensure that the signature is the same as that in the
6013         header file.
6014
6015 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * text2.C (redoParagraphs): adjust
6018         (updateCounters): adjust
6019         (checkParagraph): adjust
6020         (getColumnNearX): adjust and reformat a bit.
6021
6022         * text.C (top_y): adjust
6023         (workWidth): adjust
6024         (leftMargin): adjust
6025         (prepareToPrint): adjust
6026         (getRow): adjust
6027         (getRowNearY): adjust
6028
6029         * lyxtext.h: make rowlist_ mutable.
6030
6031         * RowList.h: add const_iterator
6032         * RowList.C: adjust for RowList::const_iterator.
6033
6034         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6035         adjust.
6036
6037 2003-03-31  John Levon  <levon@movementarian.org>
6038
6039         * lyxrc.h:
6040         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6041
6042         * lyx_main.C: set default fonts from using lyx_gui funcs
6043
6044         * exporter.C: pdf_mode moved from lyxrc
6045
6046         * lyx_cb.C:
6047         * lyxfunc.C: changes from above
6048
6049 2003-03-31  John Levon  <levon@movementarian.org>
6050
6051         * lyx_main.C: fix to the last fix
6052
6053 2003-03-31  John Levon  <levon@movementarian.org>
6054
6055         * bufferlist.C: "Load original" -> "Load Original"
6056
6057         * converter.C:
6058         * exporter.C:
6059         * importer.C:
6060         * lyx_main.C:
6061         * format.C: more Alert cleanups
6062
6063 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * text2.C (removeParagraph): make it take a RowList::iterator as
6066         arg, adjust.
6067         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6068         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6069
6070         * text.C (anchor_row): make it take a RowList::iterator as arg,
6071         adjust.
6072         (computeBidiTables): make it take a const reference to Row instead
6073         of Row pointer, adjust.
6074         (leftMargin): make it take a RowList::iterator as arg, adjust.
6075         (rowBreakPoint): adjust
6076         (breakAgainOneRow): make it take a RowList::iterator as arg,
6077         adjust.
6078         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6079
6080         * bufferview_funcs.C (toggleAndShow): adjust
6081
6082 2003-03-30  John Levon  <levon@movementarian.org>
6083
6084         * Makefile.am:
6085         * BoostFormat.h:
6086         * boost-inst.C: moved to support
6087
6088         * several files: changes as a result
6089
6090 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * text2.C (LyXText): adjust.
6093         (init): adjust
6094         (removeRow): make it take a RowList::iterator as arg, adjust.
6095         (fullRebreak): adjust
6096         (deleteEmptyParagraphMechanism): adjust
6097         (clearPaint): adjust
6098         (postPaint): adjust
6099
6100         * text.C (top_y): adjust
6101         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6102         (breakAgain): make it take a RowList::iterator as arg, adjust.
6103         (breakParagraph): adjust
6104         (insertChar): adjust
6105         (backspace): adjust
6106
6107         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6108         need_break_row, and refresh_row.
6109
6110         * text3.C (dispatch): adjust
6111
6112         * text2.C (checkParagraph): adjust
6113         (setCursor): adjust
6114         (setCursorFromCoordinates): adjust
6115
6116         * text.C (top_y): adjust
6117         (workWidth): adjust
6118         (getRow): make it return a RowList::iterator, adjust
6119         (getRowNearY): make it return a RowList::iterator, adjust
6120
6121         * text2.C (init): adjust
6122         (insertRow): remove function
6123         (insertParagraph): adjust
6124         (redoParagraphs): adjust
6125         (fullRebreak): adjust
6126         (updateCounters): adjust
6127
6128         * text.C (top_y): rewrite to use RowList iterators.
6129         (top_y): adjust
6130         (setHeightOfRow): rewrite to sue RowList iterators.
6131         (appendParagraph): adjust
6132         (breakAgain): adjust
6133         (breakAgainOneRow): adjust
6134         (breakParagraph): adjust
6135         (getRow): adjust
6136         (getRowNearY): adjust, and remove commented code.
6137
6138         * lyxtext.h (firstRow): delete function
6139         (lastRow): delete function
6140         (rows): new function (const and non-const versions.)
6141         (insertRow): delete function
6142
6143         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6144
6145 2003-03-29  John Levon  <levon@movementarian.org>
6146
6147         * BufferView_pimpl.C: always update scrollbar top
6148         because pasting text when we're anchored could mean we
6149         miss an update altogether
6150
6151 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * text2.C (init): use rowlist_.end() and not 0.
6154         (insertRow): change to take a RowList::iterator as arg, adjust
6155         for this.
6156         (insertParagraph): change to take a RowList::iterator as arg,
6157         adjust for this.
6158         (redoParagraphs): remove some debug msgs.
6159
6160         * text.C (appendParagraph): change to take a RowList::iterator
6161         arg, adjust for this.
6162         (breakAgain): add an assert
6163         (breakAgainOneRow): ditto
6164
6165 2003-03-29  John Levon  <levon@movementarian.org>
6166
6167         * text2.C: do not clear selection after inc/decDepth
6168         (bug 550)
6169
6170 2003-03-29  John Levon  <levon@movementarian.org>
6171
6172         * BufferView.C:
6173         * buffer.C: fix broken strerrors according to Lars
6174
6175 2003-03-29  John Levon  <levon@movementarian.org>
6176
6177         * converters.C: more Alert cleanups
6178
6179 2003-03-29  John Levon  <levon@movementarian.org>
6180
6181         * bufferview_funcs.C: remove pointless Alert
6182
6183         * buffer.C: fix confusing error message when
6184         a template is chmoded 000
6185
6186 2003-03-29  John Levon  <levon@movementarian.org>
6187
6188         * BufferView.C:
6189         * BufferView.h:
6190         * BufferView_pimpl.C: Alert fixes
6191
6192         * Makefile.am:
6193         * tabular.C:
6194         * tabular-old.C: remove unused table compat reading
6195
6196 2003-03-29  John Levon  <levon@movementarian.org>
6197
6198         * BufferView.C:
6199         * buffer.C:
6200         * lyx_cb.h:
6201         * lyx_cb.C: more Alert cleanups
6202
6203         * lyxfunc.C: don't allow chktex if not latex document
6204
6205 2003-03-29  John Levon  <levon@movementarian.org>
6206
6207         * lyx_cb.C:
6208         * BufferView.C:
6209         * buffer.C: warnings pushed down from support/,
6210         kill err_alert
6211
6212 2003-03-29  John Levon  <levon@movementarian.org>
6213
6214         * lyxfunc.C: safety check for C-r (revert)
6215
6216 2003-03-29  John Levon  <levon@movementarian.org>
6217
6218         * bufferlist.h:
6219         * bufferlist.C: several UI fixes using Alert::prompt.
6220         Fix the pointless looping quit code. Fix stupid revert
6221         behaviour (bug 938)
6222
6223         * lyxvc.h:
6224         * lyxvc.C:
6225         * lyx_cb.C: use Alert::prompt
6226
6227         * lyx_main.C: remove a silly question
6228
6229         * lyxfunc.C: remove a couple of silly questions,
6230         use Alert::prompt
6231
6232 2003-03-28  John Levon  <levon@movementarian.org>
6233
6234         * text2.C: fix bug 974 (End on empty par)
6235
6236 2003-03-28  John Levon  <levon@movementarian.org>
6237
6238         * BufferView_pimpl.C:
6239         * LyXAction.C:
6240         * lfuns.h: remove do-nothing math greek lfuns
6241
6242 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * lyxgluelength.h (isValidGlueLength): add default arg on
6245         parameter 2. Remove default arg from friend in class.
6246
6247         * lyxlength.h (isValidLength): add default arg on parameter 2.
6248         Remove default arg from friend in class.
6249
6250         * text2.C (LyXText): adjust, initialize refresh_row.
6251         (init): adjust
6252         (removeRow): adjust
6253         (insertRow): adjust
6254         (insertParagraph): adjst
6255         (redoParagraphs): adjust
6256         (fullRebreak): adjust
6257         (updateCounters): adjust
6258         (deleteEmptyParagraphMechanism): first attempt at fixing a
6259         crashing bug.
6260
6261         * text.C (top_y): adjust
6262         (setHeightOfRow): adjust
6263         (getRow): adjust
6264         (getRowNearY): adjust
6265
6266         * lyxtext.h: include RowList.h
6267         (~LyXText): not needed anymore, deleted.
6268         (firstRow): modify for RowList
6269         (lastRow): new function
6270         Delete firstrow and lastrow class variables, add a Rowlist
6271         rowlist_ class variable.
6272
6273         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6274         paragraph is empty.
6275
6276         * RowList.C (insert): fix case where it == begin().
6277
6278 2003-03-26  Angus Leeming  <leeming@lyx.org>
6279
6280         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6281         the thesaurus dialog.
6282
6283 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6286
6287         * RowList.[Ch]: new files
6288
6289         * ParagraphList.C (erase): handle the case where it == begin
6290         correctly.
6291
6292 2003-03-25  John Levon  <levon@movementarian.org>
6293
6294         * Makefile.am:
6295         * aspell_local.h:
6296         * aspell.C: add new aspell support
6297
6298         * lyxrc.h:
6299         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6300         have it accessible.
6301
6302 2003-03-25  Angus Leeming  <leeming@lyx.org>
6303
6304         * lfuns.h:
6305         * LyXAction.C (init): new LFUN_INSET_INSERT.
6306
6307         * BufferView_pimpl.C (dispatch): split out part of the
6308         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6309
6310         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6311         LFUN_INSET_APPLY.
6312
6313 2003-03-25  Angus Leeming  <leeming@lyx.org>
6314
6315         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6316
6317 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6318
6319         * text2.C:
6320         * text3.C: remove useless row->height(0)
6321
6322 2003-03-25  John Levon  <levon@movementarian.org>
6323
6324         * lyxtext.h:
6325         * text2.C:
6326         * text3.C: rename the refreshing stuff to better names
6327
6328 2003-03-24  John Levon  <levon@movementarian.org>
6329
6330         * BufferView_pimpl.h:
6331         * BufferView_pimpl.C: update layout choice on a mouse
6332         press/release
6333
6334 2003-03-23  John Levon  <levon@movementarian.org>
6335
6336         * Makefile.am: fix commandtags.h reference
6337
6338 2003-03-22  John Levon  <levon@movementarian.org>
6339
6340         * BufferView_pimpl.C:
6341         * lyxtext.h:
6342         * rowpainter.C:
6343         * rowpainter.h:
6344         * text.C:
6345         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6346
6347 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * lyxtext.h:
6350         * text.C: take the rtl methods out of line
6351
6352 2003-03-21 André Pönitz <poenitz@gmx.net>
6353
6354         * metricsinfo.[Ch]: new files containing structures to be passed around
6355         during the two-phase-drawing...
6356
6357 2003-03-21 André Pönitz <poenitz@gmx.net>
6358
6359         * lyxtextclass.C: read 'environment' tag.
6360
6361 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6362
6363         * text2.C (removeRow): fix bug 964
6364
6365 2003-03-20  John Levon  <levon@movementarian.org>
6366
6367         * rowpainter.C:
6368         * text.C:
6369         * text2.C: paint cleanups. Inset::update() dropped font
6370         parameter
6371
6372 2003-03-19  John Levon  <levon@movementarian.org>
6373
6374         * lyxfunc.C: only fitcursor/markDirty if available()
6375
6376 2003-03-19  John Levon  <levon@movementarian.org>
6377
6378         * commandtags.h: rename to ...
6379
6380         * lfuns.h: ... this, and renumber / cleanup
6381
6382 2003-03-19  John Levon  <levon@movementarian.org>
6383
6384         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6385         fit the cursor after an lfun
6386
6387         * BufferView.h:
6388         * BufferView.C:
6389         * BufferView_pimpl.h:
6390         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6391
6392         * LyXAction.C: layout-character should have ReadOnly
6393
6394         * ParagraphParameters.C:
6395         * buffer.C:
6396         * bufferview_funcs.C:
6397         * lyx_cb.C:
6398         * lyxfind.C:
6399         * lyxtext.h:
6400         * text.C:
6401         * text2.C:
6402         * text3.C:
6403         * undo_funcs.C: changes from above
6404
6405 2003-03-18  John Levon  <levon@movementarian.org>
6406
6407         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6408         remove it from update()
6409
6410         * lyxfunc.C: update layout choice after an lfun
6411
6412         * text3.C: remove extra updateLayoutChoice()s
6413
6414 2003-03-18  John Levon  <levon@movementarian.org>
6415
6416         * text.C: top_y change means full repaint, fix
6417         a drawing bug with cursor movement
6418
6419 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * lyxtext.h:
6422         * text.C:
6423         * text2.C: anchor row on setCursor
6424
6425 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * lyxtext.h: remove almost all mutable keywords
6428         * text.C:
6429         * text2.C:
6430         * text3.C: remove const keywords accordingly
6431
6432 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6435         anon namespace
6436         (TeXEnvironment): ditto
6437         (TeXOnePar): ditto
6438
6439 2003-03-17  John Levon  <levon@movementarian.org>
6440
6441         * text.C (rowBreakPoint): remove attempt to fix displayed
6442         math insets inside a manual label
6443
6444 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * lyxtext.h: remove BufferView* as first arg from almost all class
6447         functions.
6448         * other files: adjust.
6449
6450 2003-03-17  John Levon  <levon@movementarian.org>
6451
6452         * lyxtext.h:
6453         * undo_funcs.C:
6454         * text2.C: more paint cleanups
6455
6456         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6457
6458         * rowpainter.h:
6459         * rowpainter.C: remove "smart" background painting code
6460
6461 2003-03-16  John Levon  <levon@movementarian.org>
6462
6463         * lyxtext.h:
6464         * text.C:
6465         * text2.C:
6466         * text3.C: add helper functions for setting refresh_row/y
6467
6468 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6469
6470         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6471         newline inset which *can* get inserted in the pass_thru layouts.
6472         This is primarily for literate documents.
6473
6474 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6475
6476         * buffer.C: increment LYX_FORMAT to 223
6477
6478 2003-03-14 André Pönitz <poenitz@gmx.net>
6479
6480         * textclass.h: prepare for environment handling, ws changes
6481         * lyxlayout.C: read latexheader and latexfooter tags
6482
6483 2003-03-14  John Levon  <levon@movementarian.org>
6484
6485         * text2.C: rewrite ::status() a bit
6486
6487 2003-03-13  John Levon  <levon@movementarian.org>
6488
6489         * lyxtext.h: add some docs
6490
6491 2003-03-13  John Levon  <levon@movementarian.org>
6492
6493         * lyxtext.h:
6494         * text.C:
6495         * text2.C:
6496         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6497
6498 2003-03-13  John Levon  <levon@movementarian.org>
6499
6500         * text3.C: fix appendix redrawing
6501
6502 2003-03-13  John Levon  <levon@movementarian.org>
6503
6504         * text.C (setHeightOfRow):
6505         * rowpainter.h:
6506         * rowpainter.C: make appendix mark have the text
6507           "Appendix" so the user knows what it is
6508
6509         * LColor.h:
6510         * LColor.C: s/appendixline/appendix/ from above
6511
6512 2003-03-13  John Levon  <levon@movementarian.org>
6513
6514         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6515
6516         * text.C: fix a getChar(pos) bug properly
6517
6518 2003-03-13  Angus Leeming  <leeming@lyx.org>
6519
6520         * commandtags.h:
6521         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6522         Probably only temporary. Let's see how things pan out.
6523
6524         * BufferView.C (unlockInset):
6525         * BufferView_pimpl.C (fitCursor):
6526         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6527
6528         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6529         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6530
6531         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6532         new functions that convert ParagraphParameters to and from a string.
6533
6534         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6535         BufferView::Pimpl's dispatch.
6536         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6537
6538 2003-03-13 André Pönitz <poenitz@gmx.net>
6539
6540         * lyxfunc.C:
6541         * text3.C:
6542         * factory.C: make it aware of InsetEnv
6543
6544 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * text2.C (setCursor): never ask for one past last
6547         (setCursor): add some debugging messages.
6548
6549         * text.C (singleWidth): never ask for one past last
6550         (singleWidth): ditto
6551         (leftMargin): ditto
6552         (rightMargin): ditto
6553         (rowBreakPoint): ditto
6554         (setHeightOfRow): ditto
6555         (prepareToPrint): ditto
6556
6557         * rowpainter.C (paintBackground): never ask for one past last
6558         (paintText): never ask for one past last
6559
6560         * paragraph_pimpl.C (getChar): make the assert stricter, never
6561         allow the one past last pos to be taken
6562
6563         * paragraph.C (getChar): ws changes only
6564
6565         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6566         (numberOfSeparators): ditto
6567         (numberOfHfills): ditto
6568
6569 2003-03-12  John Levon  <levon@movementarian.org>
6570
6571         * author.h:
6572         * author.C:
6573         * bufferparams.h:
6574         * bufferparams.C:
6575         * paragraph_funcs.C: fix per-buffer authorlists
6576
6577 2003-03-12  John Levon  <levon@movementarian.org>
6578
6579         * text.C: fix newline in right address
6580
6581 2003-03-12  Angus Leeming  <leeming@lyx.org>
6582
6583         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6584         duplicate those in LyXFunc::dispatch.
6585
6586         * commandtags.h:
6587         * LyXAction.C:
6588         * ToolbarDefaults.C:
6589         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6590         Add LFUN_FONTFREE_UPDATE.
6591
6592         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6593         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6594
6595         * bufferview_func.[Ch]: several new functions to facilliate
6596         transfer of data to and from the character dialog.
6597
6598 2003-03-12  John Levon  <levon@movementarian.org>
6599
6600         * buffer.C:
6601         * paragraph.h:
6602         * paragraph.C:
6603         * paragraph_funcs.C:
6604         * paragraph_pimpl.C:
6605         * sgml.C:
6606         * tabular.C:
6607         * text.C:
6608         * text3.C: remove META_NEWLINE in favour of an inset
6609
6610         * rowpainter.h:
6611         * rowpainter.C: remove paintNewline (done by inset)
6612
6613 2003-03-12  John Levon  <levon@movementarian.org>
6614
6615         * paragraph_pimpl.C: complain about bad getChar()s
6616         for a while at least
6617
6618 2003-03-12  John Levon  <levon@movementarian.org>
6619
6620         * buffer.h:
6621         * buffer.C: move paragraph read into a separate function,
6622         a little renaming to reflect that.
6623
6624         * bufferparams.h:
6625         * bufferparams.C: remove the author_ids map, not necessary now
6626
6627         * factory.h:
6628         * factory.C: moved Buffer::readInset to here
6629
6630         * paragraph_funcs.h:
6631         * paragraph_funcs.C: readParagraph free function moved from
6632         buffer.C
6633
6634         * tabular.C: name change
6635
6636 2003-03-12  John Levon  <levon@movementarian.org>
6637
6638         * buffer.C:
6639         * ParagraphParameters.C: move par params input to
6640         a read() method
6641
6642         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6643         behave like a normal read from the stream wrt reading
6644         a line vs. a \\token
6645
6646 2003-03-12  John Levon  <levon@movementarian.org>
6647
6648         * paragraph.C:
6649         * ParagraphParameters.h:
6650         * ParagraphParameters.C: move output code to a
6651         ::write() method
6652
6653 2003-03-12  John Levon  <levon@movementarian.org>
6654
6655         * BufferView.C (insertLyXFile):
6656         * buffer.h:
6657         * buffer.C:
6658         * tabular.C: use a parlist iterator for creating the
6659           document.
6660
6661 2003-03-12  John Levon  <levon@movementarian.org>
6662
6663         * buffer.C: make current_change static local not
6664           static file-scope
6665
6666 2003-03-12  John Levon  <levon@movementarian.org>
6667
6668         * buffer.C: fix insertStringAsLines for change tracking
6669
6670 2003-03-12  John Levon  <levon@movementarian.org>
6671
6672         * BufferView.C:
6673         * tabular.C:
6674         * buffer.h:
6675         * buffer.C:
6676         * bufferparams.h:
6677         * bufferparams.C: move author list into params. Rename some
6678           functions. Move the header reading into a separate token
6679           loop. Move the header token reading into BufferParams.
6680
6681 2003-03-12  John Levon  <levon@movementarian.org>
6682
6683         * changes.C: put debug inside lyxerr.debugging() checks
6684
6685 2003-03-11 André Pönitz <poenitz@gmx.net>
6686
6687         * factory.C: make it aware of InsetHFill
6688
6689 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6690
6691         * buffer.C (latexParagraphs): move function from here...
6692         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6693         args.
6694
6695 2003-03-10  Angus Leeming  <leeming@lyx.org>
6696
6697         * LyXAction.C (init): fix bug in poplating array with multiple entries
6698         with the same LFUN (spotted by JMarc).
6699
6700 2003-03-10  John Levon  <levon@movementarian.org>
6701
6702         * text.C:
6703         * text2.C: move getColumnNearX() near its
6704         only call site
6705
6706 2003-03-10  John Levon  <levon@movementarian.org>
6707
6708         * text.C: fix break before a minipage
6709
6710 2003-03-10  John Levon  <levon@movementarian.org>
6711
6712         * text.C: fix the last commit
6713
6714 2003-03-09  John Levon  <levon@movementarian.org>
6715
6716         * lyxtext.h:
6717         * text.C:
6718         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6719         bug 365 (don't break before insets unless needed). Don't
6720         return a value > last under any circumstances.
6721
6722 2003-03-09  Angus Leeming  <leeming@lyx.org>
6723
6724         * BufferView_pimpl.C (trackChanges, dispatch): call
6725         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6726
6727 2003-03-09  Angus Leeming  <leeming@lyx.org>
6728
6729         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6730         than Dialogs::showAboutlyx().
6731
6732 2003-03-09  Angus Leeming  <leeming@lyx.org>
6733
6734         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6735         than Dialogs::showTabularCreate().
6736
6737 2003-03-09  John Levon  <levon@movementarian.org>
6738
6739         * lyxtext.h:
6740         * text.C:
6741         * text2.C: 3rd arg to nextBreakPoint was always the same.
6742           Use references.
6743
6744 2003-03-08  John Levon  <levon@movementarian.org>
6745
6746         * lyxrow.C:
6747         * paragraph.C:
6748         * paragraph.h:
6749         * rowpainter.C:
6750         * text.C:
6751         * text2.C: Remove the "main" bit from the "main body"
6752           notion.
6753
6754 2003-03-08  John Levon  <levon@movementarian.org>
6755
6756         * text.C (leftMargin): The left margin of an empty
6757         manual label paragraph should not include the label width
6758         string length.
6759
6760         * text.C (prepareToPrint): don't attempt to measure hfills
6761         for empty manual label paragraphs - the answer should be 0
6762
6763 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6764
6765         * CutAndPaste.C: remove commented code and reindent.
6766
6767 2003-03-08  John Levon  <levon@movementarian.org>
6768
6769         * lyxfunc.h:
6770         * lyxfunc.C: move reloadBuffer()
6771
6772         * BufferView.h:
6773         * BufferView.C: to here
6774
6775         * lyxvc.C: add comment
6776
6777         * vc-backend.h:
6778         * vc-backend.C: call bv->reload() to avoid
6779           getStatus() check on MENURELOAD
6780
6781 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6782
6783         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6784         to an old format .dep file.
6785
6786 2003-03-07  Angus Leeming  <leeming@lyx.org>
6787
6788         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6789         when the LFUN_MOUSE_RELEASE should have been handled by
6790         inset->localDispatch.
6791
6792 2003-03-07  Angus Leeming  <leeming@lyx.org>
6793
6794         * BufferView_pimpl.C (dispatch):
6795         * LyXAction.C (init):
6796         * ToolbarDefaults.C (init):
6797         * commandtags.h:
6798         * lyxfunc.C (getStatus):
6799         remove LFUN_INSET_GRAPHICS.
6800
6801         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6802
6803 2003-03-07  Angus Leeming  <leeming@lyx.org>
6804
6805         * commandtags.h:
6806         * LyXAction.C (init):
6807         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6808
6809         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6810
6811         * commandtags.h:
6812         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6813
6814         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6815         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6816
6817 2003-03-07  Angus Leeming  <leeming@lyx.org>
6818
6819         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6820         remove "ert".
6821
6822 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * ParagraphList.C (front): new function
6825         (back): implement
6826
6827 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6828
6829         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6830         and top_row_offset_. removed var first_y.
6831         * text.C (top_y):
6832         * text2.C (LyXText, removeRow):
6833         * text3.C:
6834         * BufferView_pimpl.C:
6835         use these methods instead of using first_y
6836
6837 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * text2.C (pasteSelection): adjust for checkPastePossible
6840
6841         * CutAndPaste.C: remove Paragraph * buf and replace with
6842         ParagraphList paragraphs.
6843         (DeleteBuffer): delete
6844         (cutSelection): change the tc type to textclass_type
6845         (copySelection): change the tc type to textclass_type
6846         (copySelection): adjust for ParagraphList
6847         (pasteSelection): change the tc type to textclass_type
6848         (pasteSelection): adjust for Paragraphlist
6849         (nrOfParagraphs): simplify for ParagraphList
6850         (checkPastePossible): simplify for ParagraphList
6851         (checkPastePossible): remove unused arg
6852
6853         * ParagraphList.C (insert): handle the case where there are no
6854         paragraphs yet.
6855
6856         * CutAndPaste.h: make CutAndPaste a namespace.
6857
6858         * text3.C (dispatch): adjust
6859
6860         * text.C (breakParagraph): add a ParagraphList as arg
6861
6862         * paragraph_funcs.C (breakParagraph): change to take a
6863         BufferParams and a ParagraphList as args.
6864         (breakParagraphConservative): ditto
6865         (mergeParagraph): ditto
6866         (TeXDeeper): add a ParagraphList arg
6867         (TeXEnvironment): ditto
6868         (TeXOnePar): ditto
6869
6870         * buffer.C (readLyXformat2): adjust
6871         (insertStringAsLines): adjust
6872         (latexParagraphs): adjust
6873
6874         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6875         (cutSelection): adjust
6876         (pasteSelection): adjust
6877
6878         * BufferView_pimpl.C (insertInset): adjust
6879
6880 2003-03-05  Angus Leeming  <leeming@lyx.org>
6881
6882         * commandtags.h:
6883         * LyXAction.C (init):
6884         * BufferView_pimpl.C (dispatch):
6885         * lyxfunc.C (getStatus):
6886         remove LFUN_CHILD_INSERT.
6887
6888         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6889
6890 2003-03-05  Angus Leeming  <leeming@lyx.org>
6891
6892         * commandtags.h:
6893         * LyXAction.C (init):
6894         * src/factory.C (createInset):
6895         * lyxfunc.C (getStatus):
6896         * text3.C (dispatch):
6897         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6898
6899         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6900
6901 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * ParagraphList.C (insert): handle insert right before end()
6904         (erase): fix cases where it can be first or last paragraph.
6905
6906 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6909         Paragraph::next and Paragraph::previous
6910         (TeXOnePar): ditto
6911
6912         * text.C (breakParagraph): adjust
6913
6914         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6915         BufferParams& as arg.
6916         (breakParagraph): use ParagraphList::insert
6917         (breakParagraphConservative): take a Buffer* instead of a
6918         BufferParams& as arg.
6919         (breakParagraphConservative): use ParagraphList::insert.
6920
6921         * buffer.C (insertStringAsLines): un-const it
6922         (insertStringAsLines): adjust
6923
6924         * ParagraphList.C (insert): new function
6925
6926         * CutAndPaste.C (pasteSelection): adjust
6927
6928         * text.C (backspace): adjust
6929
6930         * tabular.C (SetMultiColumn): adjust
6931
6932         * CutAndPaste.C (cutSelection): adjust
6933         (pasteSelection): adjust
6934
6935         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6936         Buffer const * as arg
6937
6938         * ParagraphList.C (erase): new function
6939         * paragraph_funcs.C (mergeParagraph): use it
6940         (mergeParagraph): make it take a Buffer* instead of a
6941         BufferParams* as arg
6942
6943         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6944         as arg
6945         (breakParagraphConservative): ditto
6946
6947         * paragraph.h: remove the breakParagraph friend
6948
6949         * paragraph.C (eraseIntern): new function
6950         (setChange): new function
6951
6952         * paragraph_funcs.C (mergeParagraph): make it take a
6953         ParagraphList::iterator instead of a Paragraph *, adjust
6954         accordingly.
6955
6956         * paragraph.h: move an #endif so that the change tracking stuff
6957         also works in the NO_NEXT case.
6958
6959 2003-03-04  Angus Leeming  <leeming@lyx.org>
6960
6961         * commandtags.h:
6962         * LyXAction.C: new LFUN_INSET_MODIFY.
6963
6964         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6965         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6966
6967 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * several files: ws changes only
6970
6971         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6972         (TeXEnvironment): ditto
6973         (TeXDeeper): ditto
6974
6975         * buffer.C (makeLaTeXFile): adjust
6976         (latexParagraphs): make it take ParagraphList::iterator as args
6977
6978 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * buffer.C (latexParagraphs): adjust
6981
6982         * paragraph.C (TeXOnePar): move function...
6983         (optArgInset): move function...
6984         (TeXEnvironment): move function...
6985         * paragraph_pimpl.C (TeXDeeper): move function...
6986         * paragraph_funcs.C: ...here
6987
6988         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6989
6990 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * buffer.C (readInset): remove compability code for old Figure and
6993         InsetInfo insets
6994
6995 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * buffer.C: ws changes
6998         (readInset):
6999
7000         * BufferView_pimpl.C: ditto
7001         * author.C: ditto
7002         * buffer.h: ditto
7003         * bufferlist.h: ditto
7004         * changes.h: ditto
7005         * lyxfunc.C: ditto
7006
7007 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7008
7009         * converter.[Ch]: split into itself +
7010         * graph.[Ch]
7011         * format.[Ch]
7012         * Makefile.am: += graph.[Ch] + format.[Ch]
7013         * MenuBackend.C
7014         * buffer.C
7015         * exporter.C
7016         * importer.C
7017         * lyx_main.C
7018         * lyxfunc.C
7019         * lyxrc.C: added #include "format.h"
7020
7021 2003-02-27  Angus Leeming  <leeming@lyx.org>
7022
7023         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7024           a label.
7025
7026         * factory.C (createInset): add "label" to the factory.
7027
7028         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7029           string and do no more.
7030
7031 2003-02-27  Angus Leeming  <leeming@lyx.org>
7032
7033         * commandtags.h:
7034         * LyXAction.C (init):
7035         * factory.C (createInset):
7036         * BufferView_pimpl.C (dispatch):
7037           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7038
7039         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7040
7041         * lyxfunc.C (dispatch):
7042         * text3.C (dispatch): pass name to params2string.
7043
7044 2003-02-26  Angus Leeming  <leeming@lyx.org>
7045
7046         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7047           blocks together.
7048           Rearrange the ~includes. Strip out the unnecessary ones.
7049
7050         * factory.C (createInset): reformat.
7051           create new insets for the various LFUN_XYZ_APPLY lfuns.
7052
7053 2003-02-26  John Levon  <levon@movementarian.org>
7054
7055         * lyxrow.h:
7056         * lyxrow.C: add isParStart,isParEnd helpers
7057
7058         * paragraph.h: make isInserted/DeletedText take refs
7059
7060         * paragraph_funcs.h:
7061         * paragraph_funcs.C: remove #if 0'd code
7062
7063         * lyxtext.h:
7064         * text3.C:
7065         * text2.C:
7066         * text.C: use lyxrow helpers above.
7067           Move draw and paint routines to RowPainter.
7068           Make several methods use refs not pointers.
7069           Make backgroundColor() const.
7070           Add markChangeInDraw(), isInInset().
7071           Merge changeRegionCase into changeCase.
7072           Make workWidth() shouldn't-happen code into an Assert.
7073
7074         * rowpainter.h:
7075         * rowpainter.C: new class for painting a row.
7076
7077         * vspace.h:
7078         * vspace.C: make inPixels take a ref
7079
7080 2003-02-26  Angus Leeming  <leeming@lyx.org>
7081
7082         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7083         LFUN_REF_APPLY.
7084
7085 2003-02-25  John Levon  <levon@movementarian.org>
7086
7087         * ispell.C: give the forked command a more accurate name
7088
7089 2003-02-22  John Levon  <levon@movementarian.org>
7090
7091         * toc.h:
7092         * toc.C: make TocItem store an id not a Paragraph *
7093           (bug #913)
7094
7095 2003-02-21  Angus Leeming  <leeming@lyx.org>
7096
7097         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7098           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7099           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7100           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7101           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7102           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7103
7104         * BufferView_pimpl.C (dispatch):
7105         * LyXAction.C (init):
7106         * factory.C (createInset):
7107         * lyxfunc.C (getStatus, dispatch):
7108         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7109
7110 2003-02-21  Angus Leeming  <leeming@lyx.org>
7111
7112         * BufferView_pimpl.C (MenuInsertLyXFile):
7113         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7114         * lyxfunc.C (menuNew, open, doImport):
7115           no longer pass a LyXView & to fileDlg.
7116
7117 2003-02-21  Angus Leeming  <leeming@lyx.org>
7118
7119         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7120         * LyXAction.C: change, BIBKEY to BIBITEM.
7121         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7122         Change InsetBibKey to InsetBibitem.
7123         Change BIBKEY_CODE to BIBITEM_CODE.
7124         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7125         * factory.C: replace insetbib.h with insetbibitem.h.
7126         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7127         * paragraph.C: replace insetbib.h with insetbibitem.h.
7128         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7129         Change bibkey() to bibitem().
7130         * text.C: remove insetbib.h.
7131         * text2.C: replace insetbib.h with insetbibitem.h.
7132         change bibkey() to bibitem().
7133         * text3.C: remove insetbib.h.
7134         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7135
7136 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7137
7138         * lyxrc.C (output): enclose user email in quotes (in case there are
7139         several words)
7140
7141 2003-02-18  John Levon  <levon@movementarian.org>
7142
7143         * buffer.h: add std::
7144
7145 2003-02-17  John Levon  <levon@movementarian.org>
7146
7147         * SpellBase.h:
7148         * ispell.h:
7149         * ispell.C:
7150         * pspell.h:
7151         * pspell.C: reworking. Especially in ispell, a large
7152           number of clean ups and bug fixes.
7153
7154         * lyxfunc.C: fix revert to behave sensibly
7155
7156 2003-02-17 André Pönitz <poenitz@gmx.net>
7157
7158         * LyXAction.C:
7159         * commandtags.h: new LFUN_INSERT_BIBKEY
7160
7161         * layout.h:
7162         * lyxlayout.C:
7163         * buffer.C:
7164         * factory.C:
7165         * text.C:
7166         * text2.C:
7167         * text3.C:
7168         * paragraph.[Ch]:
7169         * paragraph_func.C: remove special bibkey handling
7170
7171 2003-02-17  John Levon  <levon@movementarian.org>
7172
7173         * text.C (Delete): fix case where delete at the end of
7174           the very first paragraph would not merge the pars
7175
7176 2003-02-17  John Levon  <levon@movementarian.org>
7177
7178         * lyxrow.C: fix lastPrintablePos()
7179
7180 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7181
7182         * bufferparams.C (writeLaTeX): add a std:here
7183
7184         * buffer.C: and remove a using directive there
7185
7186 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7187
7188         * buffer.C (makeLaTeXFile): move the code that generates the
7189           preamble...
7190
7191         * bufferparams.C (writeLaTeX): ... in this new method
7192
7193         * LaTeXFeatures.C (getEncodingSet): make const
7194           (getLanguages): make const
7195
7196         * MenuBackend.C (binding): returns the binding associated to this
7197           action
7198           (add): sets the status of each item by calling getStatus. Adds
7199           some intelligence.
7200           (read): add support for OptSubMenu
7201           (expand): remove extra separator at the end of expanded menu
7202
7203 2003-02-15  John Levon  <levon@movementarian.org>
7204
7205         * BufferView.C:
7206         * BufferView_pimpl.C:
7207         * bufferlist.h:
7208         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7209           inset code that had no actual effect. Remove unneeded status
7210           code.
7211
7212 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7213
7214         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7215           in preamble
7216
7217 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7218
7219         * text.C (drawLengthMarker): also draw an arrow marker for
7220           symbolic lengths (medskip...)
7221
7222 2003-02-14  John Levon  <levon@movementarian.org>
7223
7224         * tabular.h:
7225         * tabular.C: better method names
7226
7227 2003-02-14  John Levon  <levon@movementarian.org>
7228
7229         * BufferView_pimpl.C:
7230         * bufferlist.C:
7231         * buffer.C:
7232         * converter.C:
7233         * lyx_cb.C:
7234         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7235           it's a more accurate name. Remove some pointless uses.
7236
7237 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * text2.C (LyXText): change order of initilizers to shut off
7240           warnings
7241
7242 2003-02-14  John Levon  <levon@movementarian.org>
7243
7244         * buffer.C: use ParIterator for getParFromID()
7245
7246         * paragraph.h:
7247         * paragraph.C:
7248         * paragraph_pimpl.h:
7249         * paragraph_pimpl.C: remove unused getParFromID()
7250
7251 2003-02-14  John Levon  <levon@movementarian.org>
7252
7253         * buffer.C: remove some very old #if 0'd parse code
7254
7255 2003-02-13  John Levon  <levon@movementarian.org>
7256
7257         * text.h:
7258         * text.C:
7259         * text2.C: move hfillExpansion(), numberOfSeparators(),
7260           rowLast(), rowLastPrintable(), numberofHfills(),
7261           numberOfLabelHfills() ...
7262
7263         * lyxrow.h:
7264         * lyxrow.C: ... to member functions here.
7265
7266         * paragraph.h:
7267         * paragraph.C:
7268         * lyxtext.h:
7269         * text.C: remove LyXText::beginningOfMainBody(), and call
7270           p->beginningOfMainBody() directly. Move the check for
7271           LABEL_MANUAL into the latter.
7272
7273         * text.h:
7274         * text.C:
7275         * text2.C:
7276         * vspace.C:
7277         * BufferView.h:
7278         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7279
7280         * text.h:
7281         * text.C:
7282         * text2.C:
7283         * text3.C:
7284         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7285           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7286
7287 2003-02-13  John Levon  <levon@movementarian.org>
7288
7289         * CutAndPaste.C: remove debug
7290
7291 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7292
7293         * paragraph.C (asString): remove two unused variables
7294
7295         * lyxtextclass.C (readTitleType):
7296           (Read):
7297           (LyXTextClass): handle new members titletype_ and titlename_
7298
7299         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7300
7301 2003-02-09  John Levon  <levon@movementarian.org>
7302
7303         * buffer.h:
7304         * buffer.C: replace hand-coded list with a map for the dep clean
7305
7306 2003-02-08  John Levon  <levon@movementarian.org>
7307
7308         * LaTeX.C: consolidate code into showRunMessage() helper
7309
7310 2003-02-08  John Levon  <levon@movementarian.org>
7311
7312         * lyxfind.C:
7313         * lyxtext.h:
7314         * text2.C:
7315         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7316           and pass the size in explicitly
7317
7318         * BufferView_pimpl.h:
7319         * BufferView_pimpl.C:
7320         * BufferView.h:
7321         * BufferView.C: add getCurrentChange()
7322
7323         * BufferView_pimpl.h:
7324         * BufferView_pimpl.C: handle change lfuns
7325
7326         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7327           for changes. Mark pasted paragraphs as new.
7328
7329         * support/lyxtime.h:
7330         * support/lyxtime.C:
7331         * DepTable.C: abstract time_t as lyx::time_type
7332
7333         * LColor.h:
7334         * LColor.C: add colours for new text, deleted text, changebars
7335
7336         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7337           package use "usenames" option.
7338
7339         * commandtags.h:
7340         * lyxfunc.C:
7341         * LyXAction.C: add change lfuns
7342
7343         * Makefile.am:
7344         * author.h:
7345         * author.C: author handling
7346
7347         * buffer.h:
7348         * buffer.C: add a per-buffer author list, with first entry as
7349           current author. Handle new .lyx tokens for change tracking. Output
7350           author list to .lyx file. Output dvipost stuff to .tex preamble.
7351           Bump lyx format to 222.
7352
7353         * bufferlist.h:
7354         * bufferlist.C: add setCurrentAuthor() to reset current author details
7355           in all buffers.
7356
7357         * bufferparams.h:
7358         * bufferparams.C: add param for tracking
7359
7360         * bufferview_funcs.C: output change info in minibuffer
7361
7362         * Makefile.am:
7363         * changes.h:
7364         * changes.C: add change-tracking structure
7365
7366         * debug.h:
7367         * debug.C: add CHANGES debug flag
7368
7369         * lyxfind.h:
7370         * lyxfind.C: add code for finding the next change piece
7371
7372         * lyxrc.h:
7373         * lyxrc.C: add user_name and user_email
7374
7375         * lyxrow.h:
7376         * lyxrow.C: add a metric for the top of the text line
7377
7378         * lyxtext.h:
7379         * text.C: implement accept/rejectChange()
7380
7381         * lyxtext.h:
7382         * text.C: paint changebars. Paint new/deleted text in the chosen
7383         colours. Strike through deleted text.
7384
7385         * paragraph.h:
7386         * paragraph.C:
7387         * paragraph_pimpl.h:
7388         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7389           in the current change to the insert functions. Rework erase to
7390           mark text as deleted, adding an eraseIntern() and a range-based
7391           erase(). Implement per-paragraph change lookup and
7392           accept/reject.
7393
7394         * paragraph_funcs.C: Fixup paste for change tracking.
7395
7396         * tabular.C: mark added row/columns as new.
7397
7398         * text.C: fix rowLast() to never return -1. Don't allow
7399           spellchecking of deleted text. Track transpose changes. Don't
7400           allow paragraph break or merge where appropriate.
7401
7402         * text2.C: leave cursor at end of selection after a cut.
7403
7404 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7405
7406         * text.C (getLengthMarkerHeight):
7407         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7408         visible on screen too.
7409
7410 2003-02-07  John Levon  <levon@movementarian.org>
7411
7412         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7413
7414 2003-02-05  Angus Leeming  <leeming@lyx.org>
7415
7416         * lyxserver.C (read_ready): revert my patch of 11 September last year
7417         as it sends PC cpu through the roof. Presumably this means that
7418         the lyxserver will no longer run on an Alpha...
7419
7420 2003-01-30  Angus Leeming  <leeming@lyx.org>
7421
7422         * factory.C (createInset): create an InsetCommandParam of type "index"
7423         and use it to 'do the right thing'.
7424
7425         * text2.C (getStringToIndex): ensure that cursor position is always
7426         reset to the reset_cursor position.
7427
7428 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7429
7430         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7431         disabled.
7432
7433 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7434
7435         * bufferview.C:
7436         * lyxcb.C:
7437         * lyxfunc.C: Output messages with identical spelling, punctuation,
7438         and spaces
7439
7440 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7441
7442         * MenuBackend.C (expandFormats): List only viewable export formats
7443         in "View" menu
7444
7445         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7446         message
7447
7448         * lyxfunc.C (getStatus): Make sure that formats other than
7449         "fax" can also be disabled
7450
7451 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7452
7453         * text3.C (dispatch): put the lfuns that insert insets in 3
7454         groups, and call doInsertInset with appropriate arguments.
7455         (doInsertInset): new function, that creates an inset and inserts
7456         it according to some boolean parameters.
7457
7458 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * buffer.C (readFile): remember to pass on 'par' when calling
7461         readFile recursively.
7462
7463 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7464
7465         * MenuBackend.C (expandFormats): add "..." to import formats.
7466
7467 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * paragraph.C (asString): Remove XForms RTL hacks.
7470
7471 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7472         * buffer.C: fix typo
7473
7474 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * Makefile.am (LIBS): delete var
7477         (lyx_LDADD): add @LIBS@ here instead.
7478
7479 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7480
7481         * Clarify the meaning of "wheel mouse jump"
7482
7483 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7484
7485         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7486         tabular in a float
7487
7488 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7489
7490         * importer.C (Loaders): do not preallocate 3 elements in the
7491         vector, since one ends up with 6 elements otherwise
7492
7493 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7494
7495         * DepTable.C (write): write the file name as last element of the
7496         .dep file (because it may contain spaces)
7497         (read): read info in the right order
7498
7499 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7500
7501         * paragraph_pimpl.C (simpleTeXBlanks):
7502         (simpleTeXSpecialChars):
7503         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7504
7505         * tabular.C (latex): add some missing case statements. Reindent.
7506
7507         * MenuBackend.C (expandToc): remove unused variable.
7508
7509 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7510
7511         * LColor.C:
7512         * LaTeX.C:
7513         * LyXAction.C:
7514         * MenuBackend.C:
7515         * buffer.C:
7516         * exporter.C:
7517         * lyxfunc.C:
7518         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7519         and the like.
7520
7521 2003-01-05  John Levon  <levon@movementarian.org>
7522
7523         * BufferView.h:
7524         * BufferView.C: add getEncoding()
7525
7526         * kbsequence.h:
7527         * kbsequence.C: do not store last keypress
7528
7529         * lyxfunc.h:
7530         * lyxfunc.C: store last keypress here instead. Pass encoding
7531           to getISOEncoded()
7532
7533 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7534
7535         * lyx_main.C (init): remove annoying error message when following
7536         symbolic links (bug #780)
7537
7538 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7539
7540         * text.C (insertChar):
7541         * lyxrc.C (getDescription): remove extra spaces
7542
7543 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7544
7545         * lyxrc.C (getDescription): remove extra spaces
7546
7547 2002-12-20  John Levon  <levon@movementarian.org>
7548
7549         * text3.C: hack fix for page up/down across tall rows
7550
7551 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7552
7553         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7554         not been invoked
7555
7556 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7557
7558         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7559         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7560         thesaurus is not compiled in
7561
7562 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7563
7564         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7565
7566 2002-12-16  Angus Leeming  <leeming@lyx.org>
7567
7568         * lyxrc.[Ch]:
7569         * lyx_main.C (init): remove override_x_deadkeys stuff.
7570
7571 2002-12-12  John Levon  <levon@movementarian.org>
7572
7573         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7574           insert. Only remove shift modifier under strict
7575           circumstances.
7576
7577 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * MenuBackend.C (expandToc): fix crash.
7580
7581 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7582
7583         * MenuBackend.C (expandToc): gettext on float names.
7584
7585 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7586
7587         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7588         implement bool empty() [bug 490]
7589
7590 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7591
7592         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7593
7594 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * several files: ws changes
7597
7598 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * text2.C (setCounter): clean up a bit, use boost.format.
7601         (updateCounters): initialize par upon declaration.
7602
7603         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7604         if the layout exists. We do not just store the layout any more.
7605         (SwitchLayoutsBetweenClasses): use boost.format
7606
7607 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7608
7609         * converter.C (convert): if from and to files are the same, use a
7610         temporary files as intermediary
7611
7612 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7613
7614         * commandtags.h:
7615         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7616
7617 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7618
7619         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7620
7621 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * tabular.C (asciiPrintCell): use string(size, char) instead of
7624         explicit loop.
7625
7626         * sgml.C (openTag): fix order of arguments to string constructor
7627         (closeTag): ditto
7628
7629         * lyxfunc.C (dispatch): use boost.format
7630
7631         * lots of files: change "c" -> 'c'
7632
7633 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7634
7635         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7636
7637 2002-11-25  Angus Leeming  <leeming@lyx.org>
7638
7639         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7640
7641         * lyx_main.C (init): compile fix.
7642
7643 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7644
7645         * lyx_cb.C (start): boost.formatify
7646         do not include <iostream>
7647
7648         * lengthcommon.C: ws only
7649
7650         * boost-inst.C,BoostFormat.h: add more explict instantations
7651
7652 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * lots of files: handle USE_BOOST_FORMAT
7655
7656 2002-11-21  John Levon  <levon@movementarian.org>
7657
7658         * pspell.C: fix compile
7659
7660 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7661
7662         * lyxfunc.C (dispatch): use boost::format
7663         (open): ditto
7664         (doImport): ditto
7665
7666         * lyxfont.C (stateText): use boost::format
7667
7668         * lyx_main.C (LyX): use boost::format
7669         (init): ditto
7670         (queryUserLyXDir): ditto
7671         (readRcFile): ditto
7672         (parse_dbg): ditto
7673         (typedef boost::function): use the recommened syntax.
7674
7675         * importer.C (Import): use boost::format
7676
7677         * debug.C (showLevel): use boost::format
7678
7679         * converter.C (view): use boost::format
7680         (convert): ditto
7681         (move): ditto
7682         (scanLog): ditto
7683
7684         * bufferview_funcs.C (currentState): use boost::format
7685
7686         * bufferlist.C (emergencyWrite): use boost::format
7687
7688         * buffer.C (readLyXformat2): use boost::format
7689         (parseSingleLyXformat2Token): ditto
7690
7691         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7692
7693         * LaTeX.C (run): use boost::format
7694
7695         * Chktex.C (scanLogFile): use boost::format
7696
7697         * BufferView_pimpl.C (savePosition): use boost::format
7698         (restorePosition): ditto
7699         (MenuInsertLyXFile): ditto
7700
7701         * BoostFormat.h: help file for explicit instation.
7702
7703 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7704
7705         * tabular.C (latex): Support for block alignment in fixed width
7706         columns.
7707
7708 2002-11-17  John Levon  <levon@movementarian.org>
7709
7710         * BufferView_pimpl.C:
7711         * lyx_cb.C:
7712         * lyxfunc.C: split filedialog into open/save
7713
7714 2002-11-08  Juergen Vigna  <jug@sad.it>
7715
7716         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7717         by my last patch (hopefully).
7718
7719 2002-11-08  John Levon  <levon@movementarian.org>
7720
7721         * iterators.h:
7722         * iterators.C:
7723         * buffer.h:
7724         * buffer.C:
7725         * paragraph.h:
7726         * paragraph.C:
7727         * toc.h:
7728         * toc.C: ParConstIterator, and use it (from Lars)
7729
7730 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7731
7732         * lyxtextclass.[Ch]: revise and add doxygen comments
7733
7734 2002-11-07  John Levon  <levon@movementarian.org>
7735
7736         * text.C: fix progress value for spellchecker
7737
7738         * toc.C: fix navigate menu for insetwrap inside minipage
7739
7740         * paragraph_funcs.C: added FIXME for suspect code
7741
7742 2002-11-07  John Levon  <levon@movementarian.org>
7743
7744         * BufferView_pimpl.C: fix redrawing of insets
7745           on buffer switch
7746
7747 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7748
7749         * text2.C (updateCounters): fix bug 668
7750
7751 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7752
7753         * text3.C (dispatch): Do not make the buffer dirty when moving the
7754         cursor.
7755
7756 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7757
7758         * vc-backend.C: STRCONV
7759         (scanMaster): ditto
7760
7761         * text2.C (setCounter): STRCONV
7762
7763         * paragraph.C (asString): STRCONV
7764
7765         * lyxlength.C (asString): STRCONV
7766         (asLatexString): ditto
7767
7768         * lyxgluelength.C (asString): STRCONV
7769         (asLatexString): ditto
7770
7771         * lyxfunc.C (dispatch): STRCONV
7772         (open): ditto
7773
7774         * lyxfont.C (stateText): STRCONV
7775
7776         * importer.C (Import): STRCONV
7777
7778         * counters.C (labelItem): STRCONV
7779         (numberLabel): ditto
7780         (numberLabel): remove unused ostringstream o
7781
7782         * chset.C: STRCONV
7783         (loadFile): ditto
7784
7785         * bufferview_funcs.C (currentState): STRCONV
7786
7787         * buffer.C (readFile): STRCONV
7788         (asciiParagraph): ditto
7789         (makeLaTeXFile): ditto
7790
7791         * Spacing.C (writeEnvirBegin): STRCONV
7792
7793         * LaTeXFeatures.C (getLanguages): STRCONV
7794         (getPackages): ditto
7795         (getMacros): ditto
7796         (getBabelOptions): ditto
7797         (getTClassPreamble): ditto
7798         (getLyXSGMLEntities): ditto
7799         (getIncludedFiles): ditto
7800
7801         * LaTeX.C: STRCONV
7802         (run): ditto
7803         (scanAuxFile): ditto
7804         (deplog): ditto
7805
7806         * LString.h: add the STRCONV macros
7807
7808         * BufferView_pimpl.C (savePosition): STRCONV
7809         (restorePosition): ditto
7810         (MenuInsertLyXFile): ditto
7811
7812         * vc-backend.C (scanMaster): change from submatch[...] to
7813         submatch.str(...)
7814
7815         * funcrequest.C: include config.h
7816
7817         * factory.C: include config.h
7818
7819         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7820
7821         * box.C: include config.h
7822
7823         * LaTeX.C (scanAuxFile): change from submatch[...] to
7824         submatch.str(...)
7825         (deplog): ditto
7826
7827 2002-10-25  Angus Leeming  <leeming@lyx.org>
7828
7829         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7830
7831         * ispell.[Ch] (setError): new method.
7832         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7833         Use setError() insetead of goto END.
7834
7835         * lyx_cb.C (AutoSave): move out child process into new class
7836         AutoSaveBuffer.
7837
7838 2002-10-30  John Levon  <levon@movementarian.org>
7839
7840         * text3.C: make start appendix undoable
7841
7842 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7843
7844         * lyxlength.C (inPixels): Fix returned value.
7845
7846         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7847         environment.
7848
7849 2002-10-24  Angus Leeming  <leeming@lyx.org>
7850
7851         * lyxgluelength.h: no need to forward declare BufferParams
7852         or BufferView, so don't.
7853
7854 2002-10-21  John Levon  <levon@movementarian.org>
7855
7856         * BufferView.C: menuUndo ->undo, redo
7857
7858         * BufferView.h: document, remove dead, make some methods private
7859
7860         * paragraph_funcs.h:
7861         * paragraph_funcs.C:
7862         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7863
7864         * buffer.h:
7865         * buffer.C:
7866         * sgml.h:
7867         * sgml.C: move sgml open/close tag into sgml.C
7868
7869         * bufferview_funcs.h: unused prototype
7870
7871         * lyxfunc.h:
7872         * lyxfunc.C: remove unused
7873
7874         * lyxtext.h:
7875         * text.C: remove unused
7876
7877 2002-10-21  John Levon  <levon@movementarian.org>
7878
7879         * BufferView.h:
7880         * BufferView.C:
7881         * BufferView_pimpl.h:
7882         * BufferView_pimpl.C: fix mouse wheel handling based on
7883           patch from Darren Freeman
7884
7885 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7886
7887         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7888
7889 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7890
7891         * lyxlength.C (inPixels): Fix hanfling of negative length.
7892         Fix LyXLength::MU case.
7893
7894 2002-10-16  John Levon  <levon@movementarian.org>
7895
7896         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7897
7898 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7899
7900         * converter.C (view): add support for $$i (file name) and $$p
7901         (file path) for the viewer command. If $$i is not specified, then
7902         it is appended to the command (for compatibility with old syntax)
7903
7904 2002-10-14  Juergen Vigna  <jug@sad.it>
7905
7906         * undo_funcs.C (textHandleUndo): alter the order in which the
7907         new undopar is added to the LyXText, as we have to set first
7908         the right prev/next and then add it as otherwise the rebuild of
7909         LyXText is not correct. Also reset the cursor to the right paragraph,
7910         with this IMO we could remove the hack in "redoParagraphs()".
7911
7912 2002-10-09  Angus Leeming  <leeming@lyx.org>
7913
7914         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7915         to turn off an optimisation if a new inset is to be inserted.
7916
7917 2002-10-11 André Pönitz <poenitz@gmx.net>
7918
7919         * lyxtext.h: make some functions public to allow access
7920         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7921
7922 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7923
7924         * text3.C (dispatch): when changing layout, avoid an infinite loop
7925         [bug #652]
7926
7927 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7928
7929         * lyxrc.C (read): treat a viewer or converter command of "none" as
7930         if it were empty.
7931
7932         * MenuBackend.C (expandFormats): for an update, also allow the
7933         formats that are not viewable
7934
7935         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7936         script if it is newer than the lyxrc.defaults in user directory
7937
7938 2002-10-07 André Pönitz <poenitz@gmx.net>
7939
7940         * text.C: Vitaly Lipatov's small i18n fix
7941
7942 2002-09-25  Angus Leeming  <leeming@lyx.org>
7943
7944         * ispell.h: doxygen fix.
7945
7946 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7947
7948         * buffer.h (readFile): Add a new argument to the method, to allow
7949         reading of old-format templates.
7950
7951 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7952
7953         * toc.C (getTocList): Get TOC from InsetWrap.
7954
7955 2002-09-16  John Levon  <levon@movementarian.org>
7956
7957         * lyxfunc.C: check tabular for cut/copy too
7958
7959 2002-09-12  John Levon  <levon@movementarian.org>
7960
7961         * LyXAction.C: tidy
7962
7963         * factory.h:
7964         * factory.C: add header
7965
7966         * paragraph_funcs.h:
7967         * paragraph_funcs.C: cleanup
7968
7969 2002-09-11  John Levon  <levon@movementarian.org>
7970
7971         * PrinterParams.h: odd/even default to true
7972
7973 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7974
7975         * PrinterParams.h: update printer parameters for new xforms dialog
7976
7977 2002-09-11  Angus Leeming  <leeming@lyx.org>
7978
7979         * lyxserver.C (read_ready): re-write to make it more transparent
7980         and to make it work in coherent fashion under Tru64 Unix.
7981
7982 2002-09-11  André Pönitz <poenitz@gmx.net>
7983
7984         * commandtags.h:
7985         * LyXAction.C:
7986         * text3.C: implement LFUN_WORDSEL
7987
7988 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7991         make floatlist_ a boost::shared_ptr<FloatList>
7992
7993         * lyxtextclass.C: include FloatList.h
7994         (LyXTextClass): initialize floatlist_
7995         (TextClassTags): add TC_NOFLOAT
7996         (Read): match "nofloat" to TC_NOFLOAT and use it.
7997         (readFloat): modify call to floatlist_
7998         (floats): ditto
7999         (floats): ditto
8000
8001         * FloatList.[Ch] (FloatList): remove commented out float
8002         initialization.
8003         (erase): new function
8004
8005 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8006
8007         * MenuBackend.C (expandToc): fix crash when there is no document
8008         open
8009
8010 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8011
8012         * many files: Add insetwrap.
8013
8014 2002-09-09  John Levon  <levon@movementarian.org>
8015
8016         * text2.C: remove confusing and awkward depth wraparound
8017
8018 2002-09-09  John Levon  <levon@movementarian.org>
8019
8020         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8021
8022         * buffer.h:
8023         * buffer.C: remove getIncludeonlyList()
8024
8025         * paragraph.C:
8026         * lyxfunc.C: remove headers
8027
8028 2002-09-09  Juergen Vigna  <jug@sad.it>
8029
8030         * text.C (getColumnNearX): fix form Michael this is most
8031         probably a cut&paste bug.
8032
8033 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8036
8037         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8038         references, ws changes.
8039
8040         * text2.C (init): update counters after init
8041         (insertParagraph): no need to set counter on idividual paragraphs.
8042         (setCounter): access the counters object in the textclass object
8043         on in the buffer object.
8044         (updateCounters): ditto
8045
8046         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8047         shared_ptr<Counters> to avoid loading counters.h in all
8048         compilation units.
8049         (LyXTextClass): initialize ctrs_
8050         (TextClassTags): add TC_COUNTER, and ...
8051         (Read): use it here.
8052         (CounterTags): new tags
8053         (readCounter): new function
8054         (counters): new funtion
8055         (defaultLayoutName): return a const reference
8056
8057         * counters.C (Counters): remove contructor
8058         (newCounter): remove a couple of unneeded statements.
8059         (newCounter): simplify a bit.
8060         (numberLabel): some small formatting changes.
8061
8062         * buffer.[Ch]: remove all traces of counters, move the Counters
8063         object to the LyXTextClass.
8064
8065 2002-09-06  Alain Castera  <castera@in2p3.fr>
8066
8067         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8068         package to set the horizontal alignment on fixed width columns.
8069
8070         * lyx_sty.C:
8071         * lyx_sty.h: added tabularnewline macro def.
8072
8073         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8074
8075 2002-09-06  John Levon  <levon@movementarian.org>
8076
8077         * LyXAction.C: tooltips for sub/superscript
8078
8079         * MenuBackend.C: a bit more verbose
8080
8081         * lyxfunc.C: tiny clean
8082
8083         * undo_funcs.C: document undo_frozen
8084
8085 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8086
8087         * counters.C (Counters): add missing algorithm counter.
8088
8089         * text2.C (setCounter): lookup the counter with layouts latexname
8090         instead of by section number.
8091         (setCounter): use a hackish way to lookup the correct enum
8092         counter.
8093         a float name->type change
8094         reset enum couners with counter name directly instead of depth value.
8095
8096         * counters.C (Counters): remove the push_backs, change to use the
8097         float type not the float name.
8098         (labelItem): remove unused string, float name->type change
8099
8100         * counters.h: don't include vector, loose the enums and sects vectors
8101
8102 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8105         (Read): add float->TC_FLOAT to textclassTags
8106         (Read): and handle it in the switch
8107         (readFloat): new function
8108
8109         * FloatList.C (FloatList): comment out the hardcoded float
8110         definitions.
8111
8112         * lyxlayout.h: ws change.
8113
8114 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8115
8116         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8117
8118 2002-09-03  Angus Leeming  <leeming@lyx.org>
8119
8120         * BufferView_pimpl.h: qualified name is not allowed in member
8121         declaration: WorkArea & Pimpl::workarea() const;
8122
8123         * factory.C: added using std::endl directive.
8124
8125         * text3.C: added using std::find and std::vector directives.
8126
8127 2002-08-29  André Pönitz <poenitz@gmx.net>
8128
8129         * lyxtext.h:
8130         * text2.C: remove unused member number_of_rows
8131
8132         * Makefile.am:
8133         * BufferView2.C: remove file, move contents to...
8134         * BufferView.C: ... here
8135
8136         * BufferView_pimpl.C:
8137         * factory.C: move more inset creation to factory
8138
8139         * vspace.C: avoid direct usage of LyXText, ws changes
8140
8141         * BufferView.[Ch]:
8142                 don't provide direct access to WorkArea, use two simple
8143                 acessors haveSelction() and workHeight() instead
8144
8145
8146 2002-08-29  John Levon  <levon@movementarian.org>
8147
8148         * BufferView_pimpl.C (dispatch): do not continue when
8149           no buffer
8150
8151 2002-08-28  André Pönitz <poenitz@gmx.net>
8152
8153         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8154
8155         * BufferView.h:
8156         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8157
8158 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8159
8160         * buffer.C: increment LYX_FORMAT to 221
8161
8162         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8163         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8164
8165         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8166
8167         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8168
8169 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8170
8171         * factory.C (createInset): use LyXTextClass::floats
8172
8173         * MenuBackend.C (expandFloatListInsert):
8174         (expandFloatInsert):
8175         (expandToc):
8176
8177         * text2.C (setCounter):
8178
8179         * LaTeXFeatures.C (useFloat):
8180         (getFloatDefinitions):
8181
8182         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8183
8184         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8185         floatlist_, with accessor floats().
8186
8187         * FloatList.h: remove global FloatList
8188
8189 2002-08-26  André Pönitz <poenitz@gmx.net>
8190
8191         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8192
8193         * BufferView.h:
8194         * BufferView2.C:
8195         * BufferView_pimpl.C:
8196         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8197
8198 2002-08-25  John Levon  <levon@movementarian.org>
8199
8200         * LyXAction.C: fix margin note description
8201
8202 2002-08-24  John Levon  <levon@movementarian.org>
8203
8204         * buffer.C:
8205         * bufferlist.C:
8206         * bufferview_funcs.C:
8207         * lyxfont.C:
8208         * undo_funcs.C: cleanups
8209
8210         * lyxfunc.C: disable CUT/COPY when no selection
8211
8212 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8213
8214         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8215         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8216
8217         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8218         Add backward compatibility to "mono", "gray" and "no".
8219
8220 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8221
8222         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8223         (and file_format >= 200).
8224
8225 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8226
8227         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8228
8229 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8232
8233 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8234
8235         * BufferView_pimpl.C:
8236         * LyXAction.C:
8237         * buffer.C:
8238         * commandtags.h:
8239         * lyxfunc.C:
8240         * paragraph.[Ch]:
8241         * text2.C:
8242         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8243         inset and code to make it  work with the paragraph code. The inset
8244         can be anywhere in the paragraph, but will only do the expected
8245         thing in LaTeX if the layout file contains the parameter line
8246                         OptionalArgs    1
8247         (or more generally, a nonzero value) for that layout.
8248
8249 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * paragraph.h: remove the declaration of undefined counters class
8252         function.
8253
8254 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8255
8256         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8257         Dr. Richard Hawkins.
8258
8259 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8260
8261         * paragraph_funcs.h: remove some unneeded includes
8262
8263         * text.C (backspace): pasteParagraph now in global scipe
8264
8265         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8266         (pasteSelection): ditto
8267
8268         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8269         * paragraph_funcs.C (pasteParagraph): ... here
8270
8271 2002-08-20  André Pönitz <poenitz@gmx.net>
8272
8273         * commandtags.h: new LFUNs for swapping/copying table row/colums
8274
8275         * LyXAction.C:
8276         * lyxfunc.C: support for new lfuns
8277
8278 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * tabular.C:
8281         * buffer.[Ch]: remove NO_COMPABILITY stuff
8282
8283 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * boost.C (throw_exception): new file, with helper function for
8286         boost compiled without exceptions.
8287
8288         * paragraph.h:
8289         * lyxlength.C:
8290         * buffer.C:
8291         * ParameterStruct.h:
8292         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8293
8294         * bufferlist.C (emergencyWriteAll): use boost bind
8295
8296         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8297
8298         * text.C: include paragraph_funcs.h
8299         (breakParagraph): breakParagraph is now in global scope
8300
8301         * paragraph_funcs.[Ch]: new files
8302
8303         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8304         global scope
8305
8306         * buffer.C: include paragraph_funcs.h
8307         (insertStringAsLines): breakParagraph is now in global scope
8308
8309         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8310         paragraph_funcs.C
8311
8312         * CutAndPaste.C: include paragraph_funcs.h
8313         (cutSelection): breakParagraphConservative is now in global scope
8314         (pasteSelection): ditto
8315
8316         * buffer.h: declare oprator== and operator!= for
8317         Buffer::inset_iterator
8318
8319         * bufferlist.C (emergencyWrite): don't use fmt(...)
8320
8321         * text3.C: add using std::endl
8322
8323         * BufferView.C (moveCursorUpdate): remove default arg
8324
8325 2002-08-20  André Pönitz <poenitz@gmx.net>
8326
8327         * buffer.[Ch]: move inline functions to .C
8328
8329         * BufferView2.C:
8330         * BufferView_pimpl.C:
8331         * text.C:
8332         * buffer.[Ch]: use improved inset_iterator
8333
8334         * buffer.C:
8335         * paragraph.[Ch]: write one paragraph at a time
8336
8337 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8340         style if style is not specified.
8341
8342 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * text2.C (setCounter): when searching for right label for a
8345         caption, make sure to recurse to parent insets (so that a caption
8346         in a minipage in a figure float works) (bug #568)
8347
8348 2002-08-20  André Pönitz <poenitz@gmx.net>
8349
8350         * text3.C: new file for LyXText::dispatch() and helpers
8351
8352         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8353
8354         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8355
8356 2002-08-19  André Pönitz <poenitz@gmx.net>
8357
8358         * lyxtext.h:
8359         * text.C: new LyXText::dispatch()
8360
8361         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8362
8363 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8364
8365         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8366
8367         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8368         Hebrew text.
8369
8370 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8371
8372         * Makefile.am: use $(variables) instead of @substitutions@
8373
8374 2002-08-15  André Pönitz <poenitz@gmx.net>
8375
8376         * lyxfunc.C:
8377         * BufferView_pimpl.C: streamlining mathed <-> outer world
8378         interaction
8379
8380         * commandtags.h:
8381         * LyXAction.C: remove unused LFUN_MATH
8382
8383 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8386
8387 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8388
8389         * paragraph.C (Paragraph): reformat a bit
8390         (cutIntoMinibuffer): use builtin InsetList function instad of
8391         doing it manually.
8392         (getInset): ditto
8393
8394         * buffer.C: include boost/bind.hpp, add using std::for_each
8395         (writeFileAscii): use ParagraphList iterators
8396         (validate): use for_each for validate traversal of paragraphs
8397         (getBibkeyList): use ParagraphList iterators
8398         (resizeInsets): use for_each to resizeInsetsLyXText for all
8399         paragraphs.
8400         (getParFromID): use ParagraphList iterators
8401
8402         * BufferView2.C (lockInset): use paragraph list and iterators
8403
8404 2002-08-14  John Levon  <levon@movementarian.org>
8405
8406         * lyxserver.C: remove spurious xforms include
8407
8408 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8409
8410         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8411
8412 2002-08-13  André Pönitz <poenitz@gmx.net>
8413
8414         * LyXAction.[Ch]:
8415         * lyxfunc.C: further cleaning
8416
8417 2002-08-13  André Pönitz <poenitz@gmx.net>
8418
8419         * funcrequest.h: new constructor
8420
8421         * funcrequest.C: move stuff here from .h
8422
8423         * Makefile.am:
8424         * BufferView_pimpl.C:
8425         * LyXAction.C:
8426         * toc.C:
8427         * lyxfunc.C: subsequent changes
8428
8429         * lyxfunc.h: new view() member function
8430
8431         * lyxfunc.C: subsequent changes
8432
8433 2002-08-13  Angus Leeming  <leeming@lyx.org>
8434
8435         * BufferView2.C:
8436         * BufferView_pimpl.C:
8437         * buffer.C:
8438         * converter.C:
8439         * importer.C:
8440         * lyxfunc.C:
8441         * lyxvc.C:
8442         * toc.C:
8443         * vc-backend.C:
8444         changes due to the changed LyXView interface that now returns references
8445         to member variables not pointers.
8446
8447 2002-08-13  Angus Leeming  <leeming@lyx.org>
8448
8449         * WordLangTuple (word, lang_code): return references to strings,
8450         not strings.
8451
8452         * BufferView.h:
8453         * SpellBase.h:
8454         * lyxtext.h: forward-declare WordLangTuple.
8455
8456         * BufferView2.C:
8457         * ispell.C:
8458         * pspell.C:
8459         * text.C: #include "WordLangTuple.h".
8460
8461         * lyxtext.h:
8462         * text.C: (selectNextWordToSpellcheck): constify return type.
8463
8464 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8465
8466         * buffer.C:
8467         * buffer.h:
8468         * lyxtext.h:
8469         * paragraph.C:
8470         * paragraph_pimpl.h:
8471         * text.C:
8472         * text2.C:
8473         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8474         suggested by Angus.
8475         Made updateCounter always count from start of buffer, and removed
8476         second argument (par).
8477         Reverted floats number display to '#'. Perhaps I'll try again when the
8478         code base is sanitized a bit.
8479
8480 2002-08-12  Angus Leeming  <leeming@lyx.org>
8481
8482         * buffer.[Ch] (getLabelList): constify.
8483
8484 2002-08-07  André Pönitz <poenitz@gmx.net>
8485
8486         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8487
8488         * funcrequest.h: extension to keep mouse (x,y) position
8489
8490 2002-08-12  Juergen Vigna  <jug@sad.it>
8491
8492         * BufferView2.C (insertErrors): forbid undo when inserting error
8493         insets.
8494
8495         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8496
8497 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * ParagraphList.[Ch]: new files
8500
8501         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8502
8503         * BufferView2.C (lockInset): ParagraphList changes
8504         * toc.C: ditto
8505         * text2.C: ditto
8506         * bufferlist.C: ditto
8507         * buffer.h: ditto
8508         * buffer.C: ditto
8509
8510 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8513         unused class variable counter_,
8514
8515         * paragraph.[Ch] (getFirstCounter): delete unused function
8516
8517         * counters.C: include LAssert.h
8518         (reset): add a new function with no arg, change other version to
8519         not have def. arg and to not allow empty arg.
8520
8521         * text2.C (setCounter): remove empty arg from call to Counters::reset
8522
8523 2002-08-11  John Levon  <levon@movementarian.org>
8524
8525         * Makefile.am: add WordLangTuple.h
8526
8527 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8528
8529         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8530         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8531
8532         * insets/insettext.C: InsetList changes
8533
8534         * graphics/GraphicsSupport.C (operator()): InsetList changes
8535
8536         * toc.C (getTocList): InsetList changes
8537
8538         * paragraph_pimpl.[Ch]: InsetList changes
8539
8540         * paragraph.[Ch]: InsetList changes
8541
8542         * buffer.C (inset_iterator): InsetList changes
8543         (setParagraph): ditto
8544         * buffer.h (inset_iterator): ditto
8545         * iterators.C (operator++): ditto
8546         * iterators.h: ditto
8547
8548         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8549
8550         * InsetList.[Ch]: new files, most InsetList handling moved out of
8551         paragraph.C.
8552
8553         * BufferView2.C (removeAutoInsets): InsetList changes
8554         (lockInset): ditto
8555         (ChangeInsets): ditto
8556
8557 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * paragraph_pimpl.h (empty): new function
8560
8561         * paragraph.[Ch] (empty): new function
8562
8563         * other files: use the new Paragraph::empty function
8564
8565 2002-08-09  John Levon  <levon@movementarian.org>
8566
8567         * lyxtext.h: remove unused refresh_height
8568
8569 2002-08-09  John Levon  <levon@movementarian.org>
8570
8571         * Makefile.am:
8572         * sgml.h:
8573         * sgml.C:
8574         * buffer.C:
8575         * paragraph.h:
8576         * paragraph.C: move sgml char escaping out of paragraph
8577
8578         * paragraph.h:
8579         * paragraph.C: remove id setter
8580
8581         * buffer.C:
8582         * paragraph.C:
8583         * paragraph_pimpl.C: remove dead tex_code_break_column
8584
8585         * bufferview_funcs.C: small cleanup
8586
8587         * lyxfunc.C: remove dead proto
8588
8589         * lyxtext.h: make some stuff private. Remove some dead stuff.
8590
8591         * lyxgluelength.C: make as[LyX]String() readable
8592
8593 2002-08-08  John Levon  <levon@movementarian.org>
8594
8595         * LyXAction.h:
8596         * LyXAction.C:
8597         * MenuBackend.C:
8598         * ToolbarDefaults.C:
8599         * lyxfunc.C:
8600         * lyxrc.C:
8601         * toc.C: lyxaction cleanup
8602
8603 2002-08-08  John Levon  <levon@movementarian.org>
8604
8605         * BufferView2.C: small cleanup
8606
8607         * lyxfind.h:
8608         * lyxfind.C: move unnecessary header into the .C
8609
8610 2002-08-08  John Levon  <levon@movementarian.org>
8611
8612         * funcrequest.h: just tedious nonsense
8613
8614         * lyx_main.h:
8615         * lyx_main.C: cleanups
8616
8617         * buffer.C:
8618         * vspace.C: remove dead header lyx_main.h
8619
8620 2002-08-07  Angus Leeming  <leeming@lyx.org>
8621
8622         * Paragraph.[Ch]:
8623         * paragraph_pimpl.h:
8624         Forward declare class Counters in paragraph.h by moving the ctrs member
8625         variable into Paragraph::Pimpl.
8626         (counters): new method, returning a reference to pimpl_->ctrs.
8627
8628         * text2.C: ensuing changes.
8629
8630 2002-08-07  John Levon  <levon@movementarian.org>
8631
8632         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8633
8634         * BufferView_pimpl.C: announce X selection on double/triple
8635           click
8636
8637         * lyx_main.C: use correct bool in batch dispatch
8638
8639         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8640
8641 2002-08-07  André Pönitz <poenitz@gmx.net>
8642
8643         * funcrequest.h: new class to wrap a kb_action and its argument
8644
8645         * BufferView.[Ch]:
8646         * BufferView_pimpl[Ch]:
8647         * LaTeX.C:
8648         * LyXAction.[Ch]:
8649         * lyxfunc.[Ch]:
8650         * lyxrc.C: subsequent changes
8651
8652
8653 2002-08-07  John Levon  <levon@movementarian.org>
8654
8655         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8656           document options change.
8657
8658 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8659
8660         * counters.[Ch]
8661         * text2.C
8662         * paragraph.[Ch]
8663         * makefile.am: move counters functionality over from
8664         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8665
8666 2002-08-06  John Levon  <levon@movementarian.org>
8667
8668         * WordLangTuple.h: new file for word + language code tuple
8669
8670         * SpellBase.h:
8671         * pspell.h:
8672         * pspell.C:
8673         * ispell.h:
8674         * ispell.C:
8675         * lyxtext.h:
8676         * text.C:
8677         * text2.C:
8678         * BufferView.h:
8679         * BufferView2.C: use WordLangTuple
8680
8681         * layout.h:
8682         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8683
8684 2002-08-06  John Levon  <levon@movementarian.org>
8685
8686         * lyx_main.C: fix cmdline batch handling
8687
8688 2002-08-06  André Pönitz <poenitz@gmx.net>
8689
8690         * lyxrc.C: set default for show_banner to true
8691
8692 2002-08-06  John Levon  <levon@movementarian.org>
8693
8694         * pspell.C: fix a crash, and allow new aspell to work
8695
8696 2002-08-06  John Levon  <levon@movementarian.org>
8697
8698         * lyxfunc.C:
8699         * kbmap.C: small cleanup
8700
8701         * vspace.h:
8702         * vspace.C: add const
8703
8704 2002-08-05  John Levon  <levon@movementarian.org>
8705
8706         * LyXAction.C: back to tabular-insert
8707
8708 2002-08-04  John Levon  <levon@movementarian.org>
8709
8710         * BufferView.h:
8711         * BufferView.C: cosmetic change
8712
8713         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8714
8715         * bufferlist.C:
8716         * buffer.h:
8717         * buffer.C:
8718         * lyxcb.h:
8719         * lyxcb.C:
8720         * lyxserver.C:
8721         * lyxvc.C:
8722         * vc-backend.C:
8723         * BufferView2.C: purge all "Lyx" not "LyX" strings
8724
8725         * lyxcursor.h:
8726         * lyxcursor.C: attempt to add some documentation
8727
8728         * lyxfunc.C:
8729         * commandtags.h:
8730         * LyXAction.C:
8731         * ToolbarDefaults.C:
8732         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8733           merge with LFUN_TABULAR_INSERT
8734
8735         * Makefile.am:
8736         * SpellBase.h:
8737         * ispell.h:
8738         * ispell.C:
8739         * pspell.h:
8740         * pspell.C: split up i/pspell implementations into separate
8741           files, many cleanups
8742
8743         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8744
8745         * text2.C: some cleanup
8746
8747         * lyxfunc.C: don't check for isp_command == "none" any more, it
8748           didn't make any sense
8749
8750 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8751
8752         * counters.[Ch]
8753         * text2.C
8754         * paragraph.[Ch]
8755         * makefile.am: move counters functionality over
8756         from text2.C/paragraph.[Ch] to counters.[Ch], and
8757         make proper C++.
8758 2002-08-02  John Levon  <levon@movementarian.org>
8759
8760         * buffer.C: s/lyxconvert/lyx2lyx/
8761
8762 2002-08-02  Angus Leeming  <leeming@lyx.org>
8763
8764         * lyxlex.C: revert John's change as it breaks reading of the user
8765         preamble.
8766
8767 2002-08-02  Angus Leeming  <leeming@lyx.org>
8768
8769         * importer.C (Import):
8770         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8771         changes due to LyXView::view() now returning a boost::shared_ptr.
8772
8773 2002-08-02  John Levon  <levon@movementarian.org>
8774
8775         * lyxlex.C: small cleanup
8776
8777 2002-08-02  John Levon  <levon@movementarian.org>
8778
8779         * text2.C (status): small cleanup, no logic change
8780
8781 2002-08-01  John Levon  <levon@movementarian.org>
8782
8783         * buffer.h:
8784         * buffer.C (writeFile): don't output alerts, caller
8785           handles this
8786
8787         * bufferlist.C:
8788         * lyx_cb.C: from above
8789
8790         * lyxfunc.C: allow to open non-existent files
8791
8792 2002-07-31  John Levon  <levon@movementarian.org>
8793
8794         * lyxserver.C: don't let incidental errors get
8795           in the way (errno)
8796
8797 2002-07-30  John Levon  <levon@movementarian.org>
8798
8799         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8800
8801 2002-07-30  John Levon  <levon@movementarian.org>
8802
8803         * lyxserver.h:
8804         * lyxserver.C: remove I/O callback too
8805
8806 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8809         log.
8810
8811 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * many files: strip,frontStrip -> trim,ltrim,rtrim
8814
8815 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * PrinterParams.h: remove extern containsOnly, and include
8818         support/lstrings.h instead.
8819
8820         * LaTeX.C (scanAuxFile): modify because of strip changes
8821         (deplog): ditto
8822         * buffer.C (makeLaTeXFile): ditto
8823         * bufferparams.C (writeFile): ditt
8824         * lyxfont.C (stateText): ditto
8825         * lyxserver.C (read_ready): ditto
8826         * vc-backend.C (scanMaster): ditto
8827
8828         * BufferView_pimpl.h: ws changes
8829
8830         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8831
8832 2002-07-26  André Pönitz <poenitz@gmx.net>
8833
8834         * kb_sequence.C: remove unnedred usings
8835
8836 2002-07-26  Juergen Vigna  <jug@sad.it>
8837
8838         * lyxfind.C (LyXReplace): we have to check better if the returned
8839         text is not of theLockingInset()->getLockingInset().
8840
8841 2002-07-25  Juergen Vigna  <jug@sad.it>
8842
8843         * lyxfind.C (LyXReplace): don't replace if we don't get the
8844         right LyXText.
8845
8846         * undo_funcs.C (createUndo): remove debugging code.
8847
8848 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8849
8850         * buffer.C (parseSingleLyXformat2Token): Use default placement
8851         when reading old floats.
8852
8853         * FloatList.C (FloatList): Change the default placement of figure
8854         and tables to "tbp".
8855
8856 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * MenuBackend.C: using std::max
8859
8860 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8861
8862         * MenuBackend.C (expandToc):
8863         (expandToc2): code moved from xforms menu frontend. It is now
8864         generic and TOCs are transparent to menu frontends.
8865
8866 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8867
8868         * toc.C (getTocList): protect against buf=0
8869
8870         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8871         Menu as first parameter. Now, this calls itself recursively to
8872         expand a whole tree (this will be useful for TOC handling)
8873         (expandFloatInsert): remove 'wide' version of floats
8874
8875         * MenuBackend.h (submenuname): returns the name of the submenu.
8876         (submenu): returns the submenu itself, provided it has been
8877         created by MenuBackend::expand
8878
8879 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8882         insets which have noFontChange == true. (bug #172)
8883
8884 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8885
8886         * BufferView_pimpl.C: add connection objects and use them...
8887         (Pimpl): here.
8888
8889 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * MenuBackend.C (expandLastfiles):
8892         (expandDocuments):
8893         (expandFormats):
8894         (expandFloatListInsert):
8895         (expandFloatInsert):
8896         (expand): split expand in parts
8897
8898 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * lyx_gui.C: use lyx_gui::exit()
8901
8902 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * LyXAction.C: show the failing pseudo action
8905
8906 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8907
8908         * buffer.C (readFile): Run the lyxconvert script in order to read
8909         old files.
8910
8911 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * LyXAction.C:
8914         * commandtags.h:
8915         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8916
8917 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8918
8919         * LyXAction.C:
8920         * commandtags.h:
8921         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8922
8923 2002-07-22  Herbert Voss  <voss@lyx.org>
8924
8925         * lengthcommon.C:
8926         * lyxlength.[Ch]: add support for the vertical lengths
8927
8928 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8929
8930         * toc.[Ch]: std:: fixes
8931
8932 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * lyxrc.C: do not include lyx_main.h
8935
8936         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8937         for layouts
8938
8939         * lyxrc.C:
8940         * encoding.C:
8941         * bufferlist.C:
8942         * BufferView2.C: include "lyxlex.h"
8943
8944         * tabular.h:
8945         * bufferparams.h: do not #include "lyxlex.h"
8946
8947         * lyxtextclasslist.C (Add): remove method
8948         (classlist): renamed to classlist_
8949
8950         * paragraph_pimpl.C:
8951         * paragraph.C:
8952         * text2.C:
8953         * CutAndPaste.C:
8954         * bufferview_funcs.C:
8955         * bufferlist.C:
8956         * text.C:
8957         * LaTeXFeatures.C:
8958         * buffer.C:
8959         * toc.C (getTocList): use BufferParams::getLyXTextClass
8960
8961         * toc.C (getTocList): use InsetFloat::addToToc
8962
8963         * toc.[Ch]: new files, containing helper functions to handle table
8964         of contents
8965
8966         * lyxfunc.C (dispatch): no need to remove spaces around command
8967         given as a string
8968         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8969         first command of the sequence; it is not very clever, but I do not
8970         have a better idea, actually
8971
8972         * LyXAction.C (LookupFunc): make sure to remove space at the
8973         beginning and end of the command
8974
8975 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * MenuBackend.C (getMenubar): new method: return the menubar of
8978         this menu set
8979         (read): treat differently reading of menu and menubar (in
8980         particular, the menubar has no name now)
8981         (Menu::menubar): remove
8982
8983         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8984         saving is finished
8985
8986 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8987
8988         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8989         a bibitem inset in a RTL paragraph.
8990
8991 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * paragraph_pimpl.C: constify
8994
8995         * BufferView_pimpl.C:
8996         * LaTeX.C:
8997         * lyxfunc.C: fix dispatch in a nicer way
8998
8999 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyxfunc.C (dispatch):
9002         * BufferView_pimpl.C:
9003         * BufferView_pimpl.h:
9004         * BufferView.C:
9005         * BufferView.h: rename Dispatch() to dispatch()
9006
9007         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9008
9009         * lyxlayout.C (Read): honor DependsOn tag
9010
9011         * lyxlayout.[Ch] (depends_on): new method
9012
9013         * version.C.in: update lyx_docversion
9014
9015         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9016
9017         * paragraph.C (validate): remove from here...
9018         * paragraph_pimpl.C (validate): ... and move here
9019         (isTextAt): make it const
9020
9021         * buffer.C (getLists): ws cleanup
9022
9023 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * language.C (read): Use iso8859-1 encoding in latex_lang
9026         (this prevents LyX from crashing when using iso10646-1 encoding).
9027
9028 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * text2.C (toggleInset): if cursor is inside an inset, close the
9031         inset and leave cursor _after_ it
9032
9033 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * lyxfunc.C: move minibuffer completion handling out of here
9036
9037 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * BufferView_pimpl.C:
9040         * LaTeX.C: fix dispatch calls
9041
9042 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9043
9044         * text.C (drawChars): Fix Arabic text rendering.
9045
9046 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * LyXAction.C:
9049         * commandtags.h:
9050         * lyxfunc.C: remove message-push/pop
9051
9052         * lyxserver.C:
9053         * lyxfunc.h:
9054         * lyxfunc.C: rationalise some code by removing verboseDispatch
9055           in favour of a bool argument to dispatch()
9056
9057 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9058
9059         * lyx_main.C (init): make sure to read symlinks as absolute paths
9060
9061 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * lyxfunc.h:
9064         * lyxfunc.C: no need for commandshortcut to be a member
9065
9066 2002-07-15  André Pönitz <poenitz@gmx.net>
9067
9068         * converter.C: add support for $$s (scripts from lib/scripts dir)
9069         * lyx_main.C: white space
9070
9071 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * bufferlist.C:
9074         * lyxrc.h:
9075         * lyxrc.C: remove second exit confirmation
9076
9077 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView.h:
9080         * BufferView.C:
9081         * BufferView2.C:
9082         * BufferView_pimpl.h:
9083         * BufferView_pimpl.C:
9084         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9085
9086 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9087
9088         * MenuBackend.C (expand): add numeric shortcuts to document menu
9089
9090         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9091
9092 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9093
9094         * lyxfont.C (setLyXFamily):
9095         (setLyXSeries):
9096         (setLyXShape):
9097         (setLyXSize):
9098         (setLyXMisc):
9099         (lyxRead):
9100         * debug.C (value):
9101         * buffer.C (asciiParagraph): use ascii_lowercase
9102
9103 2002-07-15  Mike Fabian  <mfabian@suse.de>
9104
9105         * lyxlex_pimpl.C (search_kw):
9106         * lyxlex.C (getLongString):
9107         * converter.h (operator<):
9108         * converter.C (operator<):
9109         * buffer.C (parseSingleLyXformat2Token):
9110         (asciiParagraph):
9111         * ToolbarDefaults.C (read):
9112         * MenuBackend.C (checkShortcuts):
9113         (read):
9114         * LColor.C (getFromGUIName):
9115         (getFromLyXName): use the compare_ascii_no_case instead of
9116         compare_no_case, because in turkish, 'i' is not the lowercase
9117         version of 'I', and thus turkish locale breaks parsing of tags.
9118
9119 2002-07-16  Angus Leeming  <leeming@lyx.org>
9120
9121         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9122         now takes a Buffer const & argument.
9123
9124 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView.C (resize): check there's a buffer to resize
9127
9128 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9129
9130         * lyxfunc.C: remove dead code
9131
9132         * lyxserver.h:
9133         * lyxserver.C: use lyx_guii::set_read_callback
9134
9135 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9136
9137         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9138         an inset in a RTL paragraph.
9139
9140 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * lyxfunc.C: repaint after a font size update
9143
9144 2002-07-15  André Pönitz <poenitz@gmx.net>
9145
9146         * lyxlength.C: inBP should be able to return negative values
9147
9148 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9149
9150         * lyxfunc.C: use lyx_gui::update_fonts()
9151
9152 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * lyxfunc.C: use lyx_gui::update_color()
9155
9156 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * bufferlist.C:
9159         * lyxfunc.h:
9160         * lyxfunc.C:
9161         * lyxrc.h:
9162         * lyxrc.C: remove file->new asks for name option, and let
9163           buffer-new take an argument
9164
9165 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * BufferView_pimpl.C: remove unneeded extra repaint()
9168
9169 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * LyXAction.C: allow command-sequence with NoBuffer
9172
9173         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9174
9175 2002-07-10  Angus Leeming  <leeming@lyx.org>
9176
9177         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9178
9179 2002-07-09  Angus Leeming  <leeming@lyx.org>
9180
9181         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9182
9183 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * lengthcommon.h: whitespace
9186
9187         * lyxfunc.C: update scrollbar after goto paragraph
9188
9189         * lyxtext.h: factor out page break drawing, and fix it so
9190           page break/added space paints as selected nicely
9191
9192 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * BufferView_pimpl.C: add FIXMEs, clean up a little
9195
9196 2002-07-09  André Pönitz <poenitz@gmx.net>
9197
9198         * lyxfont.[Ch]: support for wasy symbols
9199
9200 2002-07-08  André Pönitz <poenitz@gmx.net>
9201
9202         * BufferView_pimpl.C: apply John's patch for #93.
9203
9204 2002-07-05  Angus Leeming  <leeming@lyx.org>
9205
9206         * BufferView_pimpl.C (buffer): generate previews if desired.
9207
9208         * LColor.h: add "preview" to the color enum.
9209
9210         * LColor.C (LColor): add a corresponding entry to the items array.
9211
9212         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9213         with this buffer.
9214
9215 2002-07-05  Angus Leeming  <leeming@lyx.org>
9216
9217         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9218         The body of the code is now in the method that is passed an ostream &
9219         rather than a file name.
9220         Pass an additional only_preamble parameter, useful for the forthcoming
9221         preview stuff.
9222
9223 2002-07-03  André Pönitz <poenitz@gmx.net>
9224
9225         * lyxfunc.C: simplify getStatus() a bit for math stuff
9226
9227 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9228
9229         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9230
9231 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9232
9233         * text.C (changeRegionCase): do not change case of all the
9234         document when region ends at paragraph end (bug #461)
9235
9236 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * paragraph.C (startTeXParParams):
9239         (endTeXParParams): add \protect when necessary
9240
9241 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * BufferView_pimpl.C (workAreaExpose): remove warning
9244
9245 2002-06-27  Angus Leeming  <leeming@lyx.org>
9246
9247         * Makefile.am: add lyxlayout_ptr_fwd.h.
9248
9249 2002-06-26  André Pönitz <poenitz@gmx.net>
9250
9251         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9252
9253 2002-06-25  Angus Leeming  <leeming@lyx.org>
9254
9255         * lyxfunc.C (dispatch): Comment out the call to
9256         grfx::GCache::changeDisplay. The method no longer exists now that the
9257         pixmap generation part of the graphics loader has been moved into
9258         InsetGraphics.
9259
9260 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * text2.C: layout as layout
9263
9264         * text.C: layout as layout
9265
9266         * tabular.C (OldFormatRead): layout as layout
9267
9268         * paragraph_pimpl.C (TeXDeeper): layout as layout
9269         (realizeFont): layout as layout
9270
9271         * paragraph.C (writeFile): layout as layout
9272         (validate): layout as layout
9273         (getFont): layout as layout
9274         (getLabelFont): layout as layout
9275         (getLayoutFont): layout as layout
9276         (breakParagraph): layout as layout
9277         (stripLeadingSpaces): layout as layout
9278         (getEndLabel): layout as layout
9279         (getMaxDepthAfter): layout as layout
9280         (applyLayout): layout as layout
9281         (TeXOnePar): layout as layout
9282         (simpleTeXOnePar): layout as layout
9283         (TeXEnvironment): layout as layout
9284         (layout): layout as layout
9285         (layout): layout as layout
9286
9287         * lyxtextclass.C (compare_name): new functor to work with
9288         shared_ptr, layout as layout
9289         (Read): layout as layout
9290         (hasLayout): layout as layout
9291         (operator): layout as layout
9292         (delete_layout): layout as layout
9293         (defaultLayout): layout as layout
9294
9295         * lyxlayout_ptr_fwd.h: new file
9296
9297         * lyxlayout.C (Read): layout as layout
9298
9299         * lyx_cb.C (MenuInsertLabel): layout as layout
9300
9301         * bufferlist.C (newFile): layout as layout
9302
9303         * buffer.C (readLyXformat2): layout as layout
9304         (parseSingleLyXformat2Token): layout as layout
9305         (insertStringAsLines): layout as layout
9306         (asciiParagraph): layout as layout
9307         (latexParagraphs): layout as layout
9308         (makeLinuxDocFile): layout as layout
9309         (simpleLinuxDocOnePar): layout as layout
9310         (makeDocBookFile): layout as layout
9311         (simpleDocBookOnePar): layout as layout
9312         (getLists): layout as layout
9313
9314         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9315
9316         * CutAndPaste.C (cutSelection): layout as layout
9317         (pasteSelection): layout as layout
9318         (SwitchLayoutsBetweenClasses): layout as layout
9319
9320         * BufferView_pimpl.C (Dispatch): layout as layout
9321         (smartQuote): layout as layout
9322
9323         * BufferView2.C (unlockInset): layout as layout
9324
9325 2002-06-24  André Pönitz <poenitz@gmx.net>
9326
9327         * lyxfunc.C: fix #487
9328
9329 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * lyxrc.h:
9332         * lyxrc.C:
9333         * lyxfunc.C: remove display_shortcuts, show_banner
9334
9335 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * Buffer_pimpl.C: oops, update on resize
9338
9339 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * buffer.C:
9342         * converter.C:
9343         * exporter.C:
9344         * lyxfunc.C:
9345         * BufferView.h:
9346         * BufferView.C: use repaint()
9347
9348         * BufferView_pimpl.h:
9349         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9350           as it's a clearer description. Remove superfluous
9351           redraws.
9352
9353 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9354
9355         * text.C: fix bug 488. Not ideal, but getting
9356           getWord() to work properly for the insets that
9357           matter is more difficult ...
9358
9359 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9360
9361         * BufferView_pimpl.C:
9362         * LyXAction.C:
9363         * commandtags.h:
9364         * lyxfunc.C: remove the six million index lyxfuncs to just
9365           one, and DTRT (bug 458)
9366
9367 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * BufferView.h:
9370         * BufferView.C:
9371         * BufferView_pimpl.h:
9372         * BufferView_pimpl.C: clean up resize() stuff,
9373           and unnecessary updateScreen()s
9374
9375 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * BufferView.h:
9378         * BufferView.C:
9379         * BufferView_pimpl.h:
9380         * BufferView_pimpl.C:
9381         * lyxfind.h:
9382         * lyxfind.C:
9383         * minibuffer.C: remove focus management of workarea,
9384           not needed. Use screen's greyOut()
9385
9386 2002-06-17  Herbert Voss  <voss@lyx.org>
9387
9388         * converter.C: (convert) do not post a message, when converting
9389         fails, let the calling function decide what to do in this case
9390
9391 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * lyxfunc.C: tidy up a little
9394
9395 2002-06-16    <alstrup@diku.dk>
9396
9397         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9398         Got rid of FORMS_H_LOCATION include. Now we are
9399         GUII.
9400
9401 2002-06-15  LyX Development team  <lyx@rilke>
9402
9403         * buffer.[Ch] (sgmlOpenTag):
9404         (sgmlCloseTag): Added support for avoiding pernicious mixed
9405         content. Return number of lines written.
9406
9407         (makeLinuxDocFile):
9408         (makeDocBookFile): Fixed calls to sgml*Tag.
9409         Simple white space clean.
9410
9411         (simpleDocBookOnePar): Simple white space clean.
9412
9413         * tabular.[Ch] (docBook): Renamed to docbook and got another
9414         argument to related with the pernicious mixed content.
9415
9416         (docbookRow): Fixed calls for docbook inset method.
9417
9418 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9419
9420         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9421         so it's X11 independent.
9422
9423         * kb*.[Ch]: ditto.
9424
9425         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9426
9427 2002-06-15  Lyx Development team  <lyx@electronia>
9428
9429         * intl.h: Renamed getTrans to getTransManager.
9430
9431 2002-06-14  Angus Leeming  <leeming@lyx.org>
9432
9433         * Makefile.am: nuke forgotten stl_string_fwd.h.
9434
9435 2002-06-12  Angus Leeming  <leeming@lyx.org>
9436
9437         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9438
9439 2002-06-13  Angus Leeming  <leeming@lyx.org>
9440
9441         * LaTeX.C:
9442         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9443
9444 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9445
9446         * kbmap.C (getiso): add support for cyrillic and greek
9447
9448 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * BufferView.h:
9451         * BufferView.C:
9452         * BufferView_pimpl.h:
9453         * BufferView_pimpl.C: move bogus scrolling logic
9454           to xforms
9455
9456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * lyxfunc.C:
9459         * BufferView_pimpl.C: view->resize() change
9460
9461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * BufferView_pimpl.C: topCursorVisible
9464           prototype change
9465
9466 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9467
9468         * Makefile.am:
9469         * lyx_gui.h:
9470         * lyx_gui.C: move to frontends/
9471
9472         * main.C:
9473         * lyx_main.h:
9474         * lyx_main.C: changes from above
9475
9476 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * intl.C:
9479         * intl.h:
9480         * kbmap.C:
9481         * kbsequence.C:
9482         * lyx_cb.C:
9483         * lyx_main.C: minor tidy
9484
9485 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * BufferView_pimpl.h:
9488         * BufferView_pimpl.C:
9489         * BufferView.h:
9490         * BufferView.C: make painter() const,
9491           remove dead code
9492
9493         * BufferView2.C: use screen() accessor
9494
9495         * lyx_main.h:
9496         * lyx_main.C: some minor cleanup
9497
9498 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * BufferView_pimpl.h:
9501         * BufferView_pimpl.C: remove enter/leaveView,
9502           use workHeight()
9503
9504 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * BufferView.h:
9507         * BufferView.C:
9508         * BufferView2.C:
9509         * BufferView_pimpl.h:
9510         * BufferView_pimpl.C: only construct screen once,
9511           rename
9512
9513         * lyxrc.C: remove pointless comment
9514
9515 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * BufferView.h:
9518         * BufferView.C: remove active() and belowMouse()
9519
9520         * BufferView_pimpl.h:
9521         * BufferView_pimpl.C: use workarea() not workarea_,
9522           and make it use a scoped_ptr instead
9523
9524 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * lyx_gui.C: add debug message on BadWindow
9527
9528 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9529
9530         * sp_spell.C: fdopen is not part of the C++ standard.
9531
9532         * paragraph.C (InsetIterator): use >= instead of ==
9533
9534 2002-06-07  Angus Leeming  <leeming@lyx.org>
9535
9536         Fixes needed to compile with Compaq cxx 6.5.
9537         * BufferView_pimpl.C:
9538         * DepTable.C:
9539         * buffer.C:
9540         * converter.C:
9541         * encoding.C:
9542         * lyx_gui.C:
9543         * lyx_main.C:
9544         * lyxtextclasslist.C:
9545         * minibuffer.C:
9546         * sp_spell.C:
9547         * tabular_funcs.C:
9548         * vc-backend.C:
9549         all c-library variables have been moved into namespace std. Wrap
9550         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9551
9552         * lyxlength.C:
9553         * tabular-old.C:
9554         * tabular.C:
9555         Add a using std::abs declaration.
9556
9557         * kbmap.h (modifier_pair):
9558         * paragraph.h (InsetTable, InsetList):
9559         * lyxfont.h (FontBits):
9560         type definition made public.
9561
9562         * bufferlist.C (emergencyWriteAll): the compiler complains that
9563         there is more than one possible lyx::class_fun template to choose from.
9564         I re-named the void specialisation as lyx::void_class_fun.
9565
9566         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9567
9568         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9569         the compiler is is unable to find tostr in write_attribute.
9570
9571 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9572
9573         * buffer.C (sgmlError): hide #warning
9574
9575 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9576
9577         * xtl/*: get rid of xtl, which is not in use anyway
9578
9579         * LyXAction.C (init):
9580         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9581         were unimplemented xtl experimentation
9582
9583 2002-06-04  André Pönitz <poenitz@gmx.net>
9584
9585         * lyxfunc.C: disable array operation on simple formulae
9586
9587 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * converter.C: constify a bit
9590
9591 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9592
9593         * lyx_gui.C: check xforms version correctly
9594
9595 2002-04-30  Herbert Voss  <voss@lyx.org>
9596
9597         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9598         "keep" option
9599
9600 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9603           attempt to register it with a VCS)
9604
9605 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9606
9607         * lyx_main.C (init): honor variables LYX_DIR_13x and
9608         LYX_USERDIR_13x
9609
9610 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * buffer.h:
9613         * buffer.C:
9614         * lyx_main.C: fix a crash on bad command line,
9615           and give a useful exit status on error
9616
9617         * lyxfunc.C (doImport): allow -i lyx to work
9618
9619 2002-03-30  André Pönitz <poenitz@gmx.net>
9620
9621         * lyxfunc.C: mathed font changes
9622
9623 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * LaTeX.C:
9626         * importer.h:
9627         * importer.C:
9628         * lyx_sty.h:
9629         * lyx_sty.C:
9630         * lyxlex.C:
9631         * lyxrow.h:
9632         * lyxtext.h:
9633         * paragraph.h:
9634         * paragraph.C:
9635         * texrow.h:
9636         * texrow.C:
9637         * text.C:
9638         * trans_mgr.h: srcdocs, and some minor cleanups
9639
9640 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9643         call getFont all the time)
9644
9645 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9646
9647         * switch from SigC signals to boost::signals
9648
9649 2002-05-29  André Pönitz <poenitz@gmx.net>
9650
9651         * paragraph_pimpl.C (getChar): don't call size() too often...
9652
9653 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * paragraph_pimpl.C (insertChar): do not try to update tables when
9656         appending (pos == size())
9657
9658         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9659         in order to reduce drastically the number of comparisons needed to
9660         parse a large document
9661
9662 2002-05-29  André Pönitz <poenitz@gmx.net>
9663
9664         * text.C:
9665         * text2.C:
9666         * lyxtextclass.C:
9667         * sp_pspell.h:
9668         * textclasslist.[Ch]:
9669         * sp_ispell.h: whitespace change
9670
9671 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9674         lyxaction directly now.
9675
9676 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * trans.C:
9679         * lyxfont.C:
9680         * lyxvc.C: remove unused headers
9681
9682 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * Makefile.am:
9685         * buffer.h:
9686         * undostack.h:
9687         * undostack.C:
9688         * undo_funcs.h:
9689         * undo_funcs.C: some cleanups. Use shared_ptr
9690           and a template for the undo stacks.
9691
9692 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * BufferView_pimpl.h:
9695         * BufferView_pimpl.C:
9696         * kbmap.h:
9697         * kbmap.C:
9698         * kbsequence.h:
9699         * kbsequence.C:
9700         * lyxfunc.h:
9701         * lyxfunc.C:
9702         * text2.C: use key_state/mouse_state
9703
9704 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9705
9706         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9707         and LSubstring
9708
9709         * chset.C: change include order
9710         (loadFile): use boost regex and get rid of LRegex and LSubstring
9711
9712         * Makefile.am (BOOST_LIBS): new variable
9713         (lyx_LDADD): use it
9714
9715         * LaTeX.C: change include order.
9716         (scanAuxFile): use boost regex and get rid of LRegex and
9717         LSubstring
9718         (deplog): ditto
9719
9720 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * ColorHandler.h:
9723         * ColorHandler.C:
9724         * FontInfo.h:
9725         * FontInfo.C: moved to frontends/xforms/
9726
9727         * FontLoader.h:
9728         * FontLoader.C: moved into frontends for GUIIzation
9729
9730         * Makefile.am:
9731         * lyx_gui.C:
9732         * lyxfont.C:
9733         * lyxfunc.C: changes from above
9734
9735 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * LColor.C: remove spurious X include
9738
9739         * BufferView_pimpl.C:
9740         * Makefile.am:
9741         * font.h:
9742         * font.C:
9743         * text.C:
9744         * text2.C: move font metrics to frontends/
9745
9746 2002-05-24  Juergen Vigna  <jug@sad.it>
9747
9748         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9749         setting the undo_cursor.
9750
9751         * ParagraphParameters.h: include local includes first.
9752
9753 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * BufferView_pimpl.C:
9756         * BufferView_pimpl.h:
9757         * Makefile.am:
9758         * WorkArea.h:
9759         * WorkArea.C:
9760         * screen.C: move WorkArea into frontends/
9761
9762         * lyxscreen.h:
9763         * screen.C:
9764         * text.C:
9765         * BufferView.C:
9766         * BufferView2.C: move LyXScreen into frontends/
9767
9768         * lyxlookup.h:
9769         * lyxlookup.C:
9770         * lyx_gui.C: move lyxlookup into frontends/xforms/
9771
9772 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * BufferView2.C:
9775         * BufferView_pimpl.C:
9776         * FontLoader.C:
9777         * LyXView.h:
9778         * LyXView.C:
9779         * Makefile.am:
9780         * WorkArea.C:
9781         * XFormsView.h:
9782         * XFormsView.C:
9783         * buffer.C:
9784         * bufferlist.C:
9785         * bufferview_funcs.C:
9786         * converter.C:
9787         * importer.C:
9788         * lyx_cb.C:
9789         * lyx_gui.C:
9790         * lyx_main.C:
9791         * lyx_find.C:
9792         * lyxfunc.C:
9793         * lyxvc.C:
9794         * minibuffer.C:
9795         * text.C:
9796         * text2.C:
9797         * trans.C:
9798         * vc-backend.C: move LyX/XFormsView into frontends/
9799
9800 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * Makefile.am:
9803         * PainterBase.C:
9804         * PainterBase.h:
9805         * Painter.C:
9806         * Painter.h:
9807         * WorkArea.C:
9808         * WorkArea.h:
9809         * screen.C:
9810         * tabular.C:
9811         * text.C:
9812         * text2.C: move Painter to frontends/
9813
9814 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * buffer.C: comment out some some code that depend upon lyx_format
9817         < 220
9818
9819         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9820         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9821
9822         * buffer.h (NO_COMPABILITY): turn off compability
9823
9824         * ColorHandler.C: include scoped_array.hpp
9825
9826         * font.C: Use more specific smart_ptr header.
9827         * Painter.C: ditto
9828         * gettext.C: ditto
9829         * ShareContainer.h: ditto
9830         * lyx_main.h: ditto
9831         * kbmap.h: ditto
9832         * FontInfo.h: ditto
9833         * BufferView_pimpl.h: ditto
9834         * ColorHandler.h: ditto
9835
9836         * kbmap.C (defkey): change call to shared_ptr::reset
9837
9838 2002-05-21  Juergen Vigna  <jug@sad.it>
9839
9840         * buffer.C (insertErtContents): fix to insert ert asis if it is
9841         non empty. Skip it completely if it contains only whitespaces.
9842
9843 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9844
9845         * BufferView_pimpl.C:
9846         * BufferView2.C: clear selection on paste (bug 393)
9847
9848 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * DepTable.C: include ctime
9851
9852 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9853
9854         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9855
9856 2002-05-14  Juergen Vigna  <jug@sad.it>
9857
9858         * text.C (breakParagraph): fixed function to honor the keepempty
9859         layout in the right maner and also to permit the right breaking
9860         algorithm on empty or non empyt keepempty paragraphs.
9861
9862         * paragraph.C (breakParagraph): we have to check also if the par
9863         is really empty (!size()) for isempty otherwise we do the wrong
9864         paragraph break.
9865
9866 2002-05-10  Juergen Vigna  <jug@sad.it>
9867
9868         * buffer.[Ch] : The following are only changes to the ert
9869         compatibility read reading old LaTeX layout and font stuff and
9870         convert it to ERTInsets.
9871
9872         * buffer.h: added isErtInset().
9873
9874         * buffer.C (struct ErtComp): add a fromlayout bool to check
9875         if we're inside a LaTeX layout.
9876         (isErtInset): new helper function.
9877         (insertErtContents): look for other ert insets before this one
9878         and insert the contents there, so that we don't have subsequent
9879         ERT insets with nothing between them. This way we create only one
9880         inset with multiple paragraphs. Also check if we don't insert only
9881         spaces ' ' as they are ignored anyway afterwards in the .tex file
9882         so if we have only spaces we will ignore this latex part in the
9883         new file.
9884         (parseSingleLyXformat2Token \\layout): better compatibility when
9885         reading layout-latex stuff.
9886         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9887         language tag.
9888         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9889         stuff after reading the inset only get the information back from
9890         the stack.
9891
9892 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9893
9894         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9895
9896         * LaTeXFeatures.C (getBabelOptions): New method.
9897
9898 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9899
9900         * BufferView_pimpl.C (Dispatch): work around missing argument for
9901         'layout'
9902
9903 2002-05-08  Juergen Vigna  <jug@sad.it>
9904
9905         * text.C (leftMargin): handle paragraph leftindent.
9906
9907         * paragraph.C (writeFile): write the new \\leftindent tag.
9908         (validate): handle leftindent code.
9909         (TeXEnvironment): handle paragraphleftindent code again.
9910
9911         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9912
9913         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9914         for paragrap_extra indent code and new token \\leftindent.
9915         (latexParagraphs): handle the leftindent as environment.
9916
9917         * ParameterStruct.h: added leftindent support.
9918
9919         * ParagraphParameters.C (leftIndent): added support functions for
9920         the paragraph left indent.
9921
9922         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9923         more appropriate.
9924
9925 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9926
9927         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9928         inside insetERT.
9929
9930         * text.C (computeBidiTables): No bidi in insetERT.
9931
9932         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9933         in RTL documents.
9934
9935 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9936
9937         * version.C.in: pre 5
9938
9939 2002-05-02  José Matos  <jamatos@fep.up.pt>
9940         * buffer.C (makeDocBookFile): white space changes, add newline to
9941         command styles.
9942         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9943
9944         * tabular.C (docBook): fix typo.
9945
9946 2002-05-03  Juergen Vigna  <jug@sad.it>
9947
9948         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9949         change in LyXText as we can not be sure it was not freed.
9950         (drawOneRow): remove unused code.
9951
9952         * text.C (drawInset): redo the calculation of the need_break_row as
9953         it could have a row which was already freed.
9954         (draw): look at the return value of drawInset and return false if
9955         it also returned false.
9956         (paintRowText): look at the return value of draw and return false if
9957         it also returned false.
9958
9959         * lyxtext.h: added bool return type to drawInset() and draw() so that
9960         if we have a change in the row so that the rowbreak has to be redone
9961         we abort drawing as it will be called again.
9962
9963 2002-05-02  Juergen Vigna  <jug@sad.it>
9964
9965         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9966         a change in the maintext also if we're inside an inset.
9967         (Dispatch): set the cursor again after a break line and after the
9968         screen has been updated as it could be we're in a different row.
9969
9970         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9971         to set the cursor behind the pargraph with > size().
9972         (setCursor): check also for the same paragraph when checking where
9973         to put the cursor if we have a NFR inset.
9974
9975         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9976         parts of layout read further up as it still was in the wrong
9977         position.
9978
9979 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9980
9981         * screen.C (drawFromTo): change sine fullRebreak always return
9982         true.
9983
9984         * buffer.C (parseSingleLyXformat2Token): reindent some
9985
9986         * BufferView_pimpl.C (update): change since fullRebreak always
9987         return true.
9988         (Dispatch): git rid of the last hardcoded "Standard"s.
9989
9990 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9991
9992         * text2.[Ch] (fullRebreak): make it return void now that we always
9993         returned true.
9994
9995 2002-04-30  Juergen Vigna  <jug@sad.it>
9996
9997         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9998         ert compatibility check for "latex" layout.
9999
10000 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10001
10002         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10003         minipages: use col% instead of p%, and also use the current font.
10004         (makeLaTeXFile): Fix use babel condition.
10005         (parseSingleLyXformat2Token): Correct font when reading old floats.
10006
10007 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10008
10009         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10010         inserting list of floats.
10011
10012 2002-04-25  Herbert Voss  <voss@lyx.org>
10013
10014         * MenuBackend.C (expand): don't add the graphics extensions to the
10015         export menu
10016
10017 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10018
10019         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10020         non-existing layout, do not complain if it was the default layout
10021         of the original class (bug #342)
10022
10023 2002-04-24  Juergen Vigna  <jug@sad.it>
10024
10025         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10026         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10027
10028 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10029
10030         * buffer.C (getBibkeyList): If using \bibliography, return the
10031         option field with the reference itself. Enables us to provide natbib
10032         support when using \bibliography.
10033
10034 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10035
10036         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10037
10038         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10039         natbib is provided by the LaTeX class.
10040
10041 2002-04-23  Juergen Vigna  <jug@sad.it>
10042
10043         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10044         Wakeup functions.
10045
10046         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10047
10048 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10051
10052         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10053         ensuremath around textordmasculine, textordfeminine and
10054         textdegree.
10055
10056 2002-04-19  Juergen Vigna  <jug@sad.it>
10057
10058         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10059         reinitializing the buffer otherwise row-dimensions may be wrong.
10060         (update): reset also the selection cursors if they do exits otherwise
10061         their x/y positions may be wrong.
10062
10063         * text2.C (cursorDown): don't enter the inset if we came from a row
10064         above and are one row over the inset.
10065
10066         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10067         really leaving an inset.
10068
10069 2002-04-18  Juergen Vigna  <jug@sad.it>
10070
10071         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10072         of the selected paragraph does not have the selected layout also if
10073         the last one had!
10074
10075         * text2.C (setLayout): fixed bug which did not change last selected
10076         paragraph.
10077
10078         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10079         changed the read and substituted \\end_float with \\end_inset!
10080
10081         * BufferView_pimpl.C (cursorPrevious):
10082         (cursorNext): fixed to make it work with rows heigher than the work
10083         area without moving the cursor only the draw of the row.
10084         (workAreaMotionNotify): fix jumping over high rows.
10085
10086 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10087
10088         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10089         Ressler.
10090
10091 2002-04-16  Juergen Vigna  <jug@sad.it>
10092
10093         * text2.C (setCursor): set also the irow().
10094         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10095         (cursorUp):
10096         (cursorDown): support for locking an inset if the x_fix value goes
10097         inside it. That way I can transverse insets too with cursor up/down.
10098
10099         * lyxrow.h: added irow helper function same as other (i) functions.
10100
10101         * BufferView_pimpl.C (cursorPrevious):
10102         (cursorNext): fixed for insets!
10103
10104 2002-04-15  Juergen Vigna  <jug@sad.it>
10105
10106         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10107         position otherwise it is wrong in some cases.
10108
10109         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10110         inside the inset before the call.
10111
10112 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10113
10114         * buffer.[Ch] (getBibkeyList): make it const.
10115
10116 2002-04-12  Juergen Vigna  <jug@sad.it>
10117
10118         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10119
10120         * text2.C (getCursorX): new helper function
10121         (setCursor): compute also ix_
10122         (setCursorFromCoordinates): set also ix.
10123
10124         * lyxcursor.h: added ix_ and helper functions.
10125
10126         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10127
10128         * buffer.C (insertStringAsLines): dont break paragraph if the this
10129         paragraph is inside an inset which does not permit it!
10130
10131         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10132         also with no chars on this paragraph.
10133         (paintRowText): only paint stuff if it's inside the workarea!
10134
10135         * paragraph.C (breakParagraph): honor keepempty flag and break the
10136         paragraph always below not above.
10137
10138         * BufferView2.C (unlockInset): update the paragraph layout on inset
10139         unlock as we changed paragraph in such a case.
10140
10141         * lyxfind.C (LyXFind): clear the former selection if not found!
10142
10143         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10144         again called in insertChar().
10145
10146         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10147         an inset which uses the whole row!
10148         (rightMargin): ditto.
10149         (insertChar): force a rebreak if we inserted an inset!
10150
10151 2002-03-28  Herbert Voss  <voss@lyx.org>
10152
10153         * lyxlength.[Ch]: add inBP() to get the right PS-point
10154         units (BigPoint). With inPixels we have rounding errors
10155
10156 2002-04-11  Juergen Vigna  <jug@sad.it>
10157
10158         * text2.C (setCursorFromCoordinates): set iy to the right value.
10159         (setCursor): add check if row->previous exists!
10160
10161         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10162         an old float_type as this was the case in the old code!
10163
10164         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10165
10166         * BufferView2.C (showLockedInsetCursor): use iy
10167         (fitLockedInsetCursor): ditto
10168
10169         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10170         locked insets as there we have the right value now.
10171
10172         * lyxcursor.C: added iy_ variable and iy functions to set to the
10173         baseline of cursor-y of the locked inset.
10174
10175         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10176         (setCursor): fixed for insets which need a full row.
10177
10178         * text.C (rowLastPrintable): don't ignore the last space when before
10179         an inset which needs a full row.
10180         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10181         as last character of a row when before a inset which needs a full row.
10182
10183 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * version.C.in: update date
10186
10187         * text2.C (fullRebreak): try to always return true and see what
10188         happens...
10189
10190 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * MenuBackend.C (expand): use Floating::listName
10193
10194         * FloatList.C (FloatList): add listName argument to the built-in
10195         floats
10196
10197         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10198         text associated with the float.
10199
10200 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10203
10204 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * ShareContainer.h: add a couple of missing typenames.
10207
10208 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10209
10210         * lyxrc.C (getDescription): use _() correctly rather than N_().
10211
10212 2002-03-28  Herbert Voss  <voss@lyx.org>
10213
10214         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10215         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10216
10217 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10220         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10221
10222 2002-03-29  Juergen Vigna  <jug@sad.it>
10223
10224         * lyxfunc.C (dispatch): add a missing fitCursor call.
10225
10226         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10227         it was scrolled by a cursor move, so return the bool status.
10228
10229         * BufferView.C (fitCursor): return the bool flag also to the outside
10230         world as this is needed.
10231
10232         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10233
10234         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10235         call the edit() as it is not needed (and wrong) IMO.
10236         (workAreaButtonPress): set the screen_first variable before evt.
10237         unlock the inset as this may change screen_first and then we have
10238         a wrong y position for the click!
10239
10240 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * MenuBackend.C (expand): another translation that I missed
10243
10244 2002-03-28  Juergen Vigna  <jug@sad.it>
10245
10246         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10247
10248         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10249
10250 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10253
10254         * MenuBackend.C (expand): fix export/view/update when there is no
10255         document open.
10256
10257 2002-03-27  Herbert Voss  <voss@lyx.org>
10258
10259         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10260         and text%
10261
10262 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10263
10264         * bufferview_funcs.C (currentState): only show paragraph number
10265         for is DEVEL_VERSION is set.
10266
10267         * lyxfunc.C (dispatch): put warning in INFO channel
10268
10269         * MenuBackend.C (expand): translate the name of floats
10270
10271         * FloatList.C (FloatList): mark the float names for translation
10272
10273         * converter.C (convert): use LibScriptSearch
10274
10275 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * MenuBackend.C (defaults): fix default menu (we might as well get
10278         rid of it...)
10279
10280 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10283         directory.
10284
10285 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * lyxvc.C: reorder includes.
10288
10289 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10292           properly
10293
10294 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * CutAndPaste.C: change layouts earlier on paste
10297           to avoid crashing when calling getFont()
10298
10299 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10300
10301         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10302         irritating #error.
10303
10304 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * WorkArea.C: remove 'Pending' debug message.
10307
10308         * most files: ws cleanup
10309
10310         * buffer.[Ch]: ws changes
10311
10312         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10313
10314 2002-03-21  Juergen Vigna  <jug@sad.it>
10315
10316         * tabular.C (SetMultiColumn): collapse also the contents of the
10317         cells and set the last border right. Added a Buffer const * param.
10318
10319 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10320
10321         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10322         linking or not.
10323
10324 2002-03-19  Juergen Vigna  <jug@sad.it>
10325
10326         * text2.C (clearSelection): reset also xsel_cache.
10327
10328         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10329         where it needs to be called (John tells us to do so too :)
10330         (selectionLost): reset sel_cache.
10331
10332         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10333
10334 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * text2.C (setCursorIntern): put debuging code in INSETS channel
10337
10338 2002-03-19  André Pönitz <poenitz@gmx.net>
10339
10340         * lyxfunc.C: tiny whitespace change
10341
10342 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10343
10344         * ToolbarDefaults.C (init):
10345         * LyXAction.C (init):
10346         * commandtags.h:
10347         * BufferView_pimpl.C (Dispatch):
10348         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10349
10350 2002-03-19  Allan Rae  <rae@lyx.org>
10351
10352         * exporter.C (Export): removeAutoInsets before doing anything else.
10353         While I've just introduced a dependency on BufferView this really is
10354         the best place to clean the buffer otherwise you need to cleanup in
10355         a dozen places before calling export or cleanup in a dozen functions
10356         that export calls.
10357
10358         * converter.C (runLaTeX):
10359         (scanLog): Better handling of removeAutoInsets and screen updates.
10360
10361         * lyxfunc.C (dispatch): small whitespace changes
10362
10363 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * WorkArea.C (C_WorkAreaEvent): return a value.
10366         (event_cb): return 1 if we handled the event, 0 otherwise.
10367
10368         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10369
10370 2002-03-18  Juergen Vigna  <jug@sad.it>
10371
10372         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10373         (GetAdditionalWidth): ditto.
10374         (RightLine): ditto.
10375         (LeftLine): ditto.
10376
10377         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10378         inset if we're there actually (probably not used right now but this
10379         is the direction to go for unifying code).
10380         (paste): disable code to clear the selection.
10381
10382         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10383         inside an InsetText and move the check further up as it is in the
10384         wrong place.
10385
10386         * text2.C (pasteSelection): set a selection over the pasted text.
10387
10388 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10389
10390         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10391         and libgraphics to build on Cygwin.
10392
10393 2002-03-15  Juergen Vigna  <jug@sad.it>
10394
10395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10396         inserting an Inset into the paragraph. I know this is not the best
10397         fix but we already use current_view in CutAndPaste so we will remove
10398         all of it's using at the same time.
10399
10400         * buffer.C (sgmlError): deactivated function till it is rewritten in
10401         the right mode, now it can create problems.
10402
10403         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10404         before accessing it.
10405
10406 2002-03-14  Juergen Vigna  <jug@sad.it>
10407
10408         * undo_funcs.C (textHandleUndo): do the right thing when updating
10409         the inset after the undo/redo.
10410
10411         * text2.C (setCursor): just some testcode for #44 not ready yet.
10412
10413         * undo_funcs.C (textHandleUndo): set the next() and previous()
10414         pointers of the paragraph to 0 before deleting otherwise we have
10415         problems with the Paragraph::[destructor].
10416
10417         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10418         on a paragraph insertion.
10419
10420 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * buffer.C (asciiParagraph): use += operator for char append to
10423         string.
10424
10425         * paragraph.C (getFontSettings): compare >= not just >
10426         (highestFontInRange): ditto
10427         (setFont): ditto
10428
10429 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * paragraph.C: change several algorithm to be more appripriate for
10432         the problem domain. This is lookip in FontList and in the InsetList.
10433
10434 2002-03-13  André Pönitz <poenitz@gmx.net>
10435
10436         * commandtags.h:
10437         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10438
10439 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * commandtags.h:
10442         * LyXAction.C:
10443         * lyxfunc.C:
10444         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10445
10446 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * Painter.C (display): anon helper function, adjust code for this
10449         change.
10450         (pixmap): remove function.
10451
10452         * Painter.h: remove private display variable.
10453
10454         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10455
10456 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10457
10458         * WorkArea.[Ch]: remove figinset_canvas cruft.
10459
10460 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10461
10462         * lyxtextclass.C (operator): add one item cache optimization.
10463
10464         * bufferlist.h: doxy changes
10465
10466         * bufferlist.C: ws changes
10467
10468         * DepTable.[Ch] (ext_exist): place const in the right spot.
10469
10470         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10471         call resizeInsets.
10472         (workAreaExpose): call resizeInsets when the with BufferView changes.
10473         (Dispatch): adjust for protectedBlank removal
10474         (specialChar): call updateInset if the insert went ok.
10475
10476         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10477         specialChar instead.
10478
10479         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10480
10481         * BufferView.h: doxy change
10482
10483         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10484
10485         * lyxtextclass.C (operator[]): remove non-const version
10486         (defaultLayout): remove non-const version
10487
10488 2002-03-12  Juergen Vigna  <jug@sad.it>
10489
10490         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10491         did resize the LyXText too.
10492
10493         * buffer.C (readLyXformat2): set layout information on newly allocated
10494         paragraphs.
10495
10496         * tabular.C (OldFormatRead): set layout information on the paragraph.
10497
10498 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10499
10500         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10501
10502 2002-03-11  Juergen Vigna  <jug@sad.it>
10503
10504         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10505         plainly wrong.
10506         (resizeCurrentBuffer): force also the insets to resize themselfes.
10507         (moveCursorUpdate): fixed up for InsetText.
10508
10509 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10510
10511         * commandtags.h:
10512         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10513         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10514         value of Dialogs::tooltipsEnabled().
10515         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10516
10517 2002-03-08  Juergen Vigna  <jug@sad.it>
10518
10519         * BufferView_pimpl.C (updateInset): update inset inside inset also
10520         if it isn't inside theLockingInset().
10521
10522 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * buffer.C (asciiParagraph): redo some of the word and line length
10525         handling.
10526         (getLists): look for Caption instead of caption.
10527
10528 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10529
10530         * buffer.C (Buffer): initialize niceFile to true
10531         (makeLaTeXFile):
10532         (makeLinuxDocFile):
10533         (makeDocBookFile): make sure niceFile is true on exit
10534
10535 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10536
10537         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10538
10539 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * LyXSendto.C: remove.
10542         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10543         * lyx_gui.C: remove now-redundant comment.
10544         * ColorHandler.h: remove forward declaration of class WorkArea.
10545         * lyxfunc.C: remove #include "WorkArea.h".
10546
10547 2002-03-07  Juergen Vigna  <jug@sad.it>
10548
10549         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10550         got moved away with the DEPM and also set the inset_owner always
10551         right which before could have been omitted.
10552
10553 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10554
10555         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10556         wanted layout is not found.
10557
10558 2002-03-07  Juergen Vigna  <jug@sad.it>
10559
10560         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10561
10562 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10563
10564         * paragraph.C (breakParagraph): use default layout not layout of
10565         prev paragraph.
10566         (Paragraph): clear ParagraphParameters.
10567
10568 2002-03-06  Juergen Vigna  <jug@sad.it>
10569
10570         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10571         otherwise it would not be a valid lenght. Fixed a special case in
10572         the minipage compatibility read where we end the document with a
10573         minipage.
10574
10575         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10576         was set as it could be 0 for InsetTexts first entry.
10577
10578 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10579
10580         * paragraph.C (writeFile): if layout is empty write out
10581         defaultLayoutName().
10582
10583         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10584         file without named layout we set layout to defaultLayoutName().
10585
10586 2002-03-06  Juergen Vigna  <jug@sad.it>
10587
10588         * CutAndPaste.C (copySelection): set layout for new paragraph.
10589
10590         * text.C (prepareToPrint): leave ERT inset left aligned
10591         (leftMargin): don't indent paragraphs inside ERT insets
10592
10593 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * paragraph.C (breakParagraph): dont call clear do the work manually
10596
10597         * paragraph.[Ch] (clear): remove function
10598
10599 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * paragraph.C (Paragraph): dont call clear, the work has already
10602         been done.
10603
10604         * lyxtextclass.C (operator): assert if n is empty
10605
10606         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10607         work manually instead.
10608
10609 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10610
10611         * BufferView_pimpl.C: protect selectionLost against text == 0
10612
10613 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * text.C (breakParagraph): fix a setting layout to '0' problem.
10616
10617 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10618
10619         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10620         final location of file, for the included files, and graphics.
10621
10622 2002-03-05  Juergen Vigna  <jug@sad.it>
10623
10624         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10625
10626 2002-03-04  Juergen Vigna  <jug@sad.it>
10627
10628         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10629
10630         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10631         last column of multicolumn cells.
10632         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10633
10634 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10635
10636         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10637         file if it doesn't go to a temporary file.
10638
10639         * buffer.C (sgmlOpenTag):
10640         (sgmlCloseTag):  remove extra newline insertion.
10641
10642 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10643
10644         * text.C (getRowNearY): comment out debug msg
10645
10646 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * text2.C: first -> first_y
10649
10650         * text.C (getRowNearY): add some attemts at a possible
10651         optimization, not working.
10652
10653         * tabular.[Ch]: add BufferParams to several function so that newly
10654         created paragraph can be initialized to he default layotu for the
10655         buffers textclass.
10656
10657         * tabular-old.C (ReadOld): add buf->params to call of Init
10658
10659         * screen.C: rename text->first to text->first_y
10660
10661         * paragraph.C (breakParagraph): always set layout in the broken
10662         paragraph
10663
10664         * lyxtextclass.C (Read): remove lowercase
10665         (hasLayout): ditto
10666         (operator): ditto
10667         (delete_layout): ditto
10668
10669         * lyxtext.h: rename first -> first_y
10670
10671         * lyxlayout.C (Read): remove lowercase
10672         (name): ditto
10673         (setName): ditto
10674         (obsoleted_by): ditto
10675
10676         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10677
10678         * buffer.C (insertErtContents): add params are to InsetERT
10679         (parseSingleLyXformat2Token): add code to check if a paragraphs
10680         layout really exist.
10681         (parseSingleLyXformat2Token): add params to several inset
10682         constructors
10683         (asciiParagraph): remove lowercase, do the layout comparisons with
10684         no_case
10685
10686         * BufferView_pimpl.C (cursorNext): first -> first_y
10687         (resizeCurrentBuffer): first -> first_y
10688         (updateScrollbar): first -> first_y
10689         (scrollCB): first -> first_y
10690         (workAreaMotionNotify): first -> first_y
10691         (workAreaButtonPress): first -> first_y
10692         (checkInsetHit): first -> first_y
10693         (cursorPrevious): first -> first_y
10694         (cursorNext): first -> first_y
10695         (Dispatch): add buffer_->params to severl inset contructors
10696
10697 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10698
10699         * lyxlayout.C (Read): remove some debug info that I forgot.
10700
10701         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10702         clean up the code slightly.
10703         (makeLinuxDocFile): ditto
10704         (makeDocBookFile): ditto
10705
10706         * text2.C: layout as string
10707
10708         * text.C: layout as string
10709
10710         * paragraph_pimpl.C: layout as string
10711
10712         * paragraph.[Ch]: layout as string
10713
10714         * lyxtextclasslist.[Ch]: layout as string
10715
10716         * lyxtextclass.[Ch]: layout as string
10717
10718         * lyxtext.h: layout as string
10719
10720         * lyxlayout.[Ch]: layout as string
10721
10722         * lyx_cb.C: layout as string
10723
10724         * bufferview_funcs.C: layout as string
10725
10726         * bufferparams.C: layout as string
10727
10728         * buffer.C: layout as string
10729
10730         * LyXView.[Ch]: layout as string
10731
10732         * LaTeXFeatures.[Ch]: layout as string
10733
10734         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10735
10736         * BufferView_pimpl.C: change current_layout to string, remove
10737         lyx::layout_type.
10738         (Dispatch):
10739         (smartQuote):
10740         (insertInset):
10741         (workAreaButtonRelease): layout as string
10742
10743         * BufferView2.C (unlockInset): adjust
10744
10745         * vspace.C (asLatexCommand): use an explict temp variable.
10746
10747 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * Makefile.am: use FRONTEND_*
10750
10751 2002-03-01  Juergen Vigna  <jug@sad.it>
10752
10753         * tabular.C (SetWidthOfMulticolCell): changed to something better
10754         I hope but still work in progress.
10755         (recalculateMulticolumnsOfColumn): renamed function from
10756         recalculateMulticolCells as it is more appropriate now.
10757         (SetWidthOfCell): calculate multicols better.
10758
10759 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10762
10763         * lyxfunc.C (processKeySym): print sequence also if it is
10764         `deleted' (complete)
10765
10766         * kbsequence.C (print): print sequence even if it is deleted
10767         (complete would be a better word, actually).
10768
10769         * lyxfunc.C (dispatch): print complete options after a prefix key
10770
10771         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10772
10773 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10774
10775         * text2.C (setCharFont): eliminate setCharFont code duplication.
10776
10777 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10780         LFUN_TABULAR_FEATURE (bug #177)
10781
10782 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10783
10784         * Makefile.am: remove figure.h
10785
10786 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10787
10788         * Bufferview_pimpl.C:
10789         * CutAndPasteC:
10790         * LaTeX.C:
10791         * LyXSendto.C:
10792         * buffer.C:
10793         * bufferlist.C:
10794         * converter.C:
10795         * language.C:
10796         * lyxfunc.C:
10797         * lyxvc.C:
10798         * paragraph.C:
10799         * text.C:
10800         * text2.C: remove #include "lyx_gui_misc.h".
10801
10802         * LaTeX.C: added #include <cstdio>
10803
10804 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10807         that the paragraph following this one can have.
10808
10809         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10810
10811         * vspace.C (asLatexCommand): fix bogus gcc warning
10812
10813         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10814
10815 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10816
10817         * text2.C (setLayout): get rid of redundant code
10818
10819 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10820
10821         * text2.C (incDepth): make sure depth cannot be increased beyond
10822         reasonable values.
10823
10824 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10825
10826         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10827         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10828
10829         * PainterBase.h (image):
10830         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10831         a LyXImage const *.
10832
10833 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * BufferView.C:
10836         * BufferView.h:
10837         * BufferView_pimpl.C:
10838         * BufferView_pimpl.h:
10839         * LaTeXFeatures.C:
10840         * LyXAction.C:
10841         * LyXView.C:
10842         * Makefile.am:
10843         * UpdateList.h:
10844         * UpdateList.C:
10845         * buffer.C:
10846         * figure.h:
10847         * figureForm.C:
10848         * figureForm.h:
10849         * figure_form.C:
10850         * figure_form.h:
10851         * lyx_cb.C:
10852         * lyx_gui.C:
10853         * lyx_gui_misc.C:
10854         * lyxfunc.C:
10855         * sp_base.h:
10856         * sp_ispell.h:
10857         * sp_pspell.h:
10858         * sp_spell.C: remove fig inset, and the crap house of
10859           cards that follows it
10860
10861 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * Makefile.am:
10864         * lyxserver.C:
10865         * os2_defines.h:
10866         * os2_errortable.h:
10867         * nt_defines.h: move .h into support/
10868
10869         * vms_defines.h: remove
10870
10871         * WorkArea.C: add space in debug output
10872
10873         * text2.C:
10874         * paragraph.C:
10875         * buffer.C: add WITH_WARNINGS
10876
10877         * vc-backend.h:
10878         * vc-backend.C:
10879         * bufferlist.C: s/retrive/retrieve/, add docs
10880
10881         * vspace.h:
10882         * vspace.C:
10883         * kbmap.h:
10884         * lyxlength.h:
10885         * lyxgluelength.h:
10886         * length_common.h:
10887         * chset.h:
10888         * chset.C: add docs
10889
10890         * lyxgui.C: add ID to X error handler
10891
10892         * lyxtestclass.c: fix typo
10893
10894 2002-02-26  Juergen Vigna  <jug@sad.it>
10895
10896         * tabular_funcs.C (write_attribute): changed so that some default
10897         attributes are not written at all.
10898         (getTokenValue): set default values before trying to read the
10899         value so we have the return value always set as default if we don't
10900         find the token we search for.
10901
10902         * tabular.C (Write): write bools as bools not as strings!
10903
10904 2002-02-22  Juergen Vigna  <jug@sad.it>
10905
10906         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10907         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10908
10909         * text.C (leftMargin): don't add an indent for paragraphs inside
10910         tabular cells (fix #208).
10911
10912 2002-02-21  José Matos  <jamatos@fep.up.pt>
10913
10914         * tabular.C (docBook): fixed support for long tables.
10915
10916 2002-02-20  Juergen Vigna  <jug@sad.it>
10917
10918         * text2.C (getFont): get the drawing font of the Inset if this
10919         paragraph is inside an inset (only important for InsetERT for now).
10920
10921         * buffer.C (insertErtContents): use new lanugage params in ERT
10922         constructor.
10923
10924         * CutAndPaste.C: commenting out seemingly uneeded code.
10925
10926 2002-02-19  Allan Rae  <rae@lyx.org>
10927
10928         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10929         Iterators might be simple to use but they also get invalidated.
10930         (removeAutoInsets): renamed saved cursor tracking variables and added
10931         some comments to clarify what everything does.
10932
10933 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10934
10935         * Chktex.C:
10936         * LaTeX.C:
10937         * LyXSendto.C:
10938         * converter.C:
10939         * lyx_cb.C:
10940         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10941         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10942
10943         * lyxfunc.C:
10944         * vc-backend.h: remove #include "support/syscall.h"
10945
10946         * LaTeX.C:
10947         * LyXSendto.C:
10948         * converter.C: rearrange #includes in Lars' approved fashion.
10949
10950         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10951         forward declare class Timeout in the header file.
10952
10953         * XFormsView.C: changes due to the above.
10954
10955         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10956         similar to LyXView.
10957
10958         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10959         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10960
10961 2002-02-18  José Matos  <jamatos@fep.up.pt>
10962
10963         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10964         insets contents.
10965
10966 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10967
10968         * a lot of small ws changes
10969         * add a lot of using std::XXX
10970         * use std construcs some places where approp.
10971         * use some exisint stuff from lyxfunctional where approp.
10972         * Make file changes to use partial linking (lets test this now...)
10973
10974 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10975
10976         * Chktex.C:
10977         * buffer.C:
10978         remove #include "support/syscontr.h" as it's redundant. Always has been.
10979
10980         * Chktex.C:
10981         * LaTeX.C:
10982         * LyXSendto.C:
10983         * converter.C:
10984         * lyx_cb.C:
10985         * vc-backend.C:
10986         change Systemcalls::System to Systemcalls::Wait and
10987         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10988         No change of functionality, just reflects the stripped down Systemcalls
10989         class.
10990
10991 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10992
10993         * debug.[Ch]: add a GRAPHICS type to the enum.
10994
10995 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10996
10997         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10998
10999         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11000         there is an inset.
11001
11002 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11005         match the changes below.
11006
11007         * text2.C (toggleInset): if there is not editable inset at cursor
11008         position, try to see if cursor is _inside_ a collapsable inset
11009         and close it.
11010
11011 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11014         document menu has a nice checkbox
11015
11016 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * lyxlength.C (asLatexString): change PW to output as percent of
11019         \textwidth.
11020
11021         * lengthcommon.C: change '%' to 't%'
11022
11023         * lyxfunc.C (dispatch): a few comments from Martin
11024
11025 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11026
11027         * WorkArea.h:
11028         * WorkArea.C:
11029         * BufferView_pimpl.h:
11030         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11031           the X selection.
11032
11033 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * vspace.C (inPixels): fix compiler warning
11036
11037 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * lyxfunc.C (getStatus): fix status message for disabled commands.
11040
11041 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11042
11043         * BufferView_pimpl.C: fix crash on close buffer
11044         during selection (#227)
11045
11046 2002-01-27  Herbert Voss  <voss@lyx.org>
11047
11048         * buffer.C: link old Figure to new graphic inset
11049
11050 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11051
11052         * FontLoader.C (getFontinfo): Change the latex font names in order
11053         to match the names of type1inst.
11054
11055 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11058
11059         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11060         (extchanged): ditto
11061         (ext_exist): ditto
11062         (remove_files_with_extension): ditto
11063         (remove_file): ditto
11064         (write): ditto
11065
11066         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11067         document is smaller than the work area height. Do not initialize
11068         static variables to 0.
11069
11070 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11073
11074         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11075         LFUN_LAYOUT_PARAGRAPHS.
11076
11077         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11078         tabular. It is possible to provide a possible cell, which will
11079         typically be the actcell from the corresponding insettabular
11080
11081         * lyxfunc.C (getStatus): small cleanup; disable
11082         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11083         true
11084
11085 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11086
11087         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11088
11089         * paragraph.C (startTeXParParams):
11090         (endTeXParParams): new methods. The LaTeX code to
11091         start/end paragraph formatting
11092         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11093         empty (fixes bug #200)
11094
11095         * vspace.C (inPixels): adapt to the change below
11096         (inPixels): [later] more cleanups (remove unused variables)
11097
11098         * lyxlength.C (inPixels): change to use a width and a height as
11099         parameter.
11100
11101 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11104         Replaced with \paperwidth
11105
11106         * DepTable.C (insert): add std:: qualifier
11107
11108 2002-01-18  Allan Rae  <rae@lyx.org>
11109
11110         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11111         updated also?
11112
11113         * text.C (drawInset): Turned out I didn't know enough about how
11114         rebreaking worked.  This fixes most of the redraw problems.  I see
11115         an occasional cursor trail when a line is broken now and the cursor
11116         placement can seem out by a few pixels also after a rebreak.
11117
11118 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * buffer.C (parseSingleLyXformat2Token): update because minipage
11121         width is now a LyXLength
11122
11123         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11124
11125         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11126         math insets
11127
11128 2002-01-17  Juergen Vigna  <jug@sad.it>
11129
11130         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11131
11132         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11133         is set correctly and the inset is updated correctly.
11134
11135 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11138         the beginning of the loop.
11139
11140 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * lyxrc.C: improve help for use_scalable_fonts
11143
11144 2002-01-17  Allan Rae  <rae@lyx.org>
11145
11146         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11147
11148 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11151         make sure to set their inset_owner to the right value (bug #171)
11152
11153 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11154
11155         * DepTable.h
11156         * DepTable.C: Implement mtime checking to reduce time spent doing
11157         CRCs.
11158
11159 2002-01-16  Juergen Vigna  <jug@sad.it>
11160
11161         * tabular.C (GetAdditionalHeight): one of error fixed.
11162
11163         * lyxrc.C (output): small fix in writing use_pspell.
11164
11165 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11166
11167         * sp_base.h: #include LString.h
11168
11169 2002-01-16  Allan Rae  <rae@lyx.org>
11170
11171         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11172         Can someone check this please?
11173
11174         * text.C (drawInset): It was possible that p.row would be removed by
11175         breakAgainOneRow upsetting a few other settings.  There may be another
11176         small tweak possible by setting need_break_row = 0 when p.row has been
11177         removed but I don't know enough about the logic here.
11178
11179 2002-01-15  Allan Rae  <rae@lyx.org>
11180
11181         * text.C (insertChar): removed conditional truism.
11182
11183         * BufferView2.C (removeAutoInsets): More tweaks.
11184         cur_par_prev could be a stray pointer.  Check for trailing empty line
11185         in case last line was cur_par and only had an error inset on it.
11186
11187 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11190         absolute
11191
11192         * vc-backend.C (most methods):
11193         * exporter.C (Export):
11194         * converter.C (convert):
11195         (runLaTeX):
11196         * LyXSendto.C (SendtoApplyCB):
11197         * lyxfunc.C (dispatch):
11198         (menuNew):
11199         (open):
11200         (doImport):
11201         * lyx_cb.C (AutoSave):
11202         (InsertAsciiFile):
11203         * BufferView_pimpl.C (MenuInsertLyXFile):
11204         * buffer.C (runChktex): use Buffer::filePath().
11205
11206         * buffer.h: rename filename to filename_; rename filepath to
11207         filepath_ and make it private
11208         (filePath): new method
11209
11210         * buffer.C (writeFile): use fileName()
11211         (getLatexName):
11212
11213         * lyx_main.C (init): fix starting  of LyX when the binary is a
11214         link from so,ewhere else.
11215
11216         * minibuffer.C: include <cctype> for isprint
11217
11218 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11219
11220         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11221         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11222         name clash with InsetCollapsable's width function.
11223
11224 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * lastfiles.C: include <iterator>
11227
11228 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11229
11230         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11231         std::count.
11232
11233         * buffer.C (makeLaTeXFile): ditto.
11234         Also make loop operation more transparent.
11235
11236 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * ToolbarDefaults.C: remove trailing comma closing namespace.
11239
11240         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11241
11242         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11243         as in WorkArea.
11244
11245         * trans.C (Load): comment out unused variable, allowed.
11246
11247 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11248
11249         * minibuffer.[Ch] (append_char): new method to recieve input from the
11250         drop-down completion browser. If a key was pressed, then recieve this
11251         char and append it to the existing string.
11252         (peek_event): modify the positioning data passed to the completion
11253         browser so that it can be placed above the minibuffer rather than below.
11254 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11255
11256         * LyXAction.C (init): alloe error-next for readonly documents.
11257
11258         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11259         count.
11260
11261 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * bufferlist.C (readFile): create the buffer _after_ checking that
11264         the file exists.
11265
11266         * lyxfunc.C (verboseDispatch): fix handling of arguments
11267
11268         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11269
11270         * lyxrc.C: use string::erase() instead of initializing to "".
11271
11272
11273 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * BufferView_pimpl.h:
11276         * BufferView_pimpl.C:
11277         * WorkArea.h:
11278         * WorkArea.C:
11279         * text2.C: tell X when we have made a selection for copying
11280
11281 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * BufferView_pimpl.C (MenuInsertLyXFile):
11284         * lyxfunc.C (menuNew):
11285         (open):
11286         (doImport): add shortcuts to directory buttons
11287
11288         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11289         open a float)
11290
11291         * lyxfunc.C (setStatusMessage):
11292         (getStatusMessage): new methods
11293         (getStatus):use setStatusMessage instead of setErrorMessage
11294         (dispatch): when function is disabled, set error message here
11295         [instead of in getStatus previously]
11296
11297         * BufferView_pimpl.C (workAreaButtonRelease): update
11298         toolbar/menubar here too.
11299
11300 2002-01-13  Allan Rae  <rae@lyx.org>
11301
11302         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11303         Now seems indestructible.  Remaining task is to audit all other
11304         code affected by deleteEmptyParagraphMechanism.  One small quirk
11305         left is that an empty document with an error in the preamble can
11306         be made to report an error but no error box appears.  I don't know
11307         where it goes.
11308         (removeAutoInsets): Improved comments.
11309
11310 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * Thesaurus.h:
11313         * Thesaurus.C: update for Aiksaurus 0.14
11314
11315 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * text2.C (firstParagraph): removed member function, all uses
11318         replaces with ownerParagraph
11319         (redoParagraphs): here
11320         (updateInset): here
11321         (toggleAppendix): here
11322         * BufferView2.C (insertErrors): here
11323         (setCursorFromRow): here
11324
11325 2002-01-13  Allan Rae  <rae@lyx.org>
11326
11327         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11328         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11329         There is still a way to segfault this although you may have to do this
11330         multiple times: Have an InsetERT with an unknown command in it.
11331         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11332         <down-arrow>, <Enter> again, View->DVI, BANG!
11333
11334         * text2.C (setCursor):
11335         (deleteEmptyParagraphMechanism):
11336         * lyxtext.h (setCursor):
11337         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11338         Making use of the return value may help fix other bugs.
11339
11340 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11343
11344         * LyXView.C (updateMenubar): call MenuBar::update here
11345         (updateToolbar): but not here
11346         (showState): do not update toolbar/menubar
11347
11348         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11349         should need to care about that.
11350
11351         * lyxfunc.C (verboseDispatch): simplify a bit
11352         (getStatus): have a version which takes a pseudoaction, and
11353         another which requires a (kb_action,string).
11354
11355         * LyXAction.C (retrieveActionArg): make it work also when action
11356         is not a pseudo-action.
11357         (getActionName): simplify a bit
11358         (helpText):
11359
11360 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * lyxfunc.C (verboseDispatch): new families of methods with
11363         several ways to specify a command and a bool to indicate whether
11364         the command name and shortcut should be displayed in minibuffer
11365         (eventually, we could extend that to a finer bitmask like
11366         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11367         (dispatch): the pristine dispatch command which just, well,
11368         dispatchs! Note it still sets its result to minibuffer; I'm not
11369         sure we want that.
11370
11371         * lyxfunc.h: remove setHintMessage
11372
11373         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11374
11375 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * BufferView_pimpl.C (specialChar): delete new inset if we have
11378         not been able to insert it.
11379
11380         * kbmap.C: revert to using int instead of kb_action, since all we
11381         are dealing with is pseudo-actions.
11382
11383         * LyXAction.C (searchActionArg): change to return int instead of
11384         kb_action, since the result is a pseudoaction.
11385
11386 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * buffer.C (insertErtContents): Fix (partially) the font bug.
11389
11390 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11391
11392         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11393         as the other one is broken on my machine!
11394
11395 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11396
11397         * commandtags.h:
11398         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11399
11400 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11401
11402         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11403         reflect their actual use. Provide compatibility code for older lyxrc
11404         files.
11405
11406         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11407         FL_NORMAL_STYLE.
11408         change names of popup font variables in line with the changes to lyxrc.C
11409
11410 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * buffer.C (asciiParagraph): avoid outputing a word twice after
11413         an inset.
11414
11415         * lyxrc.C (getDescription): document that document_path and
11416         template_path can be empty.
11417
11418 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * LaTeXFeatures.C (getMacros):
11421         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11422
11423         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11424
11425         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11426         getPackages.
11427         (getPackages): rename feature "floats" to "float". Use an array to
11428         iterate over 'simple' features (i.e. just a \usepackage). Add
11429         handling of "amsmath" (renamed from "amsstyle").
11430
11431 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11432
11433         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11434         features list.
11435
11436 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11437
11438         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11439         FuncStaus::FuncStatus & FuncStaus::some_method().
11440
11441 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11442
11443         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11444         of the func_satus stuff. Edited and massaged in various ways by
11445         JMarc.
11446
11447         * lyxfunc.C (getStatus): use FuncStatus
11448
11449 2002-01-08  Juergen Vigna  <jug@sad.it>
11450
11451         * text.C (nextBreakPoint): use function Inset::isChar().
11452
11453         * paragraph.C (TeXOnePar): use function
11454         Inset::forceDefaultParagraphs.
11455
11456         * buffer.C (latexParagraphs): use function
11457         Inset::forceDefaultParagraphs.
11458
11459 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11460
11461         * lyx_gui.C (init): set the style of the menu popups to
11462         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11463
11464 2002-01-07  Juergen Vigna  <jug@sad.it>
11465
11466         * text.C (setHeightOfRow): small fix
11467         (prepareToPrint): don't look at alignment if we don't have the place
11468         for doing it.
11469
11470 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * box.C: New file. Move the Box methods and functions out of box.h,
11473         following Lars' suggestion.
11474
11475 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         * box.h: #include "support/LOstream.h", needed for inlined function.
11478
11479         * lyxtextclass.C:
11480         * lyxtextclasslist.C: added some using std declarations.
11481
11482 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * box.h: make signed dimensions to allow insets wider than
11485           the screen (bug #162)
11486
11487         * BufferView_pimpl.C: add some insetHit debug
11488
11489 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * vc-backend.C: add FIXME
11492
11493 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * lyxfunc.C (getStatus): enable code for showing math font status
11496         in toolbar/menu.
11497
11498 2002-01-07  Juergen Vigna  <jug@sad.it>
11499
11500         * text.C (nextBreakPoint): removed debug output not needed anymore.
11501
11502 2002-01-06  Juergen Vigna  <jug@sad.it>
11503
11504         * text.C (nextBreakPoint): fixed up this function we had this bug
11505         since ever but now hopefully we break row better.
11506         (insertChar): we have to check if an inset is the next char as it
11507         could now happen that a large inset is causing a break.
11508
11509 2002-01-05  Juergen Vigna  <jug@sad.it>
11510
11511         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11512         if it doesn't like to be drawed.
11513
11514 2002-01-04  Juergen Vigna  <jug@sad.it>
11515
11516         * BufferView2.C (lockInset): forgot to set a cursor.
11517
11518         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11519
11520 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11521
11522         * FormMathsPanel.C:
11523         * FormMathsPanel.h
11524         * MathsSymbols.C:
11525         * form_maths_panel.C:
11526         * form_maths_panel.h:
11527         * form_maths_panel.fd: implemented sub- and super- buttons in math
11528         panel.
11529
11530         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11531         (or ^ space) to be used as in TeX (req'd by André).
11532
11533         * lyxfunc.C: Allow ^ and _ again to be used both as
11534         super/subscript (mathed) and as themselves (in text).
11535
11536 2002-01-03  Allan Rae  <rae@lyx.org>
11537
11538         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11539         "LyX" or the filename of the current buffer if it has one.  This is a
11540         modified form of John Levon's patch.
11541
11542         * XFormsView.C (setWindowTitle): also set icon title.
11543
11544         * LyXView.h (setWindowTitle): signature changed.
11545         * XFormsView.h (setWindowTitle): ditto.
11546
11547 2002-01-02  Juergen Vigna  <jug@sad.it>
11548
11549         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11550
11551 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * screen.C (topCursorVisible): introduce a temp var for
11554         text->cursor.row(), handle the case where this row is null. (kindo
11555         hachish)
11556
11557         * text2.C (setCursor): add a couple of asserts.
11558
11559         * paragraph.h (inset_iterator): add -> operator
11560
11561         * paragraph.[Ch] (autoDeleteInsets): remove member function
11562
11563         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11564         cursor pos correctly and handle inset deletion by itself.
11565         (insertErrors): move iterator declaration out of for expression
11566
11567         * lyxtextclass.C: add <algorithm>
11568
11569         * Makefile.am: added the new files to sources, removed layout.C
11570
11571         * layout.C: removed file
11572
11573         * layout.h: remove LYX_DUMMY_LAYOUT
11574
11575         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11576         layout.
11577
11578         * lyxlayout.[Ch]:
11579         * lyxtextclass.[Ch]:
11580         * lyxtextclasslist.[Ch]: new files
11581
11582         * include order changes to a lot of files, also changes because of
11583         the six new files.
11584
11585 2001-12-27  Juergen Vigna  <jug@sad.it>
11586
11587         * buffer.C (asciiParagraph): more fixes.
11588
11589         * tabular.C (ascii): make ascii export support export of only the
11590         data separated by a column-delimiter.
11591         (ascii): better support for ascii export.
11592
11593         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11594
11595 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11596
11597         * tabular_funcs.C: use a "using std::getline" instead of the
11598         previous fix from Angus (necessary for cxx + lyxstring)
11599
11600 2001-12-24  Juergen Vigna  <jug@sad.it>
11601
11602         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11603
11604         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11605         problems. First check a minipage also if we have some ert-contents
11606         (not only on par->size(), second set the right depth of the paragraph
11607         on the relink to the root-paragraph-list!
11608
11609         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11610         which then did not anymore update the main paragraphs on undo/redo!
11611
11612 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11615         code. Support all font-changing funcs (even those which are not in
11616         menu currently). Support for reporting font settings in
11617         mathed (disabled until Andre provides a function on mathed's side).
11618
11619         * func_status.h (toggle): small helper function to set toggle
11620         state on a flag.
11621
11622 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11623
11624         * tabular_funcs.C: getline -> std::getline
11625
11626 2001-12-21  Juergen Vigna  <jug@sad.it>
11627
11628         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11629         accessed and could be 0 (I couldn't generate this but it seems
11630         Michael could!).
11631
11632 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11635         * tabular_funcs.h: here and include iosfwd
11636
11637 2001-12-20  Juergen Vigna  <jug@sad.it>
11638
11639         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11640         inside inset but undo_par was.
11641
11642 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * Thesaurus.C: always include <config.h> in sources.
11645
11646         * Painter.h:
11647         * lyxlookup.h:
11648         * box.h: do not include <config.h> in header files
11649
11650         * text.C (paintLastRow): remove unused variable
11651
11652         * text.C (transformChar):
11653         (insertChar):
11654         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11655
11656         * Painter.C (text):
11657         * font.C (width): rewrite to use uppercase() instead of
11658         islower/toupper.
11659
11660         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11661
11662 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * lyxfind.C: clean up of find failure position change
11665
11666 2001-12-20  Juergen Vigna  <jug@sad.it>
11667
11668         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11669
11670         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11671         (TeXRow): added to LaTeX a single tabular row.
11672         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11673         (Latex): simplified and finally good LT-h/f support.
11674         (various_functions): just small adaptions for LT-h/f support.
11675
11676         * tabular_funcs.[hC]: added and moved here all not classfunctions
11677         of LyXTabular.
11678
11679 2001-12-19  Juergen Vigna  <jug@sad.it>
11680
11681         * tabular.[Ch]: better support for longtabular options (not finished
11682         yet!)
11683
11684 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11685
11686         * text.C (paintLastRow): use the label font instead of the font of
11687         the last character to compute the size of *_BOX. This makes more
11688         sense and avoids a crash with empty paragraphs.
11689         Use Painter::rectangle to draw EMPTY_BOX.
11690
11691 2001-12-19  Juergen Vigna  <jug@sad.it>
11692
11693         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11694         the paragraphs if the replaced paragraph is not the first one!
11695         Tried to delete not used paragraphs but does not work yet so for
11696         now it's inside #ifdef's and by default off!
11697
11698 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11699
11700         * MenuBackend.C: include "lyx_main.h" instead of declaring
11701         lastfiles (actually was declared as LastFiles* instead of a
11702         scoped_ptr).
11703
11704 2001-12-17  Juergen Vigna  <jug@sad.it>
11705
11706         * tabular.C (AppendColumn): applied John's fix
11707
11708 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * BufferView.h:
11711         * BufferView.C:
11712         * BufferView_pimpl.h:
11713         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11714
11715         * Makefile.am:
11716         * box.h: new start of class for above
11717
11718         * lyxfunc.C: ignore space-only minibuffer dispatches.
11719           Show the command name when it doesn't exist
11720
11721         * minibuffer.C: don't add empty lines to the history
11722
11723         * minibuffer.C: add a space on dropdown completion
11724
11725 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * text.C: fix line above/below drawing in insets
11728
11729 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * lyxlength.C (LyXLength): Initialize private variables.
11732
11733 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11734
11735         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11736         when inserting error insets.
11737
11738 2001-12-13  Juergen Vigna  <jug@sad.it>
11739
11740         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11741         actually sometimes the before-paragraph.
11742         (setUndo): don't clear the redostack if we're not actually undoing!
11743
11744 2001-12-06  Juergen Vigna  <jug@sad.it>
11745
11746         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11747         and fixed redoing of main paragraph, so we can use it now ;)
11748
11749         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11750
11751 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11754         Juergen's request
11755
11756 2001-12-13  André Pönitz <poenitz@gmx.net>
11757
11758         * undostack.[Ch]:
11759         * undo_func.C: minor cleanup
11760
11761 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11764         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11765         font in urw-fonts package which is marked as -urw-fontspecific and
11766         does not work (incidentally, changing the encoding in the
11767         fonts.dir of this package to -adobe-fontspecific fixes the
11768         problem).
11769
11770         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11771         is a crash when undoing first paragraph (Juergen, please take a
11772         look). THis does not mean the undo fix is wrong, just that it
11773         uncovers problems.
11774
11775         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11776         the (Paragraph*) version when needed instead of duplicating the
11777         code.
11778
11779         * text.C (workWidth): use Inset::parOwner to find out where the
11780         inset has been inserted. This is a huge performance gain for large
11781         documents with lots of insets. If Inset::parOwner is not set, fall
11782         back on the brute force method
11783
11784         * paragraph_pimpl.C (insertInset):
11785         * paragraph.C (Paragraph):
11786         (cutIntoMinibuffer): set parOwner of insets when
11787         inserting/removing them
11788
11789         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11790
11791 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11792
11793         * commandtags.h:
11794         * LyXAction.C:
11795         * lyx_main.C:
11796         * lyxfunc.C:
11797         * mathed/formulabase.C:
11798         * mathed/math_cursor.[Ch]:
11799         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11800
11801
11802 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * lyxlength.[Ch] (operator!=): new function
11805
11806 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * text.C (workWidth): use Inset::parOwner to find out where the
11809         inset has been inserted. This is a huge performance gain for large
11810         documents with lots of insets. If Inset::parOwner is not set, fall
11811         back on the brute force method
11812
11813         * paragraph_pimpl.C (insertInset):
11814         * paragraph.C (Paragraph):
11815         (cutIntoMinibuffer): set parOwner of insets when
11816         inserting/removing them
11817
11818         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11819
11820 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * tabular-old.C (getTokenValue):
11823         * tabular.C (getTokenValue):
11824         (write_attribute): new versions for LyXLength
11825         (everywhere): adjust the use of widths
11826
11827         * tabular.h: change the type of widths from string to LyXLength
11828
11829 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11830
11831         * paragraph.C: fixed missing line number count when exporting
11832         Environments to LaTeX file
11833
11834         * buffer.C: added informational message for checking line numbers.
11835
11836 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11839         paragraph, do the 'double space' part, but not the 'empty
11840         paragraph' one.
11841
11842         * text.C (workWidth): small optimization
11843         (getLengthMarkerHeight): use minimal size for negative lengths.
11844
11845 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11846
11847         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11848
11849         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11850
11851 2001-12-11  André Pönitz <poenitz@gmx.net>
11852
11853         * FontLoader.C:
11854         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11855
11856 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * text2.C: keep selection on a setFont()
11859
11860 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyx_cb.C: another bv->text misuse, from insert label
11863
11864 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * kbsequence.h:
11867         * kbsequence.C: re-instate nmodifier mask
11868
11869 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * lyx_main.h: make lyxGUI private.
11872
11873 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * lyxfind.C: place the cursor correctly on failed search
11876
11877 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * text.C (getLengthMarkerHeight): for small heights, the arrows
11880         are not always on top/bottom of the text
11881         (drawLengthMarker): smaller arrows; take the left margin in
11882         account; draw also vfills.
11883         (paintFirstRow):
11884         (paintLastRow): remove special code for vfill and standard spaces,
11885         since everything is handled in drawLengthMarker now.
11886
11887 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * buffer.C (insertErtContents): try to handle font and language
11890         interaction a bit better.g
11891
11892         * ColorHandler.C (updateColor): change the hash to cover the whole
11893         LColor enum, ws cleanup
11894         (getGCLinepars): ditto
11895         (getGCLinepars): only lookup in the linecache once.
11896
11897 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11898
11899         * iterators.C (operator++): Make the iterator more robust
11900
11901         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11902         (John's patch)
11903         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11904
11905 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11906
11907         * lyxtext.h:
11908         * text.C: better added space drawing
11909
11910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * LyXView.C:
11913         * BufferView2.C: fix layout combo update on inset unlock
11914
11915 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * Makefile.am: don't compile unused files
11918
11919 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * lyxfunc.C:
11922         * commandtags.h:
11923         * LyXAction.C: remove old LFUN_LAYOUTNO
11924
11925 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * paragraph_pimpl.h:
11928         * paragraph_pimpl.C: isTextAt() doesn't need font param
11929
11930 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * lyxlex.h:
11933         * lyxlex.C: little cleanup
11934
11935 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * BufferView_pimpl.C: fix insertAscii for insets
11938
11939 2001-12-05  Juergen Vigna  <jug@sad.it>
11940
11941         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11942         set the right font on the "multi" paragraph paste!
11943
11944 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * trans_decl.h:
11947         * trans_mgr.[Ch]:
11948         * trans.[Ch]:
11949         * lyxgluelength.C:
11950         * lyxlength.C: remove out-commented code.
11951
11952         * BufferView_pimpl:
11953         * CutAndPaste.C:
11954         * DepTable.C:
11955         * buffer.C:
11956         * chset.C:
11957         * lastfiles.C:
11958         * lyxlex.C:
11959         * lyxlex_pimpl.C:
11960         * lyxserver.C:
11961         * screen.C:
11962         * tabular-old.C:
11963         * tabular.C:
11964         * text.C:
11965         * trans_mgr.C:
11966         * vc-backend.C: change "while(" to "while ("
11967
11968         * lyxlength.[Ch]: add zero function to check if length is zero or
11969         not
11970         * lyxgluelength.C: use it
11971
11972 2001-12-05  Allan Rae  <rae@lyx.org>
11973
11974         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11975         Works for 2.95.3, from what I understand of Garst's reports this should
11976         work for other g++ versions.  We're screwed if the abs(int) definition
11977         changed between bugfix releases of gcc.
11978
11979 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * text.C: fix chapter label offset !
11982
11983 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyxtext.h:
11986         * text.C: fix hfill at end of line, clean up
11987
11988 2001-12-04  Juergen Vigna  <jug@sad.it>
11989
11990         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11991         that we force an update of the inset and it's owners if neccessary.
11992
11993 2001-12-03  Juergen Vigna  <jug@sad.it>
11994
11995         * text.C (rowLast): simplified code
11996
11997 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * lyxfunc.C: fix show options on timeout
12000
12001 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12002
12003         * screen.C (topCursorVisible): scroll half a page when the cursor
12004         reached top of bottom of screen
12005
12006 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * minibuffer.C: deactivate on loss of focus
12009
12010 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12011
12012         * vspace.[Ch] (operator!=): add operator.
12013
12014 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView_pimpl.C: refuse to open an inset when
12017         there's a selection.
12018
12019 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * BufferView_pimpl.C: allow to click on RHS of full row insets
12022
12023 2001-11-30  Juergen Vigna  <jug@sad.it>
12024
12025         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12026         insets for undo reasons.
12027
12028 2001-11-28  André Pönitz <poenitz@gmx.net>
12029
12030         * vspace.[Ch]: cosmetical changes
12031
12032 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * LyXAction.h:
12035         * LyXAction.C:
12036         * lyxfunc.h:
12037         * lyxfunc.C:
12038         * kbmap.h:
12039         * kbmap.C:
12040         * lyxrc.C:
12041         * kbsequence.h:
12042         * kbsequence.C: part re-write of old kb code
12043
12044         * Painter.C:
12045         * WorkArea.C: remove Lgb_bug_find_hack
12046
12047 2001-11-30  José Matos <jamatos@fep.up.pt>
12048
12049         * buffer.C (makeDocBookFile): add a comment to point a hack.
12050         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12051         Fixed a double write of labels.
12052
12053 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12054
12055         * LaTeX.C:
12056         * LaTeX.h Fixed bug in LaTeX class where it would not
12057         re-run latex if no depfiles were changed, but the .dvi was removed.
12058
12059 2001-11-28  André Pönitz <poenitz@gmx.net>
12060
12061         * all the files from the change on 2001/11/26:
12062         use lyx::layout_type instead of LyXTextClass::size_type
12063         use lyx::textclass_type instead of LyXTextClassList::size_type
12064
12065 2001-11-29  Juergen Vigna  <jug@sad.it>
12066
12067         * text.C: added support for paragraph::isFreeSpacing()
12068
12069         * buffer.C: same as above
12070
12071         * paragraph.h: inserted isFreeSpacing() function to enable
12072         FreeSpacing inside InsetERT.
12073
12074         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12075         of the paragraph's in the cut/copy buffer to 0!
12076
12077         * text2.C (removeRow): remove the assert as it can!
12078
12079         * lyxtext.h: added helper function firstRow returning firstrow and
12080         made firstrow private again.
12081
12082         * BufferView2.C (lockInset): don't relock if we're already locked!
12083
12084         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12085         the only paragraph.
12086         (removeRow): added Assert::(firstrow)
12087
12088         * debug.C: forgot to add INSETTEXT here.
12089
12090 2001-11-28  Juergen Vigna  <jug@sad.it>
12091
12092         * sp_spell.C (initialize): changed error text to more general
12093         spellchecker command use (not only ispell!)
12094
12095         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12096
12097         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12098
12099 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * vspace.C: initialise lyxgluelength on failure
12102
12103 2001-11-28  Allan Rae  <rae@lyx.org>
12104
12105         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12106         declaration & definition that looks like a function declaration.
12107
12108 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12109
12110         * BufferView2.C (copy):
12111         (copyEnvironment): do not clear the selection when doing a copy.
12112
12113         * text.C (paintFirstRow): compilation fix
12114
12115 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12116
12117         * tabular.C (Latex): correct line count when writing latex.
12118
12119 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * paragraph_pimpl.h:
12122         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12123           bug a bit
12124
12125 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * text.C:
12128         * LColor.h:
12129         * LColor.C: change vfillline->added_space
12130
12131         * text.C: add markers and text for added space
12132
12133         * vspace.C: fix comment
12134
12135 2001-11-28  André Pönitz <poenitz@gmx.net>
12136
12137         * paragraph.C: whitespace changes
12138         * all the other files from the change on 2001/11/26:
12139         change *::pos_type into lyx::pos_type
12140
12141 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12142
12143         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12144         language of the document when inserting error insets.
12145
12146 2001-11-26  André Pönitz <poenitz@gmx.net>
12147
12148         * BufferView_pimpl.[Ch]:
12149         *       CutAndPaste.C:
12150         * buffer.[Ch]:
12151         * lyxcursor.[Ch]:
12152         * lyxfind.C:
12153         * lyxfunc.C:
12154         * lyxrow.[Ch]:
12155         * paragraph.[Ch]:
12156         * paragraph_pimpl.[Ch]:
12157         * sp_spell.C:
12158         * text.C:
12159         * text2.C: reduce header dependencies, introduce type for positions
12160
12161 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * <various>: change to use Alert.h
12164
12165 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12166
12167         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12168         when encountering an unknown token.
12169         (readLyXformat2): Show an error message if there were unknown tokens.
12170
12171 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * BufferView2.C:
12174         * BufferView_pimpl.C:
12175         * buffer.C:
12176         * paragraph.h:
12177         * text.C:
12178         * text2.C: use par->isInset()
12179
12180 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * paragraph_pimpl.h:
12183         * paragraph_pimpl.C: cleanup
12184
12185 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * text2.C (removeRow):
12188         * text.C (setHeightOfRow): remove useless (and costly) call to
12189         getRow.
12190
12191 2001-11-20  Allan Rae  <rae@lyx.org>
12192
12193         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12194         Now need Inset*::checkInsertChar() to return true for appropriate
12195         cases so that the characters in the minibuffer will actually be
12196         inserted.
12197
12198 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * text.C: change the order of the includes.
12201         (workWidth): initialize it at once.
12202         (workWidth): make maxw unsigned
12203         (setHeightOfRow): remove unused variable (inset)
12204         (selectSelectedWord): remove unused variable (inset)
12205         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12206
12207 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12208
12209         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12210         server is not running.
12211         (openConnection):
12212         (closeConnection): add debug info when server is disabled.
12213
12214         * ColorHandler.C (getGCForeground): send debug message to GUI
12215         channel.
12216
12217         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12218
12219         * kbmap.C (bind): modify because return conventions of
12220         kb_sequence::parse have changed.
12221
12222         * kbsequence.C (parse): only ignore spaces and not any stupid
12223         control character. This avoids tests like s[i] <= ' ', which are
12224         guaranteed to fail with 8bit characters and signed chars.
12225         Change return code to string::npos when there have been no error
12226         (0 was a bad idea when error is at first character)
12227
12228 2001-11-14  José Matos  <jamatos@fep.up.pt>
12229
12230         * buffer.h:
12231         * buffer.C (simpleDocBookOnePar): removed unused argument.
12232
12233 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12234
12235         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12236         insets which are part of a word. Paragraph::isLetter takes care of
12237         that now. Use Paragraph::isInset to identify insets.
12238         (selectSelectedWord): do not test for hyphenation break.
12239
12240         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12241         that protected spaces are considered as spaces.
12242
12243         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12244         Inset::isLetter.
12245
12246 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * lyxserver.h:
12249         * lyxserver.C: fix it. and small cleanup.
12250
12251 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * BufferView_pimpl.C: use inline helpers
12254
12255         * LaTeXFeatures.h:
12256         * LaTeXFeatures.C: fix typos
12257
12258         * Spacing.h:
12259         * Spacing.C: move spacing_string into class
12260
12261         * ToolbarDefaults.C: move stuff into namespace anon
12262
12263         * layout.h: update enum
12264
12265         * lyxfunc.C: use better debug
12266
12267         * minibuffer.h: fix typo
12268
12269         * debug.h:
12270         * debug.C:
12271         * WorkArea.C: add and use Debug::WORKAREA
12272
12273         * lyxtext.h:
12274         * text.C:
12275         * text2.C: code re-organisation, inline helpers
12276
12277 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12278
12279         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12280         std::vector.empty().
12281
12282 2001-11-09  Allan Rae  <rae@lyx.org>
12283
12284         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12285         '\n's after tables.  Tabular and ERT inset work now makes this no
12286         longer necessary.
12287
12288 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * minibuffer.h:
12291         * minibuffer.C: fix crash, improve drop-down completion
12292
12293 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * lyxserver.h:
12296         * lyxserver.C: invalidate fd's when doing endPipe()
12297
12298 2001-11-08  José Matos  <jamatos@fep.up.pt>
12299
12300         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12301         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12302
12303         * paragraph.h:
12304         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12305
12306 2001-11-07  José Matos  <jamatos@fep.up.pt>
12307
12308         * buffer.h:
12309         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12310         const qualifier.
12311
12312         * buffer.C (sgmlOpenTag):
12313         * buffer.C (sgmlCloseTag): removed debug info.
12314
12315         * buffer.h (sgmlOpenTag):
12316         * buffer.h (sgmlCloseTag): made public.
12317
12318 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12319
12320         * buffer.C (saveParamsAsDefaults):
12321         * lyx_cb.C (MenuLayoutSave): remove
12322
12323         * LyXAction.C (init):
12324         * commandtags.h:
12325         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12326
12327 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * buffer.C (setPaperStuff): removed from here...
12330
12331         * bufferparams.C (setPaperStuff): ... and moved there.
12332
12333 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * minibuffer.h:
12336         * minibuffer.C:
12337         * XFormsView.C: add support for drop-down completion
12338
12339 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12340
12341         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12342         commands.
12343
12344 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12347         disabled.
12348
12349 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * lyx_main.C: change ref to known bugs
12352
12353 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12354
12355         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12356         to work around older babel problems.
12357
12358 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12359
12360         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12361
12362 2001-10-24  Juergen Vigna  <jug@sad.it>
12363
12364         * tabular-old.C (ReadOld): below variable changes reflected.
12365
12366         * tabular.[Ch]: added ltType struct for longtable header/footer
12367         defines and changed all instances where they are used. Added
12368         future support for double top/bottom rows.
12369
12370 2001-10-24  José Matos  <jamatos@fep.up.pt>
12371
12372         * buffer.h (docbookHandleCaption):
12373         * buffer.C (docbookHandleCaption): removed unused function.
12374         (makeDocBookFile): moved docbook supported version to v4.1.
12375
12376 2001-10-24  José Matos  <jamatos@fep.up.pt>
12377
12378         * tabular.h:
12379         * tabular.C (docbookRow): new function to export docbook code of a row.
12380         (DocBook): now honors the longtable flags.
12381
12382 2001-10-23  José Matos  <jamatos@fep.up.pt>
12383
12384         * LaTeXFeatures.h:
12385         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12386         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12387
12388         * buffer.C (makeLinuxDocFile):
12389         (makeDocBookFile): reworked the preamble, more clean, and with
12390         support for lyx defined entities. Changed the document declaration
12391         to be more XML friendly.
12392
12393         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12394         if we need to output XML that should be done with a filter.
12395
12396 2001-10-22  Juergen Vigna  <jug@sad.it>
12397
12398         * sp_pspell.h (class PSpell): add alive function needed in the
12399         controller to see if the spellchecker could be started.
12400
12401 2001-10-22  Juergen Vigna  <jug@sad.it>
12402
12403         * buffer.C (insertStringAsLines): modify the font for inserting
12404         chars in certain conditions by calling checkInsertChar(font).
12405
12406 2001-10-19  Juergen Vigna  <jug@sad.it>
12407
12408         * text.C (workWidth): use getRow instead of wrong algorithm.
12409         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12410
12411 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * lyxserver.h:
12414         * lyxserver.C:
12415         * lyx_main.h:
12416         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12417
12418 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12419
12420         * text.C (workWidth): do not search for the exact row when
12421         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12422         optimization for big documents.
12423
12424 2001-10-18  Juergen Vigna  <jug@sad.it>
12425
12426         * text.C (workWidth): new function with added Inset * parameter.
12427
12428 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12431
12432         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12433         change return type of getColumnNearX.
12434
12435
12436         * text.C (changeRegionCase): use uppercase/lowercase instead of
12437         toupper/tolower.
12438         (leftMargin):
12439         (rightMargin): simplify code by factoring out the uses of
12440         textclasslist.
12441         (labelFill):
12442         (numberOfHfills):
12443         (setHeightOfRow):
12444         (appendParagraph): use Paragraph::size_type
12445
12446 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12447
12448         * vspace.C (asLatexString): add a missing break
12449
12450 2001-10-15  Herbert Voss  <voss@perce.de>
12451
12452         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12453
12454 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12457         is not available.
12458
12459 2001-10-10  André Pönitz <poenitz@gmx.net>
12460
12461         * lyxfunc.C: removed greek_kb_flag.
12462
12463 2001-10-10  Herbert Voss  <voss@perce.de>
12464
12465         * lyx_main.C: delete global string help_lyxdir.
12466
12467 2001-10-09  Herbert Voss  <voss@perce.de>
12468
12469         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12470
12471         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12472
12473         * lyx_main.C: added global string help_lyxdir.
12474
12475         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12476
12477 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12478
12479         * lyxrc.C (set_font_norm_type): support iso8859-4
12480
12481 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12482
12483         * LaTeX.C (deplog): add another regex for MikTeX
12484
12485 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12486
12487         * lyxrc.C (set_font_norm_type): support iso8859-3
12488
12489 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12490
12491         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12492
12493         * LaTeXFeatures.C: remove special case of french and index
12494
12495         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12496         before \begin{document}). This solves several incompatibilities.
12497
12498 2001-10-03  Garst Reese  <reese@isn.net>
12499
12500         * lyx_cb.C: change CheckTex error msg.
12501
12502 2001-10-03  José Matos  <jamatos@fep.up.pt>
12503
12504         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12505
12506 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12507
12508         * .cvsignore: update
12509
12510         * lyx_main.C (commandLineVersionInfo): use new style version info.
12511
12512         * buffer.C (writeFile):
12513         (makeLaTeXFile):
12514         (makeLinuxDocFile):
12515         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12516
12517         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12518
12519         * version.h: update to use stuff in version.C
12520
12521         * version.C.in: new file. Contains version information determined
12522         at compile time. This is a merging of version.h and
12523         version_info.h.in.
12524
12525 2001-10-03  Juergen Vigna  <jug@sad.it>
12526
12527         * BufferView_pimpl.C (update): don't change "dirty" status in
12528         updateInset call.
12529
12530 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12531
12532         * WorkArea.C (c-tor): re-position version string slightly.
12533
12534 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12537         revert to previous code.
12538
12539         WorkArea.[Ch]: (show, destroySplash): methods removed.
12540
12541         WorkArea.C: rework code so that it's an amalgam of the codes before and
12542         after the splash screen was moved to WorkArea.
12543
12544 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12545
12546         * lyxrc.C (read):
12547         * vspace.C (inPixels):
12548         (lyx_advance):
12549         * kbmap.C (bind):
12550         * buffer.C (insertStringAsLines):
12551         (asciiParagraph): fix types to be large enough
12552
12553         * lyxlex_pimpl.h: change member status from short to int
12554
12555         * layout.h: fix type of endlabeltype
12556
12557         * kbmap.C (bind):
12558         * kbsequence.C (parse): change return type to string::size_type
12559
12560         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12561         variable
12562
12563         * Bullet.C (bulletSize):
12564         (bulletEntry): do not use short ints as parameters
12565
12566         * BufferView2.C (insertLyXFile): change a char to an int.
12567
12568         * WorkArea.C (WorkArea): remove unneeded floats in computation
12569
12570 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12571
12572         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12573
12574         * paragraph.C (asString): Do not ignore newline/hfill chars when
12575         copying to the clipboard.
12576
12577 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12578
12579         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12580         after a multi-line inset.
12581
12582 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * paragraph.C (validate): Set NeedLyXFootnoteCode
12585
12586 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12587
12588         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12589         and decrease-error to decrease.
12590
12591 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12594         it more readable (should be equivalent)
12595
12596 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12597
12598         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12599
12600 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12601
12602         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12603         of a cursor (row, etc.) after a character has been deleted
12604         (deleteEmptyParagraphMechanism): call the method above on _all_
12605         cursors held by the LyXText when a double space has been
12606         detected/deleted.
12607
12608 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12611         pixmap.
12612         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12613
12614         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12615         background. Use greyOut() and the new show() methods to toggle between
12616         the foreground and background. Add code to remove the splash after
12617         its initial showing.
12618
12619         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12620         (create_forms): no longer call Dialogs::showSplash.
12621
12622 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12623
12624         * .cvsignore: add version_info.h
12625
12626 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12627
12628         * version_info.h.in: new file
12629
12630         * Makefile.am: add version_info.h.in
12631
12632         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12633         version_info.h instead of VERSION_INFO
12634
12635 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12638         The ERT inset now returns string().
12639
12640 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * lyxtext.h, text.C (selectNextWord): renamed as
12643         selectNextWordToSpellcheck.
12644
12645         * text.C (selectNextWordToSpellcheck): Modified to not select
12646         words inside an ERT inset.
12647
12648 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * lyx_cb.C (MenuLayoutSave): change a bit the question
12651
12652         * sp_base.h: include <sys/types.h>
12653
12654 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12655
12656         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12657
12658 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12659
12660         * several files: fix typos in user-visible strings
12661
12662 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * text2.C (pasteSelection): do not set the selection, since it
12665         will be cleared later. Actually, the intent was to fix the way the
12666         selection was set, but I figured rmoving the code was just as good.
12667
12668 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12669
12670         * FontLoader.C (available): Check if font is available without
12671         loading the font.
12672
12673 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12674
12675         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12676
12677 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * lyxrc.[Ch]: added display_graphics variable and associated code.
12680
12681 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * bufferparams.C (hasClassDefaults): new method. Returns true if
12684         the buffer parameters correspond to known class defaults
12685
12686 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * XFormsView.C (show): set minimum size to the main window.
12689
12690 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * text2.C (copySelection):
12693         (cutSelection):
12694         * lyxfind.C (LyXReplace):
12695         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12696         LyXText::selectionAsString.
12697
12698         * paragraph.C (asString): add "label" argument to the second form
12699
12700         * text2.C (selectionAsString): add "label" argument and pass it to
12701         Paragraph::asString.
12702
12703 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12704
12705         * lyx_main.C (commandLineHelp): remove version information
12706
12707 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12708
12709         * lyx_main.C: add -version commandline option
12710
12711 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * paragraph.h: make the optional constructor arg required instead.
12714         some modifications to other files because of this.
12715
12716         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12717
12718         * lyxserver.C (C_LyXComm_callback): make it static
12719
12720         * lyx_main.C (error_handler): make it static
12721
12722         * lyx_gui.C (LyX_XErrHandler): make it static
12723
12724         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12725
12726         * WorkArea.C: make the extern "C" methods static.
12727
12728         * Makefile.am (lyx_LDADD): simplify
12729
12730 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12733         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12734
12735         * LyXAction.C (init):
12736         * lyxfunc.C (dispatch): associated code removal.
12737
12738 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * lyxfont.h (isSymbolFont): shut off warning
12741
12742         * text.C (setHeightOfRow):
12743         (getVisibleRow): fix crash with empty paragraphs which have a
12744         bottom line
12745
12746 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12747
12748         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12749         code.
12750
12751 2001-09-04  José Matos  <jamatos@fep.up.pt>
12752         * buffer.C
12753         * buffer.h
12754         * tabular.C (docbook): rename docBook method to docbook.
12755
12756 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * Makefile.am: add dependencies to main.o.
12759
12760 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12761
12762         * FontLoader.C (available): Return false if !lyxrc.use_gui
12763
12764 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12765
12766         * FontInfo.C (query):
12767         * converter.C (view):
12768         * importer.C (Import):
12769         * exporter.C (Export): Can not -> cannot.
12770
12771 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * BufferView_pimpl.C: allow to create index inset even if
12774           string is empty
12775
12776 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * buffer.C (getLists): replace boost::tie code with an explicit pair
12779         as boost::tie can break some compilers.
12780
12781         * iterators.h: Added a std:: declaration to the return type of
12782         ParIterator::size.
12783
12784 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12785
12786         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12787           case.
12788
12789 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12790
12791         * iterators.[Ch]: New files. Provide paragraph iterators.
12792
12793         * buffer.C (changeLanguage): Use paragraph iterators.
12794         (isMultiLingual): ditto
12795
12796         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12797
12798 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * FontLoader.C: Support for cmr font.
12801
12802 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12803
12804         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12805         (available): New method.
12806
12807         * FontInfo.C (getFontname): Use scalable fonts even when
12808         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12809         found.
12810
12811 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * converter.C (Formats::view): reverted! Incorrect fix.
12814
12815 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12816
12817         * converter.C (Formats::view): only output the -paper option
12818         if the dvi viewer is xdvi, thereby fixing bug #233429.
12819
12820 2001-08-23  Herbert Voss  <voss@perce>
12821
12822         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12823
12824 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12825
12826         * Spacing.h (Spacing): Set space to Default on in the default
12827         constructor.
12828
12829 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * vc-backend.h (RCS::versionString): add RCS to version
12832         (CVS::versionString): add CVS to version
12833
12834         * vc-backend.C (scanMaster): do not add CVS to version.
12835         (scanMaster): do not add RCS to version
12836
12837         * lyxvc.C (versionString): new method
12838
12839         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12840
12841 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * Spacing.C (set): initialize fval
12844
12845 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12846
12847         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12848         " or \.
12849
12850 2001-08-16  Juergen Vigna  <jug@sad.it>
12851
12852         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12853
12854 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12855
12856         * BufferView_pimpl.C:
12857         * figureForm.C:
12858         * lyxtext.h:
12859         * text2.C: setParagraph takes linespacing now
12860
12861 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * LyxAction.C: add internal LFUN_CITATION_INSERT
12864
12865         * LyXView.C: actually apply fix
12866
12867         * bufferlist.C: fix open non-existent file
12868
12869         * lyxfind.C: fix indentation
12870
12871         * lyxfunc.C: remove unneeded assert, fix typo
12872
12873 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * MenuBackend.C: use "Floatname List"
12876
12877 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12880         when converting LaTeX layout to insetERT.
12881         Generate a non-collapsed float when reading old float
12882
12883 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12884
12885         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12886         ERT insets.
12887
12888 2001-08-13  Juergen Vigna  <jug@sad.it>
12889
12890         * text.C (fill): return 0 instead of 20 as this seems to be the more
12891         correct value.
12892
12893 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12894
12895         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12896         lyxrc.font_norm.
12897
12898 2001-08-13  Juergen Vigna  <jug@sad.it>
12899
12900         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12901         casesensitive off.
12902         (SearchBackward): comment out the unlocking of the inset_owner this
12903         should not be needed!
12904
12905 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12906
12907         * Many files: Remove inherit_language, and add latex_language
12908
12909         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12910         collapsible insets.
12911
12912 2001-08-10  Juergen Vigna  <jug@sad.it>
12913
12914         * text.C (prepareToPrint): fixed hfill-width in draw!
12915
12916         * BufferView2.C (selectLastWord): save the selection cursor as this
12917         now is cleared in the function LyXText::clearSelection!
12918
12919 2001-08-08  Juergen Vigna  <jug@sad.it>
12920
12921         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12922         BACKSPACE type functions.
12923
12924         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12925         is only cutted from the document but not put in the cut-buffer, where
12926         still the old stuff should be.
12927
12928         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12929
12930         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12931
12932         * tabular.C (SetWidthOfCell): fixed special case where the width
12933         was not updated!
12934         (LeftLine): handle '|' in align_special.
12935         (RightLine): ditto
12936         (LeftAlreadyDrawed): ditto
12937         (SetWidthOfCell): ditto
12938
12939 2001-08-07  Juergen Vigna  <jug@sad.it>
12940
12941         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12942
12943 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12946         * lyxlex.[hC]: ditto
12947
12948 2001-08-06  Juergen Vigna  <jug@sad.it>
12949
12950         * text.C (getVisibleRow): fix up row clearing a bit.
12951
12952 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * minibuffer.C: make sure the X server sees the changes in the input.
12955
12956 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * paragraph.C (getFont): split into...
12959         (getLabelFont): this
12960         (getLayoutFont): and this
12961         * paragraph_pimpl.C (realizeFont): calling this
12962
12963         * text2.C (getFont): split into...
12964         (getLayoutFont): this
12965         (getLabelFont): and this
12966         (realizeFont): all three calling this
12967
12968         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12969         files where used.
12970
12971 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12972
12973         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12974
12975 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12976
12977         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12978         layouts from the Quote inset insertion.
12979
12980 2001-08-03  Juergen Vigna  <jug@sad.it>
12981
12982         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12983
12984         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12985         only if status not is already CHANGED_IN_DRAW (second level).
12986
12987         * text.C (draw): don't set the need_break_row when inside an
12988         InsetText LyXText.
12989
12990 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * buffer.C (parseSingleLyXformat2Token): handle more latex
12993         conversion cases.
12994
12995         * bufferview_funcs.[hC]: change function names to
12996         begin with small char, adjust other files.
12997
12998 2001-08-02  André Pönitz <poenitz@gmx.net>
12999
13000         * lyxfunc.C:
13001         BufferView_pimpl.C: remove broken special code for math-greek
13002
13003 2001-08-02  Juergen Vigna  <jug@sad.it>
13004
13005         * BufferView_pimpl.C (update): redone this function so that we
13006         update the text again if there was a CHANGE_IN_DRAW.
13007
13008         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13009         (drawFromTo): added a new internal bool which is used by draw() and
13010         redraw() function.
13011         (general): some cursor drawing problems fixed.
13012
13013 2001-08-01  Juergen Vigna  <jug@sad.it>
13014
13015         * lyxfind.C (LyXFind): fixed
13016         (SearchForward): ditto
13017         (SearchBackward): ditto
13018
13019         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13020         spurius drawing of the cursor in the main area.
13021
13022         * text2.C (status): small fix which could lead to a segfault!
13023         (clearSelection): remove unneeded BufferView param.
13024
13025 2001-08-01  André Pönitz <poenitz@gmx.net>
13026
13027         * lyxfunc.C: small change due to changed mathed interface
13028
13029 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13030
13031         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13032
13033 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * lyxfunc.c: fail gracefully if file doesn't exist
13036
13037         * LyXSendto.C:
13038         * buffer.C:
13039         * lyxfunc.C:
13040         * BufferView_pimpl.C: IsDirWriteable() proto changed
13041
13042         * LyXView.C: fix updateWindowTitle() to store the last title
13043
13044 2001-07-31  Juergen Vigna  <jug@sad.it>
13045
13046         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13047         the font (wrong since using of Paragraph::highestFontInRange).
13048
13049         * paragraph.C (highestFontInRange): added a default_size parameter.
13050
13051         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13052         (setHeightOfRow): reformat
13053
13054 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13055
13056         * converter.[hC] + affected files: move to (inital-char)lowercase
13057         function names.
13058
13059         * ParagraphParameters.C (ParagraphParameters): remove commented code
13060
13061         * PainterBase.[Ch]: remove commented code
13062
13063         * LaTeXFeatures.h: add "bool floats" for float.sty
13064
13065         * LaTeXFeatures.C (LaTeXFeatures): init floats
13066         (require): handle float
13067         (getPackages): do it with floats
13068
13069 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13070
13071         * BufferView_pimpl.C (Dispatch): improve handling of
13072         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13073
13074         * commandtags.h: #include lyxfont.h here temporarily to avoid
13075         keybinding bug.
13076
13077         * bufferlist.h: include LString.h here.
13078
13079 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13080
13081         * text2.C (getStringToIndex): new method.
13082
13083 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13084
13085         * *: Reduced header file dependencies all over.
13086
13087 2001-07-30  Baruch Even  <baruch@lyx.org>
13088
13089         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13090
13091 2001-07-29  Baruch Even  <baruch@lyx.org>
13092
13093         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13094
13095 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * ParameterStruct.h (endif): add a default constructor to make
13098         sure that all variables is initialized.
13099
13100         * ParagraphParameters.C (ParagraphParameters): adjust
13101
13102 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13105         index; also, check that there is something to index, and that it
13106         does not span over several paragraphs.
13107         (doubleClick): use WHOLE_WORD_STRICT for double click.
13108
13109         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13110
13111         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13112         scheme.
13113
13114 2001-07-26  Baruch Even  <baruch@lyx.org>
13115
13116         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13117         an InsetFig figure, backwards compatible reading of old figure code.
13118
13119 2001-07-27  Juergen Vigna  <jug@sad.it>
13120
13121         * text2.C: font.realize function adaption.
13122
13123         * text.C (draw): add a warnings lyxerr text if needed.
13124
13125         * layout.C: font.realize function adaption.
13126
13127         * language.C: add inherit_language and implement it's handlings
13128
13129         * bufferview_funcs.C (StyleReset): remove language parameter from
13130         font creation (should be language_inherit now).
13131
13132         * bufferparams.C (writeFile): handle ignore_language.
13133
13134         * paragraph.C (getFontSettings): the language has to be resolved
13135         otherwise we have problems in LyXFont!
13136
13137         * lyxfont.C (lyxWriteChanges): added document_language parameter
13138         (update): removed unneeded language parameter
13139
13140         * paragraph.C (validate): fixed wrong output of color-package when
13141         using interface colors for certain fonts in certain environments,
13142         which should not seen as that on the final output.
13143
13144 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * BufferView_pimpl.C:
13147         * Thesaurus.h:
13148         * Thesaurus.C:
13149         * Makefile.am:
13150         * commandtags.h:
13151         * LyXAction.C: add thesaurus support
13152
13153         * lyxfind.h:
13154         * lyxfind.C: add "once" parameter, for thesaurus, to not
13155           move to the next match
13156
13157 2001-07-26  Juergen Vigna  <jug@sad.it>
13158
13159         * lyxfont.C (realize): honor ignore_language too!
13160         (resolved): ditto.
13161
13162         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13163
13164         * text.C (draw): one place more for ignore_language to not draw
13165         itself!
13166
13167 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13170
13171 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13174         the minipage conversion problem.
13175
13176 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13179         insert an inset.
13180
13181 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * BufferView.h: don't forward declare WorkArea
13184
13185         * BufferView.C: don't include WorkArea.h
13186
13187 2001-07-25  André Pönitz <poenitz@gmx.net>
13188
13189         * commandtags.h:
13190         * LyXAction.C:
13191         * lyxfunc.C:  new LFUN 'math-space'
13192
13193         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13194
13195 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * text2.C (toggleInset): call open/close
13198
13199 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * lyxfunc.C (dispatch): add debug for the disabled case
13202
13203         * font.C (buttonText): make similar to rectText
13204
13205         * buffer.C (readInset): comment out parsing of insetlist and
13206         insttheorem
13207
13208         * PainterBase.C (rectText): small correction
13209
13210         * BufferView_pimpl.C: comment out insettheorem and insetlist
13211         * LyXAction.C: ditto
13212         * commandtags.h: ditto
13213
13214 2001-07-24  Juergen Vigna  <jug@sad.it>
13215
13216         * text.C (draw): honor the ignore_language.
13217
13218         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13219
13220 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13223         char inset.
13224
13225 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13226
13227         * lyxtext.h: remove unused (and unimplemented) methods
13228
13229 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13230
13231         * text.C (getVisibleRow): honor background color
13232
13233         * PainterBase.h:
13234         * Painter.h: remove default color argument for fillRectangle
13235
13236         * text.C (backgroundColor): new method
13237
13238 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * text.C (getVisibleRow): adjust
13241
13242         * font.[Ch] (rectText): new method, metrics
13243         (buttonText): new method, metrics
13244
13245         * PainterBase.[hC]: make rectText and buttonText always draw and take
13246         fewer paramteres.
13247
13248 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13249
13250         * ToolbarDefaults.C (read):
13251         * MenuBackend.C (read): allow escaping in all strings
13252
13253         * BufferView_pimpl.C (insertAndEditInset): new method.
13254         (Dispatch): use insertAndEditInset whenever appropriate.
13255
13256         * BufferView_pimpl.C (insertNote): removed
13257
13258         * BufferView_pimpl.C (smartQuote): new method, moved from
13259         BufferView; if an insetquote cannot be inserted, insert a '"'
13260         character instead.
13261
13262         * BufferView2.C: remove insertCorrectQuote();
13263
13264         * lyxfunc.C (getStatus): Add support for all remaingin
13265         inset-insert lfuns.
13266
13267         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13268
13269         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13270         command (necessary to pass " as parameter of self-insert.
13271
13272         * text.C (selectWordWhenUnderCursor):
13273         (selectWord): add word_location parameter
13274         (selectWordWhenUnderCursor): same + remove special code for word
13275         boundary.
13276         (selectNextWord): use kind() to guess type of insetspecialchar,
13277         not latex().
13278
13279         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13280         (insertErtContents): create ert insets as collapsed.
13281         (readInset): better compatibility code for Info inset.
13282
13283 2001-07-20  Juergen Vigna  <jug@sad.it>
13284
13285         * lyxfunc.C (dispatch): use always LyXFind now!
13286
13287         * text2.C (init): add a reinit flag so that the LyXText can be
13288         reinited instead of deleted and reallocated (used in InsetText).
13289
13290         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13291
13292         * text.C: ditto
13293
13294         * text2.C: ditto
13295
13296 2001-07-18  Juergen Vigna  <jug@sad.it>
13297
13298         * text.C (selectNextWord): handle insets inside inset by calling
13299         always the bv->text functions so that we can go up the_locking_inset!
13300
13301         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13302         in strange locations when inside an inset!
13303
13304         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13305         handling to include insets.
13306
13307         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13308
13309 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * LyXAction.C (init):
13312         * commandtags.h:
13313         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13314         LIGATURE_BREAK, since the name is so stupid.
13315
13316 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13319         InsetInfos.
13320
13321         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13322
13323         * sp_form.[Ch]: remove.
13324
13325         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13326
13327         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13328         InsetInfo.
13329
13330         * src/buffer.C (readInset): ditto.
13331
13332 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13333
13334         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13335         menuSeparator(), endOfSentenceDot(), ldots() and
13336         hyphenationPoint(), which are therefore removed.
13337         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13338
13339         * LyXAction.C (init):
13340         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13341
13342         * paragraph.C (getWord): removed.
13343
13344         * BufferView_pimpl.C (Dispatch): use last word or selection for
13345         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13346
13347         * lyx_main.C (queryUserLyXDir): do not ask before creating
13348         user_dir, except if it has been named explicitely.
13349
13350 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13353         a document of zero size.
13354
13355 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13356
13357         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13358         approriately in the c-tor and in require().
13359         (getPackages): output the appropriate LaTeX for natbib support.
13360
13361         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13362         variables "use_natbib" and "use_numerical_citations" when reading the
13363         LyX file.
13364         (readInset): read the various natbib cite commands.
13365         (validate): white-space change.
13366
13367         * bufferparams.[Ch]: new variables "bool use_natbib" and
13368         "bool use_numerical_citations".
13369         (writeFile): output them in the LyX file.
13370
13371 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13372
13373         * lyxfunc.C (getStatus): add support for all the inset insertion
13374         commands.
13375
13376         * text2.C (insertInset):
13377         * paragraph.C (insetAllowed):
13378         * BufferView_pimpl.C (insertInset): update to take in account the
13379         renaming of insertInsetAllowed
13380
13381         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13382
13383         * text2.C (getInset): new method. returns inset at cursor position.
13384
13385         * BufferView_pimpl.C (Dispatch): changes because of this.
13386
13387         * LyXAction.C (init): rename open-stuff to inset-toggle.
13388
13389         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13390
13391         * text2.C (toggleInset): renamed from openStuff; use
13392         Inset::open().
13393
13394 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13395
13396         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13397
13398         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13399
13400 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13401
13402         * buffer.C (readLyXformat2): Add filename to the error dialog
13403
13404 2001-07-18  Juergen Vigna  <jug@sad.it>
13405
13406         * tabular.C (GetCellNumber): put an assert here instead of the check!
13407
13408 2001-07-17  Juergen Vigna  <jug@sad.it>
13409
13410         * BufferView_pimpl.C (toggleSelection): adapted too.
13411
13412         * text.C (selectNextWord): adapted for use with insets.
13413         (selectSelectedWord): ditto
13414
13415 2001-07-17  Juergen Vigna  <jug@sad.it>
13416
13417         * sp_spell.C (PSpell): fix initialitation order.
13418
13419 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * paragraph.C: spacing
13422
13423 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13424
13425         * sp_spell.C: repair language selection for pspell
13426
13427 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * lyxfunc.h: change more methods to begin with lower char.
13430
13431 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13434         for unknown layouts.
13435
13436 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13437
13438         * buffer.C (readLyXformat2): Generate an error dialog if there are
13439         unknown layouts.
13440
13441 2001-07-16  Juergen Vigna  <jug@sad.it>
13442
13443         * sp_spell.C: always compile ISpell part.
13444
13445         * lyxrc.C: added use_pspell entry and it's handling.
13446
13447 2001-07-13  Juergen Vigna  <jug@sad.it>
13448
13449         * sp_spell.C: removed double includes.
13450
13451 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         Consistent use of Lsstream.h:
13454         * Lsstream.h: added using std::stringstream for consistencies sake.
13455
13456         * buffer.C: removed using std::stringstream
13457
13458         * lyxfont.C (stateText):
13459         * paragraph.C (asString):
13460         * text.C (selectNextWord, selectSelectedWord):
13461         * text2.C (setCounter):
13462         * vspace.C (asString, asLatexString):
13463         std::ostringstream -> ostringstream.
13464
13465 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13466
13467         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13468         * commandtags.h: add LFUN_HELP_ABOUTLYX
13469         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13470
13471 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13472
13473         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13474         cursorToggle()
13475         * lyx_gui_misc.C: remove spellchecker
13476         * lyxfunc.C: showSpellchecker
13477         * sp_base.h: added
13478         * sp_ispell.h: added
13479         * sp_pspell.h: added
13480         * sp_spell.C: added
13481         * sp_form.[Ch]: removed
13482         * spellchecker.[Ch]: removed
13483
13484 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13485
13486         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13487         is set.
13488         (simpleTeXSpecialChars): Simply print the input character without
13489         any special translation if pass_thru is set.
13490
13491         * layout.h: Added bool pass_thru to layout class for being able to
13492         implement pass through of a paragraph for Literate Programming.
13493
13494         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13495         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13496         * layout.C (Read): add "passthru" to list of layout tags and add
13497         code to set the pass_thru boolean when it is read.
13498
13499 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * trans_decl.h: remove allowed from KmodInfo
13502
13503         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13504         remove allowed code
13505         (Load): adjust
13506
13507         * paragraph_pimpl.C (erase): use boost::prior
13508
13509         * Painter.C (text): use data() instead of c_str() when length is
13510         also provided.
13511         * WorkArea.C (putClipboard): ditto
13512         * font.h (width): ditto
13513
13514         * BufferView2.C: use it-> instead of (*it). for iterators
13515         * texrow.C: ditto
13516         * paragraph_pimpl.C: ditto
13517         * paragraph.C: ditto
13518         * minibuffer.C: ditto
13519         * language.C: ditto
13520         * kbmap.C: ditto
13521         * encoding.C: ditto
13522         * counters.C: ditto
13523         * converter.C: ditto
13524         * chset.C: ditto
13525         * Variables.C: ditto
13526         * TextCache.C: ditto
13527         * MenuBackend.C: ditto
13528         * LyXAction.C: ditto
13529         * LColor.C: ditto
13530         * FloatList.C: ditto
13531         * DepTable.C: ditto
13532         * ColorHandler.C (LyXColorHandler): ditto
13533
13534 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13537
13538         * text2.C (openStuff): reintroduce this method (which had been
13539         nuked in NEW_INSETS frenzy).
13540
13541         * lyxfunc.C (Dispatch): when an action has not been handled, use
13542         its name in the error message, not its number.
13543
13544         * paragraph.C (inInset): change method name to begin with lowercase.
13545
13546         * undo_funcs.C:
13547         * text2.C: updates because of this.
13548
13549 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13550
13551         * ToolbarDefaults.C (add): add spaces in error message
13552
13553 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13554
13555         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13556         (readLyXformat2): rename return_par to first_par, use lyxlex's
13557         pushToken and remove the manual push handling.
13558         (parseSingleLyXformat2Token): add another ert comp. variable:
13559         in_tabular, rename return_par to first_par. handle newlines better
13560
13561 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13564
13565 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * text2.C (getParFromID): removed
13568
13569         * buffer.C (getParFromID): new method moved form lyxtext.
13570         * BufferView2.C (insertErrors): adjust
13571         (setCursorFromRow): adjust
13572         * BufferView_pimpl.C (restorePosition): adjust
13573         * lyxfunc.C (Dispatch): adjust
13574         * undo_funcs.C (textUndo): adjust
13575         (textRedo): adjust
13576         (textHandleUndo): adjust
13577         (textHandleUndo): adjust
13578
13579 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * buffer.C: up' the LYX_FORMAT
13582
13583         * lyxfont.h: turn NO_LATEX on as default
13584
13585         * buffer.C (insertErtContents): new methods of tex style compability.
13586         (parseSingleLyXformat2Token): use it several places.
13587         * tabular.C (OldFormatRead): and here
13588
13589 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * text2.C: remove some commented code.
13592         reindent file.
13593
13594         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13595         * trans.C: changes because of the above.
13596
13597 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13598
13599         * text2.C (setCounter): Fix counters bug with bibliography layout.
13600
13601 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13604         own member functions
13605         (simpleTeXSpecialChars): ditto
13606
13607 2001-07-06  Juergen Vigna  <jug@sad.it>
13608
13609         * a lot of files: changed the access to LyXText::status and the
13610         call of undo-functions.
13611
13612         * undo.[Ch]: added a inset_id to the undo informations.
13613
13614         * undo_funcs.[Ch]: added and moved here all undo functions.
13615
13616         * lyxtext.h: give the status enum a weight, made status_ a private
13617         variable and made accessor functions for it, removed the whole bunch
13618         of undo-functions as they are now in their own file, make some
13619         functions publically available. Added function ownerParagraph with
13620         int parameter.
13621
13622         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13623         made InInset() a const function, added getParFromID() function.
13624
13625         * buffer.[Ch]: added const version for inset_iterator functions,
13626         added getInsetFromID() function.
13627
13628         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13629         changed undo functions for new version.
13630
13631 2001-07-05  Juergen Vigna  <jug@sad.it>
13632
13633         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13634         unknow mechanism does not call the proper constructor but only this
13635         one also if I request the other!?
13636
13637 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13640
13641         * text2.C (LyXText): use initialization lists.
13642
13643         * lyxtext.h (Selection): initialize set_ and mark_
13644         (init): remove method
13645
13646 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13647
13648         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13649
13650 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * screen.[Ch]: change method names to begin with lowercase
13653
13654         * BufferView_pimpl.C (updateScrollbar): simplify further and
13655         hopefully make it a bit faster.
13656
13657 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13660         calling directly xforms functions.
13661
13662         * Painter.C (Painter):
13663         * lyx_cb.C (MenuWrite):
13664         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13665         fl_display.
13666
13667         * lyx_gui.C: remove bogus guiruntime extern declaration.
13668
13669 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13672         in NEW_INSETS
13673         (redoDrawingOfParagraph): ditto
13674         (redoParagraphs): ditto
13675         (cutSelection): don't create a object for CutAndPaste use the
13676         static method directly
13677         (pasteSelection): ditto
13678
13679         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13680         LyXview (+ rename)
13681
13682 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13683
13684         * modifications to some other files because of this.
13685
13686         * Makefile.am (lyx_SOURCES): add XFormsView
13687
13688         * XFormsView.[Ch]: new files
13689
13690         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13691         the main window. Move the gui dependent stuff to XFormsView
13692
13693 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * tabular.C (GetCellInset): update cur_cell also in the row/col
13696         version of this function.
13697
13698         * lyxfunc.C: no need to include figure_form.h here.
13699
13700         * FontLoader.h:
13701         * lyxfunc.h:
13702         * lyxscreen.h:
13703         * text2.C:
13704         * lyxvc.C: no need to include forms.h here.
13705
13706 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13707
13708         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13709
13710         * lyxfunc.C (Dispatch):
13711         * Spacing.C (set):
13712         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13713         constructor argument.
13714
13715 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * paragraph.C (Paragraph): dont't clear, and just set layout.
13718         (makeSameLayout): use params's copy contructor.
13719
13720         * ParagraphParameters.[Ch] (makeSame): delete method
13721
13722 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * Variables.[Ch]: fix indentation, rename set to isSet
13725
13726 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * lyxfunc.C (Dispatch): fix typo
13729
13730 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13733         upper_bound.
13734
13735         * bufferlist.C: include assert.h for emergencyWrite().
13736
13737 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13740           give up at last (bug #425202) !
13741
13742 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * lyx_gui_misc.C:
13745         * sp_form.h:
13746         * sp_form.C:
13747         * spellchecker.h:
13748         * spellchecker.C: strip spellchecker options and bring up
13749           preferences tab instead
13750
13751 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13754         the istringstream constructor
13755
13756 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13757
13758         * paragraph.C (getLayout): fix return value
13759
13760         * paragraph.h: do not declare getLayout as inline.
13761
13762         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13763
13764 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * lyxcursor.h (operator<): new func
13767         (operator>): new func
13768         (operator>=): new func
13769         (operator<=): new func
13770
13771         * text.C (changeCase): use selection.start and selection.end
13772         (changeRegionCase): require from to be <= to. Require par to be a
13773         valid paragraph.
13774
13775         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13776
13777 2001-06-27  Juergen Vigna  <jug@sad.it>
13778
13779         * text.C (cursorLeftOneWord): changed to return the cursor and added
13780         overlay with BufferView * parameter which calls this one.
13781         (getWord): added
13782         (selectWord): use new getWord function.
13783         (changeCase): renamed from changeWordCase as and extended to work
13784         also on selections.
13785
13786         * lyxtext.h: added enum word_location
13787
13788         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13789         changeCase as this operates now also on selections.
13790
13791 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13792
13793         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13794
13795         * many files: send debug output to Debug::INFO instead of
13796         Debug::ANY.
13797
13798         * converter.C (View):
13799         (Convert):
13800         (Move): send debug output to Debug::FILES instead of console.
13801
13802 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13803
13804         * lyxfunc.C (getStatus): use func_status
13805
13806         * func_status.h: new header, describing the results of
13807         LyXFunc::getStatus;
13808
13809         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13810         LFUN_MATH_HALIGN.
13811
13812 2001-06-25  The LyX Project  <jug@sad.it>
13813
13814         * buffer.C (sgmlOpenTag):
13815         (sgmlCloseTag):
13816         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13817
13818 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * text2.C: remove some dead code
13821
13822         * tabular.C (GetCellInset): store the last cell checked (gotten)
13823
13824         * tabular.h: add the helper for the speedup
13825
13826         * lyxtext.h: remove some dead code
13827
13828 2001-06-26  The LyX Project  <Asger>
13829
13830         * paragraph.C: Change export to LaTeX of alignment to
13831         \begin{center} and family for better roundtrip work with reLyX.
13832
13833         * Tune the math drawing a bit.
13834
13835 2001-06-25  The LyX Project  <Asger>
13836
13837         * LColor.C (LColor): New color for math background. New color
13838         for buttons.
13839
13840 2001-06-25  The LyX Project  <jug@sad.it>
13841
13842         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13843
13844         * lyxfunc.C (Open):
13845         * bufferlist.C (newFile): do not restrict to files ending with
13846         .lyx
13847
13848         * BufferView_pimpl.C (MenuInsertLyXFile):
13849
13850 2001-06-24  The LyX Project  <jug@sad.it>
13851
13852         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13853         of compare_no_case
13854
13855 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * lyxtext.h: rename most methods to begin with a small char.
13858         Lots of changes because of this.
13859
13860         * paragraph.C (Paragraph): do not call fitToSize
13861         (erase): call Pimpl::erase
13862         (insertChar): call Pimpl::insertChar
13863         (insertInset): call Pipl::insertInset
13864         (breakParagraph): do not call fitToSize
13865         (breakParagraphConservative): do not call fitToSize
13866         (fitToSize): remove method
13867
13868         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13869
13870 2001-06-24  The LyX Project  <Asger>
13871
13872         * Fix Qt compilation^2
13873
13874 2001-06-24  The LyX Project  <jug@sad.it>
13875
13876         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13877         depthHook(getDepth()-1).
13878
13879         * paragraph.h:
13880         * ParagraphParameters.h:
13881         * ParameterStruct.h: change type of depth to unsigned int ==
13882         depth_type. Many adaptations to other files before of that.
13883
13884 2001-06-24  The LyX Project  <Asger>
13885
13886         * Fix Qt compilation.
13887
13888 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * paragraph.h: renamed several methods to begin with small letter.
13891         several changes to many parts of the code because of this.
13892
13893 2001-06-23  The LyX Project  <jug@sad.it>
13894
13895         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13896         rewritten to discard all double spaces when KeepEmpty is off
13897         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13898         to only handle newlines but not fiddle with spaces and friends.
13899
13900         * lyxfunc.C (MenuNew): when doing 'new from template', use
13901         template_path as default directory
13902
13903 2001-06-23  The LyX Project  <Asger>
13904
13905         * Clean-up of header file includes all over
13906         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13907
13908 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * paragraph.h: renamed from lyxparagraph.h
13911
13912 2001-06-23  Asger  <lyx@violet.home.sad.it>
13913
13914         * Buffer.h: Removed Buffer::resize
13915         * BufferList.h: Removed BufferList::resize
13916         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13917         the document lazily when we change the width, or the font settings.
13918
13919 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13922
13923 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13924
13925         * buffer.h: remove out of date comment
13926
13927 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * lyxscreen.h:
13930         * screen.C: fix "theoretical" GC leak
13931
13932 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * LaTeX.C (scanAuxFile):
13935         (deplog): remove trailing \r when reading stream (useful under
13936         win32)
13937
13938 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13941         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13942         and BufferView::theLockingInset(Inset*), so should use them and not
13943         access bv_->text->the_locking_inset directly.
13944
13945         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13946
13947 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * Makefile.am:
13950         * tex-defs.h: remove old unused file
13951
13952 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * BufferView_pimpl.C: fix typo, remove minibuffer message
13955           when buffer has loaded
13956
13957 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * lyxfunc.C (Dispatch): use stringstream
13960         (MenuNew): use stringstream
13961         (Open): use stringstream
13962
13963         * importer.C (Import): use stringstream
13964
13965         * bufferview_funcs.C (CurrentState): use stringstream
13966
13967         * LaTeX.C (run): use stringstream
13968
13969         * BufferView_pimpl.C (savePosition): use stringstream
13970         (restorePosition): use stringstream
13971         (MenuInsertLyXFile): use stringstream
13972
13973 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13974
13975         * BufferView.C:
13976         * Bullet.C:
13977         * ColorHandler.C:
13978         * FontInfo.C:
13979         * FontLoader.C:
13980         * LColor.C:
13981         * LaTeXFeatures.C:
13982         * Painter.C:
13983         * gettext.C:
13984         * lyx_gui_misc.C:
13985         * lyxserver.C:
13986         * vspace.C: removed // -*- C++ -*- as first line.
13987
13988         * lyxfind.h:
13989         * version.h: added // -*- C++ -*- as first line.
13990
13991 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13994
13995         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13996         of string
13997
13998 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13999
14000         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14001         of floats.
14002
14003 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * gettext.C: include LString.h even when --disable-nls is on.
14006
14007 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * converter.h (Get): changed argument type from int to
14010         FormatList::size_type to avoid unnecessary conversion.
14011
14012         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14013         before using it.
14014
14015 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14016
14017         * gettext.h: include LString.h even when --disable-nls is on.
14018
14019 2001-06-07  Juergen Vigna  <jug@sad.it>
14020
14021         * text.C (BreakAgain): subst spaces with tabs.
14022
14023         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14024         (resizeInsetsLyXText): set force on resizeLyXText.
14025
14026 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14027
14028         * gettext.h (gettext_init):
14029         (locale_init): use a real definition instead of a macro
14030
14031 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * Bufferview_pimpl.C:
14034         * LColor.h:
14035         * LColor.C: further lcolor tidies
14036
14037 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14038
14039         * BufferView_pimpl.C (updateScrollbar): simplify.
14040
14041         * BufferView2.C: don't include insets/insetinfo.h, change
14042         prototype for insertInset and call the Pimpl version. let
14043         updateInset call Pimpl version.
14044
14045         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14046         gotoInset to BufferView::Pimpl
14047
14048 2001-06-01  Juergen Vigna  <jug@sad.it>
14049
14050         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14051         inside a LockingInset (is the update needed at all?).
14052
14053 2001-05-31  Juergen Vigna  <jug@sad.it>
14054
14055         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14056         here not the old one otherwise how should we compare it afterwards
14057         if it's the same!
14058
14059 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * lyxfont.C:
14062         * tabular.C:
14063         * tabular-old.C:
14064         * FontInfo.C: bring C functions into global namespace when
14065         necessary
14066
14067 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14068
14069         * LString.h: make sure config.h has been loaded before LString.h.
14070
14071         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14072         (one for each char read by EatLine!).
14073
14074         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14075         variables.
14076
14077 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14078
14079         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14080         to the same as the par we break from
14081
14082 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14085
14086         * MenuBackend.C (expand): also create menu entries for wide
14087         versions of the floats.
14088
14089         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14090
14091         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14092
14093         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14094         frontends/Makefile.am
14095
14096         * text2.C: adjust
14097         * text.C: adjust
14098
14099
14100         * tabular.C (getTokenValue): add std::
14101
14102         * tabular-old.C (getTokenValue): add std::
14103         (getTokenValue): ditto
14104         (getTokenValue): ditto
14105
14106         * screen.C (ToggleSelection): adjust
14107
14108         * lyxtext.h: put selection cursors inside a Selection struct.
14109
14110         * lyxfunc.C (moveCursorUpdate): adjust
14111
14112         * lyxfont.C (latexWriteStartChanges): add std::
14113
14114         * lyxfind.C: adjust
14115
14116         * font.h: delete with(char const *, LyXFont const &)
14117
14118         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14119
14120         * FontInfo.C (getFontname): add std::
14121
14122         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14123         (workAreaButtonPress): adjust
14124         (tripleClick): adjust
14125         (update): adjust
14126         (moveCursorUpdate): adjust
14127         (Dispatch): adjust
14128
14129         * BufferView2.C (gotoInset): adjust
14130
14131 2001-05-30  Juergen Vigna  <jug@sad.it>
14132
14133         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14134         to check pspell I add this as default as I now have new pspell
14135         libraries and they seem to use this.
14136
14137 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * text2.C (CutSelection): make the cursor valid before the call to
14140         ClearSelection.
14141
14142 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14145         relied on 0 terminated strings and other horrors. Bug found due to
14146         the new assert in lyxstring!
14147
14148         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14149         KP_ keys.
14150
14151 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14154         to latinkeys.bind.
14155
14156         * lyxfunc.C (processKeySym): change method of getting to the
14157         self-insert char.
14158
14159         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14160         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14161         * BufferView_pimpl.[Ch]: here as private methods.
14162
14163 2001-05-28  Juergen Vigna  <jug@sad.it>
14164
14165         * text.C (SetHeightOfRow): added the update() call again as it is
14166         needed to initialize inset dimensions!
14167
14168 2001-05-16  Juergen Vigna  <jug@sad.it>
14169
14170         * text2.C (SetCharFont): Add new function with BufferView * and
14171         bool toggleall parameters for setting insets internal fonts.
14172         (SetFont): Freeze the undo as we may change fonts in Insets and
14173         all this change should be inside only one Undo!
14174
14175         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14176         setting font's in insets as for them we have the SetFont function!
14177
14178 2001-05-15  Juergen Vigna  <jug@sad.it>
14179
14180         * text2.C (ClearSelection): to be sure we REALLY don't have any
14181         selection anymore!
14182
14183         * tabular.C (TeXCellPreamble): fixed the left border problem for
14184         multicolumn cells.
14185
14186 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14187
14188         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14189         dependancy file
14190
14191 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14192
14193         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14194         LFUN_BREAKPARAGRAPH.
14195
14196         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14197         help test to "internal only", similar for LFUN_INSERT_URL
14198
14199         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14200         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14201         auto_region_delete and deadkeys.
14202
14203 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * LColor.h:
14206         * LColor.C: remove some dead entries, tidy a little
14207
14208 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14211         commented code.
14212         (Dispatch): implement LFUN_ESCAPE
14213
14214         * commandtags.h: add LFUN_ESCAPE
14215
14216         * LyXAction.C (init): add entry for LFUN_ESCAPE
14217
14218         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14219         Remove commented code.
14220         (insertNote): moved here
14221         (open_new_inset): moved here
14222
14223         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14224         BufferView_pimpl
14225
14226 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14227
14228         * kbmap.C (findbinding): clean it up and make it work correctly.
14229
14230         * lyx_main.C (init): do not pass argc and argv as parameters
14231
14232 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14233
14234         * buffer.C: fix path for OS/2 & Win32
14235
14236         * lyx_gui.C:
14237         * lyx_main:
14238         * lyx_main.C: Added os:: class.
14239
14240         * os2_defines.h: update
14241
14242 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14245         better by trying again with reduced state.
14246
14247 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * lyxrc.C (read): print error about invalid key sequence only when
14250         debugging (because not all latinX keysyms are known to some X
14251         servers)
14252
14253         * kbsequence.C (getiso): add a few std:: qualifiers
14254         (getiso): comment out extra return statement.
14255
14256 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14259         handling.
14260         (Dispatch): enhance the accent inset a bit. (not perfect)
14261
14262 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14263
14264         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14265
14266 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * bufferlist.C (emergencyWrite): fix assert() call
14269
14270 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14271
14272         * text.C (InsertChar): Added trivial patch to only send the "you
14273         can not do multiple spaces this way" message once during a
14274         session.
14275
14276 2001-05-08  Baruch Even  <baruch@lyx.org>
14277
14278         * Makefile.am: Changed order of libraries to get LyX to link properly
14279         with the gnome frontend.
14280
14281 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * LaTeXFeatures.h: add a std:: qualifier
14284
14285 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * paragraph.C (String): use stringstream
14288
14289 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * paragraph.C (writeFile): remove footflag arg
14292
14293         * buffer.C (makeLaTeXFile): use stringstream
14294         (latexParagraphs): remove footnot gurba
14295
14296         * LaTeXFeatures.C (getPackages): use stringstream
14297         (getMacros): likewise
14298         (getTClassPreamble): likewise
14299         (getFloatDefinitions): new method
14300
14301         * paragraph.C (writeFile): reindent
14302         (Erase): reindent
14303
14304         * WorkArea.h: revert the xpos + etc changes.
14305
14306         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14307
14308         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14309
14310         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14311         (pasteSelection): likewise
14312         * text2.C (CreateUndo): likewise
14313
14314 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * minibuffer.C (peek_event): temporarily reduce the functionality
14317         of the minibuffer (to allow args on lfuns)
14318
14319         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14320         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14321
14322         * buffer.C (readInset): add compability reading of old float
14323         lists, add reading of new style float list.
14324         (readInset): avoid reevaluation of inscmd.getCmdName()
14325         (getLists): reindent
14326
14327         * MenuBackend.C (MenuItem): implement parsing of
14328         md_floatlistinsert and md_floatinsert.
14329         (expand::LastFiles): move initalizaton of iterators out of loop,
14330         avoid reevaluation.
14331         (expand::Documents): introduce typdedef vector<string> Strings,
14332         and use it.
14333         (expand::ExportFormats): introduce typedef vector<Format const *>
14334         Formats, and use it.
14335         (expand): implement FloatListInsert and FloatInsert.
14336
14337         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14338         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14339         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14340
14341         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14342         handling.
14343         (Dispatch::LFUN_FLOAT_LIST): implement
14344
14345 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14346
14347         * LaTeX.C (run): Fix problem with --export code.
14348
14349 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * BufferView.[Ch] (workarea): removed.
14352         (getClipboard) new method; wrapper for workarea()->getClipboard()
14353
14354         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14355         bug.
14356
14357         * WorkArea.h (width, height, xpos, ypos): These methods all
14358         returned the dimensions of the work_area sub-area of WorkArea,
14359         resulting in a position error if the WorkArea were resized. Now
14360         return the dimensions of the entire WorkArea.
14361
14362         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14363
14364 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * LaTeX.C (deplog): correct the syntax of regex reg1
14367
14368 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14369
14370         * undo.C: remove !NEW_INSETS cruft
14371
14372 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * text2.C: remove !NEW_INSETS cruft
14375
14376         * text.C: remove !NEW_INSETS cruft
14377
14378         * tabular.C: remove !NEW_INSETS cruft
14379
14380         * spellchecker.C: remove !NEW_INSETS cruft
14381
14382         * lyxtext.h: remove !NEW_INSETS cruft
14383
14384         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14385
14386         * lyxfunc.C: remove !NEW_INSETS cruft
14387
14388         * lyxfind.C: remove !NEW_INSETS cruft
14389
14390         * lyx_cb.C: remove !NEW_INSETS cruft
14391
14392         * figureForm.C: remove  !NEW_INSETS cruft
14393
14394         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14395
14396         * buffer.[Ch]: remove !NEW_INSETS cruft
14397
14398         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14399
14400         * CutAndPaste.C: remove !NEW_INSETS cruft
14401
14402         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14403
14404         * BufferView2.C: remove !NEW_INSETS cruft
14405
14406         * BufferView.h: remove !NEW_INSETS cruft
14407
14408 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * Lsstream.h: include LString.h before the sstream headers to
14411         fix problem with gcc 2.95.3 and lyxstring
14412
14413 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * lyx_main.C: add using directives when needed for C functions
14416         declared in std:: namespace.
14417
14418 2001-04-27  Juergen Vigna  <jug@sad.it>
14419
14420         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14421         (SetHeightOfRow): comment out the update call should not be needed!
14422
14423 2001-04-13  Juergen Vigna  <jug@sad.it>
14424
14425         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14426         (LyXTabular): tried to minimize operator= operations (and realized
14427         hopfully Lars wish).
14428
14429 2001-04-27  Juergen Vigna  <jug@sad.it>
14430
14431         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14432
14433 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14436
14437         * buffer.C (readInset): hack to make listof algorithm work
14438
14439         * BufferView_pimpl.C: hack to make listof algorithm work
14440
14441 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14442
14443         * LyXAction.C: removed all !NEW_INSETS cruft
14444         (init): moved lfun_item in method
14445
14446         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14447
14448 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * BufferView2.C (theLockingInset): white space.
14451
14452 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * minibuffer.C: include <iostream>
14455
14456         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14457
14458         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14459
14460         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14461
14462         * text.[Ch] (TransposeChars): new method
14463
14464 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * call message directly through LyXView instead of through LyXFunc
14467         * BufferView2.C: adjust
14468         * BufferView_pimpl.C: adjust
14469         * FontLoader.C: adjust
14470         * buffer.C: adjust
14471         * bufferview_funcs.C: adjust
14472         * converter.C: adjust
14473         * figureForm.C: adjust
14474         * importer.C: adjust
14475         * lyx_cb.C: adjust
14476         * lyx_gui_misc.C: adjust
14477         * lyxfunc.C: adjust
14478         * lyxvc.C: adjust
14479         * text2.C: adjust
14480         + more files in subdirs
14481
14482         * lyxparagraph.h (size): move up int file
14483         (GetLayout): ditto
14484
14485         * adjust all uses of Assert to lyx::Assert.
14486
14487         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14488         lyxfunctional in namespace lyx
14489         * layout.C (hasLayout): ditto
14490         (GetLayout): ditto
14491         (GetLayout): ditto
14492         (delete_layout): ditto
14493         (NumberOfClass): ditto
14494         * converter.C (GetFormat): ditto
14495         (GetNumber): ditto
14496         (Add): ditto
14497         (Delete): ditto
14498         (SetViewer): ditto
14499         * bufferlist.C (getFileNames): ditto
14500         (emergencyWriteAll): ditto
14501         (exists): ditto
14502         (getBuffer): ditto
14503         * MenuBackend.C (hasSubmenu): ditto
14504         (hasMenu): ditto
14505         (getMenu): ditto
14506         * BufferView_pimpl.C (getInsetByCode): ditto
14507
14508 2001-04-18  Juergen Vigna  <jug@sad.it>
14509
14510         * vspace.C (asLatexString): fixed the 100% problem.
14511
14512 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14513
14514         * lyxfunc.C (Dispatch):
14515         * minibuffer.C:
14516         * minibuffer.h: add a few std:: qualifiers
14517
14518 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14519
14520         * minibuffer.[Ch]: reimplement so that commands is initiated and
14521         run from lyxfunc, simplified som handling, and made the completion
14522         and history code for complete. wip.
14523
14524         * lyxfunc.C (processKeySym): call message
14525         (miniDispatch): new temporary method
14526         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14527         (LFUN_MESSAGE): implement
14528         (LFUN_MESSAGE_PUSH): implement
14529         (LFUN_MESSAGE_POP): implement
14530         (initMiniBuffer): the initial/defualt minibuffer message.
14531
14532         * lyxfont.[Ch]: inline some more getters
14533
14534         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14535
14536         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14537
14538         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14539         (AutoSave): use LFUN_MESSAGE
14540         (Reconfigure): ditto
14541
14542         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14543
14544         * figureForm.C: use LFUN_MESSAGE
14545
14546         * converter.C (runLaTeX): use LFUN_MESSAGE
14547
14548         * bufferview_funcs.C: use LFUN_MESSAGE
14549         (Melt): ditto
14550         (changeDepth): ditto
14551
14552         * bufferparams.h: use boost::
14553
14554         * bufferlist.h: inherit privately from noncopyable
14555
14556         * bufferlist.C (loadLyXFile): remove some commented code.
14557
14558         * buffer.C (runChktex): use LFUN_MESSAGE
14559
14560         * ShareContainer.h: inherit privately from noncopyable
14561
14562         * ParagraphParameters.[hC] (depth): inline it.
14563
14564         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14565         methods.
14566         (message): new method
14567         (messagePush): ditto
14568         (messagePop): ditto
14569         (show): init minibuffer
14570         (showState): direct call
14571
14572         * LaTeX.[Ch]: inherit privately from noncopyable
14573         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14574         instead of WriteStatus.
14575
14576         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14577
14578         * BufferView_pimpl.C (buffer): don't init minibuffer
14579         (workAreaButtonPress): use LFUN_MESSAGE
14580         (workAreaButtonRelease): ditto
14581         (savePosition): ditto
14582         (restorePosition): ditto
14583         (MenuInsertLyXFile): ditto
14584         (workAreaExpose): don't init minibuffer
14585         (update): remove commented code, simplify
14586
14587         * BufferView2.C (openStuff): use LFUN_MESSAGE
14588         (toggleFloat): ditto
14589         (menuUndo): ditto
14590         (menuRedo): ditto
14591         (copyEnvironment): ditto
14592         (pasteEnvironment): ditto
14593         (copy): ditto
14594         (cut): ditto
14595         (paste): ditto
14596         (gotoInset): ditto
14597         (updateInset): remove some commented code
14598
14599         * lastfiles.h: inherit privately from noncopyable
14600         * layout.h: ditto
14601         * lyx_gui.h: ditto
14602         * lyx_main.h: ditto
14603         * lyxlex.h: ditto
14604         * lyxlex_pimpl.h: ditto
14605
14606         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14607         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14608         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14609
14610         * LyXAction.h: inherit privately from noncopyable, add methods
14611         func_begin, func_end, returning iterators to the func map.
14612
14613         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14614         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14615         (func_begin): new method
14616         (func_end): new method
14617
14618         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14619         and not)
14620         (copySelection): ditto
14621         (pasteSelection): ditto
14622
14623         * BufferView.C: whitespace change
14624         * BufferView.h: inherit privately from noncopyable
14625
14626 2001-04-16  Allan Rae  <rae@lyx.org>
14627
14628         * tabular-old.C (l_getline):
14629         * spellchecker.C (sc_check_word):
14630         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14631         an unrecognised preprocessor directive.  So ensure they're wrapped.
14632
14633 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * src/exporter.C (Export): Give an error message when path to file
14636         contains spaces.
14637
14638 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14639
14640         * LaTeX.C (deplog): Always check that foundfile exists.
14641
14642 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * lyx_main.h:
14645         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14646
14647 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * tabular.[Ch] (getLabelList): implement new method
14650
14651         * minibuffer.h: comment ouf setTiimer
14652
14653         * minibuffer.C (ExecutingCB): constify res
14654         (peek_event): constify s
14655         (Set): constify ntext
14656         (Init): constify nicename
14657
14658         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14659
14660         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14661         (savePosition): use two params to Minibuffer::Set
14662         (restorePosition): ditto
14663
14664 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * lyx_main.C: include language.h
14667
14668         * Makefile.am (lyx_main.o): add language.h
14669
14670 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * exporter.C:
14673         * paragraph.C:
14674         * screen.C:
14675         * tabular.C:
14676         * CutAndPaste.C: include gettext.h
14677
14678         * lyxfont.h: remove old hack with ON and OFF.
14679
14680         * lyxparagraph.h:
14681         * lyxfont.h: do not include language.h...
14682
14683         * BufferView2.C:
14684         * LaTeXFeatures.C:
14685         * Painter.C:
14686         * bufferview_funcs.C:
14687         * font.C:
14688         * lyxfont.C:
14689         * text.C:
14690         * text2.C:
14691         * trans_mgr.C:
14692         * paragraph.C: ... but do it here instead
14693
14694 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14695
14696         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14697
14698         * tabular.C: small reformat
14699
14700         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14701         NEW_INSETS version
14702         (GetChar): ditto
14703         (BreakParagraph): ditto
14704         (SetOnlyLayout): ditto
14705         (SetLayout): ditto
14706
14707         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14708         with one arg less.
14709
14710         * lastfiles.C: removed most using decl, add std:: where needed
14711
14712         * buffer.C: ws changes
14713
14714         * MenuBackend.C (class compare_format): put into anon namespace
14715         (expand): constify label, names, action, action2
14716         (expand):
14717
14718         * text.C (SingleWidth): constify font
14719         (IsBoundary): constify rtl2
14720         (GetVisibleRow): constify ww
14721
14722         * LaTeX.C (deplog): constify logfile
14723
14724         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14725         start_x, end_x
14726         (workAreaExpose): constify widthChange, heightChange
14727
14728         * lyxrow.C (par): moved
14729         (height): moved
14730         (next): moved
14731         * lyxrow.h: as inlines here
14732
14733         * lyxfont.h (shape): moved from lyxfont.C
14734         (emph): moved from lyxfont.C
14735
14736         * lyxfont.C (LyXFont): use initialization list for all
14737         constructors
14738         (shape): move to lyxfont.h as inline
14739         (emph): move to lyxfont.h as inline
14740
14741
14742 2001-04-04  Juergen Vigna  <jug@sad.it>
14743
14744         * vspace.C: had to include stdio.h for use of sscanf
14745
14746 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14747
14748         * BufferView.h:
14749         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14750         independent of xforms.
14751
14752 2001-04-02  Juergen Vigna  <jug@sad.it>
14753
14754         * spellchecker.C: fixed namespace placing!
14755
14756 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14757
14758         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14759         the LyXParagraph * is 0.
14760
14761 2001-03-29  Juergen Vigna  <jug@sad.it>
14762
14763         * vspace.C: added support for %, c%, p%, l%.
14764         (stringFromUnit): added helper function.
14765         (asLatexString): changed to give right results for the %-values.
14766
14767         * buffer.C: convert the widthp in a width%.
14768
14769 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14770
14771         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14772         figureForm.[Ch].
14773
14774         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14775         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14776
14777         * lyx_cb.[Ch]: see above.
14778
14779         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14780         form1.[Ch].
14781
14782         * form1.[Ch]:
14783         * lyx.[Ch]: replaced by figure_form.[Ch].
14784
14785         * lyx_gui.C:
14786         * lyx_gui_misc.C:
14787         * lyxfunc.C: changed headers associated with above changes.
14788
14789 2001-03-27  Juergen Vigna  <jug@sad.it>
14790
14791         * BufferView_pimpl.C: set the temporary cursor right!
14792
14793 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14794
14795         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14796
14797 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14798
14799         * LString.h: removed "using std::getline"!
14800
14801         * BufferView_pimpl.C (Dispatch): changes due to changes in
14802         InsetInclude::Params.
14803
14804         * buffer.C (tag_name): removed redundant break statements as they were
14805         producing lots of warnings with my compiler.
14806
14807 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * LString.h: add "using std::getline" when using the real <string>.
14810
14811 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14812
14813         * buffer.C: removed bitset usage.
14814         PAR_TAG moved to an anonymous name space.
14815         (tag_name): new funtion, also in the anonymous namespace.
14816         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14817         (makeDocBookFile): clean code. Completed transition from string arrays
14818         to string vectors.
14819         (SimpleDocBookOnePar): code clean.
14820
14821 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14822
14823         * tabular.C: add some comments.
14824
14825 2001-03-22  Juergen Vigna  <jug@sad.it>
14826
14827         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14828         compatibility read a bit and fixed bug with minipage in different
14829         depth.
14830
14831 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14832
14833         * buffer.C (pop_tag): removed.
14834         (push_tag): removed.
14835         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14836         array replaced with vector. Added support for CDATA sections.
14837         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14838         at any nest level.
14839         (makeDocBookFile): XML conformant declaration of CDATA section,
14840         fixed bug related to <emphasis> in the first paragraph char.
14841         (sgmlOpenTag): exclude empty tags.
14842         (sgmlCloseTag): ditto.
14843
14844         * buffer.h (pop_tag): removed.
14845         (push_tag): removed.
14846
14847 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14848
14849         * language.h (Languages): added size_type and size().
14850
14851 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14852
14853         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14854         response on compability reading of minipages. One probliem is that
14855         the old usage of minipages was «flertydig»
14856
14857         * several files here and in subdirs: don't use static at file
14858         scope use anon namespaces instead.
14859
14860 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14861
14862         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14863         LaTeX output. This is necessary for Literate document
14864         processing.
14865
14866 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14867
14868         * buffer.C: insert hfill when needed.
14869
14870         * tabular.C (l_getline): use string::erase, small whitespace change.
14871
14872         * BufferView_pimpl.C: try the anon namespace.
14873         * WorkArea.C: ditto
14874
14875 2001-03-16  Juergen Vigna  <jug@sad.it>
14876
14877         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14878         otherwise it won't open options-dialogs.
14879
14880         * buffer.C: honor pextraWidth(p) on converting minipages.
14881
14882         * tabular.C (l_getline): changed the functions to strip trailing \r.
14883
14884 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14885
14886         * BufferView_pimpl.C:
14887         * minibuffer..C: added "using SigC::slot" declaration.
14888
14889 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14890
14891         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14892
14893         * text2.C: ditto
14894
14895         * text.C: ditto
14896
14897         * paragraph.C: ditto
14898
14899         * lyxtext.h: NO_PEXTRA
14900
14901         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14902
14903         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14904         * ParameterStruct.h: ditto
14905         * ParagraphParameters.h: ditto
14906         * lyxparagraph.h: ditto
14907
14908 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14909
14910         * buffer.C: add compability for minipage alignment.
14911         (latexParagraphs): remove unwanted pextra check.
14912
14913         * several files: remove CXX_WORKING_NAMESPACES
14914
14915         * buffer.C (pop_tag): tie is in namespace boost
14916
14917         * BufferView.h: noncopyable is in namespace boost
14918         * lyxlex.h: ditto
14919         * lyx_main.h: ditto
14920         * lyx_gui.h: ditto
14921         * layout.h: ditto
14922         * lastfiles.h: ditto
14923         * bufferlist.h: ditto
14924         * ShareContainer.h: ditto
14925         * LyXView.h: ditto
14926         * LyXAction.h: ditto
14927         * LaTeX.h: ditto
14928
14929 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * Merging changes from BRANCH_MVC back into HEAD.
14932
14933         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14934
14935 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * BufferView_pimpl.C: change from intl.C
14938
14939         * combox.h:
14940         * combox.C:
14941         * Makefile.am: move combox.*
14942
14943         * form1.h:
14944         * form1.C:
14945         * lyx_gui.C:
14946         * intl.h:
14947         * intl.C: remove dialog (covered by prefs)
14948
14949 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14950
14951         * lyxfunc.C (Dispatch): removed redundant break statement.
14952
14953 2001-03-14  Juergen Vigna  <jug@sad.it>
14954
14955         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14956
14957 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14958
14959         * buffer.C: add hack to fix compability reading of minipages.
14960
14961 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14962
14963         * buffer.C (getLists): Cleanup.
14964
14965 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14966
14967         * lyxfont.C (update): don't honor toggleall on font size.
14968
14969 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * bmtable.c:
14972         * bmtable.h:
14973         * Makefile.am: moved to frontends/xforms/
14974
14975         * lyx_gui_misc.C:
14976         * lyxfunc.C:
14977         * BufferView_pimpl.C: changes for moved mathpanel
14978
14979 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * gettext.h: fix gettext_init() in --disable-nls
14982
14983 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14986
14987 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14988
14989         * lyx.C:
14990         * lyx.h: strip external form
14991
14992 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * BufferView_pimpl.C: add comment, destroySplash()
14995
14996 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14997
14998         * BufferView_pimpl.C:
14999         * LyXAction.C:
15000         * buffer.C:
15001         * commandtags.h:
15002         * lyxfunc.C: use re-worked insetinclude
15003
15004 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15005
15006         * buffer.C: add using std::stringstream.
15007
15008         * lyx_cb.C: readd using std::ios.
15009
15010         * buffer.C: add using std::map.
15011
15012         * BufferView_pimpl.C: add using std::vector.
15013
15014         * ShareContainer.h: add std:: to swap.
15015
15016         * buffer.h: add some typedefs
15017         * buffer.C (getLists): use them
15018         (getLists): renamed from getTocList.
15019         add a counter for the different float types and use it in the
15020         generated string.
15021         (getLists): use the same counter for the NEW_INSETS and the "non"
15022         NEW_INSETS
15023
15024         * lyx_cb.h: remove unused items, includes, using etc.
15025
15026         * ShareContainer.h: remove some commented code, add more comments
15027         and "documentation".
15028
15029 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15030
15031         * buffer.C (getTocList): make the list also when NEW_INSETS is
15032         defined.
15033
15034         * buffer.h: remove TocType
15035
15036         * buffer.C (getTocList): change to return a map<string,
15037         vector<TocItem> >, implement for dynamic number of list.
15038
15039         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15040         * text2.C (PasteSelection): adjust
15041         * CutAndPaste.C (pasteSelection): adjust
15042
15043         * FloatList.C (FloatList): update from the new_insets branch.
15044         * Floating.[Ch]: ditto
15045         * LaTeXFeatures.C: ditto
15046         * buffer.C: ditto
15047         * lyxlex_pimpl.C: ditto
15048
15049         * paragraph.C (Last): remove when NEW_INSETS is defined.
15050
15051         * other file: changes because of the above.
15052
15053 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15054
15055         * lyxparagraph.h: rename next to next_, previous to previous_,
15056         make them private for NEW_INSETS. Rename Next() to next(),
15057         Previous() to previous().
15058
15059         * other files: changes because of the above.
15060
15061 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * BufferView.h:
15064         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15065         problem.
15066
15067 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * main.C (main): pass lyx_localedir to gettext_init().
15070
15071         * gettext.h: remove locale_init and gettext_init macros
15072
15073         * gettext.C (locale_init): new function
15074         (gettext_init): new function
15075
15076         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15077         setlocale().
15078
15079 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15080
15081         * Moved credits to frontends:
15082         * credits.[Ch]: removed
15083         * credits_form.[Ch]: removed
15084         * lyx_gui_misc.C: remove credits stuff
15085         * Makefile.am:
15086
15087 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15088
15089         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15090
15091         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15092         unneeded destructor.
15093
15094         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15095         a standalone pointer again.
15096
15097         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15098
15099 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15100
15101         * Makefile.am:
15102         * filedlg.h:
15103         * filedlg.C:
15104         * LyXAction.C:
15105         * ToolbarDefaults.C:
15106         * bufferlist.C:
15107         * commandtags.h:
15108         * form1.C:
15109         * form1.h:
15110         * lyx_cb.C:
15111         * lyx_cb.h:
15112         * lyxfunc.h:
15113         * lyxfunc.C:
15114         * BufferView_pimpl.C: use new file dialog in GUII
15115
15116         * lyx_cb.h:
15117         * lyx_cb.C: remove LayoutsCB to Toolbar
15118
15119 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15120
15121         * ShareContainer.h (get): add std:: qualifier
15122
15123 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * ShareContainer.h: define a proper ShareContainer::value_type
15126         type (and use typename to please compaq cxx)
15127
15128 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15129
15130         * lyxparagraph.h: move serveral local vars to
15131         ParameterStruct/ParagraphParameters., use ShareContainer in
15132         FontTable., make vars in FontTable private and add getter and
15133         setter.
15134
15135         * paragraph.C: changes because of the above.
15136
15137         * lyxfont.h: remove copy constructor and copy assignment. (the
15138         default ones is ok), move number inside FontBits. move inlines to
15139         lyxfont.C
15140
15141         * lyxfont.C: add number to initializaton of statics, move several
15142         inlines here. constify several local vars. some whitespace
15143         cleanup. Dont hide outerscope variables.
15144
15145         * Spacing.h: add two new constructors to match the set methods.
15146
15147         * ShareContainer.h: new file, will perhaps be moved to support
15148
15149         * ParameterStruct.h: new file
15150
15151         * ParagraphParameters.h: new file
15152
15153         * ParagraphParameters.C: new file
15154
15155         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15156         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15157
15158         * BufferView_pimpl.C: ParagraphParameter changes.
15159         * buffer.C: Likewise.
15160         * bufferview_funcs.C: Likewise.
15161         * text.C: Likewise.
15162         * text2.C: Likewise.
15163
15164 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * lyxfind.C (LyXReplace): do not redefine default argument in
15167         implementation.
15168         (IsStringInText): ditto
15169         (SearchForward): ditto
15170         (SearchBackward): ditto
15171
15172 2001-03-06  Juergen Vigna  <jug@sad.it>
15173
15174         * lyxfind.C (IsStringInText): put parentes around expressions.
15175
15176 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15177
15178         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15179
15180 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15183
15184         * stl_string_fwd.h: add comment
15185
15186         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15187
15188         * tabular.h:
15189         * tabular.C: remove unused DocBook methods
15190
15191         * intl.C:
15192         * language.C:
15193         * paragraph.C:
15194         * buffer.C:
15195         killed DO_USE_DEFAULT_LANGUAGE
15196
15197 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * lyx_gui.C: do not include language.h.
15200
15201         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15202         arguments in function implementation.
15203
15204 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15205
15206         * BufferView_pimpl.C: add <ctime>
15207
15208 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15209
15210         * BufferView_pimpl.C: add using std::find_if
15211
15212 2001-02-27  José Matos  <jamatos@fep.up.pt>
15213
15214         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15215         by OnlyPath.
15216
15217 2001-02-11  José Matos  <jamatos@fep.up.pt>
15218
15219         * buffer.C (makeDocBookFile): command styles now have a parameter as
15220         "title" by default.
15221
15222 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15223
15224         * layout_forms.[Ch]: removed
15225         * lyx_cb.[Ch]: out character
15226         * lyx_gui.C: out character
15227         * lyx_gui_misc.C: out character
15228         * bufferview_funcs.C: : out character,
15229         added toggleall as parameter in ToggleAndShow
15230
15231 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15234
15235         * text2.C (SetCurrentFont): Disable number property at boundary.
15236
15237 2001-02-26  Juergen Vigna  <jug@sad.it>
15238
15239         * lyxfunc.C (getStatus): added a string argument override function so
15240         that this is correctly called from LyXFunc::Dispatch if it contains a
15241         do_not_use_argument which is used!
15242         (Dispatch): added check for "custom" export and call appropriate func.
15243
15244 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * lyxrc.C: Add language_command_local, language_use_babel and
15247         language_global_options.
15248
15249         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15250
15251         * buffer.C (makeLaTeXFile): Use language_use_babel and
15252         language_global_options.
15253
15254 2001-02-23  Juergen Vigna  <jug@sad.it>
15255
15256         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15257         which works with LyXText and putted it inside BufferView. Here now we
15258         only call for that part the BufferView::Dispatch() function.
15259
15260         * BufferView.C (Dispatch): added.
15261
15262         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15263         functions which needs to use a LyXText over from LyXFunc.
15264         (MenuInsertLyXFile): added
15265         (getInsetByCode): added
15266         (moveCursorUpdate): added
15267         (static TEXT): added
15268
15269 2001-02-22  Juergen Vigna  <jug@sad.it>
15270
15271         * BufferView_pimpl.C (update): call a status update to see if LyXText
15272         needs it.
15273
15274 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15275
15276         * vc-backend.C (revert): implement for CVS
15277         (getLog): implement for CVS
15278
15279 2001-02-20  Juergen Vigna  <jug@sad.it>
15280
15281         * text2.C (ClearSelection): added BufferView param for inset_owner call
15282
15283         * lyxfunc.C (TEXT): added this function and use it instead of
15284         directly owner->view()-text of getLyXText().
15285
15286 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15287
15288         * src/layout_forms.C: out preamble
15289         * src/layout_forms.h: out preamble
15290         * src/lyx_cb.C: out preamble
15291         * src/lyx_cb.h: out preamble
15292         * src/lyx_gui.C: out preamble
15293         * src/lyx_gui_misc.C: out preamble
15294         * src/lyxfunc.C: connect with guii preamble
15295
15296 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15297
15298         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15299
15300 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15301
15302         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15303         whether to run bibtex.
15304
15305 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15306
15307         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15308
15309 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15310
15311         * Makefile.am (lyx_SOURCES): removed bibforms.h
15312
15313         * vspace.h: doxygen
15314
15315         * text.C (GetVisibleRow): make several local vars const
15316
15317         * tabular.C: small cleanup.
15318
15319         * lyxserver.C (callback): use compare instead of strncmp
15320
15321         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15322         inlines to after class or to paragraph.C
15323
15324         * lyxfont.h: remove friend operator!=
15325
15326         * converter.h: move friend bool operator< to non friend and after
15327         class def.
15328
15329         * combox.h: small cleanup
15330
15331         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15332         to inlines after class def.
15333
15334         * buffer.C (pop_tag): use string operations instead of strcmp
15335
15336         * bmtable.c: doxygen, small cleanup
15337
15338         * LaTeX.h: remove friend operator==
15339
15340 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15341
15342         * screen.C:
15343         * lyxrc.[Ch]:
15344         * lyxfunc.C:
15345         * lyxfont.[Ch]:
15346         * lyx_cb.C:
15347         * intl.[Ch]:
15348         * commandtags.h:
15349         * buffer.C:
15350         * WorkArea.[Ch]:
15351         * LyXAction.C:
15352         * BufferView_pimpl.C:
15353         * BufferView.[Ch]: remove cruft
15354
15355 2001-02-14  Juergen Vigna  <jug@sad.it>
15356
15357         * lyxfunc.C: removed #if 0 unused code
15358
15359         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15360
15361         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15362
15363         * text2.C (SetSelection): added a BufferView * parameter
15364
15365 2001-02-13  Juergen Vigna  <jug@sad.it>
15366
15367         * lyxfunc.C (Dispatch): fixed protected blank problem.
15368         * BufferView2.C (protectedBlank): added LyxText * parameter.
15369
15370         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15371         (AppendColumn): same as above for column_info.
15372
15373         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15374         (moveCursorUpdate): use a LyXText param for support of InsetText.
15375
15376         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15377         (tripleClick): ditto
15378
15379         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15380
15381         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15382
15383         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15384
15385         * text2.C (SetSelection): set correct update status if inset_owner
15386         (ToggleFree): ditto
15387
15388 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15389
15390         * tabular.C: remove some commented code.
15391
15392 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * BufferView_pimpl.C: call hideSplash()
15395
15396         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15397
15398         * include_form.h:
15399         * bibforms.h: remove
15400
15401         * lyxfunc.C:
15402         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15403           add LFUN_CHILD_CREATE
15404
15405         * counters.h: fix tiny typo
15406
15407         * lyx_cb.C:
15408         * lyx.h:
15409         * lyx_gui.C:
15410         * lyx.C: move splash to frontends/xforms/
15411
15412         * lyx_gui_misc.C: move Include and Bibform to frontends
15413
15414         * lyxvc.h: clarify comment
15415
15416         * vspace.C: tiny housekeeping
15417
15418 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * text.C (PrepareToPrint): RTL Fix.
15421
15422         * paragraph.C (GetUChar): New method.
15423         (String):  Use GetUChar.
15424
15425         * buffer.C (asciiParagraph): Use GetUChar.
15426
15427 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15428
15429         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15430
15431 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * buffer.h:
15434         * buffer.C: rename to getLogName(), handle
15435           build log / latex log nicely
15436
15437 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * MenuBackend.C:
15440         * MenuBackend.h: remove support for reference menuitem type.
15441
15442 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15443
15444         * BufferView_pimpl.C: housekeeping
15445         * BufferView_pimpl.h:
15446         * LyXView.h:
15447         * Makefile.am:
15448         * Timeout.C:
15449         * Timeout.h:
15450         * minibuffer.h: move Timeout GUI-I
15451
15452 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15453
15454         * lyxrc.C (read): Update converters data-structures.
15455
15456 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15457
15458         * LaTeX.h (operator!=): add operator != for Aux_Info
15459
15460 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15461
15462         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15463
15464         * LaTeXLog.C: deleted, useful code moved to Buffer
15465
15466         * buffer.h:
15467         * buffer.C: new function getLatexLogName()
15468
15469         * lyx_gui_misc.C:
15470         * lyx_gui.C:
15471         * lyxvc.C:
15472         * lyxvc.h:
15473         * lyxfunc.C: use frontends for LaTeX and VC logs
15474
15475 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * LaTeX.h: yet another std:: that Allan forgot.
15478
15479         * Variables.C (set): renamed from isset(), because this clashes
15480         with some HP-UX macros (grr).
15481
15482 2001-02-06  Allan Rae  <rae@lyx.org>
15483
15484         * LaTeX.h: Another bug fix.  Missing std:: this time.
15485
15486 2001-02-04  Allan Rae  <rae@lyx.org>
15487
15488         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15489         floats problem. I've left it commented out because it's not quite
15490         correct.  It should also test that the current object is a table or
15491         figure inset.  But I haven't gotten around to figuring out how to do
15492         that.  I *think* it'll be something like: "table" == inset.type()
15493
15494         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15495         bool.
15496
15497 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15500         all the citation/databases/styles in the auxilary file.
15501         (run): Rerun latex if there was a babel language error.
15502
15503 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15504
15505         * text.C (Backspace): Preserve the font when changing newline char
15506         with a space.
15507         (BreakParagraph): If the cursor is before a space, delete the space.
15508
15509         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15510
15511 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15512
15513         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15514         new argument (code).
15515         (ChangeCitationsIfUnique): New method.
15516
15517         * paragraph.C (GetPositionOfInset): Handle bibkey.
15518
15519 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * BufferView_pimpl.h: change type of Position::par_pos to
15522         LyXParagraph::size_type.
15523
15524 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * BufferView_pimpl.C (savePosition, restorePosition): Write
15527         messages to minibuffer.
15528
15529 2001-01-28  José Matos  <jamatos@fep.up.pt>
15530
15531         * buffer.C (makeDocBookFile): adds support for document language.
15532         A silly restriction on the name of LatexCommand types where removed.
15533         Added support for CDATA sections, allows to chars unescaped, used
15534         among others in code, to avoid escape < and >.
15535
15536 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15539         saved positions instrad of a stack. Furthermore, a position is
15540         stored using paragraph id/paragraph position.
15541
15542         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15543         Remove LFUN_REF_BACK.
15544
15545 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15546
15547         * converter.C (dvipdfm_options): New method.
15548
15549 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15550
15551         * vspace.C (isValidLength): Fix for empty input string.
15552
15553 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * LyXAction.C (init): change description of LFUN_FIGURE to
15556         "Insert Graphics"
15557
15558 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * LaTeX.C: add using directive
15561
15562 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15563
15564         * MenuBackend.C (expand): Fix the sorting of the formats.
15565
15566 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15567
15568         * lyx_main.C: tiny error message fix
15569
15570 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15573         calling fl_initialize(). This fixes the problem with ',' as
15574         decimal separator in text files.
15575
15576 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15577
15578         * trans.C (process): Fix the keymap bug.
15579
15580 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15581
15582         * LaTeX.C (scanAuxFiles): New method. Provides support for
15583         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15584         (scanLogFile) Scan for "run BibTeX" messages.
15585
15586         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15587         OT1 font encoding. Also, load the aecompl package if the ae
15588         package is loaded.
15589
15590         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15591
15592 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * texrow.C (increasePos): turn two error messages into debug
15595         messages.
15596
15597 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * LaTeX.C (scanAux): Handle the \@input macro.
15600         (runBibTeX): Use scanAux().
15601
15602         * language.C (latex_options_): New field.
15603
15604         * LaTeXFeatures.C (getMacros): Add language macros.
15605
15606         * buffer.C (makeLaTeXFile): Small fix.
15607
15608 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15609
15610         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15611
15612         * text2.C: add a using directive.
15613
15614 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15615
15616         * BufferView2.C:
15617         * lyx_gui_misc.h:
15618         * lyxfr1.C:
15619         * lyxfunc.C: kill LyXBell.
15620
15621 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * text.C (IsBoundary): Remove the error message
15624
15625         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15626
15627         * lyxrc.C (setDefaults): Correct initialization value for
15628         font_norm_type.
15629
15630 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15633         gotoError().
15634
15635         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15636         and GotoNextNote().
15637
15638         * src/LyXAction.C: Added reference-next.
15639
15640         * text.C (InsertChar): Use contains instead of strchr.
15641
15642         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15643
15644 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15645
15646         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15647         alignment commands (when needed).
15648
15649         * text.C (InsertChar): Add ':' to number separator chars.