]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b34a90f213972686e9dfcb8655338d9f0ba4a9ae
[lyx.git] / src / ChangeLog
1 2004-06-02  Angus Leeming  <leeming@lyx.org>
2
3         Fix crash caused by dereferencing null pointer 'exportdata' in
4         OutputParams by creating a new ExportData variable on the heap,
5         storing it in a boost::shared_ptr.
6         The crash was triggered when generating an Instant Preview
7         of an external inset.
8
9         * Makefile.am: add outputparams.C
10
11         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
12         (c-tor): allocate memory to it.
13
14         * exporter.C (c-tor): associated changes.
15
16 2004-06-01  Angus Leeming  <leeming@lyx.org>
17
18         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
19         contains data before calling isInset(0). (Bug 1513.)
20
21 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * exporter.C (checkOverwrite): new method
24         * exporter.C (copyFile): new method
25         * exporter.C (Export): copy referenced files to the document dir
26         * exporter.[Ch]: new class ExportedFile
27         * exporter.[Ch]: new class ExportData. Contains currently the
28         names of referenced external files
29         * outputparams.h: add exportdata member.
30
31 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
32
33         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
34         version.C-tmp
35
36 2004-05-19  Angus Leeming  <leeming@lyx.org>
37
38         * LaTeXFeatures.C:
39         * ToolbarBackend.C:
40         * bufferparams.C:
41         * lyxfunc.C: small changes due to the introduction of namespace
42         lyx::frontend and the moving of namespace biblio to lyx::biblio.
43
44 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * text3.C (dispatch): supress update when only moving the cursor
47         * cursor.C (selHandle): remove commented code
48
49 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * paragraph.C (startTeXParParams): correct column count
52         * CutAndPaste.C (pasteSelection): remove const_cast
53         * output_docbook.C (docbookParagraphs): remove const_cast
54         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
55         const_cast and return ParagraphList::const_iterator
56         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
57         * output_plaintext.C (writeFileAscii): remove const_cast
58         * paragraph.[Ch] (simpleTeXOnePar): make const
59         * paragraph_funcs.C (outerPar): use const iterators
60         * paragraph_pimpl.C (validate): use const iterators
61         * text.C (setHeightOfRow): use const iterators
62
63 2004-05-17  Angus Leeming  <leeming@lyx.org>
64
65         * lfuns.h:
66         * LyXAction.C (init): new LFUN_INSET_REFRESH.
67
68         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
69         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
70         if the citation engine has changed.
71
72 2004-05-14  José Matos  <jamatos@lyx.org>
73
74         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
75         if the textclass does not provide it. Have it different for sgml and
76         xml.
77         support the language of document.
78         * output_docbook.C (docbookParagraphs):
79         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
80         first anchor as the id of the paragraph, remove special case code.
81         * sgml.C (escapeChar): escape only < & >.
82
83 2004-05-14  Angus Leeming  <leeming@lyx.org>
84
85         * bufferparams.h: move biblio::CiteEngine enum here to minimize
86         dependencies on src/frontends/controllers/biblio.h. Define a
87         CiteEngine_enum wrapper class to enable the enum to be forward
88         declared.
89
90 2004-05-12  Angus Leeming  <leeming@lyx.org>
91
92         * buffer.C: up LYX_FORMAT to 234.
93         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
94         use_numerical_citations with a single biblio::CiteEngine cite_engine
95         variable.
96         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
97
98 2004-05-13  José Matos  <jamatos@lyx.org>
99
100         * converter.h:
101         * converter.C (Converter, readFlags): add xml member.
102         * outputparams.h: add XML flavor.
103         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
104
105 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * lyxfunc.C (dispatch):
108         (getStatus): fix handling of LFUN_SEQUENCE
109
110 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * debug.C (showLevel): do not forget the end-of-line marker
113
114 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * kbmap.C (read): do not stop parsing a bind file when an error
117         occurs (bug 1575)
118
119 2004-04-29  Angus Leeming  <leeming@lyx.org>
120
121         * cursor.C:
122         * factory.C:
123         * pariterator.C:
124         * text2.C: wrap a bunch of #warning statements
125         inside #ifdef WITH_WARNINGS blocks.
126
127 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
128
129         * buffer.C: increment format to 233.
130
131 2004-04-28  Angus Leeming  <leeming@lyx.org>
132
133         * BufferView_pimpl.C:
134         * lyxfunc.C:
135         * text3.C:
136         s/updateToolbar()/updateToolbars()/
137         s/Toolbar.h/Toolbars.h/
138
139 2004-04-28  Angus Leeming  <leeming@lyx.org>
140
141         * BufferView.[Ch] (c-tor):
142         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
143         No longer passes these data to the WorkArea generator.
144
145 2004-04-28  Angus Leeming  <leeming@lyx.org>
146
147         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
148
149 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
150
151         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
152
153 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * output_latex.C (TeXEnvironment): make sure that there is a line
156         break before \end{foo} for the last paragraph of a document
157         (TeXOnePar): if the paragraph is at the end of the document (or
158         inset) and the language has to be reset, then make sure that the
159         line break is _before_ the language command, not after (fixes bug
160         1225); also make sure that the language reset command is the first
161         thing after the paragraph (to ensure proper nesting of
162         environments and thus fix bug 1404)
163
164 2004-04-21  John Levon  <levon@movementarian.org>
165
166         * ToolbarBackend.h:
167         * ToolbarBackend.C: make "name" be a programmatic name
168         and a gui_name field.
169
170         * lyxfunc.C: display the minibuffer on M-x
171
172 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
175         (bug 1526)
176
177 2004-04-19  Angus Leeming  <leeming@lyx.org>
178
179         * BufferView_pimpl.C (setBuffer): changed preview interface.
180
181         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
182         possible values.
183
184 2004-04-19  John Levon  <levon@movementarian.org>
185
186         * BufferView_pimpl.C:
187         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
188
189 2004-04-05  Angus Leeming  <leeming@lyx.org>
190
191         * text.C (redoParagraphs): add call to updateCounters(), thereby
192         fixing the missing "Figure #:" label from the caption of a
193         figure float.
194
195 2004-04-13  Angus Leeming  <leeming@lyx.org>
196
197         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
198         cursor is clicked out of an inset.
199
200 2004-04-13  Angus Leeming  <leeming@lyx.org>
201
202         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
203         than an InsetOld one.
204
205 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * format.[Ch]: add editor to Format
208         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
209         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
210
211 2004-04-08  André Pönitz  <poenitz@gmx.net>
212
213         * metricsinfo.h: remove PainterInfo::width member
214
215 2004-04-08  Angus Leeming  <leeming@lyx.org>
216
217         * lyx_sty.C (boldsymbol_def): modify so that it outputs
218         "\providecommand" rather than "\newcommand", thereby preventing
219         clashes with packages that define "\boldsymbol" themselves.
220         Eg, beamer.
221
222 2004-04-08  Angus Leeming  <leeming@lyx.org>
223
224         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
225         thereby squashing an unnecessary warning.
226
227 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
230         setBuffer()
231
232 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * BufferView.C (setCursor): call redoParagraph (some insets could
235         have been opened)
236         (putSelectionAt): remove the 'double update' trick
237
238         * BufferView_pimpl.C (fitCursor): call refreshPar
239         (workAreaDispatch): remove an uneeded update call
240         (dispatch): remove some manual update calls
241
242         * cursor.[Ch]: remove cached_y_, updatePos
243         (selHandle): set noUpdate when appropriate
244
245         * lyxfunc.C (dispatch): track if we need an update
246
247         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
248
249         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
250         (paintSelection): cheap optimization, do not call cursorX when not
251         needed
252         (paintPars): change signature
253         (refreshPar): add
254         (paintText): adjust
255         (paintTextInset): adjust
256
257         * text.C: adjust
258
259 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * lengthcommon.C: compilation fix: remove explicit array size from
262         unit_name[] and friends
263
264 2004-04-05  Angus Leeming  <leeming@lyx.org>
265
266         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
267
268         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
269         present only for the preferences dialog.
270         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
271
272 2004-04-05  Angus Leeming  <leeming@lyx.org>
273
274         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
275         to enable the frontends to export changes to lyxrc correctly.
276
277         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
278
279 2004-04-07  André Pönitz  <poenitz@gmx.net>
280
281         * cursor.[Ch] (selClear, adjust): remove math
282
283         * cursor_slice.C: more agressive assert
284
285         * lyxfunc.C:
286         * BufferView_pimpl.C: rework mouse event dispatch
287
288         * dociterator.C:
289         * paragraph.C:
290         * text2.C:
291         * text3.C: adjust
292
293 2004-04-05  André Pönitz  <poenitz@gmx.net>
294
295         * cursor.[Ch] (valign, halign...): remove unneeded functions
296
297 2004-04-05  Angus Leeming  <leeming@lyx.org>
298
299         * lyxlength.[Ch] (unit_name et al.): const-correct.
300
301 2004-04-05  Angus Leeming  <leeming@lyx.org>
302
303         * BufferView_pimpl.C:
304         * buffer.C:
305         * counters.C:
306         * cursor.C:
307         * lyxfunc.C
308         * paragraph.C:
309         * pariterator.C:
310         * text.C:
311         * text2.C:
312         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
313
314 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
315
316         * text3.C (getStatus): add LFUN_BEGINNINGBUF
317
318 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
319
320         * lyxfind.C: add a couple of inTexted() tests + other small fixes
321         * BufferView_pimpl.[Ch] (getStatus)
322         * BufferView.[Ch] (getStatus): add
323         * lyxfunc.C (getStatus): move lfuns handled in
324         BufferView::dispatch to te function above
325         * Cursor.C (setSelection): set selection() = true
326
327 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
330
331 2004-03-31  Angus Leeming  <leeming@lyx.org>
332
333         * lyxfunc.C (dispatch): Fall through to the generic
334         Dialogs::show("preamble").
335
336 2004-03-31  Angus Leeming  <leeming@lyx.org>
337
338         * lyxfunc.C (dispatch): Fall through to the generic
339         Dialogs::show("spellchecker").
340
341 2004-03-31  Angus Leeming  <leeming@lyx.org>
342
343         * lyxfunc.C (getStatus, dispatch): changed invocation of the
344         preferences dialog.
345
346 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * BufferView.C
349         * cursor.[Ch]
350         * dociterator.[Ch]:
351         * insetiterator.[Ch]:
352         * lyxfind.C:
353         * lyxfunc.C:
354         * pariterator.[Ch]:
355         * text2.C:
356         * undo.[Ch]: s/DocumentIterator/DocIterator/g
357
358 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
359
360         * BufferView.C (setCursor, putSelectionAt): call edit to open the
361         insets where we are putting the cursor.
362
363 2004-03-31  Angus Leeming  <leeming@lyx.org>
364
365         * lfuns.h:
366         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
367
368         * lyxrc.[Ch] (read, write): overloaded member functions taking
369         a std::[io]stream arguments.
370
371         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
372
373 2004-03-31  Angus Leeming  <leeming@lyx.org>
374
375         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
376         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
377
378         * lyxtextclass.C (load): if the text class couldn't be loaded, then
379         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
380
381 2004-03-31  Angus Leeming  <leeming@lyx.org>
382
383         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
384         the LFUN_ALL_INSETS_TOGGLE code.
385
386 2004-03-30  Angus Leeming  <leeming@lyx.org>
387
388         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
389         has died. Fall through to the generic Dialogs::show("document").
390
391 2004-03-30  Angus Leeming  <leeming@lyx.org>
392
393         * lfuns.h:
394         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
395         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
396
397         * lyxfunc.C (getStatus, dispatch): define the actions for these
398         lfuns. Little more than a cut and pste job from ControlDocument.C
399
400         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
401
402 2004-03-30  Angus Leeming  <leeming@lyx.org>
403
404         * lfuns.h:
405         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
406         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
407
408         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
409         open/closed state of ollapsable insets. Usage:
410
411         all-inset-toggle <state> <name>, where
412         <state> == "open" || "closed" || "toggle" and
413         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
414
415         * lyxtext.h, text2.C (toggleInset): removed.
416
417         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
418         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
419         now passes LFUN_INSET_TOGGLE to the found inset.
420
421         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
422         is now invoked as "all-insets-toggle toggle branch".
423
424 2004-03-30  Angus Leeming  <leeming@lyx.org>
425
426         * dociterator.C:
427         * insetiterator.C:
428         * pariterator.[Ch]: added/corrected header blurb.
429
430 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * dociterator.[Ch]: add an inset_ member
433         (backwardPos): implemented
434         (backwardPos, forwardPos): use inset_ when the stack is empty.
435         (doc_iterator_begin, doc_iterator_end): implemented
436         * pariterator.[Ch]: adjust, add begin, end
437         * insetiterator.[Ch]: adjust, add begin, end
438         * cursor.C:
439         * document.C:
440         * BufferView.C:
441         * BufferView_pimpl.C:
442         * CutAndPaste.C: adjust
443
444 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
445
446         * buffer.C: increment file format to 232.
447         * LaTeXFeatures.C: add bibtopic package.
448         * bufferparams.[Ch]: param \use_bibtopic.
449
450         * lyxrc.[Ch]: add lyxrc bibtex_command
451         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
452
453         * buffer.C: increment file format to 231.
454
455 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
456
457         * dociterator.C: implement forwardPar
458         * iterators.[Ch]: remove, replaced by
459         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
460         * BufferView.C:
461         * BufferView_pimpl.C:
462         * CutAndPaste.C:
463         * buffer.C:
464         * bufferview_funcs.C:
465         * cursor.C:
466         * lyxfind.C
467         * lyxfunc.C
468         * paragraph_funcs.C
469         * toc.C:
470         * Makefile.am: adjust
471
472 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * CutAndPaste.C (pasteSelection): fix 2 crashes
475         (eraseSelection): fix a crash
476         * paragraph_funcs.C: remove a warning
477
478 2004-03-28  Angus Leeming  <leeming@lyx.org>
479
480         * lfuns.h:
481         * LyXAction.C (init): new LFUN_PRINT.
482
483         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
484
485 2004-03-27  Angus Leeming  <leeming@lyx.org>
486
487         * lfuns.h:
488         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
489
490         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
491
492 2004-03-27  Angus Leeming  <leeming@lyx.org>
493
494         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
495         insetlist always contains non-null pointers to insets.
496
497 2004-03-26  Angus Leeming  <leeming@lyx.org>
498
499         * src/BufferView_pimpl.C:
500         * src/CutAndPaste.C:
501         * src/buffer.C:
502         * src/iterators.C:
503         * src/output_plaintext.C:
504         * src/outputparams.h:
505         * src/paragraph_funcs.C:
506         * src/rowpainter.C:
507         * src/text.C:
508         * src/text2.C:
509         * src/frontends/controllers/ControlErrorList.C:
510         * src/frontends/gtk/FileDialogPrivate.C:
511         * src/frontends/gtk/GPainter.C:
512         * src/frontends/gtk/GToolbar.C:
513         * src/frontends/qt2/QRef.C:
514         * src/mathed/math_scriptinset.C: squash compiler warnings.
515
516 2004-03-26  Angus Leeming  <leeming@lyx.org>
517
518         * ispell.C (LaunchIspell::start):
519         * lyx_cb.C (AutoSaveBuffer::start):
520         invoke run(DontWait) rather than runNonBlocking().
521
522 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
525
526 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * kbsequence.C (print): adjust
529
530         * kbmap.C (printKeySym): rename and change signature
531         (printKey): use LyXKeySym::print()
532
533 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * undo.C: add using std::advance to compile for stlport
536
537 2004-03-24  Angus Leeming  <leeming@lyx.org>
538
539         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
540         it leads to a crash when no buffer is present.
541
542 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
543             Martin Vermeer  <martin.vermeer@hut.fi>
544
545         * lyxfunc.C (dispatch):
546         * bufferparams.C (readToken): use the new LColor::setColor
547
548         * LColor.[Ch] (setColor): new version that takes two strings as
549         argument and creates a new color entry if necessary
550
551 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
552
553         * buffer.C (makeLaTeXFile): if the main latex file that is
554         processed is usually a subdocument of some master, then pretend
555         for a while that it is actually the master
556
557 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
558
559         * buffer.C (getLabelList):
560         (getBibkeyList): use getMasterBuffer()
561         (getMasterBuffer): new method. Returns the main document in the
562         case where one is using included documents.
563
564 2004-03-25  André Pönitz  <poenitz@gmx.net>
565
566         * Makefile.am:
567         * iterators.[Ch]:
568         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
569
570         * ParagraphList_fwd.h: change ParagraphList to a std::vector
571
572         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
573         text*.C over here. Rename namespace CutAndPaste to lyx::cap
574
575         * ParameterStruct.h: merge with ParagraphParameters
576
577         * lyxtext.h: remove LyXText::parOffset() and getPar()
578
579         * text3.C: Remove all 'manual' update calls. We do now one per user
580         interaction which is completely sufficient.
581
582         * Bidi.C:
583         * BufferView.[Ch]:
584         * BufferView_pimpl.C:
585         * FontIterator.[Ch]:
586         * MenuBackend.C:
587         * ParagraphParameters.[Ch]:
588         * buffer.C:
589         * buffer.h:
590         * bufferlist.C:
591         * cursor.[Ch]:
592         * cursor_slice.[Ch]:
593         * dociterator.[Ch]:
594         * errorlist.[Ch]:
595         * factory.C:
596         * lfuns.h:
597         * lyxfind.C:
598         * lyxfunc.C:
599         * output_docbook.[Ch]:
600         * output_latex.[Ch]:
601         * output_linuxdoc.[Ch]:
602         * output_plaintext.[Ch]:
603         * paragraph.[Ch]:
604         * paragraph_funcs.[Ch]:
605         * paragraph_pimpl.[Ch]:
606         * rowpainter.C:
607         * tabular.[Ch]:
608         * text.C:
609         * text2.C:
610         * toc.C:
611         * undo.[Ch]: adjust
612
613         * frontends/controllers/ControlDocument.C:
614         * frontends/controllers/ControlErrorList.C:
615         * frontends/controllers/ControlSpellchecker.C:
616         * insets/inset.C:
617         * insets/inset.h:
618         * insets/insetbase.h:
619         * insets/insetbibitem.C:
620         * insets/insetbox.C:
621         * insets/insetbranch.C:
622         * insets/insetcaption.C:
623         * insets/insetcharstyle.C:
624         * insets/insetcharstyle.h:
625         * insets/insetcollapsable.C:
626         * insets/insetcollapsable.h:
627         * insets/insetert.C:
628         * insets/insetfloat.C:
629         * insets/insetfoot.C:
630         * insets/insetmarginal.C:
631         * insets/insetnote.C:
632         * insets/insetoptarg.C:
633         * insets/insettabular.C:
634         * insets/insettext.C:
635         * insets/insettext.h:
636         * insets/insetwrap.C:
637         * mathed/math_mboxinset.C:
638         * mathed/math_nestinset.C:
639         * mathed/math_scriptinset.C:
640         * mathed/math_scriptinset.h:
641         * support/types.h:
642
643 2004-03-24  Angus Leeming  <leeming@lyx.org>
644
645         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
646         deal with any child processes that have finished but are waiting to
647         communicate this fact to the rest of LyX.
648
649 2004-03-24  Angus Leeming  <leeming@lyx.org>
650
651         64-bit compile fixes.
652
653         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
654         (c-tor): pass lyx::pos_types rather than ints.
655
656         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
657         lyx::pos_type.
658
659         * text.C (Delete): compile fix.
660         (getPar): ensure that function declaration is the same as that in
661         the header file.
662
663 2004-03-23  Angus Leeming  <leeming@lyx.org>
664
665         * ispell.C (LaunchIspell):
666         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
667         a boost::shred_ptr rather than a std::auto_ptr.
668
669 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * lyxfunc.C (getStatus): handle read-only buffers correctly;
672         handle LFUN_FILE_INSERT_*
673
674         * lyxrc.C (setDefaults, getDescription, output, read):
675         * lyxrc.h: remove ps_command
676
677 2004-03-22  Angus Leeming  <leeming@lyx.org>
678
679         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
680         Ensure that error_handler is processed once only and that all data
681         is saved before attempting to output any warning messages.
682
683         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
684
685 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * tabular.C (TeXRow): crash fix (from Kayvan and André)
688
689 2004-03-19  André Pönitz  <poenitz@gmx.net>
690
691         * cursor.[Ch] (reset): take main text inset as argument
692
693         * BufferView: adjust
694         * BufferView_pimpl.C: adjust
695
696         * paragraph.[Ch]: fix completely broken operator=()
697
698 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * LColor.C (getFromLyXName): make sure that the color name is used
701         as lowercase.
702
703 2004-03-17  Angus Leeming  <leeming@lyx.org>
704
705         * lfuns.h:
706         * LyXAction.C (init): remove LFUN_FORKS_KILL.
707
708         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
709         dialog and to kill a forked process.
710
711 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * text2.C (setCursorFromCoordinates): fix font problem
714
715 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
718         bogus "rebuild cursor" code
719
720 2004-03-11  André Pönitz  <poenitz@gmx.net>
721
722         * buffer.[Ch]: use InsetText instead of LyXText as container for
723         the main lyx text.
724
725         * dociterator.[Ch]: drop the BufferView * member which is not needed
726         anymore after the change to buffer.C
727
728         * paragraph_funcs.C:
729         * text.C:
730         * text2.C:
731         * BufferView.[Ch]:
732         * BufferView_pimpl.[Ch]:
733         * cursor.[Ch]:
734         * cursor_slice.[Ch]: adjust
735
736         * text3.C: fix bug in mathDispatch
737
738 2004-03-08  André Pönitz  <poenitz@gmx.net>
739
740         * undo.[Ch]: use 'StableDocumentIterator' as base for
741         the Undo struct.
742
743 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
744
745         * LaTeXFeatures.C:
746         * bufferparams.[Ch]: add jurabib support and param.
747
748         * LaTeX.C: add FIXME/comment.
749
750 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
751
752         * buffer.C: increment file format to 230.
753
754 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
755
756         * cursor.C (dispatch): avoid infinite loops
757
758 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * rowpainter.C (paintSelection): fix x coordinates
761
762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
763
764         * text.C (rowBreakPoint): fix breaking before displayed insets
765
766 2004-03-01  André Pönitz  <poenitz@gmx.net>
767
768         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
769
770         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
771
772         * Makefile.am:
773         * BufferView.C:
774         * BufferView_pimpl.C:
775         * buffer.C:
776         * lyxfind.C:
777         * lyxfunc.C:
778         * text.C:
779         * text2.C:
780         * text3.C: adjust
781
782 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
783
784         * lyxtext.h:
785         * text.C:
786         * text2.C:
787         * rowpainter.C:
788         * BufferView_pimpl.C: rename textwidth -> maxwidth,
789         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
790
791 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * Bidi.[Ch] (computeTables): const correctness
794         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
795         fill_hfill, fill_label_hfill and x from Row
796         * lyxtext.h: prepareToPrint returns a RowMetrics
797         * rowPainter.C: adjust
798         * text.C (prepareToPrint): use width, not textWidth. adjust
799         (redoParagraphInternal, cursorX): adjust
800         * text2.C (getColumnNearX): adjust
801         (init): put a default value to the top LyXText::width
802
803 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
804
805         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
806
807 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
808
809         * lyxtext.h: add FontIterator class
810
811         * text.C (FontIterator, operator*, operator->, operator++): add
812         (rowBreakPoint, setRowWidth): adjust (fixing a
813         rebreaking bug)
814
815 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         * BufferView_pimpl.C (workAreaDispatch): allow also
818         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
819
820 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text.C (rowBreakPoint): fix a bug showing with very large insets
823
824 2004-02-25  André Pönitz  <poenitz@gmx.net>
825
826         * text3.C:
827         * cursor.[Ch]: move some mathed specific code to mathed
828
829 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
830
831         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
832         use_tempdir in preferences
833         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
834         tempfile creation
835         * lyx_main.C: ensure that tempdir is valid
836         * lyxlex.h: correct typo
837         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
838         * paragraph.[Ch] (isMultiLingual): make const
839         * cursor.[Ch] (openable): make const
840
841 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
842
843         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
844
845 2004-02-20  André Pönitz  <poenitz@gmx.net>
846
847         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
848
849         * cursor.[Ch]: prepare for localized getStatus()
850
851         * lyxtext.h:
852         * tabular.C:
853         * text.C:
854         * text2.C:
855         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
856
857 2004-02-20  André Pönitz  <poenitz@gmx.net>
858
859         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
860
861 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
862
863         * text2.C (setCursorFromCoordinates): switch to absolute coords
864         (cursorUp): adjust
865         (cursorDown): adjust
866         * text3.C (dispatch): adjust
867
868 2004-02-16  André Pönitz  <poenitz@gmx.net>
869
870         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
871           insets/ChangeLog)
872
873         * cursor_slice.[Ch]: remove unneeded acessor function
874
875         * lyxtext.h: rename rtl() to isRTL()
876
877         * rowpainter.C:
878         * tabular.C:
879         * text.C:
880         * text2.C:
881         * text3.C: adjust
882
883 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
884
885         * rowpainter.C (paintSelection): coord fix
886
887 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
888
889         * Spacing.C: compile fix
890
891 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * cursor.C (dispatch): restore current_ before returning
894
895 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * text2.C (cursorUp, cursorDown): fix coords
898         (moveUp): fix crash
899
900 2004-02-12  André Pönitz  <poenitz@gmx.net>
901
902         * lyxtext.h:
903         * text.C:
904         * text2.C:
905         * text3.C: add LCursor & parameter to most cursor movement functions
906           remove usage of LyXText::cursorRow() and cursorPar()
907
908         * cursor.[Ch]: add textRow() needed members
909
910         * BufferView.C:
911         * BufferView_pimpl.C:
912         * paragraph.[Ch]:
913         * BufferView.C:
914         * BufferView_pimpl.C: adjust
915
916 2004-02-11  André Pönitz  <poenitz@gmx.net>
917
918         * lyxfunc.C:
919         * BufferView.[Ch]:
920         * BufferView_pimpl.C: shift undo/redo handling
921
922         * cursor.[Ch]: fix mathed crash
923
924         * lyxfind.C:
925         * lyxtext.h: move selectionAsText to LCursor
926
927         * output_latex.C:
928         * paragraph.C:
929         * text.C:
930         * text2.C:
931         * text3.C: adjust
932
933         * rowpainter.C: fix excessive drawing
934
935 2004-02-06  André Pönitz  <poenitz@gmx.net>
936
937         * BufferView.[Ch]:
938         * BufferView_pimpl.[Ch]:
939         * text3.C: move some text specific LFUN handling
940
941 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * text3.C (checkInsetHit): adjust coords
944         * text2.C (getColumnNearX): adjust coords
945         (edit): adjust coords
946         * text.C (getRowNearY): add two asserts
947
948 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * converter.C:
951         * format.C: add using std::distance to compile on gcc 2.95/stlport
952
953 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
956
957 2004-02-04  André Pönitz  <poenitz@gmx.net>
958
959         * BufferView.[Ch] (insertInset):
960         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
961
962         * text2.C:
963         * text3.C: adjust
964
965 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
968         on the default clause of the switch
969         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
970         wasn't catched by LCursor::dispatch
971
972 2004-02-03  André Pönitz  <poenitz@gmx.net>
973
974         * BufferView.C:
975         * cursor.[Ch]: some additional asserts
976
977         * undo.[Ch]: remove LyXText dependency in interface
978
979         * lyxfunc.C: adjust
980
981         * lyxtext.h (firstPar, lastPar): remove dead functions
982
983         * text.C:
984         * text2.C:
985         * text3.C:
986         * paragraph.[Ch]: adjust
987
988 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
989
990         * lyxfind.C (find): fix argument order in call to ::find
991
992 2004-02-02  André Pönitz  <poenitz@gmx.net>
993
994         * cursor.[Ch]: remove direct access to anchor
995
996         * text.C: remove findText() hack
997
998 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * iterators.[Ch] (lockPath): remove in favour of...
1001         * BufferView.[Ch] (setCursor): this addition
1002         * BufferView.C (putSelectionAt): adjust
1003         * undo.C (performUndoOrRedo): adjust
1004         * lyxfunc.C (dispatch): adjust
1005
1006 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1007
1008         * iterators.C (lockPath): add a missing slice
1009         * undo.C (performUndoOrRedo): remove redundant positioning code
1010
1011 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1012
1013         * vc-backend.C (scanMaster): ";" -> ';'
1014
1015 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1016
1017         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1018         std::binary_function
1019
1020         * lyxtextclass.C (compare_name): rename to...
1021         (LayoutNamesEqual): ...this
1022
1023         * lyxlex_pimpl.C (compare_tags): inherit from
1024         std::binary_function, put back into anon namespace
1025
1026         * lyxfind.C (MatchString): inherig from std::binary_function
1027         (findChange): use empty() istead of !size()
1028
1029         * format.C (FormatNamesEqual): new functor
1030         (getFormat): use it
1031         (getNumber): use it
1032         (add): use it
1033         (erase): use it
1034         (setViewer): use it
1035
1036         * converter.C (compare_Converter): rename to...
1037         (ConverterEqual): ...this, and fixup a bit.
1038         (getConverter): use it, and make function const
1039         (getNumber): use it, and make function const
1040         (add): use it
1041         (erase): use it:
1042
1043         * bufferlist.C: add using boost::bind
1044
1045         * MenuBackend.C (MenuNamesEqual): new functor
1046         (hasMenu): use it, and make function const
1047         (hasSubmenu): use nested bind to get rid of compare_memfun.
1048
1049 2004-01-30  André Pönitz  <poenitz@gmx.net>
1050
1051         * BufferView_pimpl.C:
1052         * cursor.C:
1053         * cursor.h:
1054         * cursor_slice.[Ch]:
1055         * lyxfunc.C:
1056         * lyxtext.h:
1057         * paragraph_funcs.C:
1058         * paragraph_funcs.h:
1059         * rowpainter.C:
1060         * text.C:
1061         * text2.C:
1062         * text3.C: move some of the edit(x,y) handling to the insets
1063         some coordinate changes.
1064
1065 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1066
1067         * text.C: add using statements for std::advance and std::distance
1068
1069         * paragraph.C: add using statement for std::distance
1070
1071         * lyxfind.C: add using statement for std::advance
1072
1073         * cursor.C (region): remove std:: from swap
1074         (openable): use nucleus in stead of operator->
1075
1076         * BufferView.C: add using statements for std::distance and std::swap
1077
1078 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1079
1080         * iterators.C: Remove the pimple, move the needed structures to
1081         the header file. Create accessor for the positions stack.
1082         (asPosIterator): remove function
1083
1084         * PosIterator.C (PosIterator): move constructors to top of file
1085         (PosIterator): reimplement the constructor taking a ParIterator in
1086         terms of setFrom.
1087         (setFrom): new function
1088         (operator!=): inline it
1089
1090 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1091
1092         * lyxfind.C (replaceAll): use std::advance
1093
1094         * iterators.h: inherit from std::iterator.
1095
1096         * PosIterator.C (advance, distance): remove
1097         * PosIterator.h: interit from std::iterator.
1098
1099 2004-01-26  André Pönitz  <poenitz@gmx.net>
1100
1101         * BufferView.[Ch]:
1102         * BufferView_pimpl.[Ch]:
1103         * InsetList.[Ch]:
1104         * PosIterator.[Ch]:
1105         * buffer.h:
1106         * bufferview_funcs.C:
1107         * cursor.[Ch]:
1108         * cursor_slice.h:
1109         * factory.[Ch]:
1110         * iterators.[Ch]:
1111         * lyxfind.C:
1112         * lyxfunc.C:
1113         * lyxtext.h:
1114         * output_docbook.C:
1115         * output_latex.C:
1116         * output_linuxdoc.C:
1117         * output_plaintext.C:
1118         * paragraph.[Ch]:
1119         * paragraph_funcs.[Ch]:
1120         * paragraph_pimpl.[Ch]:
1121         * rowpainter.C:
1122         * tabular.C:
1123         * tabular.h:
1124         * text.C:
1125         * text2.C:
1126         * text3.C: more IU:  dumps most of the rest of the mathcursor
1127     implementation into cursor.[Ch]; "globalize" a bit of it.
1128
1129 2004-01-25  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1132
1133 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1134
1135         * LaTeXFeatures.h: add nice_ and nice() const
1136         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1137
1138 2004-01-20  André Pönitz  <poenitz@gmx.net>
1139
1140         * BufferView.[Ch]:
1141         * BufferView_pimpl.C:
1142         * PosIterator.C:
1143         * bufferview_funcs.C:
1144         * cursor.[Ch]:
1145         * cursor_slice.[Ch]:
1146         * factory.C:
1147         * iterators.C:
1148         * lyx_cb.C:
1149         * lyxfind.C:
1150         * lyxfunc.C:
1151         * lyxtext.h:
1152         * rowpainter.C:
1153         * text.C:
1154         * text2.C:
1155         * text3.C:
1156         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1157           LCursor and mathcursor parts to LCursor and InsetBase.
1158
1159 2004-01-15  André Pönitz  <poenitz@gmx.net>
1160
1161         * cursor_slice.[Ch]: add a few covienience functions
1162
1163         * funcrequest.[Ch]: remove BufferView * member
1164
1165         * BufferView_pimpl.C:
1166         * cursor.C:
1167         * factory.[Ch]:
1168         * lyxfind.[Ch]:
1169         * lyxfunc.C:
1170         * lyxtext.h:
1171         * text3.C:
1172         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1173
1174 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1177         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1178
1179 2004-01-13  André Pönitz  <poenitz@gmx.net>
1180
1181         * textcursor.[Ch]:
1182         * lyxtext.h: hide cursor and selection anchor behind accessor function
1183
1184         * BufferView.C:
1185         * BufferView_pimpl.[Ch]:
1186         * PosIterator.C:
1187         * bufferview_funcs.C:
1188         * cursor.h:
1189         * lyxfind.C:
1190         * lyxfunc.C:
1191         * text.C:
1192         * text2.C:
1193         * text3.C:
1194         * undo.C: adjust
1195
1196         * cursor.h:
1197         * cursor_slice.[Ch]: some integer type changes for inset unification
1198
1199         * lyxcursor.[hC]: remove, it's CursorSlice now.
1200
1201         * Makefile.am:
1202         * BufferView_pimpl.[Ch]:
1203         * bufferview_funcs.C:
1204         * cursor_slice.C:
1205         * lyxtext.h:
1206         * text.C:
1207         * text2.C:
1208         * text3.C:
1209         * textcursor.[Ch]: adjust
1210
1211 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * text2.C (undoSpan): add and use
1214         * text.C (breakParagraph): use undoSpan (fix bug 578)
1215         * lyxtext.h: adjust
1216
1217 2004-01-08  Angus Leeming  <leeming@lyx.org>
1218
1219         * BufferView_pimpl.C (MenuInsertLyXFile):
1220         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1221         * lyxfunc.C (menuNew, open, doImport):
1222         FileFilterList change to the FileDialog open and save functions.
1223
1224 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1225
1226         * ShareContainer.h: make isEqual and isUnique adaptable
1227
1228         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1229
1230 2004-01-07  Angus Leeming  <leeming@lyx.org>
1231
1232         * LyXAction.C:
1233         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1234
1235         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1236
1237         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1238         functions replacing find, replace and replaceAll.
1239
1240         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1241         LFUN_WORDFIND(FORWARD|BACKWARD).
1242
1243 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * text.C (breakParagraph): remove an outdated #warning
1246
1247 2004-01-07  André Pönitz  <poenitz@gmx.net>
1248
1249         * lyxfind.C: somewhat clearer logic
1250
1251         * text.C: prevent crash in cursorX on unitialized row cache
1252
1253 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1254
1255         * lyxcursor.[Ch] (operator>): add
1256         * textcursor.C (selStart, selEnd): use std::min and std::max
1257
1258 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1259
1260         * Chktex.C: include boost/format.hpp
1261
1262 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1263
1264         * InsetList.C: replace functor MathcIt with adaptable functor
1265         InsetTablePosLess
1266         (insetIterator): modify accordingly
1267
1268         * BranchList.h: move the BranchNamesEqual functor here from...
1269         * BranchList.C: ... to here
1270
1271         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1272         SameName and match.
1273         (add): replace a finding loop with std::find_if.
1274
1275 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1276
1277         * output_docbook.C: moving LatexParam functionality into
1278         .layout files
1279
1280 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1281
1282         * buffer.C: increment format to 229.
1283
1284 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1285
1286         * LaTeXFeatures.C:
1287         * lyx_sty.[Ch]: remove minipageindent_def
1288
1289         * LyXAction.C:
1290         * factory.C:
1291         * lfuns.h:
1292         * lyxfunc.C:
1293         * text3.C: remove LFUN_INSET_MINIPAGE
1294
1295 2003-12-28  Angus Leeming  <leeming@lyx.org>
1296
1297         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1298
1299 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * text2.C (setParagraph): fix off-by-one crash
1302
1303 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * output_docbook.C: header stuff for AGU
1306
1307 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * text2.C (redoCursor): remove
1310         * text.C:
1311         * text3.C:
1312         * BufferView_pimpl.C: remove calls to redoCursor and
1313         setCursor(cursor.par(), cursor.pos()) all around
1314
1315 2003-12-15  Angus Leeming  <leeming@lyx.org>
1316
1317         * buffer.C: up the format to 228.
1318
1319 2003-12-15  André Pönitz  <poenitz@gmx.net>
1320
1321         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1322         slices
1323
1324         * Makefile.am:
1325
1326         * BufferView_pimpl.C:
1327         * cursor.[Ch]:
1328         * lyxcursor.[Ch]:
1329         * rowpainter.[Ch]:
1330         * lyxtext.h:
1331         * text.C:
1332         * text2.C:
1333         * text3.C: adjust
1334
1335 2003-12-15  Angus Leeming  <leeming@lyx.org>
1336
1337         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1338         than getFromGUIName to manipulate the color.
1339
1340 2003-12-14  Angus Leeming  <leeming@lyx.org>
1341
1342         * BranchList.[Ch]: minimize the API.
1343         (Branch::getBranch, getColor): now return a 'const &'.
1344         (Branch::setSelected) now returns a bool set to true if the
1345         selection status changes.
1346         (BranchList::clear, size, getColor, setColor, setSelected,
1347         allBranches, allSelected, separator): removed.
1348         (BranchList::find): new functions, returning the Branch with
1349         the given name.
1350         (BranchList::add, remove): return a bool indicating that
1351         the operation was successful.
1352
1353         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1354         new InsetBranch::isBranchSlected member function.
1355
1356         * LColor.[Ch]: mimimize the API.
1357         (fill): renamed as addColor and made private.
1358         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1359         versions of these functions taking a string arg have been removed.
1360
1361         * bufferparams.C (readToken):
1362         * lyxfunc.C (dispatch):
1363         * lyxrc.C (read): changes due to the altered BranchList and
1364         LColor APIs.
1365
1366         * factory.C (createInset, readInset): changes due to altered
1367         InsetBranch c-tor.
1368
1369 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1370
1371         * factory.C:
1372         * lyxfunc.C: remove insetminipage. "minipage-insert"
1373         now produces a frameless minipage box inset.
1374
1375 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * textcursor.[Ch] (selStart,selEnd): add new methods
1378         remove selection::start, end, use LyXCursor::operator<
1379         * lyxcursor.[Ch] (operator<): add
1380         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1381         * BufferView.[Ch] (unsetXSel): add
1382         * text2.C (clearSelection): use unsetXSel,adjust
1383         * text.C: adjust
1384         * text3.C: adjust
1385         * rowpainter.C: adjust
1386         * bufferview_funcs.C (put_selection_at): adjust
1387
1388 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1389
1390         * BufferView_pimpl.C: small coord. correction
1391
1392 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1395         dragging over the splash screen.
1396
1397 2003-12-11  Angus Leeming  <leeming@lyx.org>
1398
1399         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1400         as it is now handled in LyXText::dispatch.
1401
1402         * text3.C (doInsertInset): remove a level of nesting.
1403
1404 2003-12-11  Angus Leeming  <leeming@lyx.org>
1405
1406         * factory.C (createInset): changes due to the changed interface to
1407         InsetCommandMailer::string2params.
1408
1409 2003-12-10  Angus Leeming  <leeming@lyx.org>
1410
1411         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1412         'dialog-show-new-inset <inset name>'
1413
1414 2003-12-10  Angus Leeming  <leeming@lyx.org>
1415
1416         * buffer.C: up the format to 227.
1417
1418         * factory.C: the box inset is now identified simply by 'Box'.
1419
1420 2003-12-10  Angus Leeming  <leeming@lyx.org>
1421
1422         * buffer.C: up the format to 226.
1423
1424         * factory.C: the note inset is now identified simply by 'Note'.
1425
1426 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1429         when a pit is enough. Standarize a couple of loops.
1430
1431 2003-12-05  Angus Leeming  <leeming@lyx.org>
1432
1433         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1434         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1435         data to the re-worked "log" dialog.
1436
1437 2003-12-03  André Pönitz  <poenitz@gmx.net>
1438
1439         * PosIterator.C:
1440         * iterators.C:
1441         * lyxtext.h:
1442         * output_latex.C:
1443         * paragraph_funcs.C:
1444         * text.C:
1445         * text2.C: use Inset::getText instead of Inset::getParagraph
1446
1447 2003-12-03  André Pönitz  <poenitz@gmx.net>
1448
1449         * buffer.[Ch]:
1450         * lyxtext.h:
1451         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1452         InsetText::read() as LyXText::read()
1453
1454 2003-12-02  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1457         type. Add a comment in the implementation that the function uses
1458         the stream's bad() function rather than fail() as the std::streams
1459         would do.
1460
1461 2003-12-02  André Pönitz  <poenitz@gmx.net>
1462
1463         * lyxlex.[Ch]: make interface more similar to std::stream
1464
1465         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1466
1467 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1468
1469         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1470
1471 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1472
1473         * vspace.[Ch]: remove VSpace::NONE
1474
1475 2003-12-01  André Pönitz  <poenitz@gmx.net>
1476
1477         * buffer.[Ch]:
1478         * lyxtext.h: move ParagraphList member to LyXText
1479         rename LyXText::ownerParagraphs to LyXText::paragraph
1480
1481         * CutAndPaste.C:
1482         * bufferview_funcs.C:
1483         * iterators.[Ch]:
1484         * lyx_cb.C:
1485         * paragraph.C:
1486         * rowpainter.C:
1487         * tabular.C:
1488         * text.C:
1489         * text2.C:
1490         * text3.C: adjust
1491
1492         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1493
1494         * undo.C: fix cursor positioning
1495
1496 2003-12-01  John Levon  <levon@movementarian.org>
1497
1498         * BufferView_pimpl.C: fix a crash on exit with
1499         a buffer open
1500
1501 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1502
1503         * BranchList.C: fix setSelected() method.
1504
1505 2003-11-28  André Pönitz  <poenitz@gmx.net>
1506
1507         * ParagraphParameters.[Ch]:
1508         * ParameterStruct.h: remove space above/below from Paragraph to
1509          InsetVSpace
1510
1511         * BufferView_pimpl.C:
1512         * factory.C:
1513         * lyxfunc.C:
1514         * lyxtext.h:
1515         * output_latex.C:
1516         * paragraph.C:
1517         * paragraph_funcs.C:
1518         * rowpainter.[Ch]:
1519         * text.C:
1520         * text2.C:
1521         * text3.C: adjust
1522
1523 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1524
1525         * factory.C: Syntax change for CharStyles
1526
1527 2003-11-28  André Pönitz  <poenitz@gmx.net>
1528
1529         * BufferView.[Ch]:
1530         * BufferView.[Ch]:
1531         * buffer.[Ch]:
1532         * buffer.[Ch]: move LyXText member
1533
1534 2003-11-28  André Pönitz  <poenitz@gmx.net>
1535
1536         * BufferView.[Ch]: make LyXText * text a private member
1537
1538         * BufferView_pimpl.C:
1539         * cursor.C:
1540         * iterators.C:
1541         * lyx_cb.C:
1542         * lyxfind.C:
1543         * lyxtext.h:
1544         * rowpainter.[Ch]:
1545         * text.C:
1546         * text2.C:
1547         * undo.C: adjust
1548
1549         * output_plaintext.C: cleanup
1550
1551 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1552
1553         * buffer.C:
1554         * lyxtextclass.[Ch]: parametrize SGML document header
1555
1556 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1557
1558         * converter.[Ch]:
1559         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1560         getFlavor().
1561
1562 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * text2.C (setFont): rework using PosIterator (no more recursive)
1565         (setCharFont): no more needed
1566         (setLayout): no more selection cursors fiddling (done by redoCursor)
1567         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1568         destroy remaining ones)
1569
1570 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1571
1572         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1573         * lyxtext.h: ditto
1574         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1575         selection cursors
1576         * lyxfunc.C: adjust
1577         * text3.C: adjust + re-allow multi par depth changes
1578         * textcursor.C: simplify a bit
1579
1580 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1581
1582         * src/buffer.C:
1583         * src/lyxlayout.C:
1584         * src/lyxlayout.h:
1585         * src/lyxtext.h:
1586         * src/output_docbook.C:
1587         * src/output_latex.C:
1588         * src/paragraph.C:
1589         * src/paragraph.h:
1590         * src/sgml.C:
1591         * src/sgml.h:
1592         * src/text2.C: Introducing a number of tags parametrizing various
1593         XML formats that we may want to support
1594
1595 2003-11-25  André Pönitz  <poenitz@gmx.net>
1596
1597         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1598
1599         * lyxtext.h (leftMargin/rightMargin): simplify interface
1600
1601         * rowpainter.C:
1602         * text.C:
1603         * text2.C:
1604         * text3.C: adjust
1605
1606 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1609         master file to any child files. Fixes bug 546.
1610
1611 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1614
1615 2003-11-24  André Pönitz  <poenitz@gmx.net>
1616
1617         * rowpainter.C: simplification
1618
1619         * text2.C (updateCounters): remove call to redoParagraph on
1620         changed labels as this is far too expensive.
1621
1622 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1623
1624         * converter.C (convert): fix a crash: this function gets
1625         called with buffer == 0 from importer code.
1626
1627 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1628
1629         * text3.C (cursorPrevious): make sure that we do not compare
1630         iterators form different containers.
1631         (cursorNext): ditto
1632
1633         * rowpainter.C (paintSelection): make sure that we do not compare
1634         iterators from different containers.
1635
1636         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1637         iterators from different ParagraphList containers.
1638         [NEXT] ditto
1639
1640         * text2.C (LyXText): change order of initialization slightly
1641         (operator=): new function. copy all variables except cache_par_
1642         (moveUp): make sure that we do not compare iterators from
1643         different ParagraphList constainers.
1644         (moveDown): ditto
1645
1646         * text.C (firstPar): new function
1647         (lastPar): new function
1648         (endPar): new function
1649
1650         * lyxtext.h: move things around and group public functions, public
1651         variables, private functions, private variables
1652
1653 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1654
1655         * factory.C: change call to InsetERT constructor to avoid
1656         additional invocation of method status
1657         * text2.C (toggleInset): remove redundant update() call
1658         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1659         instead of a Bufferview pointer
1660
1661 2003-11-21  André Pönitz  <poenitz@gmx.net>
1662
1663         * rowpainter.C: simplification
1664
1665 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1666
1667         * text3.C (dispatch): make possible to extend a word/row selection
1668         with the mouse
1669
1670 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1671
1672         * lyxtext.h: x0_,y0_ -> xo_,yo_
1673         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1674         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1675         * rowpainter.C (paintRows): paint full paragraphs
1676
1677 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1680         screen coordinates)
1681
1682 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1683
1684         * lyxtext.h: add x0_, y0_
1685         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1686         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1687
1688 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * text2.C (setCursorIntern): move the x_target update here *
1691         * text3.C: change some bv() to true/false in calls to
1692         cursorUp/Down/Right/Left
1693         * cursor.C: use helper function.
1694
1695 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1698         * paragraph_funcs.[Ch]: correct comment
1699         * rowpainter.C: do not paint selections away from bv->cursor()
1700         Fix a long standing selection painting bug.
1701         * text3.C: generalize mouse-selection code to LyXTexts other that
1702         top one
1703         * textcursor.C: do not use y coords if we can use par offsets
1704
1705 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1706
1707         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1708         cursor position after e.g. inset insert)
1709
1710 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1711
1712         * lyxfind.C (replace): adjust to locking removal + some
1713         code simplification
1714
1715 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1718         of the path
1719
1720 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1721
1722         * lyxlayout.[Ch]:
1723         * output_docbook.C: XML sanitation: new layout
1724         parameters InnerTag and CommandDepth
1725
1726 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * BufferView_pimpl.C:
1729         * factory.C:
1730         * text3.C: Fix the insertion and modification of button-style
1731         insets
1732
1733 2003-11-13  André Pönitz  <poenitz@gmx.net>
1734
1735         * InsetList.[Ch]: remove deleteLyXText
1736
1737         * paragraph.[Ch]: cache beginOfBody position
1738
1739         * Bidi.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C: remove superfluous update() calls
1743
1744         * vspace.C: cleanup
1745
1746 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1749         * BufferView.C (fitLockedInsetCursor): remove
1750         * cursor.[Ch] (getDim): add
1751         * text.C (getRowNearY): add faster version
1752         * text3.C: remove some update calls
1753
1754 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1755
1756         * LaTeXFeatures.C:
1757         * LyXAction.C:
1758         * MenuBackend.C:
1759         * MenuBackend.h:
1760         * dispatchresult.h:
1761         * factory.C:
1762         * lfuns.h:
1763         * lyxfunc.C:
1764         * lyxtextclass.C:
1765         * lyxtextclass.h:
1766         * text3.C: The Character Style /XML short element patch.
1767
1768 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1769
1770         * text3.C:
1771         * factory.C: Small step to solving 'unable to insert some insets'
1772         problem
1773
1774 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1775
1776         * cursor.[Ch] (updatePos): new function for updating the y
1777         position of the tip inset
1778         * bufferview_funcs.C (put_selection_at):
1779         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1780
1781 2003-11-11  André Pönitz  <poenitz@gmx.net>
1782
1783         * text.C: remove big comment on invalid Paragraph pointers as it is
1784         not valid anymore
1785
1786 2003-11-11  André Pönitz  <poenitz@gmx.net>
1787
1788         * text_funcs.[Ch]: merge with ...
1789
1790         * text.C: ... this
1791
1792         * lyxtext.h:
1793         * text2.C:
1794         * text3.C: adjust
1795
1796         * Makefile.am: remove text_funcs.[Ch]
1797
1798 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1799
1800         * cursor.C (getPos): return absolute cached y coord
1801
1802         * BufferView_pimpl.C (fitCursor): new simplistic code
1803         (workAreaDispatch): add a fitCursor call
1804
1805 2003-11-10  André Pönitz  <poenitz@gmx.net>
1806
1807         * BufferView.[Ch]:
1808         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1809
1810 2003-11-10  André Pönitz  <poenitz@gmx.net>
1811
1812         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1813         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1814         indicate that the cursor needs to leave an inset
1815
1816         * lyxtext.h: remove inset locking
1817
1818         * cursor.[Ch]: re-implement functionality provided by inset locking
1819
1820         * BufferView.[Ch]:
1821         * BufferView_pimpl.[Ch]:
1822         * LyXAction.C:
1823         * bufferview_funcs.[Ch]:
1824         * factory.C:
1825         * funcrequest.[Ch]:
1826         * iterators.C:
1827         * lyx_cb.C:
1828         * lyxfind.C:
1829         * lyxfunc.C:
1830         * text.C:
1831         * text2.C:
1832         * text3.C:
1833         * undo.C: adjust
1834
1835 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * PosIterator.[Ch]: replace the stack with a vector, add inset
1838         accesor
1839         * iterators.[C]: adjust
1840
1841 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1842
1843         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1844         replaced
1845         * paragraph_funcs.C (readParToken): put the correct id in the
1846         error item, not the id of the top paragraph
1847
1848 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1849
1850         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1851         * bufferview_funcs.C (put_selection_at): use the above
1852
1853 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1856
1857 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1858
1859         * output_linuxdoc.h:
1860         * output_plaintext.h:
1861         * output.h:
1862         * output_docbook.h: add #include statements
1863
1864 2003-11-05  José Matos  <jamatos@lyx.org>
1865
1866         * output_docbook.[Ch]:
1867         * output_latex.[Ch]:
1868         * output_linuxdoc.[Ch]:
1869         * output_plaintext.[Ch]: New files for output formats.
1870         * output.[Ch]: New file for helper functions.
1871
1872         * buffer.[Ch]:
1873         * paragraph_funcs.[Ch]: output functions moved to new files.
1874
1875         * outputparams.h: rename of latexrunparams.h
1876
1877         * LaTeX.[Ch]:
1878         * buffer.[Ch]:
1879         * bufferlist.[Ch]:
1880         * converter.[Ch]:
1881         * exporter.C:
1882         * paragraph.[Ch]:
1883         * paragraph_funcs.[Ch]:
1884         * paragraph_pimpl.[Ch]:
1885         * tabular.[Ch]: rename ascii to plaintext
1886         and LatexRunParams to OutputParams.
1887
1888 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1889
1890         * iterators.[Ch] (text): require bv argument
1891         * undo.C (recordUndo):
1892         * lyxfunc.C (dispatch):
1893         * bufferview_funcs.C (put_selection_at): adjust
1894
1895 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1896
1897         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1898
1899 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1902         nestings
1903
1904 2003-11-04  André Pönitz  <poenitz@gmx.net>
1905
1906         * cursor.[Ch]: restructure
1907
1908         * BufferView.[Ch]:
1909         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1910
1911         * iterators.[Ch] (asCursor): remove
1912
1913         * lfuns.h: remove LFUN_INSET_EDIT
1914
1915         * lyxfunc.C:
1916         * tabular.C:
1917         * text.C:
1918         * text2.C:
1919         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1920
1921 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1922
1923         * lyxfind.[Ch]: complete overhaul
1924         * BufferView_pimpl.C:
1925         * lyxfunc.C: adjust
1926         * paragraph.[Ch] (insert): add
1927
1928 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1929
1930         * BufferView.[Ch]:
1931         * lyxtext.h:
1932         * text.C: remove dead spellcheck code
1933
1934 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1935
1936         * dispatchresult.h: add a val setter
1937
1938         * cursor.C (dispatch): use a tempvar for data_[i]
1939
1940 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1941
1942         * PosIterator.[Ch]: compile fix
1943
1944 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * text.C (cursorPar): deactivate the cursor cache
1947
1948 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1951
1952 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1953
1954         * text3.C (dispatch): adjust for new DisptchResult semantics.
1955
1956         * lyxfunc.C (dispatch): handle update when return from
1957         Cursor::dispatch, adjust for new DispatchResult semantics.
1958
1959         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1960         DispatchResult(true) mean to not update. Add class functions for
1961         setting dispatched and update, as well as reading.
1962
1963         * cursor.C (dispatch): don't handle update here
1964
1965 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1966
1967         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1968         * trans_mgr.C: adjust
1969
1970         * paragraph_funcs.C (readParToken): exception safety
1971
1972         * lyxvc.h: store the vcs pointer in a scoped_ptr
1973         * lyxvc.C: adjust
1974
1975         * lyxsocket.C (serverCallback): exception safety
1976
1977         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1978
1979         * ispell.C (clone): make it return a auto_ptr
1980
1981         * factory.C (createInset): exception safety
1982         (readInset): exception safety
1983
1984         * bufferlist.C (newBuffer): exception safety
1985
1986         * Thesaurus.C (Thesaurus): use initialization for aik_
1987
1988         * MenuBackend.C (expandToc): exception safety.
1989
1990 2003-11-03  André Pönitz  <poenitz@gmx.net>
1991
1992         * buffer.C:
1993         * buffer.h:
1994         * bufferview_funcs.C: remove getInsetFromId()
1995
1996         * lyxcursor.[Ch]:
1997         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1998
1999         * lyxfunc.C:
2000         * text2.C:
2001         * text3.C: adjust
2002
2003 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2004
2005         * PosIterator.C (distance, advance): new
2006         * bufferview_funcs.[Ch] (put_selection_at): new
2007         * iterators.[Ch] (lockPath): new
2008
2009 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2010
2011         * iterators.[Ch] (asPosIterator): added
2012         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2013         * PosIterator.[Ch]: added
2014
2015 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2016
2017         * text3.C:
2018         * lyxfunc.C:
2019         * cursor.C (dispatch):
2020         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2021
2022         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2023         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2024         contructor, add a class function dispatched. Remove operator>=
2025
2026 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * debug.C: only use the default constructor for debugstream
2029         (lyxerr) here.
2030
2031         * main.C (main): include debug.h and setup the lyxerr streambuf
2032         here.
2033
2034 2003-10-31  José Matos  <jamatos@lyx.org>
2035
2036         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2037
2038         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2039         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2040         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2041         * paragraph_pimpl.C (simpleTeXSpecialC):
2042         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2043         add LatexRunParams argument.
2044
2045         * exporter.C (Export): change call accordingly.
2046
2047         * latexrunparams.h: add new member to take care of the other backends.
2048 2003-10-30  José Matos  <jamatos@lyx.org>
2049
2050         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2051         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2052         factorise code for paragraph output.
2053         * buffer.[Ch]:
2054         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2055         move functions.
2056
2057 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2058
2059         * text3.C (dispatch):
2060         * lyxfunc.C (dispatch):
2061         * cursor.C (dispatch):
2062         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2063
2064         * dispatchresult.h: make the dispatch_result_t ctor explicit
2065
2066 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2067
2068         * sgml.[Ch]:
2069         * buffer.C: small refactoring of docbook stuff
2070
2071 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2072
2073         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2074         meaning.
2075
2076 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2079         operator dispatch_result_t, and operators for == != and >=
2080
2081         * cursor.C (dispatch): adjust for operator dispatch_result_t
2082         removal. comment out call to update
2083
2084         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2085
2086 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * text3.C:
2089         * text2.C:
2090         * text.C:
2091         * lyxtext.h:
2092         * lyxfunc.C:
2093         * cursor.C:
2094         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2095         (dispatch):
2096
2097         * dispatchresult.h: new file, DispatchResult broken out of
2098         insets/insetbase.h
2099
2100         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2101
2102 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2103
2104         * text.C (rowBreakPoint): put a hack inside #if 0
2105
2106 2003-10-28  André Pönitz  <poenitz@gmx.net>
2107
2108         * lyxtext.h:
2109         * metricsinfo.C:
2110         * paragraph_funcs.C:
2111         * rowpainter.C:
2112         * text.C:
2113         * text2.C: general cleanup (lots of small stuff)
2114
2115 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2116
2117         * text2.C (cursorEnd): simple fix to the "end key goes to one
2118         before the end on last row" bug
2119
2120 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * text.C (backspace): fix the "zombie characters"
2123
2124 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2127
2128 2003-10-27  André Pönitz  <poenitz@gmx.net>
2129
2130         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2131
2132         * factory.C: handle new InsetPagebreak, InsetLine
2133
2134         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2135         and move handling into new InsetPagebreak, InsetLine
2136
2137         * BufferView_pimpl.C:
2138         * LyXAction.C:
2139         * ParagraphParameters.C:
2140         * ParameterStruct.h:
2141         * lyxfunc.C:
2142         * lyxtext.h:
2143         * paragraph.C:
2144         * paragraph.h:
2145         * paragraph_funcs.C:
2146         * paragraph_pimpl.C:
2147         * rowpainter.C:
2148         * text.C:
2149         * text2.C:
2150         * text3.C: adjust
2151
2152 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * text.C:
2155         * lyxrow_funcs.[Ch]:
2156         * Bidi.C:
2157         * paragraph.C:
2158         * lyxtext.h:
2159         * rowpainter.C:
2160         * text2.C:
2161         * text3.C: remove lastPos uses in favour of Row::endpos
2162
2163 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2164
2165         * undo.C (performUndoOrRedo): fix two crashes by setting a
2166         cursor by hand and reordering some calls. Use bv->lockInset instead
2167         of inset->edit because the latter loses cursor information
2168
2169 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2170
2171         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2172         by Martin
2173         (rowBreakPoint): fix width. change point to point + 1.
2174         Add a missing check.
2175
2176 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2177
2178         * MenuBackend.C:
2179         * lyxfunc.C: fix (at least partly) the problems
2180         with the Nav menu and headers inside branch insets
2181         reported by Kayvan
2182
2183 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2184
2185         * paragraph.C (getChar): add strong asserts
2186
2187         * lyxrow_funcs.C (lastPos): remove hideous hack
2188
2189         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2190         (fill): adjust to that (avoid an infinite loop)
2191
2192 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2195
2196 2003-10-23  André Pönitz  <poenitz@gmx.net>
2197
2198         * RowList_fwd.h: change list<> to vector<> to gain speed
2199         after suggestion from Alfredo
2200
2201 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * lyxtext.h: move the bidi stuff from here...
2204         * text.C: and here
2205         * text2.C: and here
2206         * Bidi.[Ch]: ... to here
2207
2208 2003-10-23  André Pönitz  <poenitz@gmx.net>
2209
2210         * lyxtext.h:
2211         * text.C (isLastRow, isFirstRow): new functions
2212
2213         * paragraph.h: new width cache member
2214
2215         * rowpainter.C: replace RowList::iterator with Row & where possible
2216
2217         * lyxfunc.C: replace several view()->text with a single call
2218
2219         * toc.C: fix 'unused' warning
2220
2221 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2224         when woring with stream::pos_type
2225         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2226
2227 2003-10-22  André Pönitz  <poenitz@gmx.net>
2228
2229         * lyxtext.h:
2230         * text.C: use Row & instead of RowList::iterator
2231
2232         * lyxrow.h: rename end() to endpos()
2233
2234         * rowpainter.C:
2235         * text.C:
2236         * text2.C: adjust
2237
2238 2003-10-22  Angus Leeming  <leeming@lyx.org>
2239
2240         * buffer.[Ch] (fully_loaded): new member function, returning true
2241         only when the file has been loaded fully.
2242         Used to prevent the premature generation of previews and by the
2243         citation inset to prevent computation of the natbib-style label.
2244
2245         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2246         templates are all set up.
2247
2248         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2249
2250 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2251
2252         * text.C: fixed an "oops" in the "is a bit silly"
2253         bug fix
2254
2255 2003-10-21  André Pönitz  <poenitz@gmx.net>
2256
2257         * FuncStatus.[Ch]: small stuff, whitespace
2258
2259         * lyxfont.[Ch]: operator<<() for debug reasons
2260
2261         * lyxfunc.C:
2262         * lyxrow_funcs.C:
2263         * lyxtext.h: whitespace, spelling
2264
2265         * paragraph.C: naming of variables
2266
2267         * text.C:
2268         * text2.C: small stuff
2269
2270
2271 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2272
2273         * text.C: (1) finish off the inset display() work;
2274         (2) fix the "is a bit silly" bug (accessing char
2275         past end of par).
2276
2277 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2278
2279         * text.C: re-introduce display() for insets, fixing the
2280         various bugs (stretch of line above, math inset
2281         positioning, ...)
2282
2283 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * text.C (rightMargin): remove spurious semicolon
2286
2287         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2288         1415)
2289
2290 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2291
2292         * text3.C: fix one crash due to wrong cursor def
2293
2294 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * vc-backend.C (scanMaster): make the regex static
2297
2298         * LaTeX.C (scanAuxFile): make the regexs static
2299
2300         * text3.C (doInsertInset, dispatch, dispatch):
2301         * text2.C (cursorUp, cursorDown):
2302         * text.C (selectNextWordToSpellcheck):
2303         * BufferView_pimpl.C (dispatch):
2304         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2305
2306 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2307
2308         * lyxsocket.C: include <cerrno>
2309
2310 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * lyxfunc.C (dispatch): remove textcache stuff
2313
2314         * bufferlist.C (release): remove textcache stuff
2315         (closeAll): ditto
2316
2317         * TextCache.C: delete file
2318         * TextCache.h: delete file
2319
2320         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2321
2322         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2323         delete of the bv_->text.
2324         (resizeCurrentBuffer): remove texcache stuff
2325         (workAreaResize): ditto
2326
2327 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2330         action.
2331
2332 2003-10-16  André Pönitz  <poenitz@gmx.net>
2333
2334         * lyxrow.[Ch]:
2335         * paragraph.h:
2336         * rowpainter.C:
2337         * text.C:
2338         * text2.C:
2339         * text3.C: speed up by storing y positions per paragraph plus per-row
2340         offset instead of having a 'full' y position in the row.
2341
2342 2003-10-15  André Pönitz  <poenitz@gmx.net>
2343
2344         * iterators.[Ch]:
2345         * iterators.[Ch]:
2346         * undo.[Ch]: make undo aware of inner insets
2347
2348 2003-10-14  Angus Leeming  <leeming@lyx.org>
2349
2350         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2351         static member functions LyX::ref() and LyX::cref.
2352         (lastfiles): new accessor functions for the new lastfiles_ member var.
2353         (addLyXView, views_): add a new LyXView to the list of views_.
2354         (updateInset): loop over all LyXViews to call their own updateInset
2355         member function, returning a pointer to the Buffer owning the inset.
2356
2357         * BufferView_pimpl.C (loadLyXFile):
2358         * MenuBackend.C (expandLastfiles):
2359         * bufferlist.C (MenuWrite, QuitLyX):
2360         lastfiles is no longer a global variable.
2361         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2362
2363         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2364         static function. Access through LyX::cref().emergencyCleanup().
2365
2366 2003-10-14  André Pönitz  <poenitz@gmx.net>
2367
2368         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2369
2370         * undo.[Ch]: restoring part of 'undo in insets'
2371
2372         * Makefile.am:
2373         * undo_funcs.[Ch]: merge with undo.[Ch]
2374
2375         * tabular.C: small cleansing stuff
2376
2377 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2378
2379         * paragraph_funcs.C (readParToken): report unknown insets as error
2380         boxes. Use the outer paragraph as location (also for unknown
2381         tokens).
2382
2383         * factory.C (readInset): do not abort on reading an unknown inset.
2384         Eat it and return 0.
2385
2386 2003-10-13  Angus Leeming  <leeming@lyx.org>
2387
2388         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2389
2390         * lyxrc.C: displayTranslator is now a function,
2391         declared in GraphicsTypes.h.
2392
2393 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2394
2395         * format.C: new placeholder $$a to pass the socket address.
2396
2397         * bufferlist.[Ch]: new function getBufferFromTmp.
2398
2399         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2400           files in the temporary dir.
2401
2402 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2403
2404         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2405
2406         * Makefile.am: add lyxsocket.[Ch].
2407
2408         * lyx_main.C (error_handler): handle SIGPIPE.
2409
2410 2003-10-13  André Pönitz  <poenitz@gmx.net>
2411
2412         * BufferView_pimpl.C:
2413         * lyxtext.h:
2414         * text.C:
2415         * text2.C:
2416         * text3.C:
2417         * undo_funcs.[Ch]: use paroffset_type instead of
2418           ParagraphList::iterators to prevent multiple conversion
2419           (and get a more robust interface)
2420
2421 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2422
2423         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2424         * lyxtext.h: ditto
2425         * text3.C (dispatch): ditto
2426
2427 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2428
2429         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2430         move the onlyfile, use onlyfile instead of foundfile in a couple
2431         of places.
2432
2433         * DepTable.C (update): flush the error stream a bit more
2434
2435 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * lyxserver.C (callback): adjust
2438
2439         * lyxfunc.C (getStatus): add a missing brace in commented code
2440         (ensureBufferClean): reindent
2441         (dispatch): delete version taking a string
2442
2443 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * LaTeX.C (deplog): move found file handlig from here...
2446         (handleFoundFile): .. to new function here.
2447         (deplog): make sure to discover several files mentioned on the
2448         same log line.
2449
2450 2003-10-10  André Pönitz  <poenitz@gmx.net>
2451
2452         * lyxfunc.C:
2453         * lyxtext.h:
2454         * tabular.C:
2455         * text.C:
2456         * text2.C:
2457         * text3.C: fix some of the tabular crashes
2458
2459 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2460
2461         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2462
2463         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2464
2465 2003-10-09  André Pönitz  <poenitz@gmx.net>
2466
2467         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2468
2469         * BufferView.C:
2470         * BufferView_pimpl.C:
2471         * bufferview_funcs.C:
2472         * lyx_cb.C:
2473         * lyxcursor.C:
2474         * lyxfind.C:
2475         * lyxfunc.C:
2476         * lyxtext.h:
2477         * text.C:
2478         * text2.C:
2479         * text3.C:
2480         * text_funcs.[Ch]:
2481         * textcursor.[Ch]:
2482         * undo_funcs.C: adjust
2483
2484 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * text2.C (incrementItemDepth): new function, use a backtracking
2487         algorithm to discover the correct item depth.
2488         (resetEnumCounterIfNeeded): new function, use a backtracking
2489         algorithm to discover if counter reset is needed.
2490         (setCounter): use them. Simplify a bit. Add different labels for
2491         different item depths for itemize.
2492
2493         * paragraph.C (Paragraph): remove initialization of enumdepth
2494         (operator=): ditto
2495
2496         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2497         enumerate and itemize. Change the type of itemdepth to signed char.
2498
2499 2003-10-08  André Pönitz  <poenitz@gmx.net>
2500
2501         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2502           thing assignable.
2503         * text.C:
2504         * text2.C: adjust
2505
2506         * tabular.[Ch]: fix crash after 'row-insert'
2507
2508 2003-10-08  Angus Leeming  <leeming@lyx.org>
2509
2510         Fix doxygen warnings.
2511
2512         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2513         Remove CutAndPaste:: prefix from header file declaration.
2514
2515         * LColor.h (fill): remove LColor:: prefix from declaration.
2516
2517         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2518         use lyx::depth_type rather than Paragraph::depth_type so that
2519         header file and .C file match.
2520
2521         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2522
2523         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2524         * aspell.C: \file aspell_local.C -> \file aspell.C
2525         * gettext.C: \file gettext.C -> \file src/gettext.C
2526         * gettext.h: \file gettext.h -> \file src/gettext.h
2527         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2528         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2529         * text.C: \file text.C -> \file src/text.C
2530
2531         * toc.C: move comment so that doxygen is not confused.
2532
2533 2003-10-07  Angus Leeming  <leeming@lyx.org>
2534
2535         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2536
2537 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2538
2539         * aspell.C:
2540         * aspell_local.h: add forgotten std::string's.
2541
2542 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2543
2544         * LaTeXFeatures.C:
2545         * LyXAction.C:
2546         * factory.C:
2547         * lfuns.h:
2548         * lyxfunc.C:
2549         * text3.C: The Box patch. Fancybox support, minipage, parbox
2550
2551 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2552
2553         * CutAndPaste.h:
2554         * DepTable.h:
2555         * FloatList.h:
2556         * LaTeXFeatures.h:
2557         * ParagraphParameters.h:
2558         * TextCache.h:
2559         * Thesaurus.h:
2560         * bufferlist.h:
2561         * exporter.h:
2562         * importer.h:
2563         * lastfiles.h:
2564         * lyxfind.h:
2565         * lyxfont.h:
2566         * lyxlex.h:
2567         * lyxtextclasslist.h:
2568         * messages.h:
2569         * paragraph.h:
2570         * paragraph_pimpl.C:
2571         * textcursor.h: add <string> and other small fixes to make Lars'
2572         std::string patch compile with STLport.
2573
2574 2003-10-06  Angus Leeming  <leeming@lyx.org>
2575
2576         * LColor.h: Add missing #include <string>.
2577
2578 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * All most all file in all subdirs: Make <string> be the prefered
2581         way of getting to std::string, add using declarations.
2582
2583 2003-10-06  André Pönitz  <poenitz@gmx.net>
2584
2585         * metricsinfo.C: initialize LyXFont before changing attribute.
2586         (fixes the 'math in \emph is upright' bug)
2587
2588 2003-10-06  André Pönitz  <poenitz@gmx.net>
2589
2590         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2591
2592 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * graph.C:
2595         * paragraph_pimpl.C: Small fixes to build using STLport
2596
2597 2003-10-02  André Pönitz  <poenitz@gmx.net>
2598
2599         * lyxfunc.C:
2600         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2601
2602 2003-10-01  André Pönitz  <poenitz@gmx.net>
2603
2604         * factory.C: assert early
2605
2606 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * lyx_main.C: remove the global debug object
2609
2610         * debug.h: adjust for new debugstream
2611
2612         * debug.C: adjust for new debugstream and keep the global debug
2613         object here.
2614
2615 2003-09-22  Angus Leeming  <leeming@lyx.org>
2616
2617         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2618         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2619         an incomplete class LyXFont.
2620
2621 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * factory.C: bug fix in branches
2624
2625 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * lyxfunc.C (processKeySym): adjust
2628         (dispatch): adjust
2629         (dispatch): change arg name from ev to func, adjust
2630         (sendDispatchMessage): ditto
2631
2632         * lyx_main.C (defaultKeyBindings): adjust keybindings
2633         (deadKeyBindings): ditto
2634
2635         * kbsequence.C (addkey): return a FuncRequest
2636
2637         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2638
2639         * kbmap.C (bind): take a FuncRequest as arg, adjust
2640         (read): adjust
2641         (lookup): adjust
2642         (defkey): change to take a FuncRequest as arg, adjust
2643         (findbinding): take a FuncRequest as arg, adjust.
2644
2645         * funcrequest.h (operator=): added
2646
2647         * funcrequest.C (FuncRequest): default kb_action changed from
2648         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2649
2650         * buffer.C (dispatch): simplify
2651         (dispatch): adjust to take a FuncRequest as arg, adjust
2652
2653         * boost.C (assertion_failed): change assertion message slightly
2654
2655         * ToolbarBackend.C (read): simplify
2656
2657         * MenuBackend.C (binding): adjust call to findbinding, add a
2658         message if no binding is found.
2659         (read): simplify
2660         (expandToc): correct by adding a empty FuncRequest
2661
2662         * LyXAction.C: include <boost/assert.hpp>
2663         (isPseudoAction): delete function
2664         (LookupFunc): change name to...
2665         (lookupFunc): this. change return type to FuncRequest.
2666         (getActionName): take kb_action as arg, simplify
2667         (funcHasFlag): add an assert, simplify.
2668
2669 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2670
2671         * toc.C (action): return a FuncRequest, simplify
2672
2673         * lyxfunc.C (processKeySym): adjust
2674         (getStatus): delete version that takes an int.
2675         (getStatus): adjust
2676         (dispatch): delete version that takes action as int
2677         (dispatch): adjust
2678         (sendDispatchMessage): simplify and adjust
2679
2680         * funcrequest.C (getArg): take unsigned int as arg
2681
2682         * ToolbarBackend.C (read): adjust
2683         (add): delete version that takes func as a string.
2684         (getIton): take a FuncRequest as arg
2685
2686         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2687         action.
2688
2689         * MenuBackend.C (MenuItem): add a new construct that only takes a
2690         Kind, simplify the constructor use for submenus.
2691         (add): adjust
2692         (expandLastfiles): adjust
2693         (expandDocuments): adjust
2694         (expandFormats): adjust
2695         (expandFloatListInsert): adjust
2696         (expandFloatInsert): adjust
2697         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2698
2699         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2700         Remove class variables lyx_pseudo_map and lyx_arg_map
2701
2702         * LyXAction.C (searchActionArg): delete function
2703         (getPseudoAction): delete function
2704         (retrieveActionArg): delete function
2705         (LookupFunc): make it return kb_action, simplify.
2706         (getActionName): simplify
2707
2708         * factory.C (createInset): fix new bug
2709
2710 2003-09-19  Angus Leeming  <leeming@lyx.org>
2711
2712         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2713         masterFilename_ parameter in the include inset.
2714
2715         * factory.C (createInset): changes due to the changes to InsetInclude.
2716
2717 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2718
2719         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2720
2721 2003-09-18  Angus Leeming  <leeming@lyx.org>
2722
2723         * buffer.C:
2724         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2725         Inset::fillWithBibKeys.
2726         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2727
2728 2003-09-18  Angus Leeming  <leeming@lyx.org>
2729
2730         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2731         variables.
2732         (ctor): pass and store a 'Buffer const &'
2733         (buffer): new member function.
2734
2735         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2736         '*this' to the LaTeXFeatures ctor.
2737
2738 2003-09-18  Angus Leeming  <leeming@lyx.org>
2739
2740         * LColor.h:
2741         * lyxfont.C:
2742         * lyxfont.h:
2743         * lyxtext.h:
2744         * text.C: rename EnumLColor as LColor_color.
2745
2746 2003-09-18  Angus Leeming  <leeming@lyx.org>
2747
2748         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2749         remove #include "insets/insetbase.h" from cursor.h.
2750
2751 2003-09-18  Angus Leeming  <leeming@lyx.org>
2752
2753         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2754         InsetOld_code to remove #include "inset.h".
2755
2756         * iterators.C: add #include "insets/inset.h"
2757
2758 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2759
2760         * BufferView.C: remove more locking stuff that apparently doesn't
2761         do anything sensible.
2762
2763 2003-09-16  André Pönitz  <poenitz@gmx.net>
2764
2765         * paragraph.[Ch]:
2766         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2767           performance boost.
2768
2769 2003-09-16  Angus Leeming  <leeming@lyx.org>
2770
2771         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2772
2773         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2774         arg/return type.
2775
2776         * paragraph.h: remove #include "lyxfont.h". Forward declare
2777         LyXFont_size.
2778
2779 2003-09-16  Angus Leeming  <leeming@lyx.org>
2780
2781         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2782         of support/textutils.h.
2783         (isWord): move the contents of support/textutils.h's IsWordChar here.
2784
2785         * buffer.C:
2786         * lyxfind.C:
2787         * rowpainter.C:
2788         * text.C:
2789         * text2.C: add #include "paragraph.h".
2790
2791         * rowpainter.C:
2792         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2793
2794 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * main.C:
2797         * lyx_main.C:
2798         * lyx_cb.C:
2799         * buffer.C:
2800         * LaTeX.C: use namespace alias for lyx::support::os
2801
2802 2003-09-16  Angus Leeming  <leeming@lyx.org>
2803
2804         * bufferparams.C:
2805         * bufferview_funcs.C:
2806         * factory.C:
2807         * lyxfunc.C:
2808         * paragraph_pimpl.C:
2809         * rowpainter.C:
2810         * text.C: add #include "LColor.h".
2811
2812 2003-09-16  Angus Leeming  <leeming@lyx.org>
2813
2814         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2815         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2816         return LyXFont &.
2817         Store the FontBits::color variable as an int rather than as an
2818         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2819         file.
2820
2821         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2822         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2823         string calls together.
2824
2825         * lyxrc.C: add #include "LColor.h".
2826
2827 2003-09-15  Angus Leeming  <leeming@lyx.org>
2828
2829         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2830         a cow_ptr.
2831
2832 2003-09-15  Angus Leeming  <leeming@lyx.org>
2833
2834         * LColor.h: add an EnumLColor wrapper for LColor::color.
2835
2836         * lyxfont.[Ch] (color, setColor, realColor):
2837         * lyxtext.h, text.C (backgroundColor):
2838         pass EnumLColor args to/from the functions, rather than LColor::color
2839         ones.
2840
2841         * lyxfont.h:
2842         * lyxtext.h: forward declare EnumLColor.
2843
2844         * lyx_main.C: add #include "LColor.h".
2845
2846 2003-09-15  Angus Leeming  <leeming@lyx.org>
2847
2848         * .cvsignore: add lyx-gtk.
2849
2850 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2851
2852         * Chktex.C
2853         * LaTeX.C
2854         * LaTeXFeatures.C
2855         * ParagraphParameters.C
2856         * Spacing.C
2857         * buffer.C
2858         * bufferparams.C
2859         * bufferview_funcs.C
2860         * chset.C
2861         * counters.C
2862         * funcrequest.C
2863         * lyxfont.C
2864         * lyxgluelength.C
2865         * lyxlength.C
2866         * paragraph.C
2867         * paragraph_funcs.C
2868         * text3.C
2869         * vc-backend.C: remove usage of STRCONV
2870
2871 2003-09-15  Angus Leeming  <leeming@lyx.org>
2872
2873         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2874         explicitly define the color passed to the painter.
2875
2876 2003-09-15  Angus Leeming  <leeming@lyx.org>
2877
2878         * bufferparams.C (BufferParams): reorder member initializers to avoid
2879         compiler warning.
2880
2881 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2882
2883         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2884         * text.C (updateRowPositions): remove an unusual nop
2885
2886 2003-09-12  André Pönitz  <poenitz@gmx.net>
2887
2888         * BufferView_pimpl.C:
2889         * Bullet.C:
2890         * layout.h:
2891         * lyxfunc.C:
2892         * lyxlayout.[Ch]:
2893         * lyxtextclass.C:
2894         * rowpainter.C:
2895         * text.C:
2896         * text2.C:
2897         * Counters.[Ch]: finish the 'automatic counters' job
2898
2899 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2900
2901         * aspell.C: include <boost/assert.cpp> (compile fix)
2902
2903 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2904
2905         * boost.C (assertion_failed): use lyx::support::abort instead of
2906         assert.
2907
2908 2003-09-10  Angus Leeming  <leeming@lyx.org>
2909
2910         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2911         with their _fwd progeny.
2912
2913 2003-09-09  Angus Leeming  <leeming@lyx.org>
2914
2915         134 files throughtout the source tree: replace 'using namespace abc;'
2916         directives with the appropriate 'using abc::xyz;' declarations.
2917
2918 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2919
2920         * boost.C (emergencyCleanup): moved here from LAssert.c
2921         (assertion_failed): new function, called by BOOST_ASSERT
2922
2923         * several files: change Assert to BOOST_ASSERT
2924
2925 2003-09-09  Angus Leeming  <leeming@lyx.org>
2926
2927         * buffer.[Ch]: Add an Impl class and move Buffer's member
2928         variables into it. As a result move several header files out of
2929         buffer.h.
2930
2931         Add header files to lots of .C files all over the tree as a result.
2932
2933 2003-09-09  Angus Leeming  <leeming@lyx.org>
2934
2935         * buffer.[Ch]: make Buffer's member variables private. Add
2936         accessor functions.
2937
2938         Lots of changes all over the tree as a result.
2939
2940 2003-09-08  Angus Leeming  <leeming@lyx.org>
2941
2942         * graph.C: #include <config.h>.
2943
2944 2003-09-08  Angus Leeming  <leeming@lyx.org>
2945
2946         * BranchList.C:
2947         * BufferView.C:
2948         * BufferView_pimpl.C:
2949         * CutAndPaste.C:
2950         * DepTable.C:
2951         * LaTeX.C:
2952         * LaTeXFeatures.C:
2953         * LyXAction.C:
2954         * MenuBackend.C:
2955         * TextCache.C:
2956         * aspell.C:
2957         * buffer.C:
2958         * bufferlist.C:
2959         * changes.C:
2960         * chset.C:
2961         * converter.C:
2962         * counters.C:
2963         * debug.C:
2964         * graph.C:
2965         * ispell.C:
2966         * lyx_cb.C:
2967         * lyxfind.C:
2968         * lyxfunc.C:
2969         * lyxlex_pimpl.C:
2970         * lyxrc.C:
2971         * lyxrow.C:
2972         * paragraph.C:
2973         * rowpainter.C:
2974         * texrow.C:
2975         * text.C:
2976         * text2.C:
2977         * toc.C: remove redundant using directives.
2978
2979 2003-09-07  Angus Leeming  <leeming@lyx.org>
2980
2981         * LaTeXFeatures.h: remove #include "support/types.h".
2982         * ToolbarBackend.h: remove #include <algorithm>.
2983         * changes.h: remove #include <ctime>.
2984         * debug.h: remove #include <iosfwd>.
2985         * graph.h: remove #include "support/std_string.h".
2986         * lyx_main.h: remove #include <csignal>.
2987         * lyxlex_pimpl.h: remove #include <fstream>.
2988         * sgml.h: remove #include <algorithm>, <utility>.
2989         * toc.h: remove #include "support/std_ostream.h".
2990         Add #include <iosfwd>.
2991
2992 2003-09-07  Angus Leeming  <leeming@lyx.org>
2993
2994         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2995
2996         * converter.h: forward declare LatexRunParams.
2997         * encoding.h: remove #include "lyxrc.h".
2998         * lyxtext.h: remove #include "LColor.h".
2999         * lyxtextclass.h: remove #include "support/types.h".
3000         * trans.h: remove #include "tex-accent.h".
3001         * trans_mgr.h: remove #include "tex-accent.h".
3002         * insets/inset.h: remove #include "support/types.h", <vector>.
3003         * insets/insetcollapsable.h: remove #include "LColor.h".
3004         * insets/insetinclude.h: remove #include "dimension.h".
3005         * insets/insetlatexaccent.h: remove #include "dimension.h".
3006         * insets/insetoptarg.h:: remove #include "insettext.h".
3007         * insets/insettext.h: remove #include "dimension.h",
3008         <boost/shared_ptr.hpp>
3009
3010         * insets/renderers.h: add #include "dimension.h".
3011         * insets/updatableinset.h: add #include "support/types.h".
3012
3013         * many .C files: Associated changes.
3014
3015 2003-09-06  Angus Leeming  <leeming@lyx.org>
3016
3017         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3018         one, inside testInvariant.
3019
3020         * PrinterParams.C: new file.
3021         * PrinterParams.[Ch]: move the function bodies out of line.
3022
3023 2003-09-06  Angus Leeming  <leeming@lyx.org>
3024
3025         * ParagraphParameters.h: forward declare ParameterStruct rather than
3026         including its header file.
3027         (depth): moved out-of-line.
3028
3029 2003-09-06  Angus Leeming  <leeming@lyx.org>
3030
3031         * BufferView_pimpl.h:
3032         * kbmap.h:
3033         * kbsequence.h:
3034         * lyxfunc.h: forward declare LyXKeySym rather than
3035         #include "frontends/LyXKeySym.h".
3036
3037         * BufferView_pimpl.C:
3038         * kbmap.C:
3039         * kbsequence.C:
3040         * lyxfunc.C: associated changes.
3041
3042 2003-09-06  Angus Leeming  <leeming@lyx.org>
3043
3044         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3045         As a result, can remove the #include "insets/inset.h" from BufferView.h
3046
3047 2003-09-06  Angus Leeming  <leeming@lyx.org>
3048
3049         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3050         As a result, can remove the #include "insets/inset.h" from BufferView.h
3051
3052 2003-09-06  Angus Leeming  <leeming@lyx.org>
3053
3054         * buffer_funcs.C:
3055         * buffer.h:
3056         * bufferlist.C:
3057         * BufferView.C:
3058         * bufferview_funcs.C:
3059         * BufferView_pimpl.C:
3060         * CutAndPaste.C:
3061         * lyx_cb.C:
3062         * lyxfunc.C:
3063         * paragraph.h:
3064         * ParagraphParameters.C:
3065         * tabular.C:
3066         * text3.C:
3067         * toc.C:
3068         * undo_funcs.C:
3069         * frontends/controllers/ControlDocument.C:
3070         * insets/insetcaption.C: rearrange the #includes into some sort of
3071         coherent order.
3072
3073         * buffer.h: remove #includes ErrorList.h, undo.h
3074
3075 2003-09-06  Angus Leeming  <leeming@lyx.org>
3076
3077         * support/types.h: add a 'depth_type' typedef, used to store the
3078         nesting depth of a paragraph.
3079
3080         * paragraph.h:
3081         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3082         defining explicitly.
3083
3084         * buffer.h:
3085         * paragraph_funcs.h:
3086         * ParagraphParameters.h:
3087         * sgml.h: use lyx::depth_type rather than Paragraph or
3088         ParameterStruct's depth_type.
3089
3090         * buffer.h
3091         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3092
3093         * BufferView.C:
3094         * BufferView_pimpl.C:
3095         * CutAndPaste.C:
3096         * ParagraphParameters.C:
3097         * buffer_funcs.C:
3098         * bufferlist.C:
3099         * bufferview_funcs.C:
3100         * lyx_cb.C:
3101         * lyxfunc.C:
3102         * tabular.C:
3103         * text3.C:
3104         * toc.C:
3105         * undo_funcs.C:
3106         * frontends/LyXView.C:
3107         * frontends/controllers/ControlDocument.C:
3108         * frontends/controllers/ControlErrorList.C:
3109         * insets/insetbibitem.C:
3110         * insets/insetbranch.C:
3111         * insets/insetcaption.C:
3112         * insets/insetcollapsable.C:
3113         * insets/insetenv.C:
3114         * insets/insetert.C:
3115         * insets/insetfloat.C:
3116         * insets/insetfoot.C:
3117         * insets/insetfootlike.C:
3118         * insets/insetnewline.C:
3119         * insets/insetquotes.C:
3120         * insets/insettabular.C:
3121         * insets/insettext.C:
3122         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3123
3124         * frontends/controllers/ControlChanges.C: #include "changes.h".
3125
3126 2003-09-06  Angus Leeming  <leeming@lyx.org>
3127
3128         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3129         than #including paragraph.h.
3130
3131         * ParagraphList.h:
3132         * RowList.h: deleted. Superfluous.
3133
3134         * CutAndPaste.h:
3135         * iterators.h:
3136         * lyxcursor.h:
3137         * lyxtext.h:
3138         * text_funcs.h:
3139         * undo.h:
3140         * undo_funcs.h:
3141         * insets/inset.h:
3142         * insets/insettext.h: use ParagraphList_fwd.h rather than
3143         ParagraphList.h.
3144
3145         * paragraph.h: don't forward declare ParagraphList.
3146
3147         * buffer.h:
3148         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3149         rather than ParagraphList.h. paragraph.h is still needed for the
3150         Paragraph::depth_type parameters.
3151
3152         * textcursor.h: enable it to compile stand-alone in light of the
3153         above changes.
3154
3155         * bufferview_funcs.C:
3156         * iterators.C:
3157         * lyxfunc.C:
3158         * lyxrow_funcs.C:
3159         * paragraph.C:
3160         * rowpainter.C:
3161         * text.C:
3162         * text2.C:
3163         * text3.C:
3164         * text_funcs.C:
3165         * textcursor.C:
3166         * undo.C:
3167         * frontends/controllers/ControlParagraph.C:
3168         * frontends/controllers/ControlTabular.C:
3169         * insets/insetmarginal.C:
3170         * insets/insetminipage.C:
3171         * insets/insetnote.C:
3172         * insets/insetoptarg.C: add header files needed to compile again.
3173
3174 2003-09-06  Angus Leeming  <leeming@lyx.org>
3175
3176         * RowList_fwd.h: new file, forward-declaring Row rather than
3177         #including lyxrow.h.
3178
3179         * lyxrow_funcs.h:
3180         * lyxtext.h:
3181         * paragraph.h:
3182         * insets/insettext.h: use it instead of RowList.h
3183
3184         * bufferview_funcs.C:
3185         * lyxfunc.C:
3186         * lyxrow_funcs.C:
3187         * paragraph.C:
3188         * rowpainter.C:
3189         * text.C:
3190         * text2.C:
3191         * text3.C: #include "RowList.h".
3192
3193 2003-09-05  Angus Leeming  <leeming@lyx.org>
3194
3195         * factory.C (createInset):
3196         * vspace.C (c-tor): replace sscanf call with an istringstream.
3197         * ispell.C: re-add missing HP/UX headers.
3198         * lyxserver.C: re-add missing  os2 headers.
3199
3200 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3201
3202         * BranchList.C:
3203         * graph.C:
3204         * ispell.C:
3205         * lastfiles.C:
3206         * lyx_cb.C:
3207         * lyxserver.C:
3208         * texrow.C:
3209         * text3.C: re-add missing system headers, needed for 2.95.2.
3210
3211 2003-09-05  Angus Leeming  <leeming@lyx.org>
3212
3213         Changes most place everywhere due to the removal of using directives
3214         from support/std_sstream.h.
3215
3216 2003-09-05  Angus Leeming  <leeming@lyx.org>
3217
3218         Replace LString.h with support/std_string.h,
3219         Lsstream.h with support/std_sstream.h,
3220         support/LIstream.h with support/std_istream.h,
3221         support/LOstream.h with support/std_ostream.h.
3222
3223         Changes resulting throughout the tree.
3224
3225 2003-09-05  Angus Leeming  <leeming@lyx.org>
3226
3227         * sgml.h: ensure that the header file can be compiled stand-alone.
3228         * *.C: strip out redundant #includes. (320 in total.)
3229
3230 2003-09-04  Angus Leeming  <leeming@lyx.org>
3231
3232         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3233         here (from getPackages).
3234
3235         * debug.[Ch]: add a new EXTERNAL tag.
3236
3237 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3238
3239         * text2.C (cursorEnd): simplify
3240         (setCursor): adjust
3241         (getColumnNearX): adjust
3242
3243         * text.C (computeBidiTables): adjust
3244         (fill): adjust
3245
3246         * rowpainter.C (paintChars): adjust
3247         (paintSelection): adjust
3248         (paintChangeBar): adjust
3249         (paintText): adjust
3250
3251         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3252         lastPos instead.
3253         (numberOfSeparators): adjust
3254
3255 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3256
3257         * LyXAction.C:
3258         * box.[Ch]:
3259         * lfuns.h:
3260         * lyxfunc.C:
3261         * text3.C: Restricts the mouse click functionality
3262         of insets like bibtex, include, toc and floatlist to the visible
3263         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3264         up the dialogs. Cursor has to be in front of the inset (i.e.
3265         start of row) for this to function.
3266
3267 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3268
3269         * bufferview_funcs.C (currentState): output row information
3270
3271 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3272
3273         * bufferview_funcs.C (currentState): output paragraph position
3274
3275 2003-09-04  Angus Leeming  <leeming@lyx.org>
3276
3277         * FloatList.h: move out #include "Floating.h".
3278         * LaTeX.h: move out #include "DepTable.h".
3279         * LyXAction.h: move out #include "funcrequest.h".
3280         * buffer.h: move out #include "author.h", "iterators.h".
3281         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3282         * lyx_main.h: move out #include "errorlist.h".
3283         * lyxfunc.h: move out #include "FuncStatus.h".
3284         * lyxtext: move out #include "lyxcursor.h".
3285         * paragraph_pimpl.h: move out #include "counters.h".
3286
3287 2003-09-03  Angus Leeming  <leeming@lyx.org>
3288
3289         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3290         preamble_snippets list, enabling us to add snippets to the preamble
3291         only if the snippet was not there already.
3292
3293 2003-09-04  Angus Leeming  <leeming@lyx.org>
3294
3295         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3296
3297 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3300         update
3301
3302 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3303
3304         * BranchList.C: point fix, earlier forgotten
3305
3306 2003-09-02  Angus Leeming  <leeming@lyx.org>
3307
3308         * box.C (contains): renamed from 'contained' after a fantastic
3309         amount of hot air.
3310
3311 2003-09-02  John Levon  <levon@movementarian.org>
3312
3313         * BufferView.C:
3314         * lyxcursor.h:
3315         * lyxcursor.C:
3316         * lyxfunc.C:
3317         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3318
3319 2003-09-02  John Levon  <levon@movementarian.org>
3320
3321         * text2.C: simplification of cursorEnd(), including partial
3322         fix for bug 1376
3323
3324 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * buffer.C (readFile): add a space
3327
3328 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3331
3332 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3333
3334         * buffer.C (readFile): new function, take a filename and a
3335         ParagraphList::iterator
3336         (readFile): adjust
3337         (readFile): adjust, make it private. don't use setStream, make
3338         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3339         always contain the filename.
3340
3341         * BufferView.C (insertLyXFile): simplify and make it work for
3342         gzipped files.
3343
3344 2003-08-30  John Levon  <levon@movementarian.org>
3345
3346         * Makefile.am: fix dist (from Kayvan)
3347
3348 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * most files: change to use const Buffer refs
3351
3352 2003-08-27  André Pönitz  <poenitz@gmx.net>
3353
3354         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3355         on top of ownerPar().
3356
3357 2003-08-27  John Levon  <levon@movementarian.org>
3358
3359         * funcrequest.C: properly initialise POD members
3360
3361 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3362
3363         * lyxtext.h (top_y): move top_y from here
3364         * text.C:
3365         * text2.C:
3366         * text3.C:
3367         * BufferView.[Ch]:
3368         * BufferView_pimpl.[Ch]: to here
3369         * frontends/screen.C:
3370         * insets/insettabular.C:
3371         * insets/insettext.C: adjust
3372         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3373
3374 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * BufferView.[Ch]:
3377         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3378
3379 2003-08-26  André Pönitz  <poenitz@gmx.net>
3380
3381         * paragraph_func.[Ch] (outerPar): new function
3382
3383         * paragraph.C:
3384         * paragraph_funcs.C:
3385         * paragraph_funcs.h:
3386         * paragraph_pimpl.C:
3387         * text2.C: remove Inset::par_owner
3388
3389 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3390
3391         * lyxrow_funcs.C:
3392         * lyxtext.h:
3393         * text.C:
3394         * text2.C: eliminates the needFullRow/display() stuff
3395         altogether, putting the logic in metrics/draw in the insets.
3396
3397 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3398
3399         * text2.C (redoParagraphInternal, redoParagraphs):
3400         * text.C (redoParagraph): add a call to updateRowPositions at the
3401         end of each 'metrics-like' call. Remove all others.
3402         (getRow): remove the 'y-computing' version.
3403         (getRowNearY): do not compute nor return the real y. Solve the
3404         'y < 0' problem and simplify.
3405
3406 2003-08-22  Angus Leeming  <leeming@lyx.org>
3407
3408         * *.[Ch]: clean-up of licence and author blurbs.
3409         Also move config.h out of a few .h files and into a few .C files.
3410
3411 2003-08-22  André Pönitz  <poenitz@gmx.net>
3412
3413         * lyxrow.[Ch]: add x_ and *fill_ members
3414
3415         * lyxtext.h:
3416         * text.C:
3417         * rowpainter.C:
3418         * text2.C: adjust/remove prepareToPrint() calls
3419
3420 2003-08-22  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxrow.[Ch]: add  end_ member
3423
3424         * lyxrow_funcs.C: use LyXRow::end_
3425
3426         * lyxtext.h (singleWidth): add LyXFont parameter
3427
3428         * rowpainter.C:
3429         * text2.C: adjust LyXText::singleWidth() calls
3430
3431         * text.C (redoParagraph): simplify row breaking logic
3432
3433
3434 2003-08-19  André Pönitz  <poenitz@gmx.net>
3435
3436         * funcrequest.C: initialize button_ member
3437
3438         * text3.C:
3439         * rowpainter.[Ch]: interface consolidation
3440
3441 2003-08-18  André Pönitz  <poenitz@gmx.net>
3442
3443         * BufferView.C:
3444         * BufferView_pimpl.C:
3445         * lyxfind.C:
3446         * paragraph_funcs.C:
3447         * rowpainter.C:
3448         * text3.C: remove LyXScreen::draw() and fitCursor calls
3449
3450         * BranchList.h: remove spurious semicolons
3451
3452         * MenuBackend.C: fix branchlist related crash
3453
3454 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3455
3456         * BranchList.[Ch]:
3457         * InsetList.[Ch]:
3458         * LColor.[Ch]:
3459         * LyXAction.C:
3460         * Makefile.am:
3461         * MenuBackend.[Ch]:
3462         * bufferparams.[Ch]:
3463         * factory.C:
3464         * lfuns.h:
3465         * lyxfunc.C:
3466         * text3.C: implements the 'branch inset'
3467         idea. This allows the output of various versions of a document
3468         from a single source version, selectively outputing or suppressing
3469         output of parts of the text.
3470         This implementation contains a 'branch list editor' in a separate
3471         tab of the document settings dialog. Branches are user definable
3472         and have a "display colour" to distinguish them on-screen.
3473
3474         ColorHandler was somewhat cleaned up.
3475         (1) make possible a dynamically growing LColor list by allowing
3476         the graphic context cache to grow along (vector);
3477         (2) eliminate an IMHO unnecessary step in colour allocation.
3478
3479 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3480
3481         * BufferView_pimpl.C: compile fix
3482
3483 2003-08-15  André Pönitz  <poenitz@gmx.net>
3484
3485         * rowpainter.C: remove extra metrics calls
3486
3487         * lyxtext.h: merge the two constructors into a single one,
3488           pass reference to owner's par list
3489
3490         * BufferView_pimpl.C:
3491         * text.C:
3492         * text2.C: adjust
3493
3494 2003-08-15  André Pönitz  <poenitz@gmx.net>
3495
3496         * lyxrow_funcs.[Ch]:
3497         * lyxtext.h:
3498         * paragraph.h:
3499         * paragraph_funcs.C:
3500         * rowpainter.C:
3501         * text.C:
3502         * text2.C:
3503         * text3.C:
3504         * text_funcs.C: split LyXText::rowlist_ into individual
3505         Paragraph::rows_ chunks
3506
3507         * BufferView.[Ch]:
3508         * BufferView_pimpl.[Ch]:
3509         * lyxfind.C:
3510         * lyxtext.h:
3511         * text3.C: remove toggleSelection()
3512
3513 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3514
3515         * bufferlist.C: beautify two alerts (shorter text of buttons)
3516         * buffer.C: Remove redundant ' ' from message
3517         * tabular.h:
3518         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3519         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3520         rename VALIGN_CENTER to VALIGN_MIDDLE
3521
3522 2003-08-11  André Pönitz  <poenitz@gmx.net>
3523
3524         * lyxtext.h (getPar):
3525         * text.C: new function
3526
3527 2003-08-11  André Pönitz  <poenitz@gmx.net>
3528
3529         * Makefile.am:
3530         * tracer.[Ch]: remove unneeded files
3531
3532         * InsetList.[Ch]: remove resizeInsetsLyXText()
3533
3534         * lyxtext.h:
3535         * text.C:
3536         * text2.C:
3537         * text3.C: merge insertParagraphs() and appendParagraph()
3538         remove breakAgain(), update()
3539
3540         * BufferView_pimpl.[Ch]:
3541         * bufferview_funcs.[Ch]:
3542         * lyxfunc.C:
3543         * paragraph.[Ch]:
3544         * rowpainter.C:
3545         * tabular.C: adjust after text & InsetList changes.
3546
3547 2003-08-08  André Pönitz  <poenitz@gmx.net>
3548
3549         * text.C (insertChar, backspace): replace rowlist fiddling
3550         with rebreak of full par
3551
3552         * lyxtext.h:
3553         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3554         checkParagraph, updateInset): removed
3555
3556 2003-08-07  André Pönitz  <poenitz@gmx.net>
3557
3558         * paragraph.C:
3559         * text3.C: merge some LFUN handlers, remove dead code
3560
3561 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3562
3563         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3564
3565 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * text2.C (DEPM): fix part of bug 1255 and 1256
3568
3569 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3570
3571         * BufferView_pimpl.C (workAreaDispatch): change to use
3572         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3573         that are no mouse related.
3574
3575 2003-08-05  André Pönitz  <poenitz@gmx.net>
3576
3577         * BufferView.[Ch]:
3578         * BufferView_pimpl.[Ch]:
3579         * bufferview_funcs.C:
3580         * text2.C:
3581         * text3.C: rip out "deep update"
3582
3583         * textcursor.[Ch] (last_sel_cursor): remove unused member
3584
3585 2003-08-04  André Pönitz  <poenitz@gmx.net>
3586
3587         * BufferView.[Ch]:
3588         * BufferView_pimpl.[Ch]:
3589         * ParagraphParameters.C:
3590         * bufferview_funcs.C:
3591         * lyx_cb.C:
3592         * lyxfind.C:
3593         * lyxfunc.C:
3594         * text.C:
3595         * text2.C:
3596         * text3.C: replace "complicated" BufferView::update(...) calls with
3597         simpler ones.
3598
3599         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3600
3601 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3602
3603         * Makefile.am (lyx_SOURCES): add paper.h
3604
3605 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3606
3607         * Makefile.am: move things around so that both lyx-qt and
3608         lyx-xforms can be built (according to --with-frontend). Then lyx
3609         is a symbolic link to lyx-[firstfrontend]
3610
3611 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3612
3613         * Always use std::endl with lyxerr
3614
3615 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3616
3617         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3618
3619 2003-08-01  André Pönitz  <poenitz@gmx.net>
3620
3621         * BufferView.[Ch]:
3622         * BufferView_pimpl.[Ch]:
3623         * lyxfunc.C:
3624         * text3.C: merge BufferView::repaint() and BufferView::update()
3625
3626 2003-08-01  José Matos  <jamatos@lyx.org>
3627
3628         * buffer.[Ch]: file_format is no longer a buffer data element.
3629
3630 2003-08-01  André Pönitz  <poenitz@gmx.net>
3631
3632         * BufferView.C:
3633         * lyxtext.h:
3634         * text.C:
3635         * text2.C: make redoParagraph more independent of current cursor
3636
3637         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3638         * text.C:
3639         * text2.C: remove unneeded members
3640
3641 2003-07-30  André Pönitz  <poenitz@gmx.net>
3642
3643         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3644
3645         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3646           create a single function...
3647
3648         * paragraph_funcs.C (moveItem): ... here.
3649
3650         * text.C:
3651           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3652
3653 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3654
3655         * LColor.[Ch]: Add comment and greyedout logical colors.
3656
3657 2003-07-30  André Pönitz  <poenitz@gmx.net>
3658
3659         * tabular.C: don't use Assert too heavily. This crashes where it
3660           shouldn't
3661
3662 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3665         is disabled (bug 1232)
3666
3667 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3668
3669         * factory.C: limited 'arg' scope
3670
3671 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3672
3673         * factory.C: fixed Note submenu issues
3674
3675 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3676
3677         * factory.C: submenu for Note/Comment/Greyedout
3678
3679 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3680
3681         * lyx_main.C (LyX):
3682         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3683
3684 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3685
3686         * LaTeXFeatures.C:
3687         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3688         greyedout. Patch provided by Jürgen Spitzmüller.
3689
3690 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3691
3692         * kbmap.C (read): fix error message when reading bind files
3693
3694 2003-07-29  Angus Leeming  <leeming@lyx.org>
3695
3696         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3697         certainly does not do what it purports to do. I am doing it, and
3698         us, a favour by killing it.
3699
3700 2003-07-28  José Matos  <jamatos@lyx.org>
3701
3702         * buffer.C (readBody, do_writeFile):
3703         * paragraph.C(readParagraph): \end_document replaces \the_end.
3704
3705 2003-07-29  André Pönitz  <poenitz@gmx.net>
3706
3707         * BufferView.[Ch]:
3708         * BufferView_pimpl.[Ch]:
3709         * lyxfunc.C:
3710         * text2.C:
3711         * text3.C:
3712         * textcursor.[Ch]: remove toggleToggle & Co
3713
3714 2003-07-28  José Matos  <jamatos@fep.up.pt>
3715
3716         * buffer.C (readParagraph):
3717         * params_func (readParToken, readParagraph):
3718         * paragraph.C (write): \layout -> \begin_layout.
3719
3720 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * lyxlex_pimpl.C (setFile): clean up slightly.
3723
3724         * bufferparams.h: add compressed var
3725
3726         * buffer_funcs.C (readFile): adjust for LyXLex change
3727         (newFile): ditto + simplify
3728
3729         * buffer.C (writeFile): handle writing of compressed files
3730
3731         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3732         Check if the file is compressed and set a bufferparm if so.
3733
3734         * Makefile.am (lyx_LDADD): remove explicit -lz
3735
3736 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3737
3738         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3739         makeDocBookFile): put the real LyX version in the first line of
3740         the file
3741
3742         * version.h:
3743         * version.C.in: remove lyx_docversion
3744
3745         * tabular.C (write_attribute): add a template-based version to
3746         write enums properly
3747
3748 2003-07-28  André Pönitz  <poenitz@gmx.net>
3749
3750         * lyxtext.h:
3751         * text.C:
3752         * text2.C:
3753         * text3.C: use doubles again for x-coordinates. They are needed.
3754
3755 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * messages.C (getLocaleDir): use lyx_localedir()
3758
3759         * lyxlex_pimpl.C (setFile): compress stuff
3760
3761         * buffer.C (writeFile): add some compression stuff
3762         (do_writeFile): new func, dont call expliti close... will this
3763         breake anything?
3764
3765         * Makefile.am (lyx_LDADD): add -lz
3766
3767 2003-07-28  José Matos  <jamatos@fep.up.pt>
3768
3769         * buffer.C: increment file format.
3770         * paragraph_funcs (readParagraph, readParToken):
3771         * paragraph.C (readParagraph): add \end_layout.
3772
3773 2003-07-27  Angus Leeming  <leeming@lyx.org>
3774
3775         * Makefile.am: remove special casing for configure-time setting of
3776         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3777
3778         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3779         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3780
3781 2003-07-26  André Pönitz  <poenitz@gmx.net>
3782
3783         * paragraph_func.[Ch]:
3784         * paragraph.C (realizeFont): inline it whereever it is used
3785
3786         * rowpainter.C:
3787         * text.C:
3788         * text2.C:
3789         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3790
3791
3792 2003-07-26  André Pönitz  <poenitz@gmx.net>
3793
3794         *       lyxtext.h:
3795         * text.C:
3796         * text2.C: get rid of LyXText::need_break_row
3797
3798 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3799
3800         * toc.[Ch]: put namespace toc inside namespace lyx
3801
3802         * MenuBackend.C (expandToc2): adjust for lyx::toc
3803         (expandToc): ditto
3804
3805         * lyxfunc.C (dispatch): adjust for lyx::find
3806
3807         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3808         lyx::find instead. Reorganize a bit.
3809         (LyXReplace): rename to replace
3810         (LyXFind): rename to find
3811
3812         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3813         (dispatch): ditto
3814
3815 2003-07-26  André Pönitz  <poenitz@gmx.net>
3816
3817         * text.C (setHeightOfRow): restrict scope of temporary variable
3818
3819         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3820           code (never has been used?)
3821
3822 2003-07-27  Asger Alstrup  <alstrup@local>
3823
3824         * text.C (fill): Optimise algorithm to exploit that we can reuse
3825         the LyXFont for many characters.
3826         (setHeightOfRow): Same thing.
3827         (rowBreakPoint): Same thing.
3828
3829 2003-07-26  Asger Alstrup  <alstrup@local>
3830
3831         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3832
3833         * text.C (singleWidth): Spurious font copying in hot-spot
3834         singleWidth avoided. Reorder tests for arabic for efficiency.
3835
3836         * text.C (fill): handle empty paragraphs better.
3837
3838 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3839
3840         * ispell.C:
3841         * encoding.h: add includes
3842
3843         * lyxrc.C: remove reading of bind files
3844
3845         * lyx_main.C (init): setup bindings and menus only if we have a
3846         gui.
3847
3848         * kbmap.C (read): new method. Do the actual reading of bind
3849         files.
3850
3851         * converter.C (dvipdfm_options):
3852         * bufferparams.C:
3853         * lyxrc.C (read):
3854         (output): adapt PAPER_* enums.
3855
3856         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3857
3858         * bufferparams.h: remove paper-related enums from there
3859
3860         * paper.h: New file. A trivial header file to hold paper-related
3861         enums. It should later expand to contain many paper-related
3862         horrors access.
3863
3864         * lyxrc.C: declare extern displayTranslator
3865
3866 2003-07-27  José Matos  <jamatos@fep.up.pt>
3867
3868         * tabular.[Ch] (linuxdoc): add support for tables and figures
3869         (linuxdoc).
3870
3871 2003-07-27  José Matos  <jamatos@fep.up.pt>
3872
3873         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3874         consistency in both functions.
3875         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3876
3877 2003-07-26  Asger Alstrup  <alstrup@local>
3878
3879         * rowpainter.C (paintRows): Change algorithm to work directly on
3880         the insets rather than asking every character in the document
3881         whether its an inset.
3882
3883 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3884
3885         * buffer.C (openFileWrite): factorize some code
3886
3887 2003-07-26  Angus Leeming  <leeming@lyx.org>
3888
3889         * lyx_cb.C:
3890         * lyx_main.[Ch]: replace occurances of system_tempdir with
3891         os::getTmpDir().
3892
3893 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * rename Inset to InsetOld
3896
3897 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3898
3899         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3900         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3901         which I think is a bit clearer. EDIT is gone, since it was
3902         premature optimisation, and broken for mathed anyway.
3903         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3904         with cursor positioning in insets as well (math insets still do not
3905         work, but that's a different story anyway.) It mysteriously
3906         crashes sometimes with undo in the first paragraph, but I'm fairly
3907         confident that this is a compiler bug.
3908
3909 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * paragraph.C (Paragraph): adjust for new clone return type
3912         (operator==): ditto
3913         (copyIntoMinibuffer): ditto
3914
3915 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3916
3917         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3918         by not having a special case, and always doing a full rebreak of
3919         the document after undo.
3920
3921 2003-07-23  Angus Leeming  <leeming@lyx.org>
3922
3923         * factory.C (createInset): InsetExternal::setParams now takes a
3924         Buffer const * arg.
3925
3926 2003-07-23  Angus Leeming  <leeming@lyx.org>
3927
3928         * factory.C (createInset): changed interface to the external and
3929         graphics mailers' string2params functions.
3930
3931 2003-07-23  Angus Leeming  <leeming@lyx.org>
3932
3933         * factory.C (createInset): pass a
3934         Buffer const * parameter to InsetExternalMailer's string2params.
3935
3936 2003-07-22  John Levon  <levon@movementarian.org>
3937
3938         * Thesaurus.h: include the right aiksaurus header
3939
3940 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3941
3942         * MenuBackend.C (expand): check menu shortcuts unconditionally
3943
3944 2003-07-21  Angus Leeming  <leeming@lyx.org>
3945
3946         * factory.C (createInset): pass a
3947         buffer_path parameter to InsetGraphicsMailer's string2params.
3948
3949 2003-07-21  Angus Leeming  <leeming@lyx.org>
3950
3951         * BufferView_pimpl.C (buffer):
3952         * buffer.C (d-tor):
3953         * lyx_main.C (LyX):
3954         * lyxfunc.C (dispatch):
3955         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3956         rather than the grfx shortcut.
3957
3958 2003-07-21  André Pönitz  <poenitz@gmx.net>
3959
3960         * rowpainter.C: remove unused variables
3961
3962         * tabular_funcs.C:
3963         * tabular_funcs.h: move to tabular.C
3964         * Makefile.am: adjust
3965
3966         * tabular.[Ch]: basic optical cleaning
3967
3968         * author.h: pass references, not values
3969
3970 2003-07-18  André Pönitz  <poenitz@gmx.net>
3971
3972         * lyxtext.h:
3973         * metricsinfo.C:
3974         * metricsinfo.h:
3975         * rowpainter.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C: two-phase drawing for InsetText and InsetTabular
3979         some float -> int changes.
3980
3981 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3982
3983         * lyx_main.C: fix the fix
3984
3985 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3986
3987         * lyx_main.C: fix a crash in batch mode if no files specified
3988         * converter.C: ws
3989
3990 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * format.[Ch] (papersize): moved to BufferParams
3993         * converter.[Ch] (dvips_options): moved to BufferParams
3994         (dvipdfm_options): moved to anon namespace
3995         * bufferparams.[Ch]: added above functions.
3996
3997 2003-07-17  André Pönitz  <poenitz@gmx.net>
3998
3999         * lyxtext.h:
4000         * rowpainter.C:
4001         * text2.C: don't call inset->update() anymore
4002
4003         * metricsinfo.[Ch]: add convenience constructor
4004
4005 2003-07-16  André Pönitz  <poenitz@gmx.net>
4006
4007         * lyxcursor.[Ch]:
4008         * lyxfunc.[Ch]:
4009         * text.C:
4010         * text2.C: replace the LyXCursor::irow_ member with
4011          on-demand computation of the value
4012
4013 2003-07-16  John Levon  <levon@movementarian.org>
4014
4015         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4016
4017 2003-07-15  André Pönitz  <poenitz@gmx.net>
4018
4019         * text.C:
4020         * text2.C: remove no more needed refresh_row
4021
4022 2003-07-15  André Pönitz  <poenitz@gmx.net>
4023
4024         * lyxtext.h:
4025         * rowpainter.C:
4026         * text2.C:
4027         * text3.C: refresh_status tristate -> need_update bool
4028
4029 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4030
4031         * lyxtext.h (init): remove reinit argument (act as if always true)
4032         * text2.C: adjust to that
4033
4034 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4035
4036         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4037         * text3.C: use it to delete selections in some cases
4038         (bugs 441, 673, 702, 954).
4039
4040 2003-07-14  André Pönitz  <poenitz@gmx.net>
4041
4042         * rowpainter.[Ch]: reduce interface
4043
4044 2003-07-14  André Pönitz  <poenitz@gmx.net>
4045
4046         * BufferView_pimpl.C:
4047         * text2.C: adjust after removing unused BufferView * argument
4048
4049 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4050
4051         * text2.C (init): fix a crash fired on resize
4052
4053 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * buffer.[Ch]: added new closing signal
4056         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4057         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4058         BufferView::Pimpl via the closing the signal
4059
4060 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * buffer.[Ch]: take out all bv-related from buffer
4063         * BufferView.C:
4064         * BufferView_pimpl.[Ch]: connect to new signals
4065         * CutAndPaste.C: removed useless asserts
4066         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4067         * lyxvc.[Ch]:
4068         * vc-backend.[Ch]:
4069         * lyxfunc.C: moved view-related funciontality from vc here
4070         * paragraph.C: removed outdated comments
4071         * text.C: ws
4072
4073 2003-07-10  André Pönitz  <poenitz@gmx.net>
4074
4075         * BufferView_pimpl.C:
4076         * tabular.h:
4077         * tabular_funcs.C:
4078         * text.C:
4079         * text2.C: remove InsetText::InnerCache, clean up consequences
4080
4081 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4082
4083         * ispell.C: fix two typos in error messages
4084
4085 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4086
4087         * Extend Note inset to other forms of annotation like Comment
4088         and Greyedout. Right button click gives dialog.
4089
4090         Files modified or added (+):
4091
4092         * insetnote.[Ch]
4093         * FormNote.[Ch]      +
4094         * ControlNote.[Ch]   +
4095         * form_note.fd       +
4096         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4097         frontends/controllers
4098         * xforms/Dialogs.C
4099         * factory.C
4100
4101 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4102
4103         * aspell.C: add missing namespace lyx::support
4104
4105 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4106
4107         * BufferView.[Ch] (newFile): Add
4108         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4109         * LaTeX.[Ch] (message): added this signal and use it
4110         * buffer.[Ch] (busy, message): added these signals and use them
4111         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4112         * converter.C:
4113         * exporter.C:
4114         * format.C:
4115         * importer.C: use buffer signals instead of direct bv calling
4116         * lyx_cb.[Ch] (ShowMessage): removed
4117         * lyx_main.C:
4118         * lyxfunc.C:
4119         * paragraph_funcs.C:
4120         * text2.C: use buffer signals
4121
4122 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4123
4124         * introduce namespace lyx::graphics
4125
4126 2003-07-02  André Pönitz  <poenitz@gmx.net>
4127
4128         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4129
4130 2003-07-01  André Pönitz  <poenitz@gmx.net>
4131
4132         * text.C:
4133         * text2.C:
4134         * text3.C:
4135         * text_funcs.[Ch]:
4136         * textcursor.h:
4137         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4138           text*.C to text_func.C
4139
4140 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * introduce namespace lyx::support
4143
4144 2003-06-30  André Pönitz  <poenitz@gmx.net>
4145
4146         * Chktex.C:
4147         * funcrequest.C:
4148         * lyxtext.h:
4149         * text.C: re-enable --with-included-string
4150
4151 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4152
4153         * textcursor.C: add <config.h>
4154
4155         * text.C (getWord): remove const from word_location arg
4156
4157         * lyxvc.C (getLogFile): fix const type order
4158
4159         * lyxtext.h: remove const from word_location arg, add arg name
4160
4161         * lyxlayout.h: currect type on labeltype.
4162
4163         * importer.C: correct \file
4164
4165         * converter.C (intToFormat): use std:: on ret val, ws changes
4166
4167         * bufferlist.h: correct \file
4168
4169         * buffer.C (makeLinuxDocFile): fix const type order
4170         (makeDocBookFile): ditto
4171         (fillWithBibKeys): use std:: on stdlib args.
4172
4173         * CutAndPaste.C: fix authors.
4174         (availableSelections): use std:: on return vector
4175
4176 2003-06-27  André Pönitz  <poenitz@gmx.net>
4177
4178         * BufferView_pimpl.C:
4179         * bufferview_funcs.C:
4180         * lyxcursor.C:
4181         * lyxcursor.h:
4182         * lyxfunc.C:
4183         * lyxtext.h:
4184         * rowpainter.C:
4185         * text.C:
4186         * text2.C:
4187         * text3.C: remove LyXCursor::row_ member
4188
4189         * lyxtext.h:
4190         * text.C: rename fullRebreak() to partialRebreak() and implement
4191           a fullRebreak() that really bereks fully
4192
4193         * textcursor.h: new struct for cursor-related data
4194
4195 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4196
4197         * lyx_main.C (LyX): get full path of document loaded on the
4198         command line
4199
4200 2003-06-26  André Pönitz  <poenitz@gmx.net>
4201
4202         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4203           remove unused/broken operator>,<,>=.
4204
4205         *       text.C: remove only use of broken operator<= in an Assert().
4206
4207 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4210         moved errorlist_.clear to showErrorList
4211
4212 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4213
4214         * converter.C (scanLog, runLaTeX):
4215         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4216         move the bv->showErrorList call to the callers
4217         * lyxfunc.C: i.e. here...
4218         * text2.C: and here
4219         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4220         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4221         namespace, the second to...
4222         * buffer_funcs (BufferFormat, parseErrors): added
4223         * errorlist.C (ErrorList(TeXErrors const &)): removed
4224
4225 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4226
4227         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4228
4229 2003-06-24  "Garst R. Reese" <reese@isn.net>
4230
4231         * debug.C: fix typo
4232
4233 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4234
4235         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4236
4237         * version.C.in: change docversion to 1.4
4238
4239 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * buffer.C: fix a bug just introduced
4242
4243 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * buffer.[Ch]: added the parseError signal and use it, removed
4246         sgmlError
4247         * BufferView.[Ch] (addError): moved to ...
4248         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4249         to the Buffer::parseError signal to catch (guess what) parse errors
4250         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4251
4252 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4253
4254         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4255         ability to create a buffer and to return an existing one from
4256         the list. Moved these functions to...
4257         * buffer_funcs.[Ch]: added
4258         * BufferView.[Ch] (loadLyXFile): added
4259         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4260         job removed from bufferlist::loadLyXFile.
4261         * buffer.C (setReadOnly): make it work without view
4262         (i.e added an if (users))
4263
4264 2003-06-19  Angus Leeming  <leeming@lyx.org>
4265
4266         * lfuns.h:
4267         * LyXAction.C (init):
4268         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4269         with LFUN_DIALOG_SHOW <name> <data>.
4270
4271 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4272
4273         * CutAndPaste.C (availableSelections): small compilation fix for
4274         ancient (gcc 2.9x) compilers
4275
4276 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * text3.C (cursorNext): add tmp var
4279
4280         * text2.C (updateCounters): for function calling out of for clause
4281         (replaceSelectionWithString): ditto
4282         (insertStringAsParagraphs): ditto
4283         (getColumnNearX): add tmp var
4284         (setCursorFromCoordinates): add tmp var
4285         (cursorDownParagraph): add tmp var
4286         (deleteEmptyParagraphMechanism): add tmp var
4287
4288         * text.C (insertChar): add tmp var
4289
4290         * rowpainter.C (paintDepthBar): add tmp var
4291
4292         * CutAndPaste.C (availableSelections): potentially check all
4293         paragraphs in a cut to fill the shown strings.
4294
4295 2003-06-18  André Pönitz  <poenitz@gmx.net>
4296
4297         * kbmap.[Ch]: use vector<> instead of list<>
4298
4299 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4300
4301         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4302         pasteSelection with index
4303
4304         * text2.C (pasteSelection): modify, call pasteSelection with index
4305
4306         * paragraph.C (asString): reimplement version with no interval to
4307         call the one with interval.
4308
4309         * lyxtext.h: add index arg to pasteSelection
4310
4311         * MenuBackend.C (MenuItem): handle PasteRecent
4312         (Menu::read::Menutags): add md_pasterecent
4313         (read): handle it
4314         (expandPasteRecent): new function
4315         (expand): use it
4316
4317         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4318
4319         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4320         the limited stack
4321         (availableSelections): new function
4322
4323 2003-06-17  Angus Leeming  <leeming@lyx.org>
4324
4325         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4326
4327 2003-06-17  Angus Leeming  <leeming@lyx.org>
4328
4329         * lfuns.h:
4330         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4331
4332         * lyxfunc.C (dispatch): invoke it.
4333
4334 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4335
4336         * iterators.C (operator++, ParPosition): reintroduce some
4337         const_cast for the benefit of older compilers.
4338
4339 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4340
4341         * text3.C (dispatch): do not modify clipboard when doing
4342         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4343         LFUN_DELETE_SKIP on a selection selection
4344
4345 2003-06-16  André Pönitz  <poenitz@gmx.net>
4346
4347         * BufferView.C:
4348         * buffer.C:
4349         * buffer.h:
4350         * paragraph.C:
4351         * tabular.[Ch]: IU of clone() and getLabelList();
4352
4353 2003-06-13  André Pönitz  <poenitz@gmx.net>
4354
4355         * tabular.h: compactification
4356
4357 2003-06-12  André Pönitz  <poenitz@gmx.net>
4358
4359         * tabular.C:
4360         * tabular.h:
4361         * tabular_funcs.h: some renaming plus whitespace
4362
4363 2003-06-12  André Pönitz  <poenitz@gmx.net>
4364
4365         * BufferView.C:
4366         * BufferView_pimpl.C:
4367         * CutAndPaste.C:
4368         * buffer.C:
4369         * iterators.[Ch]:
4370         * lyxfunc.C:
4371         * text.C:
4372         * toc.C: Return a Paragraph & for ParIterator::operator*()
4373
4374 2003-06-11  John Levon  <levon@movementarian.org>
4375
4376         * lyx_main.C:
4377         * ToolbarBackend.h:
4378         * ToolbarBackend.C: add "Toolbars" section and
4379         put the flags there
4380
4381 2003-06-10  Angus Leeming  <leeming@lyx.org>
4382
4383         * lfuns.h:
4384         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4385
4386         * lyxfunc.C (dispatch): invoke it.
4387
4388 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * main.C: protect <ios> with HAVE_IOS
4391         (main): protect sync_with_stdio with HAVE_IOS
4392
4393 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4394
4395         * text2.C (cutSelection): adjust
4396         (pasteSelection): adjust
4397
4398         * messages.C: handle get of empty string
4399
4400         * main.C (main): use sync_with_stdio(false)
4401
4402         * lyxfunc.C (dispatch): adjust
4403
4404         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4405         (WriteAs): remove unneeded BufferView arg.
4406
4407         * bufferparams.h: use correct types on papersize, papersize2 and
4408         paperpackage.
4409
4410         * bufferparams.C (readToken): adjust for type
4411         (writeLaTeX): add missing cases to switch.
4412
4413         * bufferlist.C (quitWriteBuffer): adjust
4414         (close): adjust
4415
4416         * buffer.C (asciiParagraph): remove some commented code.
4417
4418         * CutAndPaste.C: remove current_view extern variable.
4419         (cutSelection): add BufferParams arg.
4420         (eraseSelection): add BufferParams arg.
4421         (pasteSelection): add Buffer const & arg
4422
4423 2003-06-07  John Levon  <levon@movementarian.org>
4424
4425         * buffer.C:
4426         * paragraph_funcs.C:
4427         * paragraph_pimpl.C:
4428         * text.C:
4429         * text2.C:
4430         * paragraph.h:
4431         * paragraph.C: allow InsetERT to freely space lines,
4432         and some consolidation of code
4433
4434 2003-06-06  José Matos  <jamatos@fep.up.pt>
4435
4436         * buffer.C (makeDocBookFile): fix bug #821
4437
4438 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4441
4442 2003-06-04  Angus Leeming  <leeming@lyx.org>
4443
4444         * buffer.C: bump format to 224.
4445
4446 2003-06-05  André Pönitz  <poenitz@gmx.net>
4447
4448         * text2.C (redoParagraphs): remove two const_cast<>
4449
4450 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4451
4452         * ParagraphList.h: remove last remnants of NO_STD_LIST
4453
4454 2003-06-03  Angus Leeming  <leeming@lyx.org>
4455
4456         * factory.C (createInset): small change to the way InsetExternal's params
4457         are set.
4458
4459 2003-06-04  André Pönitz  <poenitz@gmx.net>
4460
4461         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4462
4463         * paragraph_pimpl.h:
4464         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4465
4466         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4467
4468         * undo_funcs.C: make some simple cases of undo work again
4469
4470 2003-06-03  John Levon  <levon@movementarian.org>
4471
4472         * ispell.C: HPUX doesn't have sys/select.h
4473         (from Albert Chin)
4474
4475 2003-06-03  John Levon  <levon@movementarian.org>
4476
4477         * CutAndPaste.C: update tabular and include inset
4478         buffer references
4479
4480         * buffer.h:
4481         * paragraph.h:
4482         * paragraph.C: remove owningBuffer(), don't pass Buffer
4483         to clone()
4484
4485         * factory.C: insetGraphicsParams changed
4486
4487 2003-06-02  John Levon  <levon@movementarian.org>
4488
4489         * LyXAction.C:
4490         * factory.C:
4491         * lfuns.h:
4492         * lyxfunc.C:
4493         * text3.C: remove insetparent
4494
4495 2003-06-02  John Levon  <levon@movementarian.org>
4496
4497         * buffer.h:
4498         * buffer.C: fix inset_iterator.end(), move out of line
4499         (bug 1149)
4500
4501 2003-06-01  John Levon  <levon@movementarian.org>
4502
4503         * text3.C: use a proper cut/paste when doing inset
4504         insert (from Jürgen Spitzmüller)
4505
4506 2003-06-01  John Levon  <levon@movementarian.org>
4507
4508         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4509
4510 2003-05-30  André Pönitz  <poenitz@gmx.net>
4511
4512         * rowpainter.C: unify second drawing phase
4513
4514 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * trans_mgr.C: remove one case of current_view
4517
4518         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4519
4520         * paragraph_funcs.h: remove paragraph.h include
4521
4522         * paragraph.h: delete NO_STD_LIST stuff
4523
4524         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4525
4526         * buffer.h: remove paragraph.h include
4527
4528         * ParagraphList.C: delete file
4529
4530         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4531
4532         * toc.C (getTocList): adjust
4533
4534         * paragraph_pimpl.C (validate): adjust
4535
4536         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4537
4538         * paragraph.C (Paragraph): adjust
4539         (getPositionOfInset): use const_iterator, adjust
4540         (bibitem): use const_iterator, adjust
4541         (setInsetOwner): adjust
4542
4543         * iterators.C (operator++): adjust
4544
4545         * InsetList.[Ch]: Replace selfmade iterator with standard
4546         vector::iterator also introduce const_iterator. Remove getPos,
4547         getInset and setInset from InsetTable. Adjust accordingly.
4548
4549         * BufferView.C (lockInset): adjust
4550         (ChangeInsets): adjust
4551
4552         * tabular.[Ch]: delete commented same_id functions
4553
4554 2003-05-28  John Levon  <levon@movementarian.org>
4555
4556         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4557
4558 2003-05-28  André Pönitz  <poenitz@gmx.net>
4559
4560         * metricsinfo.[Ch]: remove 'fullredraw' member
4561
4562 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4563
4564         * lyxtextclass.C (operator): remove caching.
4565
4566 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * text3.C: adjust
4569
4570         * text2.C (cursorBottom): adjust
4571         (setCounter): use ParagraphList::find, adjust
4572
4573         * text.C (workWidth): use ParagraphList::find, adjust
4574
4575         * lyxcursor.C (LyXCursor): adjust
4576
4577         * buffer.C (inset_iterator): adjust
4578
4579         * ParagraphList.h: make iterator(value_type) private, make
4580         ParagraphList a friend of iterator.
4581
4582         * ParagraphList.C (find): new function
4583
4584         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4585
4586 2003-05-27  André Pönitz  <poenitz@gmx.net>
4587
4588         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4589
4590 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4591
4592         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4593
4594 2003-05-26  John Levon  <levon@movementarian.org>
4595
4596         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4597
4598 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * remove same_id from function signatures, adjust.
4601
4602 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4605
4606         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4607
4608         * paragraph.C (Paragraph): get rid of same_ids parameter
4609
4610         * ParagraphList.C (insert): adjust
4611         (push_back): adjust
4612
4613 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * paragraph_funcs.C (breakParagraph): adjust
4616         (breakParagraphConservative): adjust
4617
4618         * buffer.C (readParagraph): adjust
4619
4620         * ParagraphList.C (insert): take a reference instead of a pointer
4621         (insert): adjust
4622
4623         * paragraph.[Ch] (id): new function
4624
4625         * bufferlist.C (newFile): adjust
4626
4627         * ParagraphList.C (ParagraphList): adjust
4628         (assign): adjust
4629         (push_back): take a reference instead of a pointer.
4630
4631         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4632
4633         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4634         instead.
4635
4636         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4637         set else use old code.
4638
4639         * ParagraphList.C: remove all NO_NEXT code and only compile this
4640         code of NO_STD_LIST is set.
4641
4642 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * BufferView_pimpl.C:
4645         * TextCache.C:
4646         * TextCache.h:
4647         * bufferlist.C:
4648         * errorlist.h:
4649         * format.C:
4650         * format.h:
4651         * graph.C:
4652         * lyxfunc.C:
4653         * lyxrc.C:
4654         * graphics/GraphicsConverter.C:
4655         * graphics/PreviewLoader.C: header adjustment
4656
4657 2003-05-23  Angus Leeming  <leeming@lyx.org>
4658
4659         * LaTeXFeatures.[Ch] (useBabel): new method.
4660         * bufferparams.C (writeLaTeX): use it.
4661
4662 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * ParagraphList.h (set): remove unused function.
4665
4666 2003-05-23  André Pönitz  <poenitz@gmx.net>
4667
4668         * BufferView.C:
4669         * BufferView_pimpl.C:
4670         * buffer.C:
4671         * buffer.h:
4672         * lyxfunc.C:
4673         * undo_funcs.C: setUndo reworked
4674
4675         * iterators.[Ch]: add access to topmost ParagraphList
4676
4677         * lyxtext.[Ch] (workWidth): add a const
4678
4679 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * texrow.[Ch] (increasePos): remove function
4682         * exporter.C (export): removed unused var and outdated comment
4683
4684 2003-05-23  Angus Leeming  <leeming@lyx.org>
4685
4686         * latexrunparams.h: rename fragile as moving_arg.
4687         * paragraph.C (simpleTeXOnePar): ditto.
4688         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4689
4690 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4691
4692         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4693         (createUndo): ditto
4694         (textUndoOrRedo): comment out a currently unused var.
4695
4696         * paragraph.h (NO_NEXT): enable NO_NEXT
4697
4698         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4699
4700         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4701
4702         * exporter.C (Export): adjust for removeAutoInsets removal.
4703
4704         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4705
4706         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4707
4708         * BufferView.[Ch] (removeAutoInsets): delete function
4709
4710 2003-05-22  Angus Leeming  <leeming@lyx.org>
4711
4712         * latexrunparams.h: add a free_spacing variable.
4713
4714         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4715         to pass moving_arg, as the data is stored in runparams.fragile.
4716
4717         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4718         to Inset::latexOptional or to simpleTeXOnePar.
4719
4720         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4721         free_spacing arg to Inset::latexOptional.
4722
4723         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4724         free_spacing arg.
4725
4726 2003-05-22  Angus Leeming  <leeming@lyx.org>
4727
4728         * latexrunparams.h: add fragile and use_babel variables.
4729
4730         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4731         * buffer.C (makeLaTeXFile): store this returned value in
4732         runparams.use_babel, thus passing it to the inset::latex methods.
4733
4734         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4735         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4736
4737         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4738         longer has a fragile arg, as it is stored in runparams.fragile.
4739
4740         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4741         moving_arg parameter as the data is stored in runparams.fragile.
4742
4743         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4744         a fragile parameter as the data is stored in runparams.fragile.
4745
4746 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4749
4750 2003-05-22  Angus Leeming  <leeming@lyx.org>
4751
4752         * latexrunparams.h: add a 'bool nice' which defaults to false.
4753
4754         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4755         now encapsulated within runparams.
4756
4757         * bufferlist.C (updateIncludedTeXfiles):
4758         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4759
4760 2003-05-22  Angus Leeming  <leeming@lyx.org>
4761
4762         * latexrunparams.h: new file containing struct LatexRunParams.
4763         * Makefile.am: add new file.
4764
4765         * LaTeX.[Ch] (c-tor, run):
4766         * buffer.[Ch] (makeLaTeXFile):
4767         * bufferlist.[Ch] (updateIncludedTeXfiles):
4768         * converter.C (convert, scanLog):
4769         * converter.[Ch] (runLaTeX):
4770         * exporter.C (Export):
4771         * paragraph.[Ch] (simpleTeXOnePar):
4772         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4773         * paragraph_funcs.[Ch] (latexParagraphs):
4774         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4775         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4776         pass around a LatexRunParams parameter.
4777
4778 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * paragraph.[Ch]: remove unused constructor
4781
4782         * ParagraphList.C (erase): new function, taking two iterators
4783
4784 2003-05-22  André Pönitz  <poenitz@gmx.net>
4785
4786         * undo_funcs.C: remove duplicated code
4787
4788         * iterator.[Ch]: operator=
4789
4790 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * tabular.C (SetMultiColumn): ws changes
4793
4794         * rowpainter.C (paintFirst): get rid of a ->previous
4795
4796         * lyx_cb.C (getPossibleLabel): parlist simplification
4797
4798         * BufferView.C (ChangeInsets): simplify slightly.
4799
4800 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4801
4802         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4803         * lfuns.h: new LFUN_SPACE
4804         * lyxfunc.C: protected space has a new lfun
4805         * paragraph_funcs.C: read new space insets
4806         * text3.C:
4807         * factory.C: handle new space insets
4808
4809 2003-05-22  André Pönitz  <poenitz@gmx.net>
4810
4811         * BufferView.C:
4812         * BufferView_pimpl.C:
4813         * buffer.[Ch]:
4814         * lyxfunc.C:
4815         * undo_funcs.C: return a ParIterator from getParFromID.
4816
4817         * iterators.[Ch]: add two const's
4818
4819 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * toc.C (getTocList): adjust
4822
4823         * iterators.[Ch]: rework for parlist
4824
4825         * buffer.C (par_iterator_begin): adjust
4826         (par_iterator_end): adjust
4827
4828         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4829
4830         * BufferView.C (removeAutoInsets): adjust
4831         (ChangeInsets): adjust
4832
4833 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * text.C (top_y): fix bug 1110
4836
4837 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * errorlist.[Ch]: added
4840         * buffer.C:
4841         * BufferView.[Ch]:
4842         * BufferView_pimpl.C:
4843         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4844         instead
4845
4846 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * Makefile.am: ensure that lyx is relinked upon changes to the
4849         various "convenience" libs.
4850
4851 2003-05-20  Angus Leeming  <leeming@lyx.org>
4852
4853         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4854         files are compiled in alphabetical order again.
4855
4856         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4857
4858 2003-05-19  Angus Leeming  <leeming@lyx.org>
4859
4860         * gettext.[Ch]: remove "char const * _(char const *)".
4861
4862 2003-05-19  André Pönitz  <poenitz@gmx.net>
4863
4864         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4865
4866         * Makefile.am:
4867         * BufferView.C:
4868         * DepTable.h:
4869         * LaTeXFeatures.C:
4870         * buffer.C:
4871         * lyxfont.C:
4872         * lyxlex.h:
4873         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4874
4875 2003-05-19  André Pönitz  <poenitz@gmx.net>
4876
4877         * buffer.C:
4878         * lyxlayout.[Ch]:
4879         * lyxtextclass.[Ch]:
4880         * paragraph.C:
4881         * paragraph_funcs.[Ch]:
4882         * text2.C:
4883         * text3.C: more insetenv work
4884
4885 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * ParagraphParameters.C (params2string): small bug fixed
4888
4889 2003-05-16  André Pönitz  <poenitz@gmx.net>
4890
4891         * debug.C:
4892         * bufferview_funcs.C: patch from Kornel Benko to prevent
4893           crash when _(...) is called twice in a statement
4894
4895 2003-05-16  André Pönitz  <poenitz@gmx.net>
4896
4897         * BufferView.C:
4898         * lyxfunc.C:
4899         * text.C:
4900         * text2.C:
4901         * text3.C:
4902         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4903
4904 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4905
4906         * lyx_main.C (init): remove spurious static_cast
4907
4908 2003-05-14  André Pönitz  <poenitz@gmx.net>
4909
4910         * BufferView.C: fix format string
4911
4912 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * BufferView.[Ch] (insertErrors): removed
4915         * BufferView.[Ch] (showErrorList): added
4916         * buffer.C (runChkTeX):
4917         * converter.C (scanLog): call showErrorList instead of inserterrors
4918
4919 2003-05-13  André Pönitz  <poenitz@gmx.net>
4920
4921         * BufferView_pimpl.C:
4922         * buffer.C:
4923         * bufferview_func.C:
4924         * MenuBackend.C:
4925         * lyxfunc.C:
4926         * lyxrc.C:
4927         * tex-accent.C:
4928         * text3.C:
4929         * toc.C:
4930         * tabular_funcs.h: tostr() from its own header
4931
4932         * ParagraphParameters.C:
4933         * ToolbarBackend.C:
4934         * bufferparams.C:
4935         * format.C:
4936         * lyxlex_pimpl.C:
4937         * text3.C: STRCONV()
4938
4939 2003-05-12  André Pönitz  <poenitz@gmx.net>
4940
4941         * BufferView.C:
4942         * BufferView_pimpl.C:
4943         * CutAndPaste.C:
4944         * LaTeX.C:
4945         * LaTeXFeatures.C:
4946         * ParagraphParameters.C:
4947         * buffer.C:
4948         * bufferlist.C:
4949         * bufferparams.C:
4950         * bufferview_funcs.C:
4951         * converter.C:
4952         * counters.C:
4953         * debug.C:
4954         * exporter.C:
4955         * format.C:
4956         * importer.C:
4957         * lyx_cb.C:
4958         * lyx_main.C:
4959         * lyxfont.C:
4960         * lyxfunc.C:
4961         * lyxvc.C:
4962         * paragraph.C:
4963         * paragraph_funcs.C:
4964         * tabular.C:
4965         * tabular_funcs.C:
4966         * text2.C:
4967         * text3.C:  boost::format -> bformat  all over the place
4968
4969
4970 2003-05-09  André Pönitz  <poenitz@gmx.net>
4971
4972         * LColor.[Ch]: Pimpl the #include <map> away
4973
4974 2003-05-09  John Levon  <levon@movementarian.org>
4975
4976         * bufferlist.C: never remove emergency saves
4977
4978 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * Makefile.am: better lib building
4981
4982 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4985         instead.
4986         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4987         (simpleTeXSpecialChars): adjust
4988         (simpleTeXSpecialChars): adjust
4989         * paragraph.C (simpleTeXOnePar): adjust
4990         * buffer.C (makeLaTeXFile): adjust
4991
4992         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4993
4994         * text2.C (changeDepth): parlist cleanup
4995         (getColumnNearX): ditto
4996
4997         * rowpainter.C (getLabelFont): parlist cleanup
4998
4999         * bufferlist.C (newFile): parlist cleanup
5000
5001         * CutAndPaste.C (eraseSelection): parlist cleanup
5002
5003         * BufferView_pimpl.C (trackChanges): parlist cleanup
5004         (dispatch): ditto
5005
5006         * BufferView.C (lockInset): parlist cleanup.
5007         (ChangeInsets): ditto
5008
5009 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * CutAndPaste.h: Update file header.
5012
5013         * CutAndPaste.C: Update file header.
5014         Store the parts cut out of the Document in a limited_stack.
5015         (copySelection): adjust
5016         (pasteSelection): new function, takes the index in the limited stack.
5017         (nrOfParagraphs): adjust
5018         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5019         simplify error inset insertion.
5020         (checkPastePossible): adjust
5021
5022 2003-05-06  John Levon  <levon@movementarian.org>
5023
5024         * text2.C: don't cast wrap inset to float
5025
5026 2003-05-05  André Pönitz  <poenitz@gmx.net>
5027
5028         * iterator.C:
5029         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5030
5031         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5032           few naked Paragraph *.
5033
5034 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5035
5036         * bufferparams.C: Output warning if a document with missing
5037         TeX document class is loaded
5038         * exporter.C: Disable TeX exports if the document class is missing
5039         * lyxtextclass.C:
5040         * lyxtextclass.h:
5041         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5042         isTeXClassAvailable()
5043
5044 2003-05-03  John Levon  <levon@movementarian.org>
5045
5046         * BufferView.h:
5047         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5048         explicit cursor show/hide
5049
5050         * BufferView_pimpl.h:
5051         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5052         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5053
5054         * lyxfunc.C: hide cursor before dispatching.
5055
5056         * lyx_cb.C:
5057         * lyxfind.C:
5058         * text.C:
5059         * text3.C: remove explicit cursor hides
5060
5061 2003-05-02  André Pönitz  <poenitz@gmx.net>
5062
5063         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5064
5065         * undo_funcs.C:
5066         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5067           linked lists
5068
5069         * text2.C: tiny whitespace
5070
5071 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * undo_funcs.C: almost only ws changes.
5074
5075         * ParagraphList.C (splice): just return if pl is empty.
5076
5077 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * ParagraphList.C (splice): new function.
5080
5081         * CutAndPaste.C (pasteSelection): use it
5082
5083 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * CutAndPaste.C (pasteSelection): remove the last next and
5086         previous from this file.
5087
5088 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * CutAndPaste.C (pasteSelection): more clean up, user proper
5091         ParagraphList functions for pasteing.
5092
5093         * ParagraphList.C (insert): new function, three arg insert
5094
5095 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * ParagraphList.C (insert): new function, three arg insert
5098
5099         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5100         not on paragraphs.
5101
5102 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5105
5106 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5109
5110 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5113         (copySelection): clean up a bit.
5114         (pasteSelection): use make_pair
5115
5116         * ParagraphList.C (ParagraphList): implement copy constructor
5117         (operator=): implement, base on copy constructor.
5118         (assign): new func
5119
5120         * paragraph.C (erase): return a bool
5121
5122         * paragraph_pimpl.C (erasePos): remove function, move contents...
5123         (erase): ... here. Return a bool.
5124         (erase): call erase instead of erasePos.
5125
5126 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * ParagraphList.h: define PitPosPair
5129         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5130         ParagraphList, fix a bug on pasting multiple pars
5131         * text2.C: change interface to C&P
5132
5133 2003-04-30  André Pönitz  <poenitz@gmx.net>
5134
5135         * undo_func.C: revert part of yesterday's patch 2
5136
5137 2003-04-30  John Levon  <levon@movementarian.org>
5138
5139         * LColor.C: s/tabular/table/
5140
5141 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * text3.C (dispatch): do not convert iterator -> pointer
5144         * undo_funcs.C (setCursorParUndo): ditto
5145         * text_funcs.C (transposeChars): ditto
5146
5147         * text2.C (setLayout): ws changes only
5148
5149         * text.C (breakParagraph): do not convert iterator -> pointer
5150         (insertChar): ditto
5151         (acceptChange): ditto
5152         (rejectChange): ditto
5153         (changeCase): ditto
5154         (Delete): ditto
5155         (backspace): ditto
5156
5157         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5158         pointer
5159
5160 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * text3.C (gotoInset): YABG (yet another bad getChar)
5163
5164 2003-04-29  André Pönitz  <poenitz@gmx.net>
5165
5166         * paragraph.h: make operator= private unimplemented as long as
5167           it is unusable
5168
5169         * ParagraphList.C: whitespace
5170
5171         * paragraph.[Ch]:
5172         * paragraph_pimpl.[Ch]:
5173         * paragraph_funcs.C:
5174         * CutAndPaste.C:
5175         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5176
5177         * text2.C:
5178           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5179
5180 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5183         * paragraph.[Ch] (erase):
5184         * paragraph_pimpl.[Ch] (erase): change return type and value
5185         * text2.C (cutSelection): some rework
5186
5187 2003-04-28  John Levon  <levon@movementarian.org>
5188
5189         * bufferlist.C: changes for unsaved changes dialog
5190
5191 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * bufferlist.C (newFile): set language (messages_) for new
5194         documents also.
5195
5196         * buffer.C (readFile): ws changes only.
5197
5198 2003-04-28  André Pönitz  <poenitz@gmx.net>
5199
5200         * undo_funcs.C:
5201         * lyxfunc.C:
5202         * buffer.[Ch]:
5203         * BufferView_pimpl.C:
5204         * BufferView.C: getParFromID related ParagraphList::iterator changes
5205
5206 2003-04-28  André Pönitz  <poenitz@gmx.net>
5207
5208         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5209           Changes
5210
5211 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * messages.C: remove one more localedir class variable.
5214
5215 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * messages.C (getLocaleDir): singleton generation function
5218         (Pimpl): use it.
5219         (Messages): add a default constructor.
5220
5221         * main.C (main): do not setup localedir here, do not call
5222         gettext_init.
5223
5224         * gettext.C (_): use it.
5225         (gettext_init): delete funciton
5226
5227 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * gettext.C (getLyXMessages): new singleton generating function.
5230
5231         * buffer.C (updateDocLang): adjust
5232
5233         * Makefile.am (messages.o): add target
5234         (main.o): remove target
5235
5236 2003-04-27  John Levon  <levon@movementarian.org>
5237
5238         * bufferlist.C:
5239         * lyx_cb.C:
5240         * lyxfunc.C:
5241         * lyxvc.C: specify cancel button in Alert::prompt
5242
5243 2003-04-26  John Levon  <levon@movementarian.org>
5244
5245         * text3.C:
5246         * lyxfunc.C:
5247         * lfuns.h:
5248         * LyXAction.C: add LFUN_INSET_SETTINGS
5249
5250         * lyxfunc.C: don't enable tabular-feature when there's
5251         just any locking inset
5252
5253 2003-04-26  John Levon  <levon@movementarian.org>
5254
5255         * bufferlist.C: re-add Cancel to buffer close question
5256
5257         * lyxfunc.C: fix import UI a bit
5258
5259 2003-04-25  John Levon  <levon@movementarian.org>
5260
5261         * gettext.C: remove the broken asserts for now
5262
5263 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * messages.C: make case where setlocale cannot comply work better.
5266
5267         * buffer.C (updateDocLang): new function
5268         (changeLanguage): use it
5269         (readFile): use it
5270
5271         * text2.C (setCounter): use B_ a bit.
5272
5273         * lyxlayout.C (Read): be sure to trim the label strings.
5274
5275         * messages.C (Messages): fix typo in comment
5276
5277         * buffer.C (readFile): set message_ after file is loaded.
5278         (makeDocBookFile): remove double return
5279         (changeLanguage): reset message_ upon language change.
5280         (B_): new func, use this to get translated buffer strings.
5281
5282         * main.C: add myself and Jean Marc as authors.
5283
5284 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * messages.[hC]: pimplify Messages, and three different pimpls to be
5287         used in different circumstances.
5288
5289         * gettext.[Ch]: change for use with new message code.
5290
5291 2003-04-24 André Pönitz <poenitz@gmx.net>
5292
5293         * factory.C: support for eqref
5294
5295 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * messages.[Ch]: add missing char
5298
5299         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5300
5301         * messages.[Ch]: New files
5302
5303 2003-04-18  John Levon  <levon@movementarian.org>
5304
5305         * BufferView.h:
5306         * BufferView.C:
5307         * BufferView_pimpl.C:
5308         * lfuns.h:
5309         * LyXAction.C:
5310         * lyxtext.h:
5311         * text2.C: remove layout-copy/paste (bug 778)
5312
5313 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5314
5315         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5316
5317 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5318
5319         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5320         if they succeed. Act accordingly.
5321
5322 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * text2.C (setCharFont): adjust
5325         (setCounter): adjust
5326         (insertStringAsLines): adjust
5327
5328         * text.C (leftMargin): adjust
5329         (setHeightOfRow): adjust
5330
5331         * rowpainter.C (paintFirst): adjust
5332         (paintLast): adjust
5333
5334         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5335         (outerHook): ditto
5336         (isFirstInSequence): ditto
5337         (getEndLabel): ditto
5338         (outerFont): adjust
5339
5340         * paragraph.C (getParLanguage): comment out some hard stuff.
5341
5342         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5343         (sgmlError): ditto
5344         (simpleDocBookOnePar): ditto
5345         (makeDocBookFile): use ParagraphList::iterator
5346
5347         * CutAndPaste.C (pasteSelection): adjust
5348
5349 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * text2.C (getFont): adjust
5352         (getLayoutFont): adjust
5353         (getLabelFont): adjust
5354
5355         * paragraph_funcs.C (TeXOnePar): adjust
5356
5357         * buffer.C (simpleLinuxDocOnePar): adjust
5358         (simpleDocBookOnePar): adjust
5359
5360         * CutAndPaste.C (pasteSelection): adjust
5361
5362         * BufferView.C (getEncoding): adjust
5363
5364         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5365
5366 2003-04-16  John Levon  <levon@movementarian.org>
5367
5368         * lyxfind.C: use parlist stuff for search/changes
5369
5370 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5373
5374         * text2.C (deleteEmptyParagraphMechanism): adjust
5375
5376         * text2.[Ch] (ownerParagraph): delete func (both of them
5377
5378 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5381
5382 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * ParagraphList.C: prepare for NO_NEXT
5385
5386 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * text2.C (getFont): adjust
5389         (getLayoutFont): adjust
5390         (getLabelFont): adjust
5391
5392         * paragraph.C (getFont): adjust
5393         (getLabelFont): adjust
5394         (getLayoutFont): adjust
5395
5396         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5397
5398 2003-04-15  John Levon  <levon@movementarian.org>
5399
5400         From Angus Leeming
5401
5402         * lyx_main.C: handle Include in .ui files
5403
5404 2003-04-15  John Levon  <levon@movementarian.org>
5405
5406         * MenuBackend.C: make the doc files length shorter
5407
5408         * ToolbarBackend.h:
5409         * ToolbarBackend.C: handle toolbar placement flags,
5410         Minibuffer
5411
5412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5415         adjust
5416
5417         * paragraph_funcs.C (TeXOnePar): adjust
5418
5419         * paragraph.C (getLabelFont): add outerfont arg, adjust
5420         (getLayoutFont): ditto
5421         (simpleTeXOnePar): adjust
5422
5423         * paragraph_pimpl.C (realizeFont): delete func
5424
5425 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5426
5427         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5428         row argument, constify cur argument.
5429
5430 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * text2.C (getFont): adjust
5433         (getLayoutFont): adjust
5434         (getLabelFont): adjust
5435
5436         * paragraph_funcs.C (TeXOnePar): adjust
5437         (outerFont): new func...
5438         (realizeFont): ...moved out from here, changed this to facilitate
5439         transition
5440
5441         * paragraph.C (getFont): take outerfont as arg, adjust
5442         (simpleTeXOnePar): add outerfont arg, adjust
5443
5444         * buffer.C (simpleLinuxDocOnePar): adjust
5445         (simpleDocBookOnePar): adjust
5446
5447         * CutAndPaste.C (pasteSelection): adjust
5448
5449         * BufferView.C (getEncoding): adjust
5450
5451 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * text2.C (setCharFont): adjust
5454         (setCounter): adjust
5455
5456         * text.C (leftMargin): adjust
5457         (setHeightOfRow): adjust
5458
5459         * rowpainter.C (paintFirst): adjust
5460         (paintLast): adjust
5461
5462         * paragraph_pimpl.C (realizeFont): adjust
5463
5464         * paragraph.C (isFirstInSequence): move from here...
5465         * paragraph_funcs.C (isFirstInSequence): ...to here
5466
5467         * paragraph.C (outerHook): move from here...
5468         * paragraph_funcs.C (outerHook): ...to here
5469
5470         * paragraph.C (depthHook): move from here...
5471         * paragraph_funcs.C (depthHook): ...to here
5472
5473         * paragraph.C (getEndLabel): move from here...
5474         * paragraph_funcs.C (getEndLabel): ...to here
5475
5476         * text2.C (realizeFont): move from here...
5477         * paragraph_funcs.C (realizeFont): ...to here
5478
5479 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5482
5483 2003-04-14  Angus Leeming  <leeming@lyx.org>
5484
5485         * LColor.[Ch]: scrap LColor mathcursor.
5486
5487 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * lyxlex.[Ch] (text): delete function
5490         * trans.C (Load): adjust
5491         * paragraph_funcs.C (readParToken): adjust
5492
5493 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5496         vector<char> instead of a char[].
5497
5498         * lyxlex_pimpl.C (getString): adjust
5499         (next): adjust
5500         (lex): use getString
5501         (eatLine): adjust
5502         (nextToken): adjust
5503
5504         * lyxlex.C (text): use pimpl_->getString()
5505         (getBool): ditto
5506         (findToken): ditto
5507
5508 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5511         (makeFontEntriesLayoutSpecific): temp var for par.size()
5512         (setLayout): temp var for ownerParagraphs().end()
5513         (fullRebreak): temp var for rows().end()
5514         (selectionAsString): temp var for boost::next(startpit), realize
5515         that the while really is a regular for loop.
5516         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5517         setCursor in one place.
5518         (setParagraph): temp vr for ownerParagraphs().end()
5519         (updateCounters): make the while loop a for loop
5520         (cutSelection): temp var for ownerParagraphs().end()
5521         (updateInset): make the do {} while() a regular for loop
5522         (getCursorX): use temp vars
5523         (setCurrentFont): use temp vars
5524         (getColumnNearX): use temp vars
5525
5526 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5527
5528         * text.C (transformChar): use temp var for getChar
5529         (computeBidiTables): use temp var for row->par()
5530         (fill): move temp vars for row->par() and pit->layout() earlier in
5531         the function.
5532         (labelFill): use temp var for row->par()
5533         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5534         asc and desc, realize that pit never changes and that firstpit is
5535         just a duplicate and not needed. Exchange rit->par() with pit in a
5536         lot of places.
5537         (breakAgain): use a temp var for boost::next(rit)
5538         (breakAgainOneRow): ditto
5539         (breakParagraph): use a temp var for rows().begin()
5540         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5541         (cursorRightOneWord): use temp var for cursor.par() and
5542         cursor.pos(), remove usage of tmpcursor.
5543         (cursorLeftOneWord): use temp var for cursor.par() and
5544         cursor.pos() only set cur at end of function.
5545
5546 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * text.C, text2.C: exchange all usage of Paragraph::next with
5549         boost::next(ParagraphList::iterator)
5550
5551         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5552
5553         * text2.C (cursorTop): simplify implementation
5554         (cursorBottom): ditto
5555         (setParagraph): use ParagraphList::iterator
5556         (setCurrentFont): adjust
5557         (getColumnNearX): adjust
5558         (cursorRight): adjust
5559         (cursorLeft): remove usage of Paragraph::previous
5560         (cursorUpParagraph): ditto
5561         (deleteEmptyParagraphMechanism): slight cleanup
5562
5563         * text.C (isBoundary): take a Paragraph const & instead of a
5564         pointer as arg.
5565         (addressBreakPoint): ditto
5566         (leftMargin): remove usage of Paragraph::previous.
5567         (setHeightOfRow): ditto
5568         (cursorLeftOneWord): ditto
5569         (selectNextWordToSpellcheck): ditto
5570         (Delete): ditto
5571         (backspace): ditto
5572         (breakParagraph): remove one usage of Paragraph::next
5573         (redoParagraph): ditto
5574         (acceptChange): ditto
5575         (insertChar): adjust
5576         (rowBreakPoint): adjust
5577
5578         * bufferview_funcs.C (toggleAndShow): adjust
5579
5580 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5583         methods to access it.
5584         * lyxtext.h:
5585         * text.C: Added updateRowPositions to compute all row positions.
5586         Make top_y and getRowNearY() to use the cached y position
5587
5588 2003-04-11  John Levon  <levon@movementarian.org>
5589
5590         * text.C (rowBreakPoint): reintroduce the labelEnd
5591         checks, code copied from the row fill stuff. Deep voodoo.
5592
5593         * text.C (fill): add a comment and debugging for the
5594         next poor soul.
5595
5596 2003-04-11  John Levon  <levon@movementarian.org>
5597
5598         * text.C: make sure fullrow insets get wrapped to the next line,
5599         even when they're in a manual label
5600
5601 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * text2.C (insertParagraph): make it take ParagraphList::iterator
5604         as arg.
5605         (setLayout): make it return ParagraphList::iterator
5606         (redoParagraphs): ditto
5607         (setCounter): ditto
5608         (checkParagraph): ditto
5609
5610         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5611
5612         * text2.C: adjust several funcs.
5613         (realizeFont): take a ParagraphList::iterator as arg.
5614         (getLayoutFont): ditto
5615         (getLabelFont): ditto
5616         (setCharFont): ditto
5617
5618         * text.C: adjust several funcs.
5619
5620 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * text.C (selectNextWordToSpellcheck): don't accidentally
5623         skip insets
5624
5625 2003-04-10  John Levon  <levon@movementarian.org>
5626
5627         * ToolbarBackend.C (getIcon): special handling for
5628         LFUN_MATH_DELIM
5629
5630 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * text2.C (cursorRight): a getChar assert fixed
5633
5634 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * text2.C (getFont): change to take a ParagraphList::iterator
5637         instead of Paragraph*
5638         Adjust several functions.
5639
5640         * text.C (transformChar): change to take a ParagraphList::iterator
5641         instead of Paragraph*
5642         (singleWidth): ditto
5643         Adjust several functions.
5644
5645         * rowpainter.C: adjust several functions
5646         * rowpainter.h:store a ParagraphList::iterator and not a
5647         Paragraph&.
5648
5649
5650 2003-04-09  John Levon  <levon@movementarian.org>
5651
5652         * lyxfunc.C:
5653         * lfuns.h:
5654         * LyXAction.h:
5655         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5656         and the "help" bits as well
5657
5658 2003-04-09  John Levon  <levon@movementarian.org>
5659
5660         * ToolbarBackend.h:
5661         * ToolbarBackend.C: allow multiple toolbars
5662
5663 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5664
5665         * undo_funcs.C (setCursorParUndo): adjust
5666
5667         * text_funcs.C (transposeChars): adjust
5668
5669         * text3.C (gotoNextInset): adjust
5670         (dispatch): adjust
5671
5672         * text2.C (setLayout): adjust
5673         (changeDepth): adjust
5674         (setFont): adjust
5675         (redoParagraphs): adjust
5676         (selectionAsString): adjust
5677         (setParagraph): adjust
5678         (insertInset): adjust
5679         (cutSelection): adjust
5680         (copySelection): adjust
5681         (pasteSelection): adjust
5682         (insertStringAsLines): adjust
5683         (updateInset): adjust
5684         (setCursor): change to take a ParagraphList::iterator parameter
5685         (setCursorIntern): change to take a ParagraphList::iterator parameter
5686         (setCurrentFont): adjust
5687         (cursorLeft): adjust
5688         (cursorRight): adjust
5689         (deleteEmptyParagraphMechanism): adjust
5690
5691         * text.C (breakParagraph): adjust
5692         (insertChar): adjust
5693         (acceptChange): adjust
5694         (rejectChange): adjust
5695         (selectNextWordToSpellcheck): adjust
5696         (changeCase): adjust
5697         (Delete): adjust
5698         (backspace): adjust
5699
5700         * lyxfind.C (SearchForward): adjust
5701         (SearchBackward): adjust
5702         (nextChange): adjust
5703
5704         * lyxcursor.C (par): adjust
5705
5706         * lyxcursor.h: store a ParagraphList::iterator instead of a
5707         Paragraph*
5708
5709         * lyx_cb.C (getPossibleLabel): adjust
5710
5711         * bufferview_funcs.C (toggleAndShow): adjust
5712
5713         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5714         (dispatch): adjust
5715
5716         * BufferView.C (removeAutoInsets): adjust
5717         (lockedInsetStoreUndo): adjust
5718
5719 2003-04-09  John Levon  <levon@movementarian.org>
5720
5721         * ToolbarBackend.C: try icon without argument
5722         if with argument fails
5723
5724 2003-04-08  John Levon  <levon@movementarian.org>
5725
5726         * ToolbarBackend.h:
5727         * ToolbarBackend.C: add getIcon(), handle tooltip,
5728         and change from "Icon" to "Item".
5729
5730 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5731
5732         * BufferView.C (lockInset): another bad getchar crunched
5733
5734 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5737         again)
5738
5739 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5740
5741         * lyxfind.C (searchForward, searchBackwards): bug 782
5742
5743 2003-04-07  John Levon  <levon@movementarian.org>
5744
5745         * paragraph.C: remove dead comment
5746
5747         * text.C: remove troublesome depth-fiddling code
5748         in leftMargin() and rightMargin() (bug 1017)
5749
5750         * text.C: fix breaking of rows in nested lists
5751         (bug 1004)
5752
5753         * text2.C (updateCounters): fix up depth values
5754         (bug 1013)
5755
5756 2003-04-07  John Levon  <levon@movementarian.org>
5757
5758         * BufferView_pimpl.C: clear message when doc finishes resizing,
5759         and after a mouse event
5760
5761         * lyxfunc.C: clear message after exiting inset
5762
5763 2003-04-07  John Levon  <levon@movementarian.org>
5764
5765         * bufferview_funcs.C: show math status not outside
5766         status in the statusbar
5767
5768 2003-04-07  John Levon  <levon@movementarian.org>
5769
5770         * lyxfunc.C: note status changed after a depth change
5771
5772 2003-04-04  Angus Leeming  <leeming@lyx.org>
5773
5774         * LaTeX.h: move AuxInfo operator==, != out of line.
5775         Remove LaTeX virtual destructor; nothing derives from it.
5776         Move operator()() out of public area and rename it startscript().
5777         Change protected for private.
5778
5779 2003-04-04  Angus Leeming  <leeming@lyx.org>
5780
5781         * lyxfunc.C:
5782         * text2.C: remove unneeded #includes.
5783
5784 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5785
5786         * text2.C (dEPM): fix the heigth of the next row
5787
5788 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5789
5790         * text.C: squashed an invalid getChar requester + some ws changes
5791
5792 2003-04-03  John Levon  <levon@movementarian.org>
5793
5794         * bufferview_funcs.h:
5795         * bufferview_funcs.C:
5796         * lyxfunc.C:
5797         * lyxtext.h:
5798         * text2.C: make getStatus work for the env depth lfuns
5799
5800 2003-04-03  John Levon  <levon@movementarian.org>
5801
5802         * bufferview_funcs.h:
5803         * bufferview_funcs.C:
5804         * lyxfunc.C:
5805         * lyxtext.h:
5806         * text2.C: parlistize decDepth(), by merging it with incDepth()
5807
5808 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * lyxrow.h: store a ParagraphList::iterator instead of a
5811         Paragraph* and adjust other class functions to suit.
5812
5813         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5814         above.
5815
5816 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * text2.C (setCursor): do not anchor to cursor row for the time being
5819
5820 2003-04-02  John Levon  <levon@movementarian.org>
5821
5822         * LyXAction.C:
5823         * lfuns.h:
5824         * lyx_main.C:
5825         * lyxtext.h:
5826         * text.C:
5827         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5828
5829 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * paragraph.h: make ParagraphList and ParagraphList::iterator
5832         friends of Paragraph.
5833
5834         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5835
5836         * ParagraphList.C: Use the private next_ and previous_ from
5837         Paragraph.
5838
5839 2003-04-01  John Levon  <levon@movementarian.org>
5840
5841         * ToolbarBackend.h:
5842         * ToolbarBackend.C:
5843         * Makefile.am: rename, remove defaults gunk
5844
5845         * MenuBackend.h:
5846         * MenuBackend.C: remove defaults gunk
5847
5848         * Languages.h:
5849         * Languages.C: remove defaults gunk
5850
5851         * lyx_main.h:
5852         * lyx_main.C: error out if files couldn't be found.
5853
5854 2003-04-02  John Levon  <levon@movementarian.org>
5855
5856         * text2.C: make incDepth() use parlist
5857
5858 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * undo_funcs.C (firstUndoParagraph): adjust
5861
5862         * text3.C (gotoInset): adjust
5863         (dispatch): adjust, and rewrite loop.
5864
5865         * text2.C (init): adjust, and rewrite loop.
5866         (redoParagraphs): adjust
5867         (updateInset): adjust, and rewrite loop.
5868         (deleteEmptyParagraphMechanism): adjust
5869
5870         * tabular.C (LyXTabular): adjust
5871         (SetMultiColumn): adjust
5872         (TeXRow): adjust
5873
5874         * lyxtext.[Ch] (ownerParagraph): delete function
5875         (ownerParagraphs): new function returns a ParagraphList.
5876
5877         * BufferView.C (removeAutoInsets): adjust
5878         (insertErrors): adjust
5879         (setCursorFromRow): adjust
5880
5881 2003-04-01  Angus Leeming  <leeming@lyx.org>
5882
5883         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5884         in the frontends.
5885
5886 2003-04-02  John Levon  <levon@movementarian.org>
5887
5888         * lyxtext.h:
5889         * text.C:
5890         * Makefile.am:
5891         * text_funcs.h:
5892         * text_funcs.C: make transposeChars a free function
5893
5894         * lyxrow_funcs.C: remove wrong comment
5895
5896 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * lyxtext.h: adjust
5899         * rowpainter.C: adjust
5900         * text.C: adjust
5901         * text2.C: adjust
5902         * text3.C: adjust
5903
5904         * lyxrow_funcs. [Ch]: new files
5905
5906         * lyxrow.[Ch]: remove next and previous pointers
5907         (next,previous): remove accessor functions
5908         (isParEnd): move to lyxrow_funcs
5909         (lastPos): move to lyxrow_funcs
5910         (nextRowIsAllInset): move to lyxrow_funcs
5911         (lastPrintablePos): move to lyxrow_funcs
5912         (numberOfSeparators): move to lyxrow_funcs
5913         (numberOfHfills): move to lyxrow_funcs
5914         (numberOfLabelHfills): move to lyxrow_funcs
5915         (hfillExpansion): move to lyxrow_funcs
5916
5917         * lyxfunc.C: adjust
5918
5919         * bufferview_funcs.C (toggleAndShow): adjust
5920
5921         * RowList.h: Remove class RowList from file leave just a
5922         std::list<Row>.
5923
5924         * RowList.C: delete file
5925
5926         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5927         and lyxrow_funcs.h
5928
5929 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * text3.C (cursorPrevious): adjust
5932         (cursorNext): adjust
5933         (dispatch): adjust
5934
5935         * text2.C (redoHeightOfParagraph): adjust
5936         (redoDrawingOfParagraph): adjust
5937         (setCursor): adjust
5938
5939         * text.C (breakParagraph): adjust
5940         (insertChar): adjust
5941         (backspace): adjust
5942
5943         * rowpainter.C (RowPainter): adjust
5944         (leftMargin): simplify and adjust
5945         (most rowpainter functions): adjust.
5946
5947         * rowpainter.h: store the row as RowList::iterator not as Row*
5948
5949         * lyxcursor.C (row): taka RowList::iterator as arg
5950         (irow): ditto
5951
5952         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5953         of Row*.
5954
5955 2003-04-01  Angus Leeming  <leeming@lyx.org>
5956
5957         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5958         stuff like bool Bool.
5959
5960 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5961
5962         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5963         rewrite a loop
5964
5965 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5968         RowList::iterator.
5969
5970         * lyxtext.h (rows): drop one version and leve a const variant that
5971         returns a RowList::iterator.
5972
5973 2003-03-31  Angus Leeming  <leeming@lyx.org>
5974
5975         * text.C (fill): ensure that the signature is the same as that in the
5976         header file.
5977
5978 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * text2.C (redoParagraphs): adjust
5981         (updateCounters): adjust
5982         (checkParagraph): adjust
5983         (getColumnNearX): adjust and reformat a bit.
5984
5985         * text.C (top_y): adjust
5986         (workWidth): adjust
5987         (leftMargin): adjust
5988         (prepareToPrint): adjust
5989         (getRow): adjust
5990         (getRowNearY): adjust
5991
5992         * lyxtext.h: make rowlist_ mutable.
5993
5994         * RowList.h: add const_iterator
5995         * RowList.C: adjust for RowList::const_iterator.
5996
5997         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5998         adjust.
5999
6000 2003-03-31  John Levon  <levon@movementarian.org>
6001
6002         * lyxrc.h:
6003         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6004
6005         * lyx_main.C: set default fonts from using lyx_gui funcs
6006
6007         * exporter.C: pdf_mode moved from lyxrc
6008
6009         * lyx_cb.C:
6010         * lyxfunc.C: changes from above
6011
6012 2003-03-31  John Levon  <levon@movementarian.org>
6013
6014         * lyx_main.C: fix to the last fix
6015
6016 2003-03-31  John Levon  <levon@movementarian.org>
6017
6018         * bufferlist.C: "Load original" -> "Load Original"
6019
6020         * converter.C:
6021         * exporter.C:
6022         * importer.C:
6023         * lyx_main.C:
6024         * format.C: more Alert cleanups
6025
6026 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * text2.C (removeParagraph): make it take a RowList::iterator as
6029         arg, adjust.
6030         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6031         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6032
6033         * text.C (anchor_row): make it take a RowList::iterator as arg,
6034         adjust.
6035         (computeBidiTables): make it take a const reference to Row instead
6036         of Row pointer, adjust.
6037         (leftMargin): make it take a RowList::iterator as arg, adjust.
6038         (rowBreakPoint): adjust
6039         (breakAgainOneRow): make it take a RowList::iterator as arg,
6040         adjust.
6041         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6042
6043         * bufferview_funcs.C (toggleAndShow): adjust
6044
6045 2003-03-30  John Levon  <levon@movementarian.org>
6046
6047         * Makefile.am:
6048         * BoostFormat.h:
6049         * boost-inst.C: moved to support
6050
6051         * several files: changes as a result
6052
6053 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * text2.C (LyXText): adjust.
6056         (init): adjust
6057         (removeRow): make it take a RowList::iterator as arg, adjust.
6058         (fullRebreak): adjust
6059         (deleteEmptyParagraphMechanism): adjust
6060         (clearPaint): adjust
6061         (postPaint): adjust
6062
6063         * text.C (top_y): adjust
6064         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6065         (breakAgain): make it take a RowList::iterator as arg, adjust.
6066         (breakParagraph): adjust
6067         (insertChar): adjust
6068         (backspace): adjust
6069
6070         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6071         need_break_row, and refresh_row.
6072
6073         * text3.C (dispatch): adjust
6074
6075         * text2.C (checkParagraph): adjust
6076         (setCursor): adjust
6077         (setCursorFromCoordinates): adjust
6078
6079         * text.C (top_y): adjust
6080         (workWidth): adjust
6081         (getRow): make it return a RowList::iterator, adjust
6082         (getRowNearY): make it return a RowList::iterator, adjust
6083
6084         * text2.C (init): adjust
6085         (insertRow): remove function
6086         (insertParagraph): adjust
6087         (redoParagraphs): adjust
6088         (fullRebreak): adjust
6089         (updateCounters): adjust
6090
6091         * text.C (top_y): rewrite to use RowList iterators.
6092         (top_y): adjust
6093         (setHeightOfRow): rewrite to sue RowList iterators.
6094         (appendParagraph): adjust
6095         (breakAgain): adjust
6096         (breakAgainOneRow): adjust
6097         (breakParagraph): adjust
6098         (getRow): adjust
6099         (getRowNearY): adjust, and remove commented code.
6100
6101         * lyxtext.h (firstRow): delete function
6102         (lastRow): delete function
6103         (rows): new function (const and non-const versions.)
6104         (insertRow): delete function
6105
6106         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6107
6108 2003-03-29  John Levon  <levon@movementarian.org>
6109
6110         * BufferView_pimpl.C: always update scrollbar top
6111         because pasting text when we're anchored could mean we
6112         miss an update altogether
6113
6114 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * text2.C (init): use rowlist_.end() and not 0.
6117         (insertRow): change to take a RowList::iterator as arg, adjust
6118         for this.
6119         (insertParagraph): change to take a RowList::iterator as arg,
6120         adjust for this.
6121         (redoParagraphs): remove some debug msgs.
6122
6123         * text.C (appendParagraph): change to take a RowList::iterator
6124         arg, adjust for this.
6125         (breakAgain): add an assert
6126         (breakAgainOneRow): ditto
6127
6128 2003-03-29  John Levon  <levon@movementarian.org>
6129
6130         * text2.C: do not clear selection after inc/decDepth
6131         (bug 550)
6132
6133 2003-03-29  John Levon  <levon@movementarian.org>
6134
6135         * BufferView.C:
6136         * buffer.C: fix broken strerrors according to Lars
6137
6138 2003-03-29  John Levon  <levon@movementarian.org>
6139
6140         * converters.C: more Alert cleanups
6141
6142 2003-03-29  John Levon  <levon@movementarian.org>
6143
6144         * bufferview_funcs.C: remove pointless Alert
6145
6146         * buffer.C: fix confusing error message when
6147         a template is chmoded 000
6148
6149 2003-03-29  John Levon  <levon@movementarian.org>
6150
6151         * BufferView.C:
6152         * BufferView.h:
6153         * BufferView_pimpl.C: Alert fixes
6154
6155         * Makefile.am:
6156         * tabular.C:
6157         * tabular-old.C: remove unused table compat reading
6158
6159 2003-03-29  John Levon  <levon@movementarian.org>
6160
6161         * BufferView.C:
6162         * buffer.C:
6163         * lyx_cb.h:
6164         * lyx_cb.C: more Alert cleanups
6165
6166         * lyxfunc.C: don't allow chktex if not latex document
6167
6168 2003-03-29  John Levon  <levon@movementarian.org>
6169
6170         * lyx_cb.C:
6171         * BufferView.C:
6172         * buffer.C: warnings pushed down from support/,
6173         kill err_alert
6174
6175 2003-03-29  John Levon  <levon@movementarian.org>
6176
6177         * lyxfunc.C: safety check for C-r (revert)
6178
6179 2003-03-29  John Levon  <levon@movementarian.org>
6180
6181         * bufferlist.h:
6182         * bufferlist.C: several UI fixes using Alert::prompt.
6183         Fix the pointless looping quit code. Fix stupid revert
6184         behaviour (bug 938)
6185
6186         * lyxvc.h:
6187         * lyxvc.C:
6188         * lyx_cb.C: use Alert::prompt
6189
6190         * lyx_main.C: remove a silly question
6191
6192         * lyxfunc.C: remove a couple of silly questions,
6193         use Alert::prompt
6194
6195 2003-03-28  John Levon  <levon@movementarian.org>
6196
6197         * text2.C: fix bug 974 (End on empty par)
6198
6199 2003-03-28  John Levon  <levon@movementarian.org>
6200
6201         * BufferView_pimpl.C:
6202         * LyXAction.C:
6203         * lfuns.h: remove do-nothing math greek lfuns
6204
6205 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * lyxgluelength.h (isValidGlueLength): add default arg on
6208         parameter 2. Remove default arg from friend in class.
6209
6210         * lyxlength.h (isValidLength): add default arg on parameter 2.
6211         Remove default arg from friend in class.
6212
6213         * text2.C (LyXText): adjust, initialize refresh_row.
6214         (init): adjust
6215         (removeRow): adjust
6216         (insertRow): adjust
6217         (insertParagraph): adjst
6218         (redoParagraphs): adjust
6219         (fullRebreak): adjust
6220         (updateCounters): adjust
6221         (deleteEmptyParagraphMechanism): first attempt at fixing a
6222         crashing bug.
6223
6224         * text.C (top_y): adjust
6225         (setHeightOfRow): adjust
6226         (getRow): adjust
6227         (getRowNearY): adjust
6228
6229         * lyxtext.h: include RowList.h
6230         (~LyXText): not needed anymore, deleted.
6231         (firstRow): modify for RowList
6232         (lastRow): new function
6233         Delete firstrow and lastrow class variables, add a Rowlist
6234         rowlist_ class variable.
6235
6236         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6237         paragraph is empty.
6238
6239         * RowList.C (insert): fix case where it == begin().
6240
6241 2003-03-26  Angus Leeming  <leeming@lyx.org>
6242
6243         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6244         the thesaurus dialog.
6245
6246 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6249
6250         * RowList.[Ch]: new files
6251
6252         * ParagraphList.C (erase): handle the case where it == begin
6253         correctly.
6254
6255 2003-03-25  John Levon  <levon@movementarian.org>
6256
6257         * Makefile.am:
6258         * aspell_local.h:
6259         * aspell.C: add new aspell support
6260
6261         * lyxrc.h:
6262         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6263         have it accessible.
6264
6265 2003-03-25  Angus Leeming  <leeming@lyx.org>
6266
6267         * lfuns.h:
6268         * LyXAction.C (init): new LFUN_INSET_INSERT.
6269
6270         * BufferView_pimpl.C (dispatch): split out part of the
6271         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6272
6273         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6274         LFUN_INSET_APPLY.
6275
6276 2003-03-25  Angus Leeming  <leeming@lyx.org>
6277
6278         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6279
6280 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6281
6282         * text2.C:
6283         * text3.C: remove useless row->height(0)
6284
6285 2003-03-25  John Levon  <levon@movementarian.org>
6286
6287         * lyxtext.h:
6288         * text2.C:
6289         * text3.C: rename the refreshing stuff to better names
6290
6291 2003-03-24  John Levon  <levon@movementarian.org>
6292
6293         * BufferView_pimpl.h:
6294         * BufferView_pimpl.C: update layout choice on a mouse
6295         press/release
6296
6297 2003-03-23  John Levon  <levon@movementarian.org>
6298
6299         * Makefile.am: fix commandtags.h reference
6300
6301 2003-03-22  John Levon  <levon@movementarian.org>
6302
6303         * BufferView_pimpl.C:
6304         * lyxtext.h:
6305         * rowpainter.C:
6306         * rowpainter.h:
6307         * text.C:
6308         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6309
6310 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6311
6312         * lyxtext.h:
6313         * text.C: take the rtl methods out of line
6314
6315 2003-03-21 André Pönitz <poenitz@gmx.net>
6316
6317         * metricsinfo.[Ch]: new files containing structures to be passed around
6318         during the two-phase-drawing...
6319
6320 2003-03-21 André Pönitz <poenitz@gmx.net>
6321
6322         * lyxtextclass.C: read 'environment' tag.
6323
6324 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6325
6326         * text2.C (removeRow): fix bug 964
6327
6328 2003-03-20  John Levon  <levon@movementarian.org>
6329
6330         * rowpainter.C:
6331         * text.C:
6332         * text2.C: paint cleanups. Inset::update() dropped font
6333         parameter
6334
6335 2003-03-19  John Levon  <levon@movementarian.org>
6336
6337         * lyxfunc.C: only fitcursor/markDirty if available()
6338
6339 2003-03-19  John Levon  <levon@movementarian.org>
6340
6341         * commandtags.h: rename to ...
6342
6343         * lfuns.h: ... this, and renumber / cleanup
6344
6345 2003-03-19  John Levon  <levon@movementarian.org>
6346
6347         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6348         fit the cursor after an lfun
6349
6350         * BufferView.h:
6351         * BufferView.C:
6352         * BufferView_pimpl.h:
6353         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6354
6355         * LyXAction.C: layout-character should have ReadOnly
6356
6357         * ParagraphParameters.C:
6358         * buffer.C:
6359         * bufferview_funcs.C:
6360         * lyx_cb.C:
6361         * lyxfind.C:
6362         * lyxtext.h:
6363         * text.C:
6364         * text2.C:
6365         * text3.C:
6366         * undo_funcs.C: changes from above
6367
6368 2003-03-18  John Levon  <levon@movementarian.org>
6369
6370         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6371         remove it from update()
6372
6373         * lyxfunc.C: update layout choice after an lfun
6374
6375         * text3.C: remove extra updateLayoutChoice()s
6376
6377 2003-03-18  John Levon  <levon@movementarian.org>
6378
6379         * text.C: top_y change means full repaint, fix
6380         a drawing bug with cursor movement
6381
6382 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * lyxtext.h:
6385         * text.C:
6386         * text2.C: anchor row on setCursor
6387
6388 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6389
6390         * lyxtext.h: remove almost all mutable keywords
6391         * text.C:
6392         * text2.C:
6393         * text3.C: remove const keywords accordingly
6394
6395 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6398         anon namespace
6399         (TeXEnvironment): ditto
6400         (TeXOnePar): ditto
6401
6402 2003-03-17  John Levon  <levon@movementarian.org>
6403
6404         * text.C (rowBreakPoint): remove attempt to fix displayed
6405         math insets inside a manual label
6406
6407 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * lyxtext.h: remove BufferView* as first arg from almost all class
6410         functions.
6411         * other files: adjust.
6412
6413 2003-03-17  John Levon  <levon@movementarian.org>
6414
6415         * lyxtext.h:
6416         * undo_funcs.C:
6417         * text2.C: more paint cleanups
6418
6419         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6420
6421         * rowpainter.h:
6422         * rowpainter.C: remove "smart" background painting code
6423
6424 2003-03-16  John Levon  <levon@movementarian.org>
6425
6426         * lyxtext.h:
6427         * text.C:
6428         * text2.C:
6429         * text3.C: add helper functions for setting refresh_row/y
6430
6431 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6432
6433         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6434         newline inset which *can* get inserted in the pass_thru layouts.
6435         This is primarily for literate documents.
6436
6437 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6438
6439         * buffer.C: increment LYX_FORMAT to 223
6440
6441 2003-03-14 André Pönitz <poenitz@gmx.net>
6442
6443         * textclass.h: prepare for environment handling, ws changes
6444         * lyxlayout.C: read latexheader and latexfooter tags
6445
6446 2003-03-14  John Levon  <levon@movementarian.org>
6447
6448         * text2.C: rewrite ::status() a bit
6449
6450 2003-03-13  John Levon  <levon@movementarian.org>
6451
6452         * lyxtext.h: add some docs
6453
6454 2003-03-13  John Levon  <levon@movementarian.org>
6455
6456         * lyxtext.h:
6457         * text.C:
6458         * text2.C:
6459         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6460
6461 2003-03-13  John Levon  <levon@movementarian.org>
6462
6463         * text3.C: fix appendix redrawing
6464
6465 2003-03-13  John Levon  <levon@movementarian.org>
6466
6467         * text.C (setHeightOfRow):
6468         * rowpainter.h:
6469         * rowpainter.C: make appendix mark have the text
6470           "Appendix" so the user knows what it is
6471
6472         * LColor.h:
6473         * LColor.C: s/appendixline/appendix/ from above
6474
6475 2003-03-13  John Levon  <levon@movementarian.org>
6476
6477         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6478
6479         * text.C: fix a getChar(pos) bug properly
6480
6481 2003-03-13  Angus Leeming  <leeming@lyx.org>
6482
6483         * commandtags.h:
6484         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6485         Probably only temporary. Let's see how things pan out.
6486
6487         * BufferView.C (unlockInset):
6488         * BufferView_pimpl.C (fitCursor):
6489         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6490
6491         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6492         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6493
6494         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6495         new functions that convert ParagraphParameters to and from a string.
6496
6497         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6498         BufferView::Pimpl's dispatch.
6499         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6500
6501 2003-03-13 André Pönitz <poenitz@gmx.net>
6502
6503         * lyxfunc.C:
6504         * text3.C:
6505         * factory.C: make it aware of InsetEnv
6506
6507 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6508
6509         * text2.C (setCursor): never ask for one past last
6510         (setCursor): add some debugging messages.
6511
6512         * text.C (singleWidth): never ask for one past last
6513         (singleWidth): ditto
6514         (leftMargin): ditto
6515         (rightMargin): ditto
6516         (rowBreakPoint): ditto
6517         (setHeightOfRow): ditto
6518         (prepareToPrint): ditto
6519
6520         * rowpainter.C (paintBackground): never ask for one past last
6521         (paintText): never ask for one past last
6522
6523         * paragraph_pimpl.C (getChar): make the assert stricter, never
6524         allow the one past last pos to be taken
6525
6526         * paragraph.C (getChar): ws changes only
6527
6528         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6529         (numberOfSeparators): ditto
6530         (numberOfHfills): ditto
6531
6532 2003-03-12  John Levon  <levon@movementarian.org>
6533
6534         * author.h:
6535         * author.C:
6536         * bufferparams.h:
6537         * bufferparams.C:
6538         * paragraph_funcs.C: fix per-buffer authorlists
6539
6540 2003-03-12  John Levon  <levon@movementarian.org>
6541
6542         * text.C: fix newline in right address
6543
6544 2003-03-12  Angus Leeming  <leeming@lyx.org>
6545
6546         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6547         duplicate those in LyXFunc::dispatch.
6548
6549         * commandtags.h:
6550         * LyXAction.C:
6551         * ToolbarDefaults.C:
6552         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6553         Add LFUN_FONTFREE_UPDATE.
6554
6555         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6556         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6557
6558         * bufferview_func.[Ch]: several new functions to facilliate
6559         transfer of data to and from the character dialog.
6560
6561 2003-03-12  John Levon  <levon@movementarian.org>
6562
6563         * buffer.C:
6564         * paragraph.h:
6565         * paragraph.C:
6566         * paragraph_funcs.C:
6567         * paragraph_pimpl.C:
6568         * sgml.C:
6569         * tabular.C:
6570         * text.C:
6571         * text3.C: remove META_NEWLINE in favour of an inset
6572
6573         * rowpainter.h:
6574         * rowpainter.C: remove paintNewline (done by inset)
6575
6576 2003-03-12  John Levon  <levon@movementarian.org>
6577
6578         * paragraph_pimpl.C: complain about bad getChar()s
6579         for a while at least
6580
6581 2003-03-12  John Levon  <levon@movementarian.org>
6582
6583         * buffer.h:
6584         * buffer.C: move paragraph read into a separate function,
6585         a little renaming to reflect that.
6586
6587         * bufferparams.h:
6588         * bufferparams.C: remove the author_ids map, not necessary now
6589
6590         * factory.h:
6591         * factory.C: moved Buffer::readInset to here
6592
6593         * paragraph_funcs.h:
6594         * paragraph_funcs.C: readParagraph free function moved from
6595         buffer.C
6596
6597         * tabular.C: name change
6598
6599 2003-03-12  John Levon  <levon@movementarian.org>
6600
6601         * buffer.C:
6602         * ParagraphParameters.C: move par params input to
6603         a read() method
6604
6605         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6606         behave like a normal read from the stream wrt reading
6607         a line vs. a \\token
6608
6609 2003-03-12  John Levon  <levon@movementarian.org>
6610
6611         * paragraph.C:
6612         * ParagraphParameters.h:
6613         * ParagraphParameters.C: move output code to a
6614         ::write() method
6615
6616 2003-03-12  John Levon  <levon@movementarian.org>
6617
6618         * BufferView.C (insertLyXFile):
6619         * buffer.h:
6620         * buffer.C:
6621         * tabular.C: use a parlist iterator for creating the
6622           document.
6623
6624 2003-03-12  John Levon  <levon@movementarian.org>
6625
6626         * buffer.C: make current_change static local not
6627           static file-scope
6628
6629 2003-03-12  John Levon  <levon@movementarian.org>
6630
6631         * buffer.C: fix insertStringAsLines for change tracking
6632
6633 2003-03-12  John Levon  <levon@movementarian.org>
6634
6635         * BufferView.C:
6636         * tabular.C:
6637         * buffer.h:
6638         * buffer.C:
6639         * bufferparams.h:
6640         * bufferparams.C: move author list into params. Rename some
6641           functions. Move the header reading into a separate token
6642           loop. Move the header token reading into BufferParams.
6643
6644 2003-03-12  John Levon  <levon@movementarian.org>
6645
6646         * changes.C: put debug inside lyxerr.debugging() checks
6647
6648 2003-03-11 André Pönitz <poenitz@gmx.net>
6649
6650         * factory.C: make it aware of InsetHFill
6651
6652 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6653
6654         * buffer.C (latexParagraphs): move function from here...
6655         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6656         args.
6657
6658 2003-03-10  Angus Leeming  <leeming@lyx.org>
6659
6660         * LyXAction.C (init): fix bug in poplating array with multiple entries
6661         with the same LFUN (spotted by JMarc).
6662
6663 2003-03-10  John Levon  <levon@movementarian.org>
6664
6665         * text.C:
6666         * text2.C: move getColumnNearX() near its
6667         only call site
6668
6669 2003-03-10  John Levon  <levon@movementarian.org>
6670
6671         * text.C: fix break before a minipage
6672
6673 2003-03-10  John Levon  <levon@movementarian.org>
6674
6675         * text.C: fix the last commit
6676
6677 2003-03-09  John Levon  <levon@movementarian.org>
6678
6679         * lyxtext.h:
6680         * text.C:
6681         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6682         bug 365 (don't break before insets unless needed). Don't
6683         return a value > last under any circumstances.
6684
6685 2003-03-09  Angus Leeming  <leeming@lyx.org>
6686
6687         * BufferView_pimpl.C (trackChanges, dispatch): call
6688         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6689
6690 2003-03-09  Angus Leeming  <leeming@lyx.org>
6691
6692         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6693         than Dialogs::showAboutlyx().
6694
6695 2003-03-09  Angus Leeming  <leeming@lyx.org>
6696
6697         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6698         than Dialogs::showTabularCreate().
6699
6700 2003-03-09  John Levon  <levon@movementarian.org>
6701
6702         * lyxtext.h:
6703         * text.C:
6704         * text2.C: 3rd arg to nextBreakPoint was always the same.
6705           Use references.
6706
6707 2003-03-08  John Levon  <levon@movementarian.org>
6708
6709         * lyxrow.C:
6710         * paragraph.C:
6711         * paragraph.h:
6712         * rowpainter.C:
6713         * text.C:
6714         * text2.C: Remove the "main" bit from the "main body"
6715           notion.
6716
6717 2003-03-08  John Levon  <levon@movementarian.org>
6718
6719         * text.C (leftMargin): The left margin of an empty
6720         manual label paragraph should not include the label width
6721         string length.
6722
6723         * text.C (prepareToPrint): don't attempt to measure hfills
6724         for empty manual label paragraphs - the answer should be 0
6725
6726 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6727
6728         * CutAndPaste.C: remove commented code and reindent.
6729
6730 2003-03-08  John Levon  <levon@movementarian.org>
6731
6732         * lyxfunc.h:
6733         * lyxfunc.C: move reloadBuffer()
6734
6735         * BufferView.h:
6736         * BufferView.C: to here
6737
6738         * lyxvc.C: add comment
6739
6740         * vc-backend.h:
6741         * vc-backend.C: call bv->reload() to avoid
6742           getStatus() check on MENURELOAD
6743
6744 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6745
6746         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6747         to an old format .dep file.
6748
6749 2003-03-07  Angus Leeming  <leeming@lyx.org>
6750
6751         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6752         when the LFUN_MOUSE_RELEASE should have been handled by
6753         inset->localDispatch.
6754
6755 2003-03-07  Angus Leeming  <leeming@lyx.org>
6756
6757         * BufferView_pimpl.C (dispatch):
6758         * LyXAction.C (init):
6759         * ToolbarDefaults.C (init):
6760         * commandtags.h:
6761         * lyxfunc.C (getStatus):
6762         remove LFUN_INSET_GRAPHICS.
6763
6764         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6765
6766 2003-03-07  Angus Leeming  <leeming@lyx.org>
6767
6768         * commandtags.h:
6769         * LyXAction.C (init):
6770         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6771
6772         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6773
6774         * commandtags.h:
6775         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6776
6777         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6778         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6779
6780 2003-03-07  Angus Leeming  <leeming@lyx.org>
6781
6782         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6783         remove "ert".
6784
6785 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * ParagraphList.C (front): new function
6788         (back): implement
6789
6790 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6791
6792         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6793         and top_row_offset_. removed var first_y.
6794         * text.C (top_y):
6795         * text2.C (LyXText, removeRow):
6796         * text3.C:
6797         * BufferView_pimpl.C:
6798         use these methods instead of using first_y
6799
6800 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * text2.C (pasteSelection): adjust for checkPastePossible
6803
6804         * CutAndPaste.C: remove Paragraph * buf and replace with
6805         ParagraphList paragraphs.
6806         (DeleteBuffer): delete
6807         (cutSelection): change the tc type to textclass_type
6808         (copySelection): change the tc type to textclass_type
6809         (copySelection): adjust for ParagraphList
6810         (pasteSelection): change the tc type to textclass_type
6811         (pasteSelection): adjust for Paragraphlist
6812         (nrOfParagraphs): simplify for ParagraphList
6813         (checkPastePossible): simplify for ParagraphList
6814         (checkPastePossible): remove unused arg
6815
6816         * ParagraphList.C (insert): handle the case where there are no
6817         paragraphs yet.
6818
6819         * CutAndPaste.h: make CutAndPaste a namespace.
6820
6821         * text3.C (dispatch): adjust
6822
6823         * text.C (breakParagraph): add a ParagraphList as arg
6824
6825         * paragraph_funcs.C (breakParagraph): change to take a
6826         BufferParams and a ParagraphList as args.
6827         (breakParagraphConservative): ditto
6828         (mergeParagraph): ditto
6829         (TeXDeeper): add a ParagraphList arg
6830         (TeXEnvironment): ditto
6831         (TeXOnePar): ditto
6832
6833         * buffer.C (readLyXformat2): adjust
6834         (insertStringAsLines): adjust
6835         (latexParagraphs): adjust
6836
6837         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6838         (cutSelection): adjust
6839         (pasteSelection): adjust
6840
6841         * BufferView_pimpl.C (insertInset): adjust
6842
6843 2003-03-05  Angus Leeming  <leeming@lyx.org>
6844
6845         * commandtags.h:
6846         * LyXAction.C (init):
6847         * BufferView_pimpl.C (dispatch):
6848         * lyxfunc.C (getStatus):
6849         remove LFUN_CHILD_INSERT.
6850
6851         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6852
6853 2003-03-05  Angus Leeming  <leeming@lyx.org>
6854
6855         * commandtags.h:
6856         * LyXAction.C (init):
6857         * src/factory.C (createInset):
6858         * lyxfunc.C (getStatus):
6859         * text3.C (dispatch):
6860         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6861
6862         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6863
6864 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * ParagraphList.C (insert): handle insert right before end()
6867         (erase): fix cases where it can be first or last paragraph.
6868
6869 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6872         Paragraph::next and Paragraph::previous
6873         (TeXOnePar): ditto
6874
6875         * text.C (breakParagraph): adjust
6876
6877         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6878         BufferParams& as arg.
6879         (breakParagraph): use ParagraphList::insert
6880         (breakParagraphConservative): take a Buffer* instead of a
6881         BufferParams& as arg.
6882         (breakParagraphConservative): use ParagraphList::insert.
6883
6884         * buffer.C (insertStringAsLines): un-const it
6885         (insertStringAsLines): adjust
6886
6887         * ParagraphList.C (insert): new function
6888
6889         * CutAndPaste.C (pasteSelection): adjust
6890
6891         * text.C (backspace): adjust
6892
6893         * tabular.C (SetMultiColumn): adjust
6894
6895         * CutAndPaste.C (cutSelection): adjust
6896         (pasteSelection): adjust
6897
6898         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6899         Buffer const * as arg
6900
6901         * ParagraphList.C (erase): new function
6902         * paragraph_funcs.C (mergeParagraph): use it
6903         (mergeParagraph): make it take a Buffer* instead of a
6904         BufferParams* as arg
6905
6906         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6907         as arg
6908         (breakParagraphConservative): ditto
6909
6910         * paragraph.h: remove the breakParagraph friend
6911
6912         * paragraph.C (eraseIntern): new function
6913         (setChange): new function
6914
6915         * paragraph_funcs.C (mergeParagraph): make it take a
6916         ParagraphList::iterator instead of a Paragraph *, adjust
6917         accordingly.
6918
6919         * paragraph.h: move an #endif so that the change tracking stuff
6920         also works in the NO_NEXT case.
6921
6922 2003-03-04  Angus Leeming  <leeming@lyx.org>
6923
6924         * commandtags.h:
6925         * LyXAction.C: new LFUN_INSET_MODIFY.
6926
6927         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6928         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6929
6930 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * several files: ws changes only
6933
6934         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6935         (TeXEnvironment): ditto
6936         (TeXDeeper): ditto
6937
6938         * buffer.C (makeLaTeXFile): adjust
6939         (latexParagraphs): make it take ParagraphList::iterator as args
6940
6941 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * buffer.C (latexParagraphs): adjust
6944
6945         * paragraph.C (TeXOnePar): move function...
6946         (optArgInset): move function...
6947         (TeXEnvironment): move function...
6948         * paragraph_pimpl.C (TeXDeeper): move function...
6949         * paragraph_funcs.C: ...here
6950
6951         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6952
6953 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * buffer.C (readInset): remove compability code for old Figure and
6956         InsetInfo insets
6957
6958 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * buffer.C: ws changes
6961         (readInset):
6962
6963         * BufferView_pimpl.C: ditto
6964         * author.C: ditto
6965         * buffer.h: ditto
6966         * bufferlist.h: ditto
6967         * changes.h: ditto
6968         * lyxfunc.C: ditto
6969
6970 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6971
6972         * converter.[Ch]: split into itself +
6973         * graph.[Ch]
6974         * format.[Ch]
6975         * Makefile.am: += graph.[Ch] + format.[Ch]
6976         * MenuBackend.C
6977         * buffer.C
6978         * exporter.C
6979         * importer.C
6980         * lyx_main.C
6981         * lyxfunc.C
6982         * lyxrc.C: added #include "format.h"
6983
6984 2003-02-27  Angus Leeming  <leeming@lyx.org>
6985
6986         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6987           a label.
6988
6989         * factory.C (createInset): add "label" to the factory.
6990
6991         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6992           string and do no more.
6993
6994 2003-02-27  Angus Leeming  <leeming@lyx.org>
6995
6996         * commandtags.h:
6997         * LyXAction.C (init):
6998         * factory.C (createInset):
6999         * BufferView_pimpl.C (dispatch):
7000           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7001
7002         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7003
7004         * lyxfunc.C (dispatch):
7005         * text3.C (dispatch): pass name to params2string.
7006
7007 2003-02-26  Angus Leeming  <leeming@lyx.org>
7008
7009         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7010           blocks together.
7011           Rearrange the ~includes. Strip out the unnecessary ones.
7012
7013         * factory.C (createInset): reformat.
7014           create new insets for the various LFUN_XYZ_APPLY lfuns.
7015
7016 2003-02-26  John Levon  <levon@movementarian.org>
7017
7018         * lyxrow.h:
7019         * lyxrow.C: add isParStart,isParEnd helpers
7020
7021         * paragraph.h: make isInserted/DeletedText take refs
7022
7023         * paragraph_funcs.h:
7024         * paragraph_funcs.C: remove #if 0'd code
7025
7026         * lyxtext.h:
7027         * text3.C:
7028         * text2.C:
7029         * text.C: use lyxrow helpers above.
7030           Move draw and paint routines to RowPainter.
7031           Make several methods use refs not pointers.
7032           Make backgroundColor() const.
7033           Add markChangeInDraw(), isInInset().
7034           Merge changeRegionCase into changeCase.
7035           Make workWidth() shouldn't-happen code into an Assert.
7036
7037         * rowpainter.h:
7038         * rowpainter.C: new class for painting a row.
7039
7040         * vspace.h:
7041         * vspace.C: make inPixels take a ref
7042
7043 2003-02-26  Angus Leeming  <leeming@lyx.org>
7044
7045         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7046         LFUN_REF_APPLY.
7047
7048 2003-02-25  John Levon  <levon@movementarian.org>
7049
7050         * ispell.C: give the forked command a more accurate name
7051
7052 2003-02-22  John Levon  <levon@movementarian.org>
7053
7054         * toc.h:
7055         * toc.C: make TocItem store an id not a Paragraph *
7056           (bug #913)
7057
7058 2003-02-21  Angus Leeming  <leeming@lyx.org>
7059
7060         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7061           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7062           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7063           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7064           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7065           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7066
7067         * BufferView_pimpl.C (dispatch):
7068         * LyXAction.C (init):
7069         * factory.C (createInset):
7070         * lyxfunc.C (getStatus, dispatch):
7071         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7072
7073 2003-02-21  Angus Leeming  <leeming@lyx.org>
7074
7075         * BufferView_pimpl.C (MenuInsertLyXFile):
7076         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7077         * lyxfunc.C (menuNew, open, doImport):
7078           no longer pass a LyXView & to fileDlg.
7079
7080 2003-02-21  Angus Leeming  <leeming@lyx.org>
7081
7082         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7083         * LyXAction.C: change, BIBKEY to BIBITEM.
7084         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7085         Change InsetBibKey to InsetBibitem.
7086         Change BIBKEY_CODE to BIBITEM_CODE.
7087         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7088         * factory.C: replace insetbib.h with insetbibitem.h.
7089         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7090         * paragraph.C: replace insetbib.h with insetbibitem.h.
7091         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7092         Change bibkey() to bibitem().
7093         * text.C: remove insetbib.h.
7094         * text2.C: replace insetbib.h with insetbibitem.h.
7095         change bibkey() to bibitem().
7096         * text3.C: remove insetbib.h.
7097         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7098
7099 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7100
7101         * lyxrc.C (output): enclose user email in quotes (in case there are
7102         several words)
7103
7104 2003-02-18  John Levon  <levon@movementarian.org>
7105
7106         * buffer.h: add std::
7107
7108 2003-02-17  John Levon  <levon@movementarian.org>
7109
7110         * SpellBase.h:
7111         * ispell.h:
7112         * ispell.C:
7113         * pspell.h:
7114         * pspell.C: reworking. Especially in ispell, a large
7115           number of clean ups and bug fixes.
7116
7117         * lyxfunc.C: fix revert to behave sensibly
7118
7119 2003-02-17 André Pönitz <poenitz@gmx.net>
7120
7121         * LyXAction.C:
7122         * commandtags.h: new LFUN_INSERT_BIBKEY
7123
7124         * layout.h:
7125         * lyxlayout.C:
7126         * buffer.C:
7127         * factory.C:
7128         * text.C:
7129         * text2.C:
7130         * text3.C:
7131         * paragraph.[Ch]:
7132         * paragraph_func.C: remove special bibkey handling
7133
7134 2003-02-17  John Levon  <levon@movementarian.org>
7135
7136         * text.C (Delete): fix case where delete at the end of
7137           the very first paragraph would not merge the pars
7138
7139 2003-02-17  John Levon  <levon@movementarian.org>
7140
7141         * lyxrow.C: fix lastPrintablePos()
7142
7143 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7144
7145         * bufferparams.C (writeLaTeX): add a std:here
7146
7147         * buffer.C: and remove a using directive there
7148
7149 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7150
7151         * buffer.C (makeLaTeXFile): move the code that generates the
7152           preamble...
7153
7154         * bufferparams.C (writeLaTeX): ... in this new method
7155
7156         * LaTeXFeatures.C (getEncodingSet): make const
7157           (getLanguages): make const
7158
7159         * MenuBackend.C (binding): returns the binding associated to this
7160           action
7161           (add): sets the status of each item by calling getStatus. Adds
7162           some intelligence.
7163           (read): add support for OptSubMenu
7164           (expand): remove extra separator at the end of expanded menu
7165
7166 2003-02-15  John Levon  <levon@movementarian.org>
7167
7168         * BufferView.C:
7169         * BufferView_pimpl.C:
7170         * bufferlist.h:
7171         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7172           inset code that had no actual effect. Remove unneeded status
7173           code.
7174
7175 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7176
7177         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7178           in preamble
7179
7180 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7181
7182         * text.C (drawLengthMarker): also draw an arrow marker for
7183           symbolic lengths (medskip...)
7184
7185 2003-02-14  John Levon  <levon@movementarian.org>
7186
7187         * tabular.h:
7188         * tabular.C: better method names
7189
7190 2003-02-14  John Levon  <levon@movementarian.org>
7191
7192         * BufferView_pimpl.C:
7193         * bufferlist.C:
7194         * buffer.C:
7195         * converter.C:
7196         * lyx_cb.C:
7197         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7198           it's a more accurate name. Remove some pointless uses.
7199
7200 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7201
7202         * text2.C (LyXText): change order of initilizers to shut off
7203           warnings
7204
7205 2003-02-14  John Levon  <levon@movementarian.org>
7206
7207         * buffer.C: use ParIterator for getParFromID()
7208
7209         * paragraph.h:
7210         * paragraph.C:
7211         * paragraph_pimpl.h:
7212         * paragraph_pimpl.C: remove unused getParFromID()
7213
7214 2003-02-14  John Levon  <levon@movementarian.org>
7215
7216         * buffer.C: remove some very old #if 0'd parse code
7217
7218 2003-02-13  John Levon  <levon@movementarian.org>
7219
7220         * text.h:
7221         * text.C:
7222         * text2.C: move hfillExpansion(), numberOfSeparators(),
7223           rowLast(), rowLastPrintable(), numberofHfills(),
7224           numberOfLabelHfills() ...
7225
7226         * lyxrow.h:
7227         * lyxrow.C: ... to member functions here.
7228
7229         * paragraph.h:
7230         * paragraph.C:
7231         * lyxtext.h:
7232         * text.C: remove LyXText::beginningOfMainBody(), and call
7233           p->beginningOfMainBody() directly. Move the check for
7234           LABEL_MANUAL into the latter.
7235
7236         * text.h:
7237         * text.C:
7238         * text2.C:
7239         * vspace.C:
7240         * BufferView.h:
7241         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7242
7243         * text.h:
7244         * text.C:
7245         * text2.C:
7246         * text3.C:
7247         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7248           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7249
7250 2003-02-13  John Levon  <levon@movementarian.org>
7251
7252         * CutAndPaste.C: remove debug
7253
7254 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7255
7256         * paragraph.C (asString): remove two unused variables
7257
7258         * lyxtextclass.C (readTitleType):
7259           (Read):
7260           (LyXTextClass): handle new members titletype_ and titlename_
7261
7262         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7263
7264 2003-02-09  John Levon  <levon@movementarian.org>
7265
7266         * buffer.h:
7267         * buffer.C: replace hand-coded list with a map for the dep clean
7268
7269 2003-02-08  John Levon  <levon@movementarian.org>
7270
7271         * LaTeX.C: consolidate code into showRunMessage() helper
7272
7273 2003-02-08  John Levon  <levon@movementarian.org>
7274
7275         * lyxfind.C:
7276         * lyxtext.h:
7277         * text2.C:
7278         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7279           and pass the size in explicitly
7280
7281         * BufferView_pimpl.h:
7282         * BufferView_pimpl.C:
7283         * BufferView.h:
7284         * BufferView.C: add getCurrentChange()
7285
7286         * BufferView_pimpl.h:
7287         * BufferView_pimpl.C: handle change lfuns
7288
7289         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7290           for changes. Mark pasted paragraphs as new.
7291
7292         * support/lyxtime.h:
7293         * support/lyxtime.C:
7294         * DepTable.C: abstract time_t as lyx::time_type
7295
7296         * LColor.h:
7297         * LColor.C: add colours for new text, deleted text, changebars
7298
7299         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7300           package use "usenames" option.
7301
7302         * commandtags.h:
7303         * lyxfunc.C:
7304         * LyXAction.C: add change lfuns
7305
7306         * Makefile.am:
7307         * author.h:
7308         * author.C: author handling
7309
7310         * buffer.h:
7311         * buffer.C: add a per-buffer author list, with first entry as
7312           current author. Handle new .lyx tokens for change tracking. Output
7313           author list to .lyx file. Output dvipost stuff to .tex preamble.
7314           Bump lyx format to 222.
7315
7316         * bufferlist.h:
7317         * bufferlist.C: add setCurrentAuthor() to reset current author details
7318           in all buffers.
7319
7320         * bufferparams.h:
7321         * bufferparams.C: add param for tracking
7322
7323         * bufferview_funcs.C: output change info in minibuffer
7324
7325         * Makefile.am:
7326         * changes.h:
7327         * changes.C: add change-tracking structure
7328
7329         * debug.h:
7330         * debug.C: add CHANGES debug flag
7331
7332         * lyxfind.h:
7333         * lyxfind.C: add code for finding the next change piece
7334
7335         * lyxrc.h:
7336         * lyxrc.C: add user_name and user_email
7337
7338         * lyxrow.h:
7339         * lyxrow.C: add a metric for the top of the text line
7340
7341         * lyxtext.h:
7342         * text.C: implement accept/rejectChange()
7343
7344         * lyxtext.h:
7345         * text.C: paint changebars. Paint new/deleted text in the chosen
7346         colours. Strike through deleted text.
7347
7348         * paragraph.h:
7349         * paragraph.C:
7350         * paragraph_pimpl.h:
7351         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7352           in the current change to the insert functions. Rework erase to
7353           mark text as deleted, adding an eraseIntern() and a range-based
7354           erase(). Implement per-paragraph change lookup and
7355           accept/reject.
7356
7357         * paragraph_funcs.C: Fixup paste for change tracking.
7358
7359         * tabular.C: mark added row/columns as new.
7360
7361         * text.C: fix rowLast() to never return -1. Don't allow
7362           spellchecking of deleted text. Track transpose changes. Don't
7363           allow paragraph break or merge where appropriate.
7364
7365         * text2.C: leave cursor at end of selection after a cut.
7366
7367 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7368
7369         * text.C (getLengthMarkerHeight):
7370         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7371         visible on screen too.
7372
7373 2003-02-07  John Levon  <levon@movementarian.org>
7374
7375         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7376
7377 2003-02-05  Angus Leeming  <leeming@lyx.org>
7378
7379         * lyxserver.C (read_ready): revert my patch of 11 September last year
7380         as it sends PC cpu through the roof. Presumably this means that
7381         the lyxserver will no longer run on an Alpha...
7382
7383 2003-01-30  Angus Leeming  <leeming@lyx.org>
7384
7385         * factory.C (createInset): create an InsetCommandParam of type "index"
7386         and use it to 'do the right thing'.
7387
7388         * text2.C (getStringToIndex): ensure that cursor position is always
7389         reset to the reset_cursor position.
7390
7391 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7392
7393         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7394         disabled.
7395
7396 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7397
7398         * bufferview.C:
7399         * lyxcb.C:
7400         * lyxfunc.C: Output messages with identical spelling, punctuation,
7401         and spaces
7402
7403 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7404
7405         * MenuBackend.C (expandFormats): List only viewable export formats
7406         in "View" menu
7407
7408         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7409         message
7410
7411         * lyxfunc.C (getStatus): Make sure that formats other than
7412         "fax" can also be disabled
7413
7414 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7415
7416         * text3.C (dispatch): put the lfuns that insert insets in 3
7417         groups, and call doInsertInset with appropriate arguments.
7418         (doInsertInset): new function, that creates an inset and inserts
7419         it according to some boolean parameters.
7420
7421 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * buffer.C (readFile): remember to pass on 'par' when calling
7424         readFile recursively.
7425
7426 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7427
7428         * MenuBackend.C (expandFormats): add "..." to import formats.
7429
7430 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7431
7432         * paragraph.C (asString): Remove XForms RTL hacks.
7433
7434 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7435         * buffer.C: fix typo
7436
7437 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7438
7439         * Makefile.am (LIBS): delete var
7440         (lyx_LDADD): add @LIBS@ here instead.
7441
7442 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7443
7444         * Clarify the meaning of "wheel mouse jump"
7445
7446 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7447
7448         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7449         tabular in a float
7450
7451 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7452
7453         * importer.C (Loaders): do not preallocate 3 elements in the
7454         vector, since one ends up with 6 elements otherwise
7455
7456 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7457
7458         * DepTable.C (write): write the file name as last element of the
7459         .dep file (because it may contain spaces)
7460         (read): read info in the right order
7461
7462 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7463
7464         * paragraph_pimpl.C (simpleTeXBlanks):
7465         (simpleTeXSpecialChars):
7466         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7467
7468         * tabular.C (latex): add some missing case statements. Reindent.
7469
7470         * MenuBackend.C (expandToc): remove unused variable.
7471
7472 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7473
7474         * LColor.C:
7475         * LaTeX.C:
7476         * LyXAction.C:
7477         * MenuBackend.C:
7478         * buffer.C:
7479         * exporter.C:
7480         * lyxfunc.C:
7481         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7482         and the like.
7483
7484 2003-01-05  John Levon  <levon@movementarian.org>
7485
7486         * BufferView.h:
7487         * BufferView.C: add getEncoding()
7488
7489         * kbsequence.h:
7490         * kbsequence.C: do not store last keypress
7491
7492         * lyxfunc.h:
7493         * lyxfunc.C: store last keypress here instead. Pass encoding
7494           to getISOEncoded()
7495
7496 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7497
7498         * lyx_main.C (init): remove annoying error message when following
7499         symbolic links (bug #780)
7500
7501 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7502
7503         * text.C (insertChar):
7504         * lyxrc.C (getDescription): remove extra spaces
7505
7506 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7507
7508         * lyxrc.C (getDescription): remove extra spaces
7509
7510 2002-12-20  John Levon  <levon@movementarian.org>
7511
7512         * text3.C: hack fix for page up/down across tall rows
7513
7514 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7515
7516         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7517         not been invoked
7518
7519 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7520
7521         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7522         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7523         thesaurus is not compiled in
7524
7525 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7526
7527         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7528
7529 2002-12-16  Angus Leeming  <leeming@lyx.org>
7530
7531         * lyxrc.[Ch]:
7532         * lyx_main.C (init): remove override_x_deadkeys stuff.
7533
7534 2002-12-12  John Levon  <levon@movementarian.org>
7535
7536         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7537           insert. Only remove shift modifier under strict
7538           circumstances.
7539
7540 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * MenuBackend.C (expandToc): fix crash.
7543
7544 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7545
7546         * MenuBackend.C (expandToc): gettext on float names.
7547
7548 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7549
7550         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7551         implement bool empty() [bug 490]
7552
7553 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7554
7555         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7556
7557 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7558
7559         * several files: ws changes
7560
7561 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * text2.C (setCounter): clean up a bit, use boost.format.
7564         (updateCounters): initialize par upon declaration.
7565
7566         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7567         if the layout exists. We do not just store the layout any more.
7568         (SwitchLayoutsBetweenClasses): use boost.format
7569
7570 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7571
7572         * converter.C (convert): if from and to files are the same, use a
7573         temporary files as intermediary
7574
7575 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7576
7577         * commandtags.h:
7578         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7579
7580 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7581
7582         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7583
7584 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * tabular.C (asciiPrintCell): use string(size, char) instead of
7587         explicit loop.
7588
7589         * sgml.C (openTag): fix order of arguments to string constructor
7590         (closeTag): ditto
7591
7592         * lyxfunc.C (dispatch): use boost.format
7593
7594         * lots of files: change "c" -> 'c'
7595
7596 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7597
7598         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7599
7600 2002-11-25  Angus Leeming  <leeming@lyx.org>
7601
7602         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7603
7604         * lyx_main.C (init): compile fix.
7605
7606 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * lyx_cb.C (start): boost.formatify
7609         do not include <iostream>
7610
7611         * lengthcommon.C: ws only
7612
7613         * boost-inst.C,BoostFormat.h: add more explict instantations
7614
7615 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * lots of files: handle USE_BOOST_FORMAT
7618
7619 2002-11-21  John Levon  <levon@movementarian.org>
7620
7621         * pspell.C: fix compile
7622
7623 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7624
7625         * lyxfunc.C (dispatch): use boost::format
7626         (open): ditto
7627         (doImport): ditto
7628
7629         * lyxfont.C (stateText): use boost::format
7630
7631         * lyx_main.C (LyX): use boost::format
7632         (init): ditto
7633         (queryUserLyXDir): ditto
7634         (readRcFile): ditto
7635         (parse_dbg): ditto
7636         (typedef boost::function): use the recommened syntax.
7637
7638         * importer.C (Import): use boost::format
7639
7640         * debug.C (showLevel): use boost::format
7641
7642         * converter.C (view): use boost::format
7643         (convert): ditto
7644         (move): ditto
7645         (scanLog): ditto
7646
7647         * bufferview_funcs.C (currentState): use boost::format
7648
7649         * bufferlist.C (emergencyWrite): use boost::format
7650
7651         * buffer.C (readLyXformat2): use boost::format
7652         (parseSingleLyXformat2Token): ditto
7653
7654         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7655
7656         * LaTeX.C (run): use boost::format
7657
7658         * Chktex.C (scanLogFile): use boost::format
7659
7660         * BufferView_pimpl.C (savePosition): use boost::format
7661         (restorePosition): ditto
7662         (MenuInsertLyXFile): ditto
7663
7664         * BoostFormat.h: help file for explicit instation.
7665
7666 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7667
7668         * tabular.C (latex): Support for block alignment in fixed width
7669         columns.
7670
7671 2002-11-17  John Levon  <levon@movementarian.org>
7672
7673         * BufferView_pimpl.C:
7674         * lyx_cb.C:
7675         * lyxfunc.C: split filedialog into open/save
7676
7677 2002-11-08  Juergen Vigna  <jug@sad.it>
7678
7679         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7680         by my last patch (hopefully).
7681
7682 2002-11-08  John Levon  <levon@movementarian.org>
7683
7684         * iterators.h:
7685         * iterators.C:
7686         * buffer.h:
7687         * buffer.C:
7688         * paragraph.h:
7689         * paragraph.C:
7690         * toc.h:
7691         * toc.C: ParConstIterator, and use it (from Lars)
7692
7693 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7694
7695         * lyxtextclass.[Ch]: revise and add doxygen comments
7696
7697 2002-11-07  John Levon  <levon@movementarian.org>
7698
7699         * text.C: fix progress value for spellchecker
7700
7701         * toc.C: fix navigate menu for insetwrap inside minipage
7702
7703         * paragraph_funcs.C: added FIXME for suspect code
7704
7705 2002-11-07  John Levon  <levon@movementarian.org>
7706
7707         * BufferView_pimpl.C: fix redrawing of insets
7708           on buffer switch
7709
7710 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7711
7712         * text2.C (updateCounters): fix bug 668
7713
7714 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7715
7716         * text3.C (dispatch): Do not make the buffer dirty when moving the
7717         cursor.
7718
7719 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * vc-backend.C: STRCONV
7722         (scanMaster): ditto
7723
7724         * text2.C (setCounter): STRCONV
7725
7726         * paragraph.C (asString): STRCONV
7727
7728         * lyxlength.C (asString): STRCONV
7729         (asLatexString): ditto
7730
7731         * lyxgluelength.C (asString): STRCONV
7732         (asLatexString): ditto
7733
7734         * lyxfunc.C (dispatch): STRCONV
7735         (open): ditto
7736
7737         * lyxfont.C (stateText): STRCONV
7738
7739         * importer.C (Import): STRCONV
7740
7741         * counters.C (labelItem): STRCONV
7742         (numberLabel): ditto
7743         (numberLabel): remove unused ostringstream o
7744
7745         * chset.C: STRCONV
7746         (loadFile): ditto
7747
7748         * bufferview_funcs.C (currentState): STRCONV
7749
7750         * buffer.C (readFile): STRCONV
7751         (asciiParagraph): ditto
7752         (makeLaTeXFile): ditto
7753
7754         * Spacing.C (writeEnvirBegin): STRCONV
7755
7756         * LaTeXFeatures.C (getLanguages): STRCONV
7757         (getPackages): ditto
7758         (getMacros): ditto
7759         (getBabelOptions): ditto
7760         (getTClassPreamble): ditto
7761         (getLyXSGMLEntities): ditto
7762         (getIncludedFiles): ditto
7763
7764         * LaTeX.C: STRCONV
7765         (run): ditto
7766         (scanAuxFile): ditto
7767         (deplog): ditto
7768
7769         * LString.h: add the STRCONV macros
7770
7771         * BufferView_pimpl.C (savePosition): STRCONV
7772         (restorePosition): ditto
7773         (MenuInsertLyXFile): ditto
7774
7775         * vc-backend.C (scanMaster): change from submatch[...] to
7776         submatch.str(...)
7777
7778         * funcrequest.C: include config.h
7779
7780         * factory.C: include config.h
7781
7782         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7783
7784         * box.C: include config.h
7785
7786         * LaTeX.C (scanAuxFile): change from submatch[...] to
7787         submatch.str(...)
7788         (deplog): ditto
7789
7790 2002-10-25  Angus Leeming  <leeming@lyx.org>
7791
7792         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7793
7794         * ispell.[Ch] (setError): new method.
7795         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7796         Use setError() insetead of goto END.
7797
7798         * lyx_cb.C (AutoSave): move out child process into new class
7799         AutoSaveBuffer.
7800
7801 2002-10-30  John Levon  <levon@movementarian.org>
7802
7803         * text3.C: make start appendix undoable
7804
7805 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7806
7807         * lyxlength.C (inPixels): Fix returned value.
7808
7809         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7810         environment.
7811
7812 2002-10-24  Angus Leeming  <leeming@lyx.org>
7813
7814         * lyxgluelength.h: no need to forward declare BufferParams
7815         or BufferView, so don't.
7816
7817 2002-10-21  John Levon  <levon@movementarian.org>
7818
7819         * BufferView.C: menuUndo ->undo, redo
7820
7821         * BufferView.h: document, remove dead, make some methods private
7822
7823         * paragraph_funcs.h:
7824         * paragraph_funcs.C:
7825         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7826
7827         * buffer.h:
7828         * buffer.C:
7829         * sgml.h:
7830         * sgml.C: move sgml open/close tag into sgml.C
7831
7832         * bufferview_funcs.h: unused prototype
7833
7834         * lyxfunc.h:
7835         * lyxfunc.C: remove unused
7836
7837         * lyxtext.h:
7838         * text.C: remove unused
7839
7840 2002-10-21  John Levon  <levon@movementarian.org>
7841
7842         * BufferView.h:
7843         * BufferView.C:
7844         * BufferView_pimpl.h:
7845         * BufferView_pimpl.C: fix mouse wheel handling based on
7846           patch from Darren Freeman
7847
7848 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7849
7850         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7851
7852 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7853
7854         * lyxlength.C (inPixels): Fix hanfling of negative length.
7855         Fix LyXLength::MU case.
7856
7857 2002-10-16  John Levon  <levon@movementarian.org>
7858
7859         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7860
7861 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7862
7863         * converter.C (view): add support for $$i (file name) and $$p
7864         (file path) for the viewer command. If $$i is not specified, then
7865         it is appended to the command (for compatibility with old syntax)
7866
7867 2002-10-14  Juergen Vigna  <jug@sad.it>
7868
7869         * undo_funcs.C (textHandleUndo): alter the order in which the
7870         new undopar is added to the LyXText, as we have to set first
7871         the right prev/next and then add it as otherwise the rebuild of
7872         LyXText is not correct. Also reset the cursor to the right paragraph,
7873         with this IMO we could remove the hack in "redoParagraphs()".
7874
7875 2002-10-09  Angus Leeming  <leeming@lyx.org>
7876
7877         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7878         to turn off an optimisation if a new inset is to be inserted.
7879
7880 2002-10-11 André Pönitz <poenitz@gmx.net>
7881
7882         * lyxtext.h: make some functions public to allow access
7883         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7884
7885 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7886
7887         * text3.C (dispatch): when changing layout, avoid an infinite loop
7888         [bug #652]
7889
7890 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7891
7892         * lyxrc.C (read): treat a viewer or converter command of "none" as
7893         if it were empty.
7894
7895         * MenuBackend.C (expandFormats): for an update, also allow the
7896         formats that are not viewable
7897
7898         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7899         script if it is newer than the lyxrc.defaults in user directory
7900
7901 2002-10-07 André Pönitz <poenitz@gmx.net>
7902
7903         * text.C: Vitaly Lipatov's small i18n fix
7904
7905 2002-09-25  Angus Leeming  <leeming@lyx.org>
7906
7907         * ispell.h: doxygen fix.
7908
7909 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7910
7911         * buffer.h (readFile): Add a new argument to the method, to allow
7912         reading of old-format templates.
7913
7914 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7915
7916         * toc.C (getTocList): Get TOC from InsetWrap.
7917
7918 2002-09-16  John Levon  <levon@movementarian.org>
7919
7920         * lyxfunc.C: check tabular for cut/copy too
7921
7922 2002-09-12  John Levon  <levon@movementarian.org>
7923
7924         * LyXAction.C: tidy
7925
7926         * factory.h:
7927         * factory.C: add header
7928
7929         * paragraph_funcs.h:
7930         * paragraph_funcs.C: cleanup
7931
7932 2002-09-11  John Levon  <levon@movementarian.org>
7933
7934         * PrinterParams.h: odd/even default to true
7935
7936 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7937
7938         * PrinterParams.h: update printer parameters for new xforms dialog
7939
7940 2002-09-11  Angus Leeming  <leeming@lyx.org>
7941
7942         * lyxserver.C (read_ready): re-write to make it more transparent
7943         and to make it work in coherent fashion under Tru64 Unix.
7944
7945 2002-09-11  André Pönitz <poenitz@gmx.net>
7946
7947         * commandtags.h:
7948         * LyXAction.C:
7949         * text3.C: implement LFUN_WORDSEL
7950
7951 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7954         make floatlist_ a boost::shared_ptr<FloatList>
7955
7956         * lyxtextclass.C: include FloatList.h
7957         (LyXTextClass): initialize floatlist_
7958         (TextClassTags): add TC_NOFLOAT
7959         (Read): match "nofloat" to TC_NOFLOAT and use it.
7960         (readFloat): modify call to floatlist_
7961         (floats): ditto
7962         (floats): ditto
7963
7964         * FloatList.[Ch] (FloatList): remove commented out float
7965         initialization.
7966         (erase): new function
7967
7968 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7969
7970         * MenuBackend.C (expandToc): fix crash when there is no document
7971         open
7972
7973 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7974
7975         * many files: Add insetwrap.
7976
7977 2002-09-09  John Levon  <levon@movementarian.org>
7978
7979         * text2.C: remove confusing and awkward depth wraparound
7980
7981 2002-09-09  John Levon  <levon@movementarian.org>
7982
7983         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7984
7985         * buffer.h:
7986         * buffer.C: remove getIncludeonlyList()
7987
7988         * paragraph.C:
7989         * lyxfunc.C: remove headers
7990
7991 2002-09-09  Juergen Vigna  <jug@sad.it>
7992
7993         * text.C (getColumnNearX): fix form Michael this is most
7994         probably a cut&paste bug.
7995
7996 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7999
8000         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8001         references, ws changes.
8002
8003         * text2.C (init): update counters after init
8004         (insertParagraph): no need to set counter on idividual paragraphs.
8005         (setCounter): access the counters object in the textclass object
8006         on in the buffer object.
8007         (updateCounters): ditto
8008
8009         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8010         shared_ptr<Counters> to avoid loading counters.h in all
8011         compilation units.
8012         (LyXTextClass): initialize ctrs_
8013         (TextClassTags): add TC_COUNTER, and ...
8014         (Read): use it here.
8015         (CounterTags): new tags
8016         (readCounter): new function
8017         (counters): new funtion
8018         (defaultLayoutName): return a const reference
8019
8020         * counters.C (Counters): remove contructor
8021         (newCounter): remove a couple of unneeded statements.
8022         (newCounter): simplify a bit.
8023         (numberLabel): some small formatting changes.
8024
8025         * buffer.[Ch]: remove all traces of counters, move the Counters
8026         object to the LyXTextClass.
8027
8028 2002-09-06  Alain Castera  <castera@in2p3.fr>
8029
8030         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8031         package to set the horizontal alignment on fixed width columns.
8032
8033         * lyx_sty.C:
8034         * lyx_sty.h: added tabularnewline macro def.
8035
8036         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8037
8038 2002-09-06  John Levon  <levon@movementarian.org>
8039
8040         * LyXAction.C: tooltips for sub/superscript
8041
8042         * MenuBackend.C: a bit more verbose
8043
8044         * lyxfunc.C: tiny clean
8045
8046         * undo_funcs.C: document undo_frozen
8047
8048 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * counters.C (Counters): add missing algorithm counter.
8051
8052         * text2.C (setCounter): lookup the counter with layouts latexname
8053         instead of by section number.
8054         (setCounter): use a hackish way to lookup the correct enum
8055         counter.
8056         a float name->type change
8057         reset enum couners with counter name directly instead of depth value.
8058
8059         * counters.C (Counters): remove the push_backs, change to use the
8060         float type not the float name.
8061         (labelItem): remove unused string, float name->type change
8062
8063         * counters.h: don't include vector, loose the enums and sects vectors
8064
8065 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8068         (Read): add float->TC_FLOAT to textclassTags
8069         (Read): and handle it in the switch
8070         (readFloat): new function
8071
8072         * FloatList.C (FloatList): comment out the hardcoded float
8073         definitions.
8074
8075         * lyxlayout.h: ws change.
8076
8077 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8078
8079         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8080
8081 2002-09-03  Angus Leeming  <leeming@lyx.org>
8082
8083         * BufferView_pimpl.h: qualified name is not allowed in member
8084         declaration: WorkArea & Pimpl::workarea() const;
8085
8086         * factory.C: added using std::endl directive.
8087
8088         * text3.C: added using std::find and std::vector directives.
8089
8090 2002-08-29  André Pönitz <poenitz@gmx.net>
8091
8092         * lyxtext.h:
8093         * text2.C: remove unused member number_of_rows
8094
8095         * Makefile.am:
8096         * BufferView2.C: remove file, move contents to...
8097         * BufferView.C: ... here
8098
8099         * BufferView_pimpl.C:
8100         * factory.C: move more inset creation to factory
8101
8102         * vspace.C: avoid direct usage of LyXText, ws changes
8103
8104         * BufferView.[Ch]:
8105                 don't provide direct access to WorkArea, use two simple
8106                 acessors haveSelction() and workHeight() instead
8107
8108
8109 2002-08-29  John Levon  <levon@movementarian.org>
8110
8111         * BufferView_pimpl.C (dispatch): do not continue when
8112           no buffer
8113
8114 2002-08-28  André Pönitz <poenitz@gmx.net>
8115
8116         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8117
8118         * BufferView.h:
8119         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8120
8121 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8122
8123         * buffer.C: increment LYX_FORMAT to 221
8124
8125         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8126         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8127
8128         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8129
8130         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8131
8132 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8133
8134         * factory.C (createInset): use LyXTextClass::floats
8135
8136         * MenuBackend.C (expandFloatListInsert):
8137         (expandFloatInsert):
8138         (expandToc):
8139
8140         * text2.C (setCounter):
8141
8142         * LaTeXFeatures.C (useFloat):
8143         (getFloatDefinitions):
8144
8145         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8146
8147         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8148         floatlist_, with accessor floats().
8149
8150         * FloatList.h: remove global FloatList
8151
8152 2002-08-26  André Pönitz <poenitz@gmx.net>
8153
8154         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8155
8156         * BufferView.h:
8157         * BufferView2.C:
8158         * BufferView_pimpl.C:
8159         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8160
8161 2002-08-25  John Levon  <levon@movementarian.org>
8162
8163         * LyXAction.C: fix margin note description
8164
8165 2002-08-24  John Levon  <levon@movementarian.org>
8166
8167         * buffer.C:
8168         * bufferlist.C:
8169         * bufferview_funcs.C:
8170         * lyxfont.C:
8171         * undo_funcs.C: cleanups
8172
8173         * lyxfunc.C: disable CUT/COPY when no selection
8174
8175 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8176
8177         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8178         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8179
8180         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8181         Add backward compatibility to "mono", "gray" and "no".
8182
8183 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8184
8185         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8186         (and file_format >= 200).
8187
8188 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8189
8190         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8191
8192 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8193
8194         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8195
8196 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8197
8198         * BufferView_pimpl.C:
8199         * LyXAction.C:
8200         * buffer.C:
8201         * commandtags.h:
8202         * lyxfunc.C:
8203         * paragraph.[Ch]:
8204         * text2.C:
8205         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8206         inset and code to make it  work with the paragraph code. The inset
8207         can be anywhere in the paragraph, but will only do the expected
8208         thing in LaTeX if the layout file contains the parameter line
8209                         OptionalArgs    1
8210         (or more generally, a nonzero value) for that layout.
8211
8212 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * paragraph.h: remove the declaration of undefined counters class
8215         function.
8216
8217 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8218
8219         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8220         Dr. Richard Hawkins.
8221
8222 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * paragraph_funcs.h: remove some unneeded includes
8225
8226         * text.C (backspace): pasteParagraph now in global scipe
8227
8228         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8229         (pasteSelection): ditto
8230
8231         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8232         * paragraph_funcs.C (pasteParagraph): ... here
8233
8234 2002-08-20  André Pönitz <poenitz@gmx.net>
8235
8236         * commandtags.h: new LFUNs for swapping/copying table row/colums
8237
8238         * LyXAction.C:
8239         * lyxfunc.C: support for new lfuns
8240
8241 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * tabular.C:
8244         * buffer.[Ch]: remove NO_COMPABILITY stuff
8245
8246 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * boost.C (throw_exception): new file, with helper function for
8249         boost compiled without exceptions.
8250
8251         * paragraph.h:
8252         * lyxlength.C:
8253         * buffer.C:
8254         * ParameterStruct.h:
8255         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8256
8257         * bufferlist.C (emergencyWriteAll): use boost bind
8258
8259         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8260
8261         * text.C: include paragraph_funcs.h
8262         (breakParagraph): breakParagraph is now in global scope
8263
8264         * paragraph_funcs.[Ch]: new files
8265
8266         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8267         global scope
8268
8269         * buffer.C: include paragraph_funcs.h
8270         (insertStringAsLines): breakParagraph is now in global scope
8271
8272         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8273         paragraph_funcs.C
8274
8275         * CutAndPaste.C: include paragraph_funcs.h
8276         (cutSelection): breakParagraphConservative is now in global scope
8277         (pasteSelection): ditto
8278
8279         * buffer.h: declare oprator== and operator!= for
8280         Buffer::inset_iterator
8281
8282         * bufferlist.C (emergencyWrite): don't use fmt(...)
8283
8284         * text3.C: add using std::endl
8285
8286         * BufferView.C (moveCursorUpdate): remove default arg
8287
8288 2002-08-20  André Pönitz <poenitz@gmx.net>
8289
8290         * buffer.[Ch]: move inline functions to .C
8291
8292         * BufferView2.C:
8293         * BufferView_pimpl.C:
8294         * text.C:
8295         * buffer.[Ch]: use improved inset_iterator
8296
8297         * buffer.C:
8298         * paragraph.[Ch]: write one paragraph at a time
8299
8300 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8301
8302         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8303         style if style is not specified.
8304
8305 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8306
8307         * text2.C (setCounter): when searching for right label for a
8308         caption, make sure to recurse to parent insets (so that a caption
8309         in a minipage in a figure float works) (bug #568)
8310
8311 2002-08-20  André Pönitz <poenitz@gmx.net>
8312
8313         * text3.C: new file for LyXText::dispatch() and helpers
8314
8315         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8316
8317         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8318
8319 2002-08-19  André Pönitz <poenitz@gmx.net>
8320
8321         * lyxtext.h:
8322         * text.C: new LyXText::dispatch()
8323
8324         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8325
8326 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8327
8328         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8329
8330         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8331         Hebrew text.
8332
8333 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * Makefile.am: use $(variables) instead of @substitutions@
8336
8337 2002-08-15  André Pönitz <poenitz@gmx.net>
8338
8339         * lyxfunc.C:
8340         * BufferView_pimpl.C: streamlining mathed <-> outer world
8341         interaction
8342
8343         * commandtags.h:
8344         * LyXAction.C: remove unused LFUN_MATH
8345
8346 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8347
8348         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8349
8350 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * paragraph.C (Paragraph): reformat a bit
8353         (cutIntoMinibuffer): use builtin InsetList function instad of
8354         doing it manually.
8355         (getInset): ditto
8356
8357         * buffer.C: include boost/bind.hpp, add using std::for_each
8358         (writeFileAscii): use ParagraphList iterators
8359         (validate): use for_each for validate traversal of paragraphs
8360         (getBibkeyList): use ParagraphList iterators
8361         (resizeInsets): use for_each to resizeInsetsLyXText for all
8362         paragraphs.
8363         (getParFromID): use ParagraphList iterators
8364
8365         * BufferView2.C (lockInset): use paragraph list and iterators
8366
8367 2002-08-14  John Levon  <levon@movementarian.org>
8368
8369         * lyxserver.C: remove spurious xforms include
8370
8371 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8372
8373         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8374
8375 2002-08-13  André Pönitz <poenitz@gmx.net>
8376
8377         * LyXAction.[Ch]:
8378         * lyxfunc.C: further cleaning
8379
8380 2002-08-13  André Pönitz <poenitz@gmx.net>
8381
8382         * funcrequest.h: new constructor
8383
8384         * funcrequest.C: move stuff here from .h
8385
8386         * Makefile.am:
8387         * BufferView_pimpl.C:
8388         * LyXAction.C:
8389         * toc.C:
8390         * lyxfunc.C: subsequent changes
8391
8392         * lyxfunc.h: new view() member function
8393
8394         * lyxfunc.C: subsequent changes
8395
8396 2002-08-13  Angus Leeming  <leeming@lyx.org>
8397
8398         * BufferView2.C:
8399         * BufferView_pimpl.C:
8400         * buffer.C:
8401         * converter.C:
8402         * importer.C:
8403         * lyxfunc.C:
8404         * lyxvc.C:
8405         * toc.C:
8406         * vc-backend.C:
8407         changes due to the changed LyXView interface that now returns references
8408         to member variables not pointers.
8409
8410 2002-08-13  Angus Leeming  <leeming@lyx.org>
8411
8412         * WordLangTuple (word, lang_code): return references to strings,
8413         not strings.
8414
8415         * BufferView.h:
8416         * SpellBase.h:
8417         * lyxtext.h: forward-declare WordLangTuple.
8418
8419         * BufferView2.C:
8420         * ispell.C:
8421         * pspell.C:
8422         * text.C: #include "WordLangTuple.h".
8423
8424         * lyxtext.h:
8425         * text.C: (selectNextWordToSpellcheck): constify return type.
8426
8427 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8428
8429         * buffer.C:
8430         * buffer.h:
8431         * lyxtext.h:
8432         * paragraph.C:
8433         * paragraph_pimpl.h:
8434         * text.C:
8435         * text2.C:
8436         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8437         suggested by Angus.
8438         Made updateCounter always count from start of buffer, and removed
8439         second argument (par).
8440         Reverted floats number display to '#'. Perhaps I'll try again when the
8441         code base is sanitized a bit.
8442
8443 2002-08-12  Angus Leeming  <leeming@lyx.org>
8444
8445         * buffer.[Ch] (getLabelList): constify.
8446
8447 2002-08-07  André Pönitz <poenitz@gmx.net>
8448
8449         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8450
8451         * funcrequest.h: extension to keep mouse (x,y) position
8452
8453 2002-08-12  Juergen Vigna  <jug@sad.it>
8454
8455         * BufferView2.C (insertErrors): forbid undo when inserting error
8456         insets.
8457
8458         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8459
8460 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * ParagraphList.[Ch]: new files
8463
8464         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8465
8466         * BufferView2.C (lockInset): ParagraphList changes
8467         * toc.C: ditto
8468         * text2.C: ditto
8469         * bufferlist.C: ditto
8470         * buffer.h: ditto
8471         * buffer.C: ditto
8472
8473 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8476         unused class variable counter_,
8477
8478         * paragraph.[Ch] (getFirstCounter): delete unused function
8479
8480         * counters.C: include LAssert.h
8481         (reset): add a new function with no arg, change other version to
8482         not have def. arg and to not allow empty arg.
8483
8484         * text2.C (setCounter): remove empty arg from call to Counters::reset
8485
8486 2002-08-11  John Levon  <levon@movementarian.org>
8487
8488         * Makefile.am: add WordLangTuple.h
8489
8490 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8493         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8494
8495         * insets/insettext.C: InsetList changes
8496
8497         * graphics/GraphicsSupport.C (operator()): InsetList changes
8498
8499         * toc.C (getTocList): InsetList changes
8500
8501         * paragraph_pimpl.[Ch]: InsetList changes
8502
8503         * paragraph.[Ch]: InsetList changes
8504
8505         * buffer.C (inset_iterator): InsetList changes
8506         (setParagraph): ditto
8507         * buffer.h (inset_iterator): ditto
8508         * iterators.C (operator++): ditto
8509         * iterators.h: ditto
8510
8511         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8512
8513         * InsetList.[Ch]: new files, most InsetList handling moved out of
8514         paragraph.C.
8515
8516         * BufferView2.C (removeAutoInsets): InsetList changes
8517         (lockInset): ditto
8518         (ChangeInsets): ditto
8519
8520 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8521
8522         * paragraph_pimpl.h (empty): new function
8523
8524         * paragraph.[Ch] (empty): new function
8525
8526         * other files: use the new Paragraph::empty function
8527
8528 2002-08-09  John Levon  <levon@movementarian.org>
8529
8530         * lyxtext.h: remove unused refresh_height
8531
8532 2002-08-09  John Levon  <levon@movementarian.org>
8533
8534         * Makefile.am:
8535         * sgml.h:
8536         * sgml.C:
8537         * buffer.C:
8538         * paragraph.h:
8539         * paragraph.C: move sgml char escaping out of paragraph
8540
8541         * paragraph.h:
8542         * paragraph.C: remove id setter
8543
8544         * buffer.C:
8545         * paragraph.C:
8546         * paragraph_pimpl.C: remove dead tex_code_break_column
8547
8548         * bufferview_funcs.C: small cleanup
8549
8550         * lyxfunc.C: remove dead proto
8551
8552         * lyxtext.h: make some stuff private. Remove some dead stuff.
8553
8554         * lyxgluelength.C: make as[LyX]String() readable
8555
8556 2002-08-08  John Levon  <levon@movementarian.org>
8557
8558         * LyXAction.h:
8559         * LyXAction.C:
8560         * MenuBackend.C:
8561         * ToolbarDefaults.C:
8562         * lyxfunc.C:
8563         * lyxrc.C:
8564         * toc.C: lyxaction cleanup
8565
8566 2002-08-08  John Levon  <levon@movementarian.org>
8567
8568         * BufferView2.C: small cleanup
8569
8570         * lyxfind.h:
8571         * lyxfind.C: move unnecessary header into the .C
8572
8573 2002-08-08  John Levon  <levon@movementarian.org>
8574
8575         * funcrequest.h: just tedious nonsense
8576
8577         * lyx_main.h:
8578         * lyx_main.C: cleanups
8579
8580         * buffer.C:
8581         * vspace.C: remove dead header lyx_main.h
8582
8583 2002-08-07  Angus Leeming  <leeming@lyx.org>
8584
8585         * Paragraph.[Ch]:
8586         * paragraph_pimpl.h:
8587         Forward declare class Counters in paragraph.h by moving the ctrs member
8588         variable into Paragraph::Pimpl.
8589         (counters): new method, returning a reference to pimpl_->ctrs.
8590
8591         * text2.C: ensuing changes.
8592
8593 2002-08-07  John Levon  <levon@movementarian.org>
8594
8595         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8596
8597         * BufferView_pimpl.C: announce X selection on double/triple
8598           click
8599
8600         * lyx_main.C: use correct bool in batch dispatch
8601
8602         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8603
8604 2002-08-07  André Pönitz <poenitz@gmx.net>
8605
8606         * funcrequest.h: new class to wrap a kb_action and its argument
8607
8608         * BufferView.[Ch]:
8609         * BufferView_pimpl[Ch]:
8610         * LaTeX.C:
8611         * LyXAction.[Ch]:
8612         * lyxfunc.[Ch]:
8613         * lyxrc.C: subsequent changes
8614
8615
8616 2002-08-07  John Levon  <levon@movementarian.org>
8617
8618         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8619           document options change.
8620
8621 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8622
8623         * counters.[Ch]
8624         * text2.C
8625         * paragraph.[Ch]
8626         * makefile.am: move counters functionality over from
8627         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8628
8629 2002-08-06  John Levon  <levon@movementarian.org>
8630
8631         * WordLangTuple.h: new file for word + language code tuple
8632
8633         * SpellBase.h:
8634         * pspell.h:
8635         * pspell.C:
8636         * ispell.h:
8637         * ispell.C:
8638         * lyxtext.h:
8639         * text.C:
8640         * text2.C:
8641         * BufferView.h:
8642         * BufferView2.C: use WordLangTuple
8643
8644         * layout.h:
8645         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8646
8647 2002-08-06  John Levon  <levon@movementarian.org>
8648
8649         * lyx_main.C: fix cmdline batch handling
8650
8651 2002-08-06  André Pönitz <poenitz@gmx.net>
8652
8653         * lyxrc.C: set default for show_banner to true
8654
8655 2002-08-06  John Levon  <levon@movementarian.org>
8656
8657         * pspell.C: fix a crash, and allow new aspell to work
8658
8659 2002-08-06  John Levon  <levon@movementarian.org>
8660
8661         * lyxfunc.C:
8662         * kbmap.C: small cleanup
8663
8664         * vspace.h:
8665         * vspace.C: add const
8666
8667 2002-08-05  John Levon  <levon@movementarian.org>
8668
8669         * LyXAction.C: back to tabular-insert
8670
8671 2002-08-04  John Levon  <levon@movementarian.org>
8672
8673         * BufferView.h:
8674         * BufferView.C: cosmetic change
8675
8676         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8677
8678         * bufferlist.C:
8679         * buffer.h:
8680         * buffer.C:
8681         * lyxcb.h:
8682         * lyxcb.C:
8683         * lyxserver.C:
8684         * lyxvc.C:
8685         * vc-backend.C:
8686         * BufferView2.C: purge all "Lyx" not "LyX" strings
8687
8688         * lyxcursor.h:
8689         * lyxcursor.C: attempt to add some documentation
8690
8691         * lyxfunc.C:
8692         * commandtags.h:
8693         * LyXAction.C:
8694         * ToolbarDefaults.C:
8695         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8696           merge with LFUN_TABULAR_INSERT
8697
8698         * Makefile.am:
8699         * SpellBase.h:
8700         * ispell.h:
8701         * ispell.C:
8702         * pspell.h:
8703         * pspell.C: split up i/pspell implementations into separate
8704           files, many cleanups
8705
8706         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8707
8708         * text2.C: some cleanup
8709
8710         * lyxfunc.C: don't check for isp_command == "none" any more, it
8711           didn't make any sense
8712
8713 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8714
8715         * counters.[Ch]
8716         * text2.C
8717         * paragraph.[Ch]
8718         * makefile.am: move counters functionality over
8719         from text2.C/paragraph.[Ch] to counters.[Ch], and
8720         make proper C++.
8721 2002-08-02  John Levon  <levon@movementarian.org>
8722
8723         * buffer.C: s/lyxconvert/lyx2lyx/
8724
8725 2002-08-02  Angus Leeming  <leeming@lyx.org>
8726
8727         * lyxlex.C: revert John's change as it breaks reading of the user
8728         preamble.
8729
8730 2002-08-02  Angus Leeming  <leeming@lyx.org>
8731
8732         * importer.C (Import):
8733         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8734         changes due to LyXView::view() now returning a boost::shared_ptr.
8735
8736 2002-08-02  John Levon  <levon@movementarian.org>
8737
8738         * lyxlex.C: small cleanup
8739
8740 2002-08-02  John Levon  <levon@movementarian.org>
8741
8742         * text2.C (status): small cleanup, no logic change
8743
8744 2002-08-01  John Levon  <levon@movementarian.org>
8745
8746         * buffer.h:
8747         * buffer.C (writeFile): don't output alerts, caller
8748           handles this
8749
8750         * bufferlist.C:
8751         * lyx_cb.C: from above
8752
8753         * lyxfunc.C: allow to open non-existent files
8754
8755 2002-07-31  John Levon  <levon@movementarian.org>
8756
8757         * lyxserver.C: don't let incidental errors get
8758           in the way (errno)
8759
8760 2002-07-30  John Levon  <levon@movementarian.org>
8761
8762         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8763
8764 2002-07-30  John Levon  <levon@movementarian.org>
8765
8766         * lyxserver.h:
8767         * lyxserver.C: remove I/O callback too
8768
8769 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8770
8771         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8772         log.
8773
8774 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * many files: strip,frontStrip -> trim,ltrim,rtrim
8777
8778 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8779
8780         * PrinterParams.h: remove extern containsOnly, and include
8781         support/lstrings.h instead.
8782
8783         * LaTeX.C (scanAuxFile): modify because of strip changes
8784         (deplog): ditto
8785         * buffer.C (makeLaTeXFile): ditto
8786         * bufferparams.C (writeFile): ditt
8787         * lyxfont.C (stateText): ditto
8788         * lyxserver.C (read_ready): ditto
8789         * vc-backend.C (scanMaster): ditto
8790
8791         * BufferView_pimpl.h: ws changes
8792
8793         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8794
8795 2002-07-26  André Pönitz <poenitz@gmx.net>
8796
8797         * kb_sequence.C: remove unnedred usings
8798
8799 2002-07-26  Juergen Vigna  <jug@sad.it>
8800
8801         * lyxfind.C (LyXReplace): we have to check better if the returned
8802         text is not of theLockingInset()->getLockingInset().
8803
8804 2002-07-25  Juergen Vigna  <jug@sad.it>
8805
8806         * lyxfind.C (LyXReplace): don't replace if we don't get the
8807         right LyXText.
8808
8809         * undo_funcs.C (createUndo): remove debugging code.
8810
8811 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8812
8813         * buffer.C (parseSingleLyXformat2Token): Use default placement
8814         when reading old floats.
8815
8816         * FloatList.C (FloatList): Change the default placement of figure
8817         and tables to "tbp".
8818
8819 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * MenuBackend.C: using std::max
8822
8823 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * MenuBackend.C (expandToc):
8826         (expandToc2): code moved from xforms menu frontend. It is now
8827         generic and TOCs are transparent to menu frontends.
8828
8829 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * toc.C (getTocList): protect against buf=0
8832
8833         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8834         Menu as first parameter. Now, this calls itself recursively to
8835         expand a whole tree (this will be useful for TOC handling)
8836         (expandFloatInsert): remove 'wide' version of floats
8837
8838         * MenuBackend.h (submenuname): returns the name of the submenu.
8839         (submenu): returns the submenu itself, provided it has been
8840         created by MenuBackend::expand
8841
8842 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8845         insets which have noFontChange == true. (bug #172)
8846
8847 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * BufferView_pimpl.C: add connection objects and use them...
8850         (Pimpl): here.
8851
8852 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * MenuBackend.C (expandLastfiles):
8855         (expandDocuments):
8856         (expandFormats):
8857         (expandFloatListInsert):
8858         (expandFloatInsert):
8859         (expand): split expand in parts
8860
8861 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8862
8863         * lyx_gui.C: use lyx_gui::exit()
8864
8865 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8866
8867         * LyXAction.C: show the failing pseudo action
8868
8869 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8870
8871         * buffer.C (readFile): Run the lyxconvert script in order to read
8872         old files.
8873
8874 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * LyXAction.C:
8877         * commandtags.h:
8878         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8879
8880 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8881
8882         * LyXAction.C:
8883         * commandtags.h:
8884         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8885
8886 2002-07-22  Herbert Voss  <voss@lyx.org>
8887
8888         * lengthcommon.C:
8889         * lyxlength.[Ch]: add support for the vertical lengths
8890
8891 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8892
8893         * toc.[Ch]: std:: fixes
8894
8895 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8896
8897         * lyxrc.C: do not include lyx_main.h
8898
8899         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8900         for layouts
8901
8902         * lyxrc.C:
8903         * encoding.C:
8904         * bufferlist.C:
8905         * BufferView2.C: include "lyxlex.h"
8906
8907         * tabular.h:
8908         * bufferparams.h: do not #include "lyxlex.h"
8909
8910         * lyxtextclasslist.C (Add): remove method
8911         (classlist): renamed to classlist_
8912
8913         * paragraph_pimpl.C:
8914         * paragraph.C:
8915         * text2.C:
8916         * CutAndPaste.C:
8917         * bufferview_funcs.C:
8918         * bufferlist.C:
8919         * text.C:
8920         * LaTeXFeatures.C:
8921         * buffer.C:
8922         * toc.C (getTocList): use BufferParams::getLyXTextClass
8923
8924         * toc.C (getTocList): use InsetFloat::addToToc
8925
8926         * toc.[Ch]: new files, containing helper functions to handle table
8927         of contents
8928
8929         * lyxfunc.C (dispatch): no need to remove spaces around command
8930         given as a string
8931         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8932         first command of the sequence; it is not very clever, but I do not
8933         have a better idea, actually
8934
8935         * LyXAction.C (LookupFunc): make sure to remove space at the
8936         beginning and end of the command
8937
8938 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * MenuBackend.C (getMenubar): new method: return the menubar of
8941         this menu set
8942         (read): treat differently reading of menu and menubar (in
8943         particular, the menubar has no name now)
8944         (Menu::menubar): remove
8945
8946         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8947         saving is finished
8948
8949 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8952         a bibitem inset in a RTL paragraph.
8953
8954 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * paragraph_pimpl.C: constify
8957
8958         * BufferView_pimpl.C:
8959         * LaTeX.C:
8960         * lyxfunc.C: fix dispatch in a nicer way
8961
8962 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * lyxfunc.C (dispatch):
8965         * BufferView_pimpl.C:
8966         * BufferView_pimpl.h:
8967         * BufferView.C:
8968         * BufferView.h: rename Dispatch() to dispatch()
8969
8970         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8971
8972         * lyxlayout.C (Read): honor DependsOn tag
8973
8974         * lyxlayout.[Ch] (depends_on): new method
8975
8976         * version.C.in: update lyx_docversion
8977
8978         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8979
8980         * paragraph.C (validate): remove from here...
8981         * paragraph_pimpl.C (validate): ... and move here
8982         (isTextAt): make it const
8983
8984         * buffer.C (getLists): ws cleanup
8985
8986 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8987
8988         * language.C (read): Use iso8859-1 encoding in latex_lang
8989         (this prevents LyX from crashing when using iso10646-1 encoding).
8990
8991 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * text2.C (toggleInset): if cursor is inside an inset, close the
8994         inset and leave cursor _after_ it
8995
8996 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * lyxfunc.C: move minibuffer completion handling out of here
8999
9000 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * BufferView_pimpl.C:
9003         * LaTeX.C: fix dispatch calls
9004
9005 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9006
9007         * text.C (drawChars): Fix Arabic text rendering.
9008
9009 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9010
9011         * LyXAction.C:
9012         * commandtags.h:
9013         * lyxfunc.C: remove message-push/pop
9014
9015         * lyxserver.C:
9016         * lyxfunc.h:
9017         * lyxfunc.C: rationalise some code by removing verboseDispatch
9018           in favour of a bool argument to dispatch()
9019
9020 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9021
9022         * lyx_main.C (init): make sure to read symlinks as absolute paths
9023
9024 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * lyxfunc.h:
9027         * lyxfunc.C: no need for commandshortcut to be a member
9028
9029 2002-07-15  André Pönitz <poenitz@gmx.net>
9030
9031         * converter.C: add support for $$s (scripts from lib/scripts dir)
9032         * lyx_main.C: white space
9033
9034 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * bufferlist.C:
9037         * lyxrc.h:
9038         * lyxrc.C: remove second exit confirmation
9039
9040 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * BufferView.h:
9043         * BufferView.C:
9044         * BufferView2.C:
9045         * BufferView_pimpl.h:
9046         * BufferView_pimpl.C:
9047         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9048
9049 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * MenuBackend.C (expand): add numeric shortcuts to document menu
9052
9053         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9054
9055 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * lyxfont.C (setLyXFamily):
9058         (setLyXSeries):
9059         (setLyXShape):
9060         (setLyXSize):
9061         (setLyXMisc):
9062         (lyxRead):
9063         * debug.C (value):
9064         * buffer.C (asciiParagraph): use ascii_lowercase
9065
9066 2002-07-15  Mike Fabian  <mfabian@suse.de>
9067
9068         * lyxlex_pimpl.C (search_kw):
9069         * lyxlex.C (getLongString):
9070         * converter.h (operator<):
9071         * converter.C (operator<):
9072         * buffer.C (parseSingleLyXformat2Token):
9073         (asciiParagraph):
9074         * ToolbarDefaults.C (read):
9075         * MenuBackend.C (checkShortcuts):
9076         (read):
9077         * LColor.C (getFromGUIName):
9078         (getFromLyXName): use the compare_ascii_no_case instead of
9079         compare_no_case, because in turkish, 'i' is not the lowercase
9080         version of 'I', and thus turkish locale breaks parsing of tags.
9081
9082 2002-07-16  Angus Leeming  <leeming@lyx.org>
9083
9084         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9085         now takes a Buffer const & argument.
9086
9087 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * BufferView.C (resize): check there's a buffer to resize
9090
9091 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9092
9093         * lyxfunc.C: remove dead code
9094
9095         * lyxserver.h:
9096         * lyxserver.C: use lyx_guii::set_read_callback
9097
9098 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9099
9100         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9101         an inset in a RTL paragraph.
9102
9103 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * lyxfunc.C: repaint after a font size update
9106
9107 2002-07-15  André Pönitz <poenitz@gmx.net>
9108
9109         * lyxlength.C: inBP should be able to return negative values
9110
9111 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * lyxfunc.C: use lyx_gui::update_fonts()
9114
9115 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * lyxfunc.C: use lyx_gui::update_color()
9118
9119 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * bufferlist.C:
9122         * lyxfunc.h:
9123         * lyxfunc.C:
9124         * lyxrc.h:
9125         * lyxrc.C: remove file->new asks for name option, and let
9126           buffer-new take an argument
9127
9128 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9129
9130         * BufferView_pimpl.C: remove unneeded extra repaint()
9131
9132 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9133
9134         * LyXAction.C: allow command-sequence with NoBuffer
9135
9136         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9137
9138 2002-07-10  Angus Leeming  <leeming@lyx.org>
9139
9140         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9141
9142 2002-07-09  Angus Leeming  <leeming@lyx.org>
9143
9144         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9145
9146 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9147
9148         * lengthcommon.h: whitespace
9149
9150         * lyxfunc.C: update scrollbar after goto paragraph
9151
9152         * lyxtext.h: factor out page break drawing, and fix it so
9153           page break/added space paints as selected nicely
9154
9155 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9156
9157         * BufferView_pimpl.C: add FIXMEs, clean up a little
9158
9159 2002-07-09  André Pönitz <poenitz@gmx.net>
9160
9161         * lyxfont.[Ch]: support for wasy symbols
9162
9163 2002-07-08  André Pönitz <poenitz@gmx.net>
9164
9165         * BufferView_pimpl.C: apply John's patch for #93.
9166
9167 2002-07-05  Angus Leeming  <leeming@lyx.org>
9168
9169         * BufferView_pimpl.C (buffer): generate previews if desired.
9170
9171         * LColor.h: add "preview" to the color enum.
9172
9173         * LColor.C (LColor): add a corresponding entry to the items array.
9174
9175         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9176         with this buffer.
9177
9178 2002-07-05  Angus Leeming  <leeming@lyx.org>
9179
9180         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9181         The body of the code is now in the method that is passed an ostream &
9182         rather than a file name.
9183         Pass an additional only_preamble parameter, useful for the forthcoming
9184         preview stuff.
9185
9186 2002-07-03  André Pönitz <poenitz@gmx.net>
9187
9188         * lyxfunc.C: simplify getStatus() a bit for math stuff
9189
9190 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9193
9194 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9195
9196         * text.C (changeRegionCase): do not change case of all the
9197         document when region ends at paragraph end (bug #461)
9198
9199 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9200
9201         * paragraph.C (startTeXParParams):
9202         (endTeXParParams): add \protect when necessary
9203
9204 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * BufferView_pimpl.C (workAreaExpose): remove warning
9207
9208 2002-06-27  Angus Leeming  <leeming@lyx.org>
9209
9210         * Makefile.am: add lyxlayout_ptr_fwd.h.
9211
9212 2002-06-26  André Pönitz <poenitz@gmx.net>
9213
9214         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9215
9216 2002-06-25  Angus Leeming  <leeming@lyx.org>
9217
9218         * lyxfunc.C (dispatch): Comment out the call to
9219         grfx::GCache::changeDisplay. The method no longer exists now that the
9220         pixmap generation part of the graphics loader has been moved into
9221         InsetGraphics.
9222
9223 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9224
9225         * text2.C: layout as layout
9226
9227         * text.C: layout as layout
9228
9229         * tabular.C (OldFormatRead): layout as layout
9230
9231         * paragraph_pimpl.C (TeXDeeper): layout as layout
9232         (realizeFont): layout as layout
9233
9234         * paragraph.C (writeFile): layout as layout
9235         (validate): layout as layout
9236         (getFont): layout as layout
9237         (getLabelFont): layout as layout
9238         (getLayoutFont): layout as layout
9239         (breakParagraph): layout as layout
9240         (stripLeadingSpaces): layout as layout
9241         (getEndLabel): layout as layout
9242         (getMaxDepthAfter): layout as layout
9243         (applyLayout): layout as layout
9244         (TeXOnePar): layout as layout
9245         (simpleTeXOnePar): layout as layout
9246         (TeXEnvironment): layout as layout
9247         (layout): layout as layout
9248         (layout): layout as layout
9249
9250         * lyxtextclass.C (compare_name): new functor to work with
9251         shared_ptr, layout as layout
9252         (Read): layout as layout
9253         (hasLayout): layout as layout
9254         (operator): layout as layout
9255         (delete_layout): layout as layout
9256         (defaultLayout): layout as layout
9257
9258         * lyxlayout_ptr_fwd.h: new file
9259
9260         * lyxlayout.C (Read): layout as layout
9261
9262         * lyx_cb.C (MenuInsertLabel): layout as layout
9263
9264         * bufferlist.C (newFile): layout as layout
9265
9266         * buffer.C (readLyXformat2): layout as layout
9267         (parseSingleLyXformat2Token): layout as layout
9268         (insertStringAsLines): layout as layout
9269         (asciiParagraph): layout as layout
9270         (latexParagraphs): layout as layout
9271         (makeLinuxDocFile): layout as layout
9272         (simpleLinuxDocOnePar): layout as layout
9273         (makeDocBookFile): layout as layout
9274         (simpleDocBookOnePar): layout as layout
9275         (getLists): layout as layout
9276
9277         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9278
9279         * CutAndPaste.C (cutSelection): layout as layout
9280         (pasteSelection): layout as layout
9281         (SwitchLayoutsBetweenClasses): layout as layout
9282
9283         * BufferView_pimpl.C (Dispatch): layout as layout
9284         (smartQuote): layout as layout
9285
9286         * BufferView2.C (unlockInset): layout as layout
9287
9288 2002-06-24  André Pönitz <poenitz@gmx.net>
9289
9290         * lyxfunc.C: fix #487
9291
9292 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9293
9294         * lyxrc.h:
9295         * lyxrc.C:
9296         * lyxfunc.C: remove display_shortcuts, show_banner
9297
9298 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * Buffer_pimpl.C: oops, update on resize
9301
9302 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * buffer.C:
9305         * converter.C:
9306         * exporter.C:
9307         * lyxfunc.C:
9308         * BufferView.h:
9309         * BufferView.C: use repaint()
9310
9311         * BufferView_pimpl.h:
9312         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9313           as it's a clearer description. Remove superfluous
9314           redraws.
9315
9316 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * text.C: fix bug 488. Not ideal, but getting
9319           getWord() to work properly for the insets that
9320           matter is more difficult ...
9321
9322 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * BufferView_pimpl.C:
9325         * LyXAction.C:
9326         * commandtags.h:
9327         * lyxfunc.C: remove the six million index lyxfuncs to just
9328           one, and DTRT (bug 458)
9329
9330 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * BufferView.h:
9333         * BufferView.C:
9334         * BufferView_pimpl.h:
9335         * BufferView_pimpl.C: clean up resize() stuff,
9336           and unnecessary updateScreen()s
9337
9338 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9339
9340         * BufferView.h:
9341         * BufferView.C:
9342         * BufferView_pimpl.h:
9343         * BufferView_pimpl.C:
9344         * lyxfind.h:
9345         * lyxfind.C:
9346         * minibuffer.C: remove focus management of workarea,
9347           not needed. Use screen's greyOut()
9348
9349 2002-06-17  Herbert Voss  <voss@lyx.org>
9350
9351         * converter.C: (convert) do not post a message, when converting
9352         fails, let the calling function decide what to do in this case
9353
9354 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * lyxfunc.C: tidy up a little
9357
9358 2002-06-16    <alstrup@diku.dk>
9359
9360         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9361         Got rid of FORMS_H_LOCATION include. Now we are
9362         GUII.
9363
9364 2002-06-15  LyX Development team  <lyx@rilke>
9365
9366         * buffer.[Ch] (sgmlOpenTag):
9367         (sgmlCloseTag): Added support for avoiding pernicious mixed
9368         content. Return number of lines written.
9369
9370         (makeLinuxDocFile):
9371         (makeDocBookFile): Fixed calls to sgml*Tag.
9372         Simple white space clean.
9373
9374         (simpleDocBookOnePar): Simple white space clean.
9375
9376         * tabular.[Ch] (docBook): Renamed to docbook and got another
9377         argument to related with the pernicious mixed content.
9378
9379         (docbookRow): Fixed calls for docbook inset method.
9380
9381 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9382
9383         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9384         so it's X11 independent.
9385
9386         * kb*.[Ch]: ditto.
9387
9388         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9389
9390 2002-06-15  Lyx Development team  <lyx@electronia>
9391
9392         * intl.h: Renamed getTrans to getTransManager.
9393
9394 2002-06-14  Angus Leeming  <leeming@lyx.org>
9395
9396         * Makefile.am: nuke forgotten stl_string_fwd.h.
9397
9398 2002-06-12  Angus Leeming  <leeming@lyx.org>
9399
9400         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9401
9402 2002-06-13  Angus Leeming  <leeming@lyx.org>
9403
9404         * LaTeX.C:
9405         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9406
9407 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9408
9409         * kbmap.C (getiso): add support for cyrillic and greek
9410
9411 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * BufferView.h:
9414         * BufferView.C:
9415         * BufferView_pimpl.h:
9416         * BufferView_pimpl.C: move bogus scrolling logic
9417           to xforms
9418
9419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * lyxfunc.C:
9422         * BufferView_pimpl.C: view->resize() change
9423
9424 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * BufferView_pimpl.C: topCursorVisible
9427           prototype change
9428
9429 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * Makefile.am:
9432         * lyx_gui.h:
9433         * lyx_gui.C: move to frontends/
9434
9435         * main.C:
9436         * lyx_main.h:
9437         * lyx_main.C: changes from above
9438
9439 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * intl.C:
9442         * intl.h:
9443         * kbmap.C:
9444         * kbsequence.C:
9445         * lyx_cb.C:
9446         * lyx_main.C: minor tidy
9447
9448 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * BufferView_pimpl.h:
9451         * BufferView_pimpl.C:
9452         * BufferView.h:
9453         * BufferView.C: make painter() const,
9454           remove dead code
9455
9456         * BufferView2.C: use screen() accessor
9457
9458         * lyx_main.h:
9459         * lyx_main.C: some minor cleanup
9460
9461 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9462
9463         * BufferView_pimpl.h:
9464         * BufferView_pimpl.C: remove enter/leaveView,
9465           use workHeight()
9466
9467 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * BufferView.h:
9470         * BufferView.C:
9471         * BufferView2.C:
9472         * BufferView_pimpl.h:
9473         * BufferView_pimpl.C: only construct screen once,
9474           rename
9475
9476         * lyxrc.C: remove pointless comment
9477
9478 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9479
9480         * BufferView.h:
9481         * BufferView.C: remove active() and belowMouse()
9482
9483         * BufferView_pimpl.h:
9484         * BufferView_pimpl.C: use workarea() not workarea_,
9485           and make it use a scoped_ptr instead
9486
9487 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * lyx_gui.C: add debug message on BadWindow
9490
9491 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * sp_spell.C: fdopen is not part of the C++ standard.
9494
9495         * paragraph.C (InsetIterator): use >= instead of ==
9496
9497 2002-06-07  Angus Leeming  <leeming@lyx.org>
9498
9499         Fixes needed to compile with Compaq cxx 6.5.
9500         * BufferView_pimpl.C:
9501         * DepTable.C:
9502         * buffer.C:
9503         * converter.C:
9504         * encoding.C:
9505         * lyx_gui.C:
9506         * lyx_main.C:
9507         * lyxtextclasslist.C:
9508         * minibuffer.C:
9509         * sp_spell.C:
9510         * tabular_funcs.C:
9511         * vc-backend.C:
9512         all c-library variables have been moved into namespace std. Wrap
9513         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9514
9515         * lyxlength.C:
9516         * tabular-old.C:
9517         * tabular.C:
9518         Add a using std::abs declaration.
9519
9520         * kbmap.h (modifier_pair):
9521         * paragraph.h (InsetTable, InsetList):
9522         * lyxfont.h (FontBits):
9523         type definition made public.
9524
9525         * bufferlist.C (emergencyWriteAll): the compiler complains that
9526         there is more than one possible lyx::class_fun template to choose from.
9527         I re-named the void specialisation as lyx::void_class_fun.
9528
9529         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9530
9531         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9532         the compiler is is unable to find tostr in write_attribute.
9533
9534 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * buffer.C (sgmlError): hide #warning
9537
9538 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9539
9540         * xtl/*: get rid of xtl, which is not in use anyway
9541
9542         * LyXAction.C (init):
9543         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9544         were unimplemented xtl experimentation
9545
9546 2002-06-04  André Pönitz <poenitz@gmx.net>
9547
9548         * lyxfunc.C: disable array operation on simple formulae
9549
9550 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9551
9552         * converter.C: constify a bit
9553
9554 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * lyx_gui.C: check xforms version correctly
9557
9558 2002-04-30  Herbert Voss  <voss@lyx.org>
9559
9560         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9561         "keep" option
9562
9563 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9564
9565         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9566           attempt to register it with a VCS)
9567
9568 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * lyx_main.C (init): honor variables LYX_DIR_13x and
9571         LYX_USERDIR_13x
9572
9573 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * buffer.h:
9576         * buffer.C:
9577         * lyx_main.C: fix a crash on bad command line,
9578           and give a useful exit status on error
9579
9580         * lyxfunc.C (doImport): allow -i lyx to work
9581
9582 2002-03-30  André Pönitz <poenitz@gmx.net>
9583
9584         * lyxfunc.C: mathed font changes
9585
9586 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * LaTeX.C:
9589         * importer.h:
9590         * importer.C:
9591         * lyx_sty.h:
9592         * lyx_sty.C:
9593         * lyxlex.C:
9594         * lyxrow.h:
9595         * lyxtext.h:
9596         * paragraph.h:
9597         * paragraph.C:
9598         * texrow.h:
9599         * texrow.C:
9600         * text.C:
9601         * trans_mgr.h: srcdocs, and some minor cleanups
9602
9603 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9606         call getFont all the time)
9607
9608 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9609
9610         * switch from SigC signals to boost::signals
9611
9612 2002-05-29  André Pönitz <poenitz@gmx.net>
9613
9614         * paragraph_pimpl.C (getChar): don't call size() too often...
9615
9616 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9617
9618         * paragraph_pimpl.C (insertChar): do not try to update tables when
9619         appending (pos == size())
9620
9621         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9622         in order to reduce drastically the number of comparisons needed to
9623         parse a large document
9624
9625 2002-05-29  André Pönitz <poenitz@gmx.net>
9626
9627         * text.C:
9628         * text2.C:
9629         * lyxtextclass.C:
9630         * sp_pspell.h:
9631         * textclasslist.[Ch]:
9632         * sp_ispell.h: whitespace change
9633
9634 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9637         lyxaction directly now.
9638
9639 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * trans.C:
9642         * lyxfont.C:
9643         * lyxvc.C: remove unused headers
9644
9645 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * Makefile.am:
9648         * buffer.h:
9649         * undostack.h:
9650         * undostack.C:
9651         * undo_funcs.h:
9652         * undo_funcs.C: some cleanups. Use shared_ptr
9653           and a template for the undo stacks.
9654
9655 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9656
9657         * BufferView_pimpl.h:
9658         * BufferView_pimpl.C:
9659         * kbmap.h:
9660         * kbmap.C:
9661         * kbsequence.h:
9662         * kbsequence.C:
9663         * lyxfunc.h:
9664         * lyxfunc.C:
9665         * text2.C: use key_state/mouse_state
9666
9667 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9668
9669         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9670         and LSubstring
9671
9672         * chset.C: change include order
9673         (loadFile): use boost regex and get rid of LRegex and LSubstring
9674
9675         * Makefile.am (BOOST_LIBS): new variable
9676         (lyx_LDADD): use it
9677
9678         * LaTeX.C: change include order.
9679         (scanAuxFile): use boost regex and get rid of LRegex and
9680         LSubstring
9681         (deplog): ditto
9682
9683 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * ColorHandler.h:
9686         * ColorHandler.C:
9687         * FontInfo.h:
9688         * FontInfo.C: moved to frontends/xforms/
9689
9690         * FontLoader.h:
9691         * FontLoader.C: moved into frontends for GUIIzation
9692
9693         * Makefile.am:
9694         * lyx_gui.C:
9695         * lyxfont.C:
9696         * lyxfunc.C: changes from above
9697
9698 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * LColor.C: remove spurious X include
9701
9702         * BufferView_pimpl.C:
9703         * Makefile.am:
9704         * font.h:
9705         * font.C:
9706         * text.C:
9707         * text2.C: move font metrics to frontends/
9708
9709 2002-05-24  Juergen Vigna  <jug@sad.it>
9710
9711         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9712         setting the undo_cursor.
9713
9714         * ParagraphParameters.h: include local includes first.
9715
9716 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * BufferView_pimpl.C:
9719         * BufferView_pimpl.h:
9720         * Makefile.am:
9721         * WorkArea.h:
9722         * WorkArea.C:
9723         * screen.C: move WorkArea into frontends/
9724
9725         * lyxscreen.h:
9726         * screen.C:
9727         * text.C:
9728         * BufferView.C:
9729         * BufferView2.C: move LyXScreen into frontends/
9730
9731         * lyxlookup.h:
9732         * lyxlookup.C:
9733         * lyx_gui.C: move lyxlookup into frontends/xforms/
9734
9735 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9736
9737         * BufferView2.C:
9738         * BufferView_pimpl.C:
9739         * FontLoader.C:
9740         * LyXView.h:
9741         * LyXView.C:
9742         * Makefile.am:
9743         * WorkArea.C:
9744         * XFormsView.h:
9745         * XFormsView.C:
9746         * buffer.C:
9747         * bufferlist.C:
9748         * bufferview_funcs.C:
9749         * converter.C:
9750         * importer.C:
9751         * lyx_cb.C:
9752         * lyx_gui.C:
9753         * lyx_main.C:
9754         * lyx_find.C:
9755         * lyxfunc.C:
9756         * lyxvc.C:
9757         * minibuffer.C:
9758         * text.C:
9759         * text2.C:
9760         * trans.C:
9761         * vc-backend.C: move LyX/XFormsView into frontends/
9762
9763 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * Makefile.am:
9766         * PainterBase.C:
9767         * PainterBase.h:
9768         * Painter.C:
9769         * Painter.h:
9770         * WorkArea.C:
9771         * WorkArea.h:
9772         * screen.C:
9773         * tabular.C:
9774         * text.C:
9775         * text2.C: move Painter to frontends/
9776
9777 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9778
9779         * buffer.C: comment out some some code that depend upon lyx_format
9780         < 220
9781
9782         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9783         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9784
9785         * buffer.h (NO_COMPABILITY): turn off compability
9786
9787         * ColorHandler.C: include scoped_array.hpp
9788
9789         * font.C: Use more specific smart_ptr header.
9790         * Painter.C: ditto
9791         * gettext.C: ditto
9792         * ShareContainer.h: ditto
9793         * lyx_main.h: ditto
9794         * kbmap.h: ditto
9795         * FontInfo.h: ditto
9796         * BufferView_pimpl.h: ditto
9797         * ColorHandler.h: ditto
9798
9799         * kbmap.C (defkey): change call to shared_ptr::reset
9800
9801 2002-05-21  Juergen Vigna  <jug@sad.it>
9802
9803         * buffer.C (insertErtContents): fix to insert ert asis if it is
9804         non empty. Skip it completely if it contains only whitespaces.
9805
9806 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9807
9808         * BufferView_pimpl.C:
9809         * BufferView2.C: clear selection on paste (bug 393)
9810
9811 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9812
9813         * DepTable.C: include ctime
9814
9815 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9816
9817         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9818
9819 2002-05-14  Juergen Vigna  <jug@sad.it>
9820
9821         * text.C (breakParagraph): fixed function to honor the keepempty
9822         layout in the right maner and also to permit the right breaking
9823         algorithm on empty or non empyt keepempty paragraphs.
9824
9825         * paragraph.C (breakParagraph): we have to check also if the par
9826         is really empty (!size()) for isempty otherwise we do the wrong
9827         paragraph break.
9828
9829 2002-05-10  Juergen Vigna  <jug@sad.it>
9830
9831         * buffer.[Ch] : The following are only changes to the ert
9832         compatibility read reading old LaTeX layout and font stuff and
9833         convert it to ERTInsets.
9834
9835         * buffer.h: added isErtInset().
9836
9837         * buffer.C (struct ErtComp): add a fromlayout bool to check
9838         if we're inside a LaTeX layout.
9839         (isErtInset): new helper function.
9840         (insertErtContents): look for other ert insets before this one
9841         and insert the contents there, so that we don't have subsequent
9842         ERT insets with nothing between them. This way we create only one
9843         inset with multiple paragraphs. Also check if we don't insert only
9844         spaces ' ' as they are ignored anyway afterwards in the .tex file
9845         so if we have only spaces we will ignore this latex part in the
9846         new file.
9847         (parseSingleLyXformat2Token \\layout): better compatibility when
9848         reading layout-latex stuff.
9849         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9850         language tag.
9851         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9852         stuff after reading the inset only get the information back from
9853         the stack.
9854
9855 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9856
9857         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9858
9859         * LaTeXFeatures.C (getBabelOptions): New method.
9860
9861 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9862
9863         * BufferView_pimpl.C (Dispatch): work around missing argument for
9864         'layout'
9865
9866 2002-05-08  Juergen Vigna  <jug@sad.it>
9867
9868         * text.C (leftMargin): handle paragraph leftindent.
9869
9870         * paragraph.C (writeFile): write the new \\leftindent tag.
9871         (validate): handle leftindent code.
9872         (TeXEnvironment): handle paragraphleftindent code again.
9873
9874         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9875
9876         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9877         for paragrap_extra indent code and new token \\leftindent.
9878         (latexParagraphs): handle the leftindent as environment.
9879
9880         * ParameterStruct.h: added leftindent support.
9881
9882         * ParagraphParameters.C (leftIndent): added support functions for
9883         the paragraph left indent.
9884
9885         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9886         more appropriate.
9887
9888 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9891         inside insetERT.
9892
9893         * text.C (computeBidiTables): No bidi in insetERT.
9894
9895         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9896         in RTL documents.
9897
9898 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9899
9900         * version.C.in: pre 5
9901
9902 2002-05-02  José Matos  <jamatos@fep.up.pt>
9903         * buffer.C (makeDocBookFile): white space changes, add newline to
9904         command styles.
9905         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9906
9907         * tabular.C (docBook): fix typo.
9908
9909 2002-05-03  Juergen Vigna  <jug@sad.it>
9910
9911         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9912         change in LyXText as we can not be sure it was not freed.
9913         (drawOneRow): remove unused code.
9914
9915         * text.C (drawInset): redo the calculation of the need_break_row as
9916         it could have a row which was already freed.
9917         (draw): look at the return value of drawInset and return false if
9918         it also returned false.
9919         (paintRowText): look at the return value of draw and return false if
9920         it also returned false.
9921
9922         * lyxtext.h: added bool return type to drawInset() and draw() so that
9923         if we have a change in the row so that the rowbreak has to be redone
9924         we abort drawing as it will be called again.
9925
9926 2002-05-02  Juergen Vigna  <jug@sad.it>
9927
9928         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9929         a change in the maintext also if we're inside an inset.
9930         (Dispatch): set the cursor again after a break line and after the
9931         screen has been updated as it could be we're in a different row.
9932
9933         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9934         to set the cursor behind the pargraph with > size().
9935         (setCursor): check also for the same paragraph when checking where
9936         to put the cursor if we have a NFR inset.
9937
9938         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9939         parts of layout read further up as it still was in the wrong
9940         position.
9941
9942 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * screen.C (drawFromTo): change sine fullRebreak always return
9945         true.
9946
9947         * buffer.C (parseSingleLyXformat2Token): reindent some
9948
9949         * BufferView_pimpl.C (update): change since fullRebreak always
9950         return true.
9951         (Dispatch): git rid of the last hardcoded "Standard"s.
9952
9953 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * text2.[Ch] (fullRebreak): make it return void now that we always
9956         returned true.
9957
9958 2002-04-30  Juergen Vigna  <jug@sad.it>
9959
9960         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9961         ert compatibility check for "latex" layout.
9962
9963 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9964
9965         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9966         minipages: use col% instead of p%, and also use the current font.
9967         (makeLaTeXFile): Fix use babel condition.
9968         (parseSingleLyXformat2Token): Correct font when reading old floats.
9969
9970 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9971
9972         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9973         inserting list of floats.
9974
9975 2002-04-25  Herbert Voss  <voss@lyx.org>
9976
9977         * MenuBackend.C (expand): don't add the graphics extensions to the
9978         export menu
9979
9980 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9983         non-existing layout, do not complain if it was the default layout
9984         of the original class (bug #342)
9985
9986 2002-04-24  Juergen Vigna  <jug@sad.it>
9987
9988         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9989         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9990
9991 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9992
9993         * buffer.C (getBibkeyList): If using \bibliography, return the
9994         option field with the reference itself. Enables us to provide natbib
9995         support when using \bibliography.
9996
9997 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9998
9999         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10000
10001         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10002         natbib is provided by the LaTeX class.
10003
10004 2002-04-23  Juergen Vigna  <jug@sad.it>
10005
10006         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10007         Wakeup functions.
10008
10009         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10010
10011 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10014
10015         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10016         ensuremath around textordmasculine, textordfeminine and
10017         textdegree.
10018
10019 2002-04-19  Juergen Vigna  <jug@sad.it>
10020
10021         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10022         reinitializing the buffer otherwise row-dimensions may be wrong.
10023         (update): reset also the selection cursors if they do exits otherwise
10024         their x/y positions may be wrong.
10025
10026         * text2.C (cursorDown): don't enter the inset if we came from a row
10027         above and are one row over the inset.
10028
10029         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10030         really leaving an inset.
10031
10032 2002-04-18  Juergen Vigna  <jug@sad.it>
10033
10034         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10035         of the selected paragraph does not have the selected layout also if
10036         the last one had!
10037
10038         * text2.C (setLayout): fixed bug which did not change last selected
10039         paragraph.
10040
10041         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10042         changed the read and substituted \\end_float with \\end_inset!
10043
10044         * BufferView_pimpl.C (cursorPrevious):
10045         (cursorNext): fixed to make it work with rows heigher than the work
10046         area without moving the cursor only the draw of the row.
10047         (workAreaMotionNotify): fix jumping over high rows.
10048
10049 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10052         Ressler.
10053
10054 2002-04-16  Juergen Vigna  <jug@sad.it>
10055
10056         * text2.C (setCursor): set also the irow().
10057         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10058         (cursorUp):
10059         (cursorDown): support for locking an inset if the x_fix value goes
10060         inside it. That way I can transverse insets too with cursor up/down.
10061
10062         * lyxrow.h: added irow helper function same as other (i) functions.
10063
10064         * BufferView_pimpl.C (cursorPrevious):
10065         (cursorNext): fixed for insets!
10066
10067 2002-04-15  Juergen Vigna  <jug@sad.it>
10068
10069         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10070         position otherwise it is wrong in some cases.
10071
10072         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10073         inside the inset before the call.
10074
10075 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10076
10077         * buffer.[Ch] (getBibkeyList): make it const.
10078
10079 2002-04-12  Juergen Vigna  <jug@sad.it>
10080
10081         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10082
10083         * text2.C (getCursorX): new helper function
10084         (setCursor): compute also ix_
10085         (setCursorFromCoordinates): set also ix.
10086
10087         * lyxcursor.h: added ix_ and helper functions.
10088
10089         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10090
10091         * buffer.C (insertStringAsLines): dont break paragraph if the this
10092         paragraph is inside an inset which does not permit it!
10093
10094         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10095         also with no chars on this paragraph.
10096         (paintRowText): only paint stuff if it's inside the workarea!
10097
10098         * paragraph.C (breakParagraph): honor keepempty flag and break the
10099         paragraph always below not above.
10100
10101         * BufferView2.C (unlockInset): update the paragraph layout on inset
10102         unlock as we changed paragraph in such a case.
10103
10104         * lyxfind.C (LyXFind): clear the former selection if not found!
10105
10106         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10107         again called in insertChar().
10108
10109         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10110         an inset which uses the whole row!
10111         (rightMargin): ditto.
10112         (insertChar): force a rebreak if we inserted an inset!
10113
10114 2002-03-28  Herbert Voss  <voss@lyx.org>
10115
10116         * lyxlength.[Ch]: add inBP() to get the right PS-point
10117         units (BigPoint). With inPixels we have rounding errors
10118
10119 2002-04-11  Juergen Vigna  <jug@sad.it>
10120
10121         * text2.C (setCursorFromCoordinates): set iy to the right value.
10122         (setCursor): add check if row->previous exists!
10123
10124         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10125         an old float_type as this was the case in the old code!
10126
10127         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10128
10129         * BufferView2.C (showLockedInsetCursor): use iy
10130         (fitLockedInsetCursor): ditto
10131
10132         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10133         locked insets as there we have the right value now.
10134
10135         * lyxcursor.C: added iy_ variable and iy functions to set to the
10136         baseline of cursor-y of the locked inset.
10137
10138         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10139         (setCursor): fixed for insets which need a full row.
10140
10141         * text.C (rowLastPrintable): don't ignore the last space when before
10142         an inset which needs a full row.
10143         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10144         as last character of a row when before a inset which needs a full row.
10145
10146 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * version.C.in: update date
10149
10150         * text2.C (fullRebreak): try to always return true and see what
10151         happens...
10152
10153 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10154
10155         * MenuBackend.C (expand): use Floating::listName
10156
10157         * FloatList.C (FloatList): add listName argument to the built-in
10158         floats
10159
10160         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10161         text associated with the float.
10162
10163 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10166
10167 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * ShareContainer.h: add a couple of missing typenames.
10170
10171 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10172
10173         * lyxrc.C (getDescription): use _() correctly rather than N_().
10174
10175 2002-03-28  Herbert Voss  <voss@lyx.org>
10176
10177         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10178         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10179
10180 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10181
10182         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10183         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10184
10185 2002-03-29  Juergen Vigna  <jug@sad.it>
10186
10187         * lyxfunc.C (dispatch): add a missing fitCursor call.
10188
10189         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10190         it was scrolled by a cursor move, so return the bool status.
10191
10192         * BufferView.C (fitCursor): return the bool flag also to the outside
10193         world as this is needed.
10194
10195         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10196
10197         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10198         call the edit() as it is not needed (and wrong) IMO.
10199         (workAreaButtonPress): set the screen_first variable before evt.
10200         unlock the inset as this may change screen_first and then we have
10201         a wrong y position for the click!
10202
10203 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * MenuBackend.C (expand): another translation that I missed
10206
10207 2002-03-28  Juergen Vigna  <jug@sad.it>
10208
10209         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10210
10211         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10212
10213 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10216
10217         * MenuBackend.C (expand): fix export/view/update when there is no
10218         document open.
10219
10220 2002-03-27  Herbert Voss  <voss@lyx.org>
10221
10222         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10223         and text%
10224
10225 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10226
10227         * bufferview_funcs.C (currentState): only show paragraph number
10228         for is DEVEL_VERSION is set.
10229
10230         * lyxfunc.C (dispatch): put warning in INFO channel
10231
10232         * MenuBackend.C (expand): translate the name of floats
10233
10234         * FloatList.C (FloatList): mark the float names for translation
10235
10236         * converter.C (convert): use LibScriptSearch
10237
10238 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * MenuBackend.C (defaults): fix default menu (we might as well get
10241         rid of it...)
10242
10243 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10246         directory.
10247
10248 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10249
10250         * lyxvc.C: reorder includes.
10251
10252 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10255           properly
10256
10257 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * CutAndPaste.C: change layouts earlier on paste
10260           to avoid crashing when calling getFont()
10261
10262 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10263
10264         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10265         irritating #error.
10266
10267 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10268
10269         * WorkArea.C: remove 'Pending' debug message.
10270
10271         * most files: ws cleanup
10272
10273         * buffer.[Ch]: ws changes
10274
10275         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10276
10277 2002-03-21  Juergen Vigna  <jug@sad.it>
10278
10279         * tabular.C (SetMultiColumn): collapse also the contents of the
10280         cells and set the last border right. Added a Buffer const * param.
10281
10282 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10283
10284         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10285         linking or not.
10286
10287 2002-03-19  Juergen Vigna  <jug@sad.it>
10288
10289         * text2.C (clearSelection): reset also xsel_cache.
10290
10291         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10292         where it needs to be called (John tells us to do so too :)
10293         (selectionLost): reset sel_cache.
10294
10295         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10296
10297 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * text2.C (setCursorIntern): put debuging code in INSETS channel
10300
10301 2002-03-19  André Pönitz <poenitz@gmx.net>
10302
10303         * lyxfunc.C: tiny whitespace change
10304
10305 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * ToolbarDefaults.C (init):
10308         * LyXAction.C (init):
10309         * commandtags.h:
10310         * BufferView_pimpl.C (Dispatch):
10311         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10312
10313 2002-03-19  Allan Rae  <rae@lyx.org>
10314
10315         * exporter.C (Export): removeAutoInsets before doing anything else.
10316         While I've just introduced a dependency on BufferView this really is
10317         the best place to clean the buffer otherwise you need to cleanup in
10318         a dozen places before calling export or cleanup in a dozen functions
10319         that export calls.
10320
10321         * converter.C (runLaTeX):
10322         (scanLog): Better handling of removeAutoInsets and screen updates.
10323
10324         * lyxfunc.C (dispatch): small whitespace changes
10325
10326 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * WorkArea.C (C_WorkAreaEvent): return a value.
10329         (event_cb): return 1 if we handled the event, 0 otherwise.
10330
10331         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10332
10333 2002-03-18  Juergen Vigna  <jug@sad.it>
10334
10335         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10336         (GetAdditionalWidth): ditto.
10337         (RightLine): ditto.
10338         (LeftLine): ditto.
10339
10340         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10341         inset if we're there actually (probably not used right now but this
10342         is the direction to go for unifying code).
10343         (paste): disable code to clear the selection.
10344
10345         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10346         inside an InsetText and move the check further up as it is in the
10347         wrong place.
10348
10349         * text2.C (pasteSelection): set a selection over the pasted text.
10350
10351 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10352
10353         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10354         and libgraphics to build on Cygwin.
10355
10356 2002-03-15  Juergen Vigna  <jug@sad.it>
10357
10358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10359         inserting an Inset into the paragraph. I know this is not the best
10360         fix but we already use current_view in CutAndPaste so we will remove
10361         all of it's using at the same time.
10362
10363         * buffer.C (sgmlError): deactivated function till it is rewritten in
10364         the right mode, now it can create problems.
10365
10366         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10367         before accessing it.
10368
10369 2002-03-14  Juergen Vigna  <jug@sad.it>
10370
10371         * undo_funcs.C (textHandleUndo): do the right thing when updating
10372         the inset after the undo/redo.
10373
10374         * text2.C (setCursor): just some testcode for #44 not ready yet.
10375
10376         * undo_funcs.C (textHandleUndo): set the next() and previous()
10377         pointers of the paragraph to 0 before deleting otherwise we have
10378         problems with the Paragraph::[destructor].
10379
10380         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10381         on a paragraph insertion.
10382
10383 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10384
10385         * buffer.C (asciiParagraph): use += operator for char append to
10386         string.
10387
10388         * paragraph.C (getFontSettings): compare >= not just >
10389         (highestFontInRange): ditto
10390         (setFont): ditto
10391
10392 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10393
10394         * paragraph.C: change several algorithm to be more appripriate for
10395         the problem domain. This is lookip in FontList and in the InsetList.
10396
10397 2002-03-13  André Pönitz <poenitz@gmx.net>
10398
10399         * commandtags.h:
10400         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10401
10402 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * commandtags.h:
10405         * LyXAction.C:
10406         * lyxfunc.C:
10407         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10408
10409 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10410
10411         * Painter.C (display): anon helper function, adjust code for this
10412         change.
10413         (pixmap): remove function.
10414
10415         * Painter.h: remove private display variable.
10416
10417         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10418
10419 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10420
10421         * WorkArea.[Ch]: remove figinset_canvas cruft.
10422
10423 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10424
10425         * lyxtextclass.C (operator): add one item cache optimization.
10426
10427         * bufferlist.h: doxy changes
10428
10429         * bufferlist.C: ws changes
10430
10431         * DepTable.[Ch] (ext_exist): place const in the right spot.
10432
10433         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10434         call resizeInsets.
10435         (workAreaExpose): call resizeInsets when the with BufferView changes.
10436         (Dispatch): adjust for protectedBlank removal
10437         (specialChar): call updateInset if the insert went ok.
10438
10439         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10440         specialChar instead.
10441
10442         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10443
10444         * BufferView.h: doxy change
10445
10446         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10447
10448         * lyxtextclass.C (operator[]): remove non-const version
10449         (defaultLayout): remove non-const version
10450
10451 2002-03-12  Juergen Vigna  <jug@sad.it>
10452
10453         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10454         did resize the LyXText too.
10455
10456         * buffer.C (readLyXformat2): set layout information on newly allocated
10457         paragraphs.
10458
10459         * tabular.C (OldFormatRead): set layout information on the paragraph.
10460
10461 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10462
10463         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10464
10465 2002-03-11  Juergen Vigna  <jug@sad.it>
10466
10467         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10468         plainly wrong.
10469         (resizeCurrentBuffer): force also the insets to resize themselfes.
10470         (moveCursorUpdate): fixed up for InsetText.
10471
10472 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10473
10474         * commandtags.h:
10475         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10476         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10477         value of Dialogs::tooltipsEnabled().
10478         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10479
10480 2002-03-08  Juergen Vigna  <jug@sad.it>
10481
10482         * BufferView_pimpl.C (updateInset): update inset inside inset also
10483         if it isn't inside theLockingInset().
10484
10485 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * buffer.C (asciiParagraph): redo some of the word and line length
10488         handling.
10489         (getLists): look for Caption instead of caption.
10490
10491 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * buffer.C (Buffer): initialize niceFile to true
10494         (makeLaTeXFile):
10495         (makeLinuxDocFile):
10496         (makeDocBookFile): make sure niceFile is true on exit
10497
10498 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10501
10502 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * LyXSendto.C: remove.
10505         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10506         * lyx_gui.C: remove now-redundant comment.
10507         * ColorHandler.h: remove forward declaration of class WorkArea.
10508         * lyxfunc.C: remove #include "WorkArea.h".
10509
10510 2002-03-07  Juergen Vigna  <jug@sad.it>
10511
10512         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10513         got moved away with the DEPM and also set the inset_owner always
10514         right which before could have been omitted.
10515
10516 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10519         wanted layout is not found.
10520
10521 2002-03-07  Juergen Vigna  <jug@sad.it>
10522
10523         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10524
10525 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * paragraph.C (breakParagraph): use default layout not layout of
10528         prev paragraph.
10529         (Paragraph): clear ParagraphParameters.
10530
10531 2002-03-06  Juergen Vigna  <jug@sad.it>
10532
10533         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10534         otherwise it would not be a valid lenght. Fixed a special case in
10535         the minipage compatibility read where we end the document with a
10536         minipage.
10537
10538         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10539         was set as it could be 0 for InsetTexts first entry.
10540
10541 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * paragraph.C (writeFile): if layout is empty write out
10544         defaultLayoutName().
10545
10546         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10547         file without named layout we set layout to defaultLayoutName().
10548
10549 2002-03-06  Juergen Vigna  <jug@sad.it>
10550
10551         * CutAndPaste.C (copySelection): set layout for new paragraph.
10552
10553         * text.C (prepareToPrint): leave ERT inset left aligned
10554         (leftMargin): don't indent paragraphs inside ERT insets
10555
10556 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * paragraph.C (breakParagraph): dont call clear do the work manually
10559
10560         * paragraph.[Ch] (clear): remove function
10561
10562 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10563
10564         * paragraph.C (Paragraph): dont call clear, the work has already
10565         been done.
10566
10567         * lyxtextclass.C (operator): assert if n is empty
10568
10569         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10570         work manually instead.
10571
10572 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * BufferView_pimpl.C: protect selectionLost against text == 0
10575
10576 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * text.C (breakParagraph): fix a setting layout to '0' problem.
10579
10580 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10581
10582         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10583         final location of file, for the included files, and graphics.
10584
10585 2002-03-05  Juergen Vigna  <jug@sad.it>
10586
10587         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10588
10589 2002-03-04  Juergen Vigna  <jug@sad.it>
10590
10591         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10592
10593         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10594         last column of multicolumn cells.
10595         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10596
10597 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10598
10599         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10600         file if it doesn't go to a temporary file.
10601
10602         * buffer.C (sgmlOpenTag):
10603         (sgmlCloseTag):  remove extra newline insertion.
10604
10605 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * text.C (getRowNearY): comment out debug msg
10608
10609 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * text2.C: first -> first_y
10612
10613         * text.C (getRowNearY): add some attemts at a possible
10614         optimization, not working.
10615
10616         * tabular.[Ch]: add BufferParams to several function so that newly
10617         created paragraph can be initialized to he default layotu for the
10618         buffers textclass.
10619
10620         * tabular-old.C (ReadOld): add buf->params to call of Init
10621
10622         * screen.C: rename text->first to text->first_y
10623
10624         * paragraph.C (breakParagraph): always set layout in the broken
10625         paragraph
10626
10627         * lyxtextclass.C (Read): remove lowercase
10628         (hasLayout): ditto
10629         (operator): ditto
10630         (delete_layout): ditto
10631
10632         * lyxtext.h: rename first -> first_y
10633
10634         * lyxlayout.C (Read): remove lowercase
10635         (name): ditto
10636         (setName): ditto
10637         (obsoleted_by): ditto
10638
10639         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10640
10641         * buffer.C (insertErtContents): add params are to InsetERT
10642         (parseSingleLyXformat2Token): add code to check if a paragraphs
10643         layout really exist.
10644         (parseSingleLyXformat2Token): add params to several inset
10645         constructors
10646         (asciiParagraph): remove lowercase, do the layout comparisons with
10647         no_case
10648
10649         * BufferView_pimpl.C (cursorNext): first -> first_y
10650         (resizeCurrentBuffer): first -> first_y
10651         (updateScrollbar): first -> first_y
10652         (scrollCB): first -> first_y
10653         (workAreaMotionNotify): first -> first_y
10654         (workAreaButtonPress): first -> first_y
10655         (checkInsetHit): first -> first_y
10656         (cursorPrevious): first -> first_y
10657         (cursorNext): first -> first_y
10658         (Dispatch): add buffer_->params to severl inset contructors
10659
10660 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * lyxlayout.C (Read): remove some debug info that I forgot.
10663
10664         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10665         clean up the code slightly.
10666         (makeLinuxDocFile): ditto
10667         (makeDocBookFile): ditto
10668
10669         * text2.C: layout as string
10670
10671         * text.C: layout as string
10672
10673         * paragraph_pimpl.C: layout as string
10674
10675         * paragraph.[Ch]: layout as string
10676
10677         * lyxtextclasslist.[Ch]: layout as string
10678
10679         * lyxtextclass.[Ch]: layout as string
10680
10681         * lyxtext.h: layout as string
10682
10683         * lyxlayout.[Ch]: layout as string
10684
10685         * lyx_cb.C: layout as string
10686
10687         * bufferview_funcs.C: layout as string
10688
10689         * bufferparams.C: layout as string
10690
10691         * buffer.C: layout as string
10692
10693         * LyXView.[Ch]: layout as string
10694
10695         * LaTeXFeatures.[Ch]: layout as string
10696
10697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10698
10699         * BufferView_pimpl.C: change current_layout to string, remove
10700         lyx::layout_type.
10701         (Dispatch):
10702         (smartQuote):
10703         (insertInset):
10704         (workAreaButtonRelease): layout as string
10705
10706         * BufferView2.C (unlockInset): adjust
10707
10708         * vspace.C (asLatexCommand): use an explict temp variable.
10709
10710 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * Makefile.am: use FRONTEND_*
10713
10714 2002-03-01  Juergen Vigna  <jug@sad.it>
10715
10716         * tabular.C (SetWidthOfMulticolCell): changed to something better
10717         I hope but still work in progress.
10718         (recalculateMulticolumnsOfColumn): renamed function from
10719         recalculateMulticolCells as it is more appropriate now.
10720         (SetWidthOfCell): calculate multicols better.
10721
10722 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10725
10726         * lyxfunc.C (processKeySym): print sequence also if it is
10727         `deleted' (complete)
10728
10729         * kbsequence.C (print): print sequence even if it is deleted
10730         (complete would be a better word, actually).
10731
10732         * lyxfunc.C (dispatch): print complete options after a prefix key
10733
10734         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10735
10736 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10737
10738         * text2.C (setCharFont): eliminate setCharFont code duplication.
10739
10740 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10741
10742         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10743         LFUN_TABULAR_FEATURE (bug #177)
10744
10745 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * Makefile.am: remove figure.h
10748
10749 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10750
10751         * Bufferview_pimpl.C:
10752         * CutAndPasteC:
10753         * LaTeX.C:
10754         * LyXSendto.C:
10755         * buffer.C:
10756         * bufferlist.C:
10757         * converter.C:
10758         * language.C:
10759         * lyxfunc.C:
10760         * lyxvc.C:
10761         * paragraph.C:
10762         * text.C:
10763         * text2.C: remove #include "lyx_gui_misc.h".
10764
10765         * LaTeX.C: added #include <cstdio>
10766
10767 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10768
10769         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10770         that the paragraph following this one can have.
10771
10772         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10773
10774         * vspace.C (asLatexCommand): fix bogus gcc warning
10775
10776         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10777
10778 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10779
10780         * text2.C (setLayout): get rid of redundant code
10781
10782 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10783
10784         * text2.C (incDepth): make sure depth cannot be increased beyond
10785         reasonable values.
10786
10787 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10788
10789         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10790         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10791
10792         * PainterBase.h (image):
10793         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10794         a LyXImage const *.
10795
10796 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * BufferView.C:
10799         * BufferView.h:
10800         * BufferView_pimpl.C:
10801         * BufferView_pimpl.h:
10802         * LaTeXFeatures.C:
10803         * LyXAction.C:
10804         * LyXView.C:
10805         * Makefile.am:
10806         * UpdateList.h:
10807         * UpdateList.C:
10808         * buffer.C:
10809         * figure.h:
10810         * figureForm.C:
10811         * figureForm.h:
10812         * figure_form.C:
10813         * figure_form.h:
10814         * lyx_cb.C:
10815         * lyx_gui.C:
10816         * lyx_gui_misc.C:
10817         * lyxfunc.C:
10818         * sp_base.h:
10819         * sp_ispell.h:
10820         * sp_pspell.h:
10821         * sp_spell.C: remove fig inset, and the crap house of
10822           cards that follows it
10823
10824 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * Makefile.am:
10827         * lyxserver.C:
10828         * os2_defines.h:
10829         * os2_errortable.h:
10830         * nt_defines.h: move .h into support/
10831
10832         * vms_defines.h: remove
10833
10834         * WorkArea.C: add space in debug output
10835
10836         * text2.C:
10837         * paragraph.C:
10838         * buffer.C: add WITH_WARNINGS
10839
10840         * vc-backend.h:
10841         * vc-backend.C:
10842         * bufferlist.C: s/retrive/retrieve/, add docs
10843
10844         * vspace.h:
10845         * vspace.C:
10846         * kbmap.h:
10847         * lyxlength.h:
10848         * lyxgluelength.h:
10849         * length_common.h:
10850         * chset.h:
10851         * chset.C: add docs
10852
10853         * lyxgui.C: add ID to X error handler
10854
10855         * lyxtestclass.c: fix typo
10856
10857 2002-02-26  Juergen Vigna  <jug@sad.it>
10858
10859         * tabular_funcs.C (write_attribute): changed so that some default
10860         attributes are not written at all.
10861         (getTokenValue): set default values before trying to read the
10862         value so we have the return value always set as default if we don't
10863         find the token we search for.
10864
10865         * tabular.C (Write): write bools as bools not as strings!
10866
10867 2002-02-22  Juergen Vigna  <jug@sad.it>
10868
10869         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10870         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10871
10872         * text.C (leftMargin): don't add an indent for paragraphs inside
10873         tabular cells (fix #208).
10874
10875 2002-02-21  José Matos  <jamatos@fep.up.pt>
10876
10877         * tabular.C (docBook): fixed support for long tables.
10878
10879 2002-02-20  Juergen Vigna  <jug@sad.it>
10880
10881         * text2.C (getFont): get the drawing font of the Inset if this
10882         paragraph is inside an inset (only important for InsetERT for now).
10883
10884         * buffer.C (insertErtContents): use new lanugage params in ERT
10885         constructor.
10886
10887         * CutAndPaste.C: commenting out seemingly uneeded code.
10888
10889 2002-02-19  Allan Rae  <rae@lyx.org>
10890
10891         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10892         Iterators might be simple to use but they also get invalidated.
10893         (removeAutoInsets): renamed saved cursor tracking variables and added
10894         some comments to clarify what everything does.
10895
10896 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10897
10898         * Chktex.C:
10899         * LaTeX.C:
10900         * LyXSendto.C:
10901         * converter.C:
10902         * lyx_cb.C:
10903         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10904         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10905
10906         * lyxfunc.C:
10907         * vc-backend.h: remove #include "support/syscall.h"
10908
10909         * LaTeX.C:
10910         * LyXSendto.C:
10911         * converter.C: rearrange #includes in Lars' approved fashion.
10912
10913         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10914         forward declare class Timeout in the header file.
10915
10916         * XFormsView.C: changes due to the above.
10917
10918         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10919         similar to LyXView.
10920
10921         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10922         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10923
10924 2002-02-18  José Matos  <jamatos@fep.up.pt>
10925
10926         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10927         insets contents.
10928
10929 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10930
10931         * a lot of small ws changes
10932         * add a lot of using std::XXX
10933         * use std construcs some places where approp.
10934         * use some exisint stuff from lyxfunctional where approp.
10935         * Make file changes to use partial linking (lets test this now...)
10936
10937 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * Chktex.C:
10940         * buffer.C:
10941         remove #include "support/syscontr.h" as it's redundant. Always has been.
10942
10943         * Chktex.C:
10944         * LaTeX.C:
10945         * LyXSendto.C:
10946         * converter.C:
10947         * lyx_cb.C:
10948         * vc-backend.C:
10949         change Systemcalls::System to Systemcalls::Wait and
10950         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10951         No change of functionality, just reflects the stripped down Systemcalls
10952         class.
10953
10954 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10955
10956         * debug.[Ch]: add a GRAPHICS type to the enum.
10957
10958 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10959
10960         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10961
10962         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10963         there is an inset.
10964
10965 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10968         match the changes below.
10969
10970         * text2.C (toggleInset): if there is not editable inset at cursor
10971         position, try to see if cursor is _inside_ a collapsable inset
10972         and close it.
10973
10974 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10977         document menu has a nice checkbox
10978
10979 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyxlength.C (asLatexString): change PW to output as percent of
10982         \textwidth.
10983
10984         * lengthcommon.C: change '%' to 't%'
10985
10986         * lyxfunc.C (dispatch): a few comments from Martin
10987
10988 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * WorkArea.h:
10991         * WorkArea.C:
10992         * BufferView_pimpl.h:
10993         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10994           the X selection.
10995
10996 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * vspace.C (inPixels): fix compiler warning
10999
11000 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11001
11002         * lyxfunc.C (getStatus): fix status message for disabled commands.
11003
11004 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * BufferView_pimpl.C: fix crash on close buffer
11007         during selection (#227)
11008
11009 2002-01-27  Herbert Voss  <voss@lyx.org>
11010
11011         * buffer.C: link old Figure to new graphic inset
11012
11013 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11014
11015         * FontLoader.C (getFontinfo): Change the latex font names in order
11016         to match the names of type1inst.
11017
11018 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11021
11022         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11023         (extchanged): ditto
11024         (ext_exist): ditto
11025         (remove_files_with_extension): ditto
11026         (remove_file): ditto
11027         (write): ditto
11028
11029         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11030         document is smaller than the work area height. Do not initialize
11031         static variables to 0.
11032
11033 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11036
11037         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11038         LFUN_LAYOUT_PARAGRAPHS.
11039
11040         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11041         tabular. It is possible to provide a possible cell, which will
11042         typically be the actcell from the corresponding insettabular
11043
11044         * lyxfunc.C (getStatus): small cleanup; disable
11045         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11046         true
11047
11048 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11051
11052         * paragraph.C (startTeXParParams):
11053         (endTeXParParams): new methods. The LaTeX code to
11054         start/end paragraph formatting
11055         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11056         empty (fixes bug #200)
11057
11058         * vspace.C (inPixels): adapt to the change below
11059         (inPixels): [later] more cleanups (remove unused variables)
11060
11061         * lyxlength.C (inPixels): change to use a width and a height as
11062         parameter.
11063
11064 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11065
11066         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11067         Replaced with \paperwidth
11068
11069         * DepTable.C (insert): add std:: qualifier
11070
11071 2002-01-18  Allan Rae  <rae@lyx.org>
11072
11073         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11074         updated also?
11075
11076         * text.C (drawInset): Turned out I didn't know enough about how
11077         rebreaking worked.  This fixes most of the redraw problems.  I see
11078         an occasional cursor trail when a line is broken now and the cursor
11079         placement can seem out by a few pixels also after a rebreak.
11080
11081 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * buffer.C (parseSingleLyXformat2Token): update because minipage
11084         width is now a LyXLength
11085
11086         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11087
11088         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11089         math insets
11090
11091 2002-01-17  Juergen Vigna  <jug@sad.it>
11092
11093         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11094
11095         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11096         is set correctly and the inset is updated correctly.
11097
11098 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11101         the beginning of the loop.
11102
11103 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11104
11105         * lyxrc.C: improve help for use_scalable_fonts
11106
11107 2002-01-17  Allan Rae  <rae@lyx.org>
11108
11109         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11110
11111 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11112
11113         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11114         make sure to set their inset_owner to the right value (bug #171)
11115
11116 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11117
11118         * DepTable.h
11119         * DepTable.C: Implement mtime checking to reduce time spent doing
11120         CRCs.
11121
11122 2002-01-16  Juergen Vigna  <jug@sad.it>
11123
11124         * tabular.C (GetAdditionalHeight): one of error fixed.
11125
11126         * lyxrc.C (output): small fix in writing use_pspell.
11127
11128 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * sp_base.h: #include LString.h
11131
11132 2002-01-16  Allan Rae  <rae@lyx.org>
11133
11134         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11135         Can someone check this please?
11136
11137         * text.C (drawInset): It was possible that p.row would be removed by
11138         breakAgainOneRow upsetting a few other settings.  There may be another
11139         small tweak possible by setting need_break_row = 0 when p.row has been
11140         removed but I don't know enough about the logic here.
11141
11142 2002-01-15  Allan Rae  <rae@lyx.org>
11143
11144         * text.C (insertChar): removed conditional truism.
11145
11146         * BufferView2.C (removeAutoInsets): More tweaks.
11147         cur_par_prev could be a stray pointer.  Check for trailing empty line
11148         in case last line was cur_par and only had an error inset on it.
11149
11150 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11151
11152         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11153         absolute
11154
11155         * vc-backend.C (most methods):
11156         * exporter.C (Export):
11157         * converter.C (convert):
11158         (runLaTeX):
11159         * LyXSendto.C (SendtoApplyCB):
11160         * lyxfunc.C (dispatch):
11161         (menuNew):
11162         (open):
11163         (doImport):
11164         * lyx_cb.C (AutoSave):
11165         (InsertAsciiFile):
11166         * BufferView_pimpl.C (MenuInsertLyXFile):
11167         * buffer.C (runChktex): use Buffer::filePath().
11168
11169         * buffer.h: rename filename to filename_; rename filepath to
11170         filepath_ and make it private
11171         (filePath): new method
11172
11173         * buffer.C (writeFile): use fileName()
11174         (getLatexName):
11175
11176         * lyx_main.C (init): fix starting  of LyX when the binary is a
11177         link from so,ewhere else.
11178
11179         * minibuffer.C: include <cctype> for isprint
11180
11181 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11182
11183         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11184         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11185         name clash with InsetCollapsable's width function.
11186
11187 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * lastfiles.C: include <iterator>
11190
11191 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11194         std::count.
11195
11196         * buffer.C (makeLaTeXFile): ditto.
11197         Also make loop operation more transparent.
11198
11199 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11200
11201         * ToolbarDefaults.C: remove trailing comma closing namespace.
11202
11203         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11204
11205         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11206         as in WorkArea.
11207
11208         * trans.C (Load): comment out unused variable, allowed.
11209
11210 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * minibuffer.[Ch] (append_char): new method to recieve input from the
11213         drop-down completion browser. If a key was pressed, then recieve this
11214         char and append it to the existing string.
11215         (peek_event): modify the positioning data passed to the completion
11216         browser so that it can be placed above the minibuffer rather than below.
11217 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11218
11219         * LyXAction.C (init): alloe error-next for readonly documents.
11220
11221         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11222         count.
11223
11224 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * bufferlist.C (readFile): create the buffer _after_ checking that
11227         the file exists.
11228
11229         * lyxfunc.C (verboseDispatch): fix handling of arguments
11230
11231         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11232
11233         * lyxrc.C: use string::erase() instead of initializing to "".
11234
11235
11236 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * BufferView_pimpl.h:
11239         * BufferView_pimpl.C:
11240         * WorkArea.h:
11241         * WorkArea.C:
11242         * text2.C: tell X when we have made a selection for copying
11243
11244 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * BufferView_pimpl.C (MenuInsertLyXFile):
11247         * lyxfunc.C (menuNew):
11248         (open):
11249         (doImport): add shortcuts to directory buttons
11250
11251         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11252         open a float)
11253
11254         * lyxfunc.C (setStatusMessage):
11255         (getStatusMessage): new methods
11256         (getStatus):use setStatusMessage instead of setErrorMessage
11257         (dispatch): when function is disabled, set error message here
11258         [instead of in getStatus previously]
11259
11260         * BufferView_pimpl.C (workAreaButtonRelease): update
11261         toolbar/menubar here too.
11262
11263 2002-01-13  Allan Rae  <rae@lyx.org>
11264
11265         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11266         Now seems indestructible.  Remaining task is to audit all other
11267         code affected by deleteEmptyParagraphMechanism.  One small quirk
11268         left is that an empty document with an error in the preamble can
11269         be made to report an error but no error box appears.  I don't know
11270         where it goes.
11271         (removeAutoInsets): Improved comments.
11272
11273 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * Thesaurus.h:
11276         * Thesaurus.C: update for Aiksaurus 0.14
11277
11278 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * text2.C (firstParagraph): removed member function, all uses
11281         replaces with ownerParagraph
11282         (redoParagraphs): here
11283         (updateInset): here
11284         (toggleAppendix): here
11285         * BufferView2.C (insertErrors): here
11286         (setCursorFromRow): here
11287
11288 2002-01-13  Allan Rae  <rae@lyx.org>
11289
11290         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11291         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11292         There is still a way to segfault this although you may have to do this
11293         multiple times: Have an InsetERT with an unknown command in it.
11294         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11295         <down-arrow>, <Enter> again, View->DVI, BANG!
11296
11297         * text2.C (setCursor):
11298         (deleteEmptyParagraphMechanism):
11299         * lyxtext.h (setCursor):
11300         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11301         Making use of the return value may help fix other bugs.
11302
11303 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11306
11307         * LyXView.C (updateMenubar): call MenuBar::update here
11308         (updateToolbar): but not here
11309         (showState): do not update toolbar/menubar
11310
11311         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11312         should need to care about that.
11313
11314         * lyxfunc.C (verboseDispatch): simplify a bit
11315         (getStatus): have a version which takes a pseudoaction, and
11316         another which requires a (kb_action,string).
11317
11318         * LyXAction.C (retrieveActionArg): make it work also when action
11319         is not a pseudo-action.
11320         (getActionName): simplify a bit
11321         (helpText):
11322
11323 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * lyxfunc.C (verboseDispatch): new families of methods with
11326         several ways to specify a command and a bool to indicate whether
11327         the command name and shortcut should be displayed in minibuffer
11328         (eventually, we could extend that to a finer bitmask like
11329         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11330         (dispatch): the pristine dispatch command which just, well,
11331         dispatchs! Note it still sets its result to minibuffer; I'm not
11332         sure we want that.
11333
11334         * lyxfunc.h: remove setHintMessage
11335
11336         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11337
11338 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * BufferView_pimpl.C (specialChar): delete new inset if we have
11341         not been able to insert it.
11342
11343         * kbmap.C: revert to using int instead of kb_action, since all we
11344         are dealing with is pseudo-actions.
11345
11346         * LyXAction.C (searchActionArg): change to return int instead of
11347         kb_action, since the result is a pseudoaction.
11348
11349 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11350
11351         * buffer.C (insertErtContents): Fix (partially) the font bug.
11352
11353 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11354
11355         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11356         as the other one is broken on my machine!
11357
11358 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11359
11360         * commandtags.h:
11361         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11362
11363 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11366         reflect their actual use. Provide compatibility code for older lyxrc
11367         files.
11368
11369         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11370         FL_NORMAL_STYLE.
11371         change names of popup font variables in line with the changes to lyxrc.C
11372
11373 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * buffer.C (asciiParagraph): avoid outputing a word twice after
11376         an inset.
11377
11378         * lyxrc.C (getDescription): document that document_path and
11379         template_path can be empty.
11380
11381 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * LaTeXFeatures.C (getMacros):
11384         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11385
11386         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11387
11388         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11389         getPackages.
11390         (getPackages): rename feature "floats" to "float". Use an array to
11391         iterate over 'simple' features (i.e. just a \usepackage). Add
11392         handling of "amsmath" (renamed from "amsstyle").
11393
11394 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11395
11396         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11397         features list.
11398
11399 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11400
11401         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11402         FuncStaus::FuncStatus & FuncStaus::some_method().
11403
11404 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11405
11406         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11407         of the func_satus stuff. Edited and massaged in various ways by
11408         JMarc.
11409
11410         * lyxfunc.C (getStatus): use FuncStatus
11411
11412 2002-01-08  Juergen Vigna  <jug@sad.it>
11413
11414         * text.C (nextBreakPoint): use function Inset::isChar().
11415
11416         * paragraph.C (TeXOnePar): use function
11417         Inset::forceDefaultParagraphs.
11418
11419         * buffer.C (latexParagraphs): use function
11420         Inset::forceDefaultParagraphs.
11421
11422 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * lyx_gui.C (init): set the style of the menu popups to
11425         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11426
11427 2002-01-07  Juergen Vigna  <jug@sad.it>
11428
11429         * text.C (setHeightOfRow): small fix
11430         (prepareToPrint): don't look at alignment if we don't have the place
11431         for doing it.
11432
11433 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11434
11435         * box.C: New file. Move the Box methods and functions out of box.h,
11436         following Lars' suggestion.
11437
11438 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11439
11440         * box.h: #include "support/LOstream.h", needed for inlined function.
11441
11442         * lyxtextclass.C:
11443         * lyxtextclasslist.C: added some using std declarations.
11444
11445 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * box.h: make signed dimensions to allow insets wider than
11448           the screen (bug #162)
11449
11450         * BufferView_pimpl.C: add some insetHit debug
11451
11452 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * vc-backend.C: add FIXME
11455
11456 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11457
11458         * lyxfunc.C (getStatus): enable code for showing math font status
11459         in toolbar/menu.
11460
11461 2002-01-07  Juergen Vigna  <jug@sad.it>
11462
11463         * text.C (nextBreakPoint): removed debug output not needed anymore.
11464
11465 2002-01-06  Juergen Vigna  <jug@sad.it>
11466
11467         * text.C (nextBreakPoint): fixed up this function we had this bug
11468         since ever but now hopefully we break row better.
11469         (insertChar): we have to check if an inset is the next char as it
11470         could now happen that a large inset is causing a break.
11471
11472 2002-01-05  Juergen Vigna  <jug@sad.it>
11473
11474         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11475         if it doesn't like to be drawed.
11476
11477 2002-01-04  Juergen Vigna  <jug@sad.it>
11478
11479         * BufferView2.C (lockInset): forgot to set a cursor.
11480
11481         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11482
11483 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11484
11485         * FormMathsPanel.C:
11486         * FormMathsPanel.h
11487         * MathsSymbols.C:
11488         * form_maths_panel.C:
11489         * form_maths_panel.h:
11490         * form_maths_panel.fd: implemented sub- and super- buttons in math
11491         panel.
11492
11493         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11494         (or ^ space) to be used as in TeX (req'd by André).
11495
11496         * lyxfunc.C: Allow ^ and _ again to be used both as
11497         super/subscript (mathed) and as themselves (in text).
11498
11499 2002-01-03  Allan Rae  <rae@lyx.org>
11500
11501         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11502         "LyX" or the filename of the current buffer if it has one.  This is a
11503         modified form of John Levon's patch.
11504
11505         * XFormsView.C (setWindowTitle): also set icon title.
11506
11507         * LyXView.h (setWindowTitle): signature changed.
11508         * XFormsView.h (setWindowTitle): ditto.
11509
11510 2002-01-02  Juergen Vigna  <jug@sad.it>
11511
11512         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11513
11514 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * screen.C (topCursorVisible): introduce a temp var for
11517         text->cursor.row(), handle the case where this row is null. (kindo
11518         hachish)
11519
11520         * text2.C (setCursor): add a couple of asserts.
11521
11522         * paragraph.h (inset_iterator): add -> operator
11523
11524         * paragraph.[Ch] (autoDeleteInsets): remove member function
11525
11526         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11527         cursor pos correctly and handle inset deletion by itself.
11528         (insertErrors): move iterator declaration out of for expression
11529
11530         * lyxtextclass.C: add <algorithm>
11531
11532         * Makefile.am: added the new files to sources, removed layout.C
11533
11534         * layout.C: removed file
11535
11536         * layout.h: remove LYX_DUMMY_LAYOUT
11537
11538         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11539         layout.
11540
11541         * lyxlayout.[Ch]:
11542         * lyxtextclass.[Ch]:
11543         * lyxtextclasslist.[Ch]: new files
11544
11545         * include order changes to a lot of files, also changes because of
11546         the six new files.
11547
11548 2001-12-27  Juergen Vigna  <jug@sad.it>
11549
11550         * buffer.C (asciiParagraph): more fixes.
11551
11552         * tabular.C (ascii): make ascii export support export of only the
11553         data separated by a column-delimiter.
11554         (ascii): better support for ascii export.
11555
11556         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11557
11558 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11559
11560         * tabular_funcs.C: use a "using std::getline" instead of the
11561         previous fix from Angus (necessary for cxx + lyxstring)
11562
11563 2001-12-24  Juergen Vigna  <jug@sad.it>
11564
11565         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11566
11567         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11568         problems. First check a minipage also if we have some ert-contents
11569         (not only on par->size(), second set the right depth of the paragraph
11570         on the relink to the root-paragraph-list!
11571
11572         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11573         which then did not anymore update the main paragraphs on undo/redo!
11574
11575 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11578         code. Support all font-changing funcs (even those which are not in
11579         menu currently). Support for reporting font settings in
11580         mathed (disabled until Andre provides a function on mathed's side).
11581
11582         * func_status.h (toggle): small helper function to set toggle
11583         state on a flag.
11584
11585 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11586
11587         * tabular_funcs.C: getline -> std::getline
11588
11589 2001-12-21  Juergen Vigna  <jug@sad.it>
11590
11591         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11592         accessed and could be 0 (I couldn't generate this but it seems
11593         Michael could!).
11594
11595 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11598         * tabular_funcs.h: here and include iosfwd
11599
11600 2001-12-20  Juergen Vigna  <jug@sad.it>
11601
11602         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11603         inside inset but undo_par was.
11604
11605 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * Thesaurus.C: always include <config.h> in sources.
11608
11609         * Painter.h:
11610         * lyxlookup.h:
11611         * box.h: do not include <config.h> in header files
11612
11613         * text.C (paintLastRow): remove unused variable
11614
11615         * text.C (transformChar):
11616         (insertChar):
11617         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11618
11619         * Painter.C (text):
11620         * font.C (width): rewrite to use uppercase() instead of
11621         islower/toupper.
11622
11623         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11624
11625 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyxfind.C: clean up of find failure position change
11628
11629 2001-12-20  Juergen Vigna  <jug@sad.it>
11630
11631         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11632
11633         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11634         (TeXRow): added to LaTeX a single tabular row.
11635         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11636         (Latex): simplified and finally good LT-h/f support.
11637         (various_functions): just small adaptions for LT-h/f support.
11638
11639         * tabular_funcs.[hC]: added and moved here all not classfunctions
11640         of LyXTabular.
11641
11642 2001-12-19  Juergen Vigna  <jug@sad.it>
11643
11644         * tabular.[Ch]: better support for longtabular options (not finished
11645         yet!)
11646
11647 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * text.C (paintLastRow): use the label font instead of the font of
11650         the last character to compute the size of *_BOX. This makes more
11651         sense and avoids a crash with empty paragraphs.
11652         Use Painter::rectangle to draw EMPTY_BOX.
11653
11654 2001-12-19  Juergen Vigna  <jug@sad.it>
11655
11656         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11657         the paragraphs if the replaced paragraph is not the first one!
11658         Tried to delete not used paragraphs but does not work yet so for
11659         now it's inside #ifdef's and by default off!
11660
11661 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11662
11663         * MenuBackend.C: include "lyx_main.h" instead of declaring
11664         lastfiles (actually was declared as LastFiles* instead of a
11665         scoped_ptr).
11666
11667 2001-12-17  Juergen Vigna  <jug@sad.it>
11668
11669         * tabular.C (AppendColumn): applied John's fix
11670
11671 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * BufferView.h:
11674         * BufferView.C:
11675         * BufferView_pimpl.h:
11676         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11677
11678         * Makefile.am:
11679         * box.h: new start of class for above
11680
11681         * lyxfunc.C: ignore space-only minibuffer dispatches.
11682           Show the command name when it doesn't exist
11683
11684         * minibuffer.C: don't add empty lines to the history
11685
11686         * minibuffer.C: add a space on dropdown completion
11687
11688 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * text.C: fix line above/below drawing in insets
11691
11692 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * lyxlength.C (LyXLength): Initialize private variables.
11695
11696 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11697
11698         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11699         when inserting error insets.
11700
11701 2001-12-13  Juergen Vigna  <jug@sad.it>
11702
11703         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11704         actually sometimes the before-paragraph.
11705         (setUndo): don't clear the redostack if we're not actually undoing!
11706
11707 2001-12-06  Juergen Vigna  <jug@sad.it>
11708
11709         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11710         and fixed redoing of main paragraph, so we can use it now ;)
11711
11712         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11713
11714 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11715
11716         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11717         Juergen's request
11718
11719 2001-12-13  André Pönitz <poenitz@gmx.net>
11720
11721         * undostack.[Ch]:
11722         * undo_func.C: minor cleanup
11723
11724 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11727         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11728         font in urw-fonts package which is marked as -urw-fontspecific and
11729         does not work (incidentally, changing the encoding in the
11730         fonts.dir of this package to -adobe-fontspecific fixes the
11731         problem).
11732
11733         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11734         is a crash when undoing first paragraph (Juergen, please take a
11735         look). THis does not mean the undo fix is wrong, just that it
11736         uncovers problems.
11737
11738         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11739         the (Paragraph*) version when needed instead of duplicating the
11740         code.
11741
11742         * text.C (workWidth): use Inset::parOwner to find out where the
11743         inset has been inserted. This is a huge performance gain for large
11744         documents with lots of insets. If Inset::parOwner is not set, fall
11745         back on the brute force method
11746
11747         * paragraph_pimpl.C (insertInset):
11748         * paragraph.C (Paragraph):
11749         (cutIntoMinibuffer): set parOwner of insets when
11750         inserting/removing them
11751
11752         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11753
11754 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11755
11756         * commandtags.h:
11757         * LyXAction.C:
11758         * lyx_main.C:
11759         * lyxfunc.C:
11760         * mathed/formulabase.C:
11761         * mathed/math_cursor.[Ch]:
11762         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11763
11764
11765 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * lyxlength.[Ch] (operator!=): new function
11768
11769 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11770
11771         * text.C (workWidth): use Inset::parOwner to find out where the
11772         inset has been inserted. This is a huge performance gain for large
11773         documents with lots of insets. If Inset::parOwner is not set, fall
11774         back on the brute force method
11775
11776         * paragraph_pimpl.C (insertInset):
11777         * paragraph.C (Paragraph):
11778         (cutIntoMinibuffer): set parOwner of insets when
11779         inserting/removing them
11780
11781         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11782
11783 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * tabular-old.C (getTokenValue):
11786         * tabular.C (getTokenValue):
11787         (write_attribute): new versions for LyXLength
11788         (everywhere): adjust the use of widths
11789
11790         * tabular.h: change the type of widths from string to LyXLength
11791
11792 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11793
11794         * paragraph.C: fixed missing line number count when exporting
11795         Environments to LaTeX file
11796
11797         * buffer.C: added informational message for checking line numbers.
11798
11799 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11802         paragraph, do the 'double space' part, but not the 'empty
11803         paragraph' one.
11804
11805         * text.C (workWidth): small optimization
11806         (getLengthMarkerHeight): use minimal size for negative lengths.
11807
11808 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11809
11810         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11811
11812         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11813
11814 2001-12-11  André Pönitz <poenitz@gmx.net>
11815
11816         * FontLoader.C:
11817         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11818
11819 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * text2.C: keep selection on a setFont()
11822
11823 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11824
11825         * lyx_cb.C: another bv->text misuse, from insert label
11826
11827 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * kbsequence.h:
11830         * kbsequence.C: re-instate nmodifier mask
11831
11832 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11833
11834         * lyx_main.h: make lyxGUI private.
11835
11836 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * lyxfind.C: place the cursor correctly on failed search
11839
11840 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * text.C (getLengthMarkerHeight): for small heights, the arrows
11843         are not always on top/bottom of the text
11844         (drawLengthMarker): smaller arrows; take the left margin in
11845         account; draw also vfills.
11846         (paintFirstRow):
11847         (paintLastRow): remove special code for vfill and standard spaces,
11848         since everything is handled in drawLengthMarker now.
11849
11850 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * buffer.C (insertErtContents): try to handle font and language
11853         interaction a bit better.g
11854
11855         * ColorHandler.C (updateColor): change the hash to cover the whole
11856         LColor enum, ws cleanup
11857         (getGCLinepars): ditto
11858         (getGCLinepars): only lookup in the linecache once.
11859
11860 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11861
11862         * iterators.C (operator++): Make the iterator more robust
11863
11864         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11865         (John's patch)
11866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11867
11868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * lyxtext.h:
11871         * text.C: better added space drawing
11872
11873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * LyXView.C:
11876         * BufferView2.C: fix layout combo update on inset unlock
11877
11878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * Makefile.am: don't compile unused files
11881
11882 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * lyxfunc.C:
11885         * commandtags.h:
11886         * LyXAction.C: remove old LFUN_LAYOUTNO
11887
11888 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * paragraph_pimpl.h:
11891         * paragraph_pimpl.C: isTextAt() doesn't need font param
11892
11893 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * lyxlex.h:
11896         * lyxlex.C: little cleanup
11897
11898 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView_pimpl.C: fix insertAscii for insets
11901
11902 2001-12-05  Juergen Vigna  <jug@sad.it>
11903
11904         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11905         set the right font on the "multi" paragraph paste!
11906
11907 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * trans_decl.h:
11910         * trans_mgr.[Ch]:
11911         * trans.[Ch]:
11912         * lyxgluelength.C:
11913         * lyxlength.C: remove out-commented code.
11914
11915         * BufferView_pimpl:
11916         * CutAndPaste.C:
11917         * DepTable.C:
11918         * buffer.C:
11919         * chset.C:
11920         * lastfiles.C:
11921         * lyxlex.C:
11922         * lyxlex_pimpl.C:
11923         * lyxserver.C:
11924         * screen.C:
11925         * tabular-old.C:
11926         * tabular.C:
11927         * text.C:
11928         * trans_mgr.C:
11929         * vc-backend.C: change "while(" to "while ("
11930
11931         * lyxlength.[Ch]: add zero function to check if length is zero or
11932         not
11933         * lyxgluelength.C: use it
11934
11935 2001-12-05  Allan Rae  <rae@lyx.org>
11936
11937         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11938         Works for 2.95.3, from what I understand of Garst's reports this should
11939         work for other g++ versions.  We're screwed if the abs(int) definition
11940         changed between bugfix releases of gcc.
11941
11942 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * text.C: fix chapter label offset !
11945
11946 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * lyxtext.h:
11949         * text.C: fix hfill at end of line, clean up
11950
11951 2001-12-04  Juergen Vigna  <jug@sad.it>
11952
11953         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11954         that we force an update of the inset and it's owners if neccessary.
11955
11956 2001-12-03  Juergen Vigna  <jug@sad.it>
11957
11958         * text.C (rowLast): simplified code
11959
11960 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * lyxfunc.C: fix show options on timeout
11963
11964 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * screen.C (topCursorVisible): scroll half a page when the cursor
11967         reached top of bottom of screen
11968
11969 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * minibuffer.C: deactivate on loss of focus
11972
11973 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11974
11975         * vspace.[Ch] (operator!=): add operator.
11976
11977 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * BufferView_pimpl.C: refuse to open an inset when
11980         there's a selection.
11981
11982 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * BufferView_pimpl.C: allow to click on RHS of full row insets
11985
11986 2001-11-30  Juergen Vigna  <jug@sad.it>
11987
11988         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11989         insets for undo reasons.
11990
11991 2001-11-28  André Pönitz <poenitz@gmx.net>
11992
11993         * vspace.[Ch]: cosmetical changes
11994
11995 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * LyXAction.h:
11998         * LyXAction.C:
11999         * lyxfunc.h:
12000         * lyxfunc.C:
12001         * kbmap.h:
12002         * kbmap.C:
12003         * lyxrc.C:
12004         * kbsequence.h:
12005         * kbsequence.C: part re-write of old kb code
12006
12007         * Painter.C:
12008         * WorkArea.C: remove Lgb_bug_find_hack
12009
12010 2001-11-30  José Matos <jamatos@fep.up.pt>
12011
12012         * buffer.C (makeDocBookFile): add a comment to point a hack.
12013         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12014         Fixed a double write of labels.
12015
12016 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12017
12018         * LaTeX.C:
12019         * LaTeX.h Fixed bug in LaTeX class where it would not
12020         re-run latex if no depfiles were changed, but the .dvi was removed.
12021
12022 2001-11-28  André Pönitz <poenitz@gmx.net>
12023
12024         * all the files from the change on 2001/11/26:
12025         use lyx::layout_type instead of LyXTextClass::size_type
12026         use lyx::textclass_type instead of LyXTextClassList::size_type
12027
12028 2001-11-29  Juergen Vigna  <jug@sad.it>
12029
12030         * text.C: added support for paragraph::isFreeSpacing()
12031
12032         * buffer.C: same as above
12033
12034         * paragraph.h: inserted isFreeSpacing() function to enable
12035         FreeSpacing inside InsetERT.
12036
12037         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12038         of the paragraph's in the cut/copy buffer to 0!
12039
12040         * text2.C (removeRow): remove the assert as it can!
12041
12042         * lyxtext.h: added helper function firstRow returning firstrow and
12043         made firstrow private again.
12044
12045         * BufferView2.C (lockInset): don't relock if we're already locked!
12046
12047         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12048         the only paragraph.
12049         (removeRow): added Assert::(firstrow)
12050
12051         * debug.C: forgot to add INSETTEXT here.
12052
12053 2001-11-28  Juergen Vigna  <jug@sad.it>
12054
12055         * sp_spell.C (initialize): changed error text to more general
12056         spellchecker command use (not only ispell!)
12057
12058         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12059
12060         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12061
12062 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * vspace.C: initialise lyxgluelength on failure
12065
12066 2001-11-28  Allan Rae  <rae@lyx.org>
12067
12068         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12069         declaration & definition that looks like a function declaration.
12070
12071 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12072
12073         * BufferView2.C (copy):
12074         (copyEnvironment): do not clear the selection when doing a copy.
12075
12076         * text.C (paintFirstRow): compilation fix
12077
12078 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12079
12080         * tabular.C (Latex): correct line count when writing latex.
12081
12082 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * paragraph_pimpl.h:
12085         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12086           bug a bit
12087
12088 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * text.C:
12091         * LColor.h:
12092         * LColor.C: change vfillline->added_space
12093
12094         * text.C: add markers and text for added space
12095
12096         * vspace.C: fix comment
12097
12098 2001-11-28  André Pönitz <poenitz@gmx.net>
12099
12100         * paragraph.C: whitespace changes
12101         * all the other files from the change on 2001/11/26:
12102         change *::pos_type into lyx::pos_type
12103
12104 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12105
12106         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12107         language of the document when inserting error insets.
12108
12109 2001-11-26  André Pönitz <poenitz@gmx.net>
12110
12111         * BufferView_pimpl.[Ch]:
12112         *       CutAndPaste.C:
12113         * buffer.[Ch]:
12114         * lyxcursor.[Ch]:
12115         * lyxfind.C:
12116         * lyxfunc.C:
12117         * lyxrow.[Ch]:
12118         * paragraph.[Ch]:
12119         * paragraph_pimpl.[Ch]:
12120         * sp_spell.C:
12121         * text.C:
12122         * text2.C: reduce header dependencies, introduce type for positions
12123
12124 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * <various>: change to use Alert.h
12127
12128 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12129
12130         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12131         when encountering an unknown token.
12132         (readLyXformat2): Show an error message if there were unknown tokens.
12133
12134 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * BufferView2.C:
12137         * BufferView_pimpl.C:
12138         * buffer.C:
12139         * paragraph.h:
12140         * text.C:
12141         * text2.C: use par->isInset()
12142
12143 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12144
12145         * paragraph_pimpl.h:
12146         * paragraph_pimpl.C: cleanup
12147
12148 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12149
12150         * text2.C (removeRow):
12151         * text.C (setHeightOfRow): remove useless (and costly) call to
12152         getRow.
12153
12154 2001-11-20  Allan Rae  <rae@lyx.org>
12155
12156         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12157         Now need Inset*::checkInsertChar() to return true for appropriate
12158         cases so that the characters in the minibuffer will actually be
12159         inserted.
12160
12161 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * text.C: change the order of the includes.
12164         (workWidth): initialize it at once.
12165         (workWidth): make maxw unsigned
12166         (setHeightOfRow): remove unused variable (inset)
12167         (selectSelectedWord): remove unused variable (inset)
12168         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12169
12170 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12171
12172         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12173         server is not running.
12174         (openConnection):
12175         (closeConnection): add debug info when server is disabled.
12176
12177         * ColorHandler.C (getGCForeground): send debug message to GUI
12178         channel.
12179
12180         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12181
12182         * kbmap.C (bind): modify because return conventions of
12183         kb_sequence::parse have changed.
12184
12185         * kbsequence.C (parse): only ignore spaces and not any stupid
12186         control character. This avoids tests like s[i] <= ' ', which are
12187         guaranteed to fail with 8bit characters and signed chars.
12188         Change return code to string::npos when there have been no error
12189         (0 was a bad idea when error is at first character)
12190
12191 2001-11-14  José Matos  <jamatos@fep.up.pt>
12192
12193         * buffer.h:
12194         * buffer.C (simpleDocBookOnePar): removed unused argument.
12195
12196 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12199         insets which are part of a word. Paragraph::isLetter takes care of
12200         that now. Use Paragraph::isInset to identify insets.
12201         (selectSelectedWord): do not test for hyphenation break.
12202
12203         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12204         that protected spaces are considered as spaces.
12205
12206         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12207         Inset::isLetter.
12208
12209 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * lyxserver.h:
12212         * lyxserver.C: fix it. and small cleanup.
12213
12214 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * BufferView_pimpl.C: use inline helpers
12217
12218         * LaTeXFeatures.h:
12219         * LaTeXFeatures.C: fix typos
12220
12221         * Spacing.h:
12222         * Spacing.C: move spacing_string into class
12223
12224         * ToolbarDefaults.C: move stuff into namespace anon
12225
12226         * layout.h: update enum
12227
12228         * lyxfunc.C: use better debug
12229
12230         * minibuffer.h: fix typo
12231
12232         * debug.h:
12233         * debug.C:
12234         * WorkArea.C: add and use Debug::WORKAREA
12235
12236         * lyxtext.h:
12237         * text.C:
12238         * text2.C: code re-organisation, inline helpers
12239
12240 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12241
12242         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12243         std::vector.empty().
12244
12245 2001-11-09  Allan Rae  <rae@lyx.org>
12246
12247         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12248         '\n's after tables.  Tabular and ERT inset work now makes this no
12249         longer necessary.
12250
12251 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * minibuffer.h:
12254         * minibuffer.C: fix crash, improve drop-down completion
12255
12256 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * lyxserver.h:
12259         * lyxserver.C: invalidate fd's when doing endPipe()
12260
12261 2001-11-08  José Matos  <jamatos@fep.up.pt>
12262
12263         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12264         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12265
12266         * paragraph.h:
12267         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12268
12269 2001-11-07  José Matos  <jamatos@fep.up.pt>
12270
12271         * buffer.h:
12272         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12273         const qualifier.
12274
12275         * buffer.C (sgmlOpenTag):
12276         * buffer.C (sgmlCloseTag): removed debug info.
12277
12278         * buffer.h (sgmlOpenTag):
12279         * buffer.h (sgmlCloseTag): made public.
12280
12281 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * buffer.C (saveParamsAsDefaults):
12284         * lyx_cb.C (MenuLayoutSave): remove
12285
12286         * LyXAction.C (init):
12287         * commandtags.h:
12288         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12289
12290 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * buffer.C (setPaperStuff): removed from here...
12293
12294         * bufferparams.C (setPaperStuff): ... and moved there.
12295
12296 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * minibuffer.h:
12299         * minibuffer.C:
12300         * XFormsView.C: add support for drop-down completion
12301
12302 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12303
12304         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12305         commands.
12306
12307 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12308
12309         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12310         disabled.
12311
12312 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * lyx_main.C: change ref to known bugs
12315
12316 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12317
12318         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12319         to work around older babel problems.
12320
12321 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12322
12323         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12324
12325 2001-10-24  Juergen Vigna  <jug@sad.it>
12326
12327         * tabular-old.C (ReadOld): below variable changes reflected.
12328
12329         * tabular.[Ch]: added ltType struct for longtable header/footer
12330         defines and changed all instances where they are used. Added
12331         future support for double top/bottom rows.
12332
12333 2001-10-24  José Matos  <jamatos@fep.up.pt>
12334
12335         * buffer.h (docbookHandleCaption):
12336         * buffer.C (docbookHandleCaption): removed unused function.
12337         (makeDocBookFile): moved docbook supported version to v4.1.
12338
12339 2001-10-24  José Matos  <jamatos@fep.up.pt>
12340
12341         * tabular.h:
12342         * tabular.C (docbookRow): new function to export docbook code of a row.
12343         (DocBook): now honors the longtable flags.
12344
12345 2001-10-23  José Matos  <jamatos@fep.up.pt>
12346
12347         * LaTeXFeatures.h:
12348         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12349         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12350
12351         * buffer.C (makeLinuxDocFile):
12352         (makeDocBookFile): reworked the preamble, more clean, and with
12353         support for lyx defined entities. Changed the document declaration
12354         to be more XML friendly.
12355
12356         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12357         if we need to output XML that should be done with a filter.
12358
12359 2001-10-22  Juergen Vigna  <jug@sad.it>
12360
12361         * sp_pspell.h (class PSpell): add alive function needed in the
12362         controller to see if the spellchecker could be started.
12363
12364 2001-10-22  Juergen Vigna  <jug@sad.it>
12365
12366         * buffer.C (insertStringAsLines): modify the font for inserting
12367         chars in certain conditions by calling checkInsertChar(font).
12368
12369 2001-10-19  Juergen Vigna  <jug@sad.it>
12370
12371         * text.C (workWidth): use getRow instead of wrong algorithm.
12372         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12373
12374 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * lyxserver.h:
12377         * lyxserver.C:
12378         * lyx_main.h:
12379         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12380
12381 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12382
12383         * text.C (workWidth): do not search for the exact row when
12384         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12385         optimization for big documents.
12386
12387 2001-10-18  Juergen Vigna  <jug@sad.it>
12388
12389         * text.C (workWidth): new function with added Inset * parameter.
12390
12391 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12394
12395         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12396         change return type of getColumnNearX.
12397
12398
12399         * text.C (changeRegionCase): use uppercase/lowercase instead of
12400         toupper/tolower.
12401         (leftMargin):
12402         (rightMargin): simplify code by factoring out the uses of
12403         textclasslist.
12404         (labelFill):
12405         (numberOfHfills):
12406         (setHeightOfRow):
12407         (appendParagraph): use Paragraph::size_type
12408
12409 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * vspace.C (asLatexString): add a missing break
12412
12413 2001-10-15  Herbert Voss  <voss@perce.de>
12414
12415         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12416
12417 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12420         is not available.
12421
12422 2001-10-10  André Pönitz <poenitz@gmx.net>
12423
12424         * lyxfunc.C: removed greek_kb_flag.
12425
12426 2001-10-10  Herbert Voss  <voss@perce.de>
12427
12428         * lyx_main.C: delete global string help_lyxdir.
12429
12430 2001-10-09  Herbert Voss  <voss@perce.de>
12431
12432         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12433
12434         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12435
12436         * lyx_main.C: added global string help_lyxdir.
12437
12438         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12439
12440 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12441
12442         * lyxrc.C (set_font_norm_type): support iso8859-4
12443
12444 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12445
12446         * LaTeX.C (deplog): add another regex for MikTeX
12447
12448 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12449
12450         * lyxrc.C (set_font_norm_type): support iso8859-3
12451
12452 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12453
12454         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12455
12456         * LaTeXFeatures.C: remove special case of french and index
12457
12458         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12459         before \begin{document}). This solves several incompatibilities.
12460
12461 2001-10-03  Garst Reese  <reese@isn.net>
12462
12463         * lyx_cb.C: change CheckTex error msg.
12464
12465 2001-10-03  José Matos  <jamatos@fep.up.pt>
12466
12467         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12468
12469 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12470
12471         * .cvsignore: update
12472
12473         * lyx_main.C (commandLineVersionInfo): use new style version info.
12474
12475         * buffer.C (writeFile):
12476         (makeLaTeXFile):
12477         (makeLinuxDocFile):
12478         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12479
12480         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12481
12482         * version.h: update to use stuff in version.C
12483
12484         * version.C.in: new file. Contains version information determined
12485         at compile time. This is a merging of version.h and
12486         version_info.h.in.
12487
12488 2001-10-03  Juergen Vigna  <jug@sad.it>
12489
12490         * BufferView_pimpl.C (update): don't change "dirty" status in
12491         updateInset call.
12492
12493 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * WorkArea.C (c-tor): re-position version string slightly.
12496
12497 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12498
12499         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12500         revert to previous code.
12501
12502         WorkArea.[Ch]: (show, destroySplash): methods removed.
12503
12504         WorkArea.C: rework code so that it's an amalgam of the codes before and
12505         after the splash screen was moved to WorkArea.
12506
12507 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * lyxrc.C (read):
12510         * vspace.C (inPixels):
12511         (lyx_advance):
12512         * kbmap.C (bind):
12513         * buffer.C (insertStringAsLines):
12514         (asciiParagraph): fix types to be large enough
12515
12516         * lyxlex_pimpl.h: change member status from short to int
12517
12518         * layout.h: fix type of endlabeltype
12519
12520         * kbmap.C (bind):
12521         * kbsequence.C (parse): change return type to string::size_type
12522
12523         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12524         variable
12525
12526         * Bullet.C (bulletSize):
12527         (bulletEntry): do not use short ints as parameters
12528
12529         * BufferView2.C (insertLyXFile): change a char to an int.
12530
12531         * WorkArea.C (WorkArea): remove unneeded floats in computation
12532
12533 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12534
12535         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12536
12537         * paragraph.C (asString): Do not ignore newline/hfill chars when
12538         copying to the clipboard.
12539
12540 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12541
12542         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12543         after a multi-line inset.
12544
12545 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12546
12547         * paragraph.C (validate): Set NeedLyXFootnoteCode
12548
12549 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12550
12551         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12552         and decrease-error to decrease.
12553
12554 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12557         it more readable (should be equivalent)
12558
12559 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12560
12561         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12562
12563 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12564
12565         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12566         of a cursor (row, etc.) after a character has been deleted
12567         (deleteEmptyParagraphMechanism): call the method above on _all_
12568         cursors held by the LyXText when a double space has been
12569         detected/deleted.
12570
12571 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12572
12573         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12574         pixmap.
12575         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12576
12577         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12578         background. Use greyOut() and the new show() methods to toggle between
12579         the foreground and background. Add code to remove the splash after
12580         its initial showing.
12581
12582         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12583         (create_forms): no longer call Dialogs::showSplash.
12584
12585 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12586
12587         * .cvsignore: add version_info.h
12588
12589 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12590
12591         * version_info.h.in: new file
12592
12593         * Makefile.am: add version_info.h.in
12594
12595         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12596         version_info.h instead of VERSION_INFO
12597
12598 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12601         The ERT inset now returns string().
12602
12603 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * lyxtext.h, text.C (selectNextWord): renamed as
12606         selectNextWordToSpellcheck.
12607
12608         * text.C (selectNextWordToSpellcheck): Modified to not select
12609         words inside an ERT inset.
12610
12611 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * lyx_cb.C (MenuLayoutSave): change a bit the question
12614
12615         * sp_base.h: include <sys/types.h>
12616
12617 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12618
12619         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12620
12621 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12622
12623         * several files: fix typos in user-visible strings
12624
12625 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12626
12627         * text2.C (pasteSelection): do not set the selection, since it
12628         will be cleared later. Actually, the intent was to fix the way the
12629         selection was set, but I figured rmoving the code was just as good.
12630
12631 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12632
12633         * FontLoader.C (available): Check if font is available without
12634         loading the font.
12635
12636 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12637
12638         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12639
12640 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * lyxrc.[Ch]: added display_graphics variable and associated code.
12643
12644 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12645
12646         * bufferparams.C (hasClassDefaults): new method. Returns true if
12647         the buffer parameters correspond to known class defaults
12648
12649 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12650
12651         * XFormsView.C (show): set minimum size to the main window.
12652
12653 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * text2.C (copySelection):
12656         (cutSelection):
12657         * lyxfind.C (LyXReplace):
12658         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12659         LyXText::selectionAsString.
12660
12661         * paragraph.C (asString): add "label" argument to the second form
12662
12663         * text2.C (selectionAsString): add "label" argument and pass it to
12664         Paragraph::asString.
12665
12666 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * lyx_main.C (commandLineHelp): remove version information
12669
12670 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12671
12672         * lyx_main.C: add -version commandline option
12673
12674 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * paragraph.h: make the optional constructor arg required instead.
12677         some modifications to other files because of this.
12678
12679         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12680
12681         * lyxserver.C (C_LyXComm_callback): make it static
12682
12683         * lyx_main.C (error_handler): make it static
12684
12685         * lyx_gui.C (LyX_XErrHandler): make it static
12686
12687         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12688
12689         * WorkArea.C: make the extern "C" methods static.
12690
12691         * Makefile.am (lyx_LDADD): simplify
12692
12693 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12696         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12697
12698         * LyXAction.C (init):
12699         * lyxfunc.C (dispatch): associated code removal.
12700
12701 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * lyxfont.h (isSymbolFont): shut off warning
12704
12705         * text.C (setHeightOfRow):
12706         (getVisibleRow): fix crash with empty paragraphs which have a
12707         bottom line
12708
12709 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12710
12711         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12712         code.
12713
12714 2001-09-04  José Matos  <jamatos@fep.up.pt>
12715         * buffer.C
12716         * buffer.h
12717         * tabular.C (docbook): rename docBook method to docbook.
12718
12719 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * Makefile.am: add dependencies to main.o.
12722
12723 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * FontLoader.C (available): Return false if !lyxrc.use_gui
12726
12727 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12728
12729         * FontInfo.C (query):
12730         * converter.C (view):
12731         * importer.C (Import):
12732         * exporter.C (Export): Can not -> cannot.
12733
12734 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12735
12736         * BufferView_pimpl.C: allow to create index inset even if
12737           string is empty
12738
12739 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * buffer.C (getLists): replace boost::tie code with an explicit pair
12742         as boost::tie can break some compilers.
12743
12744         * iterators.h: Added a std:: declaration to the return type of
12745         ParIterator::size.
12746
12747 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12750           case.
12751
12752 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12753
12754         * iterators.[Ch]: New files. Provide paragraph iterators.
12755
12756         * buffer.C (changeLanguage): Use paragraph iterators.
12757         (isMultiLingual): ditto
12758
12759         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12760
12761 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12762
12763         * FontLoader.C: Support for cmr font.
12764
12765 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12766
12767         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12768         (available): New method.
12769
12770         * FontInfo.C (getFontname): Use scalable fonts even when
12771         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12772         found.
12773
12774 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12775
12776         * converter.C (Formats::view): reverted! Incorrect fix.
12777
12778 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12779
12780         * converter.C (Formats::view): only output the -paper option
12781         if the dvi viewer is xdvi, thereby fixing bug #233429.
12782
12783 2001-08-23  Herbert Voss  <voss@perce>
12784
12785         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12786
12787 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12788
12789         * Spacing.h (Spacing): Set space to Default on in the default
12790         constructor.
12791
12792 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * vc-backend.h (RCS::versionString): add RCS to version
12795         (CVS::versionString): add CVS to version
12796
12797         * vc-backend.C (scanMaster): do not add CVS to version.
12798         (scanMaster): do not add RCS to version
12799
12800         * lyxvc.C (versionString): new method
12801
12802         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12803
12804 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12805
12806         * Spacing.C (set): initialize fval
12807
12808 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12809
12810         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12811         " or \.
12812
12813 2001-08-16  Juergen Vigna  <jug@sad.it>
12814
12815         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12816
12817 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * BufferView_pimpl.C:
12820         * figureForm.C:
12821         * lyxtext.h:
12822         * text2.C: setParagraph takes linespacing now
12823
12824 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12825
12826         * LyxAction.C: add internal LFUN_CITATION_INSERT
12827
12828         * LyXView.C: actually apply fix
12829
12830         * bufferlist.C: fix open non-existent file
12831
12832         * lyxfind.C: fix indentation
12833
12834         * lyxfunc.C: remove unneeded assert, fix typo
12835
12836 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12837
12838         * MenuBackend.C: use "Floatname List"
12839
12840 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12841
12842         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12843         when converting LaTeX layout to insetERT.
12844         Generate a non-collapsed float when reading old float
12845
12846 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12847
12848         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12849         ERT insets.
12850
12851 2001-08-13  Juergen Vigna  <jug@sad.it>
12852
12853         * text.C (fill): return 0 instead of 20 as this seems to be the more
12854         correct value.
12855
12856 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12857
12858         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12859         lyxrc.font_norm.
12860
12861 2001-08-13  Juergen Vigna  <jug@sad.it>
12862
12863         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12864         casesensitive off.
12865         (SearchBackward): comment out the unlocking of the inset_owner this
12866         should not be needed!
12867
12868 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * Many files: Remove inherit_language, and add latex_language
12871
12872         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12873         collapsible insets.
12874
12875 2001-08-10  Juergen Vigna  <jug@sad.it>
12876
12877         * text.C (prepareToPrint): fixed hfill-width in draw!
12878
12879         * BufferView2.C (selectLastWord): save the selection cursor as this
12880         now is cleared in the function LyXText::clearSelection!
12881
12882 2001-08-08  Juergen Vigna  <jug@sad.it>
12883
12884         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12885         BACKSPACE type functions.
12886
12887         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12888         is only cutted from the document but not put in the cut-buffer, where
12889         still the old stuff should be.
12890
12891         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12892
12893         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12894
12895         * tabular.C (SetWidthOfCell): fixed special case where the width
12896         was not updated!
12897         (LeftLine): handle '|' in align_special.
12898         (RightLine): ditto
12899         (LeftAlreadyDrawed): ditto
12900         (SetWidthOfCell): ditto
12901
12902 2001-08-07  Juergen Vigna  <jug@sad.it>
12903
12904         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12905
12906 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12907
12908         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12909         * lyxlex.[hC]: ditto
12910
12911 2001-08-06  Juergen Vigna  <jug@sad.it>
12912
12913         * text.C (getVisibleRow): fix up row clearing a bit.
12914
12915 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * minibuffer.C: make sure the X server sees the changes in the input.
12918
12919 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * paragraph.C (getFont): split into...
12922         (getLabelFont): this
12923         (getLayoutFont): and this
12924         * paragraph_pimpl.C (realizeFont): calling this
12925
12926         * text2.C (getFont): split into...
12927         (getLayoutFont): this
12928         (getLabelFont): and this
12929         (realizeFont): all three calling this
12930
12931         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12932         files where used.
12933
12934 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12935
12936         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12937
12938 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12939
12940         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12941         layouts from the Quote inset insertion.
12942
12943 2001-08-03  Juergen Vigna  <jug@sad.it>
12944
12945         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12946
12947         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12948         only if status not is already CHANGED_IN_DRAW (second level).
12949
12950         * text.C (draw): don't set the need_break_row when inside an
12951         InsetText LyXText.
12952
12953 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * buffer.C (parseSingleLyXformat2Token): handle more latex
12956         conversion cases.
12957
12958         * bufferview_funcs.[hC]: change function names to
12959         begin with small char, adjust other files.
12960
12961 2001-08-02  André Pönitz <poenitz@gmx.net>
12962
12963         * lyxfunc.C:
12964         BufferView_pimpl.C: remove broken special code for math-greek
12965
12966 2001-08-02  Juergen Vigna  <jug@sad.it>
12967
12968         * BufferView_pimpl.C (update): redone this function so that we
12969         update the text again if there was a CHANGE_IN_DRAW.
12970
12971         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12972         (drawFromTo): added a new internal bool which is used by draw() and
12973         redraw() function.
12974         (general): some cursor drawing problems fixed.
12975
12976 2001-08-01  Juergen Vigna  <jug@sad.it>
12977
12978         * lyxfind.C (LyXFind): fixed
12979         (SearchForward): ditto
12980         (SearchBackward): ditto
12981
12982         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12983         spurius drawing of the cursor in the main area.
12984
12985         * text2.C (status): small fix which could lead to a segfault!
12986         (clearSelection): remove unneeded BufferView param.
12987
12988 2001-08-01  André Pönitz <poenitz@gmx.net>
12989
12990         * lyxfunc.C: small change due to changed mathed interface
12991
12992 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12995
12996 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * lyxfunc.c: fail gracefully if file doesn't exist
12999
13000         * LyXSendto.C:
13001         * buffer.C:
13002         * lyxfunc.C:
13003         * BufferView_pimpl.C: IsDirWriteable() proto changed
13004
13005         * LyXView.C: fix updateWindowTitle() to store the last title
13006
13007 2001-07-31  Juergen Vigna  <jug@sad.it>
13008
13009         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13010         the font (wrong since using of Paragraph::highestFontInRange).
13011
13012         * paragraph.C (highestFontInRange): added a default_size parameter.
13013
13014         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13015         (setHeightOfRow): reformat
13016
13017 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13018
13019         * converter.[hC] + affected files: move to (inital-char)lowercase
13020         function names.
13021
13022         * ParagraphParameters.C (ParagraphParameters): remove commented code
13023
13024         * PainterBase.[Ch]: remove commented code
13025
13026         * LaTeXFeatures.h: add "bool floats" for float.sty
13027
13028         * LaTeXFeatures.C (LaTeXFeatures): init floats
13029         (require): handle float
13030         (getPackages): do it with floats
13031
13032 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13033
13034         * BufferView_pimpl.C (Dispatch): improve handling of
13035         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13036
13037         * commandtags.h: #include lyxfont.h here temporarily to avoid
13038         keybinding bug.
13039
13040         * bufferlist.h: include LString.h here.
13041
13042 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13043
13044         * text2.C (getStringToIndex): new method.
13045
13046 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13047
13048         * *: Reduced header file dependencies all over.
13049
13050 2001-07-30  Baruch Even  <baruch@lyx.org>
13051
13052         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13053
13054 2001-07-29  Baruch Even  <baruch@lyx.org>
13055
13056         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13057
13058 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13059
13060         * ParameterStruct.h (endif): add a default constructor to make
13061         sure that all variables is initialized.
13062
13063         * ParagraphParameters.C (ParagraphParameters): adjust
13064
13065 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13066
13067         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13068         index; also, check that there is something to index, and that it
13069         does not span over several paragraphs.
13070         (doubleClick): use WHOLE_WORD_STRICT for double click.
13071
13072         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13073
13074         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13075         scheme.
13076
13077 2001-07-26  Baruch Even  <baruch@lyx.org>
13078
13079         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13080         an InsetFig figure, backwards compatible reading of old figure code.
13081
13082 2001-07-27  Juergen Vigna  <jug@sad.it>
13083
13084         * text2.C: font.realize function adaption.
13085
13086         * text.C (draw): add a warnings lyxerr text if needed.
13087
13088         * layout.C: font.realize function adaption.
13089
13090         * language.C: add inherit_language and implement it's handlings
13091
13092         * bufferview_funcs.C (StyleReset): remove language parameter from
13093         font creation (should be language_inherit now).
13094
13095         * bufferparams.C (writeFile): handle ignore_language.
13096
13097         * paragraph.C (getFontSettings): the language has to be resolved
13098         otherwise we have problems in LyXFont!
13099
13100         * lyxfont.C (lyxWriteChanges): added document_language parameter
13101         (update): removed unneeded language parameter
13102
13103         * paragraph.C (validate): fixed wrong output of color-package when
13104         using interface colors for certain fonts in certain environments,
13105         which should not seen as that on the final output.
13106
13107 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13108
13109         * BufferView_pimpl.C:
13110         * Thesaurus.h:
13111         * Thesaurus.C:
13112         * Makefile.am:
13113         * commandtags.h:
13114         * LyXAction.C: add thesaurus support
13115
13116         * lyxfind.h:
13117         * lyxfind.C: add "once" parameter, for thesaurus, to not
13118           move to the next match
13119
13120 2001-07-26  Juergen Vigna  <jug@sad.it>
13121
13122         * lyxfont.C (realize): honor ignore_language too!
13123         (resolved): ditto.
13124
13125         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13126
13127         * text.C (draw): one place more for ignore_language to not draw
13128         itself!
13129
13130 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13133
13134 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13135
13136         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13137         the minipage conversion problem.
13138
13139 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13142         insert an inset.
13143
13144 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * BufferView.h: don't forward declare WorkArea
13147
13148         * BufferView.C: don't include WorkArea.h
13149
13150 2001-07-25  André Pönitz <poenitz@gmx.net>
13151
13152         * commandtags.h:
13153         * LyXAction.C:
13154         * lyxfunc.C:  new LFUN 'math-space'
13155
13156         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13157
13158 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * text2.C (toggleInset): call open/close
13161
13162 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * lyxfunc.C (dispatch): add debug for the disabled case
13165
13166         * font.C (buttonText): make similar to rectText
13167
13168         * buffer.C (readInset): comment out parsing of insetlist and
13169         insttheorem
13170
13171         * PainterBase.C (rectText): small correction
13172
13173         * BufferView_pimpl.C: comment out insettheorem and insetlist
13174         * LyXAction.C: ditto
13175         * commandtags.h: ditto
13176
13177 2001-07-24  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (draw): honor the ignore_language.
13180
13181         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13182
13183 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13184
13185         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13186         char inset.
13187
13188 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13189
13190         * lyxtext.h: remove unused (and unimplemented) methods
13191
13192 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13193
13194         * text.C (getVisibleRow): honor background color
13195
13196         * PainterBase.h:
13197         * Painter.h: remove default color argument for fillRectangle
13198
13199         * text.C (backgroundColor): new method
13200
13201 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13202
13203         * text.C (getVisibleRow): adjust
13204
13205         * font.[Ch] (rectText): new method, metrics
13206         (buttonText): new method, metrics
13207
13208         * PainterBase.[hC]: make rectText and buttonText always draw and take
13209         fewer paramteres.
13210
13211 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13212
13213         * ToolbarDefaults.C (read):
13214         * MenuBackend.C (read): allow escaping in all strings
13215
13216         * BufferView_pimpl.C (insertAndEditInset): new method.
13217         (Dispatch): use insertAndEditInset whenever appropriate.
13218
13219         * BufferView_pimpl.C (insertNote): removed
13220
13221         * BufferView_pimpl.C (smartQuote): new method, moved from
13222         BufferView; if an insetquote cannot be inserted, insert a '"'
13223         character instead.
13224
13225         * BufferView2.C: remove insertCorrectQuote();
13226
13227         * lyxfunc.C (getStatus): Add support for all remaingin
13228         inset-insert lfuns.
13229
13230         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13231
13232         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13233         command (necessary to pass " as parameter of self-insert.
13234
13235         * text.C (selectWordWhenUnderCursor):
13236         (selectWord): add word_location parameter
13237         (selectWordWhenUnderCursor): same + remove special code for word
13238         boundary.
13239         (selectNextWord): use kind() to guess type of insetspecialchar,
13240         not latex().
13241
13242         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13243         (insertErtContents): create ert insets as collapsed.
13244         (readInset): better compatibility code for Info inset.
13245
13246 2001-07-20  Juergen Vigna  <jug@sad.it>
13247
13248         * lyxfunc.C (dispatch): use always LyXFind now!
13249
13250         * text2.C (init): add a reinit flag so that the LyXText can be
13251         reinited instead of deleted and reallocated (used in InsetText).
13252
13253         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13254
13255         * text.C: ditto
13256
13257         * text2.C: ditto
13258
13259 2001-07-18  Juergen Vigna  <jug@sad.it>
13260
13261         * text.C (selectNextWord): handle insets inside inset by calling
13262         always the bv->text functions so that we can go up the_locking_inset!
13263
13264         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13265         in strange locations when inside an inset!
13266
13267         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13268         handling to include insets.
13269
13270         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13271
13272 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * LyXAction.C (init):
13275         * commandtags.h:
13276         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13277         LIGATURE_BREAK, since the name is so stupid.
13278
13279 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13282         InsetInfos.
13283
13284         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13285
13286         * sp_form.[Ch]: remove.
13287
13288         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13289
13290         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13291         InsetInfo.
13292
13293         * src/buffer.C (readInset): ditto.
13294
13295 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13296
13297         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13298         menuSeparator(), endOfSentenceDot(), ldots() and
13299         hyphenationPoint(), which are therefore removed.
13300         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13301
13302         * LyXAction.C (init):
13303         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13304
13305         * paragraph.C (getWord): removed.
13306
13307         * BufferView_pimpl.C (Dispatch): use last word or selection for
13308         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13309
13310         * lyx_main.C (queryUserLyXDir): do not ask before creating
13311         user_dir, except if it has been named explicitely.
13312
13313 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13316         a document of zero size.
13317
13318 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13319
13320         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13321         approriately in the c-tor and in require().
13322         (getPackages): output the appropriate LaTeX for natbib support.
13323
13324         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13325         variables "use_natbib" and "use_numerical_citations" when reading the
13326         LyX file.
13327         (readInset): read the various natbib cite commands.
13328         (validate): white-space change.
13329
13330         * bufferparams.[Ch]: new variables "bool use_natbib" and
13331         "bool use_numerical_citations".
13332         (writeFile): output them in the LyX file.
13333
13334 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13335
13336         * lyxfunc.C (getStatus): add support for all the inset insertion
13337         commands.
13338
13339         * text2.C (insertInset):
13340         * paragraph.C (insetAllowed):
13341         * BufferView_pimpl.C (insertInset): update to take in account the
13342         renaming of insertInsetAllowed
13343
13344         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13345
13346         * text2.C (getInset): new method. returns inset at cursor position.
13347
13348         * BufferView_pimpl.C (Dispatch): changes because of this.
13349
13350         * LyXAction.C (init): rename open-stuff to inset-toggle.
13351
13352         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13353
13354         * text2.C (toggleInset): renamed from openStuff; use
13355         Inset::open().
13356
13357 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13358
13359         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13360
13361         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13362
13363 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13364
13365         * buffer.C (readLyXformat2): Add filename to the error dialog
13366
13367 2001-07-18  Juergen Vigna  <jug@sad.it>
13368
13369         * tabular.C (GetCellNumber): put an assert here instead of the check!
13370
13371 2001-07-17  Juergen Vigna  <jug@sad.it>
13372
13373         * BufferView_pimpl.C (toggleSelection): adapted too.
13374
13375         * text.C (selectNextWord): adapted for use with insets.
13376         (selectSelectedWord): ditto
13377
13378 2001-07-17  Juergen Vigna  <jug@sad.it>
13379
13380         * sp_spell.C (PSpell): fix initialitation order.
13381
13382 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * paragraph.C: spacing
13385
13386 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13387
13388         * sp_spell.C: repair language selection for pspell
13389
13390 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * lyxfunc.h: change more methods to begin with lower char.
13393
13394 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13395
13396         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13397         for unknown layouts.
13398
13399 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13400
13401         * buffer.C (readLyXformat2): Generate an error dialog if there are
13402         unknown layouts.
13403
13404 2001-07-16  Juergen Vigna  <jug@sad.it>
13405
13406         * sp_spell.C: always compile ISpell part.
13407
13408         * lyxrc.C: added use_pspell entry and it's handling.
13409
13410 2001-07-13  Juergen Vigna  <jug@sad.it>
13411
13412         * sp_spell.C: removed double includes.
13413
13414 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         Consistent use of Lsstream.h:
13417         * Lsstream.h: added using std::stringstream for consistencies sake.
13418
13419         * buffer.C: removed using std::stringstream
13420
13421         * lyxfont.C (stateText):
13422         * paragraph.C (asString):
13423         * text.C (selectNextWord, selectSelectedWord):
13424         * text2.C (setCounter):
13425         * vspace.C (asString, asLatexString):
13426         std::ostringstream -> ostringstream.
13427
13428 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13429
13430         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13431         * commandtags.h: add LFUN_HELP_ABOUTLYX
13432         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13433
13434 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13435
13436         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13437         cursorToggle()
13438         * lyx_gui_misc.C: remove spellchecker
13439         * lyxfunc.C: showSpellchecker
13440         * sp_base.h: added
13441         * sp_ispell.h: added
13442         * sp_pspell.h: added
13443         * sp_spell.C: added
13444         * sp_form.[Ch]: removed
13445         * spellchecker.[Ch]: removed
13446
13447 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13448
13449         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13450         is set.
13451         (simpleTeXSpecialChars): Simply print the input character without
13452         any special translation if pass_thru is set.
13453
13454         * layout.h: Added bool pass_thru to layout class for being able to
13455         implement pass through of a paragraph for Literate Programming.
13456
13457         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13458         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13459         * layout.C (Read): add "passthru" to list of layout tags and add
13460         code to set the pass_thru boolean when it is read.
13461
13462 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13463
13464         * trans_decl.h: remove allowed from KmodInfo
13465
13466         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13467         remove allowed code
13468         (Load): adjust
13469
13470         * paragraph_pimpl.C (erase): use boost::prior
13471
13472         * Painter.C (text): use data() instead of c_str() when length is
13473         also provided.
13474         * WorkArea.C (putClipboard): ditto
13475         * font.h (width): ditto
13476
13477         * BufferView2.C: use it-> instead of (*it). for iterators
13478         * texrow.C: ditto
13479         * paragraph_pimpl.C: ditto
13480         * paragraph.C: ditto
13481         * minibuffer.C: ditto
13482         * language.C: ditto
13483         * kbmap.C: ditto
13484         * encoding.C: ditto
13485         * counters.C: ditto
13486         * converter.C: ditto
13487         * chset.C: ditto
13488         * Variables.C: ditto
13489         * TextCache.C: ditto
13490         * MenuBackend.C: ditto
13491         * LyXAction.C: ditto
13492         * LColor.C: ditto
13493         * FloatList.C: ditto
13494         * DepTable.C: ditto
13495         * ColorHandler.C (LyXColorHandler): ditto
13496
13497 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13500
13501         * text2.C (openStuff): reintroduce this method (which had been
13502         nuked in NEW_INSETS frenzy).
13503
13504         * lyxfunc.C (Dispatch): when an action has not been handled, use
13505         its name in the error message, not its number.
13506
13507         * paragraph.C (inInset): change method name to begin with lowercase.
13508
13509         * undo_funcs.C:
13510         * text2.C: updates because of this.
13511
13512 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13513
13514         * ToolbarDefaults.C (add): add spaces in error message
13515
13516 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13519         (readLyXformat2): rename return_par to first_par, use lyxlex's
13520         pushToken and remove the manual push handling.
13521         (parseSingleLyXformat2Token): add another ert comp. variable:
13522         in_tabular, rename return_par to first_par. handle newlines better
13523
13524 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13525
13526         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13527
13528 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13529
13530         * text2.C (getParFromID): removed
13531
13532         * buffer.C (getParFromID): new method moved form lyxtext.
13533         * BufferView2.C (insertErrors): adjust
13534         (setCursorFromRow): adjust
13535         * BufferView_pimpl.C (restorePosition): adjust
13536         * lyxfunc.C (Dispatch): adjust
13537         * undo_funcs.C (textUndo): adjust
13538         (textRedo): adjust
13539         (textHandleUndo): adjust
13540         (textHandleUndo): adjust
13541
13542 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13543
13544         * buffer.C: up' the LYX_FORMAT
13545
13546         * lyxfont.h: turn NO_LATEX on as default
13547
13548         * buffer.C (insertErtContents): new methods of tex style compability.
13549         (parseSingleLyXformat2Token): use it several places.
13550         * tabular.C (OldFormatRead): and here
13551
13552 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * text2.C: remove some commented code.
13555         reindent file.
13556
13557         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13558         * trans.C: changes because of the above.
13559
13560 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13561
13562         * text2.C (setCounter): Fix counters bug with bibliography layout.
13563
13564 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13567         own member functions
13568         (simpleTeXSpecialChars): ditto
13569
13570 2001-07-06  Juergen Vigna  <jug@sad.it>
13571
13572         * a lot of files: changed the access to LyXText::status and the
13573         call of undo-functions.
13574
13575         * undo.[Ch]: added a inset_id to the undo informations.
13576
13577         * undo_funcs.[Ch]: added and moved here all undo functions.
13578
13579         * lyxtext.h: give the status enum a weight, made status_ a private
13580         variable and made accessor functions for it, removed the whole bunch
13581         of undo-functions as they are now in their own file, make some
13582         functions publically available. Added function ownerParagraph with
13583         int parameter.
13584
13585         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13586         made InInset() a const function, added getParFromID() function.
13587
13588         * buffer.[Ch]: added const version for inset_iterator functions,
13589         added getInsetFromID() function.
13590
13591         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13592         changed undo functions for new version.
13593
13594 2001-07-05  Juergen Vigna  <jug@sad.it>
13595
13596         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13597         unknow mechanism does not call the proper constructor but only this
13598         one also if I request the other!?
13599
13600 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13603
13604         * text2.C (LyXText): use initialization lists.
13605
13606         * lyxtext.h (Selection): initialize set_ and mark_
13607         (init): remove method
13608
13609 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13610
13611         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13612
13613 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * screen.[Ch]: change method names to begin with lowercase
13616
13617         * BufferView_pimpl.C (updateScrollbar): simplify further and
13618         hopefully make it a bit faster.
13619
13620 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13621
13622         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13623         calling directly xforms functions.
13624
13625         * Painter.C (Painter):
13626         * lyx_cb.C (MenuWrite):
13627         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13628         fl_display.
13629
13630         * lyx_gui.C: remove bogus guiruntime extern declaration.
13631
13632 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13635         in NEW_INSETS
13636         (redoDrawingOfParagraph): ditto
13637         (redoParagraphs): ditto
13638         (cutSelection): don't create a object for CutAndPaste use the
13639         static method directly
13640         (pasteSelection): ditto
13641
13642         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13643         LyXview (+ rename)
13644
13645 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * modifications to some other files because of this.
13648
13649         * Makefile.am (lyx_SOURCES): add XFormsView
13650
13651         * XFormsView.[Ch]: new files
13652
13653         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13654         the main window. Move the gui dependent stuff to XFormsView
13655
13656 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * tabular.C (GetCellInset): update cur_cell also in the row/col
13659         version of this function.
13660
13661         * lyxfunc.C: no need to include figure_form.h here.
13662
13663         * FontLoader.h:
13664         * lyxfunc.h:
13665         * lyxscreen.h:
13666         * text2.C:
13667         * lyxvc.C: no need to include forms.h here.
13668
13669 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13672
13673         * lyxfunc.C (Dispatch):
13674         * Spacing.C (set):
13675         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13676         constructor argument.
13677
13678 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * paragraph.C (Paragraph): dont't clear, and just set layout.
13681         (makeSameLayout): use params's copy contructor.
13682
13683         * ParagraphParameters.[Ch] (makeSame): delete method
13684
13685 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * Variables.[Ch]: fix indentation, rename set to isSet
13688
13689 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * lyxfunc.C (Dispatch): fix typo
13692
13693 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13696         upper_bound.
13697
13698         * bufferlist.C: include assert.h for emergencyWrite().
13699
13700 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13703           give up at last (bug #425202) !
13704
13705 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13706
13707         * lyx_gui_misc.C:
13708         * sp_form.h:
13709         * sp_form.C:
13710         * spellchecker.h:
13711         * spellchecker.C: strip spellchecker options and bring up
13712           preferences tab instead
13713
13714 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13717         the istringstream constructor
13718
13719 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13720
13721         * paragraph.C (getLayout): fix return value
13722
13723         * paragraph.h: do not declare getLayout as inline.
13724
13725         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13726
13727 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13728
13729         * lyxcursor.h (operator<): new func
13730         (operator>): new func
13731         (operator>=): new func
13732         (operator<=): new func
13733
13734         * text.C (changeCase): use selection.start and selection.end
13735         (changeRegionCase): require from to be <= to. Require par to be a
13736         valid paragraph.
13737
13738         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13739
13740 2001-06-27  Juergen Vigna  <jug@sad.it>
13741
13742         * text.C (cursorLeftOneWord): changed to return the cursor and added
13743         overlay with BufferView * parameter which calls this one.
13744         (getWord): added
13745         (selectWord): use new getWord function.
13746         (changeCase): renamed from changeWordCase as and extended to work
13747         also on selections.
13748
13749         * lyxtext.h: added enum word_location
13750
13751         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13752         changeCase as this operates now also on selections.
13753
13754 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13755
13756         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13757
13758         * many files: send debug output to Debug::INFO instead of
13759         Debug::ANY.
13760
13761         * converter.C (View):
13762         (Convert):
13763         (Move): send debug output to Debug::FILES instead of console.
13764
13765 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13766
13767         * lyxfunc.C (getStatus): use func_status
13768
13769         * func_status.h: new header, describing the results of
13770         LyXFunc::getStatus;
13771
13772         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13773         LFUN_MATH_HALIGN.
13774
13775 2001-06-25  The LyX Project  <jug@sad.it>
13776
13777         * buffer.C (sgmlOpenTag):
13778         (sgmlCloseTag):
13779         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13780
13781 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * text2.C: remove some dead code
13784
13785         * tabular.C (GetCellInset): store the last cell checked (gotten)
13786
13787         * tabular.h: add the helper for the speedup
13788
13789         * lyxtext.h: remove some dead code
13790
13791 2001-06-26  The LyX Project  <Asger>
13792
13793         * paragraph.C: Change export to LaTeX of alignment to
13794         \begin{center} and family for better roundtrip work with reLyX.
13795
13796         * Tune the math drawing a bit.
13797
13798 2001-06-25  The LyX Project  <Asger>
13799
13800         * LColor.C (LColor): New color for math background. New color
13801         for buttons.
13802
13803 2001-06-25  The LyX Project  <jug@sad.it>
13804
13805         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13806
13807         * lyxfunc.C (Open):
13808         * bufferlist.C (newFile): do not restrict to files ending with
13809         .lyx
13810
13811         * BufferView_pimpl.C (MenuInsertLyXFile):
13812
13813 2001-06-24  The LyX Project  <jug@sad.it>
13814
13815         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13816         of compare_no_case
13817
13818 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * lyxtext.h: rename most methods to begin with a small char.
13821         Lots of changes because of this.
13822
13823         * paragraph.C (Paragraph): do not call fitToSize
13824         (erase): call Pimpl::erase
13825         (insertChar): call Pimpl::insertChar
13826         (insertInset): call Pipl::insertInset
13827         (breakParagraph): do not call fitToSize
13828         (breakParagraphConservative): do not call fitToSize
13829         (fitToSize): remove method
13830
13831         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13832
13833 2001-06-24  The LyX Project  <Asger>
13834
13835         * Fix Qt compilation^2
13836
13837 2001-06-24  The LyX Project  <jug@sad.it>
13838
13839         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13840         depthHook(getDepth()-1).
13841
13842         * paragraph.h:
13843         * ParagraphParameters.h:
13844         * ParameterStruct.h: change type of depth to unsigned int ==
13845         depth_type. Many adaptations to other files before of that.
13846
13847 2001-06-24  The LyX Project  <Asger>
13848
13849         * Fix Qt compilation.
13850
13851 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * paragraph.h: renamed several methods to begin with small letter.
13854         several changes to many parts of the code because of this.
13855
13856 2001-06-23  The LyX Project  <jug@sad.it>
13857
13858         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13859         rewritten to discard all double spaces when KeepEmpty is off
13860         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13861         to only handle newlines but not fiddle with spaces and friends.
13862
13863         * lyxfunc.C (MenuNew): when doing 'new from template', use
13864         template_path as default directory
13865
13866 2001-06-23  The LyX Project  <Asger>
13867
13868         * Clean-up of header file includes all over
13869         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13870
13871 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * paragraph.h: renamed from lyxparagraph.h
13874
13875 2001-06-23  Asger  <lyx@violet.home.sad.it>
13876
13877         * Buffer.h: Removed Buffer::resize
13878         * BufferList.h: Removed BufferList::resize
13879         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13880         the document lazily when we change the width, or the font settings.
13881
13882 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13885
13886 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * buffer.h: remove out of date comment
13889
13890 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * lyxscreen.h:
13893         * screen.C: fix "theoretical" GC leak
13894
13895 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * LaTeX.C (scanAuxFile):
13898         (deplog): remove trailing \r when reading stream (useful under
13899         win32)
13900
13901 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13904         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13905         and BufferView::theLockingInset(Inset*), so should use them and not
13906         access bv_->text->the_locking_inset directly.
13907
13908         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13909
13910 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * Makefile.am:
13913         * tex-defs.h: remove old unused file
13914
13915 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13916
13917         * BufferView_pimpl.C: fix typo, remove minibuffer message
13918           when buffer has loaded
13919
13920 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13921
13922         * lyxfunc.C (Dispatch): use stringstream
13923         (MenuNew): use stringstream
13924         (Open): use stringstream
13925
13926         * importer.C (Import): use stringstream
13927
13928         * bufferview_funcs.C (CurrentState): use stringstream
13929
13930         * LaTeX.C (run): use stringstream
13931
13932         * BufferView_pimpl.C (savePosition): use stringstream
13933         (restorePosition): use stringstream
13934         (MenuInsertLyXFile): use stringstream
13935
13936 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * BufferView.C:
13939         * Bullet.C:
13940         * ColorHandler.C:
13941         * FontInfo.C:
13942         * FontLoader.C:
13943         * LColor.C:
13944         * LaTeXFeatures.C:
13945         * Painter.C:
13946         * gettext.C:
13947         * lyx_gui_misc.C:
13948         * lyxserver.C:
13949         * vspace.C: removed // -*- C++ -*- as first line.
13950
13951         * lyxfind.h:
13952         * version.h: added // -*- C++ -*- as first line.
13953
13954 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13957
13958         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13959         of string
13960
13961 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13964         of floats.
13965
13966 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13967
13968         * gettext.C: include LString.h even when --disable-nls is on.
13969
13970 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13971
13972         * converter.h (Get): changed argument type from int to
13973         FormatList::size_type to avoid unnecessary conversion.
13974
13975         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13976         before using it.
13977
13978 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * gettext.h: include LString.h even when --disable-nls is on.
13981
13982 2001-06-07  Juergen Vigna  <jug@sad.it>
13983
13984         * text.C (BreakAgain): subst spaces with tabs.
13985
13986         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13987         (resizeInsetsLyXText): set force on resizeLyXText.
13988
13989 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13990
13991         * gettext.h (gettext_init):
13992         (locale_init): use a real definition instead of a macro
13993
13994 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13995
13996         * Bufferview_pimpl.C:
13997         * LColor.h:
13998         * LColor.C: further lcolor tidies
13999
14000 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * BufferView_pimpl.C (updateScrollbar): simplify.
14003
14004         * BufferView2.C: don't include insets/insetinfo.h, change
14005         prototype for insertInset and call the Pimpl version. let
14006         updateInset call Pimpl version.
14007
14008         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14009         gotoInset to BufferView::Pimpl
14010
14011 2001-06-01  Juergen Vigna  <jug@sad.it>
14012
14013         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14014         inside a LockingInset (is the update needed at all?).
14015
14016 2001-05-31  Juergen Vigna  <jug@sad.it>
14017
14018         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14019         here not the old one otherwise how should we compare it afterwards
14020         if it's the same!
14021
14022 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * lyxfont.C:
14025         * tabular.C:
14026         * tabular-old.C:
14027         * FontInfo.C: bring C functions into global namespace when
14028         necessary
14029
14030 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * LString.h: make sure config.h has been loaded before LString.h.
14033
14034         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14035         (one for each char read by EatLine!).
14036
14037         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14038         variables.
14039
14040 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14043         to the same as the par we break from
14044
14045 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14048
14049         * MenuBackend.C (expand): also create menu entries for wide
14050         versions of the floats.
14051
14052         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14053
14054         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14055
14056         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14057         frontends/Makefile.am
14058
14059         * text2.C: adjust
14060         * text.C: adjust
14061
14062
14063         * tabular.C (getTokenValue): add std::
14064
14065         * tabular-old.C (getTokenValue): add std::
14066         (getTokenValue): ditto
14067         (getTokenValue): ditto
14068
14069         * screen.C (ToggleSelection): adjust
14070
14071         * lyxtext.h: put selection cursors inside a Selection struct.
14072
14073         * lyxfunc.C (moveCursorUpdate): adjust
14074
14075         * lyxfont.C (latexWriteStartChanges): add std::
14076
14077         * lyxfind.C: adjust
14078
14079         * font.h: delete with(char const *, LyXFont const &)
14080
14081         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14082
14083         * FontInfo.C (getFontname): add std::
14084
14085         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14086         (workAreaButtonPress): adjust
14087         (tripleClick): adjust
14088         (update): adjust
14089         (moveCursorUpdate): adjust
14090         (Dispatch): adjust
14091
14092         * BufferView2.C (gotoInset): adjust
14093
14094 2001-05-30  Juergen Vigna  <jug@sad.it>
14095
14096         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14097         to check pspell I add this as default as I now have new pspell
14098         libraries and they seem to use this.
14099
14100 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * text2.C (CutSelection): make the cursor valid before the call to
14103         ClearSelection.
14104
14105 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14108         relied on 0 terminated strings and other horrors. Bug found due to
14109         the new assert in lyxstring!
14110
14111         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14112         KP_ keys.
14113
14114 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14115
14116         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14117         to latinkeys.bind.
14118
14119         * lyxfunc.C (processKeySym): change method of getting to the
14120         self-insert char.
14121
14122         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14123         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14124         * BufferView_pimpl.[Ch]: here as private methods.
14125
14126 2001-05-28  Juergen Vigna  <jug@sad.it>
14127
14128         * text.C (SetHeightOfRow): added the update() call again as it is
14129         needed to initialize inset dimensions!
14130
14131 2001-05-16  Juergen Vigna  <jug@sad.it>
14132
14133         * text2.C (SetCharFont): Add new function with BufferView * and
14134         bool toggleall parameters for setting insets internal fonts.
14135         (SetFont): Freeze the undo as we may change fonts in Insets and
14136         all this change should be inside only one Undo!
14137
14138         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14139         setting font's in insets as for them we have the SetFont function!
14140
14141 2001-05-15  Juergen Vigna  <jug@sad.it>
14142
14143         * text2.C (ClearSelection): to be sure we REALLY don't have any
14144         selection anymore!
14145
14146         * tabular.C (TeXCellPreamble): fixed the left border problem for
14147         multicolumn cells.
14148
14149 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14150
14151         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14152         dependancy file
14153
14154 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14157         LFUN_BREAKPARAGRAPH.
14158
14159         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14160         help test to "internal only", similar for LFUN_INSERT_URL
14161
14162         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14163         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14164         auto_region_delete and deadkeys.
14165
14166 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * LColor.h:
14169         * LColor.C: remove some dead entries, tidy a little
14170
14171 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14174         commented code.
14175         (Dispatch): implement LFUN_ESCAPE
14176
14177         * commandtags.h: add LFUN_ESCAPE
14178
14179         * LyXAction.C (init): add entry for LFUN_ESCAPE
14180
14181         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14182         Remove commented code.
14183         (insertNote): moved here
14184         (open_new_inset): moved here
14185
14186         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14187         BufferView_pimpl
14188
14189 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14190
14191         * kbmap.C (findbinding): clean it up and make it work correctly.
14192
14193         * lyx_main.C (init): do not pass argc and argv as parameters
14194
14195 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14196
14197         * buffer.C: fix path for OS/2 & Win32
14198
14199         * lyx_gui.C:
14200         * lyx_main:
14201         * lyx_main.C: Added os:: class.
14202
14203         * os2_defines.h: update
14204
14205 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14208         better by trying again with reduced state.
14209
14210 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * lyxrc.C (read): print error about invalid key sequence only when
14213         debugging (because not all latinX keysyms are known to some X
14214         servers)
14215
14216         * kbsequence.C (getiso): add a few std:: qualifiers
14217         (getiso): comment out extra return statement.
14218
14219 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14222         handling.
14223         (Dispatch): enhance the accent inset a bit. (not perfect)
14224
14225 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14228
14229 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14230
14231         * bufferlist.C (emergencyWrite): fix assert() call
14232
14233 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14234
14235         * text.C (InsertChar): Added trivial patch to only send the "you
14236         can not do multiple spaces this way" message once during a
14237         session.
14238
14239 2001-05-08  Baruch Even  <baruch@lyx.org>
14240
14241         * Makefile.am: Changed order of libraries to get LyX to link properly
14242         with the gnome frontend.
14243
14244 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14245
14246         * LaTeXFeatures.h: add a std:: qualifier
14247
14248 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14249
14250         * paragraph.C (String): use stringstream
14251
14252 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * paragraph.C (writeFile): remove footflag arg
14255
14256         * buffer.C (makeLaTeXFile): use stringstream
14257         (latexParagraphs): remove footnot gurba
14258
14259         * LaTeXFeatures.C (getPackages): use stringstream
14260         (getMacros): likewise
14261         (getTClassPreamble): likewise
14262         (getFloatDefinitions): new method
14263
14264         * paragraph.C (writeFile): reindent
14265         (Erase): reindent
14266
14267         * WorkArea.h: revert the xpos + etc changes.
14268
14269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14270
14271         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14272
14273         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14274         (pasteSelection): likewise
14275         * text2.C (CreateUndo): likewise
14276
14277 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * minibuffer.C (peek_event): temporarily reduce the functionality
14280         of the minibuffer (to allow args on lfuns)
14281
14282         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14283         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14284
14285         * buffer.C (readInset): add compability reading of old float
14286         lists, add reading of new style float list.
14287         (readInset): avoid reevaluation of inscmd.getCmdName()
14288         (getLists): reindent
14289
14290         * MenuBackend.C (MenuItem): implement parsing of
14291         md_floatlistinsert and md_floatinsert.
14292         (expand::LastFiles): move initalizaton of iterators out of loop,
14293         avoid reevaluation.
14294         (expand::Documents): introduce typdedef vector<string> Strings,
14295         and use it.
14296         (expand::ExportFormats): introduce typedef vector<Format const *>
14297         Formats, and use it.
14298         (expand): implement FloatListInsert and FloatInsert.
14299
14300         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14301         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14302         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14303
14304         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14305         handling.
14306         (Dispatch::LFUN_FLOAT_LIST): implement
14307
14308 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14309
14310         * LaTeX.C (run): Fix problem with --export code.
14311
14312 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14313
14314         * BufferView.[Ch] (workarea): removed.
14315         (getClipboard) new method; wrapper for workarea()->getClipboard()
14316
14317         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14318         bug.
14319
14320         * WorkArea.h (width, height, xpos, ypos): These methods all
14321         returned the dimensions of the work_area sub-area of WorkArea,
14322         resulting in a position error if the WorkArea were resized. Now
14323         return the dimensions of the entire WorkArea.
14324
14325         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14326
14327 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * LaTeX.C (deplog): correct the syntax of regex reg1
14330
14331 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * undo.C: remove !NEW_INSETS cruft
14334
14335 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * text2.C: remove !NEW_INSETS cruft
14338
14339         * text.C: remove !NEW_INSETS cruft
14340
14341         * tabular.C: remove !NEW_INSETS cruft
14342
14343         * spellchecker.C: remove !NEW_INSETS cruft
14344
14345         * lyxtext.h: remove !NEW_INSETS cruft
14346
14347         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14348
14349         * lyxfunc.C: remove !NEW_INSETS cruft
14350
14351         * lyxfind.C: remove !NEW_INSETS cruft
14352
14353         * lyx_cb.C: remove !NEW_INSETS cruft
14354
14355         * figureForm.C: remove  !NEW_INSETS cruft
14356
14357         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14358
14359         * buffer.[Ch]: remove !NEW_INSETS cruft
14360
14361         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14362
14363         * CutAndPaste.C: remove !NEW_INSETS cruft
14364
14365         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14366
14367         * BufferView2.C: remove !NEW_INSETS cruft
14368
14369         * BufferView.h: remove !NEW_INSETS cruft
14370
14371 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14372
14373         * Lsstream.h: include LString.h before the sstream headers to
14374         fix problem with gcc 2.95.3 and lyxstring
14375
14376 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14377
14378         * lyx_main.C: add using directives when needed for C functions
14379         declared in std:: namespace.
14380
14381 2001-04-27  Juergen Vigna  <jug@sad.it>
14382
14383         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14384         (SetHeightOfRow): comment out the update call should not be needed!
14385
14386 2001-04-13  Juergen Vigna  <jug@sad.it>
14387
14388         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14389         (LyXTabular): tried to minimize operator= operations (and realized
14390         hopfully Lars wish).
14391
14392 2001-04-27  Juergen Vigna  <jug@sad.it>
14393
14394         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14395
14396 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14399
14400         * buffer.C (readInset): hack to make listof algorithm work
14401
14402         * BufferView_pimpl.C: hack to make listof algorithm work
14403
14404 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14405
14406         * LyXAction.C: removed all !NEW_INSETS cruft
14407         (init): moved lfun_item in method
14408
14409         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14410
14411 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14412
14413         * BufferView2.C (theLockingInset): white space.
14414
14415 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * minibuffer.C: include <iostream>
14418
14419         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14420
14421         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14422
14423         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14424
14425         * text.[Ch] (TransposeChars): new method
14426
14427 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * call message directly through LyXView instead of through LyXFunc
14430         * BufferView2.C: adjust
14431         * BufferView_pimpl.C: adjust
14432         * FontLoader.C: adjust
14433         * buffer.C: adjust
14434         * bufferview_funcs.C: adjust
14435         * converter.C: adjust
14436         * figureForm.C: adjust
14437         * importer.C: adjust
14438         * lyx_cb.C: adjust
14439         * lyx_gui_misc.C: adjust
14440         * lyxfunc.C: adjust
14441         * lyxvc.C: adjust
14442         * text2.C: adjust
14443         + more files in subdirs
14444
14445         * lyxparagraph.h (size): move up int file
14446         (GetLayout): ditto
14447
14448         * adjust all uses of Assert to lyx::Assert.
14449
14450         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14451         lyxfunctional in namespace lyx
14452         * layout.C (hasLayout): ditto
14453         (GetLayout): ditto
14454         (GetLayout): ditto
14455         (delete_layout): ditto
14456         (NumberOfClass): ditto
14457         * converter.C (GetFormat): ditto
14458         (GetNumber): ditto
14459         (Add): ditto
14460         (Delete): ditto
14461         (SetViewer): ditto
14462         * bufferlist.C (getFileNames): ditto
14463         (emergencyWriteAll): ditto
14464         (exists): ditto
14465         (getBuffer): ditto
14466         * MenuBackend.C (hasSubmenu): ditto
14467         (hasMenu): ditto
14468         (getMenu): ditto
14469         * BufferView_pimpl.C (getInsetByCode): ditto
14470
14471 2001-04-18  Juergen Vigna  <jug@sad.it>
14472
14473         * vspace.C (asLatexString): fixed the 100% problem.
14474
14475 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14476
14477         * lyxfunc.C (Dispatch):
14478         * minibuffer.C:
14479         * minibuffer.h: add a few std:: qualifiers
14480
14481 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * minibuffer.[Ch]: reimplement so that commands is initiated and
14484         run from lyxfunc, simplified som handling, and made the completion
14485         and history code for complete. wip.
14486
14487         * lyxfunc.C (processKeySym): call message
14488         (miniDispatch): new temporary method
14489         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14490         (LFUN_MESSAGE): implement
14491         (LFUN_MESSAGE_PUSH): implement
14492         (LFUN_MESSAGE_POP): implement
14493         (initMiniBuffer): the initial/defualt minibuffer message.
14494
14495         * lyxfont.[Ch]: inline some more getters
14496
14497         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14498
14499         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14500
14501         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14502         (AutoSave): use LFUN_MESSAGE
14503         (Reconfigure): ditto
14504
14505         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14506
14507         * figureForm.C: use LFUN_MESSAGE
14508
14509         * converter.C (runLaTeX): use LFUN_MESSAGE
14510
14511         * bufferview_funcs.C: use LFUN_MESSAGE
14512         (Melt): ditto
14513         (changeDepth): ditto
14514
14515         * bufferparams.h: use boost::
14516
14517         * bufferlist.h: inherit privately from noncopyable
14518
14519         * bufferlist.C (loadLyXFile): remove some commented code.
14520
14521         * buffer.C (runChktex): use LFUN_MESSAGE
14522
14523         * ShareContainer.h: inherit privately from noncopyable
14524
14525         * ParagraphParameters.[hC] (depth): inline it.
14526
14527         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14528         methods.
14529         (message): new method
14530         (messagePush): ditto
14531         (messagePop): ditto
14532         (show): init minibuffer
14533         (showState): direct call
14534
14535         * LaTeX.[Ch]: inherit privately from noncopyable
14536         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14537         instead of WriteStatus.
14538
14539         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14540
14541         * BufferView_pimpl.C (buffer): don't init minibuffer
14542         (workAreaButtonPress): use LFUN_MESSAGE
14543         (workAreaButtonRelease): ditto
14544         (savePosition): ditto
14545         (restorePosition): ditto
14546         (MenuInsertLyXFile): ditto
14547         (workAreaExpose): don't init minibuffer
14548         (update): remove commented code, simplify
14549
14550         * BufferView2.C (openStuff): use LFUN_MESSAGE
14551         (toggleFloat): ditto
14552         (menuUndo): ditto
14553         (menuRedo): ditto
14554         (copyEnvironment): ditto
14555         (pasteEnvironment): ditto
14556         (copy): ditto
14557         (cut): ditto
14558         (paste): ditto
14559         (gotoInset): ditto
14560         (updateInset): remove some commented code
14561
14562         * lastfiles.h: inherit privately from noncopyable
14563         * layout.h: ditto
14564         * lyx_gui.h: ditto
14565         * lyx_main.h: ditto
14566         * lyxlex.h: ditto
14567         * lyxlex_pimpl.h: ditto
14568
14569         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14570         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14571         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14572
14573         * LyXAction.h: inherit privately from noncopyable, add methods
14574         func_begin, func_end, returning iterators to the func map.
14575
14576         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14577         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14578         (func_begin): new method
14579         (func_end): new method
14580
14581         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14582         and not)
14583         (copySelection): ditto
14584         (pasteSelection): ditto
14585
14586         * BufferView.C: whitespace change
14587         * BufferView.h: inherit privately from noncopyable
14588
14589 2001-04-16  Allan Rae  <rae@lyx.org>
14590
14591         * tabular-old.C (l_getline):
14592         * spellchecker.C (sc_check_word):
14593         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14594         an unrecognised preprocessor directive.  So ensure they're wrapped.
14595
14596 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14597
14598         * src/exporter.C (Export): Give an error message when path to file
14599         contains spaces.
14600
14601 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * LaTeX.C (deplog): Always check that foundfile exists.
14604
14605 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14606
14607         * lyx_main.h:
14608         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14609
14610 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14611
14612         * tabular.[Ch] (getLabelList): implement new method
14613
14614         * minibuffer.h: comment ouf setTiimer
14615
14616         * minibuffer.C (ExecutingCB): constify res
14617         (peek_event): constify s
14618         (Set): constify ntext
14619         (Init): constify nicename
14620
14621         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14622
14623         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14624         (savePosition): use two params to Minibuffer::Set
14625         (restorePosition): ditto
14626
14627 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14628
14629         * lyx_main.C: include language.h
14630
14631         * Makefile.am (lyx_main.o): add language.h
14632
14633 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * exporter.C:
14636         * paragraph.C:
14637         * screen.C:
14638         * tabular.C:
14639         * CutAndPaste.C: include gettext.h
14640
14641         * lyxfont.h: remove old hack with ON and OFF.
14642
14643         * lyxparagraph.h:
14644         * lyxfont.h: do not include language.h...
14645
14646         * BufferView2.C:
14647         * LaTeXFeatures.C:
14648         * Painter.C:
14649         * bufferview_funcs.C:
14650         * font.C:
14651         * lyxfont.C:
14652         * text.C:
14653         * text2.C:
14654         * trans_mgr.C:
14655         * paragraph.C: ... but do it here instead
14656
14657 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14660
14661         * tabular.C: small reformat
14662
14663         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14664         NEW_INSETS version
14665         (GetChar): ditto
14666         (BreakParagraph): ditto
14667         (SetOnlyLayout): ditto
14668         (SetLayout): ditto
14669
14670         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14671         with one arg less.
14672
14673         * lastfiles.C: removed most using decl, add std:: where needed
14674
14675         * buffer.C: ws changes
14676
14677         * MenuBackend.C (class compare_format): put into anon namespace
14678         (expand): constify label, names, action, action2
14679         (expand):
14680
14681         * text.C (SingleWidth): constify font
14682         (IsBoundary): constify rtl2
14683         (GetVisibleRow): constify ww
14684
14685         * LaTeX.C (deplog): constify logfile
14686
14687         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14688         start_x, end_x
14689         (workAreaExpose): constify widthChange, heightChange
14690
14691         * lyxrow.C (par): moved
14692         (height): moved
14693         (next): moved
14694         * lyxrow.h: as inlines here
14695
14696         * lyxfont.h (shape): moved from lyxfont.C
14697         (emph): moved from lyxfont.C
14698
14699         * lyxfont.C (LyXFont): use initialization list for all
14700         constructors
14701         (shape): move to lyxfont.h as inline
14702         (emph): move to lyxfont.h as inline
14703
14704
14705 2001-04-04  Juergen Vigna  <jug@sad.it>
14706
14707         * vspace.C: had to include stdio.h for use of sscanf
14708
14709 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14710
14711         * BufferView.h:
14712         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14713         independent of xforms.
14714
14715 2001-04-02  Juergen Vigna  <jug@sad.it>
14716
14717         * spellchecker.C: fixed namespace placing!
14718
14719 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14720
14721         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14722         the LyXParagraph * is 0.
14723
14724 2001-03-29  Juergen Vigna  <jug@sad.it>
14725
14726         * vspace.C: added support for %, c%, p%, l%.
14727         (stringFromUnit): added helper function.
14728         (asLatexString): changed to give right results for the %-values.
14729
14730         * buffer.C: convert the widthp in a width%.
14731
14732 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14733
14734         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14735         figureForm.[Ch].
14736
14737         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14738         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14739
14740         * lyx_cb.[Ch]: see above.
14741
14742         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14743         form1.[Ch].
14744
14745         * form1.[Ch]:
14746         * lyx.[Ch]: replaced by figure_form.[Ch].
14747
14748         * lyx_gui.C:
14749         * lyx_gui_misc.C:
14750         * lyxfunc.C: changed headers associated with above changes.
14751
14752 2001-03-27  Juergen Vigna  <jug@sad.it>
14753
14754         * BufferView_pimpl.C: set the temporary cursor right!
14755
14756 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14757
14758         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14759
14760 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14761
14762         * LString.h: removed "using std::getline"!
14763
14764         * BufferView_pimpl.C (Dispatch): changes due to changes in
14765         InsetInclude::Params.
14766
14767         * buffer.C (tag_name): removed redundant break statements as they were
14768         producing lots of warnings with my compiler.
14769
14770 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * LString.h: add "using std::getline" when using the real <string>.
14773
14774 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14775
14776         * buffer.C: removed bitset usage.
14777         PAR_TAG moved to an anonymous name space.
14778         (tag_name): new funtion, also in the anonymous namespace.
14779         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14780         (makeDocBookFile): clean code. Completed transition from string arrays
14781         to string vectors.
14782         (SimpleDocBookOnePar): code clean.
14783
14784 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14785
14786         * tabular.C: add some comments.
14787
14788 2001-03-22  Juergen Vigna  <jug@sad.it>
14789
14790         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14791         compatibility read a bit and fixed bug with minipage in different
14792         depth.
14793
14794 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14795
14796         * buffer.C (pop_tag): removed.
14797         (push_tag): removed.
14798         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14799         array replaced with vector. Added support for CDATA sections.
14800         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14801         at any nest level.
14802         (makeDocBookFile): XML conformant declaration of CDATA section,
14803         fixed bug related to <emphasis> in the first paragraph char.
14804         (sgmlOpenTag): exclude empty tags.
14805         (sgmlCloseTag): ditto.
14806
14807         * buffer.h (pop_tag): removed.
14808         (push_tag): removed.
14809
14810 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14811
14812         * language.h (Languages): added size_type and size().
14813
14814 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14815
14816         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14817         response on compability reading of minipages. One probliem is that
14818         the old usage of minipages was «flertydig»
14819
14820         * several files here and in subdirs: don't use static at file
14821         scope use anon namespaces instead.
14822
14823 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14824
14825         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14826         LaTeX output. This is necessary for Literate document
14827         processing.
14828
14829 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14830
14831         * buffer.C: insert hfill when needed.
14832
14833         * tabular.C (l_getline): use string::erase, small whitespace change.
14834
14835         * BufferView_pimpl.C: try the anon namespace.
14836         * WorkArea.C: ditto
14837
14838 2001-03-16  Juergen Vigna  <jug@sad.it>
14839
14840         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14841         otherwise it won't open options-dialogs.
14842
14843         * buffer.C: honor pextraWidth(p) on converting minipages.
14844
14845         * tabular.C (l_getline): changed the functions to strip trailing \r.
14846
14847 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14848
14849         * BufferView_pimpl.C:
14850         * minibuffer..C: added "using SigC::slot" declaration.
14851
14852 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14853
14854         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14855
14856         * text2.C: ditto
14857
14858         * text.C: ditto
14859
14860         * paragraph.C: ditto
14861
14862         * lyxtext.h: NO_PEXTRA
14863
14864         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14865
14866         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14867         * ParameterStruct.h: ditto
14868         * ParagraphParameters.h: ditto
14869         * lyxparagraph.h: ditto
14870
14871 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14872
14873         * buffer.C: add compability for minipage alignment.
14874         (latexParagraphs): remove unwanted pextra check.
14875
14876         * several files: remove CXX_WORKING_NAMESPACES
14877
14878         * buffer.C (pop_tag): tie is in namespace boost
14879
14880         * BufferView.h: noncopyable is in namespace boost
14881         * lyxlex.h: ditto
14882         * lyx_main.h: ditto
14883         * lyx_gui.h: ditto
14884         * layout.h: ditto
14885         * lastfiles.h: ditto
14886         * bufferlist.h: ditto
14887         * ShareContainer.h: ditto
14888         * LyXView.h: ditto
14889         * LyXAction.h: ditto
14890         * LaTeX.h: ditto
14891
14892 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * Merging changes from BRANCH_MVC back into HEAD.
14895
14896         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14897
14898 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14899
14900         * BufferView_pimpl.C: change from intl.C
14901
14902         * combox.h:
14903         * combox.C:
14904         * Makefile.am: move combox.*
14905
14906         * form1.h:
14907         * form1.C:
14908         * lyx_gui.C:
14909         * intl.h:
14910         * intl.C: remove dialog (covered by prefs)
14911
14912 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14913
14914         * lyxfunc.C (Dispatch): removed redundant break statement.
14915
14916 2001-03-14  Juergen Vigna  <jug@sad.it>
14917
14918         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14919
14920 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14921
14922         * buffer.C: add hack to fix compability reading of minipages.
14923
14924 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14925
14926         * buffer.C (getLists): Cleanup.
14927
14928 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * lyxfont.C (update): don't honor toggleall on font size.
14931
14932 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * bmtable.c:
14935         * bmtable.h:
14936         * Makefile.am: moved to frontends/xforms/
14937
14938         * lyx_gui_misc.C:
14939         * lyxfunc.C:
14940         * BufferView_pimpl.C: changes for moved mathpanel
14941
14942 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * gettext.h: fix gettext_init() in --disable-nls
14945
14946 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14949
14950 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14951
14952         * lyx.C:
14953         * lyx.h: strip external form
14954
14955 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * BufferView_pimpl.C: add comment, destroySplash()
14958
14959 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * BufferView_pimpl.C:
14962         * LyXAction.C:
14963         * buffer.C:
14964         * commandtags.h:
14965         * lyxfunc.C: use re-worked insetinclude
14966
14967 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14968
14969         * buffer.C: add using std::stringstream.
14970
14971         * lyx_cb.C: readd using std::ios.
14972
14973         * buffer.C: add using std::map.
14974
14975         * BufferView_pimpl.C: add using std::vector.
14976
14977         * ShareContainer.h: add std:: to swap.
14978
14979         * buffer.h: add some typedefs
14980         * buffer.C (getLists): use them
14981         (getLists): renamed from getTocList.
14982         add a counter for the different float types and use it in the
14983         generated string.
14984         (getLists): use the same counter for the NEW_INSETS and the "non"
14985         NEW_INSETS
14986
14987         * lyx_cb.h: remove unused items, includes, using etc.
14988
14989         * ShareContainer.h: remove some commented code, add more comments
14990         and "documentation".
14991
14992 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14993
14994         * buffer.C (getTocList): make the list also when NEW_INSETS is
14995         defined.
14996
14997         * buffer.h: remove TocType
14998
14999         * buffer.C (getTocList): change to return a map<string,
15000         vector<TocItem> >, implement for dynamic number of list.
15001
15002         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15003         * text2.C (PasteSelection): adjust
15004         * CutAndPaste.C (pasteSelection): adjust
15005
15006         * FloatList.C (FloatList): update from the new_insets branch.
15007         * Floating.[Ch]: ditto
15008         * LaTeXFeatures.C: ditto
15009         * buffer.C: ditto
15010         * lyxlex_pimpl.C: ditto
15011
15012         * paragraph.C (Last): remove when NEW_INSETS is defined.
15013
15014         * other file: changes because of the above.
15015
15016 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15017
15018         * lyxparagraph.h: rename next to next_, previous to previous_,
15019         make them private for NEW_INSETS. Rename Next() to next(),
15020         Previous() to previous().
15021
15022         * other files: changes because of the above.
15023
15024 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15025
15026         * BufferView.h:
15027         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15028         problem.
15029
15030 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * main.C (main): pass lyx_localedir to gettext_init().
15033
15034         * gettext.h: remove locale_init and gettext_init macros
15035
15036         * gettext.C (locale_init): new function
15037         (gettext_init): new function
15038
15039         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15040         setlocale().
15041
15042 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15043
15044         * Moved credits to frontends:
15045         * credits.[Ch]: removed
15046         * credits_form.[Ch]: removed
15047         * lyx_gui_misc.C: remove credits stuff
15048         * Makefile.am:
15049
15050 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15051
15052         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15053
15054         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15055         unneeded destructor.
15056
15057         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15058         a standalone pointer again.
15059
15060         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15061
15062 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * Makefile.am:
15065         * filedlg.h:
15066         * filedlg.C:
15067         * LyXAction.C:
15068         * ToolbarDefaults.C:
15069         * bufferlist.C:
15070         * commandtags.h:
15071         * form1.C:
15072         * form1.h:
15073         * lyx_cb.C:
15074         * lyx_cb.h:
15075         * lyxfunc.h:
15076         * lyxfunc.C:
15077         * BufferView_pimpl.C: use new file dialog in GUII
15078
15079         * lyx_cb.h:
15080         * lyx_cb.C: remove LayoutsCB to Toolbar
15081
15082 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15083
15084         * ShareContainer.h (get): add std:: qualifier
15085
15086 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * ShareContainer.h: define a proper ShareContainer::value_type
15089         type (and use typename to please compaq cxx)
15090
15091 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15092
15093         * lyxparagraph.h: move serveral local vars to
15094         ParameterStruct/ParagraphParameters., use ShareContainer in
15095         FontTable., make vars in FontTable private and add getter and
15096         setter.
15097
15098         * paragraph.C: changes because of the above.
15099
15100         * lyxfont.h: remove copy constructor and copy assignment. (the
15101         default ones is ok), move number inside FontBits. move inlines to
15102         lyxfont.C
15103
15104         * lyxfont.C: add number to initializaton of statics, move several
15105         inlines here. constify several local vars. some whitespace
15106         cleanup. Dont hide outerscope variables.
15107
15108         * Spacing.h: add two new constructors to match the set methods.
15109
15110         * ShareContainer.h: new file, will perhaps be moved to support
15111
15112         * ParameterStruct.h: new file
15113
15114         * ParagraphParameters.h: new file
15115
15116         * ParagraphParameters.C: new file
15117
15118         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15119         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15120
15121         * BufferView_pimpl.C: ParagraphParameter changes.
15122         * buffer.C: Likewise.
15123         * bufferview_funcs.C: Likewise.
15124         * text.C: Likewise.
15125         * text2.C: Likewise.
15126
15127 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15128
15129         * lyxfind.C (LyXReplace): do not redefine default argument in
15130         implementation.
15131         (IsStringInText): ditto
15132         (SearchForward): ditto
15133         (SearchBackward): ditto
15134
15135 2001-03-06  Juergen Vigna  <jug@sad.it>
15136
15137         * lyxfind.C (IsStringInText): put parentes around expressions.
15138
15139 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15140
15141         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15142
15143 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15144
15145         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15146
15147         * stl_string_fwd.h: add comment
15148
15149         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15150
15151         * tabular.h:
15152         * tabular.C: remove unused DocBook methods
15153
15154         * intl.C:
15155         * language.C:
15156         * paragraph.C:
15157         * buffer.C:
15158         killed DO_USE_DEFAULT_LANGUAGE
15159
15160 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15161
15162         * lyx_gui.C: do not include language.h.
15163
15164         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15165         arguments in function implementation.
15166
15167 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15168
15169         * BufferView_pimpl.C: add <ctime>
15170
15171 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15172
15173         * BufferView_pimpl.C: add using std::find_if
15174
15175 2001-02-27  José Matos  <jamatos@fep.up.pt>
15176
15177         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15178         by OnlyPath.
15179
15180 2001-02-11  José Matos  <jamatos@fep.up.pt>
15181
15182         * buffer.C (makeDocBookFile): command styles now have a parameter as
15183         "title" by default.
15184
15185 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15186
15187         * layout_forms.[Ch]: removed
15188         * lyx_cb.[Ch]: out character
15189         * lyx_gui.C: out character
15190         * lyx_gui_misc.C: out character
15191         * bufferview_funcs.C: : out character,
15192         added toggleall as parameter in ToggleAndShow
15193
15194 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15195
15196         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15197
15198         * text2.C (SetCurrentFont): Disable number property at boundary.
15199
15200 2001-02-26  Juergen Vigna  <jug@sad.it>
15201
15202         * lyxfunc.C (getStatus): added a string argument override function so
15203         that this is correctly called from LyXFunc::Dispatch if it contains a
15204         do_not_use_argument which is used!
15205         (Dispatch): added check for "custom" export and call appropriate func.
15206
15207 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15208
15209         * lyxrc.C: Add language_command_local, language_use_babel and
15210         language_global_options.
15211
15212         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15213
15214         * buffer.C (makeLaTeXFile): Use language_use_babel and
15215         language_global_options.
15216
15217 2001-02-23  Juergen Vigna  <jug@sad.it>
15218
15219         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15220         which works with LyXText and putted it inside BufferView. Here now we
15221         only call for that part the BufferView::Dispatch() function.
15222
15223         * BufferView.C (Dispatch): added.
15224
15225         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15226         functions which needs to use a LyXText over from LyXFunc.
15227         (MenuInsertLyXFile): added
15228         (getInsetByCode): added
15229         (moveCursorUpdate): added
15230         (static TEXT): added
15231
15232 2001-02-22  Juergen Vigna  <jug@sad.it>
15233
15234         * BufferView_pimpl.C (update): call a status update to see if LyXText
15235         needs it.
15236
15237 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15238
15239         * vc-backend.C (revert): implement for CVS
15240         (getLog): implement for CVS
15241
15242 2001-02-20  Juergen Vigna  <jug@sad.it>
15243
15244         * text2.C (ClearSelection): added BufferView param for inset_owner call
15245
15246         * lyxfunc.C (TEXT): added this function and use it instead of
15247         directly owner->view()-text of getLyXText().
15248
15249 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15250
15251         * src/layout_forms.C: out preamble
15252         * src/layout_forms.h: out preamble
15253         * src/lyx_cb.C: out preamble
15254         * src/lyx_cb.h: out preamble
15255         * src/lyx_gui.C: out preamble
15256         * src/lyx_gui_misc.C: out preamble
15257         * src/lyxfunc.C: connect with guii preamble
15258
15259 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15260
15261         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15262
15263 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15266         whether to run bibtex.
15267
15268 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15271
15272 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15273
15274         * Makefile.am (lyx_SOURCES): removed bibforms.h
15275
15276         * vspace.h: doxygen
15277
15278         * text.C (GetVisibleRow): make several local vars const
15279
15280         * tabular.C: small cleanup.
15281
15282         * lyxserver.C (callback): use compare instead of strncmp
15283
15284         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15285         inlines to after class or to paragraph.C
15286
15287         * lyxfont.h: remove friend operator!=
15288
15289         * converter.h: move friend bool operator< to non friend and after
15290         class def.
15291
15292         * combox.h: small cleanup
15293
15294         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15295         to inlines after class def.
15296
15297         * buffer.C (pop_tag): use string operations instead of strcmp
15298
15299         * bmtable.c: doxygen, small cleanup
15300
15301         * LaTeX.h: remove friend operator==
15302
15303 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15304
15305         * screen.C:
15306         * lyxrc.[Ch]:
15307         * lyxfunc.C:
15308         * lyxfont.[Ch]:
15309         * lyx_cb.C:
15310         * intl.[Ch]:
15311         * commandtags.h:
15312         * buffer.C:
15313         * WorkArea.[Ch]:
15314         * LyXAction.C:
15315         * BufferView_pimpl.C:
15316         * BufferView.[Ch]: remove cruft
15317
15318 2001-02-14  Juergen Vigna  <jug@sad.it>
15319
15320         * lyxfunc.C: removed #if 0 unused code
15321
15322         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15323
15324         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15325
15326         * text2.C (SetSelection): added a BufferView * parameter
15327
15328 2001-02-13  Juergen Vigna  <jug@sad.it>
15329
15330         * lyxfunc.C (Dispatch): fixed protected blank problem.
15331         * BufferView2.C (protectedBlank): added LyxText * parameter.
15332
15333         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15334         (AppendColumn): same as above for column_info.
15335
15336         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15337         (moveCursorUpdate): use a LyXText param for support of InsetText.
15338
15339         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15340         (tripleClick): ditto
15341
15342         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15343
15344         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15345
15346         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15347
15348         * text2.C (SetSelection): set correct update status if inset_owner
15349         (ToggleFree): ditto
15350
15351 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15352
15353         * tabular.C: remove some commented code.
15354
15355 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15356
15357         * BufferView_pimpl.C: call hideSplash()
15358
15359         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15360
15361         * include_form.h:
15362         * bibforms.h: remove
15363
15364         * lyxfunc.C:
15365         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15366           add LFUN_CHILD_CREATE
15367
15368         * counters.h: fix tiny typo
15369
15370         * lyx_cb.C:
15371         * lyx.h:
15372         * lyx_gui.C:
15373         * lyx.C: move splash to frontends/xforms/
15374
15375         * lyx_gui_misc.C: move Include and Bibform to frontends
15376
15377         * lyxvc.h: clarify comment
15378
15379         * vspace.C: tiny housekeeping
15380
15381 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15382
15383         * text.C (PrepareToPrint): RTL Fix.
15384
15385         * paragraph.C (GetUChar): New method.
15386         (String):  Use GetUChar.
15387
15388         * buffer.C (asciiParagraph): Use GetUChar.
15389
15390 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15393
15394 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15395
15396         * buffer.h:
15397         * buffer.C: rename to getLogName(), handle
15398           build log / latex log nicely
15399
15400 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * MenuBackend.C:
15403         * MenuBackend.h: remove support for reference menuitem type.
15404
15405 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15406
15407         * BufferView_pimpl.C: housekeeping
15408         * BufferView_pimpl.h:
15409         * LyXView.h:
15410         * Makefile.am:
15411         * Timeout.C:
15412         * Timeout.h:
15413         * minibuffer.h: move Timeout GUI-I
15414
15415 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15416
15417         * lyxrc.C (read): Update converters data-structures.
15418
15419 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15420
15421         * LaTeX.h (operator!=): add operator != for Aux_Info
15422
15423 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15424
15425         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15426
15427         * LaTeXLog.C: deleted, useful code moved to Buffer
15428
15429         * buffer.h:
15430         * buffer.C: new function getLatexLogName()
15431
15432         * lyx_gui_misc.C:
15433         * lyx_gui.C:
15434         * lyxvc.C:
15435         * lyxvc.h:
15436         * lyxfunc.C: use frontends for LaTeX and VC logs
15437
15438 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * LaTeX.h: yet another std:: that Allan forgot.
15441
15442         * Variables.C (set): renamed from isset(), because this clashes
15443         with some HP-UX macros (grr).
15444
15445 2001-02-06  Allan Rae  <rae@lyx.org>
15446
15447         * LaTeX.h: Another bug fix.  Missing std:: this time.
15448
15449 2001-02-04  Allan Rae  <rae@lyx.org>
15450
15451         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15452         floats problem. I've left it commented out because it's not quite
15453         correct.  It should also test that the current object is a table or
15454         figure inset.  But I haven't gotten around to figuring out how to do
15455         that.  I *think* it'll be something like: "table" == inset.type()
15456
15457         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15458         bool.
15459
15460 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15461
15462         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15463         all the citation/databases/styles in the auxilary file.
15464         (run): Rerun latex if there was a babel language error.
15465
15466 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15467
15468         * text.C (Backspace): Preserve the font when changing newline char
15469         with a space.
15470         (BreakParagraph): If the cursor is before a space, delete the space.
15471
15472         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15473
15474 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15475
15476         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15477         new argument (code).
15478         (ChangeCitationsIfUnique): New method.
15479
15480         * paragraph.C (GetPositionOfInset): Handle bibkey.
15481
15482 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * BufferView_pimpl.h: change type of Position::par_pos to
15485         LyXParagraph::size_type.
15486
15487 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15488
15489         * BufferView_pimpl.C (savePosition, restorePosition): Write
15490         messages to minibuffer.
15491
15492 2001-01-28  José Matos  <jamatos@fep.up.pt>
15493
15494         * buffer.C (makeDocBookFile): adds support for document language.
15495         A silly restriction on the name of LatexCommand types where removed.
15496         Added support for CDATA sections, allows to chars unescaped, used
15497         among others in code, to avoid escape < and >.
15498
15499 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15500
15501         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15502         saved positions instrad of a stack. Furthermore, a position is
15503         stored using paragraph id/paragraph position.
15504
15505         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15506         Remove LFUN_REF_BACK.
15507
15508 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15509
15510         * converter.C (dvipdfm_options): New method.
15511
15512 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15513
15514         * vspace.C (isValidLength): Fix for empty input string.
15515
15516 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * LyXAction.C (init): change description of LFUN_FIGURE to
15519         "Insert Graphics"
15520
15521 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15522
15523         * LaTeX.C: add using directive
15524
15525 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * MenuBackend.C (expand): Fix the sorting of the formats.
15528
15529 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * lyx_main.C: tiny error message fix
15532
15533 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15534
15535         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15536         calling fl_initialize(). This fixes the problem with ',' as
15537         decimal separator in text files.
15538
15539 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15540
15541         * trans.C (process): Fix the keymap bug.
15542
15543 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15544
15545         * LaTeX.C (scanAuxFiles): New method. Provides support for
15546         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15547         (scanLogFile) Scan for "run BibTeX" messages.
15548
15549         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15550         OT1 font encoding. Also, load the aecompl package if the ae
15551         package is loaded.
15552
15553         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15554
15555 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * texrow.C (increasePos): turn two error messages into debug
15558         messages.
15559
15560 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15561
15562         * LaTeX.C (scanAux): Handle the \@input macro.
15563         (runBibTeX): Use scanAux().
15564
15565         * language.C (latex_options_): New field.
15566
15567         * LaTeXFeatures.C (getMacros): Add language macros.
15568
15569         * buffer.C (makeLaTeXFile): Small fix.
15570
15571 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15574
15575         * text2.C: add a using directive.
15576
15577 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15578
15579         * BufferView2.C:
15580         * lyx_gui_misc.h:
15581         * lyxfr1.C:
15582         * lyxfunc.C: kill LyXBell.
15583
15584 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15585
15586         * text.C (IsBoundary): Remove the error message
15587
15588         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15589
15590         * lyxrc.C (setDefaults): Correct initialization value for
15591         font_norm_type.
15592
15593 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15594
15595         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15596         gotoError().
15597
15598         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15599         and GotoNextNote().
15600
15601         * src/LyXAction.C: Added reference-next.
15602
15603         * text.C (InsertChar): Use contains instead of strchr.
15604
15605         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15606
15607 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15608
15609         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15610         alignment commands (when needed).
15611
15612         * text.C (InsertChar): Add ':' to number separator chars.