]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Wrap most of the frontend code up inside namespace lyx::frontend.
[lyx.git] / src / ChangeLog
1 2004-05-19  Angus Leeming  <leeming@lyx.org>
2
3         * LaTeXFeatures.C:
4         * ToolbarBackend.C:
5         * bufferparams.C:
6         * lyxfunc.C: small changes due to the introduction of namespace
7         lyx::frontend and the moving of namespace biblio to lyx::biblio.
8
9 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * text3.C (dispatch): supress update when only moving the cursor
12         * cursor.C (selHandle): remove commented code
13
14 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
15
16         * paragraph.C (startTeXParParams): correct column count
17         * CutAndPaste.C (pasteSelection): remove const_cast
18         * output_docbook.C (docbookParagraphs): remove const_cast
19         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
20         const_cast and return ParagraphList::const_iterator
21         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
22         * output_plaintext.C (writeFileAscii): remove const_cast
23         * paragraph.[Ch] (simpleTeXOnePar): make const
24         * paragraph_funcs.C (outerPar): use const iterators
25         * paragraph_pimpl.C (validate): use const iterators
26         * text.C (setHeightOfRow): use const iterators
27
28 2004-05-17  Angus Leeming  <leeming@lyx.org>
29
30         * lfuns.h:
31         * LyXAction.C (init): new LFUN_INSET_REFRESH.
32
33         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
34         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
35         if the citation engine has changed.
36
37 2004-05-14  José Matos  <jamatos@lyx.org>
38
39         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
40         if the textclass does not provide it. Have it different for sgml and
41         xml.
42         support the language of document.
43         * output_docbook.C (docbookParagraphs):
44         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
45         first anchor as the id of the paragraph, remove special case code.
46         * sgml.C (escapeChar): escape only < & >.
47
48 2004-05-14  Angus Leeming  <leeming@lyx.org>
49
50         * bufferparams.h: move biblio::CiteEngine enum here to minimize
51         dependencies on src/frontends/controllers/biblio.h. Define a
52         CiteEngine_enum wrapper class to enable the enum to be forward
53         declared.
54
55 2004-05-12  Angus Leeming  <leeming@lyx.org>
56
57         * buffer.C: up LYX_FORMAT to 234.
58         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
59         use_numerical_citations with a single biblio::CiteEngine cite_engine
60         variable.
61         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
62
63 2004-05-13  José Matos  <jamatos@lyx.org>
64
65         * converter.h:
66         * converter.C (Converter, readFlags): add xml member.
67         * outputparams.h: add XML flavor.
68         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
69
70 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * lyxfunc.C (dispatch): 
73         (getStatus): fix handling of LFUN_SEQUENCE
74
75 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * debug.C (showLevel): do not forget the end-of-line marker
78
79 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
80
81         * kbmap.C (read): do not stop parsing a bind file when an error
82         occurs (bug 1575)
83
84 2004-04-29  Angus Leeming  <leeming@lyx.org>
85
86         * cursor.C:
87         * factory.C:
88         * pariterator.C:
89         * text2.C: wrap a bunch of #warning statements
90         inside #ifdef WITH_WARNINGS blocks.
91
92 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * buffer.C: increment format to 233.
95
96 2004-04-28  Angus Leeming  <leeming@lyx.org>
97
98         * BufferView_pimpl.C:
99         * lyxfunc.C:
100         * text3.C:
101         s/updateToolbar()/updateToolbars()/
102         s/Toolbar.h/Toolbars.h/
103
104 2004-04-28  Angus Leeming  <leeming@lyx.org>
105
106         * BufferView.[Ch] (c-tor):
107         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
108         No longer passes these data to the WorkArea generator.
109
110 2004-04-28  Angus Leeming  <leeming@lyx.org>
111
112         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
113
114 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
115
116         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
117
118 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * output_latex.C (TeXEnvironment): make sure that there is a line
121         break before \end{foo} for the last paragraph of a document
122         (TeXOnePar): if the paragraph is at the end of the document (or
123         inset) and the language has to be reset, then make sure that the
124         line break is _before_ the language command, not after (fixes bug
125         1225); also make sure that the language reset command is the first
126         thing after the paragraph (to ensure proper nesting of
127         environments and thus fix bug 1404)
128
129 2004-04-21  John Levon  <levon@movementarian.org>
130
131         * ToolbarBackend.h:
132         * ToolbarBackend.C: make "name" be a programmatic name
133         and a gui_name field.
134
135         * lyxfunc.C: display the minibuffer on M-x
136
137 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
140         (bug 1526)
141
142 2004-04-19  Angus Leeming  <leeming@lyx.org>
143
144         * BufferView_pimpl.C (setBuffer): changed preview interface.
145
146         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
147         possible values.
148
149 2004-04-19  John Levon  <levon@movementarian.org>
150
151         * BufferView_pimpl.C:
152         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
153
154 2004-04-05  Angus Leeming  <leeming@lyx.org>
155
156         * text.C (redoParagraphs): add call to updateCounters(), thereby
157         fixing the missing "Figure #:" label from the caption of a
158         figure float.
159
160 2004-04-13  Angus Leeming  <leeming@lyx.org>
161
162         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
163         cursor is clicked out of an inset.
164
165 2004-04-13  Angus Leeming  <leeming@lyx.org>
166
167         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
168         than an InsetOld one.
169
170 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
171
172         * format.[Ch]: add editor to Format
173         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
174         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
175
176 2004-04-08  André Pönitz  <poenitz@gmx.net>
177
178         * metricsinfo.h: remove PainterInfo::width member
179
180 2004-04-08  Angus Leeming  <leeming@lyx.org>
181
182         * lyx_sty.C (boldsymbol_def): modify so that it outputs
183         "\providecommand" rather than "\newcommand", thereby preventing
184         clashes with packages that define "\boldsymbol" themselves.
185         Eg, beamer.
186
187 2004-04-08  Angus Leeming  <leeming@lyx.org>
188
189         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
190         thereby squashing an unnecessary warning.
191
192 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
195         setBuffer()
196
197 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * BufferView.C (setCursor): call redoParagraph (some insets could
200         have been opened)
201         (putSelectionAt): remove the 'double update' trick
202
203         * BufferView_pimpl.C (fitCursor): call refreshPar
204         (workAreaDispatch): remove an uneeded update call
205         (dispatch): remove some manual update calls
206
207         * cursor.[Ch]: remove cached_y_, updatePos
208         (selHandle): set noUpdate when appropriate
209
210         * lyxfunc.C (dispatch): track if we need an update
211
212         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
213
214         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
215         (paintSelection): cheap optimization, do not call cursorX when not
216         needed
217         (paintPars): change signature
218         (refreshPar): add
219         (paintText): adjust
220         (paintTextInset): adjust
221
222         * text.C: adjust
223
224 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * lengthcommon.C: compilation fix: remove explicit array size from
227         unit_name[] and friends
228
229 2004-04-05  Angus Leeming  <leeming@lyx.org>
230
231         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
232
233         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
234         present only for the preferences dialog.
235         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
236
237 2004-04-05  Angus Leeming  <leeming@lyx.org>
238
239         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
240         to enable the frontends to export changes to lyxrc correctly.
241
242         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
243
244 2004-04-07  André Pönitz  <poenitz@gmx.net>
245
246         * cursor.[Ch] (selClear, adjust): remove math
247
248         * cursor_slice.C: more agressive assert
249
250         * lyxfunc.C:
251         * BufferView_pimpl.C: rework mouse event dispatch
252
253         * dociterator.C:
254         * paragraph.C:
255         * text2.C:
256         * text3.C: adjust
257
258 2004-04-05  André Pönitz  <poenitz@gmx.net>
259
260         * cursor.[Ch] (valign, halign...): remove unneeded functions
261
262 2004-04-05  Angus Leeming  <leeming@lyx.org>
263
264         * lyxlength.[Ch] (unit_name et al.): const-correct.
265
266 2004-04-05  Angus Leeming  <leeming@lyx.org>
267
268         * BufferView_pimpl.C:
269         * buffer.C:
270         * counters.C:
271         * cursor.C:
272         * lyxfunc.C
273         * paragraph.C:
274         * pariterator.C:
275         * text.C:
276         * text2.C:
277         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
278
279 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
280
281         * text3.C (getStatus): add LFUN_BEGINNINGBUF
282
283 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * lyxfind.C: add a couple of inTexted() tests + other small fixes
286         * BufferView_pimpl.[Ch] (getStatus)
287         * BufferView.[Ch] (getStatus): add
288         * lyxfunc.C (getStatus): move lfuns handled in
289         BufferView::dispatch to te function above
290         * Cursor.C (setSelection): set selection() = true
291
292 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
293
294         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
295
296 2004-03-31  Angus Leeming  <leeming@lyx.org>
297
298         * lyxfunc.C (dispatch): Fall through to the generic
299         Dialogs::show("preamble").
300
301 2004-03-31  Angus Leeming  <leeming@lyx.org>
302
303         * lyxfunc.C (dispatch): Fall through to the generic
304         Dialogs::show("spellchecker").
305
306 2004-03-31  Angus Leeming  <leeming@lyx.org>
307
308         * lyxfunc.C (getStatus, dispatch): changed invocation of the
309         preferences dialog.
310
311 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * BufferView.C
314         * cursor.[Ch]
315         * dociterator.[Ch]:
316         * insetiterator.[Ch]:
317         * lyxfind.C:
318         * lyxfunc.C:
319         * pariterator.[Ch]:
320         * text2.C:
321         * undo.[Ch]: s/DocumentIterator/DocIterator/g
322
323 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
324
325         * BufferView.C (setCursor, putSelectionAt): call edit to open the
326         insets where we are putting the cursor.
327
328 2004-03-31  Angus Leeming  <leeming@lyx.org>
329
330         * lfuns.h:
331         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
332
333         * lyxrc.[Ch] (read, write): overloaded member functions taking
334         a std::[io]stream arguments.
335
336         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
337
338 2004-03-31  Angus Leeming  <leeming@lyx.org>
339
340         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
341         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
342
343         * lyxtextclass.C (load): if the text class couldn't be loaded, then
344         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
345
346 2004-03-31  Angus Leeming  <leeming@lyx.org>
347
348         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
349         the LFUN_ALL_INSETS_TOGGLE code.
350
351 2004-03-30  Angus Leeming  <leeming@lyx.org>
352
353         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
354         has died. Fall through to the generic Dialogs::show("document").
355
356 2004-03-30  Angus Leeming  <leeming@lyx.org>
357
358         * lfuns.h:
359         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
360         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
361
362         * lyxfunc.C (getStatus, dispatch): define the actions for these
363         lfuns. Little more than a cut and pste job from ControlDocument.C
364
365         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
366
367 2004-03-30  Angus Leeming  <leeming@lyx.org>
368
369         * lfuns.h:
370         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
371         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
372
373         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
374         open/closed state of ollapsable insets. Usage:
375
376         all-inset-toggle <state> <name>, where
377         <state> == "open" || "closed" || "toggle" and
378         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
379
380         * lyxtext.h, text2.C (toggleInset): removed.
381
382         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
383         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
384         now passes LFUN_INSET_TOGGLE to the found inset.
385
386         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
387         is now invoked as "all-insets-toggle toggle branch".
388
389 2004-03-30  Angus Leeming  <leeming@lyx.org>
390
391         * dociterator.C:
392         * insetiterator.C:
393         * pariterator.[Ch]: added/corrected header blurb.
394
395 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
396
397         * dociterator.[Ch]: add an inset_ member
398         (backwardPos): implemented
399         (backwardPos, forwardPos): use inset_ when the stack is empty.
400         (doc_iterator_begin, doc_iterator_end): implemented
401         * pariterator.[Ch]: adjust, add begin, end
402         * insetiterator.[Ch]: adjust, add begin, end
403         * cursor.C:
404         * document.C:
405         * BufferView.C:
406         * BufferView_pimpl.C:
407         * CutAndPaste.C: adjust
408
409 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
410
411         * buffer.C: increment file format to 232.
412         * LaTeXFeatures.C: add bibtopic package.
413         * bufferparams.[Ch]: param \use_bibtopic.
414
415         * lyxrc.[Ch]: add lyxrc bibtex_command
416         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
417
418         * buffer.C: increment file format to 231.
419
420 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * dociterator.C: implement forwardPar
423         * iterators.[Ch]: remove, replaced by
424         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
425         * BufferView.C:
426         * BufferView_pimpl.C:
427         * CutAndPaste.C:
428         * buffer.C:
429         * bufferview_funcs.C:
430         * cursor.C:
431         * lyxfind.C
432         * lyxfunc.C
433         * paragraph_funcs.C
434         * toc.C:
435         * Makefile.am: adjust
436
437 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * CutAndPaste.C (pasteSelection): fix 2 crashes
440         (eraseSelection): fix a crash
441         * paragraph_funcs.C: remove a warning
442
443 2004-03-28  Angus Leeming  <leeming@lyx.org>
444
445         * lfuns.h:
446         * LyXAction.C (init): new LFUN_PRINT.
447
448         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
449
450 2004-03-27  Angus Leeming  <leeming@lyx.org>
451
452         * lfuns.h:
453         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
454
455         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
456
457 2004-03-27  Angus Leeming  <leeming@lyx.org>
458
459         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
460         insetlist always contains non-null pointers to insets.
461
462 2004-03-26  Angus Leeming  <leeming@lyx.org>
463
464         * src/BufferView_pimpl.C:
465         * src/CutAndPaste.C:
466         * src/buffer.C:
467         * src/iterators.C:
468         * src/output_plaintext.C:
469         * src/outputparams.h:
470         * src/paragraph_funcs.C:
471         * src/rowpainter.C:
472         * src/text.C:
473         * src/text2.C:
474         * src/frontends/controllers/ControlErrorList.C:
475         * src/frontends/gtk/FileDialogPrivate.C:
476         * src/frontends/gtk/GPainter.C:
477         * src/frontends/gtk/GToolbar.C:
478         * src/frontends/qt2/QRef.C:
479         * src/mathed/math_scriptinset.C: squash compiler warnings.
480
481 2004-03-26  Angus Leeming  <leeming@lyx.org>
482
483         * ispell.C (LaunchIspell::start):
484         * lyx_cb.C (AutoSaveBuffer::start):
485         invoke run(DontWait) rather than runNonBlocking().
486
487 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
490
491 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * kbsequence.C (print): adjust
494
495         * kbmap.C (printKeySym): rename and change signature
496         (printKey): use LyXKeySym::print()
497
498 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * undo.C: add using std::advance to compile for stlport
501
502 2004-03-24  Angus Leeming  <leeming@lyx.org>
503
504         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
505         it leads to a crash when no buffer is present.
506
507 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
508             Martin Vermeer  <martin.vermeer@hut.fi>
509
510         * lyxfunc.C (dispatch):
511         * bufferparams.C (readToken): use the new LColor::setColor
512
513         * LColor.[Ch] (setColor): new version that takes two strings as
514         argument and creates a new color entry if necessary
515
516 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
517
518         * buffer.C (makeLaTeXFile): if the main latex file that is
519         processed is usually a subdocument of some master, then pretend
520         for a while that it is actually the master
521
522 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
523
524         * buffer.C (getLabelList):
525         (getBibkeyList): use getMasterBuffer()
526         (getMasterBuffer): new method. Returns the main document in the
527         case where one is using included documents.
528
529 2004-03-25  André Pönitz  <poenitz@gmx.net>
530
531         * Makefile.am:
532         * iterators.[Ch]:
533         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
534
535         * ParagraphList_fwd.h: change ParagraphList to a std::vector
536
537         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
538         text*.C over here. Rename namespace CutAndPaste to lyx::cap
539
540         * ParameterStruct.h: merge with ParagraphParameters
541
542         * lyxtext.h: remove LyXText::parOffset() and getPar()
543
544         * text3.C: Remove all 'manual' update calls. We do now one per user
545         interaction which is completely sufficient.
546
547         * Bidi.C:
548         * BufferView.[Ch]:
549         * BufferView_pimpl.C:
550         * FontIterator.[Ch]:
551         * MenuBackend.C:
552         * ParagraphParameters.[Ch]:
553         * buffer.C:
554         * buffer.h:
555         * bufferlist.C:
556         * cursor.[Ch]:
557         * cursor_slice.[Ch]:
558         * dociterator.[Ch]:
559         * errorlist.[Ch]:
560         * factory.C:
561         * lfuns.h:
562         * lyxfind.C:
563         * lyxfunc.C:
564         * output_docbook.[Ch]:
565         * output_latex.[Ch]:
566         * output_linuxdoc.[Ch]:
567         * output_plaintext.[Ch]:
568         * paragraph.[Ch]:
569         * paragraph_funcs.[Ch]:
570         * paragraph_pimpl.[Ch]:
571         * rowpainter.C:
572         * tabular.[Ch]:
573         * text.C:
574         * text2.C:
575         * toc.C:
576         * undo.[Ch]: adjust
577
578         * frontends/controllers/ControlDocument.C:
579         * frontends/controllers/ControlErrorList.C:
580         * frontends/controllers/ControlSpellchecker.C:
581         * insets/inset.C:
582         * insets/inset.h:
583         * insets/insetbase.h:
584         * insets/insetbibitem.C:
585         * insets/insetbox.C:
586         * insets/insetbranch.C:
587         * insets/insetcaption.C:
588         * insets/insetcharstyle.C:
589         * insets/insetcharstyle.h:
590         * insets/insetcollapsable.C:
591         * insets/insetcollapsable.h:
592         * insets/insetert.C:
593         * insets/insetfloat.C:
594         * insets/insetfoot.C:
595         * insets/insetmarginal.C:
596         * insets/insetnote.C:
597         * insets/insetoptarg.C:
598         * insets/insettabular.C:
599         * insets/insettext.C:
600         * insets/insettext.h:
601         * insets/insetwrap.C:
602         * mathed/math_mboxinset.C:
603         * mathed/math_nestinset.C:
604         * mathed/math_scriptinset.C:
605         * mathed/math_scriptinset.h:
606         * support/types.h:
607
608 2004-03-24  Angus Leeming  <leeming@lyx.org>
609
610         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
611         deal with any child processes that have finished but are waiting to
612         communicate this fact to the rest of LyX.
613
614 2004-03-24  Angus Leeming  <leeming@lyx.org>
615
616         64-bit compile fixes.
617
618         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
619         (c-tor): pass lyx::pos_types rather than ints.
620
621         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
622         lyx::pos_type.
623
624         * text.C (Delete): compile fix.
625         (getPar): ensure that function declaration is the same as that in
626         the header file.
627
628 2004-03-23  Angus Leeming  <leeming@lyx.org>
629
630         * ispell.C (LaunchIspell):
631         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
632         a boost::shred_ptr rather than a std::auto_ptr.
633
634 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxfunc.C (getStatus): handle read-only buffers correctly;
637         handle LFUN_FILE_INSERT_*
638
639         * lyxrc.C (setDefaults, getDescription, output, read):
640         * lyxrc.h: remove ps_command
641
642 2004-03-22  Angus Leeming  <leeming@lyx.org>
643
644         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
645         Ensure that error_handler is processed once only and that all data
646         is saved before attempting to output any warning messages.
647
648         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
649
650 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * tabular.C (TeXRow): crash fix (from Kayvan and André)
653
654 2004-03-19  André Pönitz  <poenitz@gmx.net>
655
656         * cursor.[Ch] (reset): take main text inset as argument
657
658         * BufferView: adjust
659         * BufferView_pimpl.C: adjust
660
661         * paragraph.[Ch]: fix completely broken operator=()
662
663 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * LColor.C (getFromLyXName): make sure that the color name is used
666         as lowercase.
667
668 2004-03-17  Angus Leeming  <leeming@lyx.org>
669
670         * lfuns.h:
671         * LyXAction.C (init): remove LFUN_FORKS_KILL.
672
673         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
674         dialog and to kill a forked process.
675
676 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
677
678         * text2.C (setCursorFromCoordinates): fix font problem
679
680 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
681
682         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
683         bogus "rebuild cursor" code
684
685 2004-03-11  André Pönitz  <poenitz@gmx.net>
686
687         * buffer.[Ch]: use InsetText instead of LyXText as container for
688         the main lyx text.
689
690         * dociterator.[Ch]: drop the BufferView * member which is not needed
691         anymore after the change to buffer.C
692
693         * paragraph_funcs.C:
694         * text.C:
695         * text2.C:
696         * BufferView.[Ch]:
697         * BufferView_pimpl.[Ch]:
698         * cursor.[Ch]:
699         * cursor_slice.[Ch]: adjust
700
701         * text3.C: fix bug in mathDispatch
702
703 2004-03-08  André Pönitz  <poenitz@gmx.net>
704
705         * undo.[Ch]: use 'StableDocumentIterator' as base for
706         the Undo struct.
707
708 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * LaTeXFeatures.C:
711         * bufferparams.[Ch]: add jurabib support and param.
712
713         * LaTeX.C: add FIXME/comment.
714
715 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
716
717         * buffer.C: increment file format to 230.
718
719 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
720
721         * cursor.C (dispatch): avoid infinite loops
722
723 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
724
725         * rowpainter.C (paintSelection): fix x coordinates
726
727 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * text.C (rowBreakPoint): fix breaking before displayed insets
730
731 2004-03-01  André Pönitz  <poenitz@gmx.net>
732
733         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
734
735         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
736
737         * Makefile.am:
738         * BufferView.C:
739         * BufferView_pimpl.C:
740         * buffer.C:
741         * lyxfind.C:
742         * lyxfunc.C:
743         * text.C:
744         * text2.C:
745         * text3.C: adjust
746
747 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
748
749         * lyxtext.h:
750         * text.C:
751         * text2.C:
752         * rowpainter.C:
753         * BufferView_pimpl.C: rename textwidth -> maxwidth,
754         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
755
756 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * Bidi.[Ch] (computeTables): const correctness
759         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
760         fill_hfill, fill_label_hfill and x from Row
761         * lyxtext.h: prepareToPrint returns a RowMetrics
762         * rowPainter.C: adjust
763         * text.C (prepareToPrint): use width, not textWidth. adjust
764         (redoParagraphInternal, cursorX): adjust
765         * text2.C (getColumnNearX): adjust
766         (init): put a default value to the top LyXText::width
767
768 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
771
772 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
773
774         * lyxtext.h: add FontIterator class
775
776         * text.C (FontIterator, operator*, operator->, operator++): add
777         (rowBreakPoint, setRowWidth): adjust (fixing a
778         rebreaking bug)
779
780 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * BufferView_pimpl.C (workAreaDispatch): allow also
783         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
784
785 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
786
787         * text.C (rowBreakPoint): fix a bug showing with very large insets
788
789 2004-02-25  André Pönitz  <poenitz@gmx.net>
790
791         * text3.C:
792         * cursor.[Ch]: move some mathed specific code to mathed
793
794 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
795
796         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
797         use_tempdir in preferences
798         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
799         tempfile creation
800         * lyx_main.C: ensure that tempdir is valid
801         * lyxlex.h: correct typo
802         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
803         * paragraph.[Ch] (isMultiLingual): make const
804         * cursor.[Ch] (openable): make const
805
806 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
807
808         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
809
810 2004-02-20  André Pönitz  <poenitz@gmx.net>
811
812         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
813
814         * cursor.[Ch]: prepare for localized getStatus()
815
816         * lyxtext.h:
817         * tabular.C:
818         * text.C:
819         * text2.C:
820         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
821
822 2004-02-20  André Pönitz  <poenitz@gmx.net>
823
824         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
825
826 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
827
828         * text2.C (setCursorFromCoordinates): switch to absolute coords
829         (cursorUp): adjust
830         (cursorDown): adjust
831         * text3.C (dispatch): adjust
832
833 2004-02-16  André Pönitz  <poenitz@gmx.net>
834
835         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
836           insets/ChangeLog)
837
838         * cursor_slice.[Ch]: remove unneeded acessor function
839
840         * lyxtext.h: rename rtl() to isRTL()
841
842         * rowpainter.C:
843         * tabular.C:
844         * text.C:
845         * text2.C:
846         * text3.C: adjust
847
848 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
849
850         * rowpainter.C (paintSelection): coord fix
851
852 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
853
854         * Spacing.C: compile fix
855
856 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * cursor.C (dispatch): restore current_ before returning
859
860 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * text2.C (cursorUp, cursorDown): fix coords
863         (moveUp): fix crash
864
865 2004-02-12  André Pönitz  <poenitz@gmx.net>
866
867         * lyxtext.h:
868         * text.C:
869         * text2.C:
870         * text3.C: add LCursor & parameter to most cursor movement functions
871           remove usage of LyXText::cursorRow() and cursorPar()
872
873         * cursor.[Ch]: add textRow() needed members
874
875         * BufferView.C:
876         * BufferView_pimpl.C:
877         * paragraph.[Ch]:
878         * BufferView.C:
879         * BufferView_pimpl.C: adjust
880
881 2004-02-11  André Pönitz  <poenitz@gmx.net>
882
883         * lyxfunc.C:
884         * BufferView.[Ch]:
885         * BufferView_pimpl.C: shift undo/redo handling
886
887         * cursor.[Ch]: fix mathed crash
888
889         * lyxfind.C:
890         * lyxtext.h: move selectionAsText to LCursor
891
892         * output_latex.C:
893         * paragraph.C:
894         * text.C:
895         * text2.C:
896         * text3.C: adjust
897
898         * rowpainter.C: fix excessive drawing
899
900 2004-02-06  André Pönitz  <poenitz@gmx.net>
901
902         * BufferView.[Ch]:
903         * BufferView_pimpl.[Ch]:
904         * text3.C: move some text specific LFUN handling
905
906 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
907
908         * text3.C (checkInsetHit): adjust coords
909         * text2.C (getColumnNearX): adjust coords
910         (edit): adjust coords
911         * text.C (getRowNearY): add two asserts
912
913 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * converter.C:
916         * format.C: add using std::distance to compile on gcc 2.95/stlport
917
918 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
919
920         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
921
922 2004-02-04  André Pönitz  <poenitz@gmx.net>
923
924         * BufferView.[Ch] (insertInset):
925         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
926
927         * text2.C:
928         * text3.C: adjust
929
930 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
931
932         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
933         on the default clause of the switch
934         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
935         wasn't catched by LCursor::dispatch
936
937 2004-02-03  André Pönitz  <poenitz@gmx.net>
938
939         * BufferView.C:
940         * cursor.[Ch]: some additional asserts
941
942         * undo.[Ch]: remove LyXText dependency in interface
943
944         * lyxfunc.C: adjust
945
946         * lyxtext.h (firstPar, lastPar): remove dead functions
947
948         * text.C:
949         * text2.C:
950         * text3.C:
951         * paragraph.[Ch]: adjust
952
953 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * lyxfind.C (find): fix argument order in call to ::find
956
957 2004-02-02  André Pönitz  <poenitz@gmx.net>
958
959         * cursor.[Ch]: remove direct access to anchor
960
961         * text.C: remove findText() hack
962
963 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
964
965         * iterators.[Ch] (lockPath): remove in favour of...
966         * BufferView.[Ch] (setCursor): this addition
967         * BufferView.C (putSelectionAt): adjust
968         * undo.C (performUndoOrRedo): adjust
969         * lyxfunc.C (dispatch): adjust
970
971 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
972
973         * iterators.C (lockPath): add a missing slice
974         * undo.C (performUndoOrRedo): remove redundant positioning code
975
976 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
977
978         * vc-backend.C (scanMaster): ";" -> ';'
979
980 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
981
982         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
983         std::binary_function
984
985         * lyxtextclass.C (compare_name): rename to...
986         (LayoutNamesEqual): ...this
987
988         * lyxlex_pimpl.C (compare_tags): inherit from
989         std::binary_function, put back into anon namespace
990
991         * lyxfind.C (MatchString): inherig from std::binary_function
992         (findChange): use empty() istead of !size()
993
994         * format.C (FormatNamesEqual): new functor
995         (getFormat): use it
996         (getNumber): use it
997         (add): use it
998         (erase): use it
999         (setViewer): use it
1000
1001         * converter.C (compare_Converter): rename to...
1002         (ConverterEqual): ...this, and fixup a bit.
1003         (getConverter): use it, and make function const
1004         (getNumber): use it, and make function const
1005         (add): use it
1006         (erase): use it:
1007
1008         * bufferlist.C: add using boost::bind
1009
1010         * MenuBackend.C (MenuNamesEqual): new functor
1011         (hasMenu): use it, and make function const
1012         (hasSubmenu): use nested bind to get rid of compare_memfun.
1013
1014 2004-01-30  André Pönitz  <poenitz@gmx.net>
1015
1016         * BufferView_pimpl.C:
1017         * cursor.C:
1018         * cursor.h:
1019         * cursor_slice.[Ch]:
1020         * lyxfunc.C:
1021         * lyxtext.h:
1022         * paragraph_funcs.C:
1023         * paragraph_funcs.h:
1024         * rowpainter.C:
1025         * text.C:
1026         * text2.C:
1027         * text3.C: move some of the edit(x,y) handling to the insets
1028         some coordinate changes.
1029
1030 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1031
1032         * text.C: add using statements for std::advance and std::distance
1033
1034         * paragraph.C: add using statement for std::distance
1035
1036         * lyxfind.C: add using statement for std::advance
1037
1038         * cursor.C (region): remove std:: from swap
1039         (openable): use nucleus in stead of operator->
1040
1041         * BufferView.C: add using statements for std::distance and std::swap
1042
1043 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1044
1045         * iterators.C: Remove the pimple, move the needed structures to
1046         the header file. Create accessor for the positions stack.
1047         (asPosIterator): remove function
1048
1049         * PosIterator.C (PosIterator): move constructors to top of file
1050         (PosIterator): reimplement the constructor taking a ParIterator in
1051         terms of setFrom.
1052         (setFrom): new function
1053         (operator!=): inline it
1054
1055 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1056
1057         * lyxfind.C (replaceAll): use std::advance
1058
1059         * iterators.h: inherit from std::iterator.
1060
1061         * PosIterator.C (advance, distance): remove
1062         * PosIterator.h: interit from std::iterator.
1063
1064 2004-01-26  André Pönitz  <poenitz@gmx.net>
1065
1066         * BufferView.[Ch]:
1067         * BufferView_pimpl.[Ch]:
1068         * InsetList.[Ch]:
1069         * PosIterator.[Ch]:
1070         * buffer.h:
1071         * bufferview_funcs.C:
1072         * cursor.[Ch]:
1073         * cursor_slice.h:
1074         * factory.[Ch]:
1075         * iterators.[Ch]:
1076         * lyxfind.C:
1077         * lyxfunc.C:
1078         * lyxtext.h:
1079         * output_docbook.C:
1080         * output_latex.C:
1081         * output_linuxdoc.C:
1082         * output_plaintext.C:
1083         * paragraph.[Ch]:
1084         * paragraph_funcs.[Ch]:
1085         * paragraph_pimpl.[Ch]:
1086         * rowpainter.C:
1087         * tabular.C:
1088         * tabular.h:
1089         * text.C:
1090         * text2.C:
1091         * text3.C: more IU:  dumps most of the rest of the mathcursor
1092     implementation into cursor.[Ch]; "globalize" a bit of it.
1093
1094 2004-01-25  Angus Leeming  <leeming@lyx.org>
1095
1096         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1097
1098 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1099
1100         * LaTeXFeatures.h: add nice_ and nice() const
1101         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1102
1103 2004-01-20  André Pönitz  <poenitz@gmx.net>
1104
1105         * BufferView.[Ch]:
1106         * BufferView_pimpl.C:
1107         * PosIterator.C:
1108         * bufferview_funcs.C:
1109         * cursor.[Ch]:
1110         * cursor_slice.[Ch]:
1111         * factory.C:
1112         * iterators.C:
1113         * lyx_cb.C:
1114         * lyxfind.C:
1115         * lyxfunc.C:
1116         * lyxtext.h:
1117         * rowpainter.C:
1118         * text.C:
1119         * text2.C:
1120         * text3.C:
1121         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1122           LCursor and mathcursor parts to LCursor and InsetBase.
1123
1124 2004-01-15  André Pönitz  <poenitz@gmx.net>
1125
1126         * cursor_slice.[Ch]: add a few covienience functions
1127
1128         * funcrequest.[Ch]: remove BufferView * member
1129
1130         * BufferView_pimpl.C:
1131         * cursor.C:
1132         * factory.[Ch]:
1133         * lyxfind.[Ch]:
1134         * lyxfunc.C:
1135         * lyxtext.h:
1136         * text3.C:
1137         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1138
1139 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1140
1141         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1142         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1143
1144 2004-01-13  André Pönitz  <poenitz@gmx.net>
1145
1146         * textcursor.[Ch]:
1147         * lyxtext.h: hide cursor and selection anchor behind accessor function
1148
1149         * BufferView.C:
1150         * BufferView_pimpl.[Ch]:
1151         * PosIterator.C:
1152         * bufferview_funcs.C:
1153         * cursor.h:
1154         * lyxfind.C:
1155         * lyxfunc.C:
1156         * text.C:
1157         * text2.C:
1158         * text3.C:
1159         * undo.C: adjust
1160
1161         * cursor.h:
1162         * cursor_slice.[Ch]: some integer type changes for inset unification
1163
1164         * lyxcursor.[hC]: remove, it's CursorSlice now.
1165
1166         * Makefile.am:
1167         * BufferView_pimpl.[Ch]:
1168         * bufferview_funcs.C:
1169         * cursor_slice.C:
1170         * lyxtext.h:
1171         * text.C:
1172         * text2.C:
1173         * text3.C:
1174         * textcursor.[Ch]: adjust
1175
1176 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1177
1178         * text2.C (undoSpan): add and use
1179         * text.C (breakParagraph): use undoSpan (fix bug 578)
1180         * lyxtext.h: adjust
1181
1182 2004-01-08  Angus Leeming  <leeming@lyx.org>
1183
1184         * BufferView_pimpl.C (MenuInsertLyXFile):
1185         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1186         * lyxfunc.C (menuNew, open, doImport):
1187         FileFilterList change to the FileDialog open and save functions.
1188
1189 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1190
1191         * ShareContainer.h: make isEqual and isUnique adaptable
1192
1193         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1194
1195 2004-01-07  Angus Leeming  <leeming@lyx.org>
1196
1197         * LyXAction.C:
1198         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1199
1200         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1201
1202         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1203         functions replacing find, replace and replaceAll.
1204
1205         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1206         LFUN_WORDFIND(FORWARD|BACKWARD).
1207
1208 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1209
1210         * text.C (breakParagraph): remove an outdated #warning
1211
1212 2004-01-07  André Pönitz  <poenitz@gmx.net>
1213
1214         * lyxfind.C: somewhat clearer logic
1215
1216         * text.C: prevent crash in cursorX on unitialized row cache
1217
1218 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * lyxcursor.[Ch] (operator>): add
1221         * textcursor.C (selStart, selEnd): use std::min and std::max
1222
1223 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1224
1225         * Chktex.C: include boost/format.hpp
1226
1227 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1228
1229         * InsetList.C: replace functor MathcIt with adaptable functor
1230         InsetTablePosLess
1231         (insetIterator): modify accordingly
1232
1233         * BranchList.h: move the BranchNamesEqual functor here from...
1234         * BranchList.C: ... to here
1235
1236         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1237         SameName and match.
1238         (add): replace a finding loop with std::find_if.
1239
1240 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * output_docbook.C: moving LatexParam functionality into
1243         .layout files
1244
1245 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1246
1247         * buffer.C: increment format to 229.
1248
1249 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1250
1251         * LaTeXFeatures.C:
1252         * lyx_sty.[Ch]: remove minipageindent_def
1253
1254         * LyXAction.C:
1255         * factory.C:
1256         * lfuns.h:
1257         * lyxfunc.C:
1258         * text3.C: remove LFUN_INSET_MINIPAGE
1259
1260 2003-12-28  Angus Leeming  <leeming@lyx.org>
1261
1262         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1263
1264 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1265
1266         * text2.C (setParagraph): fix off-by-one crash
1267
1268 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * output_docbook.C: header stuff for AGU
1271
1272 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * text2.C (redoCursor): remove
1275         * text.C:
1276         * text3.C:
1277         * BufferView_pimpl.C: remove calls to redoCursor and
1278         setCursor(cursor.par(), cursor.pos()) all around
1279
1280 2003-12-15  Angus Leeming  <leeming@lyx.org>
1281
1282         * buffer.C: up the format to 228.
1283
1284 2003-12-15  André Pönitz  <poenitz@gmx.net>
1285
1286         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1287         slices
1288
1289         * Makefile.am:
1290
1291         * BufferView_pimpl.C:
1292         * cursor.[Ch]:
1293         * lyxcursor.[Ch]:
1294         * rowpainter.[Ch]:
1295         * lyxtext.h:
1296         * text.C:
1297         * text2.C:
1298         * text3.C: adjust
1299
1300 2003-12-15  Angus Leeming  <leeming@lyx.org>
1301
1302         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1303         than getFromGUIName to manipulate the color.
1304
1305 2003-12-14  Angus Leeming  <leeming@lyx.org>
1306
1307         * BranchList.[Ch]: minimize the API.
1308         (Branch::getBranch, getColor): now return a 'const &'.
1309         (Branch::setSelected) now returns a bool set to true if the
1310         selection status changes.
1311         (BranchList::clear, size, getColor, setColor, setSelected,
1312         allBranches, allSelected, separator): removed.
1313         (BranchList::find): new functions, returning the Branch with
1314         the given name.
1315         (BranchList::add, remove): return a bool indicating that
1316         the operation was successful.
1317
1318         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1319         new InsetBranch::isBranchSlected member function.
1320
1321         * LColor.[Ch]: mimimize the API.
1322         (fill): renamed as addColor and made private.
1323         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1324         versions of these functions taking a string arg have been removed.
1325
1326         * bufferparams.C (readToken):
1327         * lyxfunc.C (dispatch):
1328         * lyxrc.C (read): changes due to the altered BranchList and
1329         LColor APIs.
1330
1331         * factory.C (createInset, readInset): changes due to altered
1332         InsetBranch c-tor.
1333
1334 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1335
1336         * factory.C:
1337         * lyxfunc.C: remove insetminipage. "minipage-insert"
1338         now produces a frameless minipage box inset.
1339
1340 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * textcursor.[Ch] (selStart,selEnd): add new methods
1343         remove selection::start, end, use LyXCursor::operator<
1344         * lyxcursor.[Ch] (operator<): add
1345         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1346         * BufferView.[Ch] (unsetXSel): add
1347         * text2.C (clearSelection): use unsetXSel,adjust
1348         * text.C: adjust
1349         * text3.C: adjust
1350         * rowpainter.C: adjust
1351         * bufferview_funcs.C (put_selection_at): adjust
1352
1353 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * BufferView_pimpl.C: small coord. correction
1356
1357 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1360         dragging over the splash screen.
1361
1362 2003-12-11  Angus Leeming  <leeming@lyx.org>
1363
1364         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1365         as it is now handled in LyXText::dispatch.
1366
1367         * text3.C (doInsertInset): remove a level of nesting.
1368
1369 2003-12-11  Angus Leeming  <leeming@lyx.org>
1370
1371         * factory.C (createInset): changes due to the changed interface to
1372         InsetCommandMailer::string2params.
1373
1374 2003-12-10  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1377         'dialog-show-new-inset <inset name>'
1378
1379 2003-12-10  Angus Leeming  <leeming@lyx.org>
1380
1381         * buffer.C: up the format to 227.
1382
1383         * factory.C: the box inset is now identified simply by 'Box'.
1384
1385 2003-12-10  Angus Leeming  <leeming@lyx.org>
1386
1387         * buffer.C: up the format to 226.
1388
1389         * factory.C: the note inset is now identified simply by 'Note'.
1390
1391 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1392
1393         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1394         when a pit is enough. Standarize a couple of loops.
1395
1396 2003-12-05  Angus Leeming  <leeming@lyx.org>
1397
1398         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1399         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1400         data to the re-worked "log" dialog.
1401
1402 2003-12-03  André Pönitz  <poenitz@gmx.net>
1403
1404         * PosIterator.C:
1405         * iterators.C:
1406         * lyxtext.h:
1407         * output_latex.C:
1408         * paragraph_funcs.C:
1409         * text.C:
1410         * text2.C: use Inset::getText instead of Inset::getParagraph
1411
1412 2003-12-03  André Pönitz  <poenitz@gmx.net>
1413
1414         * buffer.[Ch]:
1415         * lyxtext.h:
1416         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1417         InsetText::read() as LyXText::read()
1418
1419 2003-12-02  Angus Leeming  <leeming@lyx.org>
1420
1421         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1422         type. Add a comment in the implementation that the function uses
1423         the stream's bad() function rather than fail() as the std::streams
1424         would do.
1425
1426 2003-12-02  André Pönitz  <poenitz@gmx.net>
1427
1428         * lyxlex.[Ch]: make interface more similar to std::stream
1429
1430         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1431
1432 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1433
1434         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1435
1436 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1437
1438         * vspace.[Ch]: remove VSpace::NONE
1439
1440 2003-12-01  André Pönitz  <poenitz@gmx.net>
1441
1442         * buffer.[Ch]:
1443         * lyxtext.h: move ParagraphList member to LyXText
1444         rename LyXText::ownerParagraphs to LyXText::paragraph
1445
1446         * CutAndPaste.C:
1447         * bufferview_funcs.C:
1448         * iterators.[Ch]:
1449         * lyx_cb.C:
1450         * paragraph.C:
1451         * rowpainter.C:
1452         * tabular.C:
1453         * text.C:
1454         * text2.C:
1455         * text3.C: adjust
1456
1457         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1458
1459         * undo.C: fix cursor positioning
1460
1461 2003-12-01  John Levon  <levon@movementarian.org>
1462
1463         * BufferView_pimpl.C: fix a crash on exit with
1464         a buffer open
1465
1466 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1467
1468         * BranchList.C: fix setSelected() method.
1469
1470 2003-11-28  André Pönitz  <poenitz@gmx.net>
1471
1472         * ParagraphParameters.[Ch]:
1473         * ParameterStruct.h: remove space above/below from Paragraph to
1474          InsetVSpace
1475
1476         * BufferView_pimpl.C:
1477         * factory.C:
1478         * lyxfunc.C:
1479         * lyxtext.h:
1480         * output_latex.C:
1481         * paragraph.C:
1482         * paragraph_funcs.C:
1483         * rowpainter.[Ch]:
1484         * text.C:
1485         * text2.C:
1486         * text3.C: adjust
1487
1488 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1489
1490         * factory.C: Syntax change for CharStyles
1491
1492 2003-11-28  André Pönitz  <poenitz@gmx.net>
1493
1494         * BufferView.[Ch]:
1495         * BufferView.[Ch]:
1496         * buffer.[Ch]:
1497         * buffer.[Ch]: move LyXText member
1498
1499 2003-11-28  André Pönitz  <poenitz@gmx.net>
1500
1501         * BufferView.[Ch]: make LyXText * text a private member
1502
1503         * BufferView_pimpl.C:
1504         * cursor.C:
1505         * iterators.C:
1506         * lyx_cb.C:
1507         * lyxfind.C:
1508         * lyxtext.h:
1509         * rowpainter.[Ch]:
1510         * text.C:
1511         * text2.C:
1512         * undo.C: adjust
1513
1514         * output_plaintext.C: cleanup
1515
1516 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * buffer.C:
1519         * lyxtextclass.[Ch]: parametrize SGML document header
1520
1521 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1522
1523         * converter.[Ch]:
1524         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1525         getFlavor().
1526
1527 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1528
1529         * text2.C (setFont): rework using PosIterator (no more recursive)
1530         (setCharFont): no more needed
1531         (setLayout): no more selection cursors fiddling (done by redoCursor)
1532         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1533         destroy remaining ones)
1534
1535 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1536
1537         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1538         * lyxtext.h: ditto
1539         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1540         selection cursors
1541         * lyxfunc.C: adjust
1542         * text3.C: adjust + re-allow multi par depth changes
1543         * textcursor.C: simplify a bit
1544
1545 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1546
1547         * src/buffer.C:
1548         * src/lyxlayout.C:
1549         * src/lyxlayout.h:
1550         * src/lyxtext.h:
1551         * src/output_docbook.C:
1552         * src/output_latex.C:
1553         * src/paragraph.C:
1554         * src/paragraph.h:
1555         * src/sgml.C:
1556         * src/sgml.h:
1557         * src/text2.C: Introducing a number of tags parametrizing various
1558         XML formats that we may want to support
1559
1560 2003-11-25  André Pönitz  <poenitz@gmx.net>
1561
1562         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1563
1564         * lyxtext.h (leftMargin/rightMargin): simplify interface
1565
1566         * rowpainter.C:
1567         * text.C:
1568         * text2.C:
1569         * text3.C: adjust
1570
1571 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1572
1573         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1574         master file to any child files. Fixes bug 546.
1575
1576 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1579
1580 2003-11-24  André Pönitz  <poenitz@gmx.net>
1581
1582         * rowpainter.C: simplification
1583
1584         * text2.C (updateCounters): remove call to redoParagraph on
1585         changed labels as this is far too expensive.
1586
1587 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1588
1589         * converter.C (convert): fix a crash: this function gets
1590         called with buffer == 0 from importer code.
1591
1592 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1593
1594         * text3.C (cursorPrevious): make sure that we do not compare
1595         iterators form different containers.
1596         (cursorNext): ditto
1597
1598         * rowpainter.C (paintSelection): make sure that we do not compare
1599         iterators from different containers.
1600
1601         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1602         iterators from different ParagraphList containers.
1603         [NEXT] ditto
1604
1605         * text2.C (LyXText): change order of initialization slightly
1606         (operator=): new function. copy all variables except cache_par_
1607         (moveUp): make sure that we do not compare iterators from
1608         different ParagraphList constainers.
1609         (moveDown): ditto
1610
1611         * text.C (firstPar): new function
1612         (lastPar): new function
1613         (endPar): new function
1614
1615         * lyxtext.h: move things around and group public functions, public
1616         variables, private functions, private variables
1617
1618 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1619
1620         * factory.C: change call to InsetERT constructor to avoid
1621         additional invocation of method status
1622         * text2.C (toggleInset): remove redundant update() call
1623         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1624         instead of a Bufferview pointer
1625
1626 2003-11-21  André Pönitz  <poenitz@gmx.net>
1627
1628         * rowpainter.C: simplification
1629
1630 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1631
1632         * text3.C (dispatch): make possible to extend a word/row selection
1633         with the mouse
1634
1635 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * lyxtext.h: x0_,y0_ -> xo_,yo_
1638         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1639         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1640         * rowpainter.C (paintRows): paint full paragraphs
1641
1642 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1643
1644         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1645         screen coordinates)
1646
1647 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1648
1649         * lyxtext.h: add x0_, y0_
1650         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1651         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1652
1653 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1654
1655         * text2.C (setCursorIntern): move the x_target update here *
1656         * text3.C: change some bv() to true/false in calls to
1657         cursorUp/Down/Right/Left
1658         * cursor.C: use helper function.
1659
1660 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1661
1662         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1663         * paragraph_funcs.[Ch]: correct comment
1664         * rowpainter.C: do not paint selections away from bv->cursor()
1665         Fix a long standing selection painting bug.
1666         * text3.C: generalize mouse-selection code to LyXTexts other that
1667         top one
1668         * textcursor.C: do not use y coords if we can use par offsets
1669
1670 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1671
1672         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1673         cursor position after e.g. inset insert)
1674
1675 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1676
1677         * lyxfind.C (replace): adjust to locking removal + some
1678         code simplification
1679
1680 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1683         of the path
1684
1685 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1686
1687         * lyxlayout.[Ch]:
1688         * output_docbook.C: XML sanitation: new layout
1689         parameters InnerTag and CommandDepth
1690
1691 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1692
1693         * BufferView_pimpl.C:
1694         * factory.C:
1695         * text3.C: Fix the insertion and modification of button-style
1696         insets
1697
1698 2003-11-13  André Pönitz  <poenitz@gmx.net>
1699
1700         * InsetList.[Ch]: remove deleteLyXText
1701
1702         * paragraph.[Ch]: cache beginOfBody position
1703
1704         * Bidi.C:
1705         * text.C:
1706         * text2.C:
1707         * text3.C: remove superfluous update() calls
1708
1709         * vspace.C: cleanup
1710
1711 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1714         * BufferView.C (fitLockedInsetCursor): remove
1715         * cursor.[Ch] (getDim): add
1716         * text.C (getRowNearY): add faster version
1717         * text3.C: remove some update calls
1718
1719 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1720
1721         * LaTeXFeatures.C:
1722         * LyXAction.C:
1723         * MenuBackend.C:
1724         * MenuBackend.h:
1725         * dispatchresult.h:
1726         * factory.C:
1727         * lfuns.h:
1728         * lyxfunc.C:
1729         * lyxtextclass.C:
1730         * lyxtextclass.h:
1731         * text3.C: The Character Style /XML short element patch.
1732
1733 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1734
1735         * text3.C:
1736         * factory.C: Small step to solving 'unable to insert some insets'
1737         problem
1738
1739 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * cursor.[Ch] (updatePos): new function for updating the y
1742         position of the tip inset
1743         * bufferview_funcs.C (put_selection_at):
1744         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1745
1746 2003-11-11  André Pönitz  <poenitz@gmx.net>
1747
1748         * text.C: remove big comment on invalid Paragraph pointers as it is
1749         not valid anymore
1750
1751 2003-11-11  André Pönitz  <poenitz@gmx.net>
1752
1753         * text_funcs.[Ch]: merge with ...
1754
1755         * text.C: ... this
1756
1757         * lyxtext.h:
1758         * text2.C:
1759         * text3.C: adjust
1760
1761         * Makefile.am: remove text_funcs.[Ch]
1762
1763 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1764
1765         * cursor.C (getPos): return absolute cached y coord
1766
1767         * BufferView_pimpl.C (fitCursor): new simplistic code
1768         (workAreaDispatch): add a fitCursor call
1769
1770 2003-11-10  André Pönitz  <poenitz@gmx.net>
1771
1772         * BufferView.[Ch]:
1773         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1774
1775 2003-11-10  André Pönitz  <poenitz@gmx.net>
1776
1777         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1778         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1779         indicate that the cursor needs to leave an inset
1780
1781         * lyxtext.h: remove inset locking
1782
1783         * cursor.[Ch]: re-implement functionality provided by inset locking
1784
1785         * BufferView.[Ch]:
1786         * BufferView_pimpl.[Ch]:
1787         * LyXAction.C:
1788         * bufferview_funcs.[Ch]:
1789         * factory.C:
1790         * funcrequest.[Ch]:
1791         * iterators.C:
1792         * lyx_cb.C:
1793         * lyxfind.C:
1794         * lyxfunc.C:
1795         * text.C:
1796         * text2.C:
1797         * text3.C:
1798         * undo.C: adjust
1799
1800 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * PosIterator.[Ch]: replace the stack with a vector, add inset
1803         accesor
1804         * iterators.[C]: adjust
1805
1806 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1807
1808         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1809         replaced
1810         * paragraph_funcs.C (readParToken): put the correct id in the
1811         error item, not the id of the top paragraph
1812
1813 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1814
1815         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1816         * bufferview_funcs.C (put_selection_at): use the above
1817
1818 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1819
1820         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1821
1822 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1823
1824         * output_linuxdoc.h:
1825         * output_plaintext.h:
1826         * output.h:
1827         * output_docbook.h: add #include statements
1828
1829 2003-11-05  José Matos  <jamatos@lyx.org>
1830
1831         * output_docbook.[Ch]:
1832         * output_latex.[Ch]:
1833         * output_linuxdoc.[Ch]:
1834         * output_plaintext.[Ch]: New files for output formats.
1835         * output.[Ch]: New file for helper functions.
1836
1837         * buffer.[Ch]:
1838         * paragraph_funcs.[Ch]: output functions moved to new files.
1839
1840         * outputparams.h: rename of latexrunparams.h
1841
1842         * LaTeX.[Ch]:
1843         * buffer.[Ch]:
1844         * bufferlist.[Ch]:
1845         * converter.[Ch]:
1846         * exporter.C:
1847         * paragraph.[Ch]:
1848         * paragraph_funcs.[Ch]:
1849         * paragraph_pimpl.[Ch]:
1850         * tabular.[Ch]: rename ascii to plaintext
1851         and LatexRunParams to OutputParams.
1852
1853 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1854
1855         * iterators.[Ch] (text): require bv argument
1856         * undo.C (recordUndo):
1857         * lyxfunc.C (dispatch):
1858         * bufferview_funcs.C (put_selection_at): adjust
1859
1860 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1861
1862         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1863
1864 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1865
1866         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1867         nestings
1868
1869 2003-11-04  André Pönitz  <poenitz@gmx.net>
1870
1871         * cursor.[Ch]: restructure
1872
1873         * BufferView.[Ch]:
1874         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1875
1876         * iterators.[Ch] (asCursor): remove
1877
1878         * lfuns.h: remove LFUN_INSET_EDIT
1879
1880         * lyxfunc.C:
1881         * tabular.C:
1882         * text.C:
1883         * text2.C:
1884         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1885
1886 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1887
1888         * lyxfind.[Ch]: complete overhaul
1889         * BufferView_pimpl.C:
1890         * lyxfunc.C: adjust
1891         * paragraph.[Ch] (insert): add
1892
1893 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1894
1895         * BufferView.[Ch]:
1896         * lyxtext.h:
1897         * text.C: remove dead spellcheck code
1898
1899 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1900
1901         * dispatchresult.h: add a val setter
1902
1903         * cursor.C (dispatch): use a tempvar for data_[i]
1904
1905 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1906
1907         * PosIterator.[Ch]: compile fix
1908
1909 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1910
1911         * text.C (cursorPar): deactivate the cursor cache
1912
1913 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1914
1915         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1916
1917 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1918
1919         * text3.C (dispatch): adjust for new DisptchResult semantics.
1920
1921         * lyxfunc.C (dispatch): handle update when return from
1922         Cursor::dispatch, adjust for new DispatchResult semantics.
1923
1924         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1925         DispatchResult(true) mean to not update. Add class functions for
1926         setting dispatched and update, as well as reading.
1927
1928         * cursor.C (dispatch): don't handle update here
1929
1930 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1931
1932         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1933         * trans_mgr.C: adjust
1934
1935         * paragraph_funcs.C (readParToken): exception safety
1936
1937         * lyxvc.h: store the vcs pointer in a scoped_ptr
1938         * lyxvc.C: adjust
1939
1940         * lyxsocket.C (serverCallback): exception safety
1941
1942         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1943
1944         * ispell.C (clone): make it return a auto_ptr
1945
1946         * factory.C (createInset): exception safety
1947         (readInset): exception safety
1948
1949         * bufferlist.C (newBuffer): exception safety
1950
1951         * Thesaurus.C (Thesaurus): use initialization for aik_
1952
1953         * MenuBackend.C (expandToc): exception safety.
1954
1955 2003-11-03  André Pönitz  <poenitz@gmx.net>
1956
1957         * buffer.C:
1958         * buffer.h:
1959         * bufferview_funcs.C: remove getInsetFromId()
1960
1961         * lyxcursor.[Ch]:
1962         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1963
1964         * lyxfunc.C:
1965         * text2.C:
1966         * text3.C: adjust
1967
1968 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1969
1970         * PosIterator.C (distance, advance): new
1971         * bufferview_funcs.[Ch] (put_selection_at): new
1972         * iterators.[Ch] (lockPath): new
1973
1974 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * iterators.[Ch] (asPosIterator): added
1977         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1978         * PosIterator.[Ch]: added
1979
1980 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * text3.C:
1983         * lyxfunc.C:
1984         * cursor.C (dispatch):
1985         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1986
1987         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1988         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1989         contructor, add a class function dispatched. Remove operator>=
1990
1991 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * debug.C: only use the default constructor for debugstream
1994         (lyxerr) here.
1995
1996         * main.C (main): include debug.h and setup the lyxerr streambuf
1997         here.
1998
1999 2003-10-31  José Matos  <jamatos@lyx.org>
2000
2001         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2002
2003         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2004         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2005         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2006         * paragraph_pimpl.C (simpleTeXSpecialC):
2007         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2008         add LatexRunParams argument.
2009
2010         * exporter.C (Export): change call accordingly.
2011
2012         * latexrunparams.h: add new member to take care of the other backends.
2013 2003-10-30  José Matos  <jamatos@lyx.org>
2014
2015         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2016         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2017         factorise code for paragraph output.
2018         * buffer.[Ch]:
2019         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2020         move functions.
2021
2022 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * text3.C (dispatch):
2025         * lyxfunc.C (dispatch):
2026         * cursor.C (dispatch):
2027         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2028
2029         * dispatchresult.h: make the dispatch_result_t ctor explicit
2030
2031 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2032
2033         * sgml.[Ch]:
2034         * buffer.C: small refactoring of docbook stuff
2035
2036 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2039         meaning.
2040
2041 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2044         operator dispatch_result_t, and operators for == != and >=
2045
2046         * cursor.C (dispatch): adjust for operator dispatch_result_t
2047         removal. comment out call to update
2048
2049         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2050
2051 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2052
2053         * text3.C:
2054         * text2.C:
2055         * text.C:
2056         * lyxtext.h:
2057         * lyxfunc.C:
2058         * cursor.C:
2059         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2060         (dispatch):
2061
2062         * dispatchresult.h: new file, DispatchResult broken out of
2063         insets/insetbase.h
2064
2065         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2066
2067 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2068
2069         * text.C (rowBreakPoint): put a hack inside #if 0
2070
2071 2003-10-28  André Pönitz  <poenitz@gmx.net>
2072
2073         * lyxtext.h:
2074         * metricsinfo.C:
2075         * paragraph_funcs.C:
2076         * rowpainter.C:
2077         * text.C:
2078         * text2.C: general cleanup (lots of small stuff)
2079
2080 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * text2.C (cursorEnd): simple fix to the "end key goes to one
2083         before the end on last row" bug
2084
2085 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2086
2087         * text.C (backspace): fix the "zombie characters"
2088
2089 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2090
2091         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2092
2093 2003-10-27  André Pönitz  <poenitz@gmx.net>
2094
2095         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2096
2097         * factory.C: handle new InsetPagebreak, InsetLine
2098
2099         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2100         and move handling into new InsetPagebreak, InsetLine
2101
2102         * BufferView_pimpl.C:
2103         * LyXAction.C:
2104         * ParagraphParameters.C:
2105         * ParameterStruct.h:
2106         * lyxfunc.C:
2107         * lyxtext.h:
2108         * paragraph.C:
2109         * paragraph.h:
2110         * paragraph_funcs.C:
2111         * paragraph_pimpl.C:
2112         * rowpainter.C:
2113         * text.C:
2114         * text2.C:
2115         * text3.C: adjust
2116
2117 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * text.C:
2120         * lyxrow_funcs.[Ch]:
2121         * Bidi.C:
2122         * paragraph.C:
2123         * lyxtext.h:
2124         * rowpainter.C:
2125         * text2.C:
2126         * text3.C: remove lastPos uses in favour of Row::endpos
2127
2128 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2129
2130         * undo.C (performUndoOrRedo): fix two crashes by setting a
2131         cursor by hand and reordering some calls. Use bv->lockInset instead
2132         of inset->edit because the latter loses cursor information
2133
2134 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2137         by Martin
2138         (rowBreakPoint): fix width. change point to point + 1.
2139         Add a missing check.
2140
2141 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2142
2143         * MenuBackend.C:
2144         * lyxfunc.C: fix (at least partly) the problems
2145         with the Nav menu and headers inside branch insets
2146         reported by Kayvan
2147
2148 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2149
2150         * paragraph.C (getChar): add strong asserts
2151
2152         * lyxrow_funcs.C (lastPos): remove hideous hack
2153
2154         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2155         (fill): adjust to that (avoid an infinite loop)
2156
2157 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2158
2159         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2160
2161 2003-10-23  André Pönitz  <poenitz@gmx.net>
2162
2163         * RowList_fwd.h: change list<> to vector<> to gain speed
2164         after suggestion from Alfredo
2165
2166 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2167
2168         * lyxtext.h: move the bidi stuff from here...
2169         * text.C: and here
2170         * text2.C: and here
2171         * Bidi.[Ch]: ... to here
2172
2173 2003-10-23  André Pönitz  <poenitz@gmx.net>
2174
2175         * lyxtext.h:
2176         * text.C (isLastRow, isFirstRow): new functions
2177
2178         * paragraph.h: new width cache member
2179
2180         * rowpainter.C: replace RowList::iterator with Row & where possible
2181
2182         * lyxfunc.C: replace several view()->text with a single call
2183
2184         * toc.C: fix 'unused' warning
2185
2186 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2189         when woring with stream::pos_type
2190         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2191
2192 2003-10-22  André Pönitz  <poenitz@gmx.net>
2193
2194         * lyxtext.h:
2195         * text.C: use Row & instead of RowList::iterator
2196
2197         * lyxrow.h: rename end() to endpos()
2198
2199         * rowpainter.C:
2200         * text.C:
2201         * text2.C: adjust
2202
2203 2003-10-22  Angus Leeming  <leeming@lyx.org>
2204
2205         * buffer.[Ch] (fully_loaded): new member function, returning true
2206         only when the file has been loaded fully.
2207         Used to prevent the premature generation of previews and by the
2208         citation inset to prevent computation of the natbib-style label.
2209
2210         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2211         templates are all set up.
2212
2213         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2214
2215 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2216
2217         * text.C: fixed an "oops" in the "is a bit silly"
2218         bug fix
2219
2220 2003-10-21  André Pönitz  <poenitz@gmx.net>
2221
2222         * FuncStatus.[Ch]: small stuff, whitespace
2223
2224         * lyxfont.[Ch]: operator<<() for debug reasons
2225
2226         * lyxfunc.C:
2227         * lyxrow_funcs.C:
2228         * lyxtext.h: whitespace, spelling
2229
2230         * paragraph.C: naming of variables
2231
2232         * text.C:
2233         * text2.C: small stuff
2234
2235
2236 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2237
2238         * text.C: (1) finish off the inset display() work;
2239         (2) fix the "is a bit silly" bug (accessing char
2240         past end of par).
2241
2242 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2243
2244         * text.C: re-introduce display() for insets, fixing the
2245         various bugs (stretch of line above, math inset
2246         positioning, ...)
2247
2248 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * text.C (rightMargin): remove spurious semicolon
2251
2252         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2253         1415)
2254
2255 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2256
2257         * text3.C: fix one crash due to wrong cursor def
2258
2259 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2260
2261         * vc-backend.C (scanMaster): make the regex static
2262
2263         * LaTeX.C (scanAuxFile): make the regexs static
2264
2265         * text3.C (doInsertInset, dispatch, dispatch):
2266         * text2.C (cursorUp, cursorDown):
2267         * text.C (selectNextWordToSpellcheck):
2268         * BufferView_pimpl.C (dispatch):
2269         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2270
2271 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2272
2273         * lyxsocket.C: include <cerrno>
2274
2275 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * lyxfunc.C (dispatch): remove textcache stuff
2278
2279         * bufferlist.C (release): remove textcache stuff
2280         (closeAll): ditto
2281
2282         * TextCache.C: delete file
2283         * TextCache.h: delete file
2284
2285         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2286
2287         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2288         delete of the bv_->text.
2289         (resizeCurrentBuffer): remove texcache stuff
2290         (workAreaResize): ditto
2291
2292 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2295         action.
2296
2297 2003-10-16  André Pönitz  <poenitz@gmx.net>
2298
2299         * lyxrow.[Ch]:
2300         * paragraph.h:
2301         * rowpainter.C:
2302         * text.C:
2303         * text2.C:
2304         * text3.C: speed up by storing y positions per paragraph plus per-row
2305         offset instead of having a 'full' y position in the row.
2306
2307 2003-10-15  André Pönitz  <poenitz@gmx.net>
2308
2309         * iterators.[Ch]:
2310         * iterators.[Ch]:
2311         * undo.[Ch]: make undo aware of inner insets
2312
2313 2003-10-14  Angus Leeming  <leeming@lyx.org>
2314
2315         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2316         static member functions LyX::ref() and LyX::cref.
2317         (lastfiles): new accessor functions for the new lastfiles_ member var.
2318         (addLyXView, views_): add a new LyXView to the list of views_.
2319         (updateInset): loop over all LyXViews to call their own updateInset
2320         member function, returning a pointer to the Buffer owning the inset.
2321
2322         * BufferView_pimpl.C (loadLyXFile):
2323         * MenuBackend.C (expandLastfiles):
2324         * bufferlist.C (MenuWrite, QuitLyX):
2325         lastfiles is no longer a global variable.
2326         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2327
2328         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2329         static function. Access through LyX::cref().emergencyCleanup().
2330
2331 2003-10-14  André Pönitz  <poenitz@gmx.net>
2332
2333         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2334
2335         * undo.[Ch]: restoring part of 'undo in insets'
2336
2337         * Makefile.am:
2338         * undo_funcs.[Ch]: merge with undo.[Ch]
2339
2340         * tabular.C: small cleansing stuff
2341
2342 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2343
2344         * paragraph_funcs.C (readParToken): report unknown insets as error
2345         boxes. Use the outer paragraph as location (also for unknown
2346         tokens).
2347
2348         * factory.C (readInset): do not abort on reading an unknown inset.
2349         Eat it and return 0.
2350
2351 2003-10-13  Angus Leeming  <leeming@lyx.org>
2352
2353         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2354
2355         * lyxrc.C: displayTranslator is now a function,
2356         declared in GraphicsTypes.h.
2357
2358 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2359
2360         * format.C: new placeholder $$a to pass the socket address.
2361
2362         * bufferlist.[Ch]: new function getBufferFromTmp.
2363
2364         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2365           files in the temporary dir.
2366
2367 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2368
2369         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2370
2371         * Makefile.am: add lyxsocket.[Ch].
2372
2373         * lyx_main.C (error_handler): handle SIGPIPE.
2374
2375 2003-10-13  André Pönitz  <poenitz@gmx.net>
2376
2377         * BufferView_pimpl.C:
2378         * lyxtext.h:
2379         * text.C:
2380         * text2.C:
2381         * text3.C:
2382         * undo_funcs.[Ch]: use paroffset_type instead of
2383           ParagraphList::iterators to prevent multiple conversion
2384           (and get a more robust interface)
2385
2386 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2387
2388         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2389         * lyxtext.h: ditto
2390         * text3.C (dispatch): ditto
2391
2392 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2395         move the onlyfile, use onlyfile instead of foundfile in a couple
2396         of places.
2397
2398         * DepTable.C (update): flush the error stream a bit more
2399
2400 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2401
2402         * lyxserver.C (callback): adjust
2403
2404         * lyxfunc.C (getStatus): add a missing brace in commented code
2405         (ensureBufferClean): reindent
2406         (dispatch): delete version taking a string
2407
2408 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * LaTeX.C (deplog): move found file handlig from here...
2411         (handleFoundFile): .. to new function here.
2412         (deplog): make sure to discover several files mentioned on the
2413         same log line.
2414
2415 2003-10-10  André Pönitz  <poenitz@gmx.net>
2416
2417         * lyxfunc.C:
2418         * lyxtext.h:
2419         * tabular.C:
2420         * text.C:
2421         * text2.C:
2422         * text3.C: fix some of the tabular crashes
2423
2424 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2425
2426         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2427
2428         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2429
2430 2003-10-09  André Pönitz  <poenitz@gmx.net>
2431
2432         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2433
2434         * BufferView.C:
2435         * BufferView_pimpl.C:
2436         * bufferview_funcs.C:
2437         * lyx_cb.C:
2438         * lyxcursor.C:
2439         * lyxfind.C:
2440         * lyxfunc.C:
2441         * lyxtext.h:
2442         * text.C:
2443         * text2.C:
2444         * text3.C:
2445         * text_funcs.[Ch]:
2446         * textcursor.[Ch]:
2447         * undo_funcs.C: adjust
2448
2449 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2450
2451         * text2.C (incrementItemDepth): new function, use a backtracking
2452         algorithm to discover the correct item depth.
2453         (resetEnumCounterIfNeeded): new function, use a backtracking
2454         algorithm to discover if counter reset is needed.
2455         (setCounter): use them. Simplify a bit. Add different labels for
2456         different item depths for itemize.
2457
2458         * paragraph.C (Paragraph): remove initialization of enumdepth
2459         (operator=): ditto
2460
2461         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2462         enumerate and itemize. Change the type of itemdepth to signed char.
2463
2464 2003-10-08  André Pönitz  <poenitz@gmx.net>
2465
2466         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2467           thing assignable.
2468         * text.C:
2469         * text2.C: adjust
2470
2471         * tabular.[Ch]: fix crash after 'row-insert'
2472
2473 2003-10-08  Angus Leeming  <leeming@lyx.org>
2474
2475         Fix doxygen warnings.
2476
2477         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2478         Remove CutAndPaste:: prefix from header file declaration.
2479
2480         * LColor.h (fill): remove LColor:: prefix from declaration.
2481
2482         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2483         use lyx::depth_type rather than Paragraph::depth_type so that
2484         header file and .C file match.
2485
2486         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2487
2488         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2489         * aspell.C: \file aspell_local.C -> \file aspell.C
2490         * gettext.C: \file gettext.C -> \file src/gettext.C
2491         * gettext.h: \file gettext.h -> \file src/gettext.h
2492         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2493         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2494         * text.C: \file text.C -> \file src/text.C
2495
2496         * toc.C: move comment so that doxygen is not confused.
2497
2498 2003-10-07  Angus Leeming  <leeming@lyx.org>
2499
2500         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2501
2502 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2503
2504         * aspell.C:
2505         * aspell_local.h: add forgotten std::string's.
2506
2507 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2508
2509         * LaTeXFeatures.C:
2510         * LyXAction.C:
2511         * factory.C:
2512         * lfuns.h:
2513         * lyxfunc.C:
2514         * text3.C: The Box patch. Fancybox support, minipage, parbox
2515
2516 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2517
2518         * CutAndPaste.h:
2519         * DepTable.h:
2520         * FloatList.h:
2521         * LaTeXFeatures.h:
2522         * ParagraphParameters.h:
2523         * TextCache.h:
2524         * Thesaurus.h:
2525         * bufferlist.h:
2526         * exporter.h:
2527         * importer.h:
2528         * lastfiles.h:
2529         * lyxfind.h:
2530         * lyxfont.h:
2531         * lyxlex.h:
2532         * lyxtextclasslist.h:
2533         * messages.h:
2534         * paragraph.h:
2535         * paragraph_pimpl.C:
2536         * textcursor.h: add <string> and other small fixes to make Lars'
2537         std::string patch compile with STLport.
2538
2539 2003-10-06  Angus Leeming  <leeming@lyx.org>
2540
2541         * LColor.h: Add missing #include <string>.
2542
2543 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * All most all file in all subdirs: Make <string> be the prefered
2546         way of getting to std::string, add using declarations.
2547
2548 2003-10-06  André Pönitz  <poenitz@gmx.net>
2549
2550         * metricsinfo.C: initialize LyXFont before changing attribute.
2551         (fixes the 'math in \emph is upright' bug)
2552
2553 2003-10-06  André Pönitz  <poenitz@gmx.net>
2554
2555         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2556
2557 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2558
2559         * graph.C:
2560         * paragraph_pimpl.C: Small fixes to build using STLport
2561
2562 2003-10-02  André Pönitz  <poenitz@gmx.net>
2563
2564         * lyxfunc.C:
2565         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2566
2567 2003-10-01  André Pönitz  <poenitz@gmx.net>
2568
2569         * factory.C: assert early
2570
2571 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * lyx_main.C: remove the global debug object
2574
2575         * debug.h: adjust for new debugstream
2576
2577         * debug.C: adjust for new debugstream and keep the global debug
2578         object here.
2579
2580 2003-09-22  Angus Leeming  <leeming@lyx.org>
2581
2582         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2583         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2584         an incomplete class LyXFont.
2585
2586 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2587
2588         * factory.C: bug fix in branches
2589
2590 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2591
2592         * lyxfunc.C (processKeySym): adjust
2593         (dispatch): adjust
2594         (dispatch): change arg name from ev to func, adjust
2595         (sendDispatchMessage): ditto
2596
2597         * lyx_main.C (defaultKeyBindings): adjust keybindings
2598         (deadKeyBindings): ditto
2599
2600         * kbsequence.C (addkey): return a FuncRequest
2601
2602         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2603
2604         * kbmap.C (bind): take a FuncRequest as arg, adjust
2605         (read): adjust
2606         (lookup): adjust
2607         (defkey): change to take a FuncRequest as arg, adjust
2608         (findbinding): take a FuncRequest as arg, adjust.
2609
2610         * funcrequest.h (operator=): added
2611
2612         * funcrequest.C (FuncRequest): default kb_action changed from
2613         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2614
2615         * buffer.C (dispatch): simplify
2616         (dispatch): adjust to take a FuncRequest as arg, adjust
2617
2618         * boost.C (assertion_failed): change assertion message slightly
2619
2620         * ToolbarBackend.C (read): simplify
2621
2622         * MenuBackend.C (binding): adjust call to findbinding, add a
2623         message if no binding is found.
2624         (read): simplify
2625         (expandToc): correct by adding a empty FuncRequest
2626
2627         * LyXAction.C: include <boost/assert.hpp>
2628         (isPseudoAction): delete function
2629         (LookupFunc): change name to...
2630         (lookupFunc): this. change return type to FuncRequest.
2631         (getActionName): take kb_action as arg, simplify
2632         (funcHasFlag): add an assert, simplify.
2633
2634 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * toc.C (action): return a FuncRequest, simplify
2637
2638         * lyxfunc.C (processKeySym): adjust
2639         (getStatus): delete version that takes an int.
2640         (getStatus): adjust
2641         (dispatch): delete version that takes action as int
2642         (dispatch): adjust
2643         (sendDispatchMessage): simplify and adjust
2644
2645         * funcrequest.C (getArg): take unsigned int as arg
2646
2647         * ToolbarBackend.C (read): adjust
2648         (add): delete version that takes func as a string.
2649         (getIton): take a FuncRequest as arg
2650
2651         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2652         action.
2653
2654         * MenuBackend.C (MenuItem): add a new construct that only takes a
2655         Kind, simplify the constructor use for submenus.
2656         (add): adjust
2657         (expandLastfiles): adjust
2658         (expandDocuments): adjust
2659         (expandFormats): adjust
2660         (expandFloatListInsert): adjust
2661         (expandFloatInsert): adjust
2662         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2663
2664         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2665         Remove class variables lyx_pseudo_map and lyx_arg_map
2666
2667         * LyXAction.C (searchActionArg): delete function
2668         (getPseudoAction): delete function
2669         (retrieveActionArg): delete function
2670         (LookupFunc): make it return kb_action, simplify.
2671         (getActionName): simplify
2672
2673         * factory.C (createInset): fix new bug
2674
2675 2003-09-19  Angus Leeming  <leeming@lyx.org>
2676
2677         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2678         masterFilename_ parameter in the include inset.
2679
2680         * factory.C (createInset): changes due to the changes to InsetInclude.
2681
2682 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2683
2684         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2685
2686 2003-09-18  Angus Leeming  <leeming@lyx.org>
2687
2688         * buffer.C:
2689         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2690         Inset::fillWithBibKeys.
2691         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2692
2693 2003-09-18  Angus Leeming  <leeming@lyx.org>
2694
2695         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2696         variables.
2697         (ctor): pass and store a 'Buffer const &'
2698         (buffer): new member function.
2699
2700         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2701         '*this' to the LaTeXFeatures ctor.
2702
2703 2003-09-18  Angus Leeming  <leeming@lyx.org>
2704
2705         * LColor.h:
2706         * lyxfont.C:
2707         * lyxfont.h:
2708         * lyxtext.h:
2709         * text.C: rename EnumLColor as LColor_color.
2710
2711 2003-09-18  Angus Leeming  <leeming@lyx.org>
2712
2713         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2714         remove #include "insets/insetbase.h" from cursor.h.
2715
2716 2003-09-18  Angus Leeming  <leeming@lyx.org>
2717
2718         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2719         InsetOld_code to remove #include "inset.h".
2720
2721         * iterators.C: add #include "insets/inset.h"
2722
2723 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * BufferView.C: remove more locking stuff that apparently doesn't
2726         do anything sensible.
2727
2728 2003-09-16  André Pönitz  <poenitz@gmx.net>
2729
2730         * paragraph.[Ch]:
2731         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2732           performance boost.
2733
2734 2003-09-16  Angus Leeming  <leeming@lyx.org>
2735
2736         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2737
2738         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2739         arg/return type.
2740
2741         * paragraph.h: remove #include "lyxfont.h". Forward declare
2742         LyXFont_size.
2743
2744 2003-09-16  Angus Leeming  <leeming@lyx.org>
2745
2746         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2747         of support/textutils.h.
2748         (isWord): move the contents of support/textutils.h's IsWordChar here.
2749
2750         * buffer.C:
2751         * lyxfind.C:
2752         * rowpainter.C:
2753         * text.C:
2754         * text2.C: add #include "paragraph.h".
2755
2756         * rowpainter.C:
2757         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2758
2759 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2760
2761         * main.C:
2762         * lyx_main.C:
2763         * lyx_cb.C:
2764         * buffer.C:
2765         * LaTeX.C: use namespace alias for lyx::support::os
2766
2767 2003-09-16  Angus Leeming  <leeming@lyx.org>
2768
2769         * bufferparams.C:
2770         * bufferview_funcs.C:
2771         * factory.C:
2772         * lyxfunc.C:
2773         * paragraph_pimpl.C:
2774         * rowpainter.C:
2775         * text.C: add #include "LColor.h".
2776
2777 2003-09-16  Angus Leeming  <leeming@lyx.org>
2778
2779         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2780         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2781         return LyXFont &.
2782         Store the FontBits::color variable as an int rather than as an
2783         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2784         file.
2785
2786         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2787         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2788         string calls together.
2789
2790         * lyxrc.C: add #include "LColor.h".
2791
2792 2003-09-15  Angus Leeming  <leeming@lyx.org>
2793
2794         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2795         a cow_ptr.
2796
2797 2003-09-15  Angus Leeming  <leeming@lyx.org>
2798
2799         * LColor.h: add an EnumLColor wrapper for LColor::color.
2800
2801         * lyxfont.[Ch] (color, setColor, realColor):
2802         * lyxtext.h, text.C (backgroundColor):
2803         pass EnumLColor args to/from the functions, rather than LColor::color
2804         ones.
2805
2806         * lyxfont.h:
2807         * lyxtext.h: forward declare EnumLColor.
2808
2809         * lyx_main.C: add #include "LColor.h".
2810
2811 2003-09-15  Angus Leeming  <leeming@lyx.org>
2812
2813         * .cvsignore: add lyx-gtk.
2814
2815 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * Chktex.C
2818         * LaTeX.C
2819         * LaTeXFeatures.C
2820         * ParagraphParameters.C
2821         * Spacing.C
2822         * buffer.C
2823         * bufferparams.C
2824         * bufferview_funcs.C
2825         * chset.C
2826         * counters.C
2827         * funcrequest.C
2828         * lyxfont.C
2829         * lyxgluelength.C
2830         * lyxlength.C
2831         * paragraph.C
2832         * paragraph_funcs.C
2833         * text3.C
2834         * vc-backend.C: remove usage of STRCONV
2835
2836 2003-09-15  Angus Leeming  <leeming@lyx.org>
2837
2838         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2839         explicitly define the color passed to the painter.
2840
2841 2003-09-15  Angus Leeming  <leeming@lyx.org>
2842
2843         * bufferparams.C (BufferParams): reorder member initializers to avoid
2844         compiler warning.
2845
2846 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2847
2848         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2849         * text.C (updateRowPositions): remove an unusual nop
2850
2851 2003-09-12  André Pönitz  <poenitz@gmx.net>
2852
2853         * BufferView_pimpl.C:
2854         * Bullet.C:
2855         * layout.h:
2856         * lyxfunc.C:
2857         * lyxlayout.[Ch]:
2858         * lyxtextclass.C:
2859         * rowpainter.C:
2860         * text.C:
2861         * text2.C:
2862         * Counters.[Ch]: finish the 'automatic counters' job
2863
2864 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2865
2866         * aspell.C: include <boost/assert.cpp> (compile fix)
2867
2868 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2869
2870         * boost.C (assertion_failed): use lyx::support::abort instead of
2871         assert.
2872
2873 2003-09-10  Angus Leeming  <leeming@lyx.org>
2874
2875         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2876         with their _fwd progeny.
2877
2878 2003-09-09  Angus Leeming  <leeming@lyx.org>
2879
2880         134 files throughtout the source tree: replace 'using namespace abc;'
2881         directives with the appropriate 'using abc::xyz;' declarations.
2882
2883 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2884
2885         * boost.C (emergencyCleanup): moved here from LAssert.c
2886         (assertion_failed): new function, called by BOOST_ASSERT
2887
2888         * several files: change Assert to BOOST_ASSERT
2889
2890 2003-09-09  Angus Leeming  <leeming@lyx.org>
2891
2892         * buffer.[Ch]: Add an Impl class and move Buffer's member
2893         variables into it. As a result move several header files out of
2894         buffer.h.
2895
2896         Add header files to lots of .C files all over the tree as a result.
2897
2898 2003-09-09  Angus Leeming  <leeming@lyx.org>
2899
2900         * buffer.[Ch]: make Buffer's member variables private. Add
2901         accessor functions.
2902
2903         Lots of changes all over the tree as a result.
2904
2905 2003-09-08  Angus Leeming  <leeming@lyx.org>
2906
2907         * graph.C: #include <config.h>.
2908
2909 2003-09-08  Angus Leeming  <leeming@lyx.org>
2910
2911         * BranchList.C:
2912         * BufferView.C:
2913         * BufferView_pimpl.C:
2914         * CutAndPaste.C:
2915         * DepTable.C:
2916         * LaTeX.C:
2917         * LaTeXFeatures.C:
2918         * LyXAction.C:
2919         * MenuBackend.C:
2920         * TextCache.C:
2921         * aspell.C:
2922         * buffer.C:
2923         * bufferlist.C:
2924         * changes.C:
2925         * chset.C:
2926         * converter.C:
2927         * counters.C:
2928         * debug.C:
2929         * graph.C:
2930         * ispell.C:
2931         * lyx_cb.C:
2932         * lyxfind.C:
2933         * lyxfunc.C:
2934         * lyxlex_pimpl.C:
2935         * lyxrc.C:
2936         * lyxrow.C:
2937         * paragraph.C:
2938         * rowpainter.C:
2939         * texrow.C:
2940         * text.C:
2941         * text2.C:
2942         * toc.C: remove redundant using directives.
2943
2944 2003-09-07  Angus Leeming  <leeming@lyx.org>
2945
2946         * LaTeXFeatures.h: remove #include "support/types.h".
2947         * ToolbarBackend.h: remove #include <algorithm>.
2948         * changes.h: remove #include <ctime>.
2949         * debug.h: remove #include <iosfwd>.
2950         * graph.h: remove #include "support/std_string.h".
2951         * lyx_main.h: remove #include <csignal>.
2952         * lyxlex_pimpl.h: remove #include <fstream>.
2953         * sgml.h: remove #include <algorithm>, <utility>.
2954         * toc.h: remove #include "support/std_ostream.h".
2955         Add #include <iosfwd>.
2956
2957 2003-09-07  Angus Leeming  <leeming@lyx.org>
2958
2959         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2960
2961         * converter.h: forward declare LatexRunParams.
2962         * encoding.h: remove #include "lyxrc.h".
2963         * lyxtext.h: remove #include "LColor.h".
2964         * lyxtextclass.h: remove #include "support/types.h".
2965         * trans.h: remove #include "tex-accent.h".
2966         * trans_mgr.h: remove #include "tex-accent.h".
2967         * insets/inset.h: remove #include "support/types.h", <vector>.
2968         * insets/insetcollapsable.h: remove #include "LColor.h".
2969         * insets/insetinclude.h: remove #include "dimension.h".
2970         * insets/insetlatexaccent.h: remove #include "dimension.h".
2971         * insets/insetoptarg.h:: remove #include "insettext.h".
2972         * insets/insettext.h: remove #include "dimension.h",
2973         <boost/shared_ptr.hpp>
2974
2975         * insets/renderers.h: add #include "dimension.h".
2976         * insets/updatableinset.h: add #include "support/types.h".
2977
2978         * many .C files: Associated changes.
2979
2980 2003-09-06  Angus Leeming  <leeming@lyx.org>
2981
2982         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2983         one, inside testInvariant.
2984
2985         * PrinterParams.C: new file.
2986         * PrinterParams.[Ch]: move the function bodies out of line.
2987
2988 2003-09-06  Angus Leeming  <leeming@lyx.org>
2989
2990         * ParagraphParameters.h: forward declare ParameterStruct rather than
2991         including its header file.
2992         (depth): moved out-of-line.
2993
2994 2003-09-06  Angus Leeming  <leeming@lyx.org>
2995
2996         * BufferView_pimpl.h:
2997         * kbmap.h:
2998         * kbsequence.h:
2999         * lyxfunc.h: forward declare LyXKeySym rather than
3000         #include "frontends/LyXKeySym.h".
3001
3002         * BufferView_pimpl.C:
3003         * kbmap.C:
3004         * kbsequence.C:
3005         * lyxfunc.C: associated changes.
3006
3007 2003-09-06  Angus Leeming  <leeming@lyx.org>
3008
3009         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3010         As a result, can remove the #include "insets/inset.h" from BufferView.h
3011
3012 2003-09-06  Angus Leeming  <leeming@lyx.org>
3013
3014         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3015         As a result, can remove the #include "insets/inset.h" from BufferView.h
3016
3017 2003-09-06  Angus Leeming  <leeming@lyx.org>
3018
3019         * buffer_funcs.C:
3020         * buffer.h:
3021         * bufferlist.C:
3022         * BufferView.C:
3023         * bufferview_funcs.C:
3024         * BufferView_pimpl.C:
3025         * CutAndPaste.C:
3026         * lyx_cb.C:
3027         * lyxfunc.C:
3028         * paragraph.h:
3029         * ParagraphParameters.C:
3030         * tabular.C:
3031         * text3.C:
3032         * toc.C:
3033         * undo_funcs.C:
3034         * frontends/controllers/ControlDocument.C:
3035         * insets/insetcaption.C: rearrange the #includes into some sort of
3036         coherent order.
3037
3038         * buffer.h: remove #includes ErrorList.h, undo.h
3039
3040 2003-09-06  Angus Leeming  <leeming@lyx.org>
3041
3042         * support/types.h: add a 'depth_type' typedef, used to store the
3043         nesting depth of a paragraph.
3044
3045         * paragraph.h:
3046         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3047         defining explicitly.
3048
3049         * buffer.h:
3050         * paragraph_funcs.h:
3051         * ParagraphParameters.h:
3052         * sgml.h: use lyx::depth_type rather than Paragraph or
3053         ParameterStruct's depth_type.
3054
3055         * buffer.h
3056         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3057
3058         * BufferView.C:
3059         * BufferView_pimpl.C:
3060         * CutAndPaste.C:
3061         * ParagraphParameters.C:
3062         * buffer_funcs.C:
3063         * bufferlist.C:
3064         * bufferview_funcs.C:
3065         * lyx_cb.C:
3066         * lyxfunc.C:
3067         * tabular.C:
3068         * text3.C:
3069         * toc.C:
3070         * undo_funcs.C:
3071         * frontends/LyXView.C:
3072         * frontends/controllers/ControlDocument.C:
3073         * frontends/controllers/ControlErrorList.C:
3074         * insets/insetbibitem.C:
3075         * insets/insetbranch.C:
3076         * insets/insetcaption.C:
3077         * insets/insetcollapsable.C:
3078         * insets/insetenv.C:
3079         * insets/insetert.C:
3080         * insets/insetfloat.C:
3081         * insets/insetfoot.C:
3082         * insets/insetfootlike.C:
3083         * insets/insetnewline.C:
3084         * insets/insetquotes.C:
3085         * insets/insettabular.C:
3086         * insets/insettext.C:
3087         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3088
3089         * frontends/controllers/ControlChanges.C: #include "changes.h".
3090
3091 2003-09-06  Angus Leeming  <leeming@lyx.org>
3092
3093         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3094         than #including paragraph.h.
3095
3096         * ParagraphList.h:
3097         * RowList.h: deleted. Superfluous.
3098
3099         * CutAndPaste.h:
3100         * iterators.h:
3101         * lyxcursor.h:
3102         * lyxtext.h:
3103         * text_funcs.h:
3104         * undo.h:
3105         * undo_funcs.h:
3106         * insets/inset.h:
3107         * insets/insettext.h: use ParagraphList_fwd.h rather than
3108         ParagraphList.h.
3109
3110         * paragraph.h: don't forward declare ParagraphList.
3111
3112         * buffer.h:
3113         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3114         rather than ParagraphList.h. paragraph.h is still needed for the
3115         Paragraph::depth_type parameters.
3116
3117         * textcursor.h: enable it to compile stand-alone in light of the
3118         above changes.
3119
3120         * bufferview_funcs.C:
3121         * iterators.C:
3122         * lyxfunc.C:
3123         * lyxrow_funcs.C:
3124         * paragraph.C:
3125         * rowpainter.C:
3126         * text.C:
3127         * text2.C:
3128         * text3.C:
3129         * text_funcs.C:
3130         * textcursor.C:
3131         * undo.C:
3132         * frontends/controllers/ControlParagraph.C:
3133         * frontends/controllers/ControlTabular.C:
3134         * insets/insetmarginal.C:
3135         * insets/insetminipage.C:
3136         * insets/insetnote.C:
3137         * insets/insetoptarg.C: add header files needed to compile again.
3138
3139 2003-09-06  Angus Leeming  <leeming@lyx.org>
3140
3141         * RowList_fwd.h: new file, forward-declaring Row rather than
3142         #including lyxrow.h.
3143
3144         * lyxrow_funcs.h:
3145         * lyxtext.h:
3146         * paragraph.h:
3147         * insets/insettext.h: use it instead of RowList.h
3148
3149         * bufferview_funcs.C:
3150         * lyxfunc.C:
3151         * lyxrow_funcs.C:
3152         * paragraph.C:
3153         * rowpainter.C:
3154         * text.C:
3155         * text2.C:
3156         * text3.C: #include "RowList.h".
3157
3158 2003-09-05  Angus Leeming  <leeming@lyx.org>
3159
3160         * factory.C (createInset):
3161         * vspace.C (c-tor): replace sscanf call with an istringstream.
3162         * ispell.C: re-add missing HP/UX headers.
3163         * lyxserver.C: re-add missing  os2 headers.
3164
3165 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3166
3167         * BranchList.C:
3168         * graph.C:
3169         * ispell.C:
3170         * lastfiles.C:
3171         * lyx_cb.C:
3172         * lyxserver.C:
3173         * texrow.C:
3174         * text3.C: re-add missing system headers, needed for 2.95.2.
3175
3176 2003-09-05  Angus Leeming  <leeming@lyx.org>
3177
3178         Changes most place everywhere due to the removal of using directives
3179         from support/std_sstream.h.
3180
3181 2003-09-05  Angus Leeming  <leeming@lyx.org>
3182
3183         Replace LString.h with support/std_string.h,
3184         Lsstream.h with support/std_sstream.h,
3185         support/LIstream.h with support/std_istream.h,
3186         support/LOstream.h with support/std_ostream.h.
3187
3188         Changes resulting throughout the tree.
3189
3190 2003-09-05  Angus Leeming  <leeming@lyx.org>
3191
3192         * sgml.h: ensure that the header file can be compiled stand-alone.
3193         * *.C: strip out redundant #includes. (320 in total.)
3194
3195 2003-09-04  Angus Leeming  <leeming@lyx.org>
3196
3197         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3198         here (from getPackages).
3199
3200         * debug.[Ch]: add a new EXTERNAL tag.
3201
3202 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3203
3204         * text2.C (cursorEnd): simplify
3205         (setCursor): adjust
3206         (getColumnNearX): adjust
3207
3208         * text.C (computeBidiTables): adjust
3209         (fill): adjust
3210
3211         * rowpainter.C (paintChars): adjust
3212         (paintSelection): adjust
3213         (paintChangeBar): adjust
3214         (paintText): adjust
3215
3216         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3217         lastPos instead.
3218         (numberOfSeparators): adjust
3219
3220 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * LyXAction.C:
3223         * box.[Ch]:
3224         * lfuns.h:
3225         * lyxfunc.C:
3226         * text3.C: Restricts the mouse click functionality
3227         of insets like bibtex, include, toc and floatlist to the visible
3228         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3229         up the dialogs. Cursor has to be in front of the inset (i.e.
3230         start of row) for this to function.
3231
3232 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3233
3234         * bufferview_funcs.C (currentState): output row information
3235
3236 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3237
3238         * bufferview_funcs.C (currentState): output paragraph position
3239
3240 2003-09-04  Angus Leeming  <leeming@lyx.org>
3241
3242         * FloatList.h: move out #include "Floating.h".
3243         * LaTeX.h: move out #include "DepTable.h".
3244         * LyXAction.h: move out #include "funcrequest.h".
3245         * buffer.h: move out #include "author.h", "iterators.h".
3246         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3247         * lyx_main.h: move out #include "errorlist.h".
3248         * lyxfunc.h: move out #include "FuncStatus.h".
3249         * lyxtext: move out #include "lyxcursor.h".
3250         * paragraph_pimpl.h: move out #include "counters.h".
3251
3252 2003-09-03  Angus Leeming  <leeming@lyx.org>
3253
3254         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3255         preamble_snippets list, enabling us to add snippets to the preamble
3256         only if the snippet was not there already.
3257
3258 2003-09-04  Angus Leeming  <leeming@lyx.org>
3259
3260         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3261
3262 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3265         update
3266
3267 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3268
3269         * BranchList.C: point fix, earlier forgotten
3270
3271 2003-09-02  Angus Leeming  <leeming@lyx.org>
3272
3273         * box.C (contains): renamed from 'contained' after a fantastic
3274         amount of hot air.
3275
3276 2003-09-02  John Levon  <levon@movementarian.org>
3277
3278         * BufferView.C:
3279         * lyxcursor.h:
3280         * lyxcursor.C:
3281         * lyxfunc.C:
3282         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3283
3284 2003-09-02  John Levon  <levon@movementarian.org>
3285
3286         * text2.C: simplification of cursorEnd(), including partial
3287         fix for bug 1376
3288
3289 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * buffer.C (readFile): add a space
3292
3293 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3294
3295         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3296
3297 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * buffer.C (readFile): new function, take a filename and a
3300         ParagraphList::iterator
3301         (readFile): adjust
3302         (readFile): adjust, make it private. don't use setStream, make
3303         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3304         always contain the filename.
3305
3306         * BufferView.C (insertLyXFile): simplify and make it work for
3307         gzipped files.
3308
3309 2003-08-30  John Levon  <levon@movementarian.org>
3310
3311         * Makefile.am: fix dist (from Kayvan)
3312
3313 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * most files: change to use const Buffer refs
3316
3317 2003-08-27  André Pönitz  <poenitz@gmx.net>
3318
3319         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3320         on top of ownerPar().
3321
3322 2003-08-27  John Levon  <levon@movementarian.org>
3323
3324         * funcrequest.C: properly initialise POD members
3325
3326 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3327
3328         * lyxtext.h (top_y): move top_y from here
3329         * text.C:
3330         * text2.C:
3331         * text3.C:
3332         * BufferView.[Ch]:
3333         * BufferView_pimpl.[Ch]: to here
3334         * frontends/screen.C:
3335         * insets/insettabular.C:
3336         * insets/insettext.C: adjust
3337         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3338
3339 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3340
3341         * BufferView.[Ch]:
3342         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3343
3344 2003-08-26  André Pönitz  <poenitz@gmx.net>
3345
3346         * paragraph_func.[Ch] (outerPar): new function
3347
3348         * paragraph.C:
3349         * paragraph_funcs.C:
3350         * paragraph_funcs.h:
3351         * paragraph_pimpl.C:
3352         * text2.C: remove Inset::par_owner
3353
3354 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3355
3356         * lyxrow_funcs.C:
3357         * lyxtext.h:
3358         * text.C:
3359         * text2.C: eliminates the needFullRow/display() stuff
3360         altogether, putting the logic in metrics/draw in the insets.
3361
3362 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * text2.C (redoParagraphInternal, redoParagraphs):
3365         * text.C (redoParagraph): add a call to updateRowPositions at the
3366         end of each 'metrics-like' call. Remove all others.
3367         (getRow): remove the 'y-computing' version.
3368         (getRowNearY): do not compute nor return the real y. Solve the
3369         'y < 0' problem and simplify.
3370
3371 2003-08-22  Angus Leeming  <leeming@lyx.org>
3372
3373         * *.[Ch]: clean-up of licence and author blurbs.
3374         Also move config.h out of a few .h files and into a few .C files.
3375
3376 2003-08-22  André Pönitz  <poenitz@gmx.net>
3377
3378         * lyxrow.[Ch]: add x_ and *fill_ members
3379
3380         * lyxtext.h:
3381         * text.C:
3382         * rowpainter.C:
3383         * text2.C: adjust/remove prepareToPrint() calls
3384
3385 2003-08-22  André Pönitz  <poenitz@gmx.net>
3386
3387         * lyxrow.[Ch]: add  end_ member
3388
3389         * lyxrow_funcs.C: use LyXRow::end_
3390
3391         * lyxtext.h (singleWidth): add LyXFont parameter
3392
3393         * rowpainter.C:
3394         * text2.C: adjust LyXText::singleWidth() calls
3395
3396         * text.C (redoParagraph): simplify row breaking logic
3397
3398
3399 2003-08-19  André Pönitz  <poenitz@gmx.net>
3400
3401         * funcrequest.C: initialize button_ member
3402
3403         * text3.C:
3404         * rowpainter.[Ch]: interface consolidation
3405
3406 2003-08-18  André Pönitz  <poenitz@gmx.net>
3407
3408         * BufferView.C:
3409         * BufferView_pimpl.C:
3410         * lyxfind.C:
3411         * paragraph_funcs.C:
3412         * rowpainter.C:
3413         * text3.C: remove LyXScreen::draw() and fitCursor calls
3414
3415         * BranchList.h: remove spurious semicolons
3416
3417         * MenuBackend.C: fix branchlist related crash
3418
3419 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * BranchList.[Ch]:
3422         * InsetList.[Ch]:
3423         * LColor.[Ch]:
3424         * LyXAction.C:
3425         * Makefile.am:
3426         * MenuBackend.[Ch]:
3427         * bufferparams.[Ch]:
3428         * factory.C:
3429         * lfuns.h:
3430         * lyxfunc.C:
3431         * text3.C: implements the 'branch inset'
3432         idea. This allows the output of various versions of a document
3433         from a single source version, selectively outputing or suppressing
3434         output of parts of the text.
3435         This implementation contains a 'branch list editor' in a separate
3436         tab of the document settings dialog. Branches are user definable
3437         and have a "display colour" to distinguish them on-screen.
3438
3439         ColorHandler was somewhat cleaned up.
3440         (1) make possible a dynamically growing LColor list by allowing
3441         the graphic context cache to grow along (vector);
3442         (2) eliminate an IMHO unnecessary step in colour allocation.
3443
3444 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3445
3446         * BufferView_pimpl.C: compile fix
3447
3448 2003-08-15  André Pönitz  <poenitz@gmx.net>
3449
3450         * rowpainter.C: remove extra metrics calls
3451
3452         * lyxtext.h: merge the two constructors into a single one,
3453           pass reference to owner's par list
3454
3455         * BufferView_pimpl.C:
3456         * text.C:
3457         * text2.C: adjust
3458
3459 2003-08-15  André Pönitz  <poenitz@gmx.net>
3460
3461         * lyxrow_funcs.[Ch]:
3462         * lyxtext.h:
3463         * paragraph.h:
3464         * paragraph_funcs.C:
3465         * rowpainter.C:
3466         * text.C:
3467         * text2.C:
3468         * text3.C:
3469         * text_funcs.C: split LyXText::rowlist_ into individual
3470         Paragraph::rows_ chunks
3471
3472         * BufferView.[Ch]:
3473         * BufferView_pimpl.[Ch]:
3474         * lyxfind.C:
3475         * lyxtext.h:
3476         * text3.C: remove toggleSelection()
3477
3478 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3479
3480         * bufferlist.C: beautify two alerts (shorter text of buttons)
3481         * buffer.C: Remove redundant ' ' from message
3482         * tabular.h:
3483         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3484         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3485         rename VALIGN_CENTER to VALIGN_MIDDLE
3486
3487 2003-08-11  André Pönitz  <poenitz@gmx.net>
3488
3489         * lyxtext.h (getPar):
3490         * text.C: new function
3491
3492 2003-08-11  André Pönitz  <poenitz@gmx.net>
3493
3494         * Makefile.am:
3495         * tracer.[Ch]: remove unneeded files
3496
3497         * InsetList.[Ch]: remove resizeInsetsLyXText()
3498
3499         * lyxtext.h:
3500         * text.C:
3501         * text2.C:
3502         * text3.C: merge insertParagraphs() and appendParagraph()
3503         remove breakAgain(), update()
3504
3505         * BufferView_pimpl.[Ch]:
3506         * bufferview_funcs.[Ch]:
3507         * lyxfunc.C:
3508         * paragraph.[Ch]:
3509         * rowpainter.C:
3510         * tabular.C: adjust after text & InsetList changes.
3511
3512 2003-08-08  André Pönitz  <poenitz@gmx.net>
3513
3514         * text.C (insertChar, backspace): replace rowlist fiddling
3515         with rebreak of full par
3516
3517         * lyxtext.h:
3518         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3519         checkParagraph, updateInset): removed
3520
3521 2003-08-07  André Pönitz  <poenitz@gmx.net>
3522
3523         * paragraph.C:
3524         * text3.C: merge some LFUN handlers, remove dead code
3525
3526 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3527
3528         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3529
3530 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3531
3532         * text2.C (DEPM): fix part of bug 1255 and 1256
3533
3534 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3535
3536         * BufferView_pimpl.C (workAreaDispatch): change to use
3537         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3538         that are no mouse related.
3539
3540 2003-08-05  André Pönitz  <poenitz@gmx.net>
3541
3542         * BufferView.[Ch]:
3543         * BufferView_pimpl.[Ch]:
3544         * bufferview_funcs.C:
3545         * text2.C:
3546         * text3.C: rip out "deep update"
3547
3548         * textcursor.[Ch] (last_sel_cursor): remove unused member
3549
3550 2003-08-04  André Pönitz  <poenitz@gmx.net>
3551
3552         * BufferView.[Ch]:
3553         * BufferView_pimpl.[Ch]:
3554         * ParagraphParameters.C:
3555         * bufferview_funcs.C:
3556         * lyx_cb.C:
3557         * lyxfind.C:
3558         * lyxfunc.C:
3559         * text.C:
3560         * text2.C:
3561         * text3.C: replace "complicated" BufferView::update(...) calls with
3562         simpler ones.
3563
3564         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3565
3566 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3567
3568         * Makefile.am (lyx_SOURCES): add paper.h
3569
3570 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3571
3572         * Makefile.am: move things around so that both lyx-qt and
3573         lyx-xforms can be built (according to --with-frontend). Then lyx
3574         is a symbolic link to lyx-[firstfrontend]
3575
3576 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3577
3578         * Always use std::endl with lyxerr
3579
3580 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3581
3582         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3583
3584 2003-08-01  André Pönitz  <poenitz@gmx.net>
3585
3586         * BufferView.[Ch]:
3587         * BufferView_pimpl.[Ch]:
3588         * lyxfunc.C:
3589         * text3.C: merge BufferView::repaint() and BufferView::update()
3590
3591 2003-08-01  José Matos  <jamatos@lyx.org>
3592
3593         * buffer.[Ch]: file_format is no longer a buffer data element.
3594
3595 2003-08-01  André Pönitz  <poenitz@gmx.net>
3596
3597         * BufferView.C:
3598         * lyxtext.h:
3599         * text.C:
3600         * text2.C: make redoParagraph more independent of current cursor
3601
3602         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3603         * text.C:
3604         * text2.C: remove unneeded members
3605
3606 2003-07-30  André Pönitz  <poenitz@gmx.net>
3607
3608         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3609
3610         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3611           create a single function...
3612
3613         * paragraph_funcs.C (moveItem): ... here.
3614
3615         * text.C:
3616           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3617
3618 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3619
3620         * LColor.[Ch]: Add comment and greyedout logical colors.
3621
3622 2003-07-30  André Pönitz  <poenitz@gmx.net>
3623
3624         * tabular.C: don't use Assert too heavily. This crashes where it
3625           shouldn't
3626
3627 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3628
3629         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3630         is disabled (bug 1232)
3631
3632 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3633
3634         * factory.C: limited 'arg' scope
3635
3636 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3637
3638         * factory.C: fixed Note submenu issues
3639
3640 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * factory.C: submenu for Note/Comment/Greyedout
3643
3644 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * lyx_main.C (LyX):
3647         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3648
3649 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3650
3651         * LaTeXFeatures.C:
3652         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3653         greyedout. Patch provided by Jürgen Spitzmüller.
3654
3655 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3656
3657         * kbmap.C (read): fix error message when reading bind files
3658
3659 2003-07-29  Angus Leeming  <leeming@lyx.org>
3660
3661         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3662         certainly does not do what it purports to do. I am doing it, and
3663         us, a favour by killing it.
3664
3665 2003-07-28  José Matos  <jamatos@lyx.org>
3666
3667         * buffer.C (readBody, do_writeFile):
3668         * paragraph.C(readParagraph): \end_document replaces \the_end.
3669
3670 2003-07-29  André Pönitz  <poenitz@gmx.net>
3671
3672         * BufferView.[Ch]:
3673         * BufferView_pimpl.[Ch]:
3674         * lyxfunc.C:
3675         * text2.C:
3676         * text3.C:
3677         * textcursor.[Ch]: remove toggleToggle & Co
3678
3679 2003-07-28  José Matos  <jamatos@fep.up.pt>
3680
3681         * buffer.C (readParagraph):
3682         * params_func (readParToken, readParagraph):
3683         * paragraph.C (write): \layout -> \begin_layout.
3684
3685 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * lyxlex_pimpl.C (setFile): clean up slightly.
3688
3689         * bufferparams.h: add compressed var
3690
3691         * buffer_funcs.C (readFile): adjust for LyXLex change
3692         (newFile): ditto + simplify
3693
3694         * buffer.C (writeFile): handle writing of compressed files
3695
3696         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3697         Check if the file is compressed and set a bufferparm if so.
3698
3699         * Makefile.am (lyx_LDADD): remove explicit -lz
3700
3701 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3702
3703         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3704         makeDocBookFile): put the real LyX version in the first line of
3705         the file
3706
3707         * version.h:
3708         * version.C.in: remove lyx_docversion
3709
3710         * tabular.C (write_attribute): add a template-based version to
3711         write enums properly
3712
3713 2003-07-28  André Pönitz  <poenitz@gmx.net>
3714
3715         * lyxtext.h:
3716         * text.C:
3717         * text2.C:
3718         * text3.C: use doubles again for x-coordinates. They are needed.
3719
3720 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * messages.C (getLocaleDir): use lyx_localedir()
3723
3724         * lyxlex_pimpl.C (setFile): compress stuff
3725
3726         * buffer.C (writeFile): add some compression stuff
3727         (do_writeFile): new func, dont call expliti close... will this
3728         breake anything?
3729
3730         * Makefile.am (lyx_LDADD): add -lz
3731
3732 2003-07-28  José Matos  <jamatos@fep.up.pt>
3733
3734         * buffer.C: increment file format.
3735         * paragraph_funcs (readParagraph, readParToken):
3736         * paragraph.C (readParagraph): add \end_layout.
3737
3738 2003-07-27  Angus Leeming  <leeming@lyx.org>
3739
3740         * Makefile.am: remove special casing for configure-time setting of
3741         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3742
3743         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3744         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3745
3746 2003-07-26  André Pönitz  <poenitz@gmx.net>
3747
3748         * paragraph_func.[Ch]:
3749         * paragraph.C (realizeFont): inline it whereever it is used
3750
3751         * rowpainter.C:
3752         * text.C:
3753         * text2.C:
3754         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3755
3756
3757 2003-07-26  André Pönitz  <poenitz@gmx.net>
3758
3759         *       lyxtext.h:
3760         * text.C:
3761         * text2.C: get rid of LyXText::need_break_row
3762
3763 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * toc.[Ch]: put namespace toc inside namespace lyx
3766
3767         * MenuBackend.C (expandToc2): adjust for lyx::toc
3768         (expandToc): ditto
3769
3770         * lyxfunc.C (dispatch): adjust for lyx::find
3771
3772         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3773         lyx::find instead. Reorganize a bit.
3774         (LyXReplace): rename to replace
3775         (LyXFind): rename to find
3776
3777         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3778         (dispatch): ditto
3779
3780 2003-07-26  André Pönitz  <poenitz@gmx.net>
3781
3782         * text.C (setHeightOfRow): restrict scope of temporary variable
3783
3784         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3785           code (never has been used?)
3786
3787 2003-07-27  Asger Alstrup  <alstrup@local>
3788
3789         * text.C (fill): Optimise algorithm to exploit that we can reuse
3790         the LyXFont for many characters.
3791         (setHeightOfRow): Same thing.
3792         (rowBreakPoint): Same thing.
3793
3794 2003-07-26  Asger Alstrup  <alstrup@local>
3795
3796         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3797
3798         * text.C (singleWidth): Spurious font copying in hot-spot
3799         singleWidth avoided. Reorder tests for arabic for efficiency.
3800
3801         * text.C (fill): handle empty paragraphs better.
3802
3803 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3804
3805         * ispell.C:
3806         * encoding.h: add includes
3807
3808         * lyxrc.C: remove reading of bind files
3809
3810         * lyx_main.C (init): setup bindings and menus only if we have a
3811         gui.
3812
3813         * kbmap.C (read): new method. Do the actual reading of bind
3814         files.
3815
3816         * converter.C (dvipdfm_options):
3817         * bufferparams.C:
3818         * lyxrc.C (read):
3819         (output): adapt PAPER_* enums.
3820
3821         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3822
3823         * bufferparams.h: remove paper-related enums from there
3824
3825         * paper.h: New file. A trivial header file to hold paper-related
3826         enums. It should later expand to contain many paper-related
3827         horrors access.
3828
3829         * lyxrc.C: declare extern displayTranslator
3830
3831 2003-07-27  José Matos  <jamatos@fep.up.pt>
3832
3833         * tabular.[Ch] (linuxdoc): add support for tables and figures
3834         (linuxdoc).
3835
3836 2003-07-27  José Matos  <jamatos@fep.up.pt>
3837
3838         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3839         consistency in both functions.
3840         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3841
3842 2003-07-26  Asger Alstrup  <alstrup@local>
3843
3844         * rowpainter.C (paintRows): Change algorithm to work directly on
3845         the insets rather than asking every character in the document
3846         whether its an inset.
3847
3848 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * buffer.C (openFileWrite): factorize some code
3851
3852 2003-07-26  Angus Leeming  <leeming@lyx.org>
3853
3854         * lyx_cb.C:
3855         * lyx_main.[Ch]: replace occurances of system_tempdir with
3856         os::getTmpDir().
3857
3858 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * rename Inset to InsetOld
3861
3862 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3863
3864         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3865         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3866         which I think is a bit clearer. EDIT is gone, since it was
3867         premature optimisation, and broken for mathed anyway.
3868         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3869         with cursor positioning in insets as well (math insets still do not
3870         work, but that's a different story anyway.) It mysteriously
3871         crashes sometimes with undo in the first paragraph, but I'm fairly
3872         confident that this is a compiler bug.
3873
3874 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3875
3876         * paragraph.C (Paragraph): adjust for new clone return type
3877         (operator==): ditto
3878         (copyIntoMinibuffer): ditto
3879
3880 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3881
3882         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3883         by not having a special case, and always doing a full rebreak of
3884         the document after undo.
3885
3886 2003-07-23  Angus Leeming  <leeming@lyx.org>
3887
3888         * factory.C (createInset): InsetExternal::setParams now takes a
3889         Buffer const * arg.
3890
3891 2003-07-23  Angus Leeming  <leeming@lyx.org>
3892
3893         * factory.C (createInset): changed interface to the external and
3894         graphics mailers' string2params functions.
3895
3896 2003-07-23  Angus Leeming  <leeming@lyx.org>
3897
3898         * factory.C (createInset): pass a
3899         Buffer const * parameter to InsetExternalMailer's string2params.
3900
3901 2003-07-22  John Levon  <levon@movementarian.org>
3902
3903         * Thesaurus.h: include the right aiksaurus header
3904
3905 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3906
3907         * MenuBackend.C (expand): check menu shortcuts unconditionally
3908
3909 2003-07-21  Angus Leeming  <leeming@lyx.org>
3910
3911         * factory.C (createInset): pass a
3912         buffer_path parameter to InsetGraphicsMailer's string2params.
3913
3914 2003-07-21  Angus Leeming  <leeming@lyx.org>
3915
3916         * BufferView_pimpl.C (buffer):
3917         * buffer.C (d-tor):
3918         * lyx_main.C (LyX):
3919         * lyxfunc.C (dispatch):
3920         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3921         rather than the grfx shortcut.
3922
3923 2003-07-21  André Pönitz  <poenitz@gmx.net>
3924
3925         * rowpainter.C: remove unused variables
3926
3927         * tabular_funcs.C:
3928         * tabular_funcs.h: move to tabular.C
3929         * Makefile.am: adjust
3930
3931         * tabular.[Ch]: basic optical cleaning
3932
3933         * author.h: pass references, not values
3934
3935 2003-07-18  André Pönitz  <poenitz@gmx.net>
3936
3937         * lyxtext.h:
3938         * metricsinfo.C:
3939         * metricsinfo.h:
3940         * rowpainter.C:
3941         * text.C:
3942         * text2.C:
3943         * text3.C: two-phase drawing for InsetText and InsetTabular
3944         some float -> int changes.
3945
3946 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * lyx_main.C: fix the fix
3949
3950 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3951
3952         * lyx_main.C: fix a crash in batch mode if no files specified
3953         * converter.C: ws
3954
3955 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3956
3957         * format.[Ch] (papersize): moved to BufferParams
3958         * converter.[Ch] (dvips_options): moved to BufferParams
3959         (dvipdfm_options): moved to anon namespace
3960         * bufferparams.[Ch]: added above functions.
3961
3962 2003-07-17  André Pönitz  <poenitz@gmx.net>
3963
3964         * lyxtext.h:
3965         * rowpainter.C:
3966         * text2.C: don't call inset->update() anymore
3967
3968         * metricsinfo.[Ch]: add convenience constructor
3969
3970 2003-07-16  André Pönitz  <poenitz@gmx.net>
3971
3972         * lyxcursor.[Ch]:
3973         * lyxfunc.[Ch]:
3974         * text.C:
3975         * text2.C: replace the LyXCursor::irow_ member with
3976          on-demand computation of the value
3977
3978 2003-07-16  John Levon  <levon@movementarian.org>
3979
3980         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3981
3982 2003-07-15  André Pönitz  <poenitz@gmx.net>
3983
3984         * text.C:
3985         * text2.C: remove no more needed refresh_row
3986
3987 2003-07-15  André Pönitz  <poenitz@gmx.net>
3988
3989         * lyxtext.h:
3990         * rowpainter.C:
3991         * text2.C:
3992         * text3.C: refresh_status tristate -> need_update bool
3993
3994 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * lyxtext.h (init): remove reinit argument (act as if always true)
3997         * text2.C: adjust to that
3998
3999 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4000
4001         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4002         * text3.C: use it to delete selections in some cases
4003         (bugs 441, 673, 702, 954).
4004
4005 2003-07-14  André Pönitz  <poenitz@gmx.net>
4006
4007         * rowpainter.[Ch]: reduce interface
4008
4009 2003-07-14  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView_pimpl.C:
4012         * text2.C: adjust after removing unused BufferView * argument
4013
4014 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4015
4016         * text2.C (init): fix a crash fired on resize
4017
4018 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4019
4020         * buffer.[Ch]: added new closing signal
4021         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4022         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4023         BufferView::Pimpl via the closing the signal
4024
4025 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * buffer.[Ch]: take out all bv-related from buffer
4028         * BufferView.C:
4029         * BufferView_pimpl.[Ch]: connect to new signals
4030         * CutAndPaste.C: removed useless asserts
4031         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4032         * lyxvc.[Ch]:
4033         * vc-backend.[Ch]:
4034         * lyxfunc.C: moved view-related funciontality from vc here
4035         * paragraph.C: removed outdated comments
4036         * text.C: ws
4037
4038 2003-07-10  André Pönitz  <poenitz@gmx.net>
4039
4040         * BufferView_pimpl.C:
4041         * tabular.h:
4042         * tabular_funcs.C:
4043         * text.C:
4044         * text2.C: remove InsetText::InnerCache, clean up consequences
4045
4046 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4047
4048         * ispell.C: fix two typos in error messages
4049
4050 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4051
4052         * Extend Note inset to other forms of annotation like Comment
4053         and Greyedout. Right button click gives dialog.
4054
4055         Files modified or added (+):
4056
4057         * insetnote.[Ch]
4058         * FormNote.[Ch]      +
4059         * ControlNote.[Ch]   +
4060         * form_note.fd       +
4061         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4062         frontends/controllers
4063         * xforms/Dialogs.C
4064         * factory.C
4065
4066 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4067
4068         * aspell.C: add missing namespace lyx::support
4069
4070 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * BufferView.[Ch] (newFile): Add
4073         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4074         * LaTeX.[Ch] (message): added this signal and use it
4075         * buffer.[Ch] (busy, message): added these signals and use them
4076         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4077         * converter.C:
4078         * exporter.C:
4079         * format.C:
4080         * importer.C: use buffer signals instead of direct bv calling
4081         * lyx_cb.[Ch] (ShowMessage): removed
4082         * lyx_main.C:
4083         * lyxfunc.C:
4084         * paragraph_funcs.C:
4085         * text2.C: use buffer signals
4086
4087 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * introduce namespace lyx::graphics
4090
4091 2003-07-02  André Pönitz  <poenitz@gmx.net>
4092
4093         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4094
4095 2003-07-01  André Pönitz  <poenitz@gmx.net>
4096
4097         * text.C:
4098         * text2.C:
4099         * text3.C:
4100         * text_funcs.[Ch]:
4101         * textcursor.h:
4102         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4103           text*.C to text_func.C
4104
4105 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * introduce namespace lyx::support
4108
4109 2003-06-30  André Pönitz  <poenitz@gmx.net>
4110
4111         * Chktex.C:
4112         * funcrequest.C:
4113         * lyxtext.h:
4114         * text.C: re-enable --with-included-string
4115
4116 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * textcursor.C: add <config.h>
4119
4120         * text.C (getWord): remove const from word_location arg
4121
4122         * lyxvc.C (getLogFile): fix const type order
4123
4124         * lyxtext.h: remove const from word_location arg, add arg name
4125
4126         * lyxlayout.h: currect type on labeltype.
4127
4128         * importer.C: correct \file
4129
4130         * converter.C (intToFormat): use std:: on ret val, ws changes
4131
4132         * bufferlist.h: correct \file
4133
4134         * buffer.C (makeLinuxDocFile): fix const type order
4135         (makeDocBookFile): ditto
4136         (fillWithBibKeys): use std:: on stdlib args.
4137
4138         * CutAndPaste.C: fix authors.
4139         (availableSelections): use std:: on return vector
4140
4141 2003-06-27  André Pönitz  <poenitz@gmx.net>
4142
4143         * BufferView_pimpl.C:
4144         * bufferview_funcs.C:
4145         * lyxcursor.C:
4146         * lyxcursor.h:
4147         * lyxfunc.C:
4148         * lyxtext.h:
4149         * rowpainter.C:
4150         * text.C:
4151         * text2.C:
4152         * text3.C: remove LyXCursor::row_ member
4153
4154         * lyxtext.h:
4155         * text.C: rename fullRebreak() to partialRebreak() and implement
4156           a fullRebreak() that really bereks fully
4157
4158         * textcursor.h: new struct for cursor-related data
4159
4160 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * lyx_main.C (LyX): get full path of document loaded on the
4163         command line
4164
4165 2003-06-26  André Pönitz  <poenitz@gmx.net>
4166
4167         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4168           remove unused/broken operator>,<,>=.
4169
4170         *       text.C: remove only use of broken operator<= in an Assert().
4171
4172 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4173
4174         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4175         moved errorlist_.clear to showErrorList
4176
4177 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * converter.C (scanLog, runLaTeX):
4180         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4181         move the bv->showErrorList call to the callers
4182         * lyxfunc.C: i.e. here...
4183         * text2.C: and here
4184         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4185         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4186         namespace, the second to...
4187         * buffer_funcs (BufferFormat, parseErrors): added
4188         * errorlist.C (ErrorList(TeXErrors const &)): removed
4189
4190 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4191
4192         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4193
4194 2003-06-24  "Garst R. Reese" <reese@isn.net>
4195
4196         * debug.C: fix typo
4197
4198 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4199
4200         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4201
4202         * version.C.in: change docversion to 1.4
4203
4204 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4205
4206         * buffer.C: fix a bug just introduced
4207
4208 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4209
4210         * buffer.[Ch]: added the parseError signal and use it, removed
4211         sgmlError
4212         * BufferView.[Ch] (addError): moved to ...
4213         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4214         to the Buffer::parseError signal to catch (guess what) parse errors
4215         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4216
4217 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4220         ability to create a buffer and to return an existing one from
4221         the list. Moved these functions to...
4222         * buffer_funcs.[Ch]: added
4223         * BufferView.[Ch] (loadLyXFile): added
4224         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4225         job removed from bufferlist::loadLyXFile.
4226         * buffer.C (setReadOnly): make it work without view
4227         (i.e added an if (users))
4228
4229 2003-06-19  Angus Leeming  <leeming@lyx.org>
4230
4231         * lfuns.h:
4232         * LyXAction.C (init):
4233         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4234         with LFUN_DIALOG_SHOW <name> <data>.
4235
4236 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4237
4238         * CutAndPaste.C (availableSelections): small compilation fix for
4239         ancient (gcc 2.9x) compilers
4240
4241 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * text3.C (cursorNext): add tmp var
4244
4245         * text2.C (updateCounters): for function calling out of for clause
4246         (replaceSelectionWithString): ditto
4247         (insertStringAsParagraphs): ditto
4248         (getColumnNearX): add tmp var
4249         (setCursorFromCoordinates): add tmp var
4250         (cursorDownParagraph): add tmp var
4251         (deleteEmptyParagraphMechanism): add tmp var
4252
4253         * text.C (insertChar): add tmp var
4254
4255         * rowpainter.C (paintDepthBar): add tmp var
4256
4257         * CutAndPaste.C (availableSelections): potentially check all
4258         paragraphs in a cut to fill the shown strings.
4259
4260 2003-06-18  André Pönitz  <poenitz@gmx.net>
4261
4262         * kbmap.[Ch]: use vector<> instead of list<>
4263
4264 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4265
4266         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4267         pasteSelection with index
4268
4269         * text2.C (pasteSelection): modify, call pasteSelection with index
4270
4271         * paragraph.C (asString): reimplement version with no interval to
4272         call the one with interval.
4273
4274         * lyxtext.h: add index arg to pasteSelection
4275
4276         * MenuBackend.C (MenuItem): handle PasteRecent
4277         (Menu::read::Menutags): add md_pasterecent
4278         (read): handle it
4279         (expandPasteRecent): new function
4280         (expand): use it
4281
4282         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4283
4284         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4285         the limited stack
4286         (availableSelections): new function
4287
4288 2003-06-17  Angus Leeming  <leeming@lyx.org>
4289
4290         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4291
4292 2003-06-17  Angus Leeming  <leeming@lyx.org>
4293
4294         * lfuns.h:
4295         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4296
4297         * lyxfunc.C (dispatch): invoke it.
4298
4299 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4300
4301         * iterators.C (operator++, ParPosition): reintroduce some
4302         const_cast for the benefit of older compilers.
4303
4304 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4305
4306         * text3.C (dispatch): do not modify clipboard when doing
4307         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4308         LFUN_DELETE_SKIP on a selection selection
4309
4310 2003-06-16  André Pönitz  <poenitz@gmx.net>
4311
4312         * BufferView.C:
4313         * buffer.C:
4314         * buffer.h:
4315         * paragraph.C:
4316         * tabular.[Ch]: IU of clone() and getLabelList();
4317
4318 2003-06-13  André Pönitz  <poenitz@gmx.net>
4319
4320         * tabular.h: compactification
4321
4322 2003-06-12  André Pönitz  <poenitz@gmx.net>
4323
4324         * tabular.C:
4325         * tabular.h:
4326         * tabular_funcs.h: some renaming plus whitespace
4327
4328 2003-06-12  André Pönitz  <poenitz@gmx.net>
4329
4330         * BufferView.C:
4331         * BufferView_pimpl.C:
4332         * CutAndPaste.C:
4333         * buffer.C:
4334         * iterators.[Ch]:
4335         * lyxfunc.C:
4336         * text.C:
4337         * toc.C: Return a Paragraph & for ParIterator::operator*()
4338
4339 2003-06-11  John Levon  <levon@movementarian.org>
4340
4341         * lyx_main.C:
4342         * ToolbarBackend.h:
4343         * ToolbarBackend.C: add "Toolbars" section and
4344         put the flags there
4345
4346 2003-06-10  Angus Leeming  <leeming@lyx.org>
4347
4348         * lfuns.h:
4349         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4350
4351         * lyxfunc.C (dispatch): invoke it.
4352
4353 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * main.C: protect <ios> with HAVE_IOS
4356         (main): protect sync_with_stdio with HAVE_IOS
4357
4358 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4359
4360         * text2.C (cutSelection): adjust
4361         (pasteSelection): adjust
4362
4363         * messages.C: handle get of empty string
4364
4365         * main.C (main): use sync_with_stdio(false)
4366
4367         * lyxfunc.C (dispatch): adjust
4368
4369         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4370         (WriteAs): remove unneeded BufferView arg.
4371
4372         * bufferparams.h: use correct types on papersize, papersize2 and
4373         paperpackage.
4374
4375         * bufferparams.C (readToken): adjust for type
4376         (writeLaTeX): add missing cases to switch.
4377
4378         * bufferlist.C (quitWriteBuffer): adjust
4379         (close): adjust
4380
4381         * buffer.C (asciiParagraph): remove some commented code.
4382
4383         * CutAndPaste.C: remove current_view extern variable.
4384         (cutSelection): add BufferParams arg.
4385         (eraseSelection): add BufferParams arg.
4386         (pasteSelection): add Buffer const & arg
4387
4388 2003-06-07  John Levon  <levon@movementarian.org>
4389
4390         * buffer.C:
4391         * paragraph_funcs.C:
4392         * paragraph_pimpl.C:
4393         * text.C:
4394         * text2.C:
4395         * paragraph.h:
4396         * paragraph.C: allow InsetERT to freely space lines,
4397         and some consolidation of code
4398
4399 2003-06-06  José Matos  <jamatos@fep.up.pt>
4400
4401         * buffer.C (makeDocBookFile): fix bug #821
4402
4403 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4406
4407 2003-06-04  Angus Leeming  <leeming@lyx.org>
4408
4409         * buffer.C: bump format to 224.
4410
4411 2003-06-05  André Pönitz  <poenitz@gmx.net>
4412
4413         * text2.C (redoParagraphs): remove two const_cast<>
4414
4415 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4416
4417         * ParagraphList.h: remove last remnants of NO_STD_LIST
4418
4419 2003-06-03  Angus Leeming  <leeming@lyx.org>
4420
4421         * factory.C (createInset): small change to the way InsetExternal's params
4422         are set.
4423
4424 2003-06-04  André Pönitz  <poenitz@gmx.net>
4425
4426         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4427
4428         * paragraph_pimpl.h:
4429         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4430
4431         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4432
4433         * undo_funcs.C: make some simple cases of undo work again
4434
4435 2003-06-03  John Levon  <levon@movementarian.org>
4436
4437         * ispell.C: HPUX doesn't have sys/select.h
4438         (from Albert Chin)
4439
4440 2003-06-03  John Levon  <levon@movementarian.org>
4441
4442         * CutAndPaste.C: update tabular and include inset
4443         buffer references
4444
4445         * buffer.h:
4446         * paragraph.h:
4447         * paragraph.C: remove owningBuffer(), don't pass Buffer
4448         to clone()
4449
4450         * factory.C: insetGraphicsParams changed
4451
4452 2003-06-02  John Levon  <levon@movementarian.org>
4453
4454         * LyXAction.C:
4455         * factory.C:
4456         * lfuns.h:
4457         * lyxfunc.C:
4458         * text3.C: remove insetparent
4459
4460 2003-06-02  John Levon  <levon@movementarian.org>
4461
4462         * buffer.h:
4463         * buffer.C: fix inset_iterator.end(), move out of line
4464         (bug 1149)
4465
4466 2003-06-01  John Levon  <levon@movementarian.org>
4467
4468         * text3.C: use a proper cut/paste when doing inset
4469         insert (from Jürgen Spitzmüller)
4470
4471 2003-06-01  John Levon  <levon@movementarian.org>
4472
4473         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4474
4475 2003-05-30  André Pönitz  <poenitz@gmx.net>
4476
4477         * rowpainter.C: unify second drawing phase
4478
4479 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * trans_mgr.C: remove one case of current_view
4482
4483         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4484
4485         * paragraph_funcs.h: remove paragraph.h include
4486
4487         * paragraph.h: delete NO_STD_LIST stuff
4488
4489         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4490
4491         * buffer.h: remove paragraph.h include
4492
4493         * ParagraphList.C: delete file
4494
4495         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4496
4497         * toc.C (getTocList): adjust
4498
4499         * paragraph_pimpl.C (validate): adjust
4500
4501         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4502
4503         * paragraph.C (Paragraph): adjust
4504         (getPositionOfInset): use const_iterator, adjust
4505         (bibitem): use const_iterator, adjust
4506         (setInsetOwner): adjust
4507
4508         * iterators.C (operator++): adjust
4509
4510         * InsetList.[Ch]: Replace selfmade iterator with standard
4511         vector::iterator also introduce const_iterator. Remove getPos,
4512         getInset and setInset from InsetTable. Adjust accordingly.
4513
4514         * BufferView.C (lockInset): adjust
4515         (ChangeInsets): adjust
4516
4517         * tabular.[Ch]: delete commented same_id functions
4518
4519 2003-05-28  John Levon  <levon@movementarian.org>
4520
4521         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4522
4523 2003-05-28  André Pönitz  <poenitz@gmx.net>
4524
4525         * metricsinfo.[Ch]: remove 'fullredraw' member
4526
4527 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4528
4529         * lyxtextclass.C (operator): remove caching.
4530
4531 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * text3.C: adjust
4534
4535         * text2.C (cursorBottom): adjust
4536         (setCounter): use ParagraphList::find, adjust
4537
4538         * text.C (workWidth): use ParagraphList::find, adjust
4539
4540         * lyxcursor.C (LyXCursor): adjust
4541
4542         * buffer.C (inset_iterator): adjust
4543
4544         * ParagraphList.h: make iterator(value_type) private, make
4545         ParagraphList a friend of iterator.
4546
4547         * ParagraphList.C (find): new function
4548
4549         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4550
4551 2003-05-27  André Pönitz  <poenitz@gmx.net>
4552
4553         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4554
4555 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4556
4557         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4558
4559 2003-05-26  John Levon  <levon@movementarian.org>
4560
4561         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4562
4563 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * remove same_id from function signatures, adjust.
4566
4567 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4568
4569         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4570
4571         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4572
4573         * paragraph.C (Paragraph): get rid of same_ids parameter
4574
4575         * ParagraphList.C (insert): adjust
4576         (push_back): adjust
4577
4578 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * paragraph_funcs.C (breakParagraph): adjust
4581         (breakParagraphConservative): adjust
4582
4583         * buffer.C (readParagraph): adjust
4584
4585         * ParagraphList.C (insert): take a reference instead of a pointer
4586         (insert): adjust
4587
4588         * paragraph.[Ch] (id): new function
4589
4590         * bufferlist.C (newFile): adjust
4591
4592         * ParagraphList.C (ParagraphList): adjust
4593         (assign): adjust
4594         (push_back): take a reference instead of a pointer.
4595
4596         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4597
4598         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4599         instead.
4600
4601         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4602         set else use old code.
4603
4604         * ParagraphList.C: remove all NO_NEXT code and only compile this
4605         code of NO_STD_LIST is set.
4606
4607 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4608
4609         * BufferView_pimpl.C:
4610         * TextCache.C:
4611         * TextCache.h:
4612         * bufferlist.C:
4613         * errorlist.h:
4614         * format.C:
4615         * format.h:
4616         * graph.C:
4617         * lyxfunc.C:
4618         * lyxrc.C:
4619         * graphics/GraphicsConverter.C:
4620         * graphics/PreviewLoader.C: header adjustment
4621
4622 2003-05-23  Angus Leeming  <leeming@lyx.org>
4623
4624         * LaTeXFeatures.[Ch] (useBabel): new method.
4625         * bufferparams.C (writeLaTeX): use it.
4626
4627 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * ParagraphList.h (set): remove unused function.
4630
4631 2003-05-23  André Pönitz  <poenitz@gmx.net>
4632
4633         * BufferView.C:
4634         * BufferView_pimpl.C:
4635         * buffer.C:
4636         * buffer.h:
4637         * lyxfunc.C:
4638         * undo_funcs.C: setUndo reworked
4639
4640         * iterators.[Ch]: add access to topmost ParagraphList
4641
4642         * lyxtext.[Ch] (workWidth): add a const
4643
4644 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4645
4646         * texrow.[Ch] (increasePos): remove function
4647         * exporter.C (export): removed unused var and outdated comment
4648
4649 2003-05-23  Angus Leeming  <leeming@lyx.org>
4650
4651         * latexrunparams.h: rename fragile as moving_arg.
4652         * paragraph.C (simpleTeXOnePar): ditto.
4653         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4654
4655 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4658         (createUndo): ditto
4659         (textUndoOrRedo): comment out a currently unused var.
4660
4661         * paragraph.h (NO_NEXT): enable NO_NEXT
4662
4663         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4664
4665         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4666
4667         * exporter.C (Export): adjust for removeAutoInsets removal.
4668
4669         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4670
4671         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4672
4673         * BufferView.[Ch] (removeAutoInsets): delete function
4674
4675 2003-05-22  Angus Leeming  <leeming@lyx.org>
4676
4677         * latexrunparams.h: add a free_spacing variable.
4678
4679         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4680         to pass moving_arg, as the data is stored in runparams.fragile.
4681
4682         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4683         to Inset::latexOptional or to simpleTeXOnePar.
4684
4685         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4686         free_spacing arg to Inset::latexOptional.
4687
4688         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4689         free_spacing arg.
4690
4691 2003-05-22  Angus Leeming  <leeming@lyx.org>
4692
4693         * latexrunparams.h: add fragile and use_babel variables.
4694
4695         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4696         * buffer.C (makeLaTeXFile): store this returned value in
4697         runparams.use_babel, thus passing it to the inset::latex methods.
4698
4699         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4700         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4701
4702         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4703         longer has a fragile arg, as it is stored in runparams.fragile.
4704
4705         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4706         moving_arg parameter as the data is stored in runparams.fragile.
4707
4708         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4709         a fragile parameter as the data is stored in runparams.fragile.
4710
4711 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4714
4715 2003-05-22  Angus Leeming  <leeming@lyx.org>
4716
4717         * latexrunparams.h: add a 'bool nice' which defaults to false.
4718
4719         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4720         now encapsulated within runparams.
4721
4722         * bufferlist.C (updateIncludedTeXfiles):
4723         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4724
4725 2003-05-22  Angus Leeming  <leeming@lyx.org>
4726
4727         * latexrunparams.h: new file containing struct LatexRunParams.
4728         * Makefile.am: add new file.
4729
4730         * LaTeX.[Ch] (c-tor, run):
4731         * buffer.[Ch] (makeLaTeXFile):
4732         * bufferlist.[Ch] (updateIncludedTeXfiles):
4733         * converter.C (convert, scanLog):
4734         * converter.[Ch] (runLaTeX):
4735         * exporter.C (Export):
4736         * paragraph.[Ch] (simpleTeXOnePar):
4737         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4738         * paragraph_funcs.[Ch] (latexParagraphs):
4739         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4740         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4741         pass around a LatexRunParams parameter.
4742
4743 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * paragraph.[Ch]: remove unused constructor
4746
4747         * ParagraphList.C (erase): new function, taking two iterators
4748
4749 2003-05-22  André Pönitz  <poenitz@gmx.net>
4750
4751         * undo_funcs.C: remove duplicated code
4752
4753         * iterator.[Ch]: operator=
4754
4755 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * tabular.C (SetMultiColumn): ws changes
4758
4759         * rowpainter.C (paintFirst): get rid of a ->previous
4760
4761         * lyx_cb.C (getPossibleLabel): parlist simplification
4762
4763         * BufferView.C (ChangeInsets): simplify slightly.
4764
4765 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4766
4767         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4768         * lfuns.h: new LFUN_SPACE
4769         * lyxfunc.C: protected space has a new lfun
4770         * paragraph_funcs.C: read new space insets
4771         * text3.C:
4772         * factory.C: handle new space insets
4773
4774 2003-05-22  André Pönitz  <poenitz@gmx.net>
4775
4776         * BufferView.C:
4777         * BufferView_pimpl.C:
4778         * buffer.[Ch]:
4779         * lyxfunc.C:
4780         * undo_funcs.C: return a ParIterator from getParFromID.
4781
4782         * iterators.[Ch]: add two const's
4783
4784 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * toc.C (getTocList): adjust
4787
4788         * iterators.[Ch]: rework for parlist
4789
4790         * buffer.C (par_iterator_begin): adjust
4791         (par_iterator_end): adjust
4792
4793         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4794
4795         * BufferView.C (removeAutoInsets): adjust
4796         (ChangeInsets): adjust
4797
4798 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * text.C (top_y): fix bug 1110
4801
4802 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * errorlist.[Ch]: added
4805         * buffer.C:
4806         * BufferView.[Ch]:
4807         * BufferView_pimpl.C:
4808         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4809         instead
4810
4811 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * Makefile.am: ensure that lyx is relinked upon changes to the
4814         various "convenience" libs.
4815
4816 2003-05-20  Angus Leeming  <leeming@lyx.org>
4817
4818         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4819         files are compiled in alphabetical order again.
4820
4821         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4822
4823 2003-05-19  Angus Leeming  <leeming@lyx.org>
4824
4825         * gettext.[Ch]: remove "char const * _(char const *)".
4826
4827 2003-05-19  André Pönitz  <poenitz@gmx.net>
4828
4829         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4830
4831         * Makefile.am:
4832         * BufferView.C:
4833         * DepTable.h:
4834         * LaTeXFeatures.C:
4835         * buffer.C:
4836         * lyxfont.C:
4837         * lyxlex.h:
4838         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4839
4840 2003-05-19  André Pönitz  <poenitz@gmx.net>
4841
4842         * buffer.C:
4843         * lyxlayout.[Ch]:
4844         * lyxtextclass.[Ch]:
4845         * paragraph.C:
4846         * paragraph_funcs.[Ch]:
4847         * text2.C:
4848         * text3.C: more insetenv work
4849
4850 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4851
4852         * ParagraphParameters.C (params2string): small bug fixed
4853
4854 2003-05-16  André Pönitz  <poenitz@gmx.net>
4855
4856         * debug.C:
4857         * bufferview_funcs.C: patch from Kornel Benko to prevent
4858           crash when _(...) is called twice in a statement
4859
4860 2003-05-16  André Pönitz  <poenitz@gmx.net>
4861
4862         * BufferView.C:
4863         * lyxfunc.C:
4864         * text.C:
4865         * text2.C:
4866         * text3.C:
4867         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4868
4869 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * lyx_main.C (init): remove spurious static_cast
4872
4873 2003-05-14  André Pönitz  <poenitz@gmx.net>
4874
4875         * BufferView.C: fix format string
4876
4877 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4878
4879         * BufferView.[Ch] (insertErrors): removed
4880         * BufferView.[Ch] (showErrorList): added
4881         * buffer.C (runChkTeX):
4882         * converter.C (scanLog): call showErrorList instead of inserterrors
4883
4884 2003-05-13  André Pönitz  <poenitz@gmx.net>
4885
4886         * BufferView_pimpl.C:
4887         * buffer.C:
4888         * bufferview_func.C:
4889         * MenuBackend.C:
4890         * lyxfunc.C:
4891         * lyxrc.C:
4892         * tex-accent.C:
4893         * text3.C:
4894         * toc.C:
4895         * tabular_funcs.h: tostr() from its own header
4896
4897         * ParagraphParameters.C:
4898         * ToolbarBackend.C:
4899         * bufferparams.C:
4900         * format.C:
4901         * lyxlex_pimpl.C:
4902         * text3.C: STRCONV()
4903
4904 2003-05-12  André Pönitz  <poenitz@gmx.net>
4905
4906         * BufferView.C:
4907         * BufferView_pimpl.C:
4908         * CutAndPaste.C:
4909         * LaTeX.C:
4910         * LaTeXFeatures.C:
4911         * ParagraphParameters.C:
4912         * buffer.C:
4913         * bufferlist.C:
4914         * bufferparams.C:
4915         * bufferview_funcs.C:
4916         * converter.C:
4917         * counters.C:
4918         * debug.C:
4919         * exporter.C:
4920         * format.C:
4921         * importer.C:
4922         * lyx_cb.C:
4923         * lyx_main.C:
4924         * lyxfont.C:
4925         * lyxfunc.C:
4926         * lyxvc.C:
4927         * paragraph.C:
4928         * paragraph_funcs.C:
4929         * tabular.C:
4930         * tabular_funcs.C:
4931         * text2.C:
4932         * text3.C:  boost::format -> bformat  all over the place
4933
4934
4935 2003-05-09  André Pönitz  <poenitz@gmx.net>
4936
4937         * LColor.[Ch]: Pimpl the #include <map> away
4938
4939 2003-05-09  John Levon  <levon@movementarian.org>
4940
4941         * bufferlist.C: never remove emergency saves
4942
4943 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * Makefile.am: better lib building
4946
4947 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4950         instead.
4951         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4952         (simpleTeXSpecialChars): adjust
4953         (simpleTeXSpecialChars): adjust
4954         * paragraph.C (simpleTeXOnePar): adjust
4955         * buffer.C (makeLaTeXFile): adjust
4956
4957         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4958
4959         * text2.C (changeDepth): parlist cleanup
4960         (getColumnNearX): ditto
4961
4962         * rowpainter.C (getLabelFont): parlist cleanup
4963
4964         * bufferlist.C (newFile): parlist cleanup
4965
4966         * CutAndPaste.C (eraseSelection): parlist cleanup
4967
4968         * BufferView_pimpl.C (trackChanges): parlist cleanup
4969         (dispatch): ditto
4970
4971         * BufferView.C (lockInset): parlist cleanup.
4972         (ChangeInsets): ditto
4973
4974 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * CutAndPaste.h: Update file header.
4977
4978         * CutAndPaste.C: Update file header.
4979         Store the parts cut out of the Document in a limited_stack.
4980         (copySelection): adjust
4981         (pasteSelection): new function, takes the index in the limited stack.
4982         (nrOfParagraphs): adjust
4983         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4984         simplify error inset insertion.
4985         (checkPastePossible): adjust
4986
4987 2003-05-06  John Levon  <levon@movementarian.org>
4988
4989         * text2.C: don't cast wrap inset to float
4990
4991 2003-05-05  André Pönitz  <poenitz@gmx.net>
4992
4993         * iterator.C:
4994         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4995
4996         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4997           few naked Paragraph *.
4998
4999 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5000
5001         * bufferparams.C: Output warning if a document with missing
5002         TeX document class is loaded
5003         * exporter.C: Disable TeX exports if the document class is missing
5004         * lyxtextclass.C:
5005         * lyxtextclass.h:
5006         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5007         isTeXClassAvailable()
5008
5009 2003-05-03  John Levon  <levon@movementarian.org>
5010
5011         * BufferView.h:
5012         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5013         explicit cursor show/hide
5014
5015         * BufferView_pimpl.h:
5016         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5017         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5018
5019         * lyxfunc.C: hide cursor before dispatching.
5020
5021         * lyx_cb.C:
5022         * lyxfind.C:
5023         * text.C:
5024         * text3.C: remove explicit cursor hides
5025
5026 2003-05-02  André Pönitz  <poenitz@gmx.net>
5027
5028         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5029
5030         * undo_funcs.C:
5031         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5032           linked lists
5033
5034         * text2.C: tiny whitespace
5035
5036 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * undo_funcs.C: almost only ws changes.
5039
5040         * ParagraphList.C (splice): just return if pl is empty.
5041
5042 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * ParagraphList.C (splice): new function.
5045
5046         * CutAndPaste.C (pasteSelection): use it
5047
5048 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * CutAndPaste.C (pasteSelection): remove the last next and
5051         previous from this file.
5052
5053 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * CutAndPaste.C (pasteSelection): more clean up, user proper
5056         ParagraphList functions for pasteing.
5057
5058         * ParagraphList.C (insert): new function, three arg insert
5059
5060 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * ParagraphList.C (insert): new function, three arg insert
5063
5064         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5065         not on paragraphs.
5066
5067 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5070
5071 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5074
5075 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5078         (copySelection): clean up a bit.
5079         (pasteSelection): use make_pair
5080
5081         * ParagraphList.C (ParagraphList): implement copy constructor
5082         (operator=): implement, base on copy constructor.
5083         (assign): new func
5084
5085         * paragraph.C (erase): return a bool
5086
5087         * paragraph_pimpl.C (erasePos): remove function, move contents...
5088         (erase): ... here. Return a bool.
5089         (erase): call erase instead of erasePos.
5090
5091 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5092
5093         * ParagraphList.h: define PitPosPair
5094         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5095         ParagraphList, fix a bug on pasting multiple pars
5096         * text2.C: change interface to C&P
5097
5098 2003-04-30  André Pönitz  <poenitz@gmx.net>
5099
5100         * undo_func.C: revert part of yesterday's patch 2
5101
5102 2003-04-30  John Levon  <levon@movementarian.org>
5103
5104         * LColor.C: s/tabular/table/
5105
5106 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * text3.C (dispatch): do not convert iterator -> pointer
5109         * undo_funcs.C (setCursorParUndo): ditto
5110         * text_funcs.C (transposeChars): ditto
5111
5112         * text2.C (setLayout): ws changes only
5113
5114         * text.C (breakParagraph): do not convert iterator -> pointer
5115         (insertChar): ditto
5116         (acceptChange): ditto
5117         (rejectChange): ditto
5118         (changeCase): ditto
5119         (Delete): ditto
5120         (backspace): ditto
5121
5122         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5123         pointer
5124
5125 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * text3.C (gotoInset): YABG (yet another bad getChar)
5128
5129 2003-04-29  André Pönitz  <poenitz@gmx.net>
5130
5131         * paragraph.h: make operator= private unimplemented as long as
5132           it is unusable
5133
5134         * ParagraphList.C: whitespace
5135
5136         * paragraph.[Ch]:
5137         * paragraph_pimpl.[Ch]:
5138         * paragraph_funcs.C:
5139         * CutAndPaste.C:
5140         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5141
5142         * text2.C:
5143           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5144
5145 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5148         * paragraph.[Ch] (erase):
5149         * paragraph_pimpl.[Ch] (erase): change return type and value
5150         * text2.C (cutSelection): some rework
5151
5152 2003-04-28  John Levon  <levon@movementarian.org>
5153
5154         * bufferlist.C: changes for unsaved changes dialog
5155
5156 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * bufferlist.C (newFile): set language (messages_) for new
5159         documents also.
5160
5161         * buffer.C (readFile): ws changes only.
5162
5163 2003-04-28  André Pönitz  <poenitz@gmx.net>
5164
5165         * undo_funcs.C:
5166         * lyxfunc.C:
5167         * buffer.[Ch]:
5168         * BufferView_pimpl.C:
5169         * BufferView.C: getParFromID related ParagraphList::iterator changes
5170
5171 2003-04-28  André Pönitz  <poenitz@gmx.net>
5172
5173         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5174           Changes
5175
5176 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * messages.C: remove one more localedir class variable.
5179
5180 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * messages.C (getLocaleDir): singleton generation function
5183         (Pimpl): use it.
5184         (Messages): add a default constructor.
5185
5186         * main.C (main): do not setup localedir here, do not call
5187         gettext_init.
5188
5189         * gettext.C (_): use it.
5190         (gettext_init): delete funciton
5191
5192 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * gettext.C (getLyXMessages): new singleton generating function.
5195
5196         * buffer.C (updateDocLang): adjust
5197
5198         * Makefile.am (messages.o): add target
5199         (main.o): remove target
5200
5201 2003-04-27  John Levon  <levon@movementarian.org>
5202
5203         * bufferlist.C:
5204         * lyx_cb.C:
5205         * lyxfunc.C:
5206         * lyxvc.C: specify cancel button in Alert::prompt
5207
5208 2003-04-26  John Levon  <levon@movementarian.org>
5209
5210         * text3.C:
5211         * lyxfunc.C:
5212         * lfuns.h:
5213         * LyXAction.C: add LFUN_INSET_SETTINGS
5214
5215         * lyxfunc.C: don't enable tabular-feature when there's
5216         just any locking inset
5217
5218 2003-04-26  John Levon  <levon@movementarian.org>
5219
5220         * bufferlist.C: re-add Cancel to buffer close question
5221
5222         * lyxfunc.C: fix import UI a bit
5223
5224 2003-04-25  John Levon  <levon@movementarian.org>
5225
5226         * gettext.C: remove the broken asserts for now
5227
5228 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * messages.C: make case where setlocale cannot comply work better.
5231
5232         * buffer.C (updateDocLang): new function
5233         (changeLanguage): use it
5234         (readFile): use it
5235
5236         * text2.C (setCounter): use B_ a bit.
5237
5238         * lyxlayout.C (Read): be sure to trim the label strings.
5239
5240         * messages.C (Messages): fix typo in comment
5241
5242         * buffer.C (readFile): set message_ after file is loaded.
5243         (makeDocBookFile): remove double return
5244         (changeLanguage): reset message_ upon language change.
5245         (B_): new func, use this to get translated buffer strings.
5246
5247         * main.C: add myself and Jean Marc as authors.
5248
5249 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * messages.[hC]: pimplify Messages, and three different pimpls to be
5252         used in different circumstances.
5253
5254         * gettext.[Ch]: change for use with new message code.
5255
5256 2003-04-24 André Pönitz <poenitz@gmx.net>
5257
5258         * factory.C: support for eqref
5259
5260 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * messages.[Ch]: add missing char
5263
5264         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5265
5266         * messages.[Ch]: New files
5267
5268 2003-04-18  John Levon  <levon@movementarian.org>
5269
5270         * BufferView.h:
5271         * BufferView.C:
5272         * BufferView_pimpl.C:
5273         * lfuns.h:
5274         * LyXAction.C:
5275         * lyxtext.h:
5276         * text2.C: remove layout-copy/paste (bug 778)
5277
5278 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5281
5282 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5283
5284         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5285         if they succeed. Act accordingly.
5286
5287 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * text2.C (setCharFont): adjust
5290         (setCounter): adjust
5291         (insertStringAsLines): adjust
5292
5293         * text.C (leftMargin): adjust
5294         (setHeightOfRow): adjust
5295
5296         * rowpainter.C (paintFirst): adjust
5297         (paintLast): adjust
5298
5299         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5300         (outerHook): ditto
5301         (isFirstInSequence): ditto
5302         (getEndLabel): ditto
5303         (outerFont): adjust
5304
5305         * paragraph.C (getParLanguage): comment out some hard stuff.
5306
5307         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5308         (sgmlError): ditto
5309         (simpleDocBookOnePar): ditto
5310         (makeDocBookFile): use ParagraphList::iterator
5311
5312         * CutAndPaste.C (pasteSelection): adjust
5313
5314 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * text2.C (getFont): adjust
5317         (getLayoutFont): adjust
5318         (getLabelFont): adjust
5319
5320         * paragraph_funcs.C (TeXOnePar): adjust
5321
5322         * buffer.C (simpleLinuxDocOnePar): adjust
5323         (simpleDocBookOnePar): adjust
5324
5325         * CutAndPaste.C (pasteSelection): adjust
5326
5327         * BufferView.C (getEncoding): adjust
5328
5329         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5330
5331 2003-04-16  John Levon  <levon@movementarian.org>
5332
5333         * lyxfind.C: use parlist stuff for search/changes
5334
5335 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5338
5339         * text2.C (deleteEmptyParagraphMechanism): adjust
5340
5341         * text2.[Ch] (ownerParagraph): delete func (both of them
5342
5343 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5346
5347 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * ParagraphList.C: prepare for NO_NEXT
5350
5351 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * text2.C (getFont): adjust
5354         (getLayoutFont): adjust
5355         (getLabelFont): adjust
5356
5357         * paragraph.C (getFont): adjust
5358         (getLabelFont): adjust
5359         (getLayoutFont): adjust
5360
5361         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5362
5363 2003-04-15  John Levon  <levon@movementarian.org>
5364
5365         From Angus Leeming
5366
5367         * lyx_main.C: handle Include in .ui files
5368
5369 2003-04-15  John Levon  <levon@movementarian.org>
5370
5371         * MenuBackend.C: make the doc files length shorter
5372
5373         * ToolbarBackend.h:
5374         * ToolbarBackend.C: handle toolbar placement flags,
5375         Minibuffer
5376
5377 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5380         adjust
5381
5382         * paragraph_funcs.C (TeXOnePar): adjust
5383
5384         * paragraph.C (getLabelFont): add outerfont arg, adjust
5385         (getLayoutFont): ditto
5386         (simpleTeXOnePar): adjust
5387
5388         * paragraph_pimpl.C (realizeFont): delete func
5389
5390 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5393         row argument, constify cur argument.
5394
5395 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * text2.C (getFont): adjust
5398         (getLayoutFont): adjust
5399         (getLabelFont): adjust
5400
5401         * paragraph_funcs.C (TeXOnePar): adjust
5402         (outerFont): new func...
5403         (realizeFont): ...moved out from here, changed this to facilitate
5404         transition
5405
5406         * paragraph.C (getFont): take outerfont as arg, adjust
5407         (simpleTeXOnePar): add outerfont arg, adjust
5408
5409         * buffer.C (simpleLinuxDocOnePar): adjust
5410         (simpleDocBookOnePar): adjust
5411
5412         * CutAndPaste.C (pasteSelection): adjust
5413
5414         * BufferView.C (getEncoding): adjust
5415
5416 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * text2.C (setCharFont): adjust
5419         (setCounter): adjust
5420
5421         * text.C (leftMargin): adjust
5422         (setHeightOfRow): adjust
5423
5424         * rowpainter.C (paintFirst): adjust
5425         (paintLast): adjust
5426
5427         * paragraph_pimpl.C (realizeFont): adjust
5428
5429         * paragraph.C (isFirstInSequence): move from here...
5430         * paragraph_funcs.C (isFirstInSequence): ...to here
5431
5432         * paragraph.C (outerHook): move from here...
5433         * paragraph_funcs.C (outerHook): ...to here
5434
5435         * paragraph.C (depthHook): move from here...
5436         * paragraph_funcs.C (depthHook): ...to here
5437
5438         * paragraph.C (getEndLabel): move from here...
5439         * paragraph_funcs.C (getEndLabel): ...to here
5440
5441         * text2.C (realizeFont): move from here...
5442         * paragraph_funcs.C (realizeFont): ...to here
5443
5444 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5447
5448 2003-04-14  Angus Leeming  <leeming@lyx.org>
5449
5450         * LColor.[Ch]: scrap LColor mathcursor.
5451
5452 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxlex.[Ch] (text): delete function
5455         * trans.C (Load): adjust
5456         * paragraph_funcs.C (readParToken): adjust
5457
5458 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5461         vector<char> instead of a char[].
5462
5463         * lyxlex_pimpl.C (getString): adjust
5464         (next): adjust
5465         (lex): use getString
5466         (eatLine): adjust
5467         (nextToken): adjust
5468
5469         * lyxlex.C (text): use pimpl_->getString()
5470         (getBool): ditto
5471         (findToken): ditto
5472
5473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5476         (makeFontEntriesLayoutSpecific): temp var for par.size()
5477         (setLayout): temp var for ownerParagraphs().end()
5478         (fullRebreak): temp var for rows().end()
5479         (selectionAsString): temp var for boost::next(startpit), realize
5480         that the while really is a regular for loop.
5481         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5482         setCursor in one place.
5483         (setParagraph): temp vr for ownerParagraphs().end()
5484         (updateCounters): make the while loop a for loop
5485         (cutSelection): temp var for ownerParagraphs().end()
5486         (updateInset): make the do {} while() a regular for loop
5487         (getCursorX): use temp vars
5488         (setCurrentFont): use temp vars
5489         (getColumnNearX): use temp vars
5490
5491 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * text.C (transformChar): use temp var for getChar
5494         (computeBidiTables): use temp var for row->par()
5495         (fill): move temp vars for row->par() and pit->layout() earlier in
5496         the function.
5497         (labelFill): use temp var for row->par()
5498         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5499         asc and desc, realize that pit never changes and that firstpit is
5500         just a duplicate and not needed. Exchange rit->par() with pit in a
5501         lot of places.
5502         (breakAgain): use a temp var for boost::next(rit)
5503         (breakAgainOneRow): ditto
5504         (breakParagraph): use a temp var for rows().begin()
5505         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5506         (cursorRightOneWord): use temp var for cursor.par() and
5507         cursor.pos(), remove usage of tmpcursor.
5508         (cursorLeftOneWord): use temp var for cursor.par() and
5509         cursor.pos() only set cur at end of function.
5510
5511 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * text.C, text2.C: exchange all usage of Paragraph::next with
5514         boost::next(ParagraphList::iterator)
5515
5516         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5517
5518         * text2.C (cursorTop): simplify implementation
5519         (cursorBottom): ditto
5520         (setParagraph): use ParagraphList::iterator
5521         (setCurrentFont): adjust
5522         (getColumnNearX): adjust
5523         (cursorRight): adjust
5524         (cursorLeft): remove usage of Paragraph::previous
5525         (cursorUpParagraph): ditto
5526         (deleteEmptyParagraphMechanism): slight cleanup
5527
5528         * text.C (isBoundary): take a Paragraph const & instead of a
5529         pointer as arg.
5530         (addressBreakPoint): ditto
5531         (leftMargin): remove usage of Paragraph::previous.
5532         (setHeightOfRow): ditto
5533         (cursorLeftOneWord): ditto
5534         (selectNextWordToSpellcheck): ditto
5535         (Delete): ditto
5536         (backspace): ditto
5537         (breakParagraph): remove one usage of Paragraph::next
5538         (redoParagraph): ditto
5539         (acceptChange): ditto
5540         (insertChar): adjust
5541         (rowBreakPoint): adjust
5542
5543         * bufferview_funcs.C (toggleAndShow): adjust
5544
5545 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5546
5547         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5548         methods to access it.
5549         * lyxtext.h:
5550         * text.C: Added updateRowPositions to compute all row positions.
5551         Make top_y and getRowNearY() to use the cached y position
5552
5553 2003-04-11  John Levon  <levon@movementarian.org>
5554
5555         * text.C (rowBreakPoint): reintroduce the labelEnd
5556         checks, code copied from the row fill stuff. Deep voodoo.
5557
5558         * text.C (fill): add a comment and debugging for the
5559         next poor soul.
5560
5561 2003-04-11  John Levon  <levon@movementarian.org>
5562
5563         * text.C: make sure fullrow insets get wrapped to the next line,
5564         even when they're in a manual label
5565
5566 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * text2.C (insertParagraph): make it take ParagraphList::iterator
5569         as arg.
5570         (setLayout): make it return ParagraphList::iterator
5571         (redoParagraphs): ditto
5572         (setCounter): ditto
5573         (checkParagraph): ditto
5574
5575         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5576
5577         * text2.C: adjust several funcs.
5578         (realizeFont): take a ParagraphList::iterator as arg.
5579         (getLayoutFont): ditto
5580         (getLabelFont): ditto
5581         (setCharFont): ditto
5582
5583         * text.C: adjust several funcs.
5584
5585 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5586
5587         * text.C (selectNextWordToSpellcheck): don't accidentally
5588         skip insets
5589
5590 2003-04-10  John Levon  <levon@movementarian.org>
5591
5592         * ToolbarBackend.C (getIcon): special handling for
5593         LFUN_MATH_DELIM
5594
5595 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5596
5597         * text2.C (cursorRight): a getChar assert fixed
5598
5599 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * text2.C (getFont): change to take a ParagraphList::iterator
5602         instead of Paragraph*
5603         Adjust several functions.
5604
5605         * text.C (transformChar): change to take a ParagraphList::iterator
5606         instead of Paragraph*
5607         (singleWidth): ditto
5608         Adjust several functions.
5609
5610         * rowpainter.C: adjust several functions
5611         * rowpainter.h:store a ParagraphList::iterator and not a
5612         Paragraph&.
5613
5614
5615 2003-04-09  John Levon  <levon@movementarian.org>
5616
5617         * lyxfunc.C:
5618         * lfuns.h:
5619         * LyXAction.h:
5620         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5621         and the "help" bits as well
5622
5623 2003-04-09  John Levon  <levon@movementarian.org>
5624
5625         * ToolbarBackend.h:
5626         * ToolbarBackend.C: allow multiple toolbars
5627
5628 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * undo_funcs.C (setCursorParUndo): adjust
5631
5632         * text_funcs.C (transposeChars): adjust
5633
5634         * text3.C (gotoNextInset): adjust
5635         (dispatch): adjust
5636
5637         * text2.C (setLayout): adjust
5638         (changeDepth): adjust
5639         (setFont): adjust
5640         (redoParagraphs): adjust
5641         (selectionAsString): adjust
5642         (setParagraph): adjust
5643         (insertInset): adjust
5644         (cutSelection): adjust
5645         (copySelection): adjust
5646         (pasteSelection): adjust
5647         (insertStringAsLines): adjust
5648         (updateInset): adjust
5649         (setCursor): change to take a ParagraphList::iterator parameter
5650         (setCursorIntern): change to take a ParagraphList::iterator parameter
5651         (setCurrentFont): adjust
5652         (cursorLeft): adjust
5653         (cursorRight): adjust
5654         (deleteEmptyParagraphMechanism): adjust
5655
5656         * text.C (breakParagraph): adjust
5657         (insertChar): adjust
5658         (acceptChange): adjust
5659         (rejectChange): adjust
5660         (selectNextWordToSpellcheck): adjust
5661         (changeCase): adjust
5662         (Delete): adjust
5663         (backspace): adjust
5664
5665         * lyxfind.C (SearchForward): adjust
5666         (SearchBackward): adjust
5667         (nextChange): adjust
5668
5669         * lyxcursor.C (par): adjust
5670
5671         * lyxcursor.h: store a ParagraphList::iterator instead of a
5672         Paragraph*
5673
5674         * lyx_cb.C (getPossibleLabel): adjust
5675
5676         * bufferview_funcs.C (toggleAndShow): adjust
5677
5678         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5679         (dispatch): adjust
5680
5681         * BufferView.C (removeAutoInsets): adjust
5682         (lockedInsetStoreUndo): adjust
5683
5684 2003-04-09  John Levon  <levon@movementarian.org>
5685
5686         * ToolbarBackend.C: try icon without argument
5687         if with argument fails
5688
5689 2003-04-08  John Levon  <levon@movementarian.org>
5690
5691         * ToolbarBackend.h:
5692         * ToolbarBackend.C: add getIcon(), handle tooltip,
5693         and change from "Icon" to "Item".
5694
5695 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5696
5697         * BufferView.C (lockInset): another bad getchar crunched
5698
5699 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5700
5701         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5702         again)
5703
5704 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * lyxfind.C (searchForward, searchBackwards): bug 782
5707
5708 2003-04-07  John Levon  <levon@movementarian.org>
5709
5710         * paragraph.C: remove dead comment
5711
5712         * text.C: remove troublesome depth-fiddling code
5713         in leftMargin() and rightMargin() (bug 1017)
5714
5715         * text.C: fix breaking of rows in nested lists
5716         (bug 1004)
5717
5718         * text2.C (updateCounters): fix up depth values
5719         (bug 1013)
5720
5721 2003-04-07  John Levon  <levon@movementarian.org>
5722
5723         * BufferView_pimpl.C: clear message when doc finishes resizing,
5724         and after a mouse event
5725
5726         * lyxfunc.C: clear message after exiting inset
5727
5728 2003-04-07  John Levon  <levon@movementarian.org>
5729
5730         * bufferview_funcs.C: show math status not outside
5731         status in the statusbar
5732
5733 2003-04-07  John Levon  <levon@movementarian.org>
5734
5735         * lyxfunc.C: note status changed after a depth change
5736
5737 2003-04-04  Angus Leeming  <leeming@lyx.org>
5738
5739         * LaTeX.h: move AuxInfo operator==, != out of line.
5740         Remove LaTeX virtual destructor; nothing derives from it.
5741         Move operator()() out of public area and rename it startscript().
5742         Change protected for private.
5743
5744 2003-04-04  Angus Leeming  <leeming@lyx.org>
5745
5746         * lyxfunc.C:
5747         * text2.C: remove unneeded #includes.
5748
5749 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * text2.C (dEPM): fix the heigth of the next row
5752
5753 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * text.C: squashed an invalid getChar requester + some ws changes
5756
5757 2003-04-03  John Levon  <levon@movementarian.org>
5758
5759         * bufferview_funcs.h:
5760         * bufferview_funcs.C:
5761         * lyxfunc.C:
5762         * lyxtext.h:
5763         * text2.C: make getStatus work for the env depth lfuns
5764
5765 2003-04-03  John Levon  <levon@movementarian.org>
5766
5767         * bufferview_funcs.h:
5768         * bufferview_funcs.C:
5769         * lyxfunc.C:
5770         * lyxtext.h:
5771         * text2.C: parlistize decDepth(), by merging it with incDepth()
5772
5773 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5774
5775         * lyxrow.h: store a ParagraphList::iterator instead of a
5776         Paragraph* and adjust other class functions to suit.
5777
5778         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5779         above.
5780
5781 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * text2.C (setCursor): do not anchor to cursor row for the time being
5784
5785 2003-04-02  John Levon  <levon@movementarian.org>
5786
5787         * LyXAction.C:
5788         * lfuns.h:
5789         * lyx_main.C:
5790         * lyxtext.h:
5791         * text.C:
5792         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5793
5794 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * paragraph.h: make ParagraphList and ParagraphList::iterator
5797         friends of Paragraph.
5798
5799         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5800
5801         * ParagraphList.C: Use the private next_ and previous_ from
5802         Paragraph.
5803
5804 2003-04-01  John Levon  <levon@movementarian.org>
5805
5806         * ToolbarBackend.h:
5807         * ToolbarBackend.C:
5808         * Makefile.am: rename, remove defaults gunk
5809
5810         * MenuBackend.h:
5811         * MenuBackend.C: remove defaults gunk
5812
5813         * Languages.h:
5814         * Languages.C: remove defaults gunk
5815
5816         * lyx_main.h:
5817         * lyx_main.C: error out if files couldn't be found.
5818
5819 2003-04-02  John Levon  <levon@movementarian.org>
5820
5821         * text2.C: make incDepth() use parlist
5822
5823 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5824
5825         * undo_funcs.C (firstUndoParagraph): adjust
5826
5827         * text3.C (gotoInset): adjust
5828         (dispatch): adjust, and rewrite loop.
5829
5830         * text2.C (init): adjust, and rewrite loop.
5831         (redoParagraphs): adjust
5832         (updateInset): adjust, and rewrite loop.
5833         (deleteEmptyParagraphMechanism): adjust
5834
5835         * tabular.C (LyXTabular): adjust
5836         (SetMultiColumn): adjust
5837         (TeXRow): adjust
5838
5839         * lyxtext.[Ch] (ownerParagraph): delete function
5840         (ownerParagraphs): new function returns a ParagraphList.
5841
5842         * BufferView.C (removeAutoInsets): adjust
5843         (insertErrors): adjust
5844         (setCursorFromRow): adjust
5845
5846 2003-04-01  Angus Leeming  <leeming@lyx.org>
5847
5848         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5849         in the frontends.
5850
5851 2003-04-02  John Levon  <levon@movementarian.org>
5852
5853         * lyxtext.h:
5854         * text.C:
5855         * Makefile.am:
5856         * text_funcs.h:
5857         * text_funcs.C: make transposeChars a free function
5858
5859         * lyxrow_funcs.C: remove wrong comment
5860
5861 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * lyxtext.h: adjust
5864         * rowpainter.C: adjust
5865         * text.C: adjust
5866         * text2.C: adjust
5867         * text3.C: adjust
5868
5869         * lyxrow_funcs. [Ch]: new files
5870
5871         * lyxrow.[Ch]: remove next and previous pointers
5872         (next,previous): remove accessor functions
5873         (isParEnd): move to lyxrow_funcs
5874         (lastPos): move to lyxrow_funcs
5875         (nextRowIsAllInset): move to lyxrow_funcs
5876         (lastPrintablePos): move to lyxrow_funcs
5877         (numberOfSeparators): move to lyxrow_funcs
5878         (numberOfHfills): move to lyxrow_funcs
5879         (numberOfLabelHfills): move to lyxrow_funcs
5880         (hfillExpansion): move to lyxrow_funcs
5881
5882         * lyxfunc.C: adjust
5883
5884         * bufferview_funcs.C (toggleAndShow): adjust
5885
5886         * RowList.h: Remove class RowList from file leave just a
5887         std::list<Row>.
5888
5889         * RowList.C: delete file
5890
5891         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5892         and lyxrow_funcs.h
5893
5894 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * text3.C (cursorPrevious): adjust
5897         (cursorNext): adjust
5898         (dispatch): adjust
5899
5900         * text2.C (redoHeightOfParagraph): adjust
5901         (redoDrawingOfParagraph): adjust
5902         (setCursor): adjust
5903
5904         * text.C (breakParagraph): adjust
5905         (insertChar): adjust
5906         (backspace): adjust
5907
5908         * rowpainter.C (RowPainter): adjust
5909         (leftMargin): simplify and adjust
5910         (most rowpainter functions): adjust.
5911
5912         * rowpainter.h: store the row as RowList::iterator not as Row*
5913
5914         * lyxcursor.C (row): taka RowList::iterator as arg
5915         (irow): ditto
5916
5917         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5918         of Row*.
5919
5920 2003-04-01  Angus Leeming  <leeming@lyx.org>
5921
5922         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5923         stuff like bool Bool.
5924
5925 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5928         rewrite a loop
5929
5930 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5933         RowList::iterator.
5934
5935         * lyxtext.h (rows): drop one version and leve a const variant that
5936         returns a RowList::iterator.
5937
5938 2003-03-31  Angus Leeming  <leeming@lyx.org>
5939
5940         * text.C (fill): ensure that the signature is the same as that in the
5941         header file.
5942
5943 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * text2.C (redoParagraphs): adjust
5946         (updateCounters): adjust
5947         (checkParagraph): adjust
5948         (getColumnNearX): adjust and reformat a bit.
5949
5950         * text.C (top_y): adjust
5951         (workWidth): adjust
5952         (leftMargin): adjust
5953         (prepareToPrint): adjust
5954         (getRow): adjust
5955         (getRowNearY): adjust
5956
5957         * lyxtext.h: make rowlist_ mutable.
5958
5959         * RowList.h: add const_iterator
5960         * RowList.C: adjust for RowList::const_iterator.
5961
5962         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5963         adjust.
5964
5965 2003-03-31  John Levon  <levon@movementarian.org>
5966
5967         * lyxrc.h:
5968         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5969
5970         * lyx_main.C: set default fonts from using lyx_gui funcs
5971
5972         * exporter.C: pdf_mode moved from lyxrc
5973
5974         * lyx_cb.C:
5975         * lyxfunc.C: changes from above
5976
5977 2003-03-31  John Levon  <levon@movementarian.org>
5978
5979         * lyx_main.C: fix to the last fix
5980
5981 2003-03-31  John Levon  <levon@movementarian.org>
5982
5983         * bufferlist.C: "Load original" -> "Load Original"
5984
5985         * converter.C:
5986         * exporter.C:
5987         * importer.C:
5988         * lyx_main.C:
5989         * format.C: more Alert cleanups
5990
5991 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * text2.C (removeParagraph): make it take a RowList::iterator as
5994         arg, adjust.
5995         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5996         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5997
5998         * text.C (anchor_row): make it take a RowList::iterator as arg,
5999         adjust.
6000         (computeBidiTables): make it take a const reference to Row instead
6001         of Row pointer, adjust.
6002         (leftMargin): make it take a RowList::iterator as arg, adjust.
6003         (rowBreakPoint): adjust
6004         (breakAgainOneRow): make it take a RowList::iterator as arg,
6005         adjust.
6006         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6007
6008         * bufferview_funcs.C (toggleAndShow): adjust
6009
6010 2003-03-30  John Levon  <levon@movementarian.org>
6011
6012         * Makefile.am:
6013         * BoostFormat.h:
6014         * boost-inst.C: moved to support
6015
6016         * several files: changes as a result
6017
6018 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * text2.C (LyXText): adjust.
6021         (init): adjust
6022         (removeRow): make it take a RowList::iterator as arg, adjust.
6023         (fullRebreak): adjust
6024         (deleteEmptyParagraphMechanism): adjust
6025         (clearPaint): adjust
6026         (postPaint): adjust
6027
6028         * text.C (top_y): adjust
6029         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6030         (breakAgain): make it take a RowList::iterator as arg, adjust.
6031         (breakParagraph): adjust
6032         (insertChar): adjust
6033         (backspace): adjust
6034
6035         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6036         need_break_row, and refresh_row.
6037
6038         * text3.C (dispatch): adjust
6039
6040         * text2.C (checkParagraph): adjust
6041         (setCursor): adjust
6042         (setCursorFromCoordinates): adjust
6043
6044         * text.C (top_y): adjust
6045         (workWidth): adjust
6046         (getRow): make it return a RowList::iterator, adjust
6047         (getRowNearY): make it return a RowList::iterator, adjust
6048
6049         * text2.C (init): adjust
6050         (insertRow): remove function
6051         (insertParagraph): adjust
6052         (redoParagraphs): adjust
6053         (fullRebreak): adjust
6054         (updateCounters): adjust
6055
6056         * text.C (top_y): rewrite to use RowList iterators.
6057         (top_y): adjust
6058         (setHeightOfRow): rewrite to sue RowList iterators.
6059         (appendParagraph): adjust
6060         (breakAgain): adjust
6061         (breakAgainOneRow): adjust
6062         (breakParagraph): adjust
6063         (getRow): adjust
6064         (getRowNearY): adjust, and remove commented code.
6065
6066         * lyxtext.h (firstRow): delete function
6067         (lastRow): delete function
6068         (rows): new function (const and non-const versions.)
6069         (insertRow): delete function
6070
6071         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6072
6073 2003-03-29  John Levon  <levon@movementarian.org>
6074
6075         * BufferView_pimpl.C: always update scrollbar top
6076         because pasting text when we're anchored could mean we
6077         miss an update altogether
6078
6079 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * text2.C (init): use rowlist_.end() and not 0.
6082         (insertRow): change to take a RowList::iterator as arg, adjust
6083         for this.
6084         (insertParagraph): change to take a RowList::iterator as arg,
6085         adjust for this.
6086         (redoParagraphs): remove some debug msgs.
6087
6088         * text.C (appendParagraph): change to take a RowList::iterator
6089         arg, adjust for this.
6090         (breakAgain): add an assert
6091         (breakAgainOneRow): ditto
6092
6093 2003-03-29  John Levon  <levon@movementarian.org>
6094
6095         * text2.C: do not clear selection after inc/decDepth
6096         (bug 550)
6097
6098 2003-03-29  John Levon  <levon@movementarian.org>
6099
6100         * BufferView.C:
6101         * buffer.C: fix broken strerrors according to Lars
6102
6103 2003-03-29  John Levon  <levon@movementarian.org>
6104
6105         * converters.C: more Alert cleanups
6106
6107 2003-03-29  John Levon  <levon@movementarian.org>
6108
6109         * bufferview_funcs.C: remove pointless Alert
6110
6111         * buffer.C: fix confusing error message when
6112         a template is chmoded 000
6113
6114 2003-03-29  John Levon  <levon@movementarian.org>
6115
6116         * BufferView.C:
6117         * BufferView.h:
6118         * BufferView_pimpl.C: Alert fixes
6119
6120         * Makefile.am:
6121         * tabular.C:
6122         * tabular-old.C: remove unused table compat reading
6123
6124 2003-03-29  John Levon  <levon@movementarian.org>
6125
6126         * BufferView.C:
6127         * buffer.C:
6128         * lyx_cb.h:
6129         * lyx_cb.C: more Alert cleanups
6130
6131         * lyxfunc.C: don't allow chktex if not latex document
6132
6133 2003-03-29  John Levon  <levon@movementarian.org>
6134
6135         * lyx_cb.C:
6136         * BufferView.C:
6137         * buffer.C: warnings pushed down from support/,
6138         kill err_alert
6139
6140 2003-03-29  John Levon  <levon@movementarian.org>
6141
6142         * lyxfunc.C: safety check for C-r (revert)
6143
6144 2003-03-29  John Levon  <levon@movementarian.org>
6145
6146         * bufferlist.h:
6147         * bufferlist.C: several UI fixes using Alert::prompt.
6148         Fix the pointless looping quit code. Fix stupid revert
6149         behaviour (bug 938)
6150
6151         * lyxvc.h:
6152         * lyxvc.C:
6153         * lyx_cb.C: use Alert::prompt
6154
6155         * lyx_main.C: remove a silly question
6156
6157         * lyxfunc.C: remove a couple of silly questions,
6158         use Alert::prompt
6159
6160 2003-03-28  John Levon  <levon@movementarian.org>
6161
6162         * text2.C: fix bug 974 (End on empty par)
6163
6164 2003-03-28  John Levon  <levon@movementarian.org>
6165
6166         * BufferView_pimpl.C:
6167         * LyXAction.C:
6168         * lfuns.h: remove do-nothing math greek lfuns
6169
6170 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6171
6172         * lyxgluelength.h (isValidGlueLength): add default arg on
6173         parameter 2. Remove default arg from friend in class.
6174
6175         * lyxlength.h (isValidLength): add default arg on parameter 2.
6176         Remove default arg from friend in class.
6177
6178         * text2.C (LyXText): adjust, initialize refresh_row.
6179         (init): adjust
6180         (removeRow): adjust
6181         (insertRow): adjust
6182         (insertParagraph): adjst
6183         (redoParagraphs): adjust
6184         (fullRebreak): adjust
6185         (updateCounters): adjust
6186         (deleteEmptyParagraphMechanism): first attempt at fixing a
6187         crashing bug.
6188
6189         * text.C (top_y): adjust
6190         (setHeightOfRow): adjust
6191         (getRow): adjust
6192         (getRowNearY): adjust
6193
6194         * lyxtext.h: include RowList.h
6195         (~LyXText): not needed anymore, deleted.
6196         (firstRow): modify for RowList
6197         (lastRow): new function
6198         Delete firstrow and lastrow class variables, add a Rowlist
6199         rowlist_ class variable.
6200
6201         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6202         paragraph is empty.
6203
6204         * RowList.C (insert): fix case where it == begin().
6205
6206 2003-03-26  Angus Leeming  <leeming@lyx.org>
6207
6208         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6209         the thesaurus dialog.
6210
6211 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6214
6215         * RowList.[Ch]: new files
6216
6217         * ParagraphList.C (erase): handle the case where it == begin
6218         correctly.
6219
6220 2003-03-25  John Levon  <levon@movementarian.org>
6221
6222         * Makefile.am:
6223         * aspell_local.h:
6224         * aspell.C: add new aspell support
6225
6226         * lyxrc.h:
6227         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6228         have it accessible.
6229
6230 2003-03-25  Angus Leeming  <leeming@lyx.org>
6231
6232         * lfuns.h:
6233         * LyXAction.C (init): new LFUN_INSET_INSERT.
6234
6235         * BufferView_pimpl.C (dispatch): split out part of the
6236         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6237
6238         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6239         LFUN_INSET_APPLY.
6240
6241 2003-03-25  Angus Leeming  <leeming@lyx.org>
6242
6243         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6244
6245 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6246
6247         * text2.C:
6248         * text3.C: remove useless row->height(0)
6249
6250 2003-03-25  John Levon  <levon@movementarian.org>
6251
6252         * lyxtext.h:
6253         * text2.C:
6254         * text3.C: rename the refreshing stuff to better names
6255
6256 2003-03-24  John Levon  <levon@movementarian.org>
6257
6258         * BufferView_pimpl.h:
6259         * BufferView_pimpl.C: update layout choice on a mouse
6260         press/release
6261
6262 2003-03-23  John Levon  <levon@movementarian.org>
6263
6264         * Makefile.am: fix commandtags.h reference
6265
6266 2003-03-22  John Levon  <levon@movementarian.org>
6267
6268         * BufferView_pimpl.C:
6269         * lyxtext.h:
6270         * rowpainter.C:
6271         * rowpainter.h:
6272         * text.C:
6273         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6274
6275 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * lyxtext.h:
6278         * text.C: take the rtl methods out of line
6279
6280 2003-03-21 André Pönitz <poenitz@gmx.net>
6281
6282         * metricsinfo.[Ch]: new files containing structures to be passed around
6283         during the two-phase-drawing...
6284
6285 2003-03-21 André Pönitz <poenitz@gmx.net>
6286
6287         * lyxtextclass.C: read 'environment' tag.
6288
6289 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6290
6291         * text2.C (removeRow): fix bug 964
6292
6293 2003-03-20  John Levon  <levon@movementarian.org>
6294
6295         * rowpainter.C:
6296         * text.C:
6297         * text2.C: paint cleanups. Inset::update() dropped font
6298         parameter
6299
6300 2003-03-19  John Levon  <levon@movementarian.org>
6301
6302         * lyxfunc.C: only fitcursor/markDirty if available()
6303
6304 2003-03-19  John Levon  <levon@movementarian.org>
6305
6306         * commandtags.h: rename to ...
6307
6308         * lfuns.h: ... this, and renumber / cleanup
6309
6310 2003-03-19  John Levon  <levon@movementarian.org>
6311
6312         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6313         fit the cursor after an lfun
6314
6315         * BufferView.h:
6316         * BufferView.C:
6317         * BufferView_pimpl.h:
6318         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6319
6320         * LyXAction.C: layout-character should have ReadOnly
6321
6322         * ParagraphParameters.C:
6323         * buffer.C:
6324         * bufferview_funcs.C:
6325         * lyx_cb.C:
6326         * lyxfind.C:
6327         * lyxtext.h:
6328         * text.C:
6329         * text2.C:
6330         * text3.C:
6331         * undo_funcs.C: changes from above
6332
6333 2003-03-18  John Levon  <levon@movementarian.org>
6334
6335         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6336         remove it from update()
6337
6338         * lyxfunc.C: update layout choice after an lfun
6339
6340         * text3.C: remove extra updateLayoutChoice()s
6341
6342 2003-03-18  John Levon  <levon@movementarian.org>
6343
6344         * text.C: top_y change means full repaint, fix
6345         a drawing bug with cursor movement
6346
6347 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * lyxtext.h:
6350         * text.C:
6351         * text2.C: anchor row on setCursor
6352
6353 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6354
6355         * lyxtext.h: remove almost all mutable keywords
6356         * text.C:
6357         * text2.C:
6358         * text3.C: remove const keywords accordingly
6359
6360 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6363         anon namespace
6364         (TeXEnvironment): ditto
6365         (TeXOnePar): ditto
6366
6367 2003-03-17  John Levon  <levon@movementarian.org>
6368
6369         * text.C (rowBreakPoint): remove attempt to fix displayed
6370         math insets inside a manual label
6371
6372 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6373
6374         * lyxtext.h: remove BufferView* as first arg from almost all class
6375         functions.
6376         * other files: adjust.
6377
6378 2003-03-17  John Levon  <levon@movementarian.org>
6379
6380         * lyxtext.h:
6381         * undo_funcs.C:
6382         * text2.C: more paint cleanups
6383
6384         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6385
6386         * rowpainter.h:
6387         * rowpainter.C: remove "smart" background painting code
6388
6389 2003-03-16  John Levon  <levon@movementarian.org>
6390
6391         * lyxtext.h:
6392         * text.C:
6393         * text2.C:
6394         * text3.C: add helper functions for setting refresh_row/y
6395
6396 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6397
6398         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6399         newline inset which *can* get inserted in the pass_thru layouts.
6400         This is primarily for literate documents.
6401
6402 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6403
6404         * buffer.C: increment LYX_FORMAT to 223
6405
6406 2003-03-14 André Pönitz <poenitz@gmx.net>
6407
6408         * textclass.h: prepare for environment handling, ws changes
6409         * lyxlayout.C: read latexheader and latexfooter tags
6410
6411 2003-03-14  John Levon  <levon@movementarian.org>
6412
6413         * text2.C: rewrite ::status() a bit
6414
6415 2003-03-13  John Levon  <levon@movementarian.org>
6416
6417         * lyxtext.h: add some docs
6418
6419 2003-03-13  John Levon  <levon@movementarian.org>
6420
6421         * lyxtext.h:
6422         * text.C:
6423         * text2.C:
6424         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6425
6426 2003-03-13  John Levon  <levon@movementarian.org>
6427
6428         * text3.C: fix appendix redrawing
6429
6430 2003-03-13  John Levon  <levon@movementarian.org>
6431
6432         * text.C (setHeightOfRow):
6433         * rowpainter.h:
6434         * rowpainter.C: make appendix mark have the text
6435           "Appendix" so the user knows what it is
6436
6437         * LColor.h:
6438         * LColor.C: s/appendixline/appendix/ from above
6439
6440 2003-03-13  John Levon  <levon@movementarian.org>
6441
6442         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6443
6444         * text.C: fix a getChar(pos) bug properly
6445
6446 2003-03-13  Angus Leeming  <leeming@lyx.org>
6447
6448         * commandtags.h:
6449         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6450         Probably only temporary. Let's see how things pan out.
6451
6452         * BufferView.C (unlockInset):
6453         * BufferView_pimpl.C (fitCursor):
6454         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6455
6456         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6457         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6458
6459         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6460         new functions that convert ParagraphParameters to and from a string.
6461
6462         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6463         BufferView::Pimpl's dispatch.
6464         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6465
6466 2003-03-13 André Pönitz <poenitz@gmx.net>
6467
6468         * lyxfunc.C:
6469         * text3.C:
6470         * factory.C: make it aware of InsetEnv
6471
6472 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * text2.C (setCursor): never ask for one past last
6475         (setCursor): add some debugging messages.
6476
6477         * text.C (singleWidth): never ask for one past last
6478         (singleWidth): ditto
6479         (leftMargin): ditto
6480         (rightMargin): ditto
6481         (rowBreakPoint): ditto
6482         (setHeightOfRow): ditto
6483         (prepareToPrint): ditto
6484
6485         * rowpainter.C (paintBackground): never ask for one past last
6486         (paintText): never ask for one past last
6487
6488         * paragraph_pimpl.C (getChar): make the assert stricter, never
6489         allow the one past last pos to be taken
6490
6491         * paragraph.C (getChar): ws changes only
6492
6493         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6494         (numberOfSeparators): ditto
6495         (numberOfHfills): ditto
6496
6497 2003-03-12  John Levon  <levon@movementarian.org>
6498
6499         * author.h:
6500         * author.C:
6501         * bufferparams.h:
6502         * bufferparams.C:
6503         * paragraph_funcs.C: fix per-buffer authorlists
6504
6505 2003-03-12  John Levon  <levon@movementarian.org>
6506
6507         * text.C: fix newline in right address
6508
6509 2003-03-12  Angus Leeming  <leeming@lyx.org>
6510
6511         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6512         duplicate those in LyXFunc::dispatch.
6513
6514         * commandtags.h:
6515         * LyXAction.C:
6516         * ToolbarDefaults.C:
6517         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6518         Add LFUN_FONTFREE_UPDATE.
6519
6520         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6521         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6522
6523         * bufferview_func.[Ch]: several new functions to facilliate
6524         transfer of data to and from the character dialog.
6525
6526 2003-03-12  John Levon  <levon@movementarian.org>
6527
6528         * buffer.C:
6529         * paragraph.h:
6530         * paragraph.C:
6531         * paragraph_funcs.C:
6532         * paragraph_pimpl.C:
6533         * sgml.C:
6534         * tabular.C:
6535         * text.C:
6536         * text3.C: remove META_NEWLINE in favour of an inset
6537
6538         * rowpainter.h:
6539         * rowpainter.C: remove paintNewline (done by inset)
6540
6541 2003-03-12  John Levon  <levon@movementarian.org>
6542
6543         * paragraph_pimpl.C: complain about bad getChar()s
6544         for a while at least
6545
6546 2003-03-12  John Levon  <levon@movementarian.org>
6547
6548         * buffer.h:
6549         * buffer.C: move paragraph read into a separate function,
6550         a little renaming to reflect that.
6551
6552         * bufferparams.h:
6553         * bufferparams.C: remove the author_ids map, not necessary now
6554
6555         * factory.h:
6556         * factory.C: moved Buffer::readInset to here
6557
6558         * paragraph_funcs.h:
6559         * paragraph_funcs.C: readParagraph free function moved from
6560         buffer.C
6561
6562         * tabular.C: name change
6563
6564 2003-03-12  John Levon  <levon@movementarian.org>
6565
6566         * buffer.C:
6567         * ParagraphParameters.C: move par params input to
6568         a read() method
6569
6570         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6571         behave like a normal read from the stream wrt reading
6572         a line vs. a \\token
6573
6574 2003-03-12  John Levon  <levon@movementarian.org>
6575
6576         * paragraph.C:
6577         * ParagraphParameters.h:
6578         * ParagraphParameters.C: move output code to a
6579         ::write() method
6580
6581 2003-03-12  John Levon  <levon@movementarian.org>
6582
6583         * BufferView.C (insertLyXFile):
6584         * buffer.h:
6585         * buffer.C:
6586         * tabular.C: use a parlist iterator for creating the
6587           document.
6588
6589 2003-03-12  John Levon  <levon@movementarian.org>
6590
6591         * buffer.C: make current_change static local not
6592           static file-scope
6593
6594 2003-03-12  John Levon  <levon@movementarian.org>
6595
6596         * buffer.C: fix insertStringAsLines for change tracking
6597
6598 2003-03-12  John Levon  <levon@movementarian.org>
6599
6600         * BufferView.C:
6601         * tabular.C:
6602         * buffer.h:
6603         * buffer.C:
6604         * bufferparams.h:
6605         * bufferparams.C: move author list into params. Rename some
6606           functions. Move the header reading into a separate token
6607           loop. Move the header token reading into BufferParams.
6608
6609 2003-03-12  John Levon  <levon@movementarian.org>
6610
6611         * changes.C: put debug inside lyxerr.debugging() checks
6612
6613 2003-03-11 André Pönitz <poenitz@gmx.net>
6614
6615         * factory.C: make it aware of InsetHFill
6616
6617 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6618
6619         * buffer.C (latexParagraphs): move function from here...
6620         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6621         args.
6622
6623 2003-03-10  Angus Leeming  <leeming@lyx.org>
6624
6625         * LyXAction.C (init): fix bug in poplating array with multiple entries
6626         with the same LFUN (spotted by JMarc).
6627
6628 2003-03-10  John Levon  <levon@movementarian.org>
6629
6630         * text.C:
6631         * text2.C: move getColumnNearX() near its
6632         only call site
6633
6634 2003-03-10  John Levon  <levon@movementarian.org>
6635
6636         * text.C: fix break before a minipage
6637
6638 2003-03-10  John Levon  <levon@movementarian.org>
6639
6640         * text.C: fix the last commit
6641
6642 2003-03-09  John Levon  <levon@movementarian.org>
6643
6644         * lyxtext.h:
6645         * text.C:
6646         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6647         bug 365 (don't break before insets unless needed). Don't
6648         return a value > last under any circumstances.
6649
6650 2003-03-09  Angus Leeming  <leeming@lyx.org>
6651
6652         * BufferView_pimpl.C (trackChanges, dispatch): call
6653         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6654
6655 2003-03-09  Angus Leeming  <leeming@lyx.org>
6656
6657         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6658         than Dialogs::showAboutlyx().
6659
6660 2003-03-09  Angus Leeming  <leeming@lyx.org>
6661
6662         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6663         than Dialogs::showTabularCreate().
6664
6665 2003-03-09  John Levon  <levon@movementarian.org>
6666
6667         * lyxtext.h:
6668         * text.C:
6669         * text2.C: 3rd arg to nextBreakPoint was always the same.
6670           Use references.
6671
6672 2003-03-08  John Levon  <levon@movementarian.org>
6673
6674         * lyxrow.C:
6675         * paragraph.C:
6676         * paragraph.h:
6677         * rowpainter.C:
6678         * text.C:
6679         * text2.C: Remove the "main" bit from the "main body"
6680           notion.
6681
6682 2003-03-08  John Levon  <levon@movementarian.org>
6683
6684         * text.C (leftMargin): The left margin of an empty
6685         manual label paragraph should not include the label width
6686         string length.
6687
6688         * text.C (prepareToPrint): don't attempt to measure hfills
6689         for empty manual label paragraphs - the answer should be 0
6690
6691 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * CutAndPaste.C: remove commented code and reindent.
6694
6695 2003-03-08  John Levon  <levon@movementarian.org>
6696
6697         * lyxfunc.h:
6698         * lyxfunc.C: move reloadBuffer()
6699
6700         * BufferView.h:
6701         * BufferView.C: to here
6702
6703         * lyxvc.C: add comment
6704
6705         * vc-backend.h:
6706         * vc-backend.C: call bv->reload() to avoid
6707           getStatus() check on MENURELOAD
6708
6709 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6710
6711         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6712         to an old format .dep file.
6713
6714 2003-03-07  Angus Leeming  <leeming@lyx.org>
6715
6716         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6717         when the LFUN_MOUSE_RELEASE should have been handled by
6718         inset->localDispatch.
6719
6720 2003-03-07  Angus Leeming  <leeming@lyx.org>
6721
6722         * BufferView_pimpl.C (dispatch):
6723         * LyXAction.C (init):
6724         * ToolbarDefaults.C (init):
6725         * commandtags.h:
6726         * lyxfunc.C (getStatus):
6727         remove LFUN_INSET_GRAPHICS.
6728
6729         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6730
6731 2003-03-07  Angus Leeming  <leeming@lyx.org>
6732
6733         * commandtags.h:
6734         * LyXAction.C (init):
6735         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6736
6737         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6738
6739         * commandtags.h:
6740         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6741
6742         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6743         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6744
6745 2003-03-07  Angus Leeming  <leeming@lyx.org>
6746
6747         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6748         remove "ert".
6749
6750 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * ParagraphList.C (front): new function
6753         (back): implement
6754
6755 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6756
6757         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6758         and top_row_offset_. removed var first_y.
6759         * text.C (top_y):
6760         * text2.C (LyXText, removeRow):
6761         * text3.C:
6762         * BufferView_pimpl.C:
6763         use these methods instead of using first_y
6764
6765 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * text2.C (pasteSelection): adjust for checkPastePossible
6768
6769         * CutAndPaste.C: remove Paragraph * buf and replace with
6770         ParagraphList paragraphs.
6771         (DeleteBuffer): delete
6772         (cutSelection): change the tc type to textclass_type
6773         (copySelection): change the tc type to textclass_type
6774         (copySelection): adjust for ParagraphList
6775         (pasteSelection): change the tc type to textclass_type
6776         (pasteSelection): adjust for Paragraphlist
6777         (nrOfParagraphs): simplify for ParagraphList
6778         (checkPastePossible): simplify for ParagraphList
6779         (checkPastePossible): remove unused arg
6780
6781         * ParagraphList.C (insert): handle the case where there are no
6782         paragraphs yet.
6783
6784         * CutAndPaste.h: make CutAndPaste a namespace.
6785
6786         * text3.C (dispatch): adjust
6787
6788         * text.C (breakParagraph): add a ParagraphList as arg
6789
6790         * paragraph_funcs.C (breakParagraph): change to take a
6791         BufferParams and a ParagraphList as args.
6792         (breakParagraphConservative): ditto
6793         (mergeParagraph): ditto
6794         (TeXDeeper): add a ParagraphList arg
6795         (TeXEnvironment): ditto
6796         (TeXOnePar): ditto
6797
6798         * buffer.C (readLyXformat2): adjust
6799         (insertStringAsLines): adjust
6800         (latexParagraphs): adjust
6801
6802         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6803         (cutSelection): adjust
6804         (pasteSelection): adjust
6805
6806         * BufferView_pimpl.C (insertInset): adjust
6807
6808 2003-03-05  Angus Leeming  <leeming@lyx.org>
6809
6810         * commandtags.h:
6811         * LyXAction.C (init):
6812         * BufferView_pimpl.C (dispatch):
6813         * lyxfunc.C (getStatus):
6814         remove LFUN_CHILD_INSERT.
6815
6816         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6817
6818 2003-03-05  Angus Leeming  <leeming@lyx.org>
6819
6820         * commandtags.h:
6821         * LyXAction.C (init):
6822         * src/factory.C (createInset):
6823         * lyxfunc.C (getStatus):
6824         * text3.C (dispatch):
6825         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6826
6827         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6828
6829 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6830
6831         * ParagraphList.C (insert): handle insert right before end()
6832         (erase): fix cases where it can be first or last paragraph.
6833
6834 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6837         Paragraph::next and Paragraph::previous
6838         (TeXOnePar): ditto
6839
6840         * text.C (breakParagraph): adjust
6841
6842         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6843         BufferParams& as arg.
6844         (breakParagraph): use ParagraphList::insert
6845         (breakParagraphConservative): take a Buffer* instead of a
6846         BufferParams& as arg.
6847         (breakParagraphConservative): use ParagraphList::insert.
6848
6849         * buffer.C (insertStringAsLines): un-const it
6850         (insertStringAsLines): adjust
6851
6852         * ParagraphList.C (insert): new function
6853
6854         * CutAndPaste.C (pasteSelection): adjust
6855
6856         * text.C (backspace): adjust
6857
6858         * tabular.C (SetMultiColumn): adjust
6859
6860         * CutAndPaste.C (cutSelection): adjust
6861         (pasteSelection): adjust
6862
6863         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6864         Buffer const * as arg
6865
6866         * ParagraphList.C (erase): new function
6867         * paragraph_funcs.C (mergeParagraph): use it
6868         (mergeParagraph): make it take a Buffer* instead of a
6869         BufferParams* as arg
6870
6871         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6872         as arg
6873         (breakParagraphConservative): ditto
6874
6875         * paragraph.h: remove the breakParagraph friend
6876
6877         * paragraph.C (eraseIntern): new function
6878         (setChange): new function
6879
6880         * paragraph_funcs.C (mergeParagraph): make it take a
6881         ParagraphList::iterator instead of a Paragraph *, adjust
6882         accordingly.
6883
6884         * paragraph.h: move an #endif so that the change tracking stuff
6885         also works in the NO_NEXT case.
6886
6887 2003-03-04  Angus Leeming  <leeming@lyx.org>
6888
6889         * commandtags.h:
6890         * LyXAction.C: new LFUN_INSET_MODIFY.
6891
6892         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6893         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6894
6895 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6896
6897         * several files: ws changes only
6898
6899         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6900         (TeXEnvironment): ditto
6901         (TeXDeeper): ditto
6902
6903         * buffer.C (makeLaTeXFile): adjust
6904         (latexParagraphs): make it take ParagraphList::iterator as args
6905
6906 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * buffer.C (latexParagraphs): adjust
6909
6910         * paragraph.C (TeXOnePar): move function...
6911         (optArgInset): move function...
6912         (TeXEnvironment): move function...
6913         * paragraph_pimpl.C (TeXDeeper): move function...
6914         * paragraph_funcs.C: ...here
6915
6916         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6917
6918 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * buffer.C (readInset): remove compability code for old Figure and
6921         InsetInfo insets
6922
6923 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * buffer.C: ws changes
6926         (readInset):
6927
6928         * BufferView_pimpl.C: ditto
6929         * author.C: ditto
6930         * buffer.h: ditto
6931         * bufferlist.h: ditto
6932         * changes.h: ditto
6933         * lyxfunc.C: ditto
6934
6935 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6936
6937         * converter.[Ch]: split into itself +
6938         * graph.[Ch]
6939         * format.[Ch]
6940         * Makefile.am: += graph.[Ch] + format.[Ch]
6941         * MenuBackend.C
6942         * buffer.C
6943         * exporter.C
6944         * importer.C
6945         * lyx_main.C
6946         * lyxfunc.C
6947         * lyxrc.C: added #include "format.h"
6948
6949 2003-02-27  Angus Leeming  <leeming@lyx.org>
6950
6951         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6952           a label.
6953
6954         * factory.C (createInset): add "label" to the factory.
6955
6956         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6957           string and do no more.
6958
6959 2003-02-27  Angus Leeming  <leeming@lyx.org>
6960
6961         * commandtags.h:
6962         * LyXAction.C (init):
6963         * factory.C (createInset):
6964         * BufferView_pimpl.C (dispatch):
6965           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6966
6967         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6968
6969         * lyxfunc.C (dispatch):
6970         * text3.C (dispatch): pass name to params2string.
6971
6972 2003-02-26  Angus Leeming  <leeming@lyx.org>
6973
6974         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6975           blocks together.
6976           Rearrange the ~includes. Strip out the unnecessary ones.
6977
6978         * factory.C (createInset): reformat.
6979           create new insets for the various LFUN_XYZ_APPLY lfuns.
6980
6981 2003-02-26  John Levon  <levon@movementarian.org>
6982
6983         * lyxrow.h:
6984         * lyxrow.C: add isParStart,isParEnd helpers
6985
6986         * paragraph.h: make isInserted/DeletedText take refs
6987
6988         * paragraph_funcs.h:
6989         * paragraph_funcs.C: remove #if 0'd code
6990
6991         * lyxtext.h:
6992         * text3.C:
6993         * text2.C:
6994         * text.C: use lyxrow helpers above.
6995           Move draw and paint routines to RowPainter.
6996           Make several methods use refs not pointers.
6997           Make backgroundColor() const.
6998           Add markChangeInDraw(), isInInset().
6999           Merge changeRegionCase into changeCase.
7000           Make workWidth() shouldn't-happen code into an Assert.
7001
7002         * rowpainter.h:
7003         * rowpainter.C: new class for painting a row.
7004
7005         * vspace.h:
7006         * vspace.C: make inPixels take a ref
7007
7008 2003-02-26  Angus Leeming  <leeming@lyx.org>
7009
7010         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7011         LFUN_REF_APPLY.
7012
7013 2003-02-25  John Levon  <levon@movementarian.org>
7014
7015         * ispell.C: give the forked command a more accurate name
7016
7017 2003-02-22  John Levon  <levon@movementarian.org>
7018
7019         * toc.h:
7020         * toc.C: make TocItem store an id not a Paragraph *
7021           (bug #913)
7022
7023 2003-02-21  Angus Leeming  <leeming@lyx.org>
7024
7025         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7026           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7027           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7028           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7029           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7030           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7031
7032         * BufferView_pimpl.C (dispatch):
7033         * LyXAction.C (init):
7034         * factory.C (createInset):
7035         * lyxfunc.C (getStatus, dispatch):
7036         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7037
7038 2003-02-21  Angus Leeming  <leeming@lyx.org>
7039
7040         * BufferView_pimpl.C (MenuInsertLyXFile):
7041         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7042         * lyxfunc.C (menuNew, open, doImport):
7043           no longer pass a LyXView & to fileDlg.
7044
7045 2003-02-21  Angus Leeming  <leeming@lyx.org>
7046
7047         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7048         * LyXAction.C: change, BIBKEY to BIBITEM.
7049         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7050         Change InsetBibKey to InsetBibitem.
7051         Change BIBKEY_CODE to BIBITEM_CODE.
7052         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7053         * factory.C: replace insetbib.h with insetbibitem.h.
7054         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7055         * paragraph.C: replace insetbib.h with insetbibitem.h.
7056         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7057         Change bibkey() to bibitem().
7058         * text.C: remove insetbib.h.
7059         * text2.C: replace insetbib.h with insetbibitem.h.
7060         change bibkey() to bibitem().
7061         * text3.C: remove insetbib.h.
7062         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7063
7064 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7065
7066         * lyxrc.C (output): enclose user email in quotes (in case there are
7067         several words)
7068
7069 2003-02-18  John Levon  <levon@movementarian.org>
7070
7071         * buffer.h: add std::
7072
7073 2003-02-17  John Levon  <levon@movementarian.org>
7074
7075         * SpellBase.h:
7076         * ispell.h:
7077         * ispell.C:
7078         * pspell.h:
7079         * pspell.C: reworking. Especially in ispell, a large
7080           number of clean ups and bug fixes.
7081
7082         * lyxfunc.C: fix revert to behave sensibly
7083
7084 2003-02-17 André Pönitz <poenitz@gmx.net>
7085
7086         * LyXAction.C:
7087         * commandtags.h: new LFUN_INSERT_BIBKEY
7088
7089         * layout.h:
7090         * lyxlayout.C:
7091         * buffer.C:
7092         * factory.C:
7093         * text.C:
7094         * text2.C:
7095         * text3.C:
7096         * paragraph.[Ch]:
7097         * paragraph_func.C: remove special bibkey handling
7098
7099 2003-02-17  John Levon  <levon@movementarian.org>
7100
7101         * text.C (Delete): fix case where delete at the end of
7102           the very first paragraph would not merge the pars
7103
7104 2003-02-17  John Levon  <levon@movementarian.org>
7105
7106         * lyxrow.C: fix lastPrintablePos()
7107
7108 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7109
7110         * bufferparams.C (writeLaTeX): add a std:here
7111
7112         * buffer.C: and remove a using directive there
7113
7114 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7115
7116         * buffer.C (makeLaTeXFile): move the code that generates the
7117           preamble...
7118
7119         * bufferparams.C (writeLaTeX): ... in this new method
7120
7121         * LaTeXFeatures.C (getEncodingSet): make const
7122           (getLanguages): make const
7123
7124         * MenuBackend.C (binding): returns the binding associated to this
7125           action
7126           (add): sets the status of each item by calling getStatus. Adds
7127           some intelligence.
7128           (read): add support for OptSubMenu
7129           (expand): remove extra separator at the end of expanded menu
7130
7131 2003-02-15  John Levon  <levon@movementarian.org>
7132
7133         * BufferView.C:
7134         * BufferView_pimpl.C:
7135         * bufferlist.h:
7136         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7137           inset code that had no actual effect. Remove unneeded status
7138           code.
7139
7140 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7141
7142         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7143           in preamble
7144
7145 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7146
7147         * text.C (drawLengthMarker): also draw an arrow marker for
7148           symbolic lengths (medskip...)
7149
7150 2003-02-14  John Levon  <levon@movementarian.org>
7151
7152         * tabular.h:
7153         * tabular.C: better method names
7154
7155 2003-02-14  John Levon  <levon@movementarian.org>
7156
7157         * BufferView_pimpl.C:
7158         * bufferlist.C:
7159         * buffer.C:
7160         * converter.C:
7161         * lyx_cb.C:
7162         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7163           it's a more accurate name. Remove some pointless uses.
7164
7165 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7166
7167         * text2.C (LyXText): change order of initilizers to shut off
7168           warnings
7169
7170 2003-02-14  John Levon  <levon@movementarian.org>
7171
7172         * buffer.C: use ParIterator for getParFromID()
7173
7174         * paragraph.h:
7175         * paragraph.C:
7176         * paragraph_pimpl.h:
7177         * paragraph_pimpl.C: remove unused getParFromID()
7178
7179 2003-02-14  John Levon  <levon@movementarian.org>
7180
7181         * buffer.C: remove some very old #if 0'd parse code
7182
7183 2003-02-13  John Levon  <levon@movementarian.org>
7184
7185         * text.h:
7186         * text.C:
7187         * text2.C: move hfillExpansion(), numberOfSeparators(),
7188           rowLast(), rowLastPrintable(), numberofHfills(),
7189           numberOfLabelHfills() ...
7190
7191         * lyxrow.h:
7192         * lyxrow.C: ... to member functions here.
7193
7194         * paragraph.h:
7195         * paragraph.C:
7196         * lyxtext.h:
7197         * text.C: remove LyXText::beginningOfMainBody(), and call
7198           p->beginningOfMainBody() directly. Move the check for
7199           LABEL_MANUAL into the latter.
7200
7201         * text.h:
7202         * text.C:
7203         * text2.C:
7204         * vspace.C:
7205         * BufferView.h:
7206         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7207
7208         * text.h:
7209         * text.C:
7210         * text2.C:
7211         * text3.C:
7212         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7213           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7214
7215 2003-02-13  John Levon  <levon@movementarian.org>
7216
7217         * CutAndPaste.C: remove debug
7218
7219 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7220
7221         * paragraph.C (asString): remove two unused variables
7222
7223         * lyxtextclass.C (readTitleType):
7224           (Read):
7225           (LyXTextClass): handle new members titletype_ and titlename_
7226
7227         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7228
7229 2003-02-09  John Levon  <levon@movementarian.org>
7230
7231         * buffer.h:
7232         * buffer.C: replace hand-coded list with a map for the dep clean
7233
7234 2003-02-08  John Levon  <levon@movementarian.org>
7235
7236         * LaTeX.C: consolidate code into showRunMessage() helper
7237
7238 2003-02-08  John Levon  <levon@movementarian.org>
7239
7240         * lyxfind.C:
7241         * lyxtext.h:
7242         * text2.C:
7243         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7244           and pass the size in explicitly
7245
7246         * BufferView_pimpl.h:
7247         * BufferView_pimpl.C:
7248         * BufferView.h:
7249         * BufferView.C: add getCurrentChange()
7250
7251         * BufferView_pimpl.h:
7252         * BufferView_pimpl.C: handle change lfuns
7253
7254         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7255           for changes. Mark pasted paragraphs as new.
7256
7257         * support/lyxtime.h:
7258         * support/lyxtime.C:
7259         * DepTable.C: abstract time_t as lyx::time_type
7260
7261         * LColor.h:
7262         * LColor.C: add colours for new text, deleted text, changebars
7263
7264         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7265           package use "usenames" option.
7266
7267         * commandtags.h:
7268         * lyxfunc.C:
7269         * LyXAction.C: add change lfuns
7270
7271         * Makefile.am:
7272         * author.h:
7273         * author.C: author handling
7274
7275         * buffer.h:
7276         * buffer.C: add a per-buffer author list, with first entry as
7277           current author. Handle new .lyx tokens for change tracking. Output
7278           author list to .lyx file. Output dvipost stuff to .tex preamble.
7279           Bump lyx format to 222.
7280
7281         * bufferlist.h:
7282         * bufferlist.C: add setCurrentAuthor() to reset current author details
7283           in all buffers.
7284
7285         * bufferparams.h:
7286         * bufferparams.C: add param for tracking
7287
7288         * bufferview_funcs.C: output change info in minibuffer
7289
7290         * Makefile.am:
7291         * changes.h:
7292         * changes.C: add change-tracking structure
7293
7294         * debug.h:
7295         * debug.C: add CHANGES debug flag
7296
7297         * lyxfind.h:
7298         * lyxfind.C: add code for finding the next change piece
7299
7300         * lyxrc.h:
7301         * lyxrc.C: add user_name and user_email
7302
7303         * lyxrow.h:
7304         * lyxrow.C: add a metric for the top of the text line
7305
7306         * lyxtext.h:
7307         * text.C: implement accept/rejectChange()
7308
7309         * lyxtext.h:
7310         * text.C: paint changebars. Paint new/deleted text in the chosen
7311         colours. Strike through deleted text.
7312
7313         * paragraph.h:
7314         * paragraph.C:
7315         * paragraph_pimpl.h:
7316         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7317           in the current change to the insert functions. Rework erase to
7318           mark text as deleted, adding an eraseIntern() and a range-based
7319           erase(). Implement per-paragraph change lookup and
7320           accept/reject.
7321
7322         * paragraph_funcs.C: Fixup paste for change tracking.
7323
7324         * tabular.C: mark added row/columns as new.
7325
7326         * text.C: fix rowLast() to never return -1. Don't allow
7327           spellchecking of deleted text. Track transpose changes. Don't
7328           allow paragraph break or merge where appropriate.
7329
7330         * text2.C: leave cursor at end of selection after a cut.
7331
7332 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7333
7334         * text.C (getLengthMarkerHeight):
7335         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7336         visible on screen too.
7337
7338 2003-02-07  John Levon  <levon@movementarian.org>
7339
7340         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7341
7342 2003-02-05  Angus Leeming  <leeming@lyx.org>
7343
7344         * lyxserver.C (read_ready): revert my patch of 11 September last year
7345         as it sends PC cpu through the roof. Presumably this means that
7346         the lyxserver will no longer run on an Alpha...
7347
7348 2003-01-30  Angus Leeming  <leeming@lyx.org>
7349
7350         * factory.C (createInset): create an InsetCommandParam of type "index"
7351         and use it to 'do the right thing'.
7352
7353         * text2.C (getStringToIndex): ensure that cursor position is always
7354         reset to the reset_cursor position.
7355
7356 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7357
7358         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7359         disabled.
7360
7361 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7362
7363         * bufferview.C:
7364         * lyxcb.C:
7365         * lyxfunc.C: Output messages with identical spelling, punctuation,
7366         and spaces
7367
7368 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7369
7370         * MenuBackend.C (expandFormats): List only viewable export formats
7371         in "View" menu
7372
7373         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7374         message
7375
7376         * lyxfunc.C (getStatus): Make sure that formats other than
7377         "fax" can also be disabled
7378
7379 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7380
7381         * text3.C (dispatch): put the lfuns that insert insets in 3
7382         groups, and call doInsertInset with appropriate arguments.
7383         (doInsertInset): new function, that creates an inset and inserts
7384         it according to some boolean parameters.
7385
7386 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * buffer.C (readFile): remember to pass on 'par' when calling
7389         readFile recursively.
7390
7391 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7392
7393         * MenuBackend.C (expandFormats): add "..." to import formats.
7394
7395 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7396
7397         * paragraph.C (asString): Remove XForms RTL hacks.
7398
7399 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7400         * buffer.C: fix typo
7401
7402 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7403
7404         * Makefile.am (LIBS): delete var
7405         (lyx_LDADD): add @LIBS@ here instead.
7406
7407 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7408
7409         * Clarify the meaning of "wheel mouse jump"
7410
7411 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7412
7413         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7414         tabular in a float
7415
7416 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7417
7418         * importer.C (Loaders): do not preallocate 3 elements in the
7419         vector, since one ends up with 6 elements otherwise
7420
7421 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7422
7423         * DepTable.C (write): write the file name as last element of the
7424         .dep file (because it may contain spaces)
7425         (read): read info in the right order
7426
7427 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7428
7429         * paragraph_pimpl.C (simpleTeXBlanks):
7430         (simpleTeXSpecialChars):
7431         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7432
7433         * tabular.C (latex): add some missing case statements. Reindent.
7434
7435         * MenuBackend.C (expandToc): remove unused variable.
7436
7437 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7438
7439         * LColor.C:
7440         * LaTeX.C:
7441         * LyXAction.C:
7442         * MenuBackend.C:
7443         * buffer.C:
7444         * exporter.C:
7445         * lyxfunc.C:
7446         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7447         and the like.
7448
7449 2003-01-05  John Levon  <levon@movementarian.org>
7450
7451         * BufferView.h:
7452         * BufferView.C: add getEncoding()
7453
7454         * kbsequence.h:
7455         * kbsequence.C: do not store last keypress
7456
7457         * lyxfunc.h:
7458         * lyxfunc.C: store last keypress here instead. Pass encoding
7459           to getISOEncoded()
7460
7461 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7462
7463         * lyx_main.C (init): remove annoying error message when following
7464         symbolic links (bug #780)
7465
7466 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7467
7468         * text.C (insertChar):
7469         * lyxrc.C (getDescription): remove extra spaces
7470
7471 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7472
7473         * lyxrc.C (getDescription): remove extra spaces
7474
7475 2002-12-20  John Levon  <levon@movementarian.org>
7476
7477         * text3.C: hack fix for page up/down across tall rows
7478
7479 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7480
7481         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7482         not been invoked
7483
7484 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7485
7486         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7487         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7488         thesaurus is not compiled in
7489
7490 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7491
7492         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7493
7494 2002-12-16  Angus Leeming  <leeming@lyx.org>
7495
7496         * lyxrc.[Ch]:
7497         * lyx_main.C (init): remove override_x_deadkeys stuff.
7498
7499 2002-12-12  John Levon  <levon@movementarian.org>
7500
7501         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7502           insert. Only remove shift modifier under strict
7503           circumstances.
7504
7505 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * MenuBackend.C (expandToc): fix crash.
7508
7509 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * MenuBackend.C (expandToc): gettext on float names.
7512
7513 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7514
7515         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7516         implement bool empty() [bug 490]
7517
7518 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7521
7522 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * several files: ws changes
7525
7526 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * text2.C (setCounter): clean up a bit, use boost.format.
7529         (updateCounters): initialize par upon declaration.
7530
7531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7532         if the layout exists. We do not just store the layout any more.
7533         (SwitchLayoutsBetweenClasses): use boost.format
7534
7535 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7536
7537         * converter.C (convert): if from and to files are the same, use a
7538         temporary files as intermediary
7539
7540 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7541
7542         * commandtags.h:
7543         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7544
7545 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7546
7547         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7548
7549 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * tabular.C (asciiPrintCell): use string(size, char) instead of
7552         explicit loop.
7553
7554         * sgml.C (openTag): fix order of arguments to string constructor
7555         (closeTag): ditto
7556
7557         * lyxfunc.C (dispatch): use boost.format
7558
7559         * lots of files: change "c" -> 'c'
7560
7561 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7562
7563         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7564
7565 2002-11-25  Angus Leeming  <leeming@lyx.org>
7566
7567         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7568
7569         * lyx_main.C (init): compile fix.
7570
7571 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * lyx_cb.C (start): boost.formatify
7574         do not include <iostream>
7575
7576         * lengthcommon.C: ws only
7577
7578         * boost-inst.C,BoostFormat.h: add more explict instantations
7579
7580 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * lots of files: handle USE_BOOST_FORMAT
7583
7584 2002-11-21  John Levon  <levon@movementarian.org>
7585
7586         * pspell.C: fix compile
7587
7588 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7589
7590         * lyxfunc.C (dispatch): use boost::format
7591         (open): ditto
7592         (doImport): ditto
7593
7594         * lyxfont.C (stateText): use boost::format
7595
7596         * lyx_main.C (LyX): use boost::format
7597         (init): ditto
7598         (queryUserLyXDir): ditto
7599         (readRcFile): ditto
7600         (parse_dbg): ditto
7601         (typedef boost::function): use the recommened syntax.
7602
7603         * importer.C (Import): use boost::format
7604
7605         * debug.C (showLevel): use boost::format
7606
7607         * converter.C (view): use boost::format
7608         (convert): ditto
7609         (move): ditto
7610         (scanLog): ditto
7611
7612         * bufferview_funcs.C (currentState): use boost::format
7613
7614         * bufferlist.C (emergencyWrite): use boost::format
7615
7616         * buffer.C (readLyXformat2): use boost::format
7617         (parseSingleLyXformat2Token): ditto
7618
7619         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7620
7621         * LaTeX.C (run): use boost::format
7622
7623         * Chktex.C (scanLogFile): use boost::format
7624
7625         * BufferView_pimpl.C (savePosition): use boost::format
7626         (restorePosition): ditto
7627         (MenuInsertLyXFile): ditto
7628
7629         * BoostFormat.h: help file for explicit instation.
7630
7631 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7632
7633         * tabular.C (latex): Support for block alignment in fixed width
7634         columns.
7635
7636 2002-11-17  John Levon  <levon@movementarian.org>
7637
7638         * BufferView_pimpl.C:
7639         * lyx_cb.C:
7640         * lyxfunc.C: split filedialog into open/save
7641
7642 2002-11-08  Juergen Vigna  <jug@sad.it>
7643
7644         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7645         by my last patch (hopefully).
7646
7647 2002-11-08  John Levon  <levon@movementarian.org>
7648
7649         * iterators.h:
7650         * iterators.C:
7651         * buffer.h:
7652         * buffer.C:
7653         * paragraph.h:
7654         * paragraph.C:
7655         * toc.h:
7656         * toc.C: ParConstIterator, and use it (from Lars)
7657
7658 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7659
7660         * lyxtextclass.[Ch]: revise and add doxygen comments
7661
7662 2002-11-07  John Levon  <levon@movementarian.org>
7663
7664         * text.C: fix progress value for spellchecker
7665
7666         * toc.C: fix navigate menu for insetwrap inside minipage
7667
7668         * paragraph_funcs.C: added FIXME for suspect code
7669
7670 2002-11-07  John Levon  <levon@movementarian.org>
7671
7672         * BufferView_pimpl.C: fix redrawing of insets
7673           on buffer switch
7674
7675 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7676
7677         * text2.C (updateCounters): fix bug 668
7678
7679 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7680
7681         * text3.C (dispatch): Do not make the buffer dirty when moving the
7682         cursor.
7683
7684 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * vc-backend.C: STRCONV
7687         (scanMaster): ditto
7688
7689         * text2.C (setCounter): STRCONV
7690
7691         * paragraph.C (asString): STRCONV
7692
7693         * lyxlength.C (asString): STRCONV
7694         (asLatexString): ditto
7695
7696         * lyxgluelength.C (asString): STRCONV
7697         (asLatexString): ditto
7698
7699         * lyxfunc.C (dispatch): STRCONV
7700         (open): ditto
7701
7702         * lyxfont.C (stateText): STRCONV
7703
7704         * importer.C (Import): STRCONV
7705
7706         * counters.C (labelItem): STRCONV
7707         (numberLabel): ditto
7708         (numberLabel): remove unused ostringstream o
7709
7710         * chset.C: STRCONV
7711         (loadFile): ditto
7712
7713         * bufferview_funcs.C (currentState): STRCONV
7714
7715         * buffer.C (readFile): STRCONV
7716         (asciiParagraph): ditto
7717         (makeLaTeXFile): ditto
7718
7719         * Spacing.C (writeEnvirBegin): STRCONV
7720
7721         * LaTeXFeatures.C (getLanguages): STRCONV
7722         (getPackages): ditto
7723         (getMacros): ditto
7724         (getBabelOptions): ditto
7725         (getTClassPreamble): ditto
7726         (getLyXSGMLEntities): ditto
7727         (getIncludedFiles): ditto
7728
7729         * LaTeX.C: STRCONV
7730         (run): ditto
7731         (scanAuxFile): ditto
7732         (deplog): ditto
7733
7734         * LString.h: add the STRCONV macros
7735
7736         * BufferView_pimpl.C (savePosition): STRCONV
7737         (restorePosition): ditto
7738         (MenuInsertLyXFile): ditto
7739
7740         * vc-backend.C (scanMaster): change from submatch[...] to
7741         submatch.str(...)
7742
7743         * funcrequest.C: include config.h
7744
7745         * factory.C: include config.h
7746
7747         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7748
7749         * box.C: include config.h
7750
7751         * LaTeX.C (scanAuxFile): change from submatch[...] to
7752         submatch.str(...)
7753         (deplog): ditto
7754
7755 2002-10-25  Angus Leeming  <leeming@lyx.org>
7756
7757         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7758
7759         * ispell.[Ch] (setError): new method.
7760         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7761         Use setError() insetead of goto END.
7762
7763         * lyx_cb.C (AutoSave): move out child process into new class
7764         AutoSaveBuffer.
7765
7766 2002-10-30  John Levon  <levon@movementarian.org>
7767
7768         * text3.C: make start appendix undoable
7769
7770 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * lyxlength.C (inPixels): Fix returned value.
7773
7774         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7775         environment.
7776
7777 2002-10-24  Angus Leeming  <leeming@lyx.org>
7778
7779         * lyxgluelength.h: no need to forward declare BufferParams
7780         or BufferView, so don't.
7781
7782 2002-10-21  John Levon  <levon@movementarian.org>
7783
7784         * BufferView.C: menuUndo ->undo, redo
7785
7786         * BufferView.h: document, remove dead, make some methods private
7787
7788         * paragraph_funcs.h:
7789         * paragraph_funcs.C:
7790         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7791
7792         * buffer.h:
7793         * buffer.C:
7794         * sgml.h:
7795         * sgml.C: move sgml open/close tag into sgml.C
7796
7797         * bufferview_funcs.h: unused prototype
7798
7799         * lyxfunc.h:
7800         * lyxfunc.C: remove unused
7801
7802         * lyxtext.h:
7803         * text.C: remove unused
7804
7805 2002-10-21  John Levon  <levon@movementarian.org>
7806
7807         * BufferView.h:
7808         * BufferView.C:
7809         * BufferView_pimpl.h:
7810         * BufferView_pimpl.C: fix mouse wheel handling based on
7811           patch from Darren Freeman
7812
7813 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7814
7815         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7816
7817 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7818
7819         * lyxlength.C (inPixels): Fix hanfling of negative length.
7820         Fix LyXLength::MU case.
7821
7822 2002-10-16  John Levon  <levon@movementarian.org>
7823
7824         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7825
7826 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7827
7828         * converter.C (view): add support for $$i (file name) and $$p
7829         (file path) for the viewer command. If $$i is not specified, then
7830         it is appended to the command (for compatibility with old syntax)
7831
7832 2002-10-14  Juergen Vigna  <jug@sad.it>
7833
7834         * undo_funcs.C (textHandleUndo): alter the order in which the
7835         new undopar is added to the LyXText, as we have to set first
7836         the right prev/next and then add it as otherwise the rebuild of
7837         LyXText is not correct. Also reset the cursor to the right paragraph,
7838         with this IMO we could remove the hack in "redoParagraphs()".
7839
7840 2002-10-09  Angus Leeming  <leeming@lyx.org>
7841
7842         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7843         to turn off an optimisation if a new inset is to be inserted.
7844
7845 2002-10-11 André Pönitz <poenitz@gmx.net>
7846
7847         * lyxtext.h: make some functions public to allow access
7848         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7849
7850 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7851
7852         * text3.C (dispatch): when changing layout, avoid an infinite loop
7853         [bug #652]
7854
7855 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7856
7857         * lyxrc.C (read): treat a viewer or converter command of "none" as
7858         if it were empty.
7859
7860         * MenuBackend.C (expandFormats): for an update, also allow the
7861         formats that are not viewable
7862
7863         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7864         script if it is newer than the lyxrc.defaults in user directory
7865
7866 2002-10-07 André Pönitz <poenitz@gmx.net>
7867
7868         * text.C: Vitaly Lipatov's small i18n fix
7869
7870 2002-09-25  Angus Leeming  <leeming@lyx.org>
7871
7872         * ispell.h: doxygen fix.
7873
7874 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7875
7876         * buffer.h (readFile): Add a new argument to the method, to allow
7877         reading of old-format templates.
7878
7879 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7880
7881         * toc.C (getTocList): Get TOC from InsetWrap.
7882
7883 2002-09-16  John Levon  <levon@movementarian.org>
7884
7885         * lyxfunc.C: check tabular for cut/copy too
7886
7887 2002-09-12  John Levon  <levon@movementarian.org>
7888
7889         * LyXAction.C: tidy
7890
7891         * factory.h:
7892         * factory.C: add header
7893
7894         * paragraph_funcs.h:
7895         * paragraph_funcs.C: cleanup
7896
7897 2002-09-11  John Levon  <levon@movementarian.org>
7898
7899         * PrinterParams.h: odd/even default to true
7900
7901 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7902
7903         * PrinterParams.h: update printer parameters for new xforms dialog
7904
7905 2002-09-11  Angus Leeming  <leeming@lyx.org>
7906
7907         * lyxserver.C (read_ready): re-write to make it more transparent
7908         and to make it work in coherent fashion under Tru64 Unix.
7909
7910 2002-09-11  André Pönitz <poenitz@gmx.net>
7911
7912         * commandtags.h:
7913         * LyXAction.C:
7914         * text3.C: implement LFUN_WORDSEL
7915
7916 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7919         make floatlist_ a boost::shared_ptr<FloatList>
7920
7921         * lyxtextclass.C: include FloatList.h
7922         (LyXTextClass): initialize floatlist_
7923         (TextClassTags): add TC_NOFLOAT
7924         (Read): match "nofloat" to TC_NOFLOAT and use it.
7925         (readFloat): modify call to floatlist_
7926         (floats): ditto
7927         (floats): ditto
7928
7929         * FloatList.[Ch] (FloatList): remove commented out float
7930         initialization.
7931         (erase): new function
7932
7933 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7934
7935         * MenuBackend.C (expandToc): fix crash when there is no document
7936         open
7937
7938 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7939
7940         * many files: Add insetwrap.
7941
7942 2002-09-09  John Levon  <levon@movementarian.org>
7943
7944         * text2.C: remove confusing and awkward depth wraparound
7945
7946 2002-09-09  John Levon  <levon@movementarian.org>
7947
7948         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7949
7950         * buffer.h:
7951         * buffer.C: remove getIncludeonlyList()
7952
7953         * paragraph.C:
7954         * lyxfunc.C: remove headers
7955
7956 2002-09-09  Juergen Vigna  <jug@sad.it>
7957
7958         * text.C (getColumnNearX): fix form Michael this is most
7959         probably a cut&paste bug.
7960
7961 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7964
7965         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7966         references, ws changes.
7967
7968         * text2.C (init): update counters after init
7969         (insertParagraph): no need to set counter on idividual paragraphs.
7970         (setCounter): access the counters object in the textclass object
7971         on in the buffer object.
7972         (updateCounters): ditto
7973
7974         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7975         shared_ptr<Counters> to avoid loading counters.h in all
7976         compilation units.
7977         (LyXTextClass): initialize ctrs_
7978         (TextClassTags): add TC_COUNTER, and ...
7979         (Read): use it here.
7980         (CounterTags): new tags
7981         (readCounter): new function
7982         (counters): new funtion
7983         (defaultLayoutName): return a const reference
7984
7985         * counters.C (Counters): remove contructor
7986         (newCounter): remove a couple of unneeded statements.
7987         (newCounter): simplify a bit.
7988         (numberLabel): some small formatting changes.
7989
7990         * buffer.[Ch]: remove all traces of counters, move the Counters
7991         object to the LyXTextClass.
7992
7993 2002-09-06  Alain Castera  <castera@in2p3.fr>
7994
7995         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7996         package to set the horizontal alignment on fixed width columns.
7997
7998         * lyx_sty.C:
7999         * lyx_sty.h: added tabularnewline macro def.
8000
8001         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8002
8003 2002-09-06  John Levon  <levon@movementarian.org>
8004
8005         * LyXAction.C: tooltips for sub/superscript
8006
8007         * MenuBackend.C: a bit more verbose
8008
8009         * lyxfunc.C: tiny clean
8010
8011         * undo_funcs.C: document undo_frozen
8012
8013 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * counters.C (Counters): add missing algorithm counter.
8016
8017         * text2.C (setCounter): lookup the counter with layouts latexname
8018         instead of by section number.
8019         (setCounter): use a hackish way to lookup the correct enum
8020         counter.
8021         a float name->type change
8022         reset enum couners with counter name directly instead of depth value.
8023
8024         * counters.C (Counters): remove the push_backs, change to use the
8025         float type not the float name.
8026         (labelItem): remove unused string, float name->type change
8027
8028         * counters.h: don't include vector, loose the enums and sects vectors
8029
8030 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8033         (Read): add float->TC_FLOAT to textclassTags
8034         (Read): and handle it in the switch
8035         (readFloat): new function
8036
8037         * FloatList.C (FloatList): comment out the hardcoded float
8038         definitions.
8039
8040         * lyxlayout.h: ws change.
8041
8042 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8043
8044         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8045
8046 2002-09-03  Angus Leeming  <leeming@lyx.org>
8047
8048         * BufferView_pimpl.h: qualified name is not allowed in member
8049         declaration: WorkArea & Pimpl::workarea() const;
8050
8051         * factory.C: added using std::endl directive.
8052
8053         * text3.C: added using std::find and std::vector directives.
8054
8055 2002-08-29  André Pönitz <poenitz@gmx.net>
8056
8057         * lyxtext.h:
8058         * text2.C: remove unused member number_of_rows
8059
8060         * Makefile.am:
8061         * BufferView2.C: remove file, move contents to...
8062         * BufferView.C: ... here
8063
8064         * BufferView_pimpl.C:
8065         * factory.C: move more inset creation to factory
8066
8067         * vspace.C: avoid direct usage of LyXText, ws changes
8068
8069         * BufferView.[Ch]:
8070                 don't provide direct access to WorkArea, use two simple
8071                 acessors haveSelction() and workHeight() instead
8072
8073
8074 2002-08-29  John Levon  <levon@movementarian.org>
8075
8076         * BufferView_pimpl.C (dispatch): do not continue when
8077           no buffer
8078
8079 2002-08-28  André Pönitz <poenitz@gmx.net>
8080
8081         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8082
8083         * BufferView.h:
8084         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8085
8086 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8087
8088         * buffer.C: increment LYX_FORMAT to 221
8089
8090         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8091         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8092
8093         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8094
8095         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8096
8097 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8098
8099         * factory.C (createInset): use LyXTextClass::floats
8100
8101         * MenuBackend.C (expandFloatListInsert):
8102         (expandFloatInsert):
8103         (expandToc):
8104
8105         * text2.C (setCounter):
8106
8107         * LaTeXFeatures.C (useFloat):
8108         (getFloatDefinitions):
8109
8110         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8111
8112         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8113         floatlist_, with accessor floats().
8114
8115         * FloatList.h: remove global FloatList
8116
8117 2002-08-26  André Pönitz <poenitz@gmx.net>
8118
8119         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8120
8121         * BufferView.h:
8122         * BufferView2.C:
8123         * BufferView_pimpl.C:
8124         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8125
8126 2002-08-25  John Levon  <levon@movementarian.org>
8127
8128         * LyXAction.C: fix margin note description
8129
8130 2002-08-24  John Levon  <levon@movementarian.org>
8131
8132         * buffer.C:
8133         * bufferlist.C:
8134         * bufferview_funcs.C:
8135         * lyxfont.C:
8136         * undo_funcs.C: cleanups
8137
8138         * lyxfunc.C: disable CUT/COPY when no selection
8139
8140 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8141
8142         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8143         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8144
8145         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8146         Add backward compatibility to "mono", "gray" and "no".
8147
8148 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8149
8150         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8151         (and file_format >= 200).
8152
8153 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8154
8155         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8156
8157 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8160
8161 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8162
8163         * BufferView_pimpl.C:
8164         * LyXAction.C:
8165         * buffer.C:
8166         * commandtags.h:
8167         * lyxfunc.C:
8168         * paragraph.[Ch]:
8169         * text2.C:
8170         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8171         inset and code to make it  work with the paragraph code. The inset
8172         can be anywhere in the paragraph, but will only do the expected
8173         thing in LaTeX if the layout file contains the parameter line
8174                         OptionalArgs    1
8175         (or more generally, a nonzero value) for that layout.
8176
8177 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * paragraph.h: remove the declaration of undefined counters class
8180         function.
8181
8182 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8183
8184         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8185         Dr. Richard Hawkins.
8186
8187 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8188
8189         * paragraph_funcs.h: remove some unneeded includes
8190
8191         * text.C (backspace): pasteParagraph now in global scipe
8192
8193         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8194         (pasteSelection): ditto
8195
8196         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8197         * paragraph_funcs.C (pasteParagraph): ... here
8198
8199 2002-08-20  André Pönitz <poenitz@gmx.net>
8200
8201         * commandtags.h: new LFUNs for swapping/copying table row/colums
8202
8203         * LyXAction.C:
8204         * lyxfunc.C: support for new lfuns
8205
8206 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * tabular.C:
8209         * buffer.[Ch]: remove NO_COMPABILITY stuff
8210
8211 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * boost.C (throw_exception): new file, with helper function for
8214         boost compiled without exceptions.
8215
8216         * paragraph.h:
8217         * lyxlength.C:
8218         * buffer.C:
8219         * ParameterStruct.h:
8220         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8221
8222         * bufferlist.C (emergencyWriteAll): use boost bind
8223
8224         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8225
8226         * text.C: include paragraph_funcs.h
8227         (breakParagraph): breakParagraph is now in global scope
8228
8229         * paragraph_funcs.[Ch]: new files
8230
8231         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8232         global scope
8233
8234         * buffer.C: include paragraph_funcs.h
8235         (insertStringAsLines): breakParagraph is now in global scope
8236
8237         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8238         paragraph_funcs.C
8239
8240         * CutAndPaste.C: include paragraph_funcs.h
8241         (cutSelection): breakParagraphConservative is now in global scope
8242         (pasteSelection): ditto
8243
8244         * buffer.h: declare oprator== and operator!= for
8245         Buffer::inset_iterator
8246
8247         * bufferlist.C (emergencyWrite): don't use fmt(...)
8248
8249         * text3.C: add using std::endl
8250
8251         * BufferView.C (moveCursorUpdate): remove default arg
8252
8253 2002-08-20  André Pönitz <poenitz@gmx.net>
8254
8255         * buffer.[Ch]: move inline functions to .C
8256
8257         * BufferView2.C:
8258         * BufferView_pimpl.C:
8259         * text.C:
8260         * buffer.[Ch]: use improved inset_iterator
8261
8262         * buffer.C:
8263         * paragraph.[Ch]: write one paragraph at a time
8264
8265 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8266
8267         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8268         style if style is not specified.
8269
8270 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * text2.C (setCounter): when searching for right label for a
8273         caption, make sure to recurse to parent insets (so that a caption
8274         in a minipage in a figure float works) (bug #568)
8275
8276 2002-08-20  André Pönitz <poenitz@gmx.net>
8277
8278         * text3.C: new file for LyXText::dispatch() and helpers
8279
8280         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8281
8282         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8283
8284 2002-08-19  André Pönitz <poenitz@gmx.net>
8285
8286         * lyxtext.h:
8287         * text.C: new LyXText::dispatch()
8288
8289         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8290
8291 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8292
8293         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8294
8295         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8296         Hebrew text.
8297
8298 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * Makefile.am: use $(variables) instead of @substitutions@
8301
8302 2002-08-15  André Pönitz <poenitz@gmx.net>
8303
8304         * lyxfunc.C:
8305         * BufferView_pimpl.C: streamlining mathed <-> outer world
8306         interaction
8307
8308         * commandtags.h:
8309         * LyXAction.C: remove unused LFUN_MATH
8310
8311 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8314
8315 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * paragraph.C (Paragraph): reformat a bit
8318         (cutIntoMinibuffer): use builtin InsetList function instad of
8319         doing it manually.
8320         (getInset): ditto
8321
8322         * buffer.C: include boost/bind.hpp, add using std::for_each
8323         (writeFileAscii): use ParagraphList iterators
8324         (validate): use for_each for validate traversal of paragraphs
8325         (getBibkeyList): use ParagraphList iterators
8326         (resizeInsets): use for_each to resizeInsetsLyXText for all
8327         paragraphs.
8328         (getParFromID): use ParagraphList iterators
8329
8330         * BufferView2.C (lockInset): use paragraph list and iterators
8331
8332 2002-08-14  John Levon  <levon@movementarian.org>
8333
8334         * lyxserver.C: remove spurious xforms include
8335
8336 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8337
8338         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8339
8340 2002-08-13  André Pönitz <poenitz@gmx.net>
8341
8342         * LyXAction.[Ch]:
8343         * lyxfunc.C: further cleaning
8344
8345 2002-08-13  André Pönitz <poenitz@gmx.net>
8346
8347         * funcrequest.h: new constructor
8348
8349         * funcrequest.C: move stuff here from .h
8350
8351         * Makefile.am:
8352         * BufferView_pimpl.C:
8353         * LyXAction.C:
8354         * toc.C:
8355         * lyxfunc.C: subsequent changes
8356
8357         * lyxfunc.h: new view() member function
8358
8359         * lyxfunc.C: subsequent changes
8360
8361 2002-08-13  Angus Leeming  <leeming@lyx.org>
8362
8363         * BufferView2.C:
8364         * BufferView_pimpl.C:
8365         * buffer.C:
8366         * converter.C:
8367         * importer.C:
8368         * lyxfunc.C:
8369         * lyxvc.C:
8370         * toc.C:
8371         * vc-backend.C:
8372         changes due to the changed LyXView interface that now returns references
8373         to member variables not pointers.
8374
8375 2002-08-13  Angus Leeming  <leeming@lyx.org>
8376
8377         * WordLangTuple (word, lang_code): return references to strings,
8378         not strings.
8379
8380         * BufferView.h:
8381         * SpellBase.h:
8382         * lyxtext.h: forward-declare WordLangTuple.
8383
8384         * BufferView2.C:
8385         * ispell.C:
8386         * pspell.C:
8387         * text.C: #include "WordLangTuple.h".
8388
8389         * lyxtext.h:
8390         * text.C: (selectNextWordToSpellcheck): constify return type.
8391
8392 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8393
8394         * buffer.C:
8395         * buffer.h:
8396         * lyxtext.h:
8397         * paragraph.C:
8398         * paragraph_pimpl.h:
8399         * text.C:
8400         * text2.C:
8401         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8402         suggested by Angus.
8403         Made updateCounter always count from start of buffer, and removed
8404         second argument (par).
8405         Reverted floats number display to '#'. Perhaps I'll try again when the
8406         code base is sanitized a bit.
8407
8408 2002-08-12  Angus Leeming  <leeming@lyx.org>
8409
8410         * buffer.[Ch] (getLabelList): constify.
8411
8412 2002-08-07  André Pönitz <poenitz@gmx.net>
8413
8414         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8415
8416         * funcrequest.h: extension to keep mouse (x,y) position
8417
8418 2002-08-12  Juergen Vigna  <jug@sad.it>
8419
8420         * BufferView2.C (insertErrors): forbid undo when inserting error
8421         insets.
8422
8423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8424
8425 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8426
8427         * ParagraphList.[Ch]: new files
8428
8429         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8430
8431         * BufferView2.C (lockInset): ParagraphList changes
8432         * toc.C: ditto
8433         * text2.C: ditto
8434         * bufferlist.C: ditto
8435         * buffer.h: ditto
8436         * buffer.C: ditto
8437
8438 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8441         unused class variable counter_,
8442
8443         * paragraph.[Ch] (getFirstCounter): delete unused function
8444
8445         * counters.C: include LAssert.h
8446         (reset): add a new function with no arg, change other version to
8447         not have def. arg and to not allow empty arg.
8448
8449         * text2.C (setCounter): remove empty arg from call to Counters::reset
8450
8451 2002-08-11  John Levon  <levon@movementarian.org>
8452
8453         * Makefile.am: add WordLangTuple.h
8454
8455 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8456
8457         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8458         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8459
8460         * insets/insettext.C: InsetList changes
8461
8462         * graphics/GraphicsSupport.C (operator()): InsetList changes
8463
8464         * toc.C (getTocList): InsetList changes
8465
8466         * paragraph_pimpl.[Ch]: InsetList changes
8467
8468         * paragraph.[Ch]: InsetList changes
8469
8470         * buffer.C (inset_iterator): InsetList changes
8471         (setParagraph): ditto
8472         * buffer.h (inset_iterator): ditto
8473         * iterators.C (operator++): ditto
8474         * iterators.h: ditto
8475
8476         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8477
8478         * InsetList.[Ch]: new files, most InsetList handling moved out of
8479         paragraph.C.
8480
8481         * BufferView2.C (removeAutoInsets): InsetList changes
8482         (lockInset): ditto
8483         (ChangeInsets): ditto
8484
8485 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * paragraph_pimpl.h (empty): new function
8488
8489         * paragraph.[Ch] (empty): new function
8490
8491         * other files: use the new Paragraph::empty function
8492
8493 2002-08-09  John Levon  <levon@movementarian.org>
8494
8495         * lyxtext.h: remove unused refresh_height
8496
8497 2002-08-09  John Levon  <levon@movementarian.org>
8498
8499         * Makefile.am:
8500         * sgml.h:
8501         * sgml.C:
8502         * buffer.C:
8503         * paragraph.h:
8504         * paragraph.C: move sgml char escaping out of paragraph
8505
8506         * paragraph.h:
8507         * paragraph.C: remove id setter
8508
8509         * buffer.C:
8510         * paragraph.C:
8511         * paragraph_pimpl.C: remove dead tex_code_break_column
8512
8513         * bufferview_funcs.C: small cleanup
8514
8515         * lyxfunc.C: remove dead proto
8516
8517         * lyxtext.h: make some stuff private. Remove some dead stuff.
8518
8519         * lyxgluelength.C: make as[LyX]String() readable
8520
8521 2002-08-08  John Levon  <levon@movementarian.org>
8522
8523         * LyXAction.h:
8524         * LyXAction.C:
8525         * MenuBackend.C:
8526         * ToolbarDefaults.C:
8527         * lyxfunc.C:
8528         * lyxrc.C:
8529         * toc.C: lyxaction cleanup
8530
8531 2002-08-08  John Levon  <levon@movementarian.org>
8532
8533         * BufferView2.C: small cleanup
8534
8535         * lyxfind.h:
8536         * lyxfind.C: move unnecessary header into the .C
8537
8538 2002-08-08  John Levon  <levon@movementarian.org>
8539
8540         * funcrequest.h: just tedious nonsense
8541
8542         * lyx_main.h:
8543         * lyx_main.C: cleanups
8544
8545         * buffer.C:
8546         * vspace.C: remove dead header lyx_main.h
8547
8548 2002-08-07  Angus Leeming  <leeming@lyx.org>
8549
8550         * Paragraph.[Ch]:
8551         * paragraph_pimpl.h:
8552         Forward declare class Counters in paragraph.h by moving the ctrs member
8553         variable into Paragraph::Pimpl.
8554         (counters): new method, returning a reference to pimpl_->ctrs.
8555
8556         * text2.C: ensuing changes.
8557
8558 2002-08-07  John Levon  <levon@movementarian.org>
8559
8560         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8561
8562         * BufferView_pimpl.C: announce X selection on double/triple
8563           click
8564
8565         * lyx_main.C: use correct bool in batch dispatch
8566
8567         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8568
8569 2002-08-07  André Pönitz <poenitz@gmx.net>
8570
8571         * funcrequest.h: new class to wrap a kb_action and its argument
8572
8573         * BufferView.[Ch]:
8574         * BufferView_pimpl[Ch]:
8575         * LaTeX.C:
8576         * LyXAction.[Ch]:
8577         * lyxfunc.[Ch]:
8578         * lyxrc.C: subsequent changes
8579
8580
8581 2002-08-07  John Levon  <levon@movementarian.org>
8582
8583         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8584           document options change.
8585
8586 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8587
8588         * counters.[Ch]
8589         * text2.C
8590         * paragraph.[Ch]
8591         * makefile.am: move counters functionality over from
8592         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8593
8594 2002-08-06  John Levon  <levon@movementarian.org>
8595
8596         * WordLangTuple.h: new file for word + language code tuple
8597
8598         * SpellBase.h:
8599         * pspell.h:
8600         * pspell.C:
8601         * ispell.h:
8602         * ispell.C:
8603         * lyxtext.h:
8604         * text.C:
8605         * text2.C:
8606         * BufferView.h:
8607         * BufferView2.C: use WordLangTuple
8608
8609         * layout.h:
8610         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8611
8612 2002-08-06  John Levon  <levon@movementarian.org>
8613
8614         * lyx_main.C: fix cmdline batch handling
8615
8616 2002-08-06  André Pönitz <poenitz@gmx.net>
8617
8618         * lyxrc.C: set default for show_banner to true
8619
8620 2002-08-06  John Levon  <levon@movementarian.org>
8621
8622         * pspell.C: fix a crash, and allow new aspell to work
8623
8624 2002-08-06  John Levon  <levon@movementarian.org>
8625
8626         * lyxfunc.C:
8627         * kbmap.C: small cleanup
8628
8629         * vspace.h:
8630         * vspace.C: add const
8631
8632 2002-08-05  John Levon  <levon@movementarian.org>
8633
8634         * LyXAction.C: back to tabular-insert
8635
8636 2002-08-04  John Levon  <levon@movementarian.org>
8637
8638         * BufferView.h:
8639         * BufferView.C: cosmetic change
8640
8641         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8642
8643         * bufferlist.C:
8644         * buffer.h:
8645         * buffer.C:
8646         * lyxcb.h:
8647         * lyxcb.C:
8648         * lyxserver.C:
8649         * lyxvc.C:
8650         * vc-backend.C:
8651         * BufferView2.C: purge all "Lyx" not "LyX" strings
8652
8653         * lyxcursor.h:
8654         * lyxcursor.C: attempt to add some documentation
8655
8656         * lyxfunc.C:
8657         * commandtags.h:
8658         * LyXAction.C:
8659         * ToolbarDefaults.C:
8660         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8661           merge with LFUN_TABULAR_INSERT
8662
8663         * Makefile.am:
8664         * SpellBase.h:
8665         * ispell.h:
8666         * ispell.C:
8667         * pspell.h:
8668         * pspell.C: split up i/pspell implementations into separate
8669           files, many cleanups
8670
8671         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8672
8673         * text2.C: some cleanup
8674
8675         * lyxfunc.C: don't check for isp_command == "none" any more, it
8676           didn't make any sense
8677
8678 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8679
8680         * counters.[Ch]
8681         * text2.C
8682         * paragraph.[Ch]
8683         * makefile.am: move counters functionality over
8684         from text2.C/paragraph.[Ch] to counters.[Ch], and
8685         make proper C++.
8686 2002-08-02  John Levon  <levon@movementarian.org>
8687
8688         * buffer.C: s/lyxconvert/lyx2lyx/
8689
8690 2002-08-02  Angus Leeming  <leeming@lyx.org>
8691
8692         * lyxlex.C: revert John's change as it breaks reading of the user
8693         preamble.
8694
8695 2002-08-02  Angus Leeming  <leeming@lyx.org>
8696
8697         * importer.C (Import):
8698         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8699         changes due to LyXView::view() now returning a boost::shared_ptr.
8700
8701 2002-08-02  John Levon  <levon@movementarian.org>
8702
8703         * lyxlex.C: small cleanup
8704
8705 2002-08-02  John Levon  <levon@movementarian.org>
8706
8707         * text2.C (status): small cleanup, no logic change
8708
8709 2002-08-01  John Levon  <levon@movementarian.org>
8710
8711         * buffer.h:
8712         * buffer.C (writeFile): don't output alerts, caller
8713           handles this
8714
8715         * bufferlist.C:
8716         * lyx_cb.C: from above
8717
8718         * lyxfunc.C: allow to open non-existent files
8719
8720 2002-07-31  John Levon  <levon@movementarian.org>
8721
8722         * lyxserver.C: don't let incidental errors get
8723           in the way (errno)
8724
8725 2002-07-30  John Levon  <levon@movementarian.org>
8726
8727         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8728
8729 2002-07-30  John Levon  <levon@movementarian.org>
8730
8731         * lyxserver.h:
8732         * lyxserver.C: remove I/O callback too
8733
8734 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8735
8736         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8737         log.
8738
8739 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8740
8741         * many files: strip,frontStrip -> trim,ltrim,rtrim
8742
8743 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8744
8745         * PrinterParams.h: remove extern containsOnly, and include
8746         support/lstrings.h instead.
8747
8748         * LaTeX.C (scanAuxFile): modify because of strip changes
8749         (deplog): ditto
8750         * buffer.C (makeLaTeXFile): ditto
8751         * bufferparams.C (writeFile): ditt
8752         * lyxfont.C (stateText): ditto
8753         * lyxserver.C (read_ready): ditto
8754         * vc-backend.C (scanMaster): ditto
8755
8756         * BufferView_pimpl.h: ws changes
8757
8758         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8759
8760 2002-07-26  André Pönitz <poenitz@gmx.net>
8761
8762         * kb_sequence.C: remove unnedred usings
8763
8764 2002-07-26  Juergen Vigna  <jug@sad.it>
8765
8766         * lyxfind.C (LyXReplace): we have to check better if the returned
8767         text is not of theLockingInset()->getLockingInset().
8768
8769 2002-07-25  Juergen Vigna  <jug@sad.it>
8770
8771         * lyxfind.C (LyXReplace): don't replace if we don't get the
8772         right LyXText.
8773
8774         * undo_funcs.C (createUndo): remove debugging code.
8775
8776 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8777
8778         * buffer.C (parseSingleLyXformat2Token): Use default placement
8779         when reading old floats.
8780
8781         * FloatList.C (FloatList): Change the default placement of figure
8782         and tables to "tbp".
8783
8784 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8785
8786         * MenuBackend.C: using std::max
8787
8788 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * MenuBackend.C (expandToc):
8791         (expandToc2): code moved from xforms menu frontend. It is now
8792         generic and TOCs are transparent to menu frontends.
8793
8794 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * toc.C (getTocList): protect against buf=0
8797
8798         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8799         Menu as first parameter. Now, this calls itself recursively to
8800         expand a whole tree (this will be useful for TOC handling)
8801         (expandFloatInsert): remove 'wide' version of floats
8802
8803         * MenuBackend.h (submenuname): returns the name of the submenu.
8804         (submenu): returns the submenu itself, provided it has been
8805         created by MenuBackend::expand
8806
8807 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8810         insets which have noFontChange == true. (bug #172)
8811
8812 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * BufferView_pimpl.C: add connection objects and use them...
8815         (Pimpl): here.
8816
8817 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8818
8819         * MenuBackend.C (expandLastfiles):
8820         (expandDocuments):
8821         (expandFormats):
8822         (expandFloatListInsert):
8823         (expandFloatInsert):
8824         (expand): split expand in parts
8825
8826 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * lyx_gui.C: use lyx_gui::exit()
8829
8830 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * LyXAction.C: show the failing pseudo action
8833
8834 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * buffer.C (readFile): Run the lyxconvert script in order to read
8837         old files.
8838
8839 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8840
8841         * LyXAction.C:
8842         * commandtags.h:
8843         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8844
8845 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * LyXAction.C:
8848         * commandtags.h:
8849         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8850
8851 2002-07-22  Herbert Voss  <voss@lyx.org>
8852
8853         * lengthcommon.C:
8854         * lyxlength.[Ch]: add support for the vertical lengths
8855
8856 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * toc.[Ch]: std:: fixes
8859
8860 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8861
8862         * lyxrc.C: do not include lyx_main.h
8863
8864         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8865         for layouts
8866
8867         * lyxrc.C:
8868         * encoding.C:
8869         * bufferlist.C:
8870         * BufferView2.C: include "lyxlex.h"
8871
8872         * tabular.h:
8873         * bufferparams.h: do not #include "lyxlex.h"
8874
8875         * lyxtextclasslist.C (Add): remove method
8876         (classlist): renamed to classlist_
8877
8878         * paragraph_pimpl.C:
8879         * paragraph.C:
8880         * text2.C:
8881         * CutAndPaste.C:
8882         * bufferview_funcs.C:
8883         * bufferlist.C:
8884         * text.C:
8885         * LaTeXFeatures.C:
8886         * buffer.C:
8887         * toc.C (getTocList): use BufferParams::getLyXTextClass
8888
8889         * toc.C (getTocList): use InsetFloat::addToToc
8890
8891         * toc.[Ch]: new files, containing helper functions to handle table
8892         of contents
8893
8894         * lyxfunc.C (dispatch): no need to remove spaces around command
8895         given as a string
8896         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8897         first command of the sequence; it is not very clever, but I do not
8898         have a better idea, actually
8899
8900         * LyXAction.C (LookupFunc): make sure to remove space at the
8901         beginning and end of the command
8902
8903 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * MenuBackend.C (getMenubar): new method: return the menubar of
8906         this menu set
8907         (read): treat differently reading of menu and menubar (in
8908         particular, the menubar has no name now)
8909         (Menu::menubar): remove
8910
8911         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8912         saving is finished
8913
8914 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8915
8916         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8917         a bibitem inset in a RTL paragraph.
8918
8919 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8920
8921         * paragraph_pimpl.C: constify
8922
8923         * BufferView_pimpl.C:
8924         * LaTeX.C:
8925         * lyxfunc.C: fix dispatch in a nicer way
8926
8927 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * lyxfunc.C (dispatch):
8930         * BufferView_pimpl.C:
8931         * BufferView_pimpl.h:
8932         * BufferView.C:
8933         * BufferView.h: rename Dispatch() to dispatch()
8934
8935         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8936
8937         * lyxlayout.C (Read): honor DependsOn tag
8938
8939         * lyxlayout.[Ch] (depends_on): new method
8940
8941         * version.C.in: update lyx_docversion
8942
8943         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8944
8945         * paragraph.C (validate): remove from here...
8946         * paragraph_pimpl.C (validate): ... and move here
8947         (isTextAt): make it const
8948
8949         * buffer.C (getLists): ws cleanup
8950
8951 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8952
8953         * language.C (read): Use iso8859-1 encoding in latex_lang
8954         (this prevents LyX from crashing when using iso10646-1 encoding).
8955
8956 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8957
8958         * text2.C (toggleInset): if cursor is inside an inset, close the
8959         inset and leave cursor _after_ it
8960
8961 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * lyxfunc.C: move minibuffer completion handling out of here
8964
8965 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8966
8967         * BufferView_pimpl.C:
8968         * LaTeX.C: fix dispatch calls
8969
8970 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8971
8972         * text.C (drawChars): Fix Arabic text rendering.
8973
8974 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * LyXAction.C:
8977         * commandtags.h:
8978         * lyxfunc.C: remove message-push/pop
8979
8980         * lyxserver.C:
8981         * lyxfunc.h:
8982         * lyxfunc.C: rationalise some code by removing verboseDispatch
8983           in favour of a bool argument to dispatch()
8984
8985 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8986
8987         * lyx_main.C (init): make sure to read symlinks as absolute paths
8988
8989 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * lyxfunc.h:
8992         * lyxfunc.C: no need for commandshortcut to be a member
8993
8994 2002-07-15  André Pönitz <poenitz@gmx.net>
8995
8996         * converter.C: add support for $$s (scripts from lib/scripts dir)
8997         * lyx_main.C: white space
8998
8999 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9000
9001         * bufferlist.C:
9002         * lyxrc.h:
9003         * lyxrc.C: remove second exit confirmation
9004
9005 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * BufferView.h:
9008         * BufferView.C:
9009         * BufferView2.C:
9010         * BufferView_pimpl.h:
9011         * BufferView_pimpl.C:
9012         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9013
9014 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * MenuBackend.C (expand): add numeric shortcuts to document menu
9017
9018         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9019
9020 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9021
9022         * lyxfont.C (setLyXFamily):
9023         (setLyXSeries):
9024         (setLyXShape):
9025         (setLyXSize):
9026         (setLyXMisc):
9027         (lyxRead):
9028         * debug.C (value):
9029         * buffer.C (asciiParagraph): use ascii_lowercase
9030
9031 2002-07-15  Mike Fabian  <mfabian@suse.de>
9032
9033         * lyxlex_pimpl.C (search_kw):
9034         * lyxlex.C (getLongString):
9035         * converter.h (operator<):
9036         * converter.C (operator<):
9037         * buffer.C (parseSingleLyXformat2Token):
9038         (asciiParagraph):
9039         * ToolbarDefaults.C (read):
9040         * MenuBackend.C (checkShortcuts):
9041         (read):
9042         * LColor.C (getFromGUIName):
9043         (getFromLyXName): use the compare_ascii_no_case instead of
9044         compare_no_case, because in turkish, 'i' is not the lowercase
9045         version of 'I', and thus turkish locale breaks parsing of tags.
9046
9047 2002-07-16  Angus Leeming  <leeming@lyx.org>
9048
9049         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9050         now takes a Buffer const & argument.
9051
9052 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9053
9054         * BufferView.C (resize): check there's a buffer to resize
9055
9056 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9057
9058         * lyxfunc.C: remove dead code
9059
9060         * lyxserver.h:
9061         * lyxserver.C: use lyx_guii::set_read_callback
9062
9063 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9066         an inset in a RTL paragraph.
9067
9068 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * lyxfunc.C: repaint after a font size update
9071
9072 2002-07-15  André Pönitz <poenitz@gmx.net>
9073
9074         * lyxlength.C: inBP should be able to return negative values
9075
9076 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * lyxfunc.C: use lyx_gui::update_fonts()
9079
9080 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9081
9082         * lyxfunc.C: use lyx_gui::update_color()
9083
9084 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * bufferlist.C:
9087         * lyxfunc.h:
9088         * lyxfunc.C:
9089         * lyxrc.h:
9090         * lyxrc.C: remove file->new asks for name option, and let
9091           buffer-new take an argument
9092
9093 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * BufferView_pimpl.C: remove unneeded extra repaint()
9096
9097 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9098
9099         * LyXAction.C: allow command-sequence with NoBuffer
9100
9101         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9102
9103 2002-07-10  Angus Leeming  <leeming@lyx.org>
9104
9105         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9106
9107 2002-07-09  Angus Leeming  <leeming@lyx.org>
9108
9109         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9110
9111 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * lengthcommon.h: whitespace
9114
9115         * lyxfunc.C: update scrollbar after goto paragraph
9116
9117         * lyxtext.h: factor out page break drawing, and fix it so
9118           page break/added space paints as selected nicely
9119
9120 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * BufferView_pimpl.C: add FIXMEs, clean up a little
9123
9124 2002-07-09  André Pönitz <poenitz@gmx.net>
9125
9126         * lyxfont.[Ch]: support for wasy symbols
9127
9128 2002-07-08  André Pönitz <poenitz@gmx.net>
9129
9130         * BufferView_pimpl.C: apply John's patch for #93.
9131
9132 2002-07-05  Angus Leeming  <leeming@lyx.org>
9133
9134         * BufferView_pimpl.C (buffer): generate previews if desired.
9135
9136         * LColor.h: add "preview" to the color enum.
9137
9138         * LColor.C (LColor): add a corresponding entry to the items array.
9139
9140         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9141         with this buffer.
9142
9143 2002-07-05  Angus Leeming  <leeming@lyx.org>
9144
9145         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9146         The body of the code is now in the method that is passed an ostream &
9147         rather than a file name.
9148         Pass an additional only_preamble parameter, useful for the forthcoming
9149         preview stuff.
9150
9151 2002-07-03  André Pönitz <poenitz@gmx.net>
9152
9153         * lyxfunc.C: simplify getStatus() a bit for math stuff
9154
9155 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9156
9157         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9158
9159 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * text.C (changeRegionCase): do not change case of all the
9162         document when region ends at paragraph end (bug #461)
9163
9164 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9165
9166         * paragraph.C (startTeXParParams):
9167         (endTeXParParams): add \protect when necessary
9168
9169 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9170
9171         * BufferView_pimpl.C (workAreaExpose): remove warning
9172
9173 2002-06-27  Angus Leeming  <leeming@lyx.org>
9174
9175         * Makefile.am: add lyxlayout_ptr_fwd.h.
9176
9177 2002-06-26  André Pönitz <poenitz@gmx.net>
9178
9179         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9180
9181 2002-06-25  Angus Leeming  <leeming@lyx.org>
9182
9183         * lyxfunc.C (dispatch): Comment out the call to
9184         grfx::GCache::changeDisplay. The method no longer exists now that the
9185         pixmap generation part of the graphics loader has been moved into
9186         InsetGraphics.
9187
9188 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * text2.C: layout as layout
9191
9192         * text.C: layout as layout
9193
9194         * tabular.C (OldFormatRead): layout as layout
9195
9196         * paragraph_pimpl.C (TeXDeeper): layout as layout
9197         (realizeFont): layout as layout
9198
9199         * paragraph.C (writeFile): layout as layout
9200         (validate): layout as layout
9201         (getFont): layout as layout
9202         (getLabelFont): layout as layout
9203         (getLayoutFont): layout as layout
9204         (breakParagraph): layout as layout
9205         (stripLeadingSpaces): layout as layout
9206         (getEndLabel): layout as layout
9207         (getMaxDepthAfter): layout as layout
9208         (applyLayout): layout as layout
9209         (TeXOnePar): layout as layout
9210         (simpleTeXOnePar): layout as layout
9211         (TeXEnvironment): layout as layout
9212         (layout): layout as layout
9213         (layout): layout as layout
9214
9215         * lyxtextclass.C (compare_name): new functor to work with
9216         shared_ptr, layout as layout
9217         (Read): layout as layout
9218         (hasLayout): layout as layout
9219         (operator): layout as layout
9220         (delete_layout): layout as layout
9221         (defaultLayout): layout as layout
9222
9223         * lyxlayout_ptr_fwd.h: new file
9224
9225         * lyxlayout.C (Read): layout as layout
9226
9227         * lyx_cb.C (MenuInsertLabel): layout as layout
9228
9229         * bufferlist.C (newFile): layout as layout
9230
9231         * buffer.C (readLyXformat2): layout as layout
9232         (parseSingleLyXformat2Token): layout as layout
9233         (insertStringAsLines): layout as layout
9234         (asciiParagraph): layout as layout
9235         (latexParagraphs): layout as layout
9236         (makeLinuxDocFile): layout as layout
9237         (simpleLinuxDocOnePar): layout as layout
9238         (makeDocBookFile): layout as layout
9239         (simpleDocBookOnePar): layout as layout
9240         (getLists): layout as layout
9241
9242         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9243
9244         * CutAndPaste.C (cutSelection): layout as layout
9245         (pasteSelection): layout as layout
9246         (SwitchLayoutsBetweenClasses): layout as layout
9247
9248         * BufferView_pimpl.C (Dispatch): layout as layout
9249         (smartQuote): layout as layout
9250
9251         * BufferView2.C (unlockInset): layout as layout
9252
9253 2002-06-24  André Pönitz <poenitz@gmx.net>
9254
9255         * lyxfunc.C: fix #487
9256
9257 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * lyxrc.h:
9260         * lyxrc.C:
9261         * lyxfunc.C: remove display_shortcuts, show_banner
9262
9263 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * Buffer_pimpl.C: oops, update on resize
9266
9267 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * buffer.C:
9270         * converter.C:
9271         * exporter.C:
9272         * lyxfunc.C:
9273         * BufferView.h:
9274         * BufferView.C: use repaint()
9275
9276         * BufferView_pimpl.h:
9277         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9278           as it's a clearer description. Remove superfluous
9279           redraws.
9280
9281 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9282
9283         * text.C: fix bug 488. Not ideal, but getting
9284           getWord() to work properly for the insets that
9285           matter is more difficult ...
9286
9287 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * BufferView_pimpl.C:
9290         * LyXAction.C:
9291         * commandtags.h:
9292         * lyxfunc.C: remove the six million index lyxfuncs to just
9293           one, and DTRT (bug 458)
9294
9295 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9296
9297         * BufferView.h:
9298         * BufferView.C:
9299         * BufferView_pimpl.h:
9300         * BufferView_pimpl.C: clean up resize() stuff,
9301           and unnecessary updateScreen()s
9302
9303 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * BufferView.h:
9306         * BufferView.C:
9307         * BufferView_pimpl.h:
9308         * BufferView_pimpl.C:
9309         * lyxfind.h:
9310         * lyxfind.C:
9311         * minibuffer.C: remove focus management of workarea,
9312           not needed. Use screen's greyOut()
9313
9314 2002-06-17  Herbert Voss  <voss@lyx.org>
9315
9316         * converter.C: (convert) do not post a message, when converting
9317         fails, let the calling function decide what to do in this case
9318
9319 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * lyxfunc.C: tidy up a little
9322
9323 2002-06-16    <alstrup@diku.dk>
9324
9325         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9326         Got rid of FORMS_H_LOCATION include. Now we are
9327         GUII.
9328
9329 2002-06-15  LyX Development team  <lyx@rilke>
9330
9331         * buffer.[Ch] (sgmlOpenTag):
9332         (sgmlCloseTag): Added support for avoiding pernicious mixed
9333         content. Return number of lines written.
9334
9335         (makeLinuxDocFile):
9336         (makeDocBookFile): Fixed calls to sgml*Tag.
9337         Simple white space clean.
9338
9339         (simpleDocBookOnePar): Simple white space clean.
9340
9341         * tabular.[Ch] (docBook): Renamed to docbook and got another
9342         argument to related with the pernicious mixed content.
9343
9344         (docbookRow): Fixed calls for docbook inset method.
9345
9346 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9347
9348         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9349         so it's X11 independent.
9350
9351         * kb*.[Ch]: ditto.
9352
9353         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9354
9355 2002-06-15  Lyx Development team  <lyx@electronia>
9356
9357         * intl.h: Renamed getTrans to getTransManager.
9358
9359 2002-06-14  Angus Leeming  <leeming@lyx.org>
9360
9361         * Makefile.am: nuke forgotten stl_string_fwd.h.
9362
9363 2002-06-12  Angus Leeming  <leeming@lyx.org>
9364
9365         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9366
9367 2002-06-13  Angus Leeming  <leeming@lyx.org>
9368
9369         * LaTeX.C:
9370         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9371
9372 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9373
9374         * kbmap.C (getiso): add support for cyrillic and greek
9375
9376 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * BufferView.h:
9379         * BufferView.C:
9380         * BufferView_pimpl.h:
9381         * BufferView_pimpl.C: move bogus scrolling logic
9382           to xforms
9383
9384 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9385
9386         * lyxfunc.C:
9387         * BufferView_pimpl.C: view->resize() change
9388
9389 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9390
9391         * BufferView_pimpl.C: topCursorVisible
9392           prototype change
9393
9394 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * Makefile.am:
9397         * lyx_gui.h:
9398         * lyx_gui.C: move to frontends/
9399
9400         * main.C:
9401         * lyx_main.h:
9402         * lyx_main.C: changes from above
9403
9404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * intl.C:
9407         * intl.h:
9408         * kbmap.C:
9409         * kbsequence.C:
9410         * lyx_cb.C:
9411         * lyx_main.C: minor tidy
9412
9413 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9414
9415         * BufferView_pimpl.h:
9416         * BufferView_pimpl.C:
9417         * BufferView.h:
9418         * BufferView.C: make painter() const,
9419           remove dead code
9420
9421         * BufferView2.C: use screen() accessor
9422
9423         * lyx_main.h:
9424         * lyx_main.C: some minor cleanup
9425
9426 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9427
9428         * BufferView_pimpl.h:
9429         * BufferView_pimpl.C: remove enter/leaveView,
9430           use workHeight()
9431
9432 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * BufferView.h:
9435         * BufferView.C:
9436         * BufferView2.C:
9437         * BufferView_pimpl.h:
9438         * BufferView_pimpl.C: only construct screen once,
9439           rename
9440
9441         * lyxrc.C: remove pointless comment
9442
9443 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9444
9445         * BufferView.h:
9446         * BufferView.C: remove active() and belowMouse()
9447
9448         * BufferView_pimpl.h:
9449         * BufferView_pimpl.C: use workarea() not workarea_,
9450           and make it use a scoped_ptr instead
9451
9452 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9453
9454         * lyx_gui.C: add debug message on BadWindow
9455
9456 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9457
9458         * sp_spell.C: fdopen is not part of the C++ standard.
9459
9460         * paragraph.C (InsetIterator): use >= instead of ==
9461
9462 2002-06-07  Angus Leeming  <leeming@lyx.org>
9463
9464         Fixes needed to compile with Compaq cxx 6.5.
9465         * BufferView_pimpl.C:
9466         * DepTable.C:
9467         * buffer.C:
9468         * converter.C:
9469         * encoding.C:
9470         * lyx_gui.C:
9471         * lyx_main.C:
9472         * lyxtextclasslist.C:
9473         * minibuffer.C:
9474         * sp_spell.C:
9475         * tabular_funcs.C:
9476         * vc-backend.C:
9477         all c-library variables have been moved into namespace std. Wrap
9478         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9479
9480         * lyxlength.C:
9481         * tabular-old.C:
9482         * tabular.C:
9483         Add a using std::abs declaration.
9484
9485         * kbmap.h (modifier_pair):
9486         * paragraph.h (InsetTable, InsetList):
9487         * lyxfont.h (FontBits):
9488         type definition made public.
9489
9490         * bufferlist.C (emergencyWriteAll): the compiler complains that
9491         there is more than one possible lyx::class_fun template to choose from.
9492         I re-named the void specialisation as lyx::void_class_fun.
9493
9494         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9495
9496         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9497         the compiler is is unable to find tostr in write_attribute.
9498
9499 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * buffer.C (sgmlError): hide #warning
9502
9503 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9504
9505         * xtl/*: get rid of xtl, which is not in use anyway
9506
9507         * LyXAction.C (init):
9508         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9509         were unimplemented xtl experimentation
9510
9511 2002-06-04  André Pönitz <poenitz@gmx.net>
9512
9513         * lyxfunc.C: disable array operation on simple formulae
9514
9515 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * converter.C: constify a bit
9518
9519 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * lyx_gui.C: check xforms version correctly
9522
9523 2002-04-30  Herbert Voss  <voss@lyx.org>
9524
9525         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9526         "keep" option
9527
9528 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9531           attempt to register it with a VCS)
9532
9533 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * lyx_main.C (init): honor variables LYX_DIR_13x and
9536         LYX_USERDIR_13x
9537
9538 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * buffer.h:
9541         * buffer.C:
9542         * lyx_main.C: fix a crash on bad command line,
9543           and give a useful exit status on error
9544
9545         * lyxfunc.C (doImport): allow -i lyx to work
9546
9547 2002-03-30  André Pönitz <poenitz@gmx.net>
9548
9549         * lyxfunc.C: mathed font changes
9550
9551 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9552
9553         * LaTeX.C:
9554         * importer.h:
9555         * importer.C:
9556         * lyx_sty.h:
9557         * lyx_sty.C:
9558         * lyxlex.C:
9559         * lyxrow.h:
9560         * lyxtext.h:
9561         * paragraph.h:
9562         * paragraph.C:
9563         * texrow.h:
9564         * texrow.C:
9565         * text.C:
9566         * trans_mgr.h: srcdocs, and some minor cleanups
9567
9568 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9569
9570         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9571         call getFont all the time)
9572
9573 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * switch from SigC signals to boost::signals
9576
9577 2002-05-29  André Pönitz <poenitz@gmx.net>
9578
9579         * paragraph_pimpl.C (getChar): don't call size() too often...
9580
9581 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * paragraph_pimpl.C (insertChar): do not try to update tables when
9584         appending (pos == size())
9585
9586         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9587         in order to reduce drastically the number of comparisons needed to
9588         parse a large document
9589
9590 2002-05-29  André Pönitz <poenitz@gmx.net>
9591
9592         * text.C:
9593         * text2.C:
9594         * lyxtextclass.C:
9595         * sp_pspell.h:
9596         * textclasslist.[Ch]:
9597         * sp_ispell.h: whitespace change
9598
9599 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9602         lyxaction directly now.
9603
9604 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * trans.C:
9607         * lyxfont.C:
9608         * lyxvc.C: remove unused headers
9609
9610 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * Makefile.am:
9613         * buffer.h:
9614         * undostack.h:
9615         * undostack.C:
9616         * undo_funcs.h:
9617         * undo_funcs.C: some cleanups. Use shared_ptr
9618           and a template for the undo stacks.
9619
9620 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * BufferView_pimpl.h:
9623         * BufferView_pimpl.C:
9624         * kbmap.h:
9625         * kbmap.C:
9626         * kbsequence.h:
9627         * kbsequence.C:
9628         * lyxfunc.h:
9629         * lyxfunc.C:
9630         * text2.C: use key_state/mouse_state
9631
9632 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9633
9634         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9635         and LSubstring
9636
9637         * chset.C: change include order
9638         (loadFile): use boost regex and get rid of LRegex and LSubstring
9639
9640         * Makefile.am (BOOST_LIBS): new variable
9641         (lyx_LDADD): use it
9642
9643         * LaTeX.C: change include order.
9644         (scanAuxFile): use boost regex and get rid of LRegex and
9645         LSubstring
9646         (deplog): ditto
9647
9648 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * ColorHandler.h:
9651         * ColorHandler.C:
9652         * FontInfo.h:
9653         * FontInfo.C: moved to frontends/xforms/
9654
9655         * FontLoader.h:
9656         * FontLoader.C: moved into frontends for GUIIzation
9657
9658         * Makefile.am:
9659         * lyx_gui.C:
9660         * lyxfont.C:
9661         * lyxfunc.C: changes from above
9662
9663 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * LColor.C: remove spurious X include
9666
9667         * BufferView_pimpl.C:
9668         * Makefile.am:
9669         * font.h:
9670         * font.C:
9671         * text.C:
9672         * text2.C: move font metrics to frontends/
9673
9674 2002-05-24  Juergen Vigna  <jug@sad.it>
9675
9676         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9677         setting the undo_cursor.
9678
9679         * ParagraphParameters.h: include local includes first.
9680
9681 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * BufferView_pimpl.C:
9684         * BufferView_pimpl.h:
9685         * Makefile.am:
9686         * WorkArea.h:
9687         * WorkArea.C:
9688         * screen.C: move WorkArea into frontends/
9689
9690         * lyxscreen.h:
9691         * screen.C:
9692         * text.C:
9693         * BufferView.C:
9694         * BufferView2.C: move LyXScreen into frontends/
9695
9696         * lyxlookup.h:
9697         * lyxlookup.C:
9698         * lyx_gui.C: move lyxlookup into frontends/xforms/
9699
9700 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * BufferView2.C:
9703         * BufferView_pimpl.C:
9704         * FontLoader.C:
9705         * LyXView.h:
9706         * LyXView.C:
9707         * Makefile.am:
9708         * WorkArea.C:
9709         * XFormsView.h:
9710         * XFormsView.C:
9711         * buffer.C:
9712         * bufferlist.C:
9713         * bufferview_funcs.C:
9714         * converter.C:
9715         * importer.C:
9716         * lyx_cb.C:
9717         * lyx_gui.C:
9718         * lyx_main.C:
9719         * lyx_find.C:
9720         * lyxfunc.C:
9721         * lyxvc.C:
9722         * minibuffer.C:
9723         * text.C:
9724         * text2.C:
9725         * trans.C:
9726         * vc-backend.C: move LyX/XFormsView into frontends/
9727
9728 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9729
9730         * Makefile.am:
9731         * PainterBase.C:
9732         * PainterBase.h:
9733         * Painter.C:
9734         * Painter.h:
9735         * WorkArea.C:
9736         * WorkArea.h:
9737         * screen.C:
9738         * tabular.C:
9739         * text.C:
9740         * text2.C: move Painter to frontends/
9741
9742 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9743
9744         * buffer.C: comment out some some code that depend upon lyx_format
9745         < 220
9746
9747         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9748         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9749
9750         * buffer.h (NO_COMPABILITY): turn off compability
9751
9752         * ColorHandler.C: include scoped_array.hpp
9753
9754         * font.C: Use more specific smart_ptr header.
9755         * Painter.C: ditto
9756         * gettext.C: ditto
9757         * ShareContainer.h: ditto
9758         * lyx_main.h: ditto
9759         * kbmap.h: ditto
9760         * FontInfo.h: ditto
9761         * BufferView_pimpl.h: ditto
9762         * ColorHandler.h: ditto
9763
9764         * kbmap.C (defkey): change call to shared_ptr::reset
9765
9766 2002-05-21  Juergen Vigna  <jug@sad.it>
9767
9768         * buffer.C (insertErtContents): fix to insert ert asis if it is
9769         non empty. Skip it completely if it contains only whitespaces.
9770
9771 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView_pimpl.C:
9774         * BufferView2.C: clear selection on paste (bug 393)
9775
9776 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9777
9778         * DepTable.C: include ctime
9779
9780 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9781
9782         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9783
9784 2002-05-14  Juergen Vigna  <jug@sad.it>
9785
9786         * text.C (breakParagraph): fixed function to honor the keepempty
9787         layout in the right maner and also to permit the right breaking
9788         algorithm on empty or non empyt keepempty paragraphs.
9789
9790         * paragraph.C (breakParagraph): we have to check also if the par
9791         is really empty (!size()) for isempty otherwise we do the wrong
9792         paragraph break.
9793
9794 2002-05-10  Juergen Vigna  <jug@sad.it>
9795
9796         * buffer.[Ch] : The following are only changes to the ert
9797         compatibility read reading old LaTeX layout and font stuff and
9798         convert it to ERTInsets.
9799
9800         * buffer.h: added isErtInset().
9801
9802         * buffer.C (struct ErtComp): add a fromlayout bool to check
9803         if we're inside a LaTeX layout.
9804         (isErtInset): new helper function.
9805         (insertErtContents): look for other ert insets before this one
9806         and insert the contents there, so that we don't have subsequent
9807         ERT insets with nothing between them. This way we create only one
9808         inset with multiple paragraphs. Also check if we don't insert only
9809         spaces ' ' as they are ignored anyway afterwards in the .tex file
9810         so if we have only spaces we will ignore this latex part in the
9811         new file.
9812         (parseSingleLyXformat2Token \\layout): better compatibility when
9813         reading layout-latex stuff.
9814         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9815         language tag.
9816         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9817         stuff after reading the inset only get the information back from
9818         the stack.
9819
9820 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9821
9822         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9823
9824         * LaTeXFeatures.C (getBabelOptions): New method.
9825
9826 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9827
9828         * BufferView_pimpl.C (Dispatch): work around missing argument for
9829         'layout'
9830
9831 2002-05-08  Juergen Vigna  <jug@sad.it>
9832
9833         * text.C (leftMargin): handle paragraph leftindent.
9834
9835         * paragraph.C (writeFile): write the new \\leftindent tag.
9836         (validate): handle leftindent code.
9837         (TeXEnvironment): handle paragraphleftindent code again.
9838
9839         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9840
9841         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9842         for paragrap_extra indent code and new token \\leftindent.
9843         (latexParagraphs): handle the leftindent as environment.
9844
9845         * ParameterStruct.h: added leftindent support.
9846
9847         * ParagraphParameters.C (leftIndent): added support functions for
9848         the paragraph left indent.
9849
9850         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9851         more appropriate.
9852
9853 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9854
9855         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9856         inside insetERT.
9857
9858         * text.C (computeBidiTables): No bidi in insetERT.
9859
9860         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9861         in RTL documents.
9862
9863 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * version.C.in: pre 5
9866
9867 2002-05-02  José Matos  <jamatos@fep.up.pt>
9868         * buffer.C (makeDocBookFile): white space changes, add newline to
9869         command styles.
9870         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9871
9872         * tabular.C (docBook): fix typo.
9873
9874 2002-05-03  Juergen Vigna  <jug@sad.it>
9875
9876         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9877         change in LyXText as we can not be sure it was not freed.
9878         (drawOneRow): remove unused code.
9879
9880         * text.C (drawInset): redo the calculation of the need_break_row as
9881         it could have a row which was already freed.
9882         (draw): look at the return value of drawInset and return false if
9883         it also returned false.
9884         (paintRowText): look at the return value of draw and return false if
9885         it also returned false.
9886
9887         * lyxtext.h: added bool return type to drawInset() and draw() so that
9888         if we have a change in the row so that the rowbreak has to be redone
9889         we abort drawing as it will be called again.
9890
9891 2002-05-02  Juergen Vigna  <jug@sad.it>
9892
9893         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9894         a change in the maintext also if we're inside an inset.
9895         (Dispatch): set the cursor again after a break line and after the
9896         screen has been updated as it could be we're in a different row.
9897
9898         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9899         to set the cursor behind the pargraph with > size().
9900         (setCursor): check also for the same paragraph when checking where
9901         to put the cursor if we have a NFR inset.
9902
9903         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9904         parts of layout read further up as it still was in the wrong
9905         position.
9906
9907 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * screen.C (drawFromTo): change sine fullRebreak always return
9910         true.
9911
9912         * buffer.C (parseSingleLyXformat2Token): reindent some
9913
9914         * BufferView_pimpl.C (update): change since fullRebreak always
9915         return true.
9916         (Dispatch): git rid of the last hardcoded "Standard"s.
9917
9918 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * text2.[Ch] (fullRebreak): make it return void now that we always
9921         returned true.
9922
9923 2002-04-30  Juergen Vigna  <jug@sad.it>
9924
9925         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9926         ert compatibility check for "latex" layout.
9927
9928 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9929
9930         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9931         minipages: use col% instead of p%, and also use the current font.
9932         (makeLaTeXFile): Fix use babel condition.
9933         (parseSingleLyXformat2Token): Correct font when reading old floats.
9934
9935 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9938         inserting list of floats.
9939
9940 2002-04-25  Herbert Voss  <voss@lyx.org>
9941
9942         * MenuBackend.C (expand): don't add the graphics extensions to the
9943         export menu
9944
9945 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9946
9947         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9948         non-existing layout, do not complain if it was the default layout
9949         of the original class (bug #342)
9950
9951 2002-04-24  Juergen Vigna  <jug@sad.it>
9952
9953         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9954         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9955
9956 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9957
9958         * buffer.C (getBibkeyList): If using \bibliography, return the
9959         option field with the reference itself. Enables us to provide natbib
9960         support when using \bibliography.
9961
9962 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9963
9964         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9965
9966         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9967         natbib is provided by the LaTeX class.
9968
9969 2002-04-23  Juergen Vigna  <jug@sad.it>
9970
9971         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9972         Wakeup functions.
9973
9974         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9975
9976 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9979
9980         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9981         ensuremath around textordmasculine, textordfeminine and
9982         textdegree.
9983
9984 2002-04-19  Juergen Vigna  <jug@sad.it>
9985
9986         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9987         reinitializing the buffer otherwise row-dimensions may be wrong.
9988         (update): reset also the selection cursors if they do exits otherwise
9989         their x/y positions may be wrong.
9990
9991         * text2.C (cursorDown): don't enter the inset if we came from a row
9992         above and are one row over the inset.
9993
9994         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9995         really leaving an inset.
9996
9997 2002-04-18  Juergen Vigna  <jug@sad.it>
9998
9999         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10000         of the selected paragraph does not have the selected layout also if
10001         the last one had!
10002
10003         * text2.C (setLayout): fixed bug which did not change last selected
10004         paragraph.
10005
10006         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10007         changed the read and substituted \\end_float with \\end_inset!
10008
10009         * BufferView_pimpl.C (cursorPrevious):
10010         (cursorNext): fixed to make it work with rows heigher than the work
10011         area without moving the cursor only the draw of the row.
10012         (workAreaMotionNotify): fix jumping over high rows.
10013
10014 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10017         Ressler.
10018
10019 2002-04-16  Juergen Vigna  <jug@sad.it>
10020
10021         * text2.C (setCursor): set also the irow().
10022         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10023         (cursorUp):
10024         (cursorDown): support for locking an inset if the x_fix value goes
10025         inside it. That way I can transverse insets too with cursor up/down.
10026
10027         * lyxrow.h: added irow helper function same as other (i) functions.
10028
10029         * BufferView_pimpl.C (cursorPrevious):
10030         (cursorNext): fixed for insets!
10031
10032 2002-04-15  Juergen Vigna  <jug@sad.it>
10033
10034         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10035         position otherwise it is wrong in some cases.
10036
10037         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10038         inside the inset before the call.
10039
10040 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10041
10042         * buffer.[Ch] (getBibkeyList): make it const.
10043
10044 2002-04-12  Juergen Vigna  <jug@sad.it>
10045
10046         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10047
10048         * text2.C (getCursorX): new helper function
10049         (setCursor): compute also ix_
10050         (setCursorFromCoordinates): set also ix.
10051
10052         * lyxcursor.h: added ix_ and helper functions.
10053
10054         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10055
10056         * buffer.C (insertStringAsLines): dont break paragraph if the this
10057         paragraph is inside an inset which does not permit it!
10058
10059         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10060         also with no chars on this paragraph.
10061         (paintRowText): only paint stuff if it's inside the workarea!
10062
10063         * paragraph.C (breakParagraph): honor keepempty flag and break the
10064         paragraph always below not above.
10065
10066         * BufferView2.C (unlockInset): update the paragraph layout on inset
10067         unlock as we changed paragraph in such a case.
10068
10069         * lyxfind.C (LyXFind): clear the former selection if not found!
10070
10071         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10072         again called in insertChar().
10073
10074         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10075         an inset which uses the whole row!
10076         (rightMargin): ditto.
10077         (insertChar): force a rebreak if we inserted an inset!
10078
10079 2002-03-28  Herbert Voss  <voss@lyx.org>
10080
10081         * lyxlength.[Ch]: add inBP() to get the right PS-point
10082         units (BigPoint). With inPixels we have rounding errors
10083
10084 2002-04-11  Juergen Vigna  <jug@sad.it>
10085
10086         * text2.C (setCursorFromCoordinates): set iy to the right value.
10087         (setCursor): add check if row->previous exists!
10088
10089         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10090         an old float_type as this was the case in the old code!
10091
10092         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10093
10094         * BufferView2.C (showLockedInsetCursor): use iy
10095         (fitLockedInsetCursor): ditto
10096
10097         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10098         locked insets as there we have the right value now.
10099
10100         * lyxcursor.C: added iy_ variable and iy functions to set to the
10101         baseline of cursor-y of the locked inset.
10102
10103         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10104         (setCursor): fixed for insets which need a full row.
10105
10106         * text.C (rowLastPrintable): don't ignore the last space when before
10107         an inset which needs a full row.
10108         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10109         as last character of a row when before a inset which needs a full row.
10110
10111 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * version.C.in: update date
10114
10115         * text2.C (fullRebreak): try to always return true and see what
10116         happens...
10117
10118 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * MenuBackend.C (expand): use Floating::listName
10121
10122         * FloatList.C (FloatList): add listName argument to the built-in
10123         floats
10124
10125         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10126         text associated with the float.
10127
10128 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10131
10132 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10133
10134         * ShareContainer.h: add a couple of missing typenames.
10135
10136 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10137
10138         * lyxrc.C (getDescription): use _() correctly rather than N_().
10139
10140 2002-03-28  Herbert Voss  <voss@lyx.org>
10141
10142         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10143         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10144
10145 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10148         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10149
10150 2002-03-29  Juergen Vigna  <jug@sad.it>
10151
10152         * lyxfunc.C (dispatch): add a missing fitCursor call.
10153
10154         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10155         it was scrolled by a cursor move, so return the bool status.
10156
10157         * BufferView.C (fitCursor): return the bool flag also to the outside
10158         world as this is needed.
10159
10160         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10161
10162         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10163         call the edit() as it is not needed (and wrong) IMO.
10164         (workAreaButtonPress): set the screen_first variable before evt.
10165         unlock the inset as this may change screen_first and then we have
10166         a wrong y position for the click!
10167
10168 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * MenuBackend.C (expand): another translation that I missed
10171
10172 2002-03-28  Juergen Vigna  <jug@sad.it>
10173
10174         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10175
10176         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10177
10178 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10181
10182         * MenuBackend.C (expand): fix export/view/update when there is no
10183         document open.
10184
10185 2002-03-27  Herbert Voss  <voss@lyx.org>
10186
10187         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10188         and text%
10189
10190 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * bufferview_funcs.C (currentState): only show paragraph number
10193         for is DEVEL_VERSION is set.
10194
10195         * lyxfunc.C (dispatch): put warning in INFO channel
10196
10197         * MenuBackend.C (expand): translate the name of floats
10198
10199         * FloatList.C (FloatList): mark the float names for translation
10200
10201         * converter.C (convert): use LibScriptSearch
10202
10203 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * MenuBackend.C (defaults): fix default menu (we might as well get
10206         rid of it...)
10207
10208 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10211         directory.
10212
10213 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * lyxvc.C: reorder includes.
10216
10217 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10220           properly
10221
10222 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * CutAndPaste.C: change layouts earlier on paste
10225           to avoid crashing when calling getFont()
10226
10227 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10230         irritating #error.
10231
10232 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * WorkArea.C: remove 'Pending' debug message.
10235
10236         * most files: ws cleanup
10237
10238         * buffer.[Ch]: ws changes
10239
10240         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10241
10242 2002-03-21  Juergen Vigna  <jug@sad.it>
10243
10244         * tabular.C (SetMultiColumn): collapse also the contents of the
10245         cells and set the last border right. Added a Buffer const * param.
10246
10247 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10250         linking or not.
10251
10252 2002-03-19  Juergen Vigna  <jug@sad.it>
10253
10254         * text2.C (clearSelection): reset also xsel_cache.
10255
10256         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10257         where it needs to be called (John tells us to do so too :)
10258         (selectionLost): reset sel_cache.
10259
10260         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10261
10262 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10263
10264         * text2.C (setCursorIntern): put debuging code in INSETS channel
10265
10266 2002-03-19  André Pönitz <poenitz@gmx.net>
10267
10268         * lyxfunc.C: tiny whitespace change
10269
10270 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * ToolbarDefaults.C (init):
10273         * LyXAction.C (init):
10274         * commandtags.h:
10275         * BufferView_pimpl.C (Dispatch):
10276         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10277
10278 2002-03-19  Allan Rae  <rae@lyx.org>
10279
10280         * exporter.C (Export): removeAutoInsets before doing anything else.
10281         While I've just introduced a dependency on BufferView this really is
10282         the best place to clean the buffer otherwise you need to cleanup in
10283         a dozen places before calling export or cleanup in a dozen functions
10284         that export calls.
10285
10286         * converter.C (runLaTeX):
10287         (scanLog): Better handling of removeAutoInsets and screen updates.
10288
10289         * lyxfunc.C (dispatch): small whitespace changes
10290
10291 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10292
10293         * WorkArea.C (C_WorkAreaEvent): return a value.
10294         (event_cb): return 1 if we handled the event, 0 otherwise.
10295
10296         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10297
10298 2002-03-18  Juergen Vigna  <jug@sad.it>
10299
10300         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10301         (GetAdditionalWidth): ditto.
10302         (RightLine): ditto.
10303         (LeftLine): ditto.
10304
10305         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10306         inset if we're there actually (probably not used right now but this
10307         is the direction to go for unifying code).
10308         (paste): disable code to clear the selection.
10309
10310         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10311         inside an InsetText and move the check further up as it is in the
10312         wrong place.
10313
10314         * text2.C (pasteSelection): set a selection over the pasted text.
10315
10316 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10317
10318         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10319         and libgraphics to build on Cygwin.
10320
10321 2002-03-15  Juergen Vigna  <jug@sad.it>
10322
10323         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10324         inserting an Inset into the paragraph. I know this is not the best
10325         fix but we already use current_view in CutAndPaste so we will remove
10326         all of it's using at the same time.
10327
10328         * buffer.C (sgmlError): deactivated function till it is rewritten in
10329         the right mode, now it can create problems.
10330
10331         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10332         before accessing it.
10333
10334 2002-03-14  Juergen Vigna  <jug@sad.it>
10335
10336         * undo_funcs.C (textHandleUndo): do the right thing when updating
10337         the inset after the undo/redo.
10338
10339         * text2.C (setCursor): just some testcode for #44 not ready yet.
10340
10341         * undo_funcs.C (textHandleUndo): set the next() and previous()
10342         pointers of the paragraph to 0 before deleting otherwise we have
10343         problems with the Paragraph::[destructor].
10344
10345         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10346         on a paragraph insertion.
10347
10348 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10349
10350         * buffer.C (asciiParagraph): use += operator for char append to
10351         string.
10352
10353         * paragraph.C (getFontSettings): compare >= not just >
10354         (highestFontInRange): ditto
10355         (setFont): ditto
10356
10357 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10358
10359         * paragraph.C: change several algorithm to be more appripriate for
10360         the problem domain. This is lookip in FontList and in the InsetList.
10361
10362 2002-03-13  André Pönitz <poenitz@gmx.net>
10363
10364         * commandtags.h:
10365         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10366
10367 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * commandtags.h:
10370         * LyXAction.C:
10371         * lyxfunc.C:
10372         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10373
10374 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10375
10376         * Painter.C (display): anon helper function, adjust code for this
10377         change.
10378         (pixmap): remove function.
10379
10380         * Painter.h: remove private display variable.
10381
10382         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10383
10384 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10385
10386         * WorkArea.[Ch]: remove figinset_canvas cruft.
10387
10388 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10389
10390         * lyxtextclass.C (operator): add one item cache optimization.
10391
10392         * bufferlist.h: doxy changes
10393
10394         * bufferlist.C: ws changes
10395
10396         * DepTable.[Ch] (ext_exist): place const in the right spot.
10397
10398         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10399         call resizeInsets.
10400         (workAreaExpose): call resizeInsets when the with BufferView changes.
10401         (Dispatch): adjust for protectedBlank removal
10402         (specialChar): call updateInset if the insert went ok.
10403
10404         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10405         specialChar instead.
10406
10407         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10408
10409         * BufferView.h: doxy change
10410
10411         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10412
10413         * lyxtextclass.C (operator[]): remove non-const version
10414         (defaultLayout): remove non-const version
10415
10416 2002-03-12  Juergen Vigna  <jug@sad.it>
10417
10418         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10419         did resize the LyXText too.
10420
10421         * buffer.C (readLyXformat2): set layout information on newly allocated
10422         paragraphs.
10423
10424         * tabular.C (OldFormatRead): set layout information on the paragraph.
10425
10426 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10427
10428         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10429
10430 2002-03-11  Juergen Vigna  <jug@sad.it>
10431
10432         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10433         plainly wrong.
10434         (resizeCurrentBuffer): force also the insets to resize themselfes.
10435         (moveCursorUpdate): fixed up for InsetText.
10436
10437 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10438
10439         * commandtags.h:
10440         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10441         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10442         value of Dialogs::tooltipsEnabled().
10443         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10444
10445 2002-03-08  Juergen Vigna  <jug@sad.it>
10446
10447         * BufferView_pimpl.C (updateInset): update inset inside inset also
10448         if it isn't inside theLockingInset().
10449
10450 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * buffer.C (asciiParagraph): redo some of the word and line length
10453         handling.
10454         (getLists): look for Caption instead of caption.
10455
10456 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * buffer.C (Buffer): initialize niceFile to true
10459         (makeLaTeXFile):
10460         (makeLinuxDocFile):
10461         (makeDocBookFile): make sure niceFile is true on exit
10462
10463 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10466
10467 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10468
10469         * LyXSendto.C: remove.
10470         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10471         * lyx_gui.C: remove now-redundant comment.
10472         * ColorHandler.h: remove forward declaration of class WorkArea.
10473         * lyxfunc.C: remove #include "WorkArea.h".
10474
10475 2002-03-07  Juergen Vigna  <jug@sad.it>
10476
10477         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10478         got moved away with the DEPM and also set the inset_owner always
10479         right which before could have been omitted.
10480
10481 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10484         wanted layout is not found.
10485
10486 2002-03-07  Juergen Vigna  <jug@sad.it>
10487
10488         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10489
10490 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10491
10492         * paragraph.C (breakParagraph): use default layout not layout of
10493         prev paragraph.
10494         (Paragraph): clear ParagraphParameters.
10495
10496 2002-03-06  Juergen Vigna  <jug@sad.it>
10497
10498         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10499         otherwise it would not be a valid lenght. Fixed a special case in
10500         the minipage compatibility read where we end the document with a
10501         minipage.
10502
10503         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10504         was set as it could be 0 for InsetTexts first entry.
10505
10506 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10507
10508         * paragraph.C (writeFile): if layout is empty write out
10509         defaultLayoutName().
10510
10511         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10512         file without named layout we set layout to defaultLayoutName().
10513
10514 2002-03-06  Juergen Vigna  <jug@sad.it>
10515
10516         * CutAndPaste.C (copySelection): set layout for new paragraph.
10517
10518         * text.C (prepareToPrint): leave ERT inset left aligned
10519         (leftMargin): don't indent paragraphs inside ERT insets
10520
10521 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * paragraph.C (breakParagraph): dont call clear do the work manually
10524
10525         * paragraph.[Ch] (clear): remove function
10526
10527 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * paragraph.C (Paragraph): dont call clear, the work has already
10530         been done.
10531
10532         * lyxtextclass.C (operator): assert if n is empty
10533
10534         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10535         work manually instead.
10536
10537 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10538
10539         * BufferView_pimpl.C: protect selectionLost against text == 0
10540
10541 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * text.C (breakParagraph): fix a setting layout to '0' problem.
10544
10545 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10546
10547         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10548         final location of file, for the included files, and graphics.
10549
10550 2002-03-05  Juergen Vigna  <jug@sad.it>
10551
10552         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10553
10554 2002-03-04  Juergen Vigna  <jug@sad.it>
10555
10556         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10557
10558         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10559         last column of multicolumn cells.
10560         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10561
10562 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10563
10564         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10565         file if it doesn't go to a temporary file.
10566
10567         * buffer.C (sgmlOpenTag):
10568         (sgmlCloseTag):  remove extra newline insertion.
10569
10570 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10571
10572         * text.C (getRowNearY): comment out debug msg
10573
10574 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * text2.C: first -> first_y
10577
10578         * text.C (getRowNearY): add some attemts at a possible
10579         optimization, not working.
10580
10581         * tabular.[Ch]: add BufferParams to several function so that newly
10582         created paragraph can be initialized to he default layotu for the
10583         buffers textclass.
10584
10585         * tabular-old.C (ReadOld): add buf->params to call of Init
10586
10587         * screen.C: rename text->first to text->first_y
10588
10589         * paragraph.C (breakParagraph): always set layout in the broken
10590         paragraph
10591
10592         * lyxtextclass.C (Read): remove lowercase
10593         (hasLayout): ditto
10594         (operator): ditto
10595         (delete_layout): ditto
10596
10597         * lyxtext.h: rename first -> first_y
10598
10599         * lyxlayout.C (Read): remove lowercase
10600         (name): ditto
10601         (setName): ditto
10602         (obsoleted_by): ditto
10603
10604         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10605
10606         * buffer.C (insertErtContents): add params are to InsetERT
10607         (parseSingleLyXformat2Token): add code to check if a paragraphs
10608         layout really exist.
10609         (parseSingleLyXformat2Token): add params to several inset
10610         constructors
10611         (asciiParagraph): remove lowercase, do the layout comparisons with
10612         no_case
10613
10614         * BufferView_pimpl.C (cursorNext): first -> first_y
10615         (resizeCurrentBuffer): first -> first_y
10616         (updateScrollbar): first -> first_y
10617         (scrollCB): first -> first_y
10618         (workAreaMotionNotify): first -> first_y
10619         (workAreaButtonPress): first -> first_y
10620         (checkInsetHit): first -> first_y
10621         (cursorPrevious): first -> first_y
10622         (cursorNext): first -> first_y
10623         (Dispatch): add buffer_->params to severl inset contructors
10624
10625 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * lyxlayout.C (Read): remove some debug info that I forgot.
10628
10629         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10630         clean up the code slightly.
10631         (makeLinuxDocFile): ditto
10632         (makeDocBookFile): ditto
10633
10634         * text2.C: layout as string
10635
10636         * text.C: layout as string
10637
10638         * paragraph_pimpl.C: layout as string
10639
10640         * paragraph.[Ch]: layout as string
10641
10642         * lyxtextclasslist.[Ch]: layout as string
10643
10644         * lyxtextclass.[Ch]: layout as string
10645
10646         * lyxtext.h: layout as string
10647
10648         * lyxlayout.[Ch]: layout as string
10649
10650         * lyx_cb.C: layout as string
10651
10652         * bufferview_funcs.C: layout as string
10653
10654         * bufferparams.C: layout as string
10655
10656         * buffer.C: layout as string
10657
10658         * LyXView.[Ch]: layout as string
10659
10660         * LaTeXFeatures.[Ch]: layout as string
10661
10662         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10663
10664         * BufferView_pimpl.C: change current_layout to string, remove
10665         lyx::layout_type.
10666         (Dispatch):
10667         (smartQuote):
10668         (insertInset):
10669         (workAreaButtonRelease): layout as string
10670
10671         * BufferView2.C (unlockInset): adjust
10672
10673         * vspace.C (asLatexCommand): use an explict temp variable.
10674
10675 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * Makefile.am: use FRONTEND_*
10678
10679 2002-03-01  Juergen Vigna  <jug@sad.it>
10680
10681         * tabular.C (SetWidthOfMulticolCell): changed to something better
10682         I hope but still work in progress.
10683         (recalculateMulticolumnsOfColumn): renamed function from
10684         recalculateMulticolCells as it is more appropriate now.
10685         (SetWidthOfCell): calculate multicols better.
10686
10687 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10688
10689         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10690
10691         * lyxfunc.C (processKeySym): print sequence also if it is
10692         `deleted' (complete)
10693
10694         * kbsequence.C (print): print sequence even if it is deleted
10695         (complete would be a better word, actually).
10696
10697         * lyxfunc.C (dispatch): print complete options after a prefix key
10698
10699         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10700
10701 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10702
10703         * text2.C (setCharFont): eliminate setCharFont code duplication.
10704
10705 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10706
10707         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10708         LFUN_TABULAR_FEATURE (bug #177)
10709
10710 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10711
10712         * Makefile.am: remove figure.h
10713
10714 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10715
10716         * Bufferview_pimpl.C:
10717         * CutAndPasteC:
10718         * LaTeX.C:
10719         * LyXSendto.C:
10720         * buffer.C:
10721         * bufferlist.C:
10722         * converter.C:
10723         * language.C:
10724         * lyxfunc.C:
10725         * lyxvc.C:
10726         * paragraph.C:
10727         * text.C:
10728         * text2.C: remove #include "lyx_gui_misc.h".
10729
10730         * LaTeX.C: added #include <cstdio>
10731
10732 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10733
10734         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10735         that the paragraph following this one can have.
10736
10737         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10738
10739         * vspace.C (asLatexCommand): fix bogus gcc warning
10740
10741         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10742
10743 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10744
10745         * text2.C (setLayout): get rid of redundant code
10746
10747 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10748
10749         * text2.C (incDepth): make sure depth cannot be increased beyond
10750         reasonable values.
10751
10752 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10753
10754         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10755         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10756
10757         * PainterBase.h (image):
10758         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10759         a LyXImage const *.
10760
10761 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView.C:
10764         * BufferView.h:
10765         * BufferView_pimpl.C:
10766         * BufferView_pimpl.h:
10767         * LaTeXFeatures.C:
10768         * LyXAction.C:
10769         * LyXView.C:
10770         * Makefile.am:
10771         * UpdateList.h:
10772         * UpdateList.C:
10773         * buffer.C:
10774         * figure.h:
10775         * figureForm.C:
10776         * figureForm.h:
10777         * figure_form.C:
10778         * figure_form.h:
10779         * lyx_cb.C:
10780         * lyx_gui.C:
10781         * lyx_gui_misc.C:
10782         * lyxfunc.C:
10783         * sp_base.h:
10784         * sp_ispell.h:
10785         * sp_pspell.h:
10786         * sp_spell.C: remove fig inset, and the crap house of
10787           cards that follows it
10788
10789 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * Makefile.am:
10792         * lyxserver.C:
10793         * os2_defines.h:
10794         * os2_errortable.h:
10795         * nt_defines.h: move .h into support/
10796
10797         * vms_defines.h: remove
10798
10799         * WorkArea.C: add space in debug output
10800
10801         * text2.C:
10802         * paragraph.C:
10803         * buffer.C: add WITH_WARNINGS
10804
10805         * vc-backend.h:
10806         * vc-backend.C:
10807         * bufferlist.C: s/retrive/retrieve/, add docs
10808
10809         * vspace.h:
10810         * vspace.C:
10811         * kbmap.h:
10812         * lyxlength.h:
10813         * lyxgluelength.h:
10814         * length_common.h:
10815         * chset.h:
10816         * chset.C: add docs
10817
10818         * lyxgui.C: add ID to X error handler
10819
10820         * lyxtestclass.c: fix typo
10821
10822 2002-02-26  Juergen Vigna  <jug@sad.it>
10823
10824         * tabular_funcs.C (write_attribute): changed so that some default
10825         attributes are not written at all.
10826         (getTokenValue): set default values before trying to read the
10827         value so we have the return value always set as default if we don't
10828         find the token we search for.
10829
10830         * tabular.C (Write): write bools as bools not as strings!
10831
10832 2002-02-22  Juergen Vigna  <jug@sad.it>
10833
10834         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10835         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10836
10837         * text.C (leftMargin): don't add an indent for paragraphs inside
10838         tabular cells (fix #208).
10839
10840 2002-02-21  José Matos  <jamatos@fep.up.pt>
10841
10842         * tabular.C (docBook): fixed support for long tables.
10843
10844 2002-02-20  Juergen Vigna  <jug@sad.it>
10845
10846         * text2.C (getFont): get the drawing font of the Inset if this
10847         paragraph is inside an inset (only important for InsetERT for now).
10848
10849         * buffer.C (insertErtContents): use new lanugage params in ERT
10850         constructor.
10851
10852         * CutAndPaste.C: commenting out seemingly uneeded code.
10853
10854 2002-02-19  Allan Rae  <rae@lyx.org>
10855
10856         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10857         Iterators might be simple to use but they also get invalidated.
10858         (removeAutoInsets): renamed saved cursor tracking variables and added
10859         some comments to clarify what everything does.
10860
10861 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * Chktex.C:
10864         * LaTeX.C:
10865         * LyXSendto.C:
10866         * converter.C:
10867         * lyx_cb.C:
10868         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10869         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10870
10871         * lyxfunc.C:
10872         * vc-backend.h: remove #include "support/syscall.h"
10873
10874         * LaTeX.C:
10875         * LyXSendto.C:
10876         * converter.C: rearrange #includes in Lars' approved fashion.
10877
10878         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10879         forward declare class Timeout in the header file.
10880
10881         * XFormsView.C: changes due to the above.
10882
10883         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10884         similar to LyXView.
10885
10886         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10887         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10888
10889 2002-02-18  José Matos  <jamatos@fep.up.pt>
10890
10891         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10892         insets contents.
10893
10894 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10895
10896         * a lot of small ws changes
10897         * add a lot of using std::XXX
10898         * use std construcs some places where approp.
10899         * use some exisint stuff from lyxfunctional where approp.
10900         * Make file changes to use partial linking (lets test this now...)
10901
10902 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10903
10904         * Chktex.C:
10905         * buffer.C:
10906         remove #include "support/syscontr.h" as it's redundant. Always has been.
10907
10908         * Chktex.C:
10909         * LaTeX.C:
10910         * LyXSendto.C:
10911         * converter.C:
10912         * lyx_cb.C:
10913         * vc-backend.C:
10914         change Systemcalls::System to Systemcalls::Wait and
10915         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10916         No change of functionality, just reflects the stripped down Systemcalls
10917         class.
10918
10919 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10920
10921         * debug.[Ch]: add a GRAPHICS type to the enum.
10922
10923 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10926
10927         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10928         there is an inset.
10929
10930 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10933         match the changes below.
10934
10935         * text2.C (toggleInset): if there is not editable inset at cursor
10936         position, try to see if cursor is _inside_ a collapsable inset
10937         and close it.
10938
10939 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10942         document menu has a nice checkbox
10943
10944 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10945
10946         * lyxlength.C (asLatexString): change PW to output as percent of
10947         \textwidth.
10948
10949         * lengthcommon.C: change '%' to 't%'
10950
10951         * lyxfunc.C (dispatch): a few comments from Martin
10952
10953 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * WorkArea.h:
10956         * WorkArea.C:
10957         * BufferView_pimpl.h:
10958         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10959           the X selection.
10960
10961 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * vspace.C (inPixels): fix compiler warning
10964
10965 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * lyxfunc.C (getStatus): fix status message for disabled commands.
10968
10969 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView_pimpl.C: fix crash on close buffer
10972         during selection (#227)
10973
10974 2002-01-27  Herbert Voss  <voss@lyx.org>
10975
10976         * buffer.C: link old Figure to new graphic inset
10977
10978 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10979
10980         * FontLoader.C (getFontinfo): Change the latex font names in order
10981         to match the names of type1inst.
10982
10983 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10986
10987         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10988         (extchanged): ditto
10989         (ext_exist): ditto
10990         (remove_files_with_extension): ditto
10991         (remove_file): ditto
10992         (write): ditto
10993
10994         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10995         document is smaller than the work area height. Do not initialize
10996         static variables to 0.
10997
10998 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10999
11000         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11001
11002         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11003         LFUN_LAYOUT_PARAGRAPHS.
11004
11005         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11006         tabular. It is possible to provide a possible cell, which will
11007         typically be the actcell from the corresponding insettabular
11008
11009         * lyxfunc.C (getStatus): small cleanup; disable
11010         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11011         true
11012
11013 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11016
11017         * paragraph.C (startTeXParParams):
11018         (endTeXParParams): new methods. The LaTeX code to
11019         start/end paragraph formatting
11020         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11021         empty (fixes bug #200)
11022
11023         * vspace.C (inPixels): adapt to the change below
11024         (inPixels): [later] more cleanups (remove unused variables)
11025
11026         * lyxlength.C (inPixels): change to use a width and a height as
11027         parameter.
11028
11029 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11030
11031         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11032         Replaced with \paperwidth
11033
11034         * DepTable.C (insert): add std:: qualifier
11035
11036 2002-01-18  Allan Rae  <rae@lyx.org>
11037
11038         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11039         updated also?
11040
11041         * text.C (drawInset): Turned out I didn't know enough about how
11042         rebreaking worked.  This fixes most of the redraw problems.  I see
11043         an occasional cursor trail when a line is broken now and the cursor
11044         placement can seem out by a few pixels also after a rebreak.
11045
11046 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * buffer.C (parseSingleLyXformat2Token): update because minipage
11049         width is now a LyXLength
11050
11051         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11052
11053         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11054         math insets
11055
11056 2002-01-17  Juergen Vigna  <jug@sad.it>
11057
11058         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11059
11060         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11061         is set correctly and the inset is updated correctly.
11062
11063 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11064
11065         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11066         the beginning of the loop.
11067
11068 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * lyxrc.C: improve help for use_scalable_fonts
11071
11072 2002-01-17  Allan Rae  <rae@lyx.org>
11073
11074         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11075
11076 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11079         make sure to set their inset_owner to the right value (bug #171)
11080
11081 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11082
11083         * DepTable.h
11084         * DepTable.C: Implement mtime checking to reduce time spent doing
11085         CRCs.
11086
11087 2002-01-16  Juergen Vigna  <jug@sad.it>
11088
11089         * tabular.C (GetAdditionalHeight): one of error fixed.
11090
11091         * lyxrc.C (output): small fix in writing use_pspell.
11092
11093 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * sp_base.h: #include LString.h
11096
11097 2002-01-16  Allan Rae  <rae@lyx.org>
11098
11099         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11100         Can someone check this please?
11101
11102         * text.C (drawInset): It was possible that p.row would be removed by
11103         breakAgainOneRow upsetting a few other settings.  There may be another
11104         small tweak possible by setting need_break_row = 0 when p.row has been
11105         removed but I don't know enough about the logic here.
11106
11107 2002-01-15  Allan Rae  <rae@lyx.org>
11108
11109         * text.C (insertChar): removed conditional truism.
11110
11111         * BufferView2.C (removeAutoInsets): More tweaks.
11112         cur_par_prev could be a stray pointer.  Check for trailing empty line
11113         in case last line was cur_par and only had an error inset on it.
11114
11115 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11118         absolute
11119
11120         * vc-backend.C (most methods):
11121         * exporter.C (Export):
11122         * converter.C (convert):
11123         (runLaTeX):
11124         * LyXSendto.C (SendtoApplyCB):
11125         * lyxfunc.C (dispatch):
11126         (menuNew):
11127         (open):
11128         (doImport):
11129         * lyx_cb.C (AutoSave):
11130         (InsertAsciiFile):
11131         * BufferView_pimpl.C (MenuInsertLyXFile):
11132         * buffer.C (runChktex): use Buffer::filePath().
11133
11134         * buffer.h: rename filename to filename_; rename filepath to
11135         filepath_ and make it private
11136         (filePath): new method
11137
11138         * buffer.C (writeFile): use fileName()
11139         (getLatexName):
11140
11141         * lyx_main.C (init): fix starting  of LyX when the binary is a
11142         link from so,ewhere else.
11143
11144         * minibuffer.C: include <cctype> for isprint
11145
11146 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11149         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11150         name clash with InsetCollapsable's width function.
11151
11152 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * lastfiles.C: include <iterator>
11155
11156 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11157
11158         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11159         std::count.
11160
11161         * buffer.C (makeLaTeXFile): ditto.
11162         Also make loop operation more transparent.
11163
11164 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * ToolbarDefaults.C: remove trailing comma closing namespace.
11167
11168         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11169
11170         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11171         as in WorkArea.
11172
11173         * trans.C (Load): comment out unused variable, allowed.
11174
11175 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11176
11177         * minibuffer.[Ch] (append_char): new method to recieve input from the
11178         drop-down completion browser. If a key was pressed, then recieve this
11179         char and append it to the existing string.
11180         (peek_event): modify the positioning data passed to the completion
11181         browser so that it can be placed above the minibuffer rather than below.
11182 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * LyXAction.C (init): alloe error-next for readonly documents.
11185
11186         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11187         count.
11188
11189 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * bufferlist.C (readFile): create the buffer _after_ checking that
11192         the file exists.
11193
11194         * lyxfunc.C (verboseDispatch): fix handling of arguments
11195
11196         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11197
11198         * lyxrc.C: use string::erase() instead of initializing to "".
11199
11200
11201 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * BufferView_pimpl.h:
11204         * BufferView_pimpl.C:
11205         * WorkArea.h:
11206         * WorkArea.C:
11207         * text2.C: tell X when we have made a selection for copying
11208
11209 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * BufferView_pimpl.C (MenuInsertLyXFile):
11212         * lyxfunc.C (menuNew):
11213         (open):
11214         (doImport): add shortcuts to directory buttons
11215
11216         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11217         open a float)
11218
11219         * lyxfunc.C (setStatusMessage):
11220         (getStatusMessage): new methods
11221         (getStatus):use setStatusMessage instead of setErrorMessage
11222         (dispatch): when function is disabled, set error message here
11223         [instead of in getStatus previously]
11224
11225         * BufferView_pimpl.C (workAreaButtonRelease): update
11226         toolbar/menubar here too.
11227
11228 2002-01-13  Allan Rae  <rae@lyx.org>
11229
11230         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11231         Now seems indestructible.  Remaining task is to audit all other
11232         code affected by deleteEmptyParagraphMechanism.  One small quirk
11233         left is that an empty document with an error in the preamble can
11234         be made to report an error but no error box appears.  I don't know
11235         where it goes.
11236         (removeAutoInsets): Improved comments.
11237
11238 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * Thesaurus.h:
11241         * Thesaurus.C: update for Aiksaurus 0.14
11242
11243 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * text2.C (firstParagraph): removed member function, all uses
11246         replaces with ownerParagraph
11247         (redoParagraphs): here
11248         (updateInset): here
11249         (toggleAppendix): here
11250         * BufferView2.C (insertErrors): here
11251         (setCursorFromRow): here
11252
11253 2002-01-13  Allan Rae  <rae@lyx.org>
11254
11255         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11256         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11257         There is still a way to segfault this although you may have to do this
11258         multiple times: Have an InsetERT with an unknown command in it.
11259         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11260         <down-arrow>, <Enter> again, View->DVI, BANG!
11261
11262         * text2.C (setCursor):
11263         (deleteEmptyParagraphMechanism):
11264         * lyxtext.h (setCursor):
11265         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11266         Making use of the return value may help fix other bugs.
11267
11268 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11269
11270         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11271
11272         * LyXView.C (updateMenubar): call MenuBar::update here
11273         (updateToolbar): but not here
11274         (showState): do not update toolbar/menubar
11275
11276         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11277         should need to care about that.
11278
11279         * lyxfunc.C (verboseDispatch): simplify a bit
11280         (getStatus): have a version which takes a pseudoaction, and
11281         another which requires a (kb_action,string).
11282
11283         * LyXAction.C (retrieveActionArg): make it work also when action
11284         is not a pseudo-action.
11285         (getActionName): simplify a bit
11286         (helpText):
11287
11288 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * lyxfunc.C (verboseDispatch): new families of methods with
11291         several ways to specify a command and a bool to indicate whether
11292         the command name and shortcut should be displayed in minibuffer
11293         (eventually, we could extend that to a finer bitmask like
11294         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11295         (dispatch): the pristine dispatch command which just, well,
11296         dispatchs! Note it still sets its result to minibuffer; I'm not
11297         sure we want that.
11298
11299         * lyxfunc.h: remove setHintMessage
11300
11301         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11302
11303 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * BufferView_pimpl.C (specialChar): delete new inset if we have
11306         not been able to insert it.
11307
11308         * kbmap.C: revert to using int instead of kb_action, since all we
11309         are dealing with is pseudo-actions.
11310
11311         * LyXAction.C (searchActionArg): change to return int instead of
11312         kb_action, since the result is a pseudoaction.
11313
11314 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11315
11316         * buffer.C (insertErtContents): Fix (partially) the font bug.
11317
11318 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11319
11320         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11321         as the other one is broken on my machine!
11322
11323 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11324
11325         * commandtags.h:
11326         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11327
11328 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11329
11330         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11331         reflect their actual use. Provide compatibility code for older lyxrc
11332         files.
11333
11334         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11335         FL_NORMAL_STYLE.
11336         change names of popup font variables in line with the changes to lyxrc.C
11337
11338 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * buffer.C (asciiParagraph): avoid outputing a word twice after
11341         an inset.
11342
11343         * lyxrc.C (getDescription): document that document_path and
11344         template_path can be empty.
11345
11346 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11347
11348         * LaTeXFeatures.C (getMacros):
11349         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11350
11351         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11352
11353         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11354         getPackages.
11355         (getPackages): rename feature "floats" to "float". Use an array to
11356         iterate over 'simple' features (i.e. just a \usepackage). Add
11357         handling of "amsmath" (renamed from "amsstyle").
11358
11359 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11360
11361         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11362         features list.
11363
11364 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11367         FuncStaus::FuncStatus & FuncStaus::some_method().
11368
11369 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11370
11371         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11372         of the func_satus stuff. Edited and massaged in various ways by
11373         JMarc.
11374
11375         * lyxfunc.C (getStatus): use FuncStatus
11376
11377 2002-01-08  Juergen Vigna  <jug@sad.it>
11378
11379         * text.C (nextBreakPoint): use function Inset::isChar().
11380
11381         * paragraph.C (TeXOnePar): use function
11382         Inset::forceDefaultParagraphs.
11383
11384         * buffer.C (latexParagraphs): use function
11385         Inset::forceDefaultParagraphs.
11386
11387 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11388
11389         * lyx_gui.C (init): set the style of the menu popups to
11390         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11391
11392 2002-01-07  Juergen Vigna  <jug@sad.it>
11393
11394         * text.C (setHeightOfRow): small fix
11395         (prepareToPrint): don't look at alignment if we don't have the place
11396         for doing it.
11397
11398 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11399
11400         * box.C: New file. Move the Box methods and functions out of box.h,
11401         following Lars' suggestion.
11402
11403 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11404
11405         * box.h: #include "support/LOstream.h", needed for inlined function.
11406
11407         * lyxtextclass.C:
11408         * lyxtextclasslist.C: added some using std declarations.
11409
11410 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * box.h: make signed dimensions to allow insets wider than
11413           the screen (bug #162)
11414
11415         * BufferView_pimpl.C: add some insetHit debug
11416
11417 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * vc-backend.C: add FIXME
11420
11421 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * lyxfunc.C (getStatus): enable code for showing math font status
11424         in toolbar/menu.
11425
11426 2002-01-07  Juergen Vigna  <jug@sad.it>
11427
11428         * text.C (nextBreakPoint): removed debug output not needed anymore.
11429
11430 2002-01-06  Juergen Vigna  <jug@sad.it>
11431
11432         * text.C (nextBreakPoint): fixed up this function we had this bug
11433         since ever but now hopefully we break row better.
11434         (insertChar): we have to check if an inset is the next char as it
11435         could now happen that a large inset is causing a break.
11436
11437 2002-01-05  Juergen Vigna  <jug@sad.it>
11438
11439         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11440         if it doesn't like to be drawed.
11441
11442 2002-01-04  Juergen Vigna  <jug@sad.it>
11443
11444         * BufferView2.C (lockInset): forgot to set a cursor.
11445
11446         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11447
11448 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11449
11450         * FormMathsPanel.C:
11451         * FormMathsPanel.h
11452         * MathsSymbols.C:
11453         * form_maths_panel.C:
11454         * form_maths_panel.h:
11455         * form_maths_panel.fd: implemented sub- and super- buttons in math
11456         panel.
11457
11458         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11459         (or ^ space) to be used as in TeX (req'd by André).
11460
11461         * lyxfunc.C: Allow ^ and _ again to be used both as
11462         super/subscript (mathed) and as themselves (in text).
11463
11464 2002-01-03  Allan Rae  <rae@lyx.org>
11465
11466         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11467         "LyX" or the filename of the current buffer if it has one.  This is a
11468         modified form of John Levon's patch.
11469
11470         * XFormsView.C (setWindowTitle): also set icon title.
11471
11472         * LyXView.h (setWindowTitle): signature changed.
11473         * XFormsView.h (setWindowTitle): ditto.
11474
11475 2002-01-02  Juergen Vigna  <jug@sad.it>
11476
11477         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11478
11479 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * screen.C (topCursorVisible): introduce a temp var for
11482         text->cursor.row(), handle the case where this row is null. (kindo
11483         hachish)
11484
11485         * text2.C (setCursor): add a couple of asserts.
11486
11487         * paragraph.h (inset_iterator): add -> operator
11488
11489         * paragraph.[Ch] (autoDeleteInsets): remove member function
11490
11491         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11492         cursor pos correctly and handle inset deletion by itself.
11493         (insertErrors): move iterator declaration out of for expression
11494
11495         * lyxtextclass.C: add <algorithm>
11496
11497         * Makefile.am: added the new files to sources, removed layout.C
11498
11499         * layout.C: removed file
11500
11501         * layout.h: remove LYX_DUMMY_LAYOUT
11502
11503         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11504         layout.
11505
11506         * lyxlayout.[Ch]:
11507         * lyxtextclass.[Ch]:
11508         * lyxtextclasslist.[Ch]: new files
11509
11510         * include order changes to a lot of files, also changes because of
11511         the six new files.
11512
11513 2001-12-27  Juergen Vigna  <jug@sad.it>
11514
11515         * buffer.C (asciiParagraph): more fixes.
11516
11517         * tabular.C (ascii): make ascii export support export of only the
11518         data separated by a column-delimiter.
11519         (ascii): better support for ascii export.
11520
11521         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11522
11523 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11524
11525         * tabular_funcs.C: use a "using std::getline" instead of the
11526         previous fix from Angus (necessary for cxx + lyxstring)
11527
11528 2001-12-24  Juergen Vigna  <jug@sad.it>
11529
11530         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11531
11532         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11533         problems. First check a minipage also if we have some ert-contents
11534         (not only on par->size(), second set the right depth of the paragraph
11535         on the relink to the root-paragraph-list!
11536
11537         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11538         which then did not anymore update the main paragraphs on undo/redo!
11539
11540 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11541
11542         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11543         code. Support all font-changing funcs (even those which are not in
11544         menu currently). Support for reporting font settings in
11545         mathed (disabled until Andre provides a function on mathed's side).
11546
11547         * func_status.h (toggle): small helper function to set toggle
11548         state on a flag.
11549
11550 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11551
11552         * tabular_funcs.C: getline -> std::getline
11553
11554 2001-12-21  Juergen Vigna  <jug@sad.it>
11555
11556         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11557         accessed and could be 0 (I couldn't generate this but it seems
11558         Michael could!).
11559
11560 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11563         * tabular_funcs.h: here and include iosfwd
11564
11565 2001-12-20  Juergen Vigna  <jug@sad.it>
11566
11567         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11568         inside inset but undo_par was.
11569
11570 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * Thesaurus.C: always include <config.h> in sources.
11573
11574         * Painter.h:
11575         * lyxlookup.h:
11576         * box.h: do not include <config.h> in header files
11577
11578         * text.C (paintLastRow): remove unused variable
11579
11580         * text.C (transformChar):
11581         (insertChar):
11582         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11583
11584         * Painter.C (text):
11585         * font.C (width): rewrite to use uppercase() instead of
11586         islower/toupper.
11587
11588         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11589
11590 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * lyxfind.C: clean up of find failure position change
11593
11594 2001-12-20  Juergen Vigna  <jug@sad.it>
11595
11596         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11597
11598         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11599         (TeXRow): added to LaTeX a single tabular row.
11600         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11601         (Latex): simplified and finally good LT-h/f support.
11602         (various_functions): just small adaptions for LT-h/f support.
11603
11604         * tabular_funcs.[hC]: added and moved here all not classfunctions
11605         of LyXTabular.
11606
11607 2001-12-19  Juergen Vigna  <jug@sad.it>
11608
11609         * tabular.[Ch]: better support for longtabular options (not finished
11610         yet!)
11611
11612 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * text.C (paintLastRow): use the label font instead of the font of
11615         the last character to compute the size of *_BOX. This makes more
11616         sense and avoids a crash with empty paragraphs.
11617         Use Painter::rectangle to draw EMPTY_BOX.
11618
11619 2001-12-19  Juergen Vigna  <jug@sad.it>
11620
11621         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11622         the paragraphs if the replaced paragraph is not the first one!
11623         Tried to delete not used paragraphs but does not work yet so for
11624         now it's inside #ifdef's and by default off!
11625
11626 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * MenuBackend.C: include "lyx_main.h" instead of declaring
11629         lastfiles (actually was declared as LastFiles* instead of a
11630         scoped_ptr).
11631
11632 2001-12-17  Juergen Vigna  <jug@sad.it>
11633
11634         * tabular.C (AppendColumn): applied John's fix
11635
11636 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView.h:
11639         * BufferView.C:
11640         * BufferView_pimpl.h:
11641         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11642
11643         * Makefile.am:
11644         * box.h: new start of class for above
11645
11646         * lyxfunc.C: ignore space-only minibuffer dispatches.
11647           Show the command name when it doesn't exist
11648
11649         * minibuffer.C: don't add empty lines to the history
11650
11651         * minibuffer.C: add a space on dropdown completion
11652
11653 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * text.C: fix line above/below drawing in insets
11656
11657 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * lyxlength.C (LyXLength): Initialize private variables.
11660
11661 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11664         when inserting error insets.
11665
11666 2001-12-13  Juergen Vigna  <jug@sad.it>
11667
11668         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11669         actually sometimes the before-paragraph.
11670         (setUndo): don't clear the redostack if we're not actually undoing!
11671
11672 2001-12-06  Juergen Vigna  <jug@sad.it>
11673
11674         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11675         and fixed redoing of main paragraph, so we can use it now ;)
11676
11677         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11678
11679 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11682         Juergen's request
11683
11684 2001-12-13  André Pönitz <poenitz@gmx.net>
11685
11686         * undostack.[Ch]:
11687         * undo_func.C: minor cleanup
11688
11689 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11690
11691         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11692         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11693         font in urw-fonts package which is marked as -urw-fontspecific and
11694         does not work (incidentally, changing the encoding in the
11695         fonts.dir of this package to -adobe-fontspecific fixes the
11696         problem).
11697
11698         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11699         is a crash when undoing first paragraph (Juergen, please take a
11700         look). THis does not mean the undo fix is wrong, just that it
11701         uncovers problems.
11702
11703         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11704         the (Paragraph*) version when needed instead of duplicating the
11705         code.
11706
11707         * text.C (workWidth): use Inset::parOwner to find out where the
11708         inset has been inserted. This is a huge performance gain for large
11709         documents with lots of insets. If Inset::parOwner is not set, fall
11710         back on the brute force method
11711
11712         * paragraph_pimpl.C (insertInset):
11713         * paragraph.C (Paragraph):
11714         (cutIntoMinibuffer): set parOwner of insets when
11715         inserting/removing them
11716
11717         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11718
11719 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11720
11721         * commandtags.h:
11722         * LyXAction.C:
11723         * lyx_main.C:
11724         * lyxfunc.C:
11725         * mathed/formulabase.C:
11726         * mathed/math_cursor.[Ch]:
11727         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11728
11729
11730 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * lyxlength.[Ch] (operator!=): new function
11733
11734 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * text.C (workWidth): use Inset::parOwner to find out where the
11737         inset has been inserted. This is a huge performance gain for large
11738         documents with lots of insets. If Inset::parOwner is not set, fall
11739         back on the brute force method
11740
11741         * paragraph_pimpl.C (insertInset):
11742         * paragraph.C (Paragraph):
11743         (cutIntoMinibuffer): set parOwner of insets when
11744         inserting/removing them
11745
11746         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11747
11748 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * tabular-old.C (getTokenValue):
11751         * tabular.C (getTokenValue):
11752         (write_attribute): new versions for LyXLength
11753         (everywhere): adjust the use of widths
11754
11755         * tabular.h: change the type of widths from string to LyXLength
11756
11757 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11758
11759         * paragraph.C: fixed missing line number count when exporting
11760         Environments to LaTeX file
11761
11762         * buffer.C: added informational message for checking line numbers.
11763
11764 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11765
11766         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11767         paragraph, do the 'double space' part, but not the 'empty
11768         paragraph' one.
11769
11770         * text.C (workWidth): small optimization
11771         (getLengthMarkerHeight): use minimal size for negative lengths.
11772
11773 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11774
11775         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11776
11777         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11778
11779 2001-12-11  André Pönitz <poenitz@gmx.net>
11780
11781         * FontLoader.C:
11782         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11783
11784 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * text2.C: keep selection on a setFont()
11787
11788 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * lyx_cb.C: another bv->text misuse, from insert label
11791
11792 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * kbsequence.h:
11795         * kbsequence.C: re-instate nmodifier mask
11796
11797 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * lyx_main.h: make lyxGUI private.
11800
11801 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * lyxfind.C: place the cursor correctly on failed search
11804
11805 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * text.C (getLengthMarkerHeight): for small heights, the arrows
11808         are not always on top/bottom of the text
11809         (drawLengthMarker): smaller arrows; take the left margin in
11810         account; draw also vfills.
11811         (paintFirstRow):
11812         (paintLastRow): remove special code for vfill and standard spaces,
11813         since everything is handled in drawLengthMarker now.
11814
11815 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * buffer.C (insertErtContents): try to handle font and language
11818         interaction a bit better.g
11819
11820         * ColorHandler.C (updateColor): change the hash to cover the whole
11821         LColor enum, ws cleanup
11822         (getGCLinepars): ditto
11823         (getGCLinepars): only lookup in the linecache once.
11824
11825 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11826
11827         * iterators.C (operator++): Make the iterator more robust
11828
11829         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11830         (John's patch)
11831         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11832
11833 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxtext.h:
11836         * text.C: better added space drawing
11837
11838 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * LyXView.C:
11841         * BufferView2.C: fix layout combo update on inset unlock
11842
11843 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * Makefile.am: don't compile unused files
11846
11847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11848
11849         * lyxfunc.C:
11850         * commandtags.h:
11851         * LyXAction.C: remove old LFUN_LAYOUTNO
11852
11853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * paragraph_pimpl.h:
11856         * paragraph_pimpl.C: isTextAt() doesn't need font param
11857
11858 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * lyxlex.h:
11861         * lyxlex.C: little cleanup
11862
11863 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * BufferView_pimpl.C: fix insertAscii for insets
11866
11867 2001-12-05  Juergen Vigna  <jug@sad.it>
11868
11869         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11870         set the right font on the "multi" paragraph paste!
11871
11872 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * trans_decl.h:
11875         * trans_mgr.[Ch]:
11876         * trans.[Ch]:
11877         * lyxgluelength.C:
11878         * lyxlength.C: remove out-commented code.
11879
11880         * BufferView_pimpl:
11881         * CutAndPaste.C:
11882         * DepTable.C:
11883         * buffer.C:
11884         * chset.C:
11885         * lastfiles.C:
11886         * lyxlex.C:
11887         * lyxlex_pimpl.C:
11888         * lyxserver.C:
11889         * screen.C:
11890         * tabular-old.C:
11891         * tabular.C:
11892         * text.C:
11893         * trans_mgr.C:
11894         * vc-backend.C: change "while(" to "while ("
11895
11896         * lyxlength.[Ch]: add zero function to check if length is zero or
11897         not
11898         * lyxgluelength.C: use it
11899
11900 2001-12-05  Allan Rae  <rae@lyx.org>
11901
11902         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11903         Works for 2.95.3, from what I understand of Garst's reports this should
11904         work for other g++ versions.  We're screwed if the abs(int) definition
11905         changed between bugfix releases of gcc.
11906
11907 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * text.C: fix chapter label offset !
11910
11911 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * lyxtext.h:
11914         * text.C: fix hfill at end of line, clean up
11915
11916 2001-12-04  Juergen Vigna  <jug@sad.it>
11917
11918         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11919         that we force an update of the inset and it's owners if neccessary.
11920
11921 2001-12-03  Juergen Vigna  <jug@sad.it>
11922
11923         * text.C (rowLast): simplified code
11924
11925 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * lyxfunc.C: fix show options on timeout
11928
11929 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * screen.C (topCursorVisible): scroll half a page when the cursor
11932         reached top of bottom of screen
11933
11934 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * minibuffer.C: deactivate on loss of focus
11937
11938 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * vspace.[Ch] (operator!=): add operator.
11941
11942 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * BufferView_pimpl.C: refuse to open an inset when
11945         there's a selection.
11946
11947 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * BufferView_pimpl.C: allow to click on RHS of full row insets
11950
11951 2001-11-30  Juergen Vigna  <jug@sad.it>
11952
11953         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11954         insets for undo reasons.
11955
11956 2001-11-28  André Pönitz <poenitz@gmx.net>
11957
11958         * vspace.[Ch]: cosmetical changes
11959
11960 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * LyXAction.h:
11963         * LyXAction.C:
11964         * lyxfunc.h:
11965         * lyxfunc.C:
11966         * kbmap.h:
11967         * kbmap.C:
11968         * lyxrc.C:
11969         * kbsequence.h:
11970         * kbsequence.C: part re-write of old kb code
11971
11972         * Painter.C:
11973         * WorkArea.C: remove Lgb_bug_find_hack
11974
11975 2001-11-30  José Matos <jamatos@fep.up.pt>
11976
11977         * buffer.C (makeDocBookFile): add a comment to point a hack.
11978         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11979         Fixed a double write of labels.
11980
11981 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11982
11983         * LaTeX.C:
11984         * LaTeX.h Fixed bug in LaTeX class where it would not
11985         re-run latex if no depfiles were changed, but the .dvi was removed.
11986
11987 2001-11-28  André Pönitz <poenitz@gmx.net>
11988
11989         * all the files from the change on 2001/11/26:
11990         use lyx::layout_type instead of LyXTextClass::size_type
11991         use lyx::textclass_type instead of LyXTextClassList::size_type
11992
11993 2001-11-29  Juergen Vigna  <jug@sad.it>
11994
11995         * text.C: added support for paragraph::isFreeSpacing()
11996
11997         * buffer.C: same as above
11998
11999         * paragraph.h: inserted isFreeSpacing() function to enable
12000         FreeSpacing inside InsetERT.
12001
12002         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12003         of the paragraph's in the cut/copy buffer to 0!
12004
12005         * text2.C (removeRow): remove the assert as it can!
12006
12007         * lyxtext.h: added helper function firstRow returning firstrow and
12008         made firstrow private again.
12009
12010         * BufferView2.C (lockInset): don't relock if we're already locked!
12011
12012         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12013         the only paragraph.
12014         (removeRow): added Assert::(firstrow)
12015
12016         * debug.C: forgot to add INSETTEXT here.
12017
12018 2001-11-28  Juergen Vigna  <jug@sad.it>
12019
12020         * sp_spell.C (initialize): changed error text to more general
12021         spellchecker command use (not only ispell!)
12022
12023         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12024
12025         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12026
12027 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * vspace.C: initialise lyxgluelength on failure
12030
12031 2001-11-28  Allan Rae  <rae@lyx.org>
12032
12033         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12034         declaration & definition that looks like a function declaration.
12035
12036 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12037
12038         * BufferView2.C (copy):
12039         (copyEnvironment): do not clear the selection when doing a copy.
12040
12041         * text.C (paintFirstRow): compilation fix
12042
12043 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12044
12045         * tabular.C (Latex): correct line count when writing latex.
12046
12047 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * paragraph_pimpl.h:
12050         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12051           bug a bit
12052
12053 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * text.C:
12056         * LColor.h:
12057         * LColor.C: change vfillline->added_space
12058
12059         * text.C: add markers and text for added space
12060
12061         * vspace.C: fix comment
12062
12063 2001-11-28  André Pönitz <poenitz@gmx.net>
12064
12065         * paragraph.C: whitespace changes
12066         * all the other files from the change on 2001/11/26:
12067         change *::pos_type into lyx::pos_type
12068
12069 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12070
12071         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12072         language of the document when inserting error insets.
12073
12074 2001-11-26  André Pönitz <poenitz@gmx.net>
12075
12076         * BufferView_pimpl.[Ch]:
12077         *       CutAndPaste.C:
12078         * buffer.[Ch]:
12079         * lyxcursor.[Ch]:
12080         * lyxfind.C:
12081         * lyxfunc.C:
12082         * lyxrow.[Ch]:
12083         * paragraph.[Ch]:
12084         * paragraph_pimpl.[Ch]:
12085         * sp_spell.C:
12086         * text.C:
12087         * text2.C: reduce header dependencies, introduce type for positions
12088
12089 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * <various>: change to use Alert.h
12092
12093 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12096         when encountering an unknown token.
12097         (readLyXformat2): Show an error message if there were unknown tokens.
12098
12099 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * BufferView2.C:
12102         * BufferView_pimpl.C:
12103         * buffer.C:
12104         * paragraph.h:
12105         * text.C:
12106         * text2.C: use par->isInset()
12107
12108 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * paragraph_pimpl.h:
12111         * paragraph_pimpl.C: cleanup
12112
12113 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12114
12115         * text2.C (removeRow):
12116         * text.C (setHeightOfRow): remove useless (and costly) call to
12117         getRow.
12118
12119 2001-11-20  Allan Rae  <rae@lyx.org>
12120
12121         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12122         Now need Inset*::checkInsertChar() to return true for appropriate
12123         cases so that the characters in the minibuffer will actually be
12124         inserted.
12125
12126 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * text.C: change the order of the includes.
12129         (workWidth): initialize it at once.
12130         (workWidth): make maxw unsigned
12131         (setHeightOfRow): remove unused variable (inset)
12132         (selectSelectedWord): remove unused variable (inset)
12133         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12134
12135 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12138         server is not running.
12139         (openConnection):
12140         (closeConnection): add debug info when server is disabled.
12141
12142         * ColorHandler.C (getGCForeground): send debug message to GUI
12143         channel.
12144
12145         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12146
12147         * kbmap.C (bind): modify because return conventions of
12148         kb_sequence::parse have changed.
12149
12150         * kbsequence.C (parse): only ignore spaces and not any stupid
12151         control character. This avoids tests like s[i] <= ' ', which are
12152         guaranteed to fail with 8bit characters and signed chars.
12153         Change return code to string::npos when there have been no error
12154         (0 was a bad idea when error is at first character)
12155
12156 2001-11-14  José Matos  <jamatos@fep.up.pt>
12157
12158         * buffer.h:
12159         * buffer.C (simpleDocBookOnePar): removed unused argument.
12160
12161 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12164         insets which are part of a word. Paragraph::isLetter takes care of
12165         that now. Use Paragraph::isInset to identify insets.
12166         (selectSelectedWord): do not test for hyphenation break.
12167
12168         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12169         that protected spaces are considered as spaces.
12170
12171         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12172         Inset::isLetter.
12173
12174 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * lyxserver.h:
12177         * lyxserver.C: fix it. and small cleanup.
12178
12179 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12180
12181         * BufferView_pimpl.C: use inline helpers
12182
12183         * LaTeXFeatures.h:
12184         * LaTeXFeatures.C: fix typos
12185
12186         * Spacing.h:
12187         * Spacing.C: move spacing_string into class
12188
12189         * ToolbarDefaults.C: move stuff into namespace anon
12190
12191         * layout.h: update enum
12192
12193         * lyxfunc.C: use better debug
12194
12195         * minibuffer.h: fix typo
12196
12197         * debug.h:
12198         * debug.C:
12199         * WorkArea.C: add and use Debug::WORKAREA
12200
12201         * lyxtext.h:
12202         * text.C:
12203         * text2.C: code re-organisation, inline helpers
12204
12205 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12206
12207         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12208         std::vector.empty().
12209
12210 2001-11-09  Allan Rae  <rae@lyx.org>
12211
12212         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12213         '\n's after tables.  Tabular and ERT inset work now makes this no
12214         longer necessary.
12215
12216 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * minibuffer.h:
12219         * minibuffer.C: fix crash, improve drop-down completion
12220
12221 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * lyxserver.h:
12224         * lyxserver.C: invalidate fd's when doing endPipe()
12225
12226 2001-11-08  José Matos  <jamatos@fep.up.pt>
12227
12228         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12229         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12230
12231         * paragraph.h:
12232         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12233
12234 2001-11-07  José Matos  <jamatos@fep.up.pt>
12235
12236         * buffer.h:
12237         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12238         const qualifier.
12239
12240         * buffer.C (sgmlOpenTag):
12241         * buffer.C (sgmlCloseTag): removed debug info.
12242
12243         * buffer.h (sgmlOpenTag):
12244         * buffer.h (sgmlCloseTag): made public.
12245
12246 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * buffer.C (saveParamsAsDefaults):
12249         * lyx_cb.C (MenuLayoutSave): remove
12250
12251         * LyXAction.C (init):
12252         * commandtags.h:
12253         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12254
12255 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * buffer.C (setPaperStuff): removed from here...
12258
12259         * bufferparams.C (setPaperStuff): ... and moved there.
12260
12261 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * minibuffer.h:
12264         * minibuffer.C:
12265         * XFormsView.C: add support for drop-down completion
12266
12267 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12268
12269         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12270         commands.
12271
12272 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12275         disabled.
12276
12277 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * lyx_main.C: change ref to known bugs
12280
12281 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12282
12283         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12284         to work around older babel problems.
12285
12286 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12287
12288         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12289
12290 2001-10-24  Juergen Vigna  <jug@sad.it>
12291
12292         * tabular-old.C (ReadOld): below variable changes reflected.
12293
12294         * tabular.[Ch]: added ltType struct for longtable header/footer
12295         defines and changed all instances where they are used. Added
12296         future support for double top/bottom rows.
12297
12298 2001-10-24  José Matos  <jamatos@fep.up.pt>
12299
12300         * buffer.h (docbookHandleCaption):
12301         * buffer.C (docbookHandleCaption): removed unused function.
12302         (makeDocBookFile): moved docbook supported version to v4.1.
12303
12304 2001-10-24  José Matos  <jamatos@fep.up.pt>
12305
12306         * tabular.h:
12307         * tabular.C (docbookRow): new function to export docbook code of a row.
12308         (DocBook): now honors the longtable flags.
12309
12310 2001-10-23  José Matos  <jamatos@fep.up.pt>
12311
12312         * LaTeXFeatures.h:
12313         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12314         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12315
12316         * buffer.C (makeLinuxDocFile):
12317         (makeDocBookFile): reworked the preamble, more clean, and with
12318         support for lyx defined entities. Changed the document declaration
12319         to be more XML friendly.
12320
12321         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12322         if we need to output XML that should be done with a filter.
12323
12324 2001-10-22  Juergen Vigna  <jug@sad.it>
12325
12326         * sp_pspell.h (class PSpell): add alive function needed in the
12327         controller to see if the spellchecker could be started.
12328
12329 2001-10-22  Juergen Vigna  <jug@sad.it>
12330
12331         * buffer.C (insertStringAsLines): modify the font for inserting
12332         chars in certain conditions by calling checkInsertChar(font).
12333
12334 2001-10-19  Juergen Vigna  <jug@sad.it>
12335
12336         * text.C (workWidth): use getRow instead of wrong algorithm.
12337         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12338
12339 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * lyxserver.h:
12342         * lyxserver.C:
12343         * lyx_main.h:
12344         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12345
12346 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * text.C (workWidth): do not search for the exact row when
12349         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12350         optimization for big documents.
12351
12352 2001-10-18  Juergen Vigna  <jug@sad.it>
12353
12354         * text.C (workWidth): new function with added Inset * parameter.
12355
12356 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12359
12360         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12361         change return type of getColumnNearX.
12362
12363
12364         * text.C (changeRegionCase): use uppercase/lowercase instead of
12365         toupper/tolower.
12366         (leftMargin):
12367         (rightMargin): simplify code by factoring out the uses of
12368         textclasslist.
12369         (labelFill):
12370         (numberOfHfills):
12371         (setHeightOfRow):
12372         (appendParagraph): use Paragraph::size_type
12373
12374 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12375
12376         * vspace.C (asLatexString): add a missing break
12377
12378 2001-10-15  Herbert Voss  <voss@perce.de>
12379
12380         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12381
12382 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12383
12384         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12385         is not available.
12386
12387 2001-10-10  André Pönitz <poenitz@gmx.net>
12388
12389         * lyxfunc.C: removed greek_kb_flag.
12390
12391 2001-10-10  Herbert Voss  <voss@perce.de>
12392
12393         * lyx_main.C: delete global string help_lyxdir.
12394
12395 2001-10-09  Herbert Voss  <voss@perce.de>
12396
12397         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12398
12399         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12400
12401         * lyx_main.C: added global string help_lyxdir.
12402
12403         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12404
12405 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12406
12407         * lyxrc.C (set_font_norm_type): support iso8859-4
12408
12409 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12410
12411         * LaTeX.C (deplog): add another regex for MikTeX
12412
12413 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12414
12415         * lyxrc.C (set_font_norm_type): support iso8859-3
12416
12417 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12418
12419         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12420
12421         * LaTeXFeatures.C: remove special case of french and index
12422
12423         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12424         before \begin{document}). This solves several incompatibilities.
12425
12426 2001-10-03  Garst Reese  <reese@isn.net>
12427
12428         * lyx_cb.C: change CheckTex error msg.
12429
12430 2001-10-03  José Matos  <jamatos@fep.up.pt>
12431
12432         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12433
12434 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12435
12436         * .cvsignore: update
12437
12438         * lyx_main.C (commandLineVersionInfo): use new style version info.
12439
12440         * buffer.C (writeFile):
12441         (makeLaTeXFile):
12442         (makeLinuxDocFile):
12443         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12444
12445         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12446
12447         * version.h: update to use stuff in version.C
12448
12449         * version.C.in: new file. Contains version information determined
12450         at compile time. This is a merging of version.h and
12451         version_info.h.in.
12452
12453 2001-10-03  Juergen Vigna  <jug@sad.it>
12454
12455         * BufferView_pimpl.C (update): don't change "dirty" status in
12456         updateInset call.
12457
12458 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * WorkArea.C (c-tor): re-position version string slightly.
12461
12462 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12465         revert to previous code.
12466
12467         WorkArea.[Ch]: (show, destroySplash): methods removed.
12468
12469         WorkArea.C: rework code so that it's an amalgam of the codes before and
12470         after the splash screen was moved to WorkArea.
12471
12472 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12473
12474         * lyxrc.C (read):
12475         * vspace.C (inPixels):
12476         (lyx_advance):
12477         * kbmap.C (bind):
12478         * buffer.C (insertStringAsLines):
12479         (asciiParagraph): fix types to be large enough
12480
12481         * lyxlex_pimpl.h: change member status from short to int
12482
12483         * layout.h: fix type of endlabeltype
12484
12485         * kbmap.C (bind):
12486         * kbsequence.C (parse): change return type to string::size_type
12487
12488         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12489         variable
12490
12491         * Bullet.C (bulletSize):
12492         (bulletEntry): do not use short ints as parameters
12493
12494         * BufferView2.C (insertLyXFile): change a char to an int.
12495
12496         * WorkArea.C (WorkArea): remove unneeded floats in computation
12497
12498 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12499
12500         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12501
12502         * paragraph.C (asString): Do not ignore newline/hfill chars when
12503         copying to the clipboard.
12504
12505 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12508         after a multi-line inset.
12509
12510 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * paragraph.C (validate): Set NeedLyXFootnoteCode
12513
12514 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12517         and decrease-error to decrease.
12518
12519 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12522         it more readable (should be equivalent)
12523
12524 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12525
12526         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12527
12528 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12529
12530         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12531         of a cursor (row, etc.) after a character has been deleted
12532         (deleteEmptyParagraphMechanism): call the method above on _all_
12533         cursors held by the LyXText when a double space has been
12534         detected/deleted.
12535
12536 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12537
12538         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12539         pixmap.
12540         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12541
12542         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12543         background. Use greyOut() and the new show() methods to toggle between
12544         the foreground and background. Add code to remove the splash after
12545         its initial showing.
12546
12547         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12548         (create_forms): no longer call Dialogs::showSplash.
12549
12550 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12551
12552         * .cvsignore: add version_info.h
12553
12554 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * version_info.h.in: new file
12557
12558         * Makefile.am: add version_info.h.in
12559
12560         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12561         version_info.h instead of VERSION_INFO
12562
12563 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12564
12565         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12566         The ERT inset now returns string().
12567
12568 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * lyxtext.h, text.C (selectNextWord): renamed as
12571         selectNextWordToSpellcheck.
12572
12573         * text.C (selectNextWordToSpellcheck): Modified to not select
12574         words inside an ERT inset.
12575
12576 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12577
12578         * lyx_cb.C (MenuLayoutSave): change a bit the question
12579
12580         * sp_base.h: include <sys/types.h>
12581
12582 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12583
12584         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12585
12586 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12587
12588         * several files: fix typos in user-visible strings
12589
12590 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12591
12592         * text2.C (pasteSelection): do not set the selection, since it
12593         will be cleared later. Actually, the intent was to fix the way the
12594         selection was set, but I figured rmoving the code was just as good.
12595
12596 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * FontLoader.C (available): Check if font is available without
12599         loading the font.
12600
12601 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12602
12603         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12604
12605 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * lyxrc.[Ch]: added display_graphics variable and associated code.
12608
12609 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12610
12611         * bufferparams.C (hasClassDefaults): new method. Returns true if
12612         the buffer parameters correspond to known class defaults
12613
12614 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12615
12616         * XFormsView.C (show): set minimum size to the main window.
12617
12618 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12619
12620         * text2.C (copySelection):
12621         (cutSelection):
12622         * lyxfind.C (LyXReplace):
12623         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12624         LyXText::selectionAsString.
12625
12626         * paragraph.C (asString): add "label" argument to the second form
12627
12628         * text2.C (selectionAsString): add "label" argument and pass it to
12629         Paragraph::asString.
12630
12631 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * lyx_main.C (commandLineHelp): remove version information
12634
12635 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12636
12637         * lyx_main.C: add -version commandline option
12638
12639 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12640
12641         * paragraph.h: make the optional constructor arg required instead.
12642         some modifications to other files because of this.
12643
12644         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12645
12646         * lyxserver.C (C_LyXComm_callback): make it static
12647
12648         * lyx_main.C (error_handler): make it static
12649
12650         * lyx_gui.C (LyX_XErrHandler): make it static
12651
12652         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12653
12654         * WorkArea.C: make the extern "C" methods static.
12655
12656         * Makefile.am (lyx_LDADD): simplify
12657
12658 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12659
12660         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12661         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12662
12663         * LyXAction.C (init):
12664         * lyxfunc.C (dispatch): associated code removal.
12665
12666 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * lyxfont.h (isSymbolFont): shut off warning
12669
12670         * text.C (setHeightOfRow):
12671         (getVisibleRow): fix crash with empty paragraphs which have a
12672         bottom line
12673
12674 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12675
12676         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12677         code.
12678
12679 2001-09-04  José Matos  <jamatos@fep.up.pt>
12680         * buffer.C
12681         * buffer.h
12682         * tabular.C (docbook): rename docBook method to docbook.
12683
12684 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12685
12686         * Makefile.am: add dependencies to main.o.
12687
12688 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12689
12690         * FontLoader.C (available): Return false if !lyxrc.use_gui
12691
12692 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12693
12694         * FontInfo.C (query):
12695         * converter.C (view):
12696         * importer.C (Import):
12697         * exporter.C (Export): Can not -> cannot.
12698
12699 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12700
12701         * BufferView_pimpl.C: allow to create index inset even if
12702           string is empty
12703
12704 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12705
12706         * buffer.C (getLists): replace boost::tie code with an explicit pair
12707         as boost::tie can break some compilers.
12708
12709         * iterators.h: Added a std:: declaration to the return type of
12710         ParIterator::size.
12711
12712 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12715           case.
12716
12717 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12718
12719         * iterators.[Ch]: New files. Provide paragraph iterators.
12720
12721         * buffer.C (changeLanguage): Use paragraph iterators.
12722         (isMultiLingual): ditto
12723
12724         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12725
12726 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * FontLoader.C: Support for cmr font.
12729
12730 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12733         (available): New method.
12734
12735         * FontInfo.C (getFontname): Use scalable fonts even when
12736         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12737         found.
12738
12739 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * converter.C (Formats::view): reverted! Incorrect fix.
12742
12743 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         * converter.C (Formats::view): only output the -paper option
12746         if the dvi viewer is xdvi, thereby fixing bug #233429.
12747
12748 2001-08-23  Herbert Voss  <voss@perce>
12749
12750         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12751
12752 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12753
12754         * Spacing.h (Spacing): Set space to Default on in the default
12755         constructor.
12756
12757 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12758
12759         * vc-backend.h (RCS::versionString): add RCS to version
12760         (CVS::versionString): add CVS to version
12761
12762         * vc-backend.C (scanMaster): do not add CVS to version.
12763         (scanMaster): do not add RCS to version
12764
12765         * lyxvc.C (versionString): new method
12766
12767         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12768
12769 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * Spacing.C (set): initialize fval
12772
12773 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12774
12775         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12776         " or \.
12777
12778 2001-08-16  Juergen Vigna  <jug@sad.it>
12779
12780         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12781
12782 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * BufferView_pimpl.C:
12785         * figureForm.C:
12786         * lyxtext.h:
12787         * text2.C: setParagraph takes linespacing now
12788
12789 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12790
12791         * LyxAction.C: add internal LFUN_CITATION_INSERT
12792
12793         * LyXView.C: actually apply fix
12794
12795         * bufferlist.C: fix open non-existent file
12796
12797         * lyxfind.C: fix indentation
12798
12799         * lyxfunc.C: remove unneeded assert, fix typo
12800
12801 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12802
12803         * MenuBackend.C: use "Floatname List"
12804
12805 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12806
12807         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12808         when converting LaTeX layout to insetERT.
12809         Generate a non-collapsed float when reading old float
12810
12811 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12814         ERT insets.
12815
12816 2001-08-13  Juergen Vigna  <jug@sad.it>
12817
12818         * text.C (fill): return 0 instead of 20 as this seems to be the more
12819         correct value.
12820
12821 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12822
12823         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12824         lyxrc.font_norm.
12825
12826 2001-08-13  Juergen Vigna  <jug@sad.it>
12827
12828         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12829         casesensitive off.
12830         (SearchBackward): comment out the unlocking of the inset_owner this
12831         should not be needed!
12832
12833 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12834
12835         * Many files: Remove inherit_language, and add latex_language
12836
12837         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12838         collapsible insets.
12839
12840 2001-08-10  Juergen Vigna  <jug@sad.it>
12841
12842         * text.C (prepareToPrint): fixed hfill-width in draw!
12843
12844         * BufferView2.C (selectLastWord): save the selection cursor as this
12845         now is cleared in the function LyXText::clearSelection!
12846
12847 2001-08-08  Juergen Vigna  <jug@sad.it>
12848
12849         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12850         BACKSPACE type functions.
12851
12852         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12853         is only cutted from the document but not put in the cut-buffer, where
12854         still the old stuff should be.
12855
12856         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12857
12858         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12859
12860         * tabular.C (SetWidthOfCell): fixed special case where the width
12861         was not updated!
12862         (LeftLine): handle '|' in align_special.
12863         (RightLine): ditto
12864         (LeftAlreadyDrawed): ditto
12865         (SetWidthOfCell): ditto
12866
12867 2001-08-07  Juergen Vigna  <jug@sad.it>
12868
12869         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12870
12871 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12874         * lyxlex.[hC]: ditto
12875
12876 2001-08-06  Juergen Vigna  <jug@sad.it>
12877
12878         * text.C (getVisibleRow): fix up row clearing a bit.
12879
12880 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * minibuffer.C: make sure the X server sees the changes in the input.
12883
12884 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * paragraph.C (getFont): split into...
12887         (getLabelFont): this
12888         (getLayoutFont): and this
12889         * paragraph_pimpl.C (realizeFont): calling this
12890
12891         * text2.C (getFont): split into...
12892         (getLayoutFont): this
12893         (getLabelFont): and this
12894         (realizeFont): all three calling this
12895
12896         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12897         files where used.
12898
12899 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12900
12901         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12902
12903 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12904
12905         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12906         layouts from the Quote inset insertion.
12907
12908 2001-08-03  Juergen Vigna  <jug@sad.it>
12909
12910         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12911
12912         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12913         only if status not is already CHANGED_IN_DRAW (second level).
12914
12915         * text.C (draw): don't set the need_break_row when inside an
12916         InsetText LyXText.
12917
12918 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * buffer.C (parseSingleLyXformat2Token): handle more latex
12921         conversion cases.
12922
12923         * bufferview_funcs.[hC]: change function names to
12924         begin with small char, adjust other files.
12925
12926 2001-08-02  André Pönitz <poenitz@gmx.net>
12927
12928         * lyxfunc.C:
12929         BufferView_pimpl.C: remove broken special code for math-greek
12930
12931 2001-08-02  Juergen Vigna  <jug@sad.it>
12932
12933         * BufferView_pimpl.C (update): redone this function so that we
12934         update the text again if there was a CHANGE_IN_DRAW.
12935
12936         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12937         (drawFromTo): added a new internal bool which is used by draw() and
12938         redraw() function.
12939         (general): some cursor drawing problems fixed.
12940
12941 2001-08-01  Juergen Vigna  <jug@sad.it>
12942
12943         * lyxfind.C (LyXFind): fixed
12944         (SearchForward): ditto
12945         (SearchBackward): ditto
12946
12947         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12948         spurius drawing of the cursor in the main area.
12949
12950         * text2.C (status): small fix which could lead to a segfault!
12951         (clearSelection): remove unneeded BufferView param.
12952
12953 2001-08-01  André Pönitz <poenitz@gmx.net>
12954
12955         * lyxfunc.C: small change due to changed mathed interface
12956
12957 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12960
12961 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * lyxfunc.c: fail gracefully if file doesn't exist
12964
12965         * LyXSendto.C:
12966         * buffer.C:
12967         * lyxfunc.C:
12968         * BufferView_pimpl.C: IsDirWriteable() proto changed
12969
12970         * LyXView.C: fix updateWindowTitle() to store the last title
12971
12972 2001-07-31  Juergen Vigna  <jug@sad.it>
12973
12974         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12975         the font (wrong since using of Paragraph::highestFontInRange).
12976
12977         * paragraph.C (highestFontInRange): added a default_size parameter.
12978
12979         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12980         (setHeightOfRow): reformat
12981
12982 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12983
12984         * converter.[hC] + affected files: move to (inital-char)lowercase
12985         function names.
12986
12987         * ParagraphParameters.C (ParagraphParameters): remove commented code
12988
12989         * PainterBase.[Ch]: remove commented code
12990
12991         * LaTeXFeatures.h: add "bool floats" for float.sty
12992
12993         * LaTeXFeatures.C (LaTeXFeatures): init floats
12994         (require): handle float
12995         (getPackages): do it with floats
12996
12997 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12998
12999         * BufferView_pimpl.C (Dispatch): improve handling of
13000         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13001
13002         * commandtags.h: #include lyxfont.h here temporarily to avoid
13003         keybinding bug.
13004
13005         * bufferlist.h: include LString.h here.
13006
13007 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * text2.C (getStringToIndex): new method.
13010
13011 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13012
13013         * *: Reduced header file dependencies all over.
13014
13015 2001-07-30  Baruch Even  <baruch@lyx.org>
13016
13017         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13018
13019 2001-07-29  Baruch Even  <baruch@lyx.org>
13020
13021         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13022
13023 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * ParameterStruct.h (endif): add a default constructor to make
13026         sure that all variables is initialized.
13027
13028         * ParagraphParameters.C (ParagraphParameters): adjust
13029
13030 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13031
13032         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13033         index; also, check that there is something to index, and that it
13034         does not span over several paragraphs.
13035         (doubleClick): use WHOLE_WORD_STRICT for double click.
13036
13037         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13038
13039         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13040         scheme.
13041
13042 2001-07-26  Baruch Even  <baruch@lyx.org>
13043
13044         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13045         an InsetFig figure, backwards compatible reading of old figure code.
13046
13047 2001-07-27  Juergen Vigna  <jug@sad.it>
13048
13049         * text2.C: font.realize function adaption.
13050
13051         * text.C (draw): add a warnings lyxerr text if needed.
13052
13053         * layout.C: font.realize function adaption.
13054
13055         * language.C: add inherit_language and implement it's handlings
13056
13057         * bufferview_funcs.C (StyleReset): remove language parameter from
13058         font creation (should be language_inherit now).
13059
13060         * bufferparams.C (writeFile): handle ignore_language.
13061
13062         * paragraph.C (getFontSettings): the language has to be resolved
13063         otherwise we have problems in LyXFont!
13064
13065         * lyxfont.C (lyxWriteChanges): added document_language parameter
13066         (update): removed unneeded language parameter
13067
13068         * paragraph.C (validate): fixed wrong output of color-package when
13069         using interface colors for certain fonts in certain environments,
13070         which should not seen as that on the final output.
13071
13072 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13073
13074         * BufferView_pimpl.C:
13075         * Thesaurus.h:
13076         * Thesaurus.C:
13077         * Makefile.am:
13078         * commandtags.h:
13079         * LyXAction.C: add thesaurus support
13080
13081         * lyxfind.h:
13082         * lyxfind.C: add "once" parameter, for thesaurus, to not
13083           move to the next match
13084
13085 2001-07-26  Juergen Vigna  <jug@sad.it>
13086
13087         * lyxfont.C (realize): honor ignore_language too!
13088         (resolved): ditto.
13089
13090         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13091
13092         * text.C (draw): one place more for ignore_language to not draw
13093         itself!
13094
13095 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13096
13097         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13098
13099 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13102         the minipage conversion problem.
13103
13104 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13107         insert an inset.
13108
13109 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * BufferView.h: don't forward declare WorkArea
13112
13113         * BufferView.C: don't include WorkArea.h
13114
13115 2001-07-25  André Pönitz <poenitz@gmx.net>
13116
13117         * commandtags.h:
13118         * LyXAction.C:
13119         * lyxfunc.C:  new LFUN 'math-space'
13120
13121         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13122
13123 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13124
13125         * text2.C (toggleInset): call open/close
13126
13127 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13128
13129         * lyxfunc.C (dispatch): add debug for the disabled case
13130
13131         * font.C (buttonText): make similar to rectText
13132
13133         * buffer.C (readInset): comment out parsing of insetlist and
13134         insttheorem
13135
13136         * PainterBase.C (rectText): small correction
13137
13138         * BufferView_pimpl.C: comment out insettheorem and insetlist
13139         * LyXAction.C: ditto
13140         * commandtags.h: ditto
13141
13142 2001-07-24  Juergen Vigna  <jug@sad.it>
13143
13144         * text.C (draw): honor the ignore_language.
13145
13146         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13147
13148 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13149
13150         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13151         char inset.
13152
13153 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13154
13155         * lyxtext.h: remove unused (and unimplemented) methods
13156
13157 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13158
13159         * text.C (getVisibleRow): honor background color
13160
13161         * PainterBase.h:
13162         * Painter.h: remove default color argument for fillRectangle
13163
13164         * text.C (backgroundColor): new method
13165
13166 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * text.C (getVisibleRow): adjust
13169
13170         * font.[Ch] (rectText): new method, metrics
13171         (buttonText): new method, metrics
13172
13173         * PainterBase.[hC]: make rectText and buttonText always draw and take
13174         fewer paramteres.
13175
13176 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13177
13178         * ToolbarDefaults.C (read):
13179         * MenuBackend.C (read): allow escaping in all strings
13180
13181         * BufferView_pimpl.C (insertAndEditInset): new method.
13182         (Dispatch): use insertAndEditInset whenever appropriate.
13183
13184         * BufferView_pimpl.C (insertNote): removed
13185
13186         * BufferView_pimpl.C (smartQuote): new method, moved from
13187         BufferView; if an insetquote cannot be inserted, insert a '"'
13188         character instead.
13189
13190         * BufferView2.C: remove insertCorrectQuote();
13191
13192         * lyxfunc.C (getStatus): Add support for all remaingin
13193         inset-insert lfuns.
13194
13195         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13196
13197         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13198         command (necessary to pass " as parameter of self-insert.
13199
13200         * text.C (selectWordWhenUnderCursor):
13201         (selectWord): add word_location parameter
13202         (selectWordWhenUnderCursor): same + remove special code for word
13203         boundary.
13204         (selectNextWord): use kind() to guess type of insetspecialchar,
13205         not latex().
13206
13207         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13208         (insertErtContents): create ert insets as collapsed.
13209         (readInset): better compatibility code for Info inset.
13210
13211 2001-07-20  Juergen Vigna  <jug@sad.it>
13212
13213         * lyxfunc.C (dispatch): use always LyXFind now!
13214
13215         * text2.C (init): add a reinit flag so that the LyXText can be
13216         reinited instead of deleted and reallocated (used in InsetText).
13217
13218         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13219
13220         * text.C: ditto
13221
13222         * text2.C: ditto
13223
13224 2001-07-18  Juergen Vigna  <jug@sad.it>
13225
13226         * text.C (selectNextWord): handle insets inside inset by calling
13227         always the bv->text functions so that we can go up the_locking_inset!
13228
13229         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13230         in strange locations when inside an inset!
13231
13232         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13233         handling to include insets.
13234
13235         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13236
13237 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13238
13239         * LyXAction.C (init):
13240         * commandtags.h:
13241         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13242         LIGATURE_BREAK, since the name is so stupid.
13243
13244 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13245
13246         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13247         InsetInfos.
13248
13249         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13250
13251         * sp_form.[Ch]: remove.
13252
13253         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13254
13255         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13256         InsetInfo.
13257
13258         * src/buffer.C (readInset): ditto.
13259
13260 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13261
13262         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13263         menuSeparator(), endOfSentenceDot(), ldots() and
13264         hyphenationPoint(), which are therefore removed.
13265         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13266
13267         * LyXAction.C (init):
13268         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13269
13270         * paragraph.C (getWord): removed.
13271
13272         * BufferView_pimpl.C (Dispatch): use last word or selection for
13273         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13274
13275         * lyx_main.C (queryUserLyXDir): do not ask before creating
13276         user_dir, except if it has been named explicitely.
13277
13278 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13279
13280         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13281         a document of zero size.
13282
13283 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13284
13285         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13286         approriately in the c-tor and in require().
13287         (getPackages): output the appropriate LaTeX for natbib support.
13288
13289         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13290         variables "use_natbib" and "use_numerical_citations" when reading the
13291         LyX file.
13292         (readInset): read the various natbib cite commands.
13293         (validate): white-space change.
13294
13295         * bufferparams.[Ch]: new variables "bool use_natbib" and
13296         "bool use_numerical_citations".
13297         (writeFile): output them in the LyX file.
13298
13299 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13300
13301         * lyxfunc.C (getStatus): add support for all the inset insertion
13302         commands.
13303
13304         * text2.C (insertInset):
13305         * paragraph.C (insetAllowed):
13306         * BufferView_pimpl.C (insertInset): update to take in account the
13307         renaming of insertInsetAllowed
13308
13309         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13310
13311         * text2.C (getInset): new method. returns inset at cursor position.
13312
13313         * BufferView_pimpl.C (Dispatch): changes because of this.
13314
13315         * LyXAction.C (init): rename open-stuff to inset-toggle.
13316
13317         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13318
13319         * text2.C (toggleInset): renamed from openStuff; use
13320         Inset::open().
13321
13322 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13323
13324         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13325
13326         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13327
13328 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13329
13330         * buffer.C (readLyXformat2): Add filename to the error dialog
13331
13332 2001-07-18  Juergen Vigna  <jug@sad.it>
13333
13334         * tabular.C (GetCellNumber): put an assert here instead of the check!
13335
13336 2001-07-17  Juergen Vigna  <jug@sad.it>
13337
13338         * BufferView_pimpl.C (toggleSelection): adapted too.
13339
13340         * text.C (selectNextWord): adapted for use with insets.
13341         (selectSelectedWord): ditto
13342
13343 2001-07-17  Juergen Vigna  <jug@sad.it>
13344
13345         * sp_spell.C (PSpell): fix initialitation order.
13346
13347 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * paragraph.C: spacing
13350
13351 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13352
13353         * sp_spell.C: repair language selection for pspell
13354
13355 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * lyxfunc.h: change more methods to begin with lower char.
13358
13359 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13362         for unknown layouts.
13363
13364 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13365
13366         * buffer.C (readLyXformat2): Generate an error dialog if there are
13367         unknown layouts.
13368
13369 2001-07-16  Juergen Vigna  <jug@sad.it>
13370
13371         * sp_spell.C: always compile ISpell part.
13372
13373         * lyxrc.C: added use_pspell entry and it's handling.
13374
13375 2001-07-13  Juergen Vigna  <jug@sad.it>
13376
13377         * sp_spell.C: removed double includes.
13378
13379 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13380
13381         Consistent use of Lsstream.h:
13382         * Lsstream.h: added using std::stringstream for consistencies sake.
13383
13384         * buffer.C: removed using std::stringstream
13385
13386         * lyxfont.C (stateText):
13387         * paragraph.C (asString):
13388         * text.C (selectNextWord, selectSelectedWord):
13389         * text2.C (setCounter):
13390         * vspace.C (asString, asLatexString):
13391         std::ostringstream -> ostringstream.
13392
13393 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13394
13395         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13396         * commandtags.h: add LFUN_HELP_ABOUTLYX
13397         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13398
13399 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13400
13401         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13402         cursorToggle()
13403         * lyx_gui_misc.C: remove spellchecker
13404         * lyxfunc.C: showSpellchecker
13405         * sp_base.h: added
13406         * sp_ispell.h: added
13407         * sp_pspell.h: added
13408         * sp_spell.C: added
13409         * sp_form.[Ch]: removed
13410         * spellchecker.[Ch]: removed
13411
13412 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13413
13414         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13415         is set.
13416         (simpleTeXSpecialChars): Simply print the input character without
13417         any special translation if pass_thru is set.
13418
13419         * layout.h: Added bool pass_thru to layout class for being able to
13420         implement pass through of a paragraph for Literate Programming.
13421
13422         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13423         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13424         * layout.C (Read): add "passthru" to list of layout tags and add
13425         code to set the pass_thru boolean when it is read.
13426
13427 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * trans_decl.h: remove allowed from KmodInfo
13430
13431         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13432         remove allowed code
13433         (Load): adjust
13434
13435         * paragraph_pimpl.C (erase): use boost::prior
13436
13437         * Painter.C (text): use data() instead of c_str() when length is
13438         also provided.
13439         * WorkArea.C (putClipboard): ditto
13440         * font.h (width): ditto
13441
13442         * BufferView2.C: use it-> instead of (*it). for iterators
13443         * texrow.C: ditto
13444         * paragraph_pimpl.C: ditto
13445         * paragraph.C: ditto
13446         * minibuffer.C: ditto
13447         * language.C: ditto
13448         * kbmap.C: ditto
13449         * encoding.C: ditto
13450         * counters.C: ditto
13451         * converter.C: ditto
13452         * chset.C: ditto
13453         * Variables.C: ditto
13454         * TextCache.C: ditto
13455         * MenuBackend.C: ditto
13456         * LyXAction.C: ditto
13457         * LColor.C: ditto
13458         * FloatList.C: ditto
13459         * DepTable.C: ditto
13460         * ColorHandler.C (LyXColorHandler): ditto
13461
13462 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13463
13464         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13465
13466         * text2.C (openStuff): reintroduce this method (which had been
13467         nuked in NEW_INSETS frenzy).
13468
13469         * lyxfunc.C (Dispatch): when an action has not been handled, use
13470         its name in the error message, not its number.
13471
13472         * paragraph.C (inInset): change method name to begin with lowercase.
13473
13474         * undo_funcs.C:
13475         * text2.C: updates because of this.
13476
13477 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * ToolbarDefaults.C (add): add spaces in error message
13480
13481 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13484         (readLyXformat2): rename return_par to first_par, use lyxlex's
13485         pushToken and remove the manual push handling.
13486         (parseSingleLyXformat2Token): add another ert comp. variable:
13487         in_tabular, rename return_par to first_par. handle newlines better
13488
13489 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13490
13491         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13492
13493 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * text2.C (getParFromID): removed
13496
13497         * buffer.C (getParFromID): new method moved form lyxtext.
13498         * BufferView2.C (insertErrors): adjust
13499         (setCursorFromRow): adjust
13500         * BufferView_pimpl.C (restorePosition): adjust
13501         * lyxfunc.C (Dispatch): adjust
13502         * undo_funcs.C (textUndo): adjust
13503         (textRedo): adjust
13504         (textHandleUndo): adjust
13505         (textHandleUndo): adjust
13506
13507 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * buffer.C: up' the LYX_FORMAT
13510
13511         * lyxfont.h: turn NO_LATEX on as default
13512
13513         * buffer.C (insertErtContents): new methods of tex style compability.
13514         (parseSingleLyXformat2Token): use it several places.
13515         * tabular.C (OldFormatRead): and here
13516
13517 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13518
13519         * text2.C: remove some commented code.
13520         reindent file.
13521
13522         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13523         * trans.C: changes because of the above.
13524
13525 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13526
13527         * text2.C (setCounter): Fix counters bug with bibliography layout.
13528
13529 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13532         own member functions
13533         (simpleTeXSpecialChars): ditto
13534
13535 2001-07-06  Juergen Vigna  <jug@sad.it>
13536
13537         * a lot of files: changed the access to LyXText::status and the
13538         call of undo-functions.
13539
13540         * undo.[Ch]: added a inset_id to the undo informations.
13541
13542         * undo_funcs.[Ch]: added and moved here all undo functions.
13543
13544         * lyxtext.h: give the status enum a weight, made status_ a private
13545         variable and made accessor functions for it, removed the whole bunch
13546         of undo-functions as they are now in their own file, make some
13547         functions publically available. Added function ownerParagraph with
13548         int parameter.
13549
13550         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13551         made InInset() a const function, added getParFromID() function.
13552
13553         * buffer.[Ch]: added const version for inset_iterator functions,
13554         added getInsetFromID() function.
13555
13556         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13557         changed undo functions for new version.
13558
13559 2001-07-05  Juergen Vigna  <jug@sad.it>
13560
13561         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13562         unknow mechanism does not call the proper constructor but only this
13563         one also if I request the other!?
13564
13565 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13568
13569         * text2.C (LyXText): use initialization lists.
13570
13571         * lyxtext.h (Selection): initialize set_ and mark_
13572         (init): remove method
13573
13574 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13577
13578 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * screen.[Ch]: change method names to begin with lowercase
13581
13582         * BufferView_pimpl.C (updateScrollbar): simplify further and
13583         hopefully make it a bit faster.
13584
13585 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13586
13587         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13588         calling directly xforms functions.
13589
13590         * Painter.C (Painter):
13591         * lyx_cb.C (MenuWrite):
13592         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13593         fl_display.
13594
13595         * lyx_gui.C: remove bogus guiruntime extern declaration.
13596
13597 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13598
13599         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13600         in NEW_INSETS
13601         (redoDrawingOfParagraph): ditto
13602         (redoParagraphs): ditto
13603         (cutSelection): don't create a object for CutAndPaste use the
13604         static method directly
13605         (pasteSelection): ditto
13606
13607         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13608         LyXview (+ rename)
13609
13610 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * modifications to some other files because of this.
13613
13614         * Makefile.am (lyx_SOURCES): add XFormsView
13615
13616         * XFormsView.[Ch]: new files
13617
13618         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13619         the main window. Move the gui dependent stuff to XFormsView
13620
13621 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * tabular.C (GetCellInset): update cur_cell also in the row/col
13624         version of this function.
13625
13626         * lyxfunc.C: no need to include figure_form.h here.
13627
13628         * FontLoader.h:
13629         * lyxfunc.h:
13630         * lyxscreen.h:
13631         * text2.C:
13632         * lyxvc.C: no need to include forms.h here.
13633
13634 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13635
13636         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13637
13638         * lyxfunc.C (Dispatch):
13639         * Spacing.C (set):
13640         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13641         constructor argument.
13642
13643 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13644
13645         * paragraph.C (Paragraph): dont't clear, and just set layout.
13646         (makeSameLayout): use params's copy contructor.
13647
13648         * ParagraphParameters.[Ch] (makeSame): delete method
13649
13650 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * Variables.[Ch]: fix indentation, rename set to isSet
13653
13654 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * lyxfunc.C (Dispatch): fix typo
13657
13658 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13661         upper_bound.
13662
13663         * bufferlist.C: include assert.h for emergencyWrite().
13664
13665 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13668           give up at last (bug #425202) !
13669
13670 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * lyx_gui_misc.C:
13673         * sp_form.h:
13674         * sp_form.C:
13675         * spellchecker.h:
13676         * spellchecker.C: strip spellchecker options and bring up
13677           preferences tab instead
13678
13679 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13682         the istringstream constructor
13683
13684 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13685
13686         * paragraph.C (getLayout): fix return value
13687
13688         * paragraph.h: do not declare getLayout as inline.
13689
13690         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13691
13692 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13693
13694         * lyxcursor.h (operator<): new func
13695         (operator>): new func
13696         (operator>=): new func
13697         (operator<=): new func
13698
13699         * text.C (changeCase): use selection.start and selection.end
13700         (changeRegionCase): require from to be <= to. Require par to be a
13701         valid paragraph.
13702
13703         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13704
13705 2001-06-27  Juergen Vigna  <jug@sad.it>
13706
13707         * text.C (cursorLeftOneWord): changed to return the cursor and added
13708         overlay with BufferView * parameter which calls this one.
13709         (getWord): added
13710         (selectWord): use new getWord function.
13711         (changeCase): renamed from changeWordCase as and extended to work
13712         also on selections.
13713
13714         * lyxtext.h: added enum word_location
13715
13716         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13717         changeCase as this operates now also on selections.
13718
13719 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13720
13721         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13722
13723         * many files: send debug output to Debug::INFO instead of
13724         Debug::ANY.
13725
13726         * converter.C (View):
13727         (Convert):
13728         (Move): send debug output to Debug::FILES instead of console.
13729
13730 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13731
13732         * lyxfunc.C (getStatus): use func_status
13733
13734         * func_status.h: new header, describing the results of
13735         LyXFunc::getStatus;
13736
13737         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13738         LFUN_MATH_HALIGN.
13739
13740 2001-06-25  The LyX Project  <jug@sad.it>
13741
13742         * buffer.C (sgmlOpenTag):
13743         (sgmlCloseTag):
13744         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13745
13746 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * text2.C: remove some dead code
13749
13750         * tabular.C (GetCellInset): store the last cell checked (gotten)
13751
13752         * tabular.h: add the helper for the speedup
13753
13754         * lyxtext.h: remove some dead code
13755
13756 2001-06-26  The LyX Project  <Asger>
13757
13758         * paragraph.C: Change export to LaTeX of alignment to
13759         \begin{center} and family for better roundtrip work with reLyX.
13760
13761         * Tune the math drawing a bit.
13762
13763 2001-06-25  The LyX Project  <Asger>
13764
13765         * LColor.C (LColor): New color for math background. New color
13766         for buttons.
13767
13768 2001-06-25  The LyX Project  <jug@sad.it>
13769
13770         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13771
13772         * lyxfunc.C (Open):
13773         * bufferlist.C (newFile): do not restrict to files ending with
13774         .lyx
13775
13776         * BufferView_pimpl.C (MenuInsertLyXFile):
13777
13778 2001-06-24  The LyX Project  <jug@sad.it>
13779
13780         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13781         of compare_no_case
13782
13783 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * lyxtext.h: rename most methods to begin with a small char.
13786         Lots of changes because of this.
13787
13788         * paragraph.C (Paragraph): do not call fitToSize
13789         (erase): call Pimpl::erase
13790         (insertChar): call Pimpl::insertChar
13791         (insertInset): call Pipl::insertInset
13792         (breakParagraph): do not call fitToSize
13793         (breakParagraphConservative): do not call fitToSize
13794         (fitToSize): remove method
13795
13796         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13797
13798 2001-06-24  The LyX Project  <Asger>
13799
13800         * Fix Qt compilation^2
13801
13802 2001-06-24  The LyX Project  <jug@sad.it>
13803
13804         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13805         depthHook(getDepth()-1).
13806
13807         * paragraph.h:
13808         * ParagraphParameters.h:
13809         * ParameterStruct.h: change type of depth to unsigned int ==
13810         depth_type. Many adaptations to other files before of that.
13811
13812 2001-06-24  The LyX Project  <Asger>
13813
13814         * Fix Qt compilation.
13815
13816 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * paragraph.h: renamed several methods to begin with small letter.
13819         several changes to many parts of the code because of this.
13820
13821 2001-06-23  The LyX Project  <jug@sad.it>
13822
13823         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13824         rewritten to discard all double spaces when KeepEmpty is off
13825         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13826         to only handle newlines but not fiddle with spaces and friends.
13827
13828         * lyxfunc.C (MenuNew): when doing 'new from template', use
13829         template_path as default directory
13830
13831 2001-06-23  The LyX Project  <Asger>
13832
13833         * Clean-up of header file includes all over
13834         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13835
13836 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * paragraph.h: renamed from lyxparagraph.h
13839
13840 2001-06-23  Asger  <lyx@violet.home.sad.it>
13841
13842         * Buffer.h: Removed Buffer::resize
13843         * BufferList.h: Removed BufferList::resize
13844         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13845         the document lazily when we change the width, or the font settings.
13846
13847 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13850
13851 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13852
13853         * buffer.h: remove out of date comment
13854
13855 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * lyxscreen.h:
13858         * screen.C: fix "theoretical" GC leak
13859
13860 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13861
13862         * LaTeX.C (scanAuxFile):
13863         (deplog): remove trailing \r when reading stream (useful under
13864         win32)
13865
13866 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13869         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13870         and BufferView::theLockingInset(Inset*), so should use them and not
13871         access bv_->text->the_locking_inset directly.
13872
13873         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13874
13875 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * Makefile.am:
13878         * tex-defs.h: remove old unused file
13879
13880 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * BufferView_pimpl.C: fix typo, remove minibuffer message
13883           when buffer has loaded
13884
13885 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * lyxfunc.C (Dispatch): use stringstream
13888         (MenuNew): use stringstream
13889         (Open): use stringstream
13890
13891         * importer.C (Import): use stringstream
13892
13893         * bufferview_funcs.C (CurrentState): use stringstream
13894
13895         * LaTeX.C (run): use stringstream
13896
13897         * BufferView_pimpl.C (savePosition): use stringstream
13898         (restorePosition): use stringstream
13899         (MenuInsertLyXFile): use stringstream
13900
13901 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * BufferView.C:
13904         * Bullet.C:
13905         * ColorHandler.C:
13906         * FontInfo.C:
13907         * FontLoader.C:
13908         * LColor.C:
13909         * LaTeXFeatures.C:
13910         * Painter.C:
13911         * gettext.C:
13912         * lyx_gui_misc.C:
13913         * lyxserver.C:
13914         * vspace.C: removed // -*- C++ -*- as first line.
13915
13916         * lyxfind.h:
13917         * version.h: added // -*- C++ -*- as first line.
13918
13919 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13922
13923         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13924         of string
13925
13926 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13927
13928         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13929         of floats.
13930
13931 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * gettext.C: include LString.h even when --disable-nls is on.
13934
13935 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13936
13937         * converter.h (Get): changed argument type from int to
13938         FormatList::size_type to avoid unnecessary conversion.
13939
13940         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13941         before using it.
13942
13943 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * gettext.h: include LString.h even when --disable-nls is on.
13946
13947 2001-06-07  Juergen Vigna  <jug@sad.it>
13948
13949         * text.C (BreakAgain): subst spaces with tabs.
13950
13951         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13952         (resizeInsetsLyXText): set force on resizeLyXText.
13953
13954 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * gettext.h (gettext_init):
13957         (locale_init): use a real definition instead of a macro
13958
13959 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13960
13961         * Bufferview_pimpl.C:
13962         * LColor.h:
13963         * LColor.C: further lcolor tidies
13964
13965 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13966
13967         * BufferView_pimpl.C (updateScrollbar): simplify.
13968
13969         * BufferView2.C: don't include insets/insetinfo.h, change
13970         prototype for insertInset and call the Pimpl version. let
13971         updateInset call Pimpl version.
13972
13973         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13974         gotoInset to BufferView::Pimpl
13975
13976 2001-06-01  Juergen Vigna  <jug@sad.it>
13977
13978         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13979         inside a LockingInset (is the update needed at all?).
13980
13981 2001-05-31  Juergen Vigna  <jug@sad.it>
13982
13983         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13984         here not the old one otherwise how should we compare it afterwards
13985         if it's the same!
13986
13987 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * lyxfont.C:
13990         * tabular.C:
13991         * tabular-old.C:
13992         * FontInfo.C: bring C functions into global namespace when
13993         necessary
13994
13995 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * LString.h: make sure config.h has been loaded before LString.h.
13998
13999         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14000         (one for each char read by EatLine!).
14001
14002         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14003         variables.
14004
14005 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14008         to the same as the par we break from
14009
14010 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14013
14014         * MenuBackend.C (expand): also create menu entries for wide
14015         versions of the floats.
14016
14017         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14018
14019         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14020
14021         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14022         frontends/Makefile.am
14023
14024         * text2.C: adjust
14025         * text.C: adjust
14026
14027
14028         * tabular.C (getTokenValue): add std::
14029
14030         * tabular-old.C (getTokenValue): add std::
14031         (getTokenValue): ditto
14032         (getTokenValue): ditto
14033
14034         * screen.C (ToggleSelection): adjust
14035
14036         * lyxtext.h: put selection cursors inside a Selection struct.
14037
14038         * lyxfunc.C (moveCursorUpdate): adjust
14039
14040         * lyxfont.C (latexWriteStartChanges): add std::
14041
14042         * lyxfind.C: adjust
14043
14044         * font.h: delete with(char const *, LyXFont const &)
14045
14046         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14047
14048         * FontInfo.C (getFontname): add std::
14049
14050         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14051         (workAreaButtonPress): adjust
14052         (tripleClick): adjust
14053         (update): adjust
14054         (moveCursorUpdate): adjust
14055         (Dispatch): adjust
14056
14057         * BufferView2.C (gotoInset): adjust
14058
14059 2001-05-30  Juergen Vigna  <jug@sad.it>
14060
14061         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14062         to check pspell I add this as default as I now have new pspell
14063         libraries and they seem to use this.
14064
14065 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * text2.C (CutSelection): make the cursor valid before the call to
14068         ClearSelection.
14069
14070 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14073         relied on 0 terminated strings and other horrors. Bug found due to
14074         the new assert in lyxstring!
14075
14076         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14077         KP_ keys.
14078
14079 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14080
14081         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14082         to latinkeys.bind.
14083
14084         * lyxfunc.C (processKeySym): change method of getting to the
14085         self-insert char.
14086
14087         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14088         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14089         * BufferView_pimpl.[Ch]: here as private methods.
14090
14091 2001-05-28  Juergen Vigna  <jug@sad.it>
14092
14093         * text.C (SetHeightOfRow): added the update() call again as it is
14094         needed to initialize inset dimensions!
14095
14096 2001-05-16  Juergen Vigna  <jug@sad.it>
14097
14098         * text2.C (SetCharFont): Add new function with BufferView * and
14099         bool toggleall parameters for setting insets internal fonts.
14100         (SetFont): Freeze the undo as we may change fonts in Insets and
14101         all this change should be inside only one Undo!
14102
14103         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14104         setting font's in insets as for them we have the SetFont function!
14105
14106 2001-05-15  Juergen Vigna  <jug@sad.it>
14107
14108         * text2.C (ClearSelection): to be sure we REALLY don't have any
14109         selection anymore!
14110
14111         * tabular.C (TeXCellPreamble): fixed the left border problem for
14112         multicolumn cells.
14113
14114 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14115
14116         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14117         dependancy file
14118
14119 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14122         LFUN_BREAKPARAGRAPH.
14123
14124         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14125         help test to "internal only", similar for LFUN_INSERT_URL
14126
14127         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14128         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14129         auto_region_delete and deadkeys.
14130
14131 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * LColor.h:
14134         * LColor.C: remove some dead entries, tidy a little
14135
14136 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14139         commented code.
14140         (Dispatch): implement LFUN_ESCAPE
14141
14142         * commandtags.h: add LFUN_ESCAPE
14143
14144         * LyXAction.C (init): add entry for LFUN_ESCAPE
14145
14146         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14147         Remove commented code.
14148         (insertNote): moved here
14149         (open_new_inset): moved here
14150
14151         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14152         BufferView_pimpl
14153
14154 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * kbmap.C (findbinding): clean it up and make it work correctly.
14157
14158         * lyx_main.C (init): do not pass argc and argv as parameters
14159
14160 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14161
14162         * buffer.C: fix path for OS/2 & Win32
14163
14164         * lyx_gui.C:
14165         * lyx_main:
14166         * lyx_main.C: Added os:: class.
14167
14168         * os2_defines.h: update
14169
14170 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14173         better by trying again with reduced state.
14174
14175 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * lyxrc.C (read): print error about invalid key sequence only when
14178         debugging (because not all latinX keysyms are known to some X
14179         servers)
14180
14181         * kbsequence.C (getiso): add a few std:: qualifiers
14182         (getiso): comment out extra return statement.
14183
14184 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14187         handling.
14188         (Dispatch): enhance the accent inset a bit. (not perfect)
14189
14190 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14193
14194 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * bufferlist.C (emergencyWrite): fix assert() call
14197
14198 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14199
14200         * text.C (InsertChar): Added trivial patch to only send the "you
14201         can not do multiple spaces this way" message once during a
14202         session.
14203
14204 2001-05-08  Baruch Even  <baruch@lyx.org>
14205
14206         * Makefile.am: Changed order of libraries to get LyX to link properly
14207         with the gnome frontend.
14208
14209 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * LaTeXFeatures.h: add a std:: qualifier
14212
14213 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * paragraph.C (String): use stringstream
14216
14217 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14218
14219         * paragraph.C (writeFile): remove footflag arg
14220
14221         * buffer.C (makeLaTeXFile): use stringstream
14222         (latexParagraphs): remove footnot gurba
14223
14224         * LaTeXFeatures.C (getPackages): use stringstream
14225         (getMacros): likewise
14226         (getTClassPreamble): likewise
14227         (getFloatDefinitions): new method
14228
14229         * paragraph.C (writeFile): reindent
14230         (Erase): reindent
14231
14232         * WorkArea.h: revert the xpos + etc changes.
14233
14234         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14235
14236         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14237
14238         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14239         (pasteSelection): likewise
14240         * text2.C (CreateUndo): likewise
14241
14242 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * minibuffer.C (peek_event): temporarily reduce the functionality
14245         of the minibuffer (to allow args on lfuns)
14246
14247         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14248         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14249
14250         * buffer.C (readInset): add compability reading of old float
14251         lists, add reading of new style float list.
14252         (readInset): avoid reevaluation of inscmd.getCmdName()
14253         (getLists): reindent
14254
14255         * MenuBackend.C (MenuItem): implement parsing of
14256         md_floatlistinsert and md_floatinsert.
14257         (expand::LastFiles): move initalizaton of iterators out of loop,
14258         avoid reevaluation.
14259         (expand::Documents): introduce typdedef vector<string> Strings,
14260         and use it.
14261         (expand::ExportFormats): introduce typedef vector<Format const *>
14262         Formats, and use it.
14263         (expand): implement FloatListInsert and FloatInsert.
14264
14265         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14266         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14267         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14268
14269         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14270         handling.
14271         (Dispatch::LFUN_FLOAT_LIST): implement
14272
14273 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14274
14275         * LaTeX.C (run): Fix problem with --export code.
14276
14277 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * BufferView.[Ch] (workarea): removed.
14280         (getClipboard) new method; wrapper for workarea()->getClipboard()
14281
14282         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14283         bug.
14284
14285         * WorkArea.h (width, height, xpos, ypos): These methods all
14286         returned the dimensions of the work_area sub-area of WorkArea,
14287         resulting in a position error if the WorkArea were resized. Now
14288         return the dimensions of the entire WorkArea.
14289
14290         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14291
14292 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * LaTeX.C (deplog): correct the syntax of regex reg1
14295
14296 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * undo.C: remove !NEW_INSETS cruft
14299
14300 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14301
14302         * text2.C: remove !NEW_INSETS cruft
14303
14304         * text.C: remove !NEW_INSETS cruft
14305
14306         * tabular.C: remove !NEW_INSETS cruft
14307
14308         * spellchecker.C: remove !NEW_INSETS cruft
14309
14310         * lyxtext.h: remove !NEW_INSETS cruft
14311
14312         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14313
14314         * lyxfunc.C: remove !NEW_INSETS cruft
14315
14316         * lyxfind.C: remove !NEW_INSETS cruft
14317
14318         * lyx_cb.C: remove !NEW_INSETS cruft
14319
14320         * figureForm.C: remove  !NEW_INSETS cruft
14321
14322         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14323
14324         * buffer.[Ch]: remove !NEW_INSETS cruft
14325
14326         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14327
14328         * CutAndPaste.C: remove !NEW_INSETS cruft
14329
14330         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14331
14332         * BufferView2.C: remove !NEW_INSETS cruft
14333
14334         * BufferView.h: remove !NEW_INSETS cruft
14335
14336 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14337
14338         * Lsstream.h: include LString.h before the sstream headers to
14339         fix problem with gcc 2.95.3 and lyxstring
14340
14341 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * lyx_main.C: add using directives when needed for C functions
14344         declared in std:: namespace.
14345
14346 2001-04-27  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14349         (SetHeightOfRow): comment out the update call should not be needed!
14350
14351 2001-04-13  Juergen Vigna  <jug@sad.it>
14352
14353         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14354         (LyXTabular): tried to minimize operator= operations (and realized
14355         hopfully Lars wish).
14356
14357 2001-04-27  Juergen Vigna  <jug@sad.it>
14358
14359         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14360
14361 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14364
14365         * buffer.C (readInset): hack to make listof algorithm work
14366
14367         * BufferView_pimpl.C: hack to make listof algorithm work
14368
14369 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14370
14371         * LyXAction.C: removed all !NEW_INSETS cruft
14372         (init): moved lfun_item in method
14373
14374         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14375
14376 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * BufferView2.C (theLockingInset): white space.
14379
14380 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * minibuffer.C: include <iostream>
14383
14384         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14385
14386         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14387
14388         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14389
14390         * text.[Ch] (TransposeChars): new method
14391
14392 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * call message directly through LyXView instead of through LyXFunc
14395         * BufferView2.C: adjust
14396         * BufferView_pimpl.C: adjust
14397         * FontLoader.C: adjust
14398         * buffer.C: adjust
14399         * bufferview_funcs.C: adjust
14400         * converter.C: adjust
14401         * figureForm.C: adjust
14402         * importer.C: adjust
14403         * lyx_cb.C: adjust
14404         * lyx_gui_misc.C: adjust
14405         * lyxfunc.C: adjust
14406         * lyxvc.C: adjust
14407         * text2.C: adjust
14408         + more files in subdirs
14409
14410         * lyxparagraph.h (size): move up int file
14411         (GetLayout): ditto
14412
14413         * adjust all uses of Assert to lyx::Assert.
14414
14415         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14416         lyxfunctional in namespace lyx
14417         * layout.C (hasLayout): ditto
14418         (GetLayout): ditto
14419         (GetLayout): ditto
14420         (delete_layout): ditto
14421         (NumberOfClass): ditto
14422         * converter.C (GetFormat): ditto
14423         (GetNumber): ditto
14424         (Add): ditto
14425         (Delete): ditto
14426         (SetViewer): ditto
14427         * bufferlist.C (getFileNames): ditto
14428         (emergencyWriteAll): ditto
14429         (exists): ditto
14430         (getBuffer): ditto
14431         * MenuBackend.C (hasSubmenu): ditto
14432         (hasMenu): ditto
14433         (getMenu): ditto
14434         * BufferView_pimpl.C (getInsetByCode): ditto
14435
14436 2001-04-18  Juergen Vigna  <jug@sad.it>
14437
14438         * vspace.C (asLatexString): fixed the 100% problem.
14439
14440 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * lyxfunc.C (Dispatch):
14443         * minibuffer.C:
14444         * minibuffer.h: add a few std:: qualifiers
14445
14446 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14447
14448         * minibuffer.[Ch]: reimplement so that commands is initiated and
14449         run from lyxfunc, simplified som handling, and made the completion
14450         and history code for complete. wip.
14451
14452         * lyxfunc.C (processKeySym): call message
14453         (miniDispatch): new temporary method
14454         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14455         (LFUN_MESSAGE): implement
14456         (LFUN_MESSAGE_PUSH): implement
14457         (LFUN_MESSAGE_POP): implement
14458         (initMiniBuffer): the initial/defualt minibuffer message.
14459
14460         * lyxfont.[Ch]: inline some more getters
14461
14462         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14463
14464         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14465
14466         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14467         (AutoSave): use LFUN_MESSAGE
14468         (Reconfigure): ditto
14469
14470         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14471
14472         * figureForm.C: use LFUN_MESSAGE
14473
14474         * converter.C (runLaTeX): use LFUN_MESSAGE
14475
14476         * bufferview_funcs.C: use LFUN_MESSAGE
14477         (Melt): ditto
14478         (changeDepth): ditto
14479
14480         * bufferparams.h: use boost::
14481
14482         * bufferlist.h: inherit privately from noncopyable
14483
14484         * bufferlist.C (loadLyXFile): remove some commented code.
14485
14486         * buffer.C (runChktex): use LFUN_MESSAGE
14487
14488         * ShareContainer.h: inherit privately from noncopyable
14489
14490         * ParagraphParameters.[hC] (depth): inline it.
14491
14492         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14493         methods.
14494         (message): new method
14495         (messagePush): ditto
14496         (messagePop): ditto
14497         (show): init minibuffer
14498         (showState): direct call
14499
14500         * LaTeX.[Ch]: inherit privately from noncopyable
14501         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14502         instead of WriteStatus.
14503
14504         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14505
14506         * BufferView_pimpl.C (buffer): don't init minibuffer
14507         (workAreaButtonPress): use LFUN_MESSAGE
14508         (workAreaButtonRelease): ditto
14509         (savePosition): ditto
14510         (restorePosition): ditto
14511         (MenuInsertLyXFile): ditto
14512         (workAreaExpose): don't init minibuffer
14513         (update): remove commented code, simplify
14514
14515         * BufferView2.C (openStuff): use LFUN_MESSAGE
14516         (toggleFloat): ditto
14517         (menuUndo): ditto
14518         (menuRedo): ditto
14519         (copyEnvironment): ditto
14520         (pasteEnvironment): ditto
14521         (copy): ditto
14522         (cut): ditto
14523         (paste): ditto
14524         (gotoInset): ditto
14525         (updateInset): remove some commented code
14526
14527         * lastfiles.h: inherit privately from noncopyable
14528         * layout.h: ditto
14529         * lyx_gui.h: ditto
14530         * lyx_main.h: ditto
14531         * lyxlex.h: ditto
14532         * lyxlex_pimpl.h: ditto
14533
14534         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14535         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14536         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14537
14538         * LyXAction.h: inherit privately from noncopyable, add methods
14539         func_begin, func_end, returning iterators to the func map.
14540
14541         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14542         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14543         (func_begin): new method
14544         (func_end): new method
14545
14546         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14547         and not)
14548         (copySelection): ditto
14549         (pasteSelection): ditto
14550
14551         * BufferView.C: whitespace change
14552         * BufferView.h: inherit privately from noncopyable
14553
14554 2001-04-16  Allan Rae  <rae@lyx.org>
14555
14556         * tabular-old.C (l_getline):
14557         * spellchecker.C (sc_check_word):
14558         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14559         an unrecognised preprocessor directive.  So ensure they're wrapped.
14560
14561 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * src/exporter.C (Export): Give an error message when path to file
14564         contains spaces.
14565
14566 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14567
14568         * LaTeX.C (deplog): Always check that foundfile exists.
14569
14570 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14571
14572         * lyx_main.h:
14573         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14574
14575 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * tabular.[Ch] (getLabelList): implement new method
14578
14579         * minibuffer.h: comment ouf setTiimer
14580
14581         * minibuffer.C (ExecutingCB): constify res
14582         (peek_event): constify s
14583         (Set): constify ntext
14584         (Init): constify nicename
14585
14586         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14587
14588         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14589         (savePosition): use two params to Minibuffer::Set
14590         (restorePosition): ditto
14591
14592 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * lyx_main.C: include language.h
14595
14596         * Makefile.am (lyx_main.o): add language.h
14597
14598 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14599
14600         * exporter.C:
14601         * paragraph.C:
14602         * screen.C:
14603         * tabular.C:
14604         * CutAndPaste.C: include gettext.h
14605
14606         * lyxfont.h: remove old hack with ON and OFF.
14607
14608         * lyxparagraph.h:
14609         * lyxfont.h: do not include language.h...
14610
14611         * BufferView2.C:
14612         * LaTeXFeatures.C:
14613         * Painter.C:
14614         * bufferview_funcs.C:
14615         * font.C:
14616         * lyxfont.C:
14617         * text.C:
14618         * text2.C:
14619         * trans_mgr.C:
14620         * paragraph.C: ... but do it here instead
14621
14622 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14625
14626         * tabular.C: small reformat
14627
14628         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14629         NEW_INSETS version
14630         (GetChar): ditto
14631         (BreakParagraph): ditto
14632         (SetOnlyLayout): ditto
14633         (SetLayout): ditto
14634
14635         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14636         with one arg less.
14637
14638         * lastfiles.C: removed most using decl, add std:: where needed
14639
14640         * buffer.C: ws changes
14641
14642         * MenuBackend.C (class compare_format): put into anon namespace
14643         (expand): constify label, names, action, action2
14644         (expand):
14645
14646         * text.C (SingleWidth): constify font
14647         (IsBoundary): constify rtl2
14648         (GetVisibleRow): constify ww
14649
14650         * LaTeX.C (deplog): constify logfile
14651
14652         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14653         start_x, end_x
14654         (workAreaExpose): constify widthChange, heightChange
14655
14656         * lyxrow.C (par): moved
14657         (height): moved
14658         (next): moved
14659         * lyxrow.h: as inlines here
14660
14661         * lyxfont.h (shape): moved from lyxfont.C
14662         (emph): moved from lyxfont.C
14663
14664         * lyxfont.C (LyXFont): use initialization list for all
14665         constructors
14666         (shape): move to lyxfont.h as inline
14667         (emph): move to lyxfont.h as inline
14668
14669
14670 2001-04-04  Juergen Vigna  <jug@sad.it>
14671
14672         * vspace.C: had to include stdio.h for use of sscanf
14673
14674 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14675
14676         * BufferView.h:
14677         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14678         independent of xforms.
14679
14680 2001-04-02  Juergen Vigna  <jug@sad.it>
14681
14682         * spellchecker.C: fixed namespace placing!
14683
14684 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14685
14686         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14687         the LyXParagraph * is 0.
14688
14689 2001-03-29  Juergen Vigna  <jug@sad.it>
14690
14691         * vspace.C: added support for %, c%, p%, l%.
14692         (stringFromUnit): added helper function.
14693         (asLatexString): changed to give right results for the %-values.
14694
14695         * buffer.C: convert the widthp in a width%.
14696
14697 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14698
14699         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14700         figureForm.[Ch].
14701
14702         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14703         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14704
14705         * lyx_cb.[Ch]: see above.
14706
14707         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14708         form1.[Ch].
14709
14710         * form1.[Ch]:
14711         * lyx.[Ch]: replaced by figure_form.[Ch].
14712
14713         * lyx_gui.C:
14714         * lyx_gui_misc.C:
14715         * lyxfunc.C: changed headers associated with above changes.
14716
14717 2001-03-27  Juergen Vigna  <jug@sad.it>
14718
14719         * BufferView_pimpl.C: set the temporary cursor right!
14720
14721 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14722
14723         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14724
14725 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14726
14727         * LString.h: removed "using std::getline"!
14728
14729         * BufferView_pimpl.C (Dispatch): changes due to changes in
14730         InsetInclude::Params.
14731
14732         * buffer.C (tag_name): removed redundant break statements as they were
14733         producing lots of warnings with my compiler.
14734
14735 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * LString.h: add "using std::getline" when using the real <string>.
14738
14739 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14740
14741         * buffer.C: removed bitset usage.
14742         PAR_TAG moved to an anonymous name space.
14743         (tag_name): new funtion, also in the anonymous namespace.
14744         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14745         (makeDocBookFile): clean code. Completed transition from string arrays
14746         to string vectors.
14747         (SimpleDocBookOnePar): code clean.
14748
14749 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14750
14751         * tabular.C: add some comments.
14752
14753 2001-03-22  Juergen Vigna  <jug@sad.it>
14754
14755         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14756         compatibility read a bit and fixed bug with minipage in different
14757         depth.
14758
14759 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14760
14761         * buffer.C (pop_tag): removed.
14762         (push_tag): removed.
14763         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14764         array replaced with vector. Added support for CDATA sections.
14765         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14766         at any nest level.
14767         (makeDocBookFile): XML conformant declaration of CDATA section,
14768         fixed bug related to <emphasis> in the first paragraph char.
14769         (sgmlOpenTag): exclude empty tags.
14770         (sgmlCloseTag): ditto.
14771
14772         * buffer.h (pop_tag): removed.
14773         (push_tag): removed.
14774
14775 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14776
14777         * language.h (Languages): added size_type and size().
14778
14779 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14780
14781         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14782         response on compability reading of minipages. One probliem is that
14783         the old usage of minipages was «flertydig»
14784
14785         * several files here and in subdirs: don't use static at file
14786         scope use anon namespaces instead.
14787
14788 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14789
14790         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14791         LaTeX output. This is necessary for Literate document
14792         processing.
14793
14794 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14795
14796         * buffer.C: insert hfill when needed.
14797
14798         * tabular.C (l_getline): use string::erase, small whitespace change.
14799
14800         * BufferView_pimpl.C: try the anon namespace.
14801         * WorkArea.C: ditto
14802
14803 2001-03-16  Juergen Vigna  <jug@sad.it>
14804
14805         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14806         otherwise it won't open options-dialogs.
14807
14808         * buffer.C: honor pextraWidth(p) on converting minipages.
14809
14810         * tabular.C (l_getline): changed the functions to strip trailing \r.
14811
14812 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14813
14814         * BufferView_pimpl.C:
14815         * minibuffer..C: added "using SigC::slot" declaration.
14816
14817 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14818
14819         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14820
14821         * text2.C: ditto
14822
14823         * text.C: ditto
14824
14825         * paragraph.C: ditto
14826
14827         * lyxtext.h: NO_PEXTRA
14828
14829         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14830
14831         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14832         * ParameterStruct.h: ditto
14833         * ParagraphParameters.h: ditto
14834         * lyxparagraph.h: ditto
14835
14836 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14837
14838         * buffer.C: add compability for minipage alignment.
14839         (latexParagraphs): remove unwanted pextra check.
14840
14841         * several files: remove CXX_WORKING_NAMESPACES
14842
14843         * buffer.C (pop_tag): tie is in namespace boost
14844
14845         * BufferView.h: noncopyable is in namespace boost
14846         * lyxlex.h: ditto
14847         * lyx_main.h: ditto
14848         * lyx_gui.h: ditto
14849         * layout.h: ditto
14850         * lastfiles.h: ditto
14851         * bufferlist.h: ditto
14852         * ShareContainer.h: ditto
14853         * LyXView.h: ditto
14854         * LyXAction.h: ditto
14855         * LaTeX.h: ditto
14856
14857 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * Merging changes from BRANCH_MVC back into HEAD.
14860
14861         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14862
14863 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * BufferView_pimpl.C: change from intl.C
14866
14867         * combox.h:
14868         * combox.C:
14869         * Makefile.am: move combox.*
14870
14871         * form1.h:
14872         * form1.C:
14873         * lyx_gui.C:
14874         * intl.h:
14875         * intl.C: remove dialog (covered by prefs)
14876
14877 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14878
14879         * lyxfunc.C (Dispatch): removed redundant break statement.
14880
14881 2001-03-14  Juergen Vigna  <jug@sad.it>
14882
14883         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14884
14885 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14886
14887         * buffer.C: add hack to fix compability reading of minipages.
14888
14889 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14890
14891         * buffer.C (getLists): Cleanup.
14892
14893 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * lyxfont.C (update): don't honor toggleall on font size.
14896
14897 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14898
14899         * bmtable.c:
14900         * bmtable.h:
14901         * Makefile.am: moved to frontends/xforms/
14902
14903         * lyx_gui_misc.C:
14904         * lyxfunc.C:
14905         * BufferView_pimpl.C: changes for moved mathpanel
14906
14907 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * gettext.h: fix gettext_init() in --disable-nls
14910
14911 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14914
14915 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14916
14917         * lyx.C:
14918         * lyx.h: strip external form
14919
14920 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * BufferView_pimpl.C: add comment, destroySplash()
14923
14924 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * BufferView_pimpl.C:
14927         * LyXAction.C:
14928         * buffer.C:
14929         * commandtags.h:
14930         * lyxfunc.C: use re-worked insetinclude
14931
14932 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14933
14934         * buffer.C: add using std::stringstream.
14935
14936         * lyx_cb.C: readd using std::ios.
14937
14938         * buffer.C: add using std::map.
14939
14940         * BufferView_pimpl.C: add using std::vector.
14941
14942         * ShareContainer.h: add std:: to swap.
14943
14944         * buffer.h: add some typedefs
14945         * buffer.C (getLists): use them
14946         (getLists): renamed from getTocList.
14947         add a counter for the different float types and use it in the
14948         generated string.
14949         (getLists): use the same counter for the NEW_INSETS and the "non"
14950         NEW_INSETS
14951
14952         * lyx_cb.h: remove unused items, includes, using etc.
14953
14954         * ShareContainer.h: remove some commented code, add more comments
14955         and "documentation".
14956
14957 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14958
14959         * buffer.C (getTocList): make the list also when NEW_INSETS is
14960         defined.
14961
14962         * buffer.h: remove TocType
14963
14964         * buffer.C (getTocList): change to return a map<string,
14965         vector<TocItem> >, implement for dynamic number of list.
14966
14967         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14968         * text2.C (PasteSelection): adjust
14969         * CutAndPaste.C (pasteSelection): adjust
14970
14971         * FloatList.C (FloatList): update from the new_insets branch.
14972         * Floating.[Ch]: ditto
14973         * LaTeXFeatures.C: ditto
14974         * buffer.C: ditto
14975         * lyxlex_pimpl.C: ditto
14976
14977         * paragraph.C (Last): remove when NEW_INSETS is defined.
14978
14979         * other file: changes because of the above.
14980
14981 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14982
14983         * lyxparagraph.h: rename next to next_, previous to previous_,
14984         make them private for NEW_INSETS. Rename Next() to next(),
14985         Previous() to previous().
14986
14987         * other files: changes because of the above.
14988
14989 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14990
14991         * BufferView.h:
14992         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14993         problem.
14994
14995 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * main.C (main): pass lyx_localedir to gettext_init().
14998
14999         * gettext.h: remove locale_init and gettext_init macros
15000
15001         * gettext.C (locale_init): new function
15002         (gettext_init): new function
15003
15004         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15005         setlocale().
15006
15007 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15008
15009         * Moved credits to frontends:
15010         * credits.[Ch]: removed
15011         * credits_form.[Ch]: removed
15012         * lyx_gui_misc.C: remove credits stuff
15013         * Makefile.am:
15014
15015 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15016
15017         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15018
15019         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15020         unneeded destructor.
15021
15022         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15023         a standalone pointer again.
15024
15025         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15026
15027 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15028
15029         * Makefile.am:
15030         * filedlg.h:
15031         * filedlg.C:
15032         * LyXAction.C:
15033         * ToolbarDefaults.C:
15034         * bufferlist.C:
15035         * commandtags.h:
15036         * form1.C:
15037         * form1.h:
15038         * lyx_cb.C:
15039         * lyx_cb.h:
15040         * lyxfunc.h:
15041         * lyxfunc.C:
15042         * BufferView_pimpl.C: use new file dialog in GUII
15043
15044         * lyx_cb.h:
15045         * lyx_cb.C: remove LayoutsCB to Toolbar
15046
15047 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15048
15049         * ShareContainer.h (get): add std:: qualifier
15050
15051 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * ShareContainer.h: define a proper ShareContainer::value_type
15054         type (and use typename to please compaq cxx)
15055
15056 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15057
15058         * lyxparagraph.h: move serveral local vars to
15059         ParameterStruct/ParagraphParameters., use ShareContainer in
15060         FontTable., make vars in FontTable private and add getter and
15061         setter.
15062
15063         * paragraph.C: changes because of the above.
15064
15065         * lyxfont.h: remove copy constructor and copy assignment. (the
15066         default ones is ok), move number inside FontBits. move inlines to
15067         lyxfont.C
15068
15069         * lyxfont.C: add number to initializaton of statics, move several
15070         inlines here. constify several local vars. some whitespace
15071         cleanup. Dont hide outerscope variables.
15072
15073         * Spacing.h: add two new constructors to match the set methods.
15074
15075         * ShareContainer.h: new file, will perhaps be moved to support
15076
15077         * ParameterStruct.h: new file
15078
15079         * ParagraphParameters.h: new file
15080
15081         * ParagraphParameters.C: new file
15082
15083         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15084         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15085
15086         * BufferView_pimpl.C: ParagraphParameter changes.
15087         * buffer.C: Likewise.
15088         * bufferview_funcs.C: Likewise.
15089         * text.C: Likewise.
15090         * text2.C: Likewise.
15091
15092 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * lyxfind.C (LyXReplace): do not redefine default argument in
15095         implementation.
15096         (IsStringInText): ditto
15097         (SearchForward): ditto
15098         (SearchBackward): ditto
15099
15100 2001-03-06  Juergen Vigna  <jug@sad.it>
15101
15102         * lyxfind.C (IsStringInText): put parentes around expressions.
15103
15104 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15105
15106         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15107
15108 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15111
15112         * stl_string_fwd.h: add comment
15113
15114         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15115
15116         * tabular.h:
15117         * tabular.C: remove unused DocBook methods
15118
15119         * intl.C:
15120         * language.C:
15121         * paragraph.C:
15122         * buffer.C:
15123         killed DO_USE_DEFAULT_LANGUAGE
15124
15125 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15126
15127         * lyx_gui.C: do not include language.h.
15128
15129         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15130         arguments in function implementation.
15131
15132 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15133
15134         * BufferView_pimpl.C: add <ctime>
15135
15136 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15137
15138         * BufferView_pimpl.C: add using std::find_if
15139
15140 2001-02-27  José Matos  <jamatos@fep.up.pt>
15141
15142         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15143         by OnlyPath.
15144
15145 2001-02-11  José Matos  <jamatos@fep.up.pt>
15146
15147         * buffer.C (makeDocBookFile): command styles now have a parameter as
15148         "title" by default.
15149
15150 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15151
15152         * layout_forms.[Ch]: removed
15153         * lyx_cb.[Ch]: out character
15154         * lyx_gui.C: out character
15155         * lyx_gui_misc.C: out character
15156         * bufferview_funcs.C: : out character,
15157         added toggleall as parameter in ToggleAndShow
15158
15159 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15162
15163         * text2.C (SetCurrentFont): Disable number property at boundary.
15164
15165 2001-02-26  Juergen Vigna  <jug@sad.it>
15166
15167         * lyxfunc.C (getStatus): added a string argument override function so
15168         that this is correctly called from LyXFunc::Dispatch if it contains a
15169         do_not_use_argument which is used!
15170         (Dispatch): added check for "custom" export and call appropriate func.
15171
15172 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * lyxrc.C: Add language_command_local, language_use_babel and
15175         language_global_options.
15176
15177         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15178
15179         * buffer.C (makeLaTeXFile): Use language_use_babel and
15180         language_global_options.
15181
15182 2001-02-23  Juergen Vigna  <jug@sad.it>
15183
15184         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15185         which works with LyXText and putted it inside BufferView. Here now we
15186         only call for that part the BufferView::Dispatch() function.
15187
15188         * BufferView.C (Dispatch): added.
15189
15190         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15191         functions which needs to use a LyXText over from LyXFunc.
15192         (MenuInsertLyXFile): added
15193         (getInsetByCode): added
15194         (moveCursorUpdate): added
15195         (static TEXT): added
15196
15197 2001-02-22  Juergen Vigna  <jug@sad.it>
15198
15199         * BufferView_pimpl.C (update): call a status update to see if LyXText
15200         needs it.
15201
15202 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15203
15204         * vc-backend.C (revert): implement for CVS
15205         (getLog): implement for CVS
15206
15207 2001-02-20  Juergen Vigna  <jug@sad.it>
15208
15209         * text2.C (ClearSelection): added BufferView param for inset_owner call
15210
15211         * lyxfunc.C (TEXT): added this function and use it instead of
15212         directly owner->view()-text of getLyXText().
15213
15214 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15215
15216         * src/layout_forms.C: out preamble
15217         * src/layout_forms.h: out preamble
15218         * src/lyx_cb.C: out preamble
15219         * src/lyx_cb.h: out preamble
15220         * src/lyx_gui.C: out preamble
15221         * src/lyx_gui_misc.C: out preamble
15222         * src/lyxfunc.C: connect with guii preamble
15223
15224 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15225
15226         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15227
15228 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15231         whether to run bibtex.
15232
15233 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15234
15235         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15236
15237 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15238
15239         * Makefile.am (lyx_SOURCES): removed bibforms.h
15240
15241         * vspace.h: doxygen
15242
15243         * text.C (GetVisibleRow): make several local vars const
15244
15245         * tabular.C: small cleanup.
15246
15247         * lyxserver.C (callback): use compare instead of strncmp
15248
15249         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15250         inlines to after class or to paragraph.C
15251
15252         * lyxfont.h: remove friend operator!=
15253
15254         * converter.h: move friend bool operator< to non friend and after
15255         class def.
15256
15257         * combox.h: small cleanup
15258
15259         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15260         to inlines after class def.
15261
15262         * buffer.C (pop_tag): use string operations instead of strcmp
15263
15264         * bmtable.c: doxygen, small cleanup
15265
15266         * LaTeX.h: remove friend operator==
15267
15268 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15269
15270         * screen.C:
15271         * lyxrc.[Ch]:
15272         * lyxfunc.C:
15273         * lyxfont.[Ch]:
15274         * lyx_cb.C:
15275         * intl.[Ch]:
15276         * commandtags.h:
15277         * buffer.C:
15278         * WorkArea.[Ch]:
15279         * LyXAction.C:
15280         * BufferView_pimpl.C:
15281         * BufferView.[Ch]: remove cruft
15282
15283 2001-02-14  Juergen Vigna  <jug@sad.it>
15284
15285         * lyxfunc.C: removed #if 0 unused code
15286
15287         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15288
15289         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15290
15291         * text2.C (SetSelection): added a BufferView * parameter
15292
15293 2001-02-13  Juergen Vigna  <jug@sad.it>
15294
15295         * lyxfunc.C (Dispatch): fixed protected blank problem.
15296         * BufferView2.C (protectedBlank): added LyxText * parameter.
15297
15298         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15299         (AppendColumn): same as above for column_info.
15300
15301         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15302         (moveCursorUpdate): use a LyXText param for support of InsetText.
15303
15304         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15305         (tripleClick): ditto
15306
15307         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15308
15309         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15310
15311         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15312
15313         * text2.C (SetSelection): set correct update status if inset_owner
15314         (ToggleFree): ditto
15315
15316 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15317
15318         * tabular.C: remove some commented code.
15319
15320 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * BufferView_pimpl.C: call hideSplash()
15323
15324         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15325
15326         * include_form.h:
15327         * bibforms.h: remove
15328
15329         * lyxfunc.C:
15330         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15331           add LFUN_CHILD_CREATE
15332
15333         * counters.h: fix tiny typo
15334
15335         * lyx_cb.C:
15336         * lyx.h:
15337         * lyx_gui.C:
15338         * lyx.C: move splash to frontends/xforms/
15339
15340         * lyx_gui_misc.C: move Include and Bibform to frontends
15341
15342         * lyxvc.h: clarify comment
15343
15344         * vspace.C: tiny housekeeping
15345
15346 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15347
15348         * text.C (PrepareToPrint): RTL Fix.
15349
15350         * paragraph.C (GetUChar): New method.
15351         (String):  Use GetUChar.
15352
15353         * buffer.C (asciiParagraph): Use GetUChar.
15354
15355 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15356
15357         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15358
15359 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * buffer.h:
15362         * buffer.C: rename to getLogName(), handle
15363           build log / latex log nicely
15364
15365 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * MenuBackend.C:
15368         * MenuBackend.h: remove support for reference menuitem type.
15369
15370 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15371
15372         * BufferView_pimpl.C: housekeeping
15373         * BufferView_pimpl.h:
15374         * LyXView.h:
15375         * Makefile.am:
15376         * Timeout.C:
15377         * Timeout.h:
15378         * minibuffer.h: move Timeout GUI-I
15379
15380 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * lyxrc.C (read): Update converters data-structures.
15383
15384 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15385
15386         * LaTeX.h (operator!=): add operator != for Aux_Info
15387
15388 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15391
15392         * LaTeXLog.C: deleted, useful code moved to Buffer
15393
15394         * buffer.h:
15395         * buffer.C: new function getLatexLogName()
15396
15397         * lyx_gui_misc.C:
15398         * lyx_gui.C:
15399         * lyxvc.C:
15400         * lyxvc.h:
15401         * lyxfunc.C: use frontends for LaTeX and VC logs
15402
15403 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * LaTeX.h: yet another std:: that Allan forgot.
15406
15407         * Variables.C (set): renamed from isset(), because this clashes
15408         with some HP-UX macros (grr).
15409
15410 2001-02-06  Allan Rae  <rae@lyx.org>
15411
15412         * LaTeX.h: Another bug fix.  Missing std:: this time.
15413
15414 2001-02-04  Allan Rae  <rae@lyx.org>
15415
15416         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15417         floats problem. I've left it commented out because it's not quite
15418         correct.  It should also test that the current object is a table or
15419         figure inset.  But I haven't gotten around to figuring out how to do
15420         that.  I *think* it'll be something like: "table" == inset.type()
15421
15422         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15423         bool.
15424
15425 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15428         all the citation/databases/styles in the auxilary file.
15429         (run): Rerun latex if there was a babel language error.
15430
15431 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15432
15433         * text.C (Backspace): Preserve the font when changing newline char
15434         with a space.
15435         (BreakParagraph): If the cursor is before a space, delete the space.
15436
15437         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15438
15439 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15440
15441         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15442         new argument (code).
15443         (ChangeCitationsIfUnique): New method.
15444
15445         * paragraph.C (GetPositionOfInset): Handle bibkey.
15446
15447 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * BufferView_pimpl.h: change type of Position::par_pos to
15450         LyXParagraph::size_type.
15451
15452 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15453
15454         * BufferView_pimpl.C (savePosition, restorePosition): Write
15455         messages to minibuffer.
15456
15457 2001-01-28  José Matos  <jamatos@fep.up.pt>
15458
15459         * buffer.C (makeDocBookFile): adds support for document language.
15460         A silly restriction on the name of LatexCommand types where removed.
15461         Added support for CDATA sections, allows to chars unescaped, used
15462         among others in code, to avoid escape < and >.
15463
15464 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15465
15466         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15467         saved positions instrad of a stack. Furthermore, a position is
15468         stored using paragraph id/paragraph position.
15469
15470         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15471         Remove LFUN_REF_BACK.
15472
15473 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15474
15475         * converter.C (dvipdfm_options): New method.
15476
15477 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15478
15479         * vspace.C (isValidLength): Fix for empty input string.
15480
15481 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * LyXAction.C (init): change description of LFUN_FIGURE to
15484         "Insert Graphics"
15485
15486 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15487
15488         * LaTeX.C: add using directive
15489
15490 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15491
15492         * MenuBackend.C (expand): Fix the sorting of the formats.
15493
15494 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15495
15496         * lyx_main.C: tiny error message fix
15497
15498 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15501         calling fl_initialize(). This fixes the problem with ',' as
15502         decimal separator in text files.
15503
15504 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15505
15506         * trans.C (process): Fix the keymap bug.
15507
15508 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15509
15510         * LaTeX.C (scanAuxFiles): New method. Provides support for
15511         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15512         (scanLogFile) Scan for "run BibTeX" messages.
15513
15514         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15515         OT1 font encoding. Also, load the aecompl package if the ae
15516         package is loaded.
15517
15518         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15519
15520 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15521
15522         * texrow.C (increasePos): turn two error messages into debug
15523         messages.
15524
15525 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * LaTeX.C (scanAux): Handle the \@input macro.
15528         (runBibTeX): Use scanAux().
15529
15530         * language.C (latex_options_): New field.
15531
15532         * LaTeXFeatures.C (getMacros): Add language macros.
15533
15534         * buffer.C (makeLaTeXFile): Small fix.
15535
15536 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15537
15538         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15539
15540         * text2.C: add a using directive.
15541
15542 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15543
15544         * BufferView2.C:
15545         * lyx_gui_misc.h:
15546         * lyxfr1.C:
15547         * lyxfunc.C: kill LyXBell.
15548
15549 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15550
15551         * text.C (IsBoundary): Remove the error message
15552
15553         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15554
15555         * lyxrc.C (setDefaults): Correct initialization value for
15556         font_norm_type.
15557
15558 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15559
15560         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15561         gotoError().
15562
15563         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15564         and GotoNextNote().
15565
15566         * src/LyXAction.C: Added reference-next.
15567
15568         * text.C (InsertChar): Use contains instead of strchr.
15569
15570         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15571
15572 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15573
15574         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15575         alignment commands (when needed).
15576
15577         * text.C (InsertChar): Add ':' to number separator chars.