]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e9fc946a5223fd53c66df4ac5d9755cad666d72f
[lyx.git] / src / ChangeLog
1
2 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text3.C (dispatch): supress update when only moving the cursor
5         * cursor.C (selHandle): remove commented code
6
7 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * paragraph.C (startTeXParParams): correct column count
10         * CutAndPaste.C (pasteSelection): remove const_cast
11         * output_docbook.C (docbookParagraphs): remove const_cast
12         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
13         const_cast and return ParagraphList::const_iterator
14         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
15         * output_plaintext.C (writeFileAscii): remove const_cast
16         * paragraph.[Ch] (simpleTeXOnePar): make const
17         * paragraph_funcs.C (outerPar): use const iterators
18         * paragraph_pimpl.C (validate): use const iterators
19         * text.C (setHeightOfRow): use const iterators
20
21 2004-05-17  Angus Leeming  <leeming@lyx.org>
22
23         * lfuns.h:
24         * LyXAction.C (init): new LFUN_INSET_REFRESH.
25
26         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
27         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
28         if the citation engine has changed.
29
30 2004-05-14  José Matos  <jamatos@lyx.org>
31
32         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
33         if the textclass does not provide it. Have it different for sgml and
34         xml.
35         support the language of document.
36         * output_docbook.C (docbookParagraphs):
37         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
38         first anchor as the id of the paragraph, remove special case code.
39         * sgml.C (escapeChar): escape only < & >.
40
41 2004-05-14  Angus Leeming  <leeming@lyx.org>
42
43         * bufferparams.h: move biblio::CiteEngine enum here to minimize
44         dependencies on src/frontends/controllers/biblio.h. Define a
45         CiteEngine_enum wrapper class to enable the enum to be forward
46         declared.
47
48 2004-05-12  Angus Leeming  <leeming@lyx.org>
49
50         * buffer.C: up LYX_FORMAT to 234.
51         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
52         use_numerical_citations with a single biblio::CiteEngine cite_engine
53         variable.
54         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
55
56 2004-05-13  José Matos  <jamatos@lyx.org>
57
58         * converter.h:
59         * converter.C (Converter, readFlags): add xml member.
60         * outputparams.h: add XML flavor.
61         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
62
63 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * lyxfunc.C (dispatch): 
66         (getStatus): fix handling of LFUN_SEQUENCE
67
68 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * debug.C (showLevel): do not forget the end-of-line marker
71
72 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * kbmap.C (read): do not stop parsing a bind file when an error
75         occurs (bug 1575)
76
77 2004-04-29  Angus Leeming  <leeming@lyx.org>
78
79         * cursor.C:
80         * factory.C:
81         * pariterator.C:
82         * text2.C: wrap a bunch of #warning statements
83         inside #ifdef WITH_WARNINGS blocks.
84
85 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * buffer.C: increment format to 233.
88
89 2004-04-28  Angus Leeming  <leeming@lyx.org>
90
91         * BufferView_pimpl.C:
92         * lyxfunc.C:
93         * text3.C:
94         s/updateToolbar()/updateToolbars()/
95         s/Toolbar.h/Toolbars.h/
96
97 2004-04-28  Angus Leeming  <leeming@lyx.org>
98
99         * BufferView.[Ch] (c-tor):
100         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
101         No longer passes these data to the WorkArea generator.
102
103 2004-04-28  Angus Leeming  <leeming@lyx.org>
104
105         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
106
107 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
110
111 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * output_latex.C (TeXEnvironment): make sure that there is a line
114         break before \end{foo} for the last paragraph of a document
115         (TeXOnePar): if the paragraph is at the end of the document (or
116         inset) and the language has to be reset, then make sure that the
117         line break is _before_ the language command, not after (fixes bug
118         1225); also make sure that the language reset command is the first
119         thing after the paragraph (to ensure proper nesting of
120         environments and thus fix bug 1404)
121
122 2004-04-21  John Levon  <levon@movementarian.org>
123
124         * ToolbarBackend.h:
125         * ToolbarBackend.C: make "name" be a programmatic name
126         and a gui_name field.
127
128         * lyxfunc.C: display the minibuffer on M-x
129
130 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
133         (bug 1526)
134
135 2004-04-19  Angus Leeming  <leeming@lyx.org>
136
137         * BufferView_pimpl.C (setBuffer): changed preview interface.
138
139         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
140         possible values.
141
142 2004-04-19  John Levon  <levon@movementarian.org>
143
144         * BufferView_pimpl.C:
145         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
146
147 2004-04-05  Angus Leeming  <leeming@lyx.org>
148
149         * text.C (redoParagraphs): add call to updateCounters(), thereby
150         fixing the missing "Figure #:" label from the caption of a
151         figure float.
152
153 2004-04-13  Angus Leeming  <leeming@lyx.org>
154
155         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
156         cursor is clicked out of an inset.
157
158 2004-04-13  Angus Leeming  <leeming@lyx.org>
159
160         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
161         than an InsetOld one.
162
163 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * format.[Ch]: add editor to Format
166         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
167         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
168
169 2004-04-08  André Pönitz  <poenitz@gmx.net>
170
171         * metricsinfo.h: remove PainterInfo::width member
172
173 2004-04-08  Angus Leeming  <leeming@lyx.org>
174
175         * lyx_sty.C (boldsymbol_def): modify so that it outputs
176         "\providecommand" rather than "\newcommand", thereby preventing
177         clashes with packages that define "\boldsymbol" themselves.
178         Eg, beamer.
179
180 2004-04-08  Angus Leeming  <leeming@lyx.org>
181
182         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
183         thereby squashing an unnecessary warning.
184
185 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
186
187         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
188         setBuffer()
189
190 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
191
192         * BufferView.C (setCursor): call redoParagraph (some insets could
193         have been opened)
194         (putSelectionAt): remove the 'double update' trick
195
196         * BufferView_pimpl.C (fitCursor): call refreshPar
197         (workAreaDispatch): remove an uneeded update call
198         (dispatch): remove some manual update calls
199
200         * cursor.[Ch]: remove cached_y_, updatePos
201         (selHandle): set noUpdate when appropriate
202
203         * lyxfunc.C (dispatch): track if we need an update
204
205         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
206
207         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
208         (paintSelection): cheap optimization, do not call cursorX when not
209         needed
210         (paintPars): change signature
211         (refreshPar): add
212         (paintText): adjust
213         (paintTextInset): adjust
214
215         * text.C: adjust
216
217 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * lengthcommon.C: compilation fix: remove explicit array size from
220         unit_name[] and friends
221
222 2004-04-05  Angus Leeming  <leeming@lyx.org>
223
224         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
225
226         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
227         present only for the preferences dialog.
228         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
229
230 2004-04-05  Angus Leeming  <leeming@lyx.org>
231
232         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
233         to enable the frontends to export changes to lyxrc correctly.
234
235         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
236
237 2004-04-07  André Pönitz  <poenitz@gmx.net>
238
239         * cursor.[Ch] (selClear, adjust): remove math
240
241         * cursor_slice.C: more agressive assert
242
243         * lyxfunc.C:
244         * BufferView_pimpl.C: rework mouse event dispatch
245
246         * dociterator.C:
247         * paragraph.C:
248         * text2.C:
249         * text3.C: adjust
250
251 2004-04-05  André Pönitz  <poenitz@gmx.net>
252
253         * cursor.[Ch] (valign, halign...): remove unneeded functions
254
255 2004-04-05  Angus Leeming  <leeming@lyx.org>
256
257         * lyxlength.[Ch] (unit_name et al.): const-correct.
258
259 2004-04-05  Angus Leeming  <leeming@lyx.org>
260
261         * BufferView_pimpl.C:
262         * buffer.C:
263         * counters.C:
264         * cursor.C:
265         * lyxfunc.C
266         * paragraph.C:
267         * pariterator.C:
268         * text.C:
269         * text2.C:
270         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
271
272 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
273
274         * text3.C (getStatus): add LFUN_BEGINNINGBUF
275
276 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * lyxfind.C: add a couple of inTexted() tests + other small fixes
279         * BufferView_pimpl.[Ch] (getStatus)
280         * BufferView.[Ch] (getStatus): add
281         * lyxfunc.C (getStatus): move lfuns handled in
282         BufferView::dispatch to te function above
283         * Cursor.C (setSelection): set selection() = true
284
285 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
288
289 2004-03-31  Angus Leeming  <leeming@lyx.org>
290
291         * lyxfunc.C (dispatch): Fall through to the generic
292         Dialogs::show("preamble").
293
294 2004-03-31  Angus Leeming  <leeming@lyx.org>
295
296         * lyxfunc.C (dispatch): Fall through to the generic
297         Dialogs::show("spellchecker").
298
299 2004-03-31  Angus Leeming  <leeming@lyx.org>
300
301         * lyxfunc.C (getStatus, dispatch): changed invocation of the
302         preferences dialog.
303
304 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * BufferView.C
307         * cursor.[Ch]
308         * dociterator.[Ch]:
309         * insetiterator.[Ch]:
310         * lyxfind.C:
311         * lyxfunc.C:
312         * pariterator.[Ch]:
313         * text2.C:
314         * undo.[Ch]: s/DocumentIterator/DocIterator/g
315
316 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
317
318         * BufferView.C (setCursor, putSelectionAt): call edit to open the
319         insets where we are putting the cursor.
320
321 2004-03-31  Angus Leeming  <leeming@lyx.org>
322
323         * lfuns.h:
324         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
325
326         * lyxrc.[Ch] (read, write): overloaded member functions taking
327         a std::[io]stream arguments.
328
329         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
330
331 2004-03-31  Angus Leeming  <leeming@lyx.org>
332
333         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
334         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
335
336         * lyxtextclass.C (load): if the text class couldn't be loaded, then
337         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
338
339 2004-03-31  Angus Leeming  <leeming@lyx.org>
340
341         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
342         the LFUN_ALL_INSETS_TOGGLE code.
343
344 2004-03-30  Angus Leeming  <leeming@lyx.org>
345
346         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
347         has died. Fall through to the generic Dialogs::show("document").
348
349 2004-03-30  Angus Leeming  <leeming@lyx.org>
350
351         * lfuns.h:
352         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
353         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
354
355         * lyxfunc.C (getStatus, dispatch): define the actions for these
356         lfuns. Little more than a cut and pste job from ControlDocument.C
357
358         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
359
360 2004-03-30  Angus Leeming  <leeming@lyx.org>
361
362         * lfuns.h:
363         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
364         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
365
366         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
367         open/closed state of ollapsable insets. Usage:
368
369         all-inset-toggle <state> <name>, where
370         <state> == "open" || "closed" || "toggle" and
371         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
372
373         * lyxtext.h, text2.C (toggleInset): removed.
374
375         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
376         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
377         now passes LFUN_INSET_TOGGLE to the found inset.
378
379         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
380         is now invoked as "all-insets-toggle toggle branch".
381
382 2004-03-30  Angus Leeming  <leeming@lyx.org>
383
384         * dociterator.C:
385         * insetiterator.C:
386         * pariterator.[Ch]: added/corrected header blurb.
387
388 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * dociterator.[Ch]: add an inset_ member
391         (backwardPos): implemented
392         (backwardPos, forwardPos): use inset_ when the stack is empty.
393         (doc_iterator_begin, doc_iterator_end): implemented
394         * pariterator.[Ch]: adjust, add begin, end
395         * insetiterator.[Ch]: adjust, add begin, end
396         * cursor.C:
397         * document.C:
398         * BufferView.C:
399         * BufferView_pimpl.C:
400         * CutAndPaste.C: adjust
401
402 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * buffer.C: increment file format to 232.
405         * LaTeXFeatures.C: add bibtopic package.
406         * bufferparams.[Ch]: param \use_bibtopic.
407
408         * lyxrc.[Ch]: add lyxrc bibtex_command
409         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
410
411         * buffer.C: increment file format to 231.
412
413 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * dociterator.C: implement forwardPar
416         * iterators.[Ch]: remove, replaced by
417         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
418         * BufferView.C:
419         * BufferView_pimpl.C:
420         * CutAndPaste.C:
421         * buffer.C:
422         * bufferview_funcs.C:
423         * cursor.C:
424         * lyxfind.C
425         * lyxfunc.C
426         * paragraph_funcs.C
427         * toc.C:
428         * Makefile.am: adjust
429
430 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * CutAndPaste.C (pasteSelection): fix 2 crashes
433         (eraseSelection): fix a crash
434         * paragraph_funcs.C: remove a warning
435
436 2004-03-28  Angus Leeming  <leeming@lyx.org>
437
438         * lfuns.h:
439         * LyXAction.C (init): new LFUN_PRINT.
440
441         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
442
443 2004-03-27  Angus Leeming  <leeming@lyx.org>
444
445         * lfuns.h:
446         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
447
448         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
449
450 2004-03-27  Angus Leeming  <leeming@lyx.org>
451
452         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
453         insetlist always contains non-null pointers to insets.
454
455 2004-03-26  Angus Leeming  <leeming@lyx.org>
456
457         * src/BufferView_pimpl.C:
458         * src/CutAndPaste.C:
459         * src/buffer.C:
460         * src/iterators.C:
461         * src/output_plaintext.C:
462         * src/outputparams.h:
463         * src/paragraph_funcs.C:
464         * src/rowpainter.C:
465         * src/text.C:
466         * src/text2.C:
467         * src/frontends/controllers/ControlErrorList.C:
468         * src/frontends/gtk/FileDialogPrivate.C:
469         * src/frontends/gtk/GPainter.C:
470         * src/frontends/gtk/GToolbar.C:
471         * src/frontends/qt2/QRef.C:
472         * src/mathed/math_scriptinset.C: squash compiler warnings.
473
474 2004-03-26  Angus Leeming  <leeming@lyx.org>
475
476         * ispell.C (LaunchIspell::start):
477         * lyx_cb.C (AutoSaveBuffer::start):
478         invoke run(DontWait) rather than runNonBlocking().
479
480 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
481
482         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
483
484 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * kbsequence.C (print): adjust
487
488         * kbmap.C (printKeySym): rename and change signature
489         (printKey): use LyXKeySym::print()
490
491 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
492
493         * undo.C: add using std::advance to compile for stlport
494
495 2004-03-24  Angus Leeming  <leeming@lyx.org>
496
497         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
498         it leads to a crash when no buffer is present.
499
500 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501             Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * lyxfunc.C (dispatch):
504         * bufferparams.C (readToken): use the new LColor::setColor
505
506         * LColor.[Ch] (setColor): new version that takes two strings as
507         argument and creates a new color entry if necessary
508
509 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
510
511         * buffer.C (makeLaTeXFile): if the main latex file that is
512         processed is usually a subdocument of some master, then pretend
513         for a while that it is actually the master
514
515 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
516
517         * buffer.C (getLabelList):
518         (getBibkeyList): use getMasterBuffer()
519         (getMasterBuffer): new method. Returns the main document in the
520         case where one is using included documents.
521
522 2004-03-25  André Pönitz  <poenitz@gmx.net>
523
524         * Makefile.am:
525         * iterators.[Ch]:
526         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
527
528         * ParagraphList_fwd.h: change ParagraphList to a std::vector
529
530         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
531         text*.C over here. Rename namespace CutAndPaste to lyx::cap
532
533         * ParameterStruct.h: merge with ParagraphParameters
534
535         * lyxtext.h: remove LyXText::parOffset() and getPar()
536
537         * text3.C: Remove all 'manual' update calls. We do now one per user
538         interaction which is completely sufficient.
539
540         * Bidi.C:
541         * BufferView.[Ch]:
542         * BufferView_pimpl.C:
543         * FontIterator.[Ch]:
544         * MenuBackend.C:
545         * ParagraphParameters.[Ch]:
546         * buffer.C:
547         * buffer.h:
548         * bufferlist.C:
549         * cursor.[Ch]:
550         * cursor_slice.[Ch]:
551         * dociterator.[Ch]:
552         * errorlist.[Ch]:
553         * factory.C:
554         * lfuns.h:
555         * lyxfind.C:
556         * lyxfunc.C:
557         * output_docbook.[Ch]:
558         * output_latex.[Ch]:
559         * output_linuxdoc.[Ch]:
560         * output_plaintext.[Ch]:
561         * paragraph.[Ch]:
562         * paragraph_funcs.[Ch]:
563         * paragraph_pimpl.[Ch]:
564         * rowpainter.C:
565         * tabular.[Ch]:
566         * text.C:
567         * text2.C:
568         * toc.C:
569         * undo.[Ch]: adjust
570
571         * frontends/controllers/ControlDocument.C:
572         * frontends/controllers/ControlErrorList.C:
573         * frontends/controllers/ControlSpellchecker.C:
574         * insets/inset.C:
575         * insets/inset.h:
576         * insets/insetbase.h:
577         * insets/insetbibitem.C:
578         * insets/insetbox.C:
579         * insets/insetbranch.C:
580         * insets/insetcaption.C:
581         * insets/insetcharstyle.C:
582         * insets/insetcharstyle.h:
583         * insets/insetcollapsable.C:
584         * insets/insetcollapsable.h:
585         * insets/insetert.C:
586         * insets/insetfloat.C:
587         * insets/insetfoot.C:
588         * insets/insetmarginal.C:
589         * insets/insetnote.C:
590         * insets/insetoptarg.C:
591         * insets/insettabular.C:
592         * insets/insettext.C:
593         * insets/insettext.h:
594         * insets/insetwrap.C:
595         * mathed/math_mboxinset.C:
596         * mathed/math_nestinset.C:
597         * mathed/math_scriptinset.C:
598         * mathed/math_scriptinset.h:
599         * support/types.h:
600
601 2004-03-24  Angus Leeming  <leeming@lyx.org>
602
603         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
604         deal with any child processes that have finished but are waiting to
605         communicate this fact to the rest of LyX.
606
607 2004-03-24  Angus Leeming  <leeming@lyx.org>
608
609         64-bit compile fixes.
610
611         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
612         (c-tor): pass lyx::pos_types rather than ints.
613
614         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
615         lyx::pos_type.
616
617         * text.C (Delete): compile fix.
618         (getPar): ensure that function declaration is the same as that in
619         the header file.
620
621 2004-03-23  Angus Leeming  <leeming@lyx.org>
622
623         * ispell.C (LaunchIspell):
624         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
625         a boost::shred_ptr rather than a std::auto_ptr.
626
627 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * lyxfunc.C (getStatus): handle read-only buffers correctly;
630         handle LFUN_FILE_INSERT_*
631
632         * lyxrc.C (setDefaults, getDescription, output, read):
633         * lyxrc.h: remove ps_command
634
635 2004-03-22  Angus Leeming  <leeming@lyx.org>
636
637         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
638         Ensure that error_handler is processed once only and that all data
639         is saved before attempting to output any warning messages.
640
641         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
642
643 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * tabular.C (TeXRow): crash fix (from Kayvan and André)
646
647 2004-03-19  André Pönitz  <poenitz@gmx.net>
648
649         * cursor.[Ch] (reset): take main text inset as argument
650
651         * BufferView: adjust
652         * BufferView_pimpl.C: adjust
653
654         * paragraph.[Ch]: fix completely broken operator=()
655
656 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * LColor.C (getFromLyXName): make sure that the color name is used
659         as lowercase.
660
661 2004-03-17  Angus Leeming  <leeming@lyx.org>
662
663         * lfuns.h:
664         * LyXAction.C (init): remove LFUN_FORKS_KILL.
665
666         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
667         dialog and to kill a forked process.
668
669 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * text2.C (setCursorFromCoordinates): fix font problem
672
673 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
676         bogus "rebuild cursor" code
677
678 2004-03-11  André Pönitz  <poenitz@gmx.net>
679
680         * buffer.[Ch]: use InsetText instead of LyXText as container for
681         the main lyx text.
682
683         * dociterator.[Ch]: drop the BufferView * member which is not needed
684         anymore after the change to buffer.C
685
686         * paragraph_funcs.C:
687         * text.C:
688         * text2.C:
689         * BufferView.[Ch]:
690         * BufferView_pimpl.[Ch]:
691         * cursor.[Ch]:
692         * cursor_slice.[Ch]: adjust
693
694         * text3.C: fix bug in mathDispatch
695
696 2004-03-08  André Pönitz  <poenitz@gmx.net>
697
698         * undo.[Ch]: use 'StableDocumentIterator' as base for
699         the Undo struct.
700
701 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * LaTeXFeatures.C:
704         * bufferparams.[Ch]: add jurabib support and param.
705
706         * LaTeX.C: add FIXME/comment.
707
708 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * buffer.C: increment file format to 230.
711
712 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * cursor.C (dispatch): avoid infinite loops
715
716 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
717
718         * rowpainter.C (paintSelection): fix x coordinates
719
720 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
721
722         * text.C (rowBreakPoint): fix breaking before displayed insets
723
724 2004-03-01  André Pönitz  <poenitz@gmx.net>
725
726         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
727
728         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
729
730         * Makefile.am:
731         * BufferView.C:
732         * BufferView_pimpl.C:
733         * buffer.C:
734         * lyxfind.C:
735         * lyxfunc.C:
736         * text.C:
737         * text2.C:
738         * text3.C: adjust
739
740 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * lyxtext.h:
743         * text.C:
744         * text2.C:
745         * rowpainter.C:
746         * BufferView_pimpl.C: rename textwidth -> maxwidth,
747         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
748
749 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
750
751         * Bidi.[Ch] (computeTables): const correctness
752         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
753         fill_hfill, fill_label_hfill and x from Row
754         * lyxtext.h: prepareToPrint returns a RowMetrics
755         * rowPainter.C: adjust
756         * text.C (prepareToPrint): use width, not textWidth. adjust
757         (redoParagraphInternal, cursorX): adjust
758         * text2.C (getColumnNearX): adjust
759         (init): put a default value to the top LyXText::width
760
761 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
762
763         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
764
765 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
766
767         * lyxtext.h: add FontIterator class
768
769         * text.C (FontIterator, operator*, operator->, operator++): add
770         (rowBreakPoint, setRowWidth): adjust (fixing a
771         rebreaking bug)
772
773 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * BufferView_pimpl.C (workAreaDispatch): allow also
776         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
777
778 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
779
780         * text.C (rowBreakPoint): fix a bug showing with very large insets
781
782 2004-02-25  André Pönitz  <poenitz@gmx.net>
783
784         * text3.C:
785         * cursor.[Ch]: move some mathed specific code to mathed
786
787 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
788
789         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
790         use_tempdir in preferences
791         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
792         tempfile creation
793         * lyx_main.C: ensure that tempdir is valid
794         * lyxlex.h: correct typo
795         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
796         * paragraph.[Ch] (isMultiLingual): make const
797         * cursor.[Ch] (openable): make const
798
799 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
800
801         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
802
803 2004-02-20  André Pönitz  <poenitz@gmx.net>
804
805         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
806
807         * cursor.[Ch]: prepare for localized getStatus()
808
809         * lyxtext.h:
810         * tabular.C:
811         * text.C:
812         * text2.C:
813         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
814
815 2004-02-20  André Pönitz  <poenitz@gmx.net>
816
817         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
818
819 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
820
821         * text2.C (setCursorFromCoordinates): switch to absolute coords
822         (cursorUp): adjust
823         (cursorDown): adjust
824         * text3.C (dispatch): adjust
825
826 2004-02-16  André Pönitz  <poenitz@gmx.net>
827
828         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
829           insets/ChangeLog)
830
831         * cursor_slice.[Ch]: remove unneeded acessor function
832
833         * lyxtext.h: rename rtl() to isRTL()
834
835         * rowpainter.C:
836         * tabular.C:
837         * text.C:
838         * text2.C:
839         * text3.C: adjust
840
841 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
842
843         * rowpainter.C (paintSelection): coord fix
844
845 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
846
847         * Spacing.C: compile fix
848
849 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * cursor.C (dispatch): restore current_ before returning
852
853 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * text2.C (cursorUp, cursorDown): fix coords
856         (moveUp): fix crash
857
858 2004-02-12  André Pönitz  <poenitz@gmx.net>
859
860         * lyxtext.h:
861         * text.C:
862         * text2.C:
863         * text3.C: add LCursor & parameter to most cursor movement functions
864           remove usage of LyXText::cursorRow() and cursorPar()
865
866         * cursor.[Ch]: add textRow() needed members
867
868         * BufferView.C:
869         * BufferView_pimpl.C:
870         * paragraph.[Ch]:
871         * BufferView.C:
872         * BufferView_pimpl.C: adjust
873
874 2004-02-11  André Pönitz  <poenitz@gmx.net>
875
876         * lyxfunc.C:
877         * BufferView.[Ch]:
878         * BufferView_pimpl.C: shift undo/redo handling
879
880         * cursor.[Ch]: fix mathed crash
881
882         * lyxfind.C:
883         * lyxtext.h: move selectionAsText to LCursor
884
885         * output_latex.C:
886         * paragraph.C:
887         * text.C:
888         * text2.C:
889         * text3.C: adjust
890
891         * rowpainter.C: fix excessive drawing
892
893 2004-02-06  André Pönitz  <poenitz@gmx.net>
894
895         * BufferView.[Ch]:
896         * BufferView_pimpl.[Ch]:
897         * text3.C: move some text specific LFUN handling
898
899 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * text3.C (checkInsetHit): adjust coords
902         * text2.C (getColumnNearX): adjust coords
903         (edit): adjust coords
904         * text.C (getRowNearY): add two asserts
905
906 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
907
908         * converter.C:
909         * format.C: add using std::distance to compile on gcc 2.95/stlport
910
911 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
912
913         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
914
915 2004-02-04  André Pönitz  <poenitz@gmx.net>
916
917         * BufferView.[Ch] (insertInset):
918         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
919
920         * text2.C:
921         * text3.C: adjust
922
923 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
926         on the default clause of the switch
927         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
928         wasn't catched by LCursor::dispatch
929
930 2004-02-03  André Pönitz  <poenitz@gmx.net>
931
932         * BufferView.C:
933         * cursor.[Ch]: some additional asserts
934
935         * undo.[Ch]: remove LyXText dependency in interface
936
937         * lyxfunc.C: adjust
938
939         * lyxtext.h (firstPar, lastPar): remove dead functions
940
941         * text.C:
942         * text2.C:
943         * text3.C:
944         * paragraph.[Ch]: adjust
945
946 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * lyxfind.C (find): fix argument order in call to ::find
949
950 2004-02-02  André Pönitz  <poenitz@gmx.net>
951
952         * cursor.[Ch]: remove direct access to anchor
953
954         * text.C: remove findText() hack
955
956 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
957
958         * iterators.[Ch] (lockPath): remove in favour of...
959         * BufferView.[Ch] (setCursor): this addition
960         * BufferView.C (putSelectionAt): adjust
961         * undo.C (performUndoOrRedo): adjust
962         * lyxfunc.C (dispatch): adjust
963
964 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * iterators.C (lockPath): add a missing slice
967         * undo.C (performUndoOrRedo): remove redundant positioning code
968
969 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * vc-backend.C (scanMaster): ";" -> ';'
972
973 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
976         std::binary_function
977
978         * lyxtextclass.C (compare_name): rename to...
979         (LayoutNamesEqual): ...this
980
981         * lyxlex_pimpl.C (compare_tags): inherit from
982         std::binary_function, put back into anon namespace
983
984         * lyxfind.C (MatchString): inherig from std::binary_function
985         (findChange): use empty() istead of !size()
986
987         * format.C (FormatNamesEqual): new functor
988         (getFormat): use it
989         (getNumber): use it
990         (add): use it
991         (erase): use it
992         (setViewer): use it
993
994         * converter.C (compare_Converter): rename to...
995         (ConverterEqual): ...this, and fixup a bit.
996         (getConverter): use it, and make function const
997         (getNumber): use it, and make function const
998         (add): use it
999         (erase): use it:
1000
1001         * bufferlist.C: add using boost::bind
1002
1003         * MenuBackend.C (MenuNamesEqual): new functor
1004         (hasMenu): use it, and make function const
1005         (hasSubmenu): use nested bind to get rid of compare_memfun.
1006
1007 2004-01-30  André Pönitz  <poenitz@gmx.net>
1008
1009         * BufferView_pimpl.C:
1010         * cursor.C:
1011         * cursor.h:
1012         * cursor_slice.[Ch]:
1013         * lyxfunc.C:
1014         * lyxtext.h:
1015         * paragraph_funcs.C:
1016         * paragraph_funcs.h:
1017         * rowpainter.C:
1018         * text.C:
1019         * text2.C:
1020         * text3.C: move some of the edit(x,y) handling to the insets
1021         some coordinate changes.
1022
1023 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1024
1025         * text.C: add using statements for std::advance and std::distance
1026
1027         * paragraph.C: add using statement for std::distance
1028
1029         * lyxfind.C: add using statement for std::advance
1030
1031         * cursor.C (region): remove std:: from swap
1032         (openable): use nucleus in stead of operator->
1033
1034         * BufferView.C: add using statements for std::distance and std::swap
1035
1036 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1037
1038         * iterators.C: Remove the pimple, move the needed structures to
1039         the header file. Create accessor for the positions stack.
1040         (asPosIterator): remove function
1041
1042         * PosIterator.C (PosIterator): move constructors to top of file
1043         (PosIterator): reimplement the constructor taking a ParIterator in
1044         terms of setFrom.
1045         (setFrom): new function
1046         (operator!=): inline it
1047
1048 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * lyxfind.C (replaceAll): use std::advance
1051
1052         * iterators.h: inherit from std::iterator.
1053
1054         * PosIterator.C (advance, distance): remove
1055         * PosIterator.h: interit from std::iterator.
1056
1057 2004-01-26  André Pönitz  <poenitz@gmx.net>
1058
1059         * BufferView.[Ch]:
1060         * BufferView_pimpl.[Ch]:
1061         * InsetList.[Ch]:
1062         * PosIterator.[Ch]:
1063         * buffer.h:
1064         * bufferview_funcs.C:
1065         * cursor.[Ch]:
1066         * cursor_slice.h:
1067         * factory.[Ch]:
1068         * iterators.[Ch]:
1069         * lyxfind.C:
1070         * lyxfunc.C:
1071         * lyxtext.h:
1072         * output_docbook.C:
1073         * output_latex.C:
1074         * output_linuxdoc.C:
1075         * output_plaintext.C:
1076         * paragraph.[Ch]:
1077         * paragraph_funcs.[Ch]:
1078         * paragraph_pimpl.[Ch]:
1079         * rowpainter.C:
1080         * tabular.C:
1081         * tabular.h:
1082         * text.C:
1083         * text2.C:
1084         * text3.C: more IU:  dumps most of the rest of the mathcursor
1085     implementation into cursor.[Ch]; "globalize" a bit of it.
1086
1087 2004-01-25  Angus Leeming  <leeming@lyx.org>
1088
1089         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1090
1091 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1092
1093         * LaTeXFeatures.h: add nice_ and nice() const
1094         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1095
1096 2004-01-20  André Pönitz  <poenitz@gmx.net>
1097
1098         * BufferView.[Ch]:
1099         * BufferView_pimpl.C:
1100         * PosIterator.C:
1101         * bufferview_funcs.C:
1102         * cursor.[Ch]:
1103         * cursor_slice.[Ch]:
1104         * factory.C:
1105         * iterators.C:
1106         * lyx_cb.C:
1107         * lyxfind.C:
1108         * lyxfunc.C:
1109         * lyxtext.h:
1110         * rowpainter.C:
1111         * text.C:
1112         * text2.C:
1113         * text3.C:
1114         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1115           LCursor and mathcursor parts to LCursor and InsetBase.
1116
1117 2004-01-15  André Pönitz  <poenitz@gmx.net>
1118
1119         * cursor_slice.[Ch]: add a few covienience functions
1120
1121         * funcrequest.[Ch]: remove BufferView * member
1122
1123         * BufferView_pimpl.C:
1124         * cursor.C:
1125         * factory.[Ch]:
1126         * lyxfind.[Ch]:
1127         * lyxfunc.C:
1128         * lyxtext.h:
1129         * text3.C:
1130         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1131
1132 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1133
1134         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1135         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1136
1137 2004-01-13  André Pönitz  <poenitz@gmx.net>
1138
1139         * textcursor.[Ch]:
1140         * lyxtext.h: hide cursor and selection anchor behind accessor function
1141
1142         * BufferView.C:
1143         * BufferView_pimpl.[Ch]:
1144         * PosIterator.C:
1145         * bufferview_funcs.C:
1146         * cursor.h:
1147         * lyxfind.C:
1148         * lyxfunc.C:
1149         * text.C:
1150         * text2.C:
1151         * text3.C:
1152         * undo.C: adjust
1153
1154         * cursor.h:
1155         * cursor_slice.[Ch]: some integer type changes for inset unification
1156
1157         * lyxcursor.[hC]: remove, it's CursorSlice now.
1158
1159         * Makefile.am:
1160         * BufferView_pimpl.[Ch]:
1161         * bufferview_funcs.C:
1162         * cursor_slice.C:
1163         * lyxtext.h:
1164         * text.C:
1165         * text2.C:
1166         * text3.C:
1167         * textcursor.[Ch]: adjust
1168
1169 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * text2.C (undoSpan): add and use
1172         * text.C (breakParagraph): use undoSpan (fix bug 578)
1173         * lyxtext.h: adjust
1174
1175 2004-01-08  Angus Leeming  <leeming@lyx.org>
1176
1177         * BufferView_pimpl.C (MenuInsertLyXFile):
1178         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1179         * lyxfunc.C (menuNew, open, doImport):
1180         FileFilterList change to the FileDialog open and save functions.
1181
1182 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1183
1184         * ShareContainer.h: make isEqual and isUnique adaptable
1185
1186         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1187
1188 2004-01-07  Angus Leeming  <leeming@lyx.org>
1189
1190         * LyXAction.C:
1191         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1192
1193         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1194
1195         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1196         functions replacing find, replace and replaceAll.
1197
1198         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1199         LFUN_WORDFIND(FORWARD|BACKWARD).
1200
1201 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1202
1203         * text.C (breakParagraph): remove an outdated #warning
1204
1205 2004-01-07  André Pönitz  <poenitz@gmx.net>
1206
1207         * lyxfind.C: somewhat clearer logic
1208
1209         * text.C: prevent crash in cursorX on unitialized row cache
1210
1211 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * lyxcursor.[Ch] (operator>): add
1214         * textcursor.C (selStart, selEnd): use std::min and std::max
1215
1216 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * Chktex.C: include boost/format.hpp
1219
1220 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1221
1222         * InsetList.C: replace functor MathcIt with adaptable functor
1223         InsetTablePosLess
1224         (insetIterator): modify accordingly
1225
1226         * BranchList.h: move the BranchNamesEqual functor here from...
1227         * BranchList.C: ... to here
1228
1229         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1230         SameName and match.
1231         (add): replace a finding loop with std::find_if.
1232
1233 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1234
1235         * output_docbook.C: moving LatexParam functionality into
1236         .layout files
1237
1238 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1239
1240         * buffer.C: increment format to 229.
1241
1242 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1243
1244         * LaTeXFeatures.C:
1245         * lyx_sty.[Ch]: remove minipageindent_def
1246
1247         * LyXAction.C:
1248         * factory.C:
1249         * lfuns.h:
1250         * lyxfunc.C:
1251         * text3.C: remove LFUN_INSET_MINIPAGE
1252
1253 2003-12-28  Angus Leeming  <leeming@lyx.org>
1254
1255         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1256
1257 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * text2.C (setParagraph): fix off-by-one crash
1260
1261 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * output_docbook.C: header stuff for AGU
1264
1265 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1266
1267         * text2.C (redoCursor): remove
1268         * text.C:
1269         * text3.C:
1270         * BufferView_pimpl.C: remove calls to redoCursor and
1271         setCursor(cursor.par(), cursor.pos()) all around
1272
1273 2003-12-15  Angus Leeming  <leeming@lyx.org>
1274
1275         * buffer.C: up the format to 228.
1276
1277 2003-12-15  André Pönitz  <poenitz@gmx.net>
1278
1279         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1280         slices
1281
1282         * Makefile.am:
1283
1284         * BufferView_pimpl.C:
1285         * cursor.[Ch]:
1286         * lyxcursor.[Ch]:
1287         * rowpainter.[Ch]:
1288         * lyxtext.h:
1289         * text.C:
1290         * text2.C:
1291         * text3.C: adjust
1292
1293 2003-12-15  Angus Leeming  <leeming@lyx.org>
1294
1295         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1296         than getFromGUIName to manipulate the color.
1297
1298 2003-12-14  Angus Leeming  <leeming@lyx.org>
1299
1300         * BranchList.[Ch]: minimize the API.
1301         (Branch::getBranch, getColor): now return a 'const &'.
1302         (Branch::setSelected) now returns a bool set to true if the
1303         selection status changes.
1304         (BranchList::clear, size, getColor, setColor, setSelected,
1305         allBranches, allSelected, separator): removed.
1306         (BranchList::find): new functions, returning the Branch with
1307         the given name.
1308         (BranchList::add, remove): return a bool indicating that
1309         the operation was successful.
1310
1311         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1312         new InsetBranch::isBranchSlected member function.
1313
1314         * LColor.[Ch]: mimimize the API.
1315         (fill): renamed as addColor and made private.
1316         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1317         versions of these functions taking a string arg have been removed.
1318
1319         * bufferparams.C (readToken):
1320         * lyxfunc.C (dispatch):
1321         * lyxrc.C (read): changes due to the altered BranchList and
1322         LColor APIs.
1323
1324         * factory.C (createInset, readInset): changes due to altered
1325         InsetBranch c-tor.
1326
1327 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1328
1329         * factory.C:
1330         * lyxfunc.C: remove insetminipage. "minipage-insert"
1331         now produces a frameless minipage box inset.
1332
1333 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * textcursor.[Ch] (selStart,selEnd): add new methods
1336         remove selection::start, end, use LyXCursor::operator<
1337         * lyxcursor.[Ch] (operator<): add
1338         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1339         * BufferView.[Ch] (unsetXSel): add
1340         * text2.C (clearSelection): use unsetXSel,adjust
1341         * text.C: adjust
1342         * text3.C: adjust
1343         * rowpainter.C: adjust
1344         * bufferview_funcs.C (put_selection_at): adjust
1345
1346 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1347
1348         * BufferView_pimpl.C: small coord. correction
1349
1350 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1353         dragging over the splash screen.
1354
1355 2003-12-11  Angus Leeming  <leeming@lyx.org>
1356
1357         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1358         as it is now handled in LyXText::dispatch.
1359
1360         * text3.C (doInsertInset): remove a level of nesting.
1361
1362 2003-12-11  Angus Leeming  <leeming@lyx.org>
1363
1364         * factory.C (createInset): changes due to the changed interface to
1365         InsetCommandMailer::string2params.
1366
1367 2003-12-10  Angus Leeming  <leeming@lyx.org>
1368
1369         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1370         'dialog-show-new-inset <inset name>'
1371
1372 2003-12-10  Angus Leeming  <leeming@lyx.org>
1373
1374         * buffer.C: up the format to 227.
1375
1376         * factory.C: the box inset is now identified simply by 'Box'.
1377
1378 2003-12-10  Angus Leeming  <leeming@lyx.org>
1379
1380         * buffer.C: up the format to 226.
1381
1382         * factory.C: the note inset is now identified simply by 'Note'.
1383
1384 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1385
1386         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1387         when a pit is enough. Standarize a couple of loops.
1388
1389 2003-12-05  Angus Leeming  <leeming@lyx.org>
1390
1391         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1392         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1393         data to the re-worked "log" dialog.
1394
1395 2003-12-03  André Pönitz  <poenitz@gmx.net>
1396
1397         * PosIterator.C:
1398         * iterators.C:
1399         * lyxtext.h:
1400         * output_latex.C:
1401         * paragraph_funcs.C:
1402         * text.C:
1403         * text2.C: use Inset::getText instead of Inset::getParagraph
1404
1405 2003-12-03  André Pönitz  <poenitz@gmx.net>
1406
1407         * buffer.[Ch]:
1408         * lyxtext.h:
1409         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1410         InsetText::read() as LyXText::read()
1411
1412 2003-12-02  Angus Leeming  <leeming@lyx.org>
1413
1414         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1415         type. Add a comment in the implementation that the function uses
1416         the stream's bad() function rather than fail() as the std::streams
1417         would do.
1418
1419 2003-12-02  André Pönitz  <poenitz@gmx.net>
1420
1421         * lyxlex.[Ch]: make interface more similar to std::stream
1422
1423         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1424
1425 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1426
1427         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1428
1429 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1430
1431         * vspace.[Ch]: remove VSpace::NONE
1432
1433 2003-12-01  André Pönitz  <poenitz@gmx.net>
1434
1435         * buffer.[Ch]:
1436         * lyxtext.h: move ParagraphList member to LyXText
1437         rename LyXText::ownerParagraphs to LyXText::paragraph
1438
1439         * CutAndPaste.C:
1440         * bufferview_funcs.C:
1441         * iterators.[Ch]:
1442         * lyx_cb.C:
1443         * paragraph.C:
1444         * rowpainter.C:
1445         * tabular.C:
1446         * text.C:
1447         * text2.C:
1448         * text3.C: adjust
1449
1450         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1451
1452         * undo.C: fix cursor positioning
1453
1454 2003-12-01  John Levon  <levon@movementarian.org>
1455
1456         * BufferView_pimpl.C: fix a crash on exit with
1457         a buffer open
1458
1459 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1460
1461         * BranchList.C: fix setSelected() method.
1462
1463 2003-11-28  André Pönitz  <poenitz@gmx.net>
1464
1465         * ParagraphParameters.[Ch]:
1466         * ParameterStruct.h: remove space above/below from Paragraph to
1467          InsetVSpace
1468
1469         * BufferView_pimpl.C:
1470         * factory.C:
1471         * lyxfunc.C:
1472         * lyxtext.h:
1473         * output_latex.C:
1474         * paragraph.C:
1475         * paragraph_funcs.C:
1476         * rowpainter.[Ch]:
1477         * text.C:
1478         * text2.C:
1479         * text3.C: adjust
1480
1481 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1482
1483         * factory.C: Syntax change for CharStyles
1484
1485 2003-11-28  André Pönitz  <poenitz@gmx.net>
1486
1487         * BufferView.[Ch]:
1488         * BufferView.[Ch]:
1489         * buffer.[Ch]:
1490         * buffer.[Ch]: move LyXText member
1491
1492 2003-11-28  André Pönitz  <poenitz@gmx.net>
1493
1494         * BufferView.[Ch]: make LyXText * text a private member
1495
1496         * BufferView_pimpl.C:
1497         * cursor.C:
1498         * iterators.C:
1499         * lyx_cb.C:
1500         * lyxfind.C:
1501         * lyxtext.h:
1502         * rowpainter.[Ch]:
1503         * text.C:
1504         * text2.C:
1505         * undo.C: adjust
1506
1507         * output_plaintext.C: cleanup
1508
1509 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1510
1511         * buffer.C:
1512         * lyxtextclass.[Ch]: parametrize SGML document header
1513
1514 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1515
1516         * converter.[Ch]:
1517         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1518         getFlavor().
1519
1520 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1521
1522         * text2.C (setFont): rework using PosIterator (no more recursive)
1523         (setCharFont): no more needed
1524         (setLayout): no more selection cursors fiddling (done by redoCursor)
1525         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1526         destroy remaining ones)
1527
1528 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1529
1530         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1531         * lyxtext.h: ditto
1532         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1533         selection cursors
1534         * lyxfunc.C: adjust
1535         * text3.C: adjust + re-allow multi par depth changes
1536         * textcursor.C: simplify a bit
1537
1538 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1539
1540         * src/buffer.C:
1541         * src/lyxlayout.C:
1542         * src/lyxlayout.h:
1543         * src/lyxtext.h:
1544         * src/output_docbook.C:
1545         * src/output_latex.C:
1546         * src/paragraph.C:
1547         * src/paragraph.h:
1548         * src/sgml.C:
1549         * src/sgml.h:
1550         * src/text2.C: Introducing a number of tags parametrizing various
1551         XML formats that we may want to support
1552
1553 2003-11-25  André Pönitz  <poenitz@gmx.net>
1554
1555         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1556
1557         * lyxtext.h (leftMargin/rightMargin): simplify interface
1558
1559         * rowpainter.C:
1560         * text.C:
1561         * text2.C:
1562         * text3.C: adjust
1563
1564 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1565
1566         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1567         master file to any child files. Fixes bug 546.
1568
1569 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1572
1573 2003-11-24  André Pönitz  <poenitz@gmx.net>
1574
1575         * rowpainter.C: simplification
1576
1577         * text2.C (updateCounters): remove call to redoParagraph on
1578         changed labels as this is far too expensive.
1579
1580 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1581
1582         * converter.C (convert): fix a crash: this function gets
1583         called with buffer == 0 from importer code.
1584
1585 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1586
1587         * text3.C (cursorPrevious): make sure that we do not compare
1588         iterators form different containers.
1589         (cursorNext): ditto
1590
1591         * rowpainter.C (paintSelection): make sure that we do not compare
1592         iterators from different containers.
1593
1594         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1595         iterators from different ParagraphList containers.
1596         [NEXT] ditto
1597
1598         * text2.C (LyXText): change order of initialization slightly
1599         (operator=): new function. copy all variables except cache_par_
1600         (moveUp): make sure that we do not compare iterators from
1601         different ParagraphList constainers.
1602         (moveDown): ditto
1603
1604         * text.C (firstPar): new function
1605         (lastPar): new function
1606         (endPar): new function
1607
1608         * lyxtext.h: move things around and group public functions, public
1609         variables, private functions, private variables
1610
1611 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1612
1613         * factory.C: change call to InsetERT constructor to avoid
1614         additional invocation of method status
1615         * text2.C (toggleInset): remove redundant update() call
1616         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1617         instead of a Bufferview pointer
1618
1619 2003-11-21  André Pönitz  <poenitz@gmx.net>
1620
1621         * rowpainter.C: simplification
1622
1623 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1624
1625         * text3.C (dispatch): make possible to extend a word/row selection
1626         with the mouse
1627
1628 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * lyxtext.h: x0_,y0_ -> xo_,yo_
1631         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1632         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1633         * rowpainter.C (paintRows): paint full paragraphs
1634
1635 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1638         screen coordinates)
1639
1640 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * lyxtext.h: add x0_, y0_
1643         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1644         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1645
1646 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1647
1648         * text2.C (setCursorIntern): move the x_target update here *
1649         * text3.C: change some bv() to true/false in calls to
1650         cursorUp/Down/Right/Left
1651         * cursor.C: use helper function.
1652
1653 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1654
1655         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1656         * paragraph_funcs.[Ch]: correct comment
1657         * rowpainter.C: do not paint selections away from bv->cursor()
1658         Fix a long standing selection painting bug.
1659         * text3.C: generalize mouse-selection code to LyXTexts other that
1660         top one
1661         * textcursor.C: do not use y coords if we can use par offsets
1662
1663 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1666         cursor position after e.g. inset insert)
1667
1668 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * lyxfind.C (replace): adjust to locking removal + some
1671         code simplification
1672
1673 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1676         of the path
1677
1678 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1679
1680         * lyxlayout.[Ch]:
1681         * output_docbook.C: XML sanitation: new layout
1682         parameters InnerTag and CommandDepth
1683
1684 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1685
1686         * BufferView_pimpl.C:
1687         * factory.C:
1688         * text3.C: Fix the insertion and modification of button-style
1689         insets
1690
1691 2003-11-13  André Pönitz  <poenitz@gmx.net>
1692
1693         * InsetList.[Ch]: remove deleteLyXText
1694
1695         * paragraph.[Ch]: cache beginOfBody position
1696
1697         * Bidi.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: remove superfluous update() calls
1701
1702         * vspace.C: cleanup
1703
1704 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1705
1706         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1707         * BufferView.C (fitLockedInsetCursor): remove
1708         * cursor.[Ch] (getDim): add
1709         * text.C (getRowNearY): add faster version
1710         * text3.C: remove some update calls
1711
1712 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1713
1714         * LaTeXFeatures.C:
1715         * LyXAction.C:
1716         * MenuBackend.C:
1717         * MenuBackend.h:
1718         * dispatchresult.h:
1719         * factory.C:
1720         * lfuns.h:
1721         * lyxfunc.C:
1722         * lyxtextclass.C:
1723         * lyxtextclass.h:
1724         * text3.C: The Character Style /XML short element patch.
1725
1726 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1727
1728         * text3.C:
1729         * factory.C: Small step to solving 'unable to insert some insets'
1730         problem
1731
1732 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * cursor.[Ch] (updatePos): new function for updating the y
1735         position of the tip inset
1736         * bufferview_funcs.C (put_selection_at):
1737         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1738
1739 2003-11-11  André Pönitz  <poenitz@gmx.net>
1740
1741         * text.C: remove big comment on invalid Paragraph pointers as it is
1742         not valid anymore
1743
1744 2003-11-11  André Pönitz  <poenitz@gmx.net>
1745
1746         * text_funcs.[Ch]: merge with ...
1747
1748         * text.C: ... this
1749
1750         * lyxtext.h:
1751         * text2.C:
1752         * text3.C: adjust
1753
1754         * Makefile.am: remove text_funcs.[Ch]
1755
1756 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1757
1758         * cursor.C (getPos): return absolute cached y coord
1759
1760         * BufferView_pimpl.C (fitCursor): new simplistic code
1761         (workAreaDispatch): add a fitCursor call
1762
1763 2003-11-10  André Pönitz  <poenitz@gmx.net>
1764
1765         * BufferView.[Ch]:
1766         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1767
1768 2003-11-10  André Pönitz  <poenitz@gmx.net>
1769
1770         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1771         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1772         indicate that the cursor needs to leave an inset
1773
1774         * lyxtext.h: remove inset locking
1775
1776         * cursor.[Ch]: re-implement functionality provided by inset locking
1777
1778         * BufferView.[Ch]:
1779         * BufferView_pimpl.[Ch]:
1780         * LyXAction.C:
1781         * bufferview_funcs.[Ch]:
1782         * factory.C:
1783         * funcrequest.[Ch]:
1784         * iterators.C:
1785         * lyx_cb.C:
1786         * lyxfind.C:
1787         * lyxfunc.C:
1788         * text.C:
1789         * text2.C:
1790         * text3.C:
1791         * undo.C: adjust
1792
1793 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1794
1795         * PosIterator.[Ch]: replace the stack with a vector, add inset
1796         accesor
1797         * iterators.[C]: adjust
1798
1799 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1800
1801         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1802         replaced
1803         * paragraph_funcs.C (readParToken): put the correct id in the
1804         error item, not the id of the top paragraph
1805
1806 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1807
1808         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1809         * bufferview_funcs.C (put_selection_at): use the above
1810
1811 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1812
1813         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1814
1815 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1816
1817         * output_linuxdoc.h:
1818         * output_plaintext.h:
1819         * output.h:
1820         * output_docbook.h: add #include statements
1821
1822 2003-11-05  José Matos  <jamatos@lyx.org>
1823
1824         * output_docbook.[Ch]:
1825         * output_latex.[Ch]:
1826         * output_linuxdoc.[Ch]:
1827         * output_plaintext.[Ch]: New files for output formats.
1828         * output.[Ch]: New file for helper functions.
1829
1830         * buffer.[Ch]:
1831         * paragraph_funcs.[Ch]: output functions moved to new files.
1832
1833         * outputparams.h: rename of latexrunparams.h
1834
1835         * LaTeX.[Ch]:
1836         * buffer.[Ch]:
1837         * bufferlist.[Ch]:
1838         * converter.[Ch]:
1839         * exporter.C:
1840         * paragraph.[Ch]:
1841         * paragraph_funcs.[Ch]:
1842         * paragraph_pimpl.[Ch]:
1843         * tabular.[Ch]: rename ascii to plaintext
1844         and LatexRunParams to OutputParams.
1845
1846 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1847
1848         * iterators.[Ch] (text): require bv argument
1849         * undo.C (recordUndo):
1850         * lyxfunc.C (dispatch):
1851         * bufferview_funcs.C (put_selection_at): adjust
1852
1853 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1854
1855         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1856
1857 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1860         nestings
1861
1862 2003-11-04  André Pönitz  <poenitz@gmx.net>
1863
1864         * cursor.[Ch]: restructure
1865
1866         * BufferView.[Ch]:
1867         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1868
1869         * iterators.[Ch] (asCursor): remove
1870
1871         * lfuns.h: remove LFUN_INSET_EDIT
1872
1873         * lyxfunc.C:
1874         * tabular.C:
1875         * text.C:
1876         * text2.C:
1877         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1878
1879 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1880
1881         * lyxfind.[Ch]: complete overhaul
1882         * BufferView_pimpl.C:
1883         * lyxfunc.C: adjust
1884         * paragraph.[Ch] (insert): add
1885
1886 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1887
1888         * BufferView.[Ch]:
1889         * lyxtext.h:
1890         * text.C: remove dead spellcheck code
1891
1892 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1893
1894         * dispatchresult.h: add a val setter
1895
1896         * cursor.C (dispatch): use a tempvar for data_[i]
1897
1898 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * PosIterator.[Ch]: compile fix
1901
1902 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * text.C (cursorPar): deactivate the cursor cache
1905
1906 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1909
1910 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1911
1912         * text3.C (dispatch): adjust for new DisptchResult semantics.
1913
1914         * lyxfunc.C (dispatch): handle update when return from
1915         Cursor::dispatch, adjust for new DispatchResult semantics.
1916
1917         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1918         DispatchResult(true) mean to not update. Add class functions for
1919         setting dispatched and update, as well as reading.
1920
1921         * cursor.C (dispatch): don't handle update here
1922
1923 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1926         * trans_mgr.C: adjust
1927
1928         * paragraph_funcs.C (readParToken): exception safety
1929
1930         * lyxvc.h: store the vcs pointer in a scoped_ptr
1931         * lyxvc.C: adjust
1932
1933         * lyxsocket.C (serverCallback): exception safety
1934
1935         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1936
1937         * ispell.C (clone): make it return a auto_ptr
1938
1939         * factory.C (createInset): exception safety
1940         (readInset): exception safety
1941
1942         * bufferlist.C (newBuffer): exception safety
1943
1944         * Thesaurus.C (Thesaurus): use initialization for aik_
1945
1946         * MenuBackend.C (expandToc): exception safety.
1947
1948 2003-11-03  André Pönitz  <poenitz@gmx.net>
1949
1950         * buffer.C:
1951         * buffer.h:
1952         * bufferview_funcs.C: remove getInsetFromId()
1953
1954         * lyxcursor.[Ch]:
1955         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1956
1957         * lyxfunc.C:
1958         * text2.C:
1959         * text3.C: adjust
1960
1961 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1962
1963         * PosIterator.C (distance, advance): new
1964         * bufferview_funcs.[Ch] (put_selection_at): new
1965         * iterators.[Ch] (lockPath): new
1966
1967 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1968
1969         * iterators.[Ch] (asPosIterator): added
1970         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1971         * PosIterator.[Ch]: added
1972
1973 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1974
1975         * text3.C:
1976         * lyxfunc.C:
1977         * cursor.C (dispatch):
1978         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1979
1980         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1981         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1982         contructor, add a class function dispatched. Remove operator>=
1983
1984 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * debug.C: only use the default constructor for debugstream
1987         (lyxerr) here.
1988
1989         * main.C (main): include debug.h and setup the lyxerr streambuf
1990         here.
1991
1992 2003-10-31  José Matos  <jamatos@lyx.org>
1993
1994         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1995
1996         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1997         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1998         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1999         * paragraph_pimpl.C (simpleTeXSpecialC):
2000         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2001         add LatexRunParams argument.
2002
2003         * exporter.C (Export): change call accordingly.
2004
2005         * latexrunparams.h: add new member to take care of the other backends.
2006 2003-10-30  José Matos  <jamatos@lyx.org>
2007
2008         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2009         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2010         factorise code for paragraph output.
2011         * buffer.[Ch]:
2012         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2013         move functions.
2014
2015 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2016
2017         * text3.C (dispatch):
2018         * lyxfunc.C (dispatch):
2019         * cursor.C (dispatch):
2020         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2021
2022         * dispatchresult.h: make the dispatch_result_t ctor explicit
2023
2024 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2025
2026         * sgml.[Ch]:
2027         * buffer.C: small refactoring of docbook stuff
2028
2029 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2030
2031         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2032         meaning.
2033
2034 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2037         operator dispatch_result_t, and operators for == != and >=
2038
2039         * cursor.C (dispatch): adjust for operator dispatch_result_t
2040         removal. comment out call to update
2041
2042         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2043
2044 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2045
2046         * text3.C:
2047         * text2.C:
2048         * text.C:
2049         * lyxtext.h:
2050         * lyxfunc.C:
2051         * cursor.C:
2052         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2053         (dispatch):
2054
2055         * dispatchresult.h: new file, DispatchResult broken out of
2056         insets/insetbase.h
2057
2058         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2059
2060 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2061
2062         * text.C (rowBreakPoint): put a hack inside #if 0
2063
2064 2003-10-28  André Pönitz  <poenitz@gmx.net>
2065
2066         * lyxtext.h:
2067         * metricsinfo.C:
2068         * paragraph_funcs.C:
2069         * rowpainter.C:
2070         * text.C:
2071         * text2.C: general cleanup (lots of small stuff)
2072
2073 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2074
2075         * text2.C (cursorEnd): simple fix to the "end key goes to one
2076         before the end on last row" bug
2077
2078 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2079
2080         * text.C (backspace): fix the "zombie characters"
2081
2082 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2085
2086 2003-10-27  André Pönitz  <poenitz@gmx.net>
2087
2088         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2089
2090         * factory.C: handle new InsetPagebreak, InsetLine
2091
2092         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2093         and move handling into new InsetPagebreak, InsetLine
2094
2095         * BufferView_pimpl.C:
2096         * LyXAction.C:
2097         * ParagraphParameters.C:
2098         * ParameterStruct.h:
2099         * lyxfunc.C:
2100         * lyxtext.h:
2101         * paragraph.C:
2102         * paragraph.h:
2103         * paragraph_funcs.C:
2104         * paragraph_pimpl.C:
2105         * rowpainter.C:
2106         * text.C:
2107         * text2.C:
2108         * text3.C: adjust
2109
2110 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * text.C:
2113         * lyxrow_funcs.[Ch]:
2114         * Bidi.C:
2115         * paragraph.C:
2116         * lyxtext.h:
2117         * rowpainter.C:
2118         * text2.C:
2119         * text3.C: remove lastPos uses in favour of Row::endpos
2120
2121 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2122
2123         * undo.C (performUndoOrRedo): fix two crashes by setting a
2124         cursor by hand and reordering some calls. Use bv->lockInset instead
2125         of inset->edit because the latter loses cursor information
2126
2127 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2130         by Martin
2131         (rowBreakPoint): fix width. change point to point + 1.
2132         Add a missing check.
2133
2134 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2135
2136         * MenuBackend.C:
2137         * lyxfunc.C: fix (at least partly) the problems
2138         with the Nav menu and headers inside branch insets
2139         reported by Kayvan
2140
2141 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * paragraph.C (getChar): add strong asserts
2144
2145         * lyxrow_funcs.C (lastPos): remove hideous hack
2146
2147         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2148         (fill): adjust to that (avoid an infinite loop)
2149
2150 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2151
2152         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2153
2154 2003-10-23  André Pönitz  <poenitz@gmx.net>
2155
2156         * RowList_fwd.h: change list<> to vector<> to gain speed
2157         after suggestion from Alfredo
2158
2159 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2160
2161         * lyxtext.h: move the bidi stuff from here...
2162         * text.C: and here
2163         * text2.C: and here
2164         * Bidi.[Ch]: ... to here
2165
2166 2003-10-23  André Pönitz  <poenitz@gmx.net>
2167
2168         * lyxtext.h:
2169         * text.C (isLastRow, isFirstRow): new functions
2170
2171         * paragraph.h: new width cache member
2172
2173         * rowpainter.C: replace RowList::iterator with Row & where possible
2174
2175         * lyxfunc.C: replace several view()->text with a single call
2176
2177         * toc.C: fix 'unused' warning
2178
2179 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2180
2181         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2182         when woring with stream::pos_type
2183         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2184
2185 2003-10-22  André Pönitz  <poenitz@gmx.net>
2186
2187         * lyxtext.h:
2188         * text.C: use Row & instead of RowList::iterator
2189
2190         * lyxrow.h: rename end() to endpos()
2191
2192         * rowpainter.C:
2193         * text.C:
2194         * text2.C: adjust
2195
2196 2003-10-22  Angus Leeming  <leeming@lyx.org>
2197
2198         * buffer.[Ch] (fully_loaded): new member function, returning true
2199         only when the file has been loaded fully.
2200         Used to prevent the premature generation of previews and by the
2201         citation inset to prevent computation of the natbib-style label.
2202
2203         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2204         templates are all set up.
2205
2206         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2207
2208 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * text.C: fixed an "oops" in the "is a bit silly"
2211         bug fix
2212
2213 2003-10-21  André Pönitz  <poenitz@gmx.net>
2214
2215         * FuncStatus.[Ch]: small stuff, whitespace
2216
2217         * lyxfont.[Ch]: operator<<() for debug reasons
2218
2219         * lyxfunc.C:
2220         * lyxrow_funcs.C:
2221         * lyxtext.h: whitespace, spelling
2222
2223         * paragraph.C: naming of variables
2224
2225         * text.C:
2226         * text2.C: small stuff
2227
2228
2229 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2230
2231         * text.C: (1) finish off the inset display() work;
2232         (2) fix the "is a bit silly" bug (accessing char
2233         past end of par).
2234
2235 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2236
2237         * text.C: re-introduce display() for insets, fixing the
2238         various bugs (stretch of line above, math inset
2239         positioning, ...)
2240
2241 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * text.C (rightMargin): remove spurious semicolon
2244
2245         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2246         1415)
2247
2248 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2249
2250         * text3.C: fix one crash due to wrong cursor def
2251
2252 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * vc-backend.C (scanMaster): make the regex static
2255
2256         * LaTeX.C (scanAuxFile): make the regexs static
2257
2258         * text3.C (doInsertInset, dispatch, dispatch):
2259         * text2.C (cursorUp, cursorDown):
2260         * text.C (selectNextWordToSpellcheck):
2261         * BufferView_pimpl.C (dispatch):
2262         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2263
2264 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * lyxsocket.C: include <cerrno>
2267
2268 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * lyxfunc.C (dispatch): remove textcache stuff
2271
2272         * bufferlist.C (release): remove textcache stuff
2273         (closeAll): ditto
2274
2275         * TextCache.C: delete file
2276         * TextCache.h: delete file
2277
2278         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2279
2280         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2281         delete of the bv_->text.
2282         (resizeCurrentBuffer): remove texcache stuff
2283         (workAreaResize): ditto
2284
2285 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2288         action.
2289
2290 2003-10-16  André Pönitz  <poenitz@gmx.net>
2291
2292         * lyxrow.[Ch]:
2293         * paragraph.h:
2294         * rowpainter.C:
2295         * text.C:
2296         * text2.C:
2297         * text3.C: speed up by storing y positions per paragraph plus per-row
2298         offset instead of having a 'full' y position in the row.
2299
2300 2003-10-15  André Pönitz  <poenitz@gmx.net>
2301
2302         * iterators.[Ch]:
2303         * iterators.[Ch]:
2304         * undo.[Ch]: make undo aware of inner insets
2305
2306 2003-10-14  Angus Leeming  <leeming@lyx.org>
2307
2308         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2309         static member functions LyX::ref() and LyX::cref.
2310         (lastfiles): new accessor functions for the new lastfiles_ member var.
2311         (addLyXView, views_): add a new LyXView to the list of views_.
2312         (updateInset): loop over all LyXViews to call their own updateInset
2313         member function, returning a pointer to the Buffer owning the inset.
2314
2315         * BufferView_pimpl.C (loadLyXFile):
2316         * MenuBackend.C (expandLastfiles):
2317         * bufferlist.C (MenuWrite, QuitLyX):
2318         lastfiles is no longer a global variable.
2319         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2320
2321         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2322         static function. Access through LyX::cref().emergencyCleanup().
2323
2324 2003-10-14  André Pönitz  <poenitz@gmx.net>
2325
2326         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2327
2328         * undo.[Ch]: restoring part of 'undo in insets'
2329
2330         * Makefile.am:
2331         * undo_funcs.[Ch]: merge with undo.[Ch]
2332
2333         * tabular.C: small cleansing stuff
2334
2335 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2336
2337         * paragraph_funcs.C (readParToken): report unknown insets as error
2338         boxes. Use the outer paragraph as location (also for unknown
2339         tokens).
2340
2341         * factory.C (readInset): do not abort on reading an unknown inset.
2342         Eat it and return 0.
2343
2344 2003-10-13  Angus Leeming  <leeming@lyx.org>
2345
2346         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2347
2348         * lyxrc.C: displayTranslator is now a function,
2349         declared in GraphicsTypes.h.
2350
2351 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2352
2353         * format.C: new placeholder $$a to pass the socket address.
2354
2355         * bufferlist.[Ch]: new function getBufferFromTmp.
2356
2357         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2358           files in the temporary dir.
2359
2360 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2361
2362         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2363
2364         * Makefile.am: add lyxsocket.[Ch].
2365
2366         * lyx_main.C (error_handler): handle SIGPIPE.
2367
2368 2003-10-13  André Pönitz  <poenitz@gmx.net>
2369
2370         * BufferView_pimpl.C:
2371         * lyxtext.h:
2372         * text.C:
2373         * text2.C:
2374         * text3.C:
2375         * undo_funcs.[Ch]: use paroffset_type instead of
2376           ParagraphList::iterators to prevent multiple conversion
2377           (and get a more robust interface)
2378
2379 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2382         * lyxtext.h: ditto
2383         * text3.C (dispatch): ditto
2384
2385 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2388         move the onlyfile, use onlyfile instead of foundfile in a couple
2389         of places.
2390
2391         * DepTable.C (update): flush the error stream a bit more
2392
2393 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * lyxserver.C (callback): adjust
2396
2397         * lyxfunc.C (getStatus): add a missing brace in commented code
2398         (ensureBufferClean): reindent
2399         (dispatch): delete version taking a string
2400
2401 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * LaTeX.C (deplog): move found file handlig from here...
2404         (handleFoundFile): .. to new function here.
2405         (deplog): make sure to discover several files mentioned on the
2406         same log line.
2407
2408 2003-10-10  André Pönitz  <poenitz@gmx.net>
2409
2410         * lyxfunc.C:
2411         * lyxtext.h:
2412         * tabular.C:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: fix some of the tabular crashes
2416
2417 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2418
2419         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2420
2421         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2422
2423 2003-10-09  André Pönitz  <poenitz@gmx.net>
2424
2425         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2426
2427         * BufferView.C:
2428         * BufferView_pimpl.C:
2429         * bufferview_funcs.C:
2430         * lyx_cb.C:
2431         * lyxcursor.C:
2432         * lyxfind.C:
2433         * lyxfunc.C:
2434         * lyxtext.h:
2435         * text.C:
2436         * text2.C:
2437         * text3.C:
2438         * text_funcs.[Ch]:
2439         * textcursor.[Ch]:
2440         * undo_funcs.C: adjust
2441
2442 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * text2.C (incrementItemDepth): new function, use a backtracking
2445         algorithm to discover the correct item depth.
2446         (resetEnumCounterIfNeeded): new function, use a backtracking
2447         algorithm to discover if counter reset is needed.
2448         (setCounter): use them. Simplify a bit. Add different labels for
2449         different item depths for itemize.
2450
2451         * paragraph.C (Paragraph): remove initialization of enumdepth
2452         (operator=): ditto
2453
2454         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2455         enumerate and itemize. Change the type of itemdepth to signed char.
2456
2457 2003-10-08  André Pönitz  <poenitz@gmx.net>
2458
2459         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2460           thing assignable.
2461         * text.C:
2462         * text2.C: adjust
2463
2464         * tabular.[Ch]: fix crash after 'row-insert'
2465
2466 2003-10-08  Angus Leeming  <leeming@lyx.org>
2467
2468         Fix doxygen warnings.
2469
2470         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2471         Remove CutAndPaste:: prefix from header file declaration.
2472
2473         * LColor.h (fill): remove LColor:: prefix from declaration.
2474
2475         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2476         use lyx::depth_type rather than Paragraph::depth_type so that
2477         header file and .C file match.
2478
2479         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2480
2481         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2482         * aspell.C: \file aspell_local.C -> \file aspell.C
2483         * gettext.C: \file gettext.C -> \file src/gettext.C
2484         * gettext.h: \file gettext.h -> \file src/gettext.h
2485         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2486         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2487         * text.C: \file text.C -> \file src/text.C
2488
2489         * toc.C: move comment so that doxygen is not confused.
2490
2491 2003-10-07  Angus Leeming  <leeming@lyx.org>
2492
2493         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2494
2495 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2496
2497         * aspell.C:
2498         * aspell_local.h: add forgotten std::string's.
2499
2500 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2501
2502         * LaTeXFeatures.C:
2503         * LyXAction.C:
2504         * factory.C:
2505         * lfuns.h:
2506         * lyxfunc.C:
2507         * text3.C: The Box patch. Fancybox support, minipage, parbox
2508
2509 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2510
2511         * CutAndPaste.h:
2512         * DepTable.h:
2513         * FloatList.h:
2514         * LaTeXFeatures.h:
2515         * ParagraphParameters.h:
2516         * TextCache.h:
2517         * Thesaurus.h:
2518         * bufferlist.h:
2519         * exporter.h:
2520         * importer.h:
2521         * lastfiles.h:
2522         * lyxfind.h:
2523         * lyxfont.h:
2524         * lyxlex.h:
2525         * lyxtextclasslist.h:
2526         * messages.h:
2527         * paragraph.h:
2528         * paragraph_pimpl.C:
2529         * textcursor.h: add <string> and other small fixes to make Lars'
2530         std::string patch compile with STLport.
2531
2532 2003-10-06  Angus Leeming  <leeming@lyx.org>
2533
2534         * LColor.h: Add missing #include <string>.
2535
2536 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * All most all file in all subdirs: Make <string> be the prefered
2539         way of getting to std::string, add using declarations.
2540
2541 2003-10-06  André Pönitz  <poenitz@gmx.net>
2542
2543         * metricsinfo.C: initialize LyXFont before changing attribute.
2544         (fixes the 'math in \emph is upright' bug)
2545
2546 2003-10-06  André Pönitz  <poenitz@gmx.net>
2547
2548         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2549
2550 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2551
2552         * graph.C:
2553         * paragraph_pimpl.C: Small fixes to build using STLport
2554
2555 2003-10-02  André Pönitz  <poenitz@gmx.net>
2556
2557         * lyxfunc.C:
2558         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2559
2560 2003-10-01  André Pönitz  <poenitz@gmx.net>
2561
2562         * factory.C: assert early
2563
2564 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * lyx_main.C: remove the global debug object
2567
2568         * debug.h: adjust for new debugstream
2569
2570         * debug.C: adjust for new debugstream and keep the global debug
2571         object here.
2572
2573 2003-09-22  Angus Leeming  <leeming@lyx.org>
2574
2575         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2576         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2577         an incomplete class LyXFont.
2578
2579 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2580
2581         * factory.C: bug fix in branches
2582
2583 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * lyxfunc.C (processKeySym): adjust
2586         (dispatch): adjust
2587         (dispatch): change arg name from ev to func, adjust
2588         (sendDispatchMessage): ditto
2589
2590         * lyx_main.C (defaultKeyBindings): adjust keybindings
2591         (deadKeyBindings): ditto
2592
2593         * kbsequence.C (addkey): return a FuncRequest
2594
2595         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2596
2597         * kbmap.C (bind): take a FuncRequest as arg, adjust
2598         (read): adjust
2599         (lookup): adjust
2600         (defkey): change to take a FuncRequest as arg, adjust
2601         (findbinding): take a FuncRequest as arg, adjust.
2602
2603         * funcrequest.h (operator=): added
2604
2605         * funcrequest.C (FuncRequest): default kb_action changed from
2606         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2607
2608         * buffer.C (dispatch): simplify
2609         (dispatch): adjust to take a FuncRequest as arg, adjust
2610
2611         * boost.C (assertion_failed): change assertion message slightly
2612
2613         * ToolbarBackend.C (read): simplify
2614
2615         * MenuBackend.C (binding): adjust call to findbinding, add a
2616         message if no binding is found.
2617         (read): simplify
2618         (expandToc): correct by adding a empty FuncRequest
2619
2620         * LyXAction.C: include <boost/assert.hpp>
2621         (isPseudoAction): delete function
2622         (LookupFunc): change name to...
2623         (lookupFunc): this. change return type to FuncRequest.
2624         (getActionName): take kb_action as arg, simplify
2625         (funcHasFlag): add an assert, simplify.
2626
2627 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * toc.C (action): return a FuncRequest, simplify
2630
2631         * lyxfunc.C (processKeySym): adjust
2632         (getStatus): delete version that takes an int.
2633         (getStatus): adjust
2634         (dispatch): delete version that takes action as int
2635         (dispatch): adjust
2636         (sendDispatchMessage): simplify and adjust
2637
2638         * funcrequest.C (getArg): take unsigned int as arg
2639
2640         * ToolbarBackend.C (read): adjust
2641         (add): delete version that takes func as a string.
2642         (getIton): take a FuncRequest as arg
2643
2644         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2645         action.
2646
2647         * MenuBackend.C (MenuItem): add a new construct that only takes a
2648         Kind, simplify the constructor use for submenus.
2649         (add): adjust
2650         (expandLastfiles): adjust
2651         (expandDocuments): adjust
2652         (expandFormats): adjust
2653         (expandFloatListInsert): adjust
2654         (expandFloatInsert): adjust
2655         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2656
2657         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2658         Remove class variables lyx_pseudo_map and lyx_arg_map
2659
2660         * LyXAction.C (searchActionArg): delete function
2661         (getPseudoAction): delete function
2662         (retrieveActionArg): delete function
2663         (LookupFunc): make it return kb_action, simplify.
2664         (getActionName): simplify
2665
2666         * factory.C (createInset): fix new bug
2667
2668 2003-09-19  Angus Leeming  <leeming@lyx.org>
2669
2670         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2671         masterFilename_ parameter in the include inset.
2672
2673         * factory.C (createInset): changes due to the changes to InsetInclude.
2674
2675 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2676
2677         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2678
2679 2003-09-18  Angus Leeming  <leeming@lyx.org>
2680
2681         * buffer.C:
2682         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2683         Inset::fillWithBibKeys.
2684         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2685
2686 2003-09-18  Angus Leeming  <leeming@lyx.org>
2687
2688         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2689         variables.
2690         (ctor): pass and store a 'Buffer const &'
2691         (buffer): new member function.
2692
2693         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2694         '*this' to the LaTeXFeatures ctor.
2695
2696 2003-09-18  Angus Leeming  <leeming@lyx.org>
2697
2698         * LColor.h:
2699         * lyxfont.C:
2700         * lyxfont.h:
2701         * lyxtext.h:
2702         * text.C: rename EnumLColor as LColor_color.
2703
2704 2003-09-18  Angus Leeming  <leeming@lyx.org>
2705
2706         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2707         remove #include "insets/insetbase.h" from cursor.h.
2708
2709 2003-09-18  Angus Leeming  <leeming@lyx.org>
2710
2711         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2712         InsetOld_code to remove #include "inset.h".
2713
2714         * iterators.C: add #include "insets/inset.h"
2715
2716 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2717
2718         * BufferView.C: remove more locking stuff that apparently doesn't
2719         do anything sensible.
2720
2721 2003-09-16  André Pönitz  <poenitz@gmx.net>
2722
2723         * paragraph.[Ch]:
2724         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2725           performance boost.
2726
2727 2003-09-16  Angus Leeming  <leeming@lyx.org>
2728
2729         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2730
2731         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2732         arg/return type.
2733
2734         * paragraph.h: remove #include "lyxfont.h". Forward declare
2735         LyXFont_size.
2736
2737 2003-09-16  Angus Leeming  <leeming@lyx.org>
2738
2739         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2740         of support/textutils.h.
2741         (isWord): move the contents of support/textutils.h's IsWordChar here.
2742
2743         * buffer.C:
2744         * lyxfind.C:
2745         * rowpainter.C:
2746         * text.C:
2747         * text2.C: add #include "paragraph.h".
2748
2749         * rowpainter.C:
2750         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2751
2752 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * main.C:
2755         * lyx_main.C:
2756         * lyx_cb.C:
2757         * buffer.C:
2758         * LaTeX.C: use namespace alias for lyx::support::os
2759
2760 2003-09-16  Angus Leeming  <leeming@lyx.org>
2761
2762         * bufferparams.C:
2763         * bufferview_funcs.C:
2764         * factory.C:
2765         * lyxfunc.C:
2766         * paragraph_pimpl.C:
2767         * rowpainter.C:
2768         * text.C: add #include "LColor.h".
2769
2770 2003-09-16  Angus Leeming  <leeming@lyx.org>
2771
2772         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2773         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2774         return LyXFont &.
2775         Store the FontBits::color variable as an int rather than as an
2776         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2777         file.
2778
2779         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2780         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2781         string calls together.
2782
2783         * lyxrc.C: add #include "LColor.h".
2784
2785 2003-09-15  Angus Leeming  <leeming@lyx.org>
2786
2787         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2788         a cow_ptr.
2789
2790 2003-09-15  Angus Leeming  <leeming@lyx.org>
2791
2792         * LColor.h: add an EnumLColor wrapper for LColor::color.
2793
2794         * lyxfont.[Ch] (color, setColor, realColor):
2795         * lyxtext.h, text.C (backgroundColor):
2796         pass EnumLColor args to/from the functions, rather than LColor::color
2797         ones.
2798
2799         * lyxfont.h:
2800         * lyxtext.h: forward declare EnumLColor.
2801
2802         * lyx_main.C: add #include "LColor.h".
2803
2804 2003-09-15  Angus Leeming  <leeming@lyx.org>
2805
2806         * .cvsignore: add lyx-gtk.
2807
2808 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2809
2810         * Chktex.C
2811         * LaTeX.C
2812         * LaTeXFeatures.C
2813         * ParagraphParameters.C
2814         * Spacing.C
2815         * buffer.C
2816         * bufferparams.C
2817         * bufferview_funcs.C
2818         * chset.C
2819         * counters.C
2820         * funcrequest.C
2821         * lyxfont.C
2822         * lyxgluelength.C
2823         * lyxlength.C
2824         * paragraph.C
2825         * paragraph_funcs.C
2826         * text3.C
2827         * vc-backend.C: remove usage of STRCONV
2828
2829 2003-09-15  Angus Leeming  <leeming@lyx.org>
2830
2831         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2832         explicitly define the color passed to the painter.
2833
2834 2003-09-15  Angus Leeming  <leeming@lyx.org>
2835
2836         * bufferparams.C (BufferParams): reorder member initializers to avoid
2837         compiler warning.
2838
2839 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2840
2841         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2842         * text.C (updateRowPositions): remove an unusual nop
2843
2844 2003-09-12  André Pönitz  <poenitz@gmx.net>
2845
2846         * BufferView_pimpl.C:
2847         * Bullet.C:
2848         * layout.h:
2849         * lyxfunc.C:
2850         * lyxlayout.[Ch]:
2851         * lyxtextclass.C:
2852         * rowpainter.C:
2853         * text.C:
2854         * text2.C:
2855         * Counters.[Ch]: finish the 'automatic counters' job
2856
2857 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2858
2859         * aspell.C: include <boost/assert.cpp> (compile fix)
2860
2861 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2862
2863         * boost.C (assertion_failed): use lyx::support::abort instead of
2864         assert.
2865
2866 2003-09-10  Angus Leeming  <leeming@lyx.org>
2867
2868         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2869         with their _fwd progeny.
2870
2871 2003-09-09  Angus Leeming  <leeming@lyx.org>
2872
2873         134 files throughtout the source tree: replace 'using namespace abc;'
2874         directives with the appropriate 'using abc::xyz;' declarations.
2875
2876 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2877
2878         * boost.C (emergencyCleanup): moved here from LAssert.c
2879         (assertion_failed): new function, called by BOOST_ASSERT
2880
2881         * several files: change Assert to BOOST_ASSERT
2882
2883 2003-09-09  Angus Leeming  <leeming@lyx.org>
2884
2885         * buffer.[Ch]: Add an Impl class and move Buffer's member
2886         variables into it. As a result move several header files out of
2887         buffer.h.
2888
2889         Add header files to lots of .C files all over the tree as a result.
2890
2891 2003-09-09  Angus Leeming  <leeming@lyx.org>
2892
2893         * buffer.[Ch]: make Buffer's member variables private. Add
2894         accessor functions.
2895
2896         Lots of changes all over the tree as a result.
2897
2898 2003-09-08  Angus Leeming  <leeming@lyx.org>
2899
2900         * graph.C: #include <config.h>.
2901
2902 2003-09-08  Angus Leeming  <leeming@lyx.org>
2903
2904         * BranchList.C:
2905         * BufferView.C:
2906         * BufferView_pimpl.C:
2907         * CutAndPaste.C:
2908         * DepTable.C:
2909         * LaTeX.C:
2910         * LaTeXFeatures.C:
2911         * LyXAction.C:
2912         * MenuBackend.C:
2913         * TextCache.C:
2914         * aspell.C:
2915         * buffer.C:
2916         * bufferlist.C:
2917         * changes.C:
2918         * chset.C:
2919         * converter.C:
2920         * counters.C:
2921         * debug.C:
2922         * graph.C:
2923         * ispell.C:
2924         * lyx_cb.C:
2925         * lyxfind.C:
2926         * lyxfunc.C:
2927         * lyxlex_pimpl.C:
2928         * lyxrc.C:
2929         * lyxrow.C:
2930         * paragraph.C:
2931         * rowpainter.C:
2932         * texrow.C:
2933         * text.C:
2934         * text2.C:
2935         * toc.C: remove redundant using directives.
2936
2937 2003-09-07  Angus Leeming  <leeming@lyx.org>
2938
2939         * LaTeXFeatures.h: remove #include "support/types.h".
2940         * ToolbarBackend.h: remove #include <algorithm>.
2941         * changes.h: remove #include <ctime>.
2942         * debug.h: remove #include <iosfwd>.
2943         * graph.h: remove #include "support/std_string.h".
2944         * lyx_main.h: remove #include <csignal>.
2945         * lyxlex_pimpl.h: remove #include <fstream>.
2946         * sgml.h: remove #include <algorithm>, <utility>.
2947         * toc.h: remove #include "support/std_ostream.h".
2948         Add #include <iosfwd>.
2949
2950 2003-09-07  Angus Leeming  <leeming@lyx.org>
2951
2952         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2953
2954         * converter.h: forward declare LatexRunParams.
2955         * encoding.h: remove #include "lyxrc.h".
2956         * lyxtext.h: remove #include "LColor.h".
2957         * lyxtextclass.h: remove #include "support/types.h".
2958         * trans.h: remove #include "tex-accent.h".
2959         * trans_mgr.h: remove #include "tex-accent.h".
2960         * insets/inset.h: remove #include "support/types.h", <vector>.
2961         * insets/insetcollapsable.h: remove #include "LColor.h".
2962         * insets/insetinclude.h: remove #include "dimension.h".
2963         * insets/insetlatexaccent.h: remove #include "dimension.h".
2964         * insets/insetoptarg.h:: remove #include "insettext.h".
2965         * insets/insettext.h: remove #include "dimension.h",
2966         <boost/shared_ptr.hpp>
2967
2968         * insets/renderers.h: add #include "dimension.h".
2969         * insets/updatableinset.h: add #include "support/types.h".
2970
2971         * many .C files: Associated changes.
2972
2973 2003-09-06  Angus Leeming  <leeming@lyx.org>
2974
2975         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2976         one, inside testInvariant.
2977
2978         * PrinterParams.C: new file.
2979         * PrinterParams.[Ch]: move the function bodies out of line.
2980
2981 2003-09-06  Angus Leeming  <leeming@lyx.org>
2982
2983         * ParagraphParameters.h: forward declare ParameterStruct rather than
2984         including its header file.
2985         (depth): moved out-of-line.
2986
2987 2003-09-06  Angus Leeming  <leeming@lyx.org>
2988
2989         * BufferView_pimpl.h:
2990         * kbmap.h:
2991         * kbsequence.h:
2992         * lyxfunc.h: forward declare LyXKeySym rather than
2993         #include "frontends/LyXKeySym.h".
2994
2995         * BufferView_pimpl.C:
2996         * kbmap.C:
2997         * kbsequence.C:
2998         * lyxfunc.C: associated changes.
2999
3000 2003-09-06  Angus Leeming  <leeming@lyx.org>
3001
3002         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3003         As a result, can remove the #include "insets/inset.h" from BufferView.h
3004
3005 2003-09-06  Angus Leeming  <leeming@lyx.org>
3006
3007         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3008         As a result, can remove the #include "insets/inset.h" from BufferView.h
3009
3010 2003-09-06  Angus Leeming  <leeming@lyx.org>
3011
3012         * buffer_funcs.C:
3013         * buffer.h:
3014         * bufferlist.C:
3015         * BufferView.C:
3016         * bufferview_funcs.C:
3017         * BufferView_pimpl.C:
3018         * CutAndPaste.C:
3019         * lyx_cb.C:
3020         * lyxfunc.C:
3021         * paragraph.h:
3022         * ParagraphParameters.C:
3023         * tabular.C:
3024         * text3.C:
3025         * toc.C:
3026         * undo_funcs.C:
3027         * frontends/controllers/ControlDocument.C:
3028         * insets/insetcaption.C: rearrange the #includes into some sort of
3029         coherent order.
3030
3031         * buffer.h: remove #includes ErrorList.h, undo.h
3032
3033 2003-09-06  Angus Leeming  <leeming@lyx.org>
3034
3035         * support/types.h: add a 'depth_type' typedef, used to store the
3036         nesting depth of a paragraph.
3037
3038         * paragraph.h:
3039         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3040         defining explicitly.
3041
3042         * buffer.h:
3043         * paragraph_funcs.h:
3044         * ParagraphParameters.h:
3045         * sgml.h: use lyx::depth_type rather than Paragraph or
3046         ParameterStruct's depth_type.
3047
3048         * buffer.h
3049         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3050
3051         * BufferView.C:
3052         * BufferView_pimpl.C:
3053         * CutAndPaste.C:
3054         * ParagraphParameters.C:
3055         * buffer_funcs.C:
3056         * bufferlist.C:
3057         * bufferview_funcs.C:
3058         * lyx_cb.C:
3059         * lyxfunc.C:
3060         * tabular.C:
3061         * text3.C:
3062         * toc.C:
3063         * undo_funcs.C:
3064         * frontends/LyXView.C:
3065         * frontends/controllers/ControlDocument.C:
3066         * frontends/controllers/ControlErrorList.C:
3067         * insets/insetbibitem.C:
3068         * insets/insetbranch.C:
3069         * insets/insetcaption.C:
3070         * insets/insetcollapsable.C:
3071         * insets/insetenv.C:
3072         * insets/insetert.C:
3073         * insets/insetfloat.C:
3074         * insets/insetfoot.C:
3075         * insets/insetfootlike.C:
3076         * insets/insetnewline.C:
3077         * insets/insetquotes.C:
3078         * insets/insettabular.C:
3079         * insets/insettext.C:
3080         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3081
3082         * frontends/controllers/ControlChanges.C: #include "changes.h".
3083
3084 2003-09-06  Angus Leeming  <leeming@lyx.org>
3085
3086         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3087         than #including paragraph.h.
3088
3089         * ParagraphList.h:
3090         * RowList.h: deleted. Superfluous.
3091
3092         * CutAndPaste.h:
3093         * iterators.h:
3094         * lyxcursor.h:
3095         * lyxtext.h:
3096         * text_funcs.h:
3097         * undo.h:
3098         * undo_funcs.h:
3099         * insets/inset.h:
3100         * insets/insettext.h: use ParagraphList_fwd.h rather than
3101         ParagraphList.h.
3102
3103         * paragraph.h: don't forward declare ParagraphList.
3104
3105         * buffer.h:
3106         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3107         rather than ParagraphList.h. paragraph.h is still needed for the
3108         Paragraph::depth_type parameters.
3109
3110         * textcursor.h: enable it to compile stand-alone in light of the
3111         above changes.
3112
3113         * bufferview_funcs.C:
3114         * iterators.C:
3115         * lyxfunc.C:
3116         * lyxrow_funcs.C:
3117         * paragraph.C:
3118         * rowpainter.C:
3119         * text.C:
3120         * text2.C:
3121         * text3.C:
3122         * text_funcs.C:
3123         * textcursor.C:
3124         * undo.C:
3125         * frontends/controllers/ControlParagraph.C:
3126         * frontends/controllers/ControlTabular.C:
3127         * insets/insetmarginal.C:
3128         * insets/insetminipage.C:
3129         * insets/insetnote.C:
3130         * insets/insetoptarg.C: add header files needed to compile again.
3131
3132 2003-09-06  Angus Leeming  <leeming@lyx.org>
3133
3134         * RowList_fwd.h: new file, forward-declaring Row rather than
3135         #including lyxrow.h.
3136
3137         * lyxrow_funcs.h:
3138         * lyxtext.h:
3139         * paragraph.h:
3140         * insets/insettext.h: use it instead of RowList.h
3141
3142         * bufferview_funcs.C:
3143         * lyxfunc.C:
3144         * lyxrow_funcs.C:
3145         * paragraph.C:
3146         * rowpainter.C:
3147         * text.C:
3148         * text2.C:
3149         * text3.C: #include "RowList.h".
3150
3151 2003-09-05  Angus Leeming  <leeming@lyx.org>
3152
3153         * factory.C (createInset):
3154         * vspace.C (c-tor): replace sscanf call with an istringstream.
3155         * ispell.C: re-add missing HP/UX headers.
3156         * lyxserver.C: re-add missing  os2 headers.
3157
3158 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3159
3160         * BranchList.C:
3161         * graph.C:
3162         * ispell.C:
3163         * lastfiles.C:
3164         * lyx_cb.C:
3165         * lyxserver.C:
3166         * texrow.C:
3167         * text3.C: re-add missing system headers, needed for 2.95.2.
3168
3169 2003-09-05  Angus Leeming  <leeming@lyx.org>
3170
3171         Changes most place everywhere due to the removal of using directives
3172         from support/std_sstream.h.
3173
3174 2003-09-05  Angus Leeming  <leeming@lyx.org>
3175
3176         Replace LString.h with support/std_string.h,
3177         Lsstream.h with support/std_sstream.h,
3178         support/LIstream.h with support/std_istream.h,
3179         support/LOstream.h with support/std_ostream.h.
3180
3181         Changes resulting throughout the tree.
3182
3183 2003-09-05  Angus Leeming  <leeming@lyx.org>
3184
3185         * sgml.h: ensure that the header file can be compiled stand-alone.
3186         * *.C: strip out redundant #includes. (320 in total.)
3187
3188 2003-09-04  Angus Leeming  <leeming@lyx.org>
3189
3190         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3191         here (from getPackages).
3192
3193         * debug.[Ch]: add a new EXTERNAL tag.
3194
3195 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3196
3197         * text2.C (cursorEnd): simplify
3198         (setCursor): adjust
3199         (getColumnNearX): adjust
3200
3201         * text.C (computeBidiTables): adjust
3202         (fill): adjust
3203
3204         * rowpainter.C (paintChars): adjust
3205         (paintSelection): adjust
3206         (paintChangeBar): adjust
3207         (paintText): adjust
3208
3209         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3210         lastPos instead.
3211         (numberOfSeparators): adjust
3212
3213 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3214
3215         * LyXAction.C:
3216         * box.[Ch]:
3217         * lfuns.h:
3218         * lyxfunc.C:
3219         * text3.C: Restricts the mouse click functionality
3220         of insets like bibtex, include, toc and floatlist to the visible
3221         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3222         up the dialogs. Cursor has to be in front of the inset (i.e.
3223         start of row) for this to function.
3224
3225 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3226
3227         * bufferview_funcs.C (currentState): output row information
3228
3229 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3230
3231         * bufferview_funcs.C (currentState): output paragraph position
3232
3233 2003-09-04  Angus Leeming  <leeming@lyx.org>
3234
3235         * FloatList.h: move out #include "Floating.h".
3236         * LaTeX.h: move out #include "DepTable.h".
3237         * LyXAction.h: move out #include "funcrequest.h".
3238         * buffer.h: move out #include "author.h", "iterators.h".
3239         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3240         * lyx_main.h: move out #include "errorlist.h".
3241         * lyxfunc.h: move out #include "FuncStatus.h".
3242         * lyxtext: move out #include "lyxcursor.h".
3243         * paragraph_pimpl.h: move out #include "counters.h".
3244
3245 2003-09-03  Angus Leeming  <leeming@lyx.org>
3246
3247         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3248         preamble_snippets list, enabling us to add snippets to the preamble
3249         only if the snippet was not there already.
3250
3251 2003-09-04  Angus Leeming  <leeming@lyx.org>
3252
3253         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3254
3255 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3258         update
3259
3260 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3261
3262         * BranchList.C: point fix, earlier forgotten
3263
3264 2003-09-02  Angus Leeming  <leeming@lyx.org>
3265
3266         * box.C (contains): renamed from 'contained' after a fantastic
3267         amount of hot air.
3268
3269 2003-09-02  John Levon  <levon@movementarian.org>
3270
3271         * BufferView.C:
3272         * lyxcursor.h:
3273         * lyxcursor.C:
3274         * lyxfunc.C:
3275         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3276
3277 2003-09-02  John Levon  <levon@movementarian.org>
3278
3279         * text2.C: simplification of cursorEnd(), including partial
3280         fix for bug 1376
3281
3282 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3283
3284         * buffer.C (readFile): add a space
3285
3286 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3289
3290 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3291
3292         * buffer.C (readFile): new function, take a filename and a
3293         ParagraphList::iterator
3294         (readFile): adjust
3295         (readFile): adjust, make it private. don't use setStream, make
3296         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3297         always contain the filename.
3298
3299         * BufferView.C (insertLyXFile): simplify and make it work for
3300         gzipped files.
3301
3302 2003-08-30  John Levon  <levon@movementarian.org>
3303
3304         * Makefile.am: fix dist (from Kayvan)
3305
3306 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * most files: change to use const Buffer refs
3309
3310 2003-08-27  André Pönitz  <poenitz@gmx.net>
3311
3312         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3313         on top of ownerPar().
3314
3315 2003-08-27  John Levon  <levon@movementarian.org>
3316
3317         * funcrequest.C: properly initialise POD members
3318
3319 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * lyxtext.h (top_y): move top_y from here
3322         * text.C:
3323         * text2.C:
3324         * text3.C:
3325         * BufferView.[Ch]:
3326         * BufferView_pimpl.[Ch]: to here
3327         * frontends/screen.C:
3328         * insets/insettabular.C:
3329         * insets/insettext.C: adjust
3330         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3331
3332 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3333
3334         * BufferView.[Ch]:
3335         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3336
3337 2003-08-26  André Pönitz  <poenitz@gmx.net>
3338
3339         * paragraph_func.[Ch] (outerPar): new function
3340
3341         * paragraph.C:
3342         * paragraph_funcs.C:
3343         * paragraph_funcs.h:
3344         * paragraph_pimpl.C:
3345         * text2.C: remove Inset::par_owner
3346
3347 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3348
3349         * lyxrow_funcs.C:
3350         * lyxtext.h:
3351         * text.C:
3352         * text2.C: eliminates the needFullRow/display() stuff
3353         altogether, putting the logic in metrics/draw in the insets.
3354
3355 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * text2.C (redoParagraphInternal, redoParagraphs):
3358         * text.C (redoParagraph): add a call to updateRowPositions at the
3359         end of each 'metrics-like' call. Remove all others.
3360         (getRow): remove the 'y-computing' version.
3361         (getRowNearY): do not compute nor return the real y. Solve the
3362         'y < 0' problem and simplify.
3363
3364 2003-08-22  Angus Leeming  <leeming@lyx.org>
3365
3366         * *.[Ch]: clean-up of licence and author blurbs.
3367         Also move config.h out of a few .h files and into a few .C files.
3368
3369 2003-08-22  André Pönitz  <poenitz@gmx.net>
3370
3371         * lyxrow.[Ch]: add x_ and *fill_ members
3372
3373         * lyxtext.h:
3374         * text.C:
3375         * rowpainter.C:
3376         * text2.C: adjust/remove prepareToPrint() calls
3377
3378 2003-08-22  André Pönitz  <poenitz@gmx.net>
3379
3380         * lyxrow.[Ch]: add  end_ member
3381
3382         * lyxrow_funcs.C: use LyXRow::end_
3383
3384         * lyxtext.h (singleWidth): add LyXFont parameter
3385
3386         * rowpainter.C:
3387         * text2.C: adjust LyXText::singleWidth() calls
3388
3389         * text.C (redoParagraph): simplify row breaking logic
3390
3391
3392 2003-08-19  André Pönitz  <poenitz@gmx.net>
3393
3394         * funcrequest.C: initialize button_ member
3395
3396         * text3.C:
3397         * rowpainter.[Ch]: interface consolidation
3398
3399 2003-08-18  André Pönitz  <poenitz@gmx.net>
3400
3401         * BufferView.C:
3402         * BufferView_pimpl.C:
3403         * lyxfind.C:
3404         * paragraph_funcs.C:
3405         * rowpainter.C:
3406         * text3.C: remove LyXScreen::draw() and fitCursor calls
3407
3408         * BranchList.h: remove spurious semicolons
3409
3410         * MenuBackend.C: fix branchlist related crash
3411
3412 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3413
3414         * BranchList.[Ch]:
3415         * InsetList.[Ch]:
3416         * LColor.[Ch]:
3417         * LyXAction.C:
3418         * Makefile.am:
3419         * MenuBackend.[Ch]:
3420         * bufferparams.[Ch]:
3421         * factory.C:
3422         * lfuns.h:
3423         * lyxfunc.C:
3424         * text3.C: implements the 'branch inset'
3425         idea. This allows the output of various versions of a document
3426         from a single source version, selectively outputing or suppressing
3427         output of parts of the text.
3428         This implementation contains a 'branch list editor' in a separate
3429         tab of the document settings dialog. Branches are user definable
3430         and have a "display colour" to distinguish them on-screen.
3431
3432         ColorHandler was somewhat cleaned up.
3433         (1) make possible a dynamically growing LColor list by allowing
3434         the graphic context cache to grow along (vector);
3435         (2) eliminate an IMHO unnecessary step in colour allocation.
3436
3437 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3438
3439         * BufferView_pimpl.C: compile fix
3440
3441 2003-08-15  André Pönitz  <poenitz@gmx.net>
3442
3443         * rowpainter.C: remove extra metrics calls
3444
3445         * lyxtext.h: merge the two constructors into a single one,
3446           pass reference to owner's par list
3447
3448         * BufferView_pimpl.C:
3449         * text.C:
3450         * text2.C: adjust
3451
3452 2003-08-15  André Pönitz  <poenitz@gmx.net>
3453
3454         * lyxrow_funcs.[Ch]:
3455         * lyxtext.h:
3456         * paragraph.h:
3457         * paragraph_funcs.C:
3458         * rowpainter.C:
3459         * text.C:
3460         * text2.C:
3461         * text3.C:
3462         * text_funcs.C: split LyXText::rowlist_ into individual
3463         Paragraph::rows_ chunks
3464
3465         * BufferView.[Ch]:
3466         * BufferView_pimpl.[Ch]:
3467         * lyxfind.C:
3468         * lyxtext.h:
3469         * text3.C: remove toggleSelection()
3470
3471 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3472
3473         * bufferlist.C: beautify two alerts (shorter text of buttons)
3474         * buffer.C: Remove redundant ' ' from message
3475         * tabular.h:
3476         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3477         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3478         rename VALIGN_CENTER to VALIGN_MIDDLE
3479
3480 2003-08-11  André Pönitz  <poenitz@gmx.net>
3481
3482         * lyxtext.h (getPar):
3483         * text.C: new function
3484
3485 2003-08-11  André Pönitz  <poenitz@gmx.net>
3486
3487         * Makefile.am:
3488         * tracer.[Ch]: remove unneeded files
3489
3490         * InsetList.[Ch]: remove resizeInsetsLyXText()
3491
3492         * lyxtext.h:
3493         * text.C:
3494         * text2.C:
3495         * text3.C: merge insertParagraphs() and appendParagraph()
3496         remove breakAgain(), update()
3497
3498         * BufferView_pimpl.[Ch]:
3499         * bufferview_funcs.[Ch]:
3500         * lyxfunc.C:
3501         * paragraph.[Ch]:
3502         * rowpainter.C:
3503         * tabular.C: adjust after text & InsetList changes.
3504
3505 2003-08-08  André Pönitz  <poenitz@gmx.net>
3506
3507         * text.C (insertChar, backspace): replace rowlist fiddling
3508         with rebreak of full par
3509
3510         * lyxtext.h:
3511         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3512         checkParagraph, updateInset): removed
3513
3514 2003-08-07  André Pönitz  <poenitz@gmx.net>
3515
3516         * paragraph.C:
3517         * text3.C: merge some LFUN handlers, remove dead code
3518
3519 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3520
3521         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3522
3523 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3524
3525         * text2.C (DEPM): fix part of bug 1255 and 1256
3526
3527 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3528
3529         * BufferView_pimpl.C (workAreaDispatch): change to use
3530         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3531         that are no mouse related.
3532
3533 2003-08-05  André Pönitz  <poenitz@gmx.net>
3534
3535         * BufferView.[Ch]:
3536         * BufferView_pimpl.[Ch]:
3537         * bufferview_funcs.C:
3538         * text2.C:
3539         * text3.C: rip out "deep update"
3540
3541         * textcursor.[Ch] (last_sel_cursor): remove unused member
3542
3543 2003-08-04  André Pönitz  <poenitz@gmx.net>
3544
3545         * BufferView.[Ch]:
3546         * BufferView_pimpl.[Ch]:
3547         * ParagraphParameters.C:
3548         * bufferview_funcs.C:
3549         * lyx_cb.C:
3550         * lyxfind.C:
3551         * lyxfunc.C:
3552         * text.C:
3553         * text2.C:
3554         * text3.C: replace "complicated" BufferView::update(...) calls with
3555         simpler ones.
3556
3557         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3558
3559 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3560
3561         * Makefile.am (lyx_SOURCES): add paper.h
3562
3563 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3564
3565         * Makefile.am: move things around so that both lyx-qt and
3566         lyx-xforms can be built (according to --with-frontend). Then lyx
3567         is a symbolic link to lyx-[firstfrontend]
3568
3569 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3570
3571         * Always use std::endl with lyxerr
3572
3573 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3574
3575         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3576
3577 2003-08-01  André Pönitz  <poenitz@gmx.net>
3578
3579         * BufferView.[Ch]:
3580         * BufferView_pimpl.[Ch]:
3581         * lyxfunc.C:
3582         * text3.C: merge BufferView::repaint() and BufferView::update()
3583
3584 2003-08-01  José Matos  <jamatos@lyx.org>
3585
3586         * buffer.[Ch]: file_format is no longer a buffer data element.
3587
3588 2003-08-01  André Pönitz  <poenitz@gmx.net>
3589
3590         * BufferView.C:
3591         * lyxtext.h:
3592         * text.C:
3593         * text2.C: make redoParagraph more independent of current cursor
3594
3595         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3596         * text.C:
3597         * text2.C: remove unneeded members
3598
3599 2003-07-30  André Pönitz  <poenitz@gmx.net>
3600
3601         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3602
3603         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3604           create a single function...
3605
3606         * paragraph_funcs.C (moveItem): ... here.
3607
3608         * text.C:
3609           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3610
3611 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3612
3613         * LColor.[Ch]: Add comment and greyedout logical colors.
3614
3615 2003-07-30  André Pönitz  <poenitz@gmx.net>
3616
3617         * tabular.C: don't use Assert too heavily. This crashes where it
3618           shouldn't
3619
3620 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3621
3622         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3623         is disabled (bug 1232)
3624
3625 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3626
3627         * factory.C: limited 'arg' scope
3628
3629 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3630
3631         * factory.C: fixed Note submenu issues
3632
3633 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3634
3635         * factory.C: submenu for Note/Comment/Greyedout
3636
3637 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * lyx_main.C (LyX):
3640         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3641
3642 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3643
3644         * LaTeXFeatures.C:
3645         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3646         greyedout. Patch provided by Jürgen Spitzmüller.
3647
3648 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3649
3650         * kbmap.C (read): fix error message when reading bind files
3651
3652 2003-07-29  Angus Leeming  <leeming@lyx.org>
3653
3654         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3655         certainly does not do what it purports to do. I am doing it, and
3656         us, a favour by killing it.
3657
3658 2003-07-28  José Matos  <jamatos@lyx.org>
3659
3660         * buffer.C (readBody, do_writeFile):
3661         * paragraph.C(readParagraph): \end_document replaces \the_end.
3662
3663 2003-07-29  André Pönitz  <poenitz@gmx.net>
3664
3665         * BufferView.[Ch]:
3666         * BufferView_pimpl.[Ch]:
3667         * lyxfunc.C:
3668         * text2.C:
3669         * text3.C:
3670         * textcursor.[Ch]: remove toggleToggle & Co
3671
3672 2003-07-28  José Matos  <jamatos@fep.up.pt>
3673
3674         * buffer.C (readParagraph):
3675         * params_func (readParToken, readParagraph):
3676         * paragraph.C (write): \layout -> \begin_layout.
3677
3678 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * lyxlex_pimpl.C (setFile): clean up slightly.
3681
3682         * bufferparams.h: add compressed var
3683
3684         * buffer_funcs.C (readFile): adjust for LyXLex change
3685         (newFile): ditto + simplify
3686
3687         * buffer.C (writeFile): handle writing of compressed files
3688
3689         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3690         Check if the file is compressed and set a bufferparm if so.
3691
3692         * Makefile.am (lyx_LDADD): remove explicit -lz
3693
3694 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3695
3696         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3697         makeDocBookFile): put the real LyX version in the first line of
3698         the file
3699
3700         * version.h:
3701         * version.C.in: remove lyx_docversion
3702
3703         * tabular.C (write_attribute): add a template-based version to
3704         write enums properly
3705
3706 2003-07-28  André Pönitz  <poenitz@gmx.net>
3707
3708         * lyxtext.h:
3709         * text.C:
3710         * text2.C:
3711         * text3.C: use doubles again for x-coordinates. They are needed.
3712
3713 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * messages.C (getLocaleDir): use lyx_localedir()
3716
3717         * lyxlex_pimpl.C (setFile): compress stuff
3718
3719         * buffer.C (writeFile): add some compression stuff
3720         (do_writeFile): new func, dont call expliti close... will this
3721         breake anything?
3722
3723         * Makefile.am (lyx_LDADD): add -lz
3724
3725 2003-07-28  José Matos  <jamatos@fep.up.pt>
3726
3727         * buffer.C: increment file format.
3728         * paragraph_funcs (readParagraph, readParToken):
3729         * paragraph.C (readParagraph): add \end_layout.
3730
3731 2003-07-27  Angus Leeming  <leeming@lyx.org>
3732
3733         * Makefile.am: remove special casing for configure-time setting of
3734         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3735
3736         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3737         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3738
3739 2003-07-26  André Pönitz  <poenitz@gmx.net>
3740
3741         * paragraph_func.[Ch]:
3742         * paragraph.C (realizeFont): inline it whereever it is used
3743
3744         * rowpainter.C:
3745         * text.C:
3746         * text2.C:
3747         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3748
3749
3750 2003-07-26  André Pönitz  <poenitz@gmx.net>
3751
3752         *       lyxtext.h:
3753         * text.C:
3754         * text2.C: get rid of LyXText::need_break_row
3755
3756 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * toc.[Ch]: put namespace toc inside namespace lyx
3759
3760         * MenuBackend.C (expandToc2): adjust for lyx::toc
3761         (expandToc): ditto
3762
3763         * lyxfunc.C (dispatch): adjust for lyx::find
3764
3765         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3766         lyx::find instead. Reorganize a bit.
3767         (LyXReplace): rename to replace
3768         (LyXFind): rename to find
3769
3770         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3771         (dispatch): ditto
3772
3773 2003-07-26  André Pönitz  <poenitz@gmx.net>
3774
3775         * text.C (setHeightOfRow): restrict scope of temporary variable
3776
3777         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3778           code (never has been used?)
3779
3780 2003-07-27  Asger Alstrup  <alstrup@local>
3781
3782         * text.C (fill): Optimise algorithm to exploit that we can reuse
3783         the LyXFont for many characters.
3784         (setHeightOfRow): Same thing.
3785         (rowBreakPoint): Same thing.
3786
3787 2003-07-26  Asger Alstrup  <alstrup@local>
3788
3789         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3790
3791         * text.C (singleWidth): Spurious font copying in hot-spot
3792         singleWidth avoided. Reorder tests for arabic for efficiency.
3793
3794         * text.C (fill): handle empty paragraphs better.
3795
3796 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3797
3798         * ispell.C:
3799         * encoding.h: add includes
3800
3801         * lyxrc.C: remove reading of bind files
3802
3803         * lyx_main.C (init): setup bindings and menus only if we have a
3804         gui.
3805
3806         * kbmap.C (read): new method. Do the actual reading of bind
3807         files.
3808
3809         * converter.C (dvipdfm_options):
3810         * bufferparams.C:
3811         * lyxrc.C (read):
3812         (output): adapt PAPER_* enums.
3813
3814         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3815
3816         * bufferparams.h: remove paper-related enums from there
3817
3818         * paper.h: New file. A trivial header file to hold paper-related
3819         enums. It should later expand to contain many paper-related
3820         horrors access.
3821
3822         * lyxrc.C: declare extern displayTranslator
3823
3824 2003-07-27  José Matos  <jamatos@fep.up.pt>
3825
3826         * tabular.[Ch] (linuxdoc): add support for tables and figures
3827         (linuxdoc).
3828
3829 2003-07-27  José Matos  <jamatos@fep.up.pt>
3830
3831         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3832         consistency in both functions.
3833         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3834
3835 2003-07-26  Asger Alstrup  <alstrup@local>
3836
3837         * rowpainter.C (paintRows): Change algorithm to work directly on
3838         the insets rather than asking every character in the document
3839         whether its an inset.
3840
3841 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3842
3843         * buffer.C (openFileWrite): factorize some code
3844
3845 2003-07-26  Angus Leeming  <leeming@lyx.org>
3846
3847         * lyx_cb.C:
3848         * lyx_main.[Ch]: replace occurances of system_tempdir with
3849         os::getTmpDir().
3850
3851 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * rename Inset to InsetOld
3854
3855 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3856
3857         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3858         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3859         which I think is a bit clearer. EDIT is gone, since it was
3860         premature optimisation, and broken for mathed anyway.
3861         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3862         with cursor positioning in insets as well (math insets still do not
3863         work, but that's a different story anyway.) It mysteriously
3864         crashes sometimes with undo in the first paragraph, but I'm fairly
3865         confident that this is a compiler bug.
3866
3867 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * paragraph.C (Paragraph): adjust for new clone return type
3870         (operator==): ditto
3871         (copyIntoMinibuffer): ditto
3872
3873 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3874
3875         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3876         by not having a special case, and always doing a full rebreak of
3877         the document after undo.
3878
3879 2003-07-23  Angus Leeming  <leeming@lyx.org>
3880
3881         * factory.C (createInset): InsetExternal::setParams now takes a
3882         Buffer const * arg.
3883
3884 2003-07-23  Angus Leeming  <leeming@lyx.org>
3885
3886         * factory.C (createInset): changed interface to the external and
3887         graphics mailers' string2params functions.
3888
3889 2003-07-23  Angus Leeming  <leeming@lyx.org>
3890
3891         * factory.C (createInset): pass a
3892         Buffer const * parameter to InsetExternalMailer's string2params.
3893
3894 2003-07-22  John Levon  <levon@movementarian.org>
3895
3896         * Thesaurus.h: include the right aiksaurus header
3897
3898 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3899
3900         * MenuBackend.C (expand): check menu shortcuts unconditionally
3901
3902 2003-07-21  Angus Leeming  <leeming@lyx.org>
3903
3904         * factory.C (createInset): pass a
3905         buffer_path parameter to InsetGraphicsMailer's string2params.
3906
3907 2003-07-21  Angus Leeming  <leeming@lyx.org>
3908
3909         * BufferView_pimpl.C (buffer):
3910         * buffer.C (d-tor):
3911         * lyx_main.C (LyX):
3912         * lyxfunc.C (dispatch):
3913         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3914         rather than the grfx shortcut.
3915
3916 2003-07-21  André Pönitz  <poenitz@gmx.net>
3917
3918         * rowpainter.C: remove unused variables
3919
3920         * tabular_funcs.C:
3921         * tabular_funcs.h: move to tabular.C
3922         * Makefile.am: adjust
3923
3924         * tabular.[Ch]: basic optical cleaning
3925
3926         * author.h: pass references, not values
3927
3928 2003-07-18  André Pönitz  <poenitz@gmx.net>
3929
3930         * lyxtext.h:
3931         * metricsinfo.C:
3932         * metricsinfo.h:
3933         * rowpainter.C:
3934         * text.C:
3935         * text2.C:
3936         * text3.C: two-phase drawing for InsetText and InsetTabular
3937         some float -> int changes.
3938
3939 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3940
3941         * lyx_main.C: fix the fix
3942
3943 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * lyx_main.C: fix a crash in batch mode if no files specified
3946         * converter.C: ws
3947
3948 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * format.[Ch] (papersize): moved to BufferParams
3951         * converter.[Ch] (dvips_options): moved to BufferParams
3952         (dvipdfm_options): moved to anon namespace
3953         * bufferparams.[Ch]: added above functions.
3954
3955 2003-07-17  André Pönitz  <poenitz@gmx.net>
3956
3957         * lyxtext.h:
3958         * rowpainter.C:
3959         * text2.C: don't call inset->update() anymore
3960
3961         * metricsinfo.[Ch]: add convenience constructor
3962
3963 2003-07-16  André Pönitz  <poenitz@gmx.net>
3964
3965         * lyxcursor.[Ch]:
3966         * lyxfunc.[Ch]:
3967         * text.C:
3968         * text2.C: replace the LyXCursor::irow_ member with
3969          on-demand computation of the value
3970
3971 2003-07-16  John Levon  <levon@movementarian.org>
3972
3973         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3974
3975 2003-07-15  André Pönitz  <poenitz@gmx.net>
3976
3977         * text.C:
3978         * text2.C: remove no more needed refresh_row
3979
3980 2003-07-15  André Pönitz  <poenitz@gmx.net>
3981
3982         * lyxtext.h:
3983         * rowpainter.C:
3984         * text2.C:
3985         * text3.C: refresh_status tristate -> need_update bool
3986
3987 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * lyxtext.h (init): remove reinit argument (act as if always true)
3990         * text2.C: adjust to that
3991
3992 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3993
3994         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3995         * text3.C: use it to delete selections in some cases
3996         (bugs 441, 673, 702, 954).
3997
3998 2003-07-14  André Pönitz  <poenitz@gmx.net>
3999
4000         * rowpainter.[Ch]: reduce interface
4001
4002 2003-07-14  André Pönitz  <poenitz@gmx.net>
4003
4004         * BufferView_pimpl.C:
4005         * text2.C: adjust after removing unused BufferView * argument
4006
4007 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4008
4009         * text2.C (init): fix a crash fired on resize
4010
4011 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * buffer.[Ch]: added new closing signal
4014         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4015         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4016         BufferView::Pimpl via the closing the signal
4017
4018 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4019
4020         * buffer.[Ch]: take out all bv-related from buffer
4021         * BufferView.C:
4022         * BufferView_pimpl.[Ch]: connect to new signals
4023         * CutAndPaste.C: removed useless asserts
4024         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4025         * lyxvc.[Ch]:
4026         * vc-backend.[Ch]:
4027         * lyxfunc.C: moved view-related funciontality from vc here
4028         * paragraph.C: removed outdated comments
4029         * text.C: ws
4030
4031 2003-07-10  André Pönitz  <poenitz@gmx.net>
4032
4033         * BufferView_pimpl.C:
4034         * tabular.h:
4035         * tabular_funcs.C:
4036         * text.C:
4037         * text2.C: remove InsetText::InnerCache, clean up consequences
4038
4039 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4040
4041         * ispell.C: fix two typos in error messages
4042
4043 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4044
4045         * Extend Note inset to other forms of annotation like Comment
4046         and Greyedout. Right button click gives dialog.
4047
4048         Files modified or added (+):
4049
4050         * insetnote.[Ch]
4051         * FormNote.[Ch]      +
4052         * ControlNote.[Ch]   +
4053         * form_note.fd       +
4054         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4055         frontends/controllers
4056         * xforms/Dialogs.C
4057         * factory.C
4058
4059 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4060
4061         * aspell.C: add missing namespace lyx::support
4062
4063 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4064
4065         * BufferView.[Ch] (newFile): Add
4066         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4067         * LaTeX.[Ch] (message): added this signal and use it
4068         * buffer.[Ch] (busy, message): added these signals and use them
4069         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4070         * converter.C:
4071         * exporter.C:
4072         * format.C:
4073         * importer.C: use buffer signals instead of direct bv calling
4074         * lyx_cb.[Ch] (ShowMessage): removed
4075         * lyx_main.C:
4076         * lyxfunc.C:
4077         * paragraph_funcs.C:
4078         * text2.C: use buffer signals
4079
4080 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * introduce namespace lyx::graphics
4083
4084 2003-07-02  André Pönitz  <poenitz@gmx.net>
4085
4086         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4087
4088 2003-07-01  André Pönitz  <poenitz@gmx.net>
4089
4090         * text.C:
4091         * text2.C:
4092         * text3.C:
4093         * text_funcs.[Ch]:
4094         * textcursor.h:
4095         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4096           text*.C to text_func.C
4097
4098 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * introduce namespace lyx::support
4101
4102 2003-06-30  André Pönitz  <poenitz@gmx.net>
4103
4104         * Chktex.C:
4105         * funcrequest.C:
4106         * lyxtext.h:
4107         * text.C: re-enable --with-included-string
4108
4109 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4110
4111         * textcursor.C: add <config.h>
4112
4113         * text.C (getWord): remove const from word_location arg
4114
4115         * lyxvc.C (getLogFile): fix const type order
4116
4117         * lyxtext.h: remove const from word_location arg, add arg name
4118
4119         * lyxlayout.h: currect type on labeltype.
4120
4121         * importer.C: correct \file
4122
4123         * converter.C (intToFormat): use std:: on ret val, ws changes
4124
4125         * bufferlist.h: correct \file
4126
4127         * buffer.C (makeLinuxDocFile): fix const type order
4128         (makeDocBookFile): ditto
4129         (fillWithBibKeys): use std:: on stdlib args.
4130
4131         * CutAndPaste.C: fix authors.
4132         (availableSelections): use std:: on return vector
4133
4134 2003-06-27  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView_pimpl.C:
4137         * bufferview_funcs.C:
4138         * lyxcursor.C:
4139         * lyxcursor.h:
4140         * lyxfunc.C:
4141         * lyxtext.h:
4142         * rowpainter.C:
4143         * text.C:
4144         * text2.C:
4145         * text3.C: remove LyXCursor::row_ member
4146
4147         * lyxtext.h:
4148         * text.C: rename fullRebreak() to partialRebreak() and implement
4149           a fullRebreak() that really bereks fully
4150
4151         * textcursor.h: new struct for cursor-related data
4152
4153 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4154
4155         * lyx_main.C (LyX): get full path of document loaded on the
4156         command line
4157
4158 2003-06-26  André Pönitz  <poenitz@gmx.net>
4159
4160         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4161           remove unused/broken operator>,<,>=.
4162
4163         *       text.C: remove only use of broken operator<= in an Assert().
4164
4165 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4168         moved errorlist_.clear to showErrorList
4169
4170 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * converter.C (scanLog, runLaTeX):
4173         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4174         move the bv->showErrorList call to the callers
4175         * lyxfunc.C: i.e. here...
4176         * text2.C: and here
4177         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4178         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4179         namespace, the second to...
4180         * buffer_funcs (BufferFormat, parseErrors): added
4181         * errorlist.C (ErrorList(TeXErrors const &)): removed
4182
4183 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4184
4185         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4186
4187 2003-06-24  "Garst R. Reese" <reese@isn.net>
4188
4189         * debug.C: fix typo
4190
4191 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4192
4193         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4194
4195         * version.C.in: change docversion to 1.4
4196
4197 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4198
4199         * buffer.C: fix a bug just introduced
4200
4201 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * buffer.[Ch]: added the parseError signal and use it, removed
4204         sgmlError
4205         * BufferView.[Ch] (addError): moved to ...
4206         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4207         to the Buffer::parseError signal to catch (guess what) parse errors
4208         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4209
4210 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4213         ability to create a buffer and to return an existing one from
4214         the list. Moved these functions to...
4215         * buffer_funcs.[Ch]: added
4216         * BufferView.[Ch] (loadLyXFile): added
4217         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4218         job removed from bufferlist::loadLyXFile.
4219         * buffer.C (setReadOnly): make it work without view
4220         (i.e added an if (users))
4221
4222 2003-06-19  Angus Leeming  <leeming@lyx.org>
4223
4224         * lfuns.h:
4225         * LyXAction.C (init):
4226         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4227         with LFUN_DIALOG_SHOW <name> <data>.
4228
4229 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4230
4231         * CutAndPaste.C (availableSelections): small compilation fix for
4232         ancient (gcc 2.9x) compilers
4233
4234 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4235
4236         * text3.C (cursorNext): add tmp var
4237
4238         * text2.C (updateCounters): for function calling out of for clause
4239         (replaceSelectionWithString): ditto
4240         (insertStringAsParagraphs): ditto
4241         (getColumnNearX): add tmp var
4242         (setCursorFromCoordinates): add tmp var
4243         (cursorDownParagraph): add tmp var
4244         (deleteEmptyParagraphMechanism): add tmp var
4245
4246         * text.C (insertChar): add tmp var
4247
4248         * rowpainter.C (paintDepthBar): add tmp var
4249
4250         * CutAndPaste.C (availableSelections): potentially check all
4251         paragraphs in a cut to fill the shown strings.
4252
4253 2003-06-18  André Pönitz  <poenitz@gmx.net>
4254
4255         * kbmap.[Ch]: use vector<> instead of list<>
4256
4257 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4258
4259         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4260         pasteSelection with index
4261
4262         * text2.C (pasteSelection): modify, call pasteSelection with index
4263
4264         * paragraph.C (asString): reimplement version with no interval to
4265         call the one with interval.
4266
4267         * lyxtext.h: add index arg to pasteSelection
4268
4269         * MenuBackend.C (MenuItem): handle PasteRecent
4270         (Menu::read::Menutags): add md_pasterecent
4271         (read): handle it
4272         (expandPasteRecent): new function
4273         (expand): use it
4274
4275         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4276
4277         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4278         the limited stack
4279         (availableSelections): new function
4280
4281 2003-06-17  Angus Leeming  <leeming@lyx.org>
4282
4283         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4284
4285 2003-06-17  Angus Leeming  <leeming@lyx.org>
4286
4287         * lfuns.h:
4288         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4289
4290         * lyxfunc.C (dispatch): invoke it.
4291
4292 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4293
4294         * iterators.C (operator++, ParPosition): reintroduce some
4295         const_cast for the benefit of older compilers.
4296
4297 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4298
4299         * text3.C (dispatch): do not modify clipboard when doing
4300         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4301         LFUN_DELETE_SKIP on a selection selection
4302
4303 2003-06-16  André Pönitz  <poenitz@gmx.net>
4304
4305         * BufferView.C:
4306         * buffer.C:
4307         * buffer.h:
4308         * paragraph.C:
4309         * tabular.[Ch]: IU of clone() and getLabelList();
4310
4311 2003-06-13  André Pönitz  <poenitz@gmx.net>
4312
4313         * tabular.h: compactification
4314
4315 2003-06-12  André Pönitz  <poenitz@gmx.net>
4316
4317         * tabular.C:
4318         * tabular.h:
4319         * tabular_funcs.h: some renaming plus whitespace
4320
4321 2003-06-12  André Pönitz  <poenitz@gmx.net>
4322
4323         * BufferView.C:
4324         * BufferView_pimpl.C:
4325         * CutAndPaste.C:
4326         * buffer.C:
4327         * iterators.[Ch]:
4328         * lyxfunc.C:
4329         * text.C:
4330         * toc.C: Return a Paragraph & for ParIterator::operator*()
4331
4332 2003-06-11  John Levon  <levon@movementarian.org>
4333
4334         * lyx_main.C:
4335         * ToolbarBackend.h:
4336         * ToolbarBackend.C: add "Toolbars" section and
4337         put the flags there
4338
4339 2003-06-10  Angus Leeming  <leeming@lyx.org>
4340
4341         * lfuns.h:
4342         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4343
4344         * lyxfunc.C (dispatch): invoke it.
4345
4346 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * main.C: protect <ios> with HAVE_IOS
4349         (main): protect sync_with_stdio with HAVE_IOS
4350
4351 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4352
4353         * text2.C (cutSelection): adjust
4354         (pasteSelection): adjust
4355
4356         * messages.C: handle get of empty string
4357
4358         * main.C (main): use sync_with_stdio(false)
4359
4360         * lyxfunc.C (dispatch): adjust
4361
4362         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4363         (WriteAs): remove unneeded BufferView arg.
4364
4365         * bufferparams.h: use correct types on papersize, papersize2 and
4366         paperpackage.
4367
4368         * bufferparams.C (readToken): adjust for type
4369         (writeLaTeX): add missing cases to switch.
4370
4371         * bufferlist.C (quitWriteBuffer): adjust
4372         (close): adjust
4373
4374         * buffer.C (asciiParagraph): remove some commented code.
4375
4376         * CutAndPaste.C: remove current_view extern variable.
4377         (cutSelection): add BufferParams arg.
4378         (eraseSelection): add BufferParams arg.
4379         (pasteSelection): add Buffer const & arg
4380
4381 2003-06-07  John Levon  <levon@movementarian.org>
4382
4383         * buffer.C:
4384         * paragraph_funcs.C:
4385         * paragraph_pimpl.C:
4386         * text.C:
4387         * text2.C:
4388         * paragraph.h:
4389         * paragraph.C: allow InsetERT to freely space lines,
4390         and some consolidation of code
4391
4392 2003-06-06  José Matos  <jamatos@fep.up.pt>
4393
4394         * buffer.C (makeDocBookFile): fix bug #821
4395
4396 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4397
4398         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4399
4400 2003-06-04  Angus Leeming  <leeming@lyx.org>
4401
4402         * buffer.C: bump format to 224.
4403
4404 2003-06-05  André Pönitz  <poenitz@gmx.net>
4405
4406         * text2.C (redoParagraphs): remove two const_cast<>
4407
4408 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4409
4410         * ParagraphList.h: remove last remnants of NO_STD_LIST
4411
4412 2003-06-03  Angus Leeming  <leeming@lyx.org>
4413
4414         * factory.C (createInset): small change to the way InsetExternal's params
4415         are set.
4416
4417 2003-06-04  André Pönitz  <poenitz@gmx.net>
4418
4419         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4420
4421         * paragraph_pimpl.h:
4422         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4423
4424         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4425
4426         * undo_funcs.C: make some simple cases of undo work again
4427
4428 2003-06-03  John Levon  <levon@movementarian.org>
4429
4430         * ispell.C: HPUX doesn't have sys/select.h
4431         (from Albert Chin)
4432
4433 2003-06-03  John Levon  <levon@movementarian.org>
4434
4435         * CutAndPaste.C: update tabular and include inset
4436         buffer references
4437
4438         * buffer.h:
4439         * paragraph.h:
4440         * paragraph.C: remove owningBuffer(), don't pass Buffer
4441         to clone()
4442
4443         * factory.C: insetGraphicsParams changed
4444
4445 2003-06-02  John Levon  <levon@movementarian.org>
4446
4447         * LyXAction.C:
4448         * factory.C:
4449         * lfuns.h:
4450         * lyxfunc.C:
4451         * text3.C: remove insetparent
4452
4453 2003-06-02  John Levon  <levon@movementarian.org>
4454
4455         * buffer.h:
4456         * buffer.C: fix inset_iterator.end(), move out of line
4457         (bug 1149)
4458
4459 2003-06-01  John Levon  <levon@movementarian.org>
4460
4461         * text3.C: use a proper cut/paste when doing inset
4462         insert (from Jürgen Spitzmüller)
4463
4464 2003-06-01  John Levon  <levon@movementarian.org>
4465
4466         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4467
4468 2003-05-30  André Pönitz  <poenitz@gmx.net>
4469
4470         * rowpainter.C: unify second drawing phase
4471
4472 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * trans_mgr.C: remove one case of current_view
4475
4476         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4477
4478         * paragraph_funcs.h: remove paragraph.h include
4479
4480         * paragraph.h: delete NO_STD_LIST stuff
4481
4482         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4483
4484         * buffer.h: remove paragraph.h include
4485
4486         * ParagraphList.C: delete file
4487
4488         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4489
4490         * toc.C (getTocList): adjust
4491
4492         * paragraph_pimpl.C (validate): adjust
4493
4494         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4495
4496         * paragraph.C (Paragraph): adjust
4497         (getPositionOfInset): use const_iterator, adjust
4498         (bibitem): use const_iterator, adjust
4499         (setInsetOwner): adjust
4500
4501         * iterators.C (operator++): adjust
4502
4503         * InsetList.[Ch]: Replace selfmade iterator with standard
4504         vector::iterator also introduce const_iterator. Remove getPos,
4505         getInset and setInset from InsetTable. Adjust accordingly.
4506
4507         * BufferView.C (lockInset): adjust
4508         (ChangeInsets): adjust
4509
4510         * tabular.[Ch]: delete commented same_id functions
4511
4512 2003-05-28  John Levon  <levon@movementarian.org>
4513
4514         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4515
4516 2003-05-28  André Pönitz  <poenitz@gmx.net>
4517
4518         * metricsinfo.[Ch]: remove 'fullredraw' member
4519
4520 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4521
4522         * lyxtextclass.C (operator): remove caching.
4523
4524 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * text3.C: adjust
4527
4528         * text2.C (cursorBottom): adjust
4529         (setCounter): use ParagraphList::find, adjust
4530
4531         * text.C (workWidth): use ParagraphList::find, adjust
4532
4533         * lyxcursor.C (LyXCursor): adjust
4534
4535         * buffer.C (inset_iterator): adjust
4536
4537         * ParagraphList.h: make iterator(value_type) private, make
4538         ParagraphList a friend of iterator.
4539
4540         * ParagraphList.C (find): new function
4541
4542         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4543
4544 2003-05-27  André Pönitz  <poenitz@gmx.net>
4545
4546         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4547
4548 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4549
4550         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4551
4552 2003-05-26  John Levon  <levon@movementarian.org>
4553
4554         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4555
4556 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * remove same_id from function signatures, adjust.
4559
4560 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4563
4564         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4565
4566         * paragraph.C (Paragraph): get rid of same_ids parameter
4567
4568         * ParagraphList.C (insert): adjust
4569         (push_back): adjust
4570
4571 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * paragraph_funcs.C (breakParagraph): adjust
4574         (breakParagraphConservative): adjust
4575
4576         * buffer.C (readParagraph): adjust
4577
4578         * ParagraphList.C (insert): take a reference instead of a pointer
4579         (insert): adjust
4580
4581         * paragraph.[Ch] (id): new function
4582
4583         * bufferlist.C (newFile): adjust
4584
4585         * ParagraphList.C (ParagraphList): adjust
4586         (assign): adjust
4587         (push_back): take a reference instead of a pointer.
4588
4589         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4590
4591         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4592         instead.
4593
4594         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4595         set else use old code.
4596
4597         * ParagraphList.C: remove all NO_NEXT code and only compile this
4598         code of NO_STD_LIST is set.
4599
4600 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * BufferView_pimpl.C:
4603         * TextCache.C:
4604         * TextCache.h:
4605         * bufferlist.C:
4606         * errorlist.h:
4607         * format.C:
4608         * format.h:
4609         * graph.C:
4610         * lyxfunc.C:
4611         * lyxrc.C:
4612         * graphics/GraphicsConverter.C:
4613         * graphics/PreviewLoader.C: header adjustment
4614
4615 2003-05-23  Angus Leeming  <leeming@lyx.org>
4616
4617         * LaTeXFeatures.[Ch] (useBabel): new method.
4618         * bufferparams.C (writeLaTeX): use it.
4619
4620 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * ParagraphList.h (set): remove unused function.
4623
4624 2003-05-23  André Pönitz  <poenitz@gmx.net>
4625
4626         * BufferView.C:
4627         * BufferView_pimpl.C:
4628         * buffer.C:
4629         * buffer.h:
4630         * lyxfunc.C:
4631         * undo_funcs.C: setUndo reworked
4632
4633         * iterators.[Ch]: add access to topmost ParagraphList
4634
4635         * lyxtext.[Ch] (workWidth): add a const
4636
4637 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * texrow.[Ch] (increasePos): remove function
4640         * exporter.C (export): removed unused var and outdated comment
4641
4642 2003-05-23  Angus Leeming  <leeming@lyx.org>
4643
4644         * latexrunparams.h: rename fragile as moving_arg.
4645         * paragraph.C (simpleTeXOnePar): ditto.
4646         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4647
4648 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4651         (createUndo): ditto
4652         (textUndoOrRedo): comment out a currently unused var.
4653
4654         * paragraph.h (NO_NEXT): enable NO_NEXT
4655
4656         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4657
4658         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4659
4660         * exporter.C (Export): adjust for removeAutoInsets removal.
4661
4662         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4663
4664         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4665
4666         * BufferView.[Ch] (removeAutoInsets): delete function
4667
4668 2003-05-22  Angus Leeming  <leeming@lyx.org>
4669
4670         * latexrunparams.h: add a free_spacing variable.
4671
4672         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4673         to pass moving_arg, as the data is stored in runparams.fragile.
4674
4675         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4676         to Inset::latexOptional or to simpleTeXOnePar.
4677
4678         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4679         free_spacing arg to Inset::latexOptional.
4680
4681         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4682         free_spacing arg.
4683
4684 2003-05-22  Angus Leeming  <leeming@lyx.org>
4685
4686         * latexrunparams.h: add fragile and use_babel variables.
4687
4688         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4689         * buffer.C (makeLaTeXFile): store this returned value in
4690         runparams.use_babel, thus passing it to the inset::latex methods.
4691
4692         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4693         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4694
4695         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4696         longer has a fragile arg, as it is stored in runparams.fragile.
4697
4698         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4699         moving_arg parameter as the data is stored in runparams.fragile.
4700
4701         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4702         a fragile parameter as the data is stored in runparams.fragile.
4703
4704 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4707
4708 2003-05-22  Angus Leeming  <leeming@lyx.org>
4709
4710         * latexrunparams.h: add a 'bool nice' which defaults to false.
4711
4712         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4713         now encapsulated within runparams.
4714
4715         * bufferlist.C (updateIncludedTeXfiles):
4716         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4717
4718 2003-05-22  Angus Leeming  <leeming@lyx.org>
4719
4720         * latexrunparams.h: new file containing struct LatexRunParams.
4721         * Makefile.am: add new file.
4722
4723         * LaTeX.[Ch] (c-tor, run):
4724         * buffer.[Ch] (makeLaTeXFile):
4725         * bufferlist.[Ch] (updateIncludedTeXfiles):
4726         * converter.C (convert, scanLog):
4727         * converter.[Ch] (runLaTeX):
4728         * exporter.C (Export):
4729         * paragraph.[Ch] (simpleTeXOnePar):
4730         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4731         * paragraph_funcs.[Ch] (latexParagraphs):
4732         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4733         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4734         pass around a LatexRunParams parameter.
4735
4736 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * paragraph.[Ch]: remove unused constructor
4739
4740         * ParagraphList.C (erase): new function, taking two iterators
4741
4742 2003-05-22  André Pönitz  <poenitz@gmx.net>
4743
4744         * undo_funcs.C: remove duplicated code
4745
4746         * iterator.[Ch]: operator=
4747
4748 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * tabular.C (SetMultiColumn): ws changes
4751
4752         * rowpainter.C (paintFirst): get rid of a ->previous
4753
4754         * lyx_cb.C (getPossibleLabel): parlist simplification
4755
4756         * BufferView.C (ChangeInsets): simplify slightly.
4757
4758 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4759
4760         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4761         * lfuns.h: new LFUN_SPACE
4762         * lyxfunc.C: protected space has a new lfun
4763         * paragraph_funcs.C: read new space insets
4764         * text3.C:
4765         * factory.C: handle new space insets
4766
4767 2003-05-22  André Pönitz  <poenitz@gmx.net>
4768
4769         * BufferView.C:
4770         * BufferView_pimpl.C:
4771         * buffer.[Ch]:
4772         * lyxfunc.C:
4773         * undo_funcs.C: return a ParIterator from getParFromID.
4774
4775         * iterators.[Ch]: add two const's
4776
4777 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * toc.C (getTocList): adjust
4780
4781         * iterators.[Ch]: rework for parlist
4782
4783         * buffer.C (par_iterator_begin): adjust
4784         (par_iterator_end): adjust
4785
4786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4787
4788         * BufferView.C (removeAutoInsets): adjust
4789         (ChangeInsets): adjust
4790
4791 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4792
4793         * text.C (top_y): fix bug 1110
4794
4795 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * errorlist.[Ch]: added
4798         * buffer.C:
4799         * BufferView.[Ch]:
4800         * BufferView_pimpl.C:
4801         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4802         instead
4803
4804 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * Makefile.am: ensure that lyx is relinked upon changes to the
4807         various "convenience" libs.
4808
4809 2003-05-20  Angus Leeming  <leeming@lyx.org>
4810
4811         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4812         files are compiled in alphabetical order again.
4813
4814         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4815
4816 2003-05-19  Angus Leeming  <leeming@lyx.org>
4817
4818         * gettext.[Ch]: remove "char const * _(char const *)".
4819
4820 2003-05-19  André Pönitz  <poenitz@gmx.net>
4821
4822         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4823
4824         * Makefile.am:
4825         * BufferView.C:
4826         * DepTable.h:
4827         * LaTeXFeatures.C:
4828         * buffer.C:
4829         * lyxfont.C:
4830         * lyxlex.h:
4831         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4832
4833 2003-05-19  André Pönitz  <poenitz@gmx.net>
4834
4835         * buffer.C:
4836         * lyxlayout.[Ch]:
4837         * lyxtextclass.[Ch]:
4838         * paragraph.C:
4839         * paragraph_funcs.[Ch]:
4840         * text2.C:
4841         * text3.C: more insetenv work
4842
4843 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * ParagraphParameters.C (params2string): small bug fixed
4846
4847 2003-05-16  André Pönitz  <poenitz@gmx.net>
4848
4849         * debug.C:
4850         * bufferview_funcs.C: patch from Kornel Benko to prevent
4851           crash when _(...) is called twice in a statement
4852
4853 2003-05-16  André Pönitz  <poenitz@gmx.net>
4854
4855         * BufferView.C:
4856         * lyxfunc.C:
4857         * text.C:
4858         * text2.C:
4859         * text3.C:
4860         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4861
4862 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * lyx_main.C (init): remove spurious static_cast
4865
4866 2003-05-14  André Pönitz  <poenitz@gmx.net>
4867
4868         * BufferView.C: fix format string
4869
4870 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * BufferView.[Ch] (insertErrors): removed
4873         * BufferView.[Ch] (showErrorList): added
4874         * buffer.C (runChkTeX):
4875         * converter.C (scanLog): call showErrorList instead of inserterrors
4876
4877 2003-05-13  André Pönitz  <poenitz@gmx.net>
4878
4879         * BufferView_pimpl.C:
4880         * buffer.C:
4881         * bufferview_func.C:
4882         * MenuBackend.C:
4883         * lyxfunc.C:
4884         * lyxrc.C:
4885         * tex-accent.C:
4886         * text3.C:
4887         * toc.C:
4888         * tabular_funcs.h: tostr() from its own header
4889
4890         * ParagraphParameters.C:
4891         * ToolbarBackend.C:
4892         * bufferparams.C:
4893         * format.C:
4894         * lyxlex_pimpl.C:
4895         * text3.C: STRCONV()
4896
4897 2003-05-12  André Pönitz  <poenitz@gmx.net>
4898
4899         * BufferView.C:
4900         * BufferView_pimpl.C:
4901         * CutAndPaste.C:
4902         * LaTeX.C:
4903         * LaTeXFeatures.C:
4904         * ParagraphParameters.C:
4905         * buffer.C:
4906         * bufferlist.C:
4907         * bufferparams.C:
4908         * bufferview_funcs.C:
4909         * converter.C:
4910         * counters.C:
4911         * debug.C:
4912         * exporter.C:
4913         * format.C:
4914         * importer.C:
4915         * lyx_cb.C:
4916         * lyx_main.C:
4917         * lyxfont.C:
4918         * lyxfunc.C:
4919         * lyxvc.C:
4920         * paragraph.C:
4921         * paragraph_funcs.C:
4922         * tabular.C:
4923         * tabular_funcs.C:
4924         * text2.C:
4925         * text3.C:  boost::format -> bformat  all over the place
4926
4927
4928 2003-05-09  André Pönitz  <poenitz@gmx.net>
4929
4930         * LColor.[Ch]: Pimpl the #include <map> away
4931
4932 2003-05-09  John Levon  <levon@movementarian.org>
4933
4934         * bufferlist.C: never remove emergency saves
4935
4936 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * Makefile.am: better lib building
4939
4940 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4941
4942         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4943         instead.
4944         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4945         (simpleTeXSpecialChars): adjust
4946         (simpleTeXSpecialChars): adjust
4947         * paragraph.C (simpleTeXOnePar): adjust
4948         * buffer.C (makeLaTeXFile): adjust
4949
4950         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4951
4952         * text2.C (changeDepth): parlist cleanup
4953         (getColumnNearX): ditto
4954
4955         * rowpainter.C (getLabelFont): parlist cleanup
4956
4957         * bufferlist.C (newFile): parlist cleanup
4958
4959         * CutAndPaste.C (eraseSelection): parlist cleanup
4960
4961         * BufferView_pimpl.C (trackChanges): parlist cleanup
4962         (dispatch): ditto
4963
4964         * BufferView.C (lockInset): parlist cleanup.
4965         (ChangeInsets): ditto
4966
4967 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * CutAndPaste.h: Update file header.
4970
4971         * CutAndPaste.C: Update file header.
4972         Store the parts cut out of the Document in a limited_stack.
4973         (copySelection): adjust
4974         (pasteSelection): new function, takes the index in the limited stack.
4975         (nrOfParagraphs): adjust
4976         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4977         simplify error inset insertion.
4978         (checkPastePossible): adjust
4979
4980 2003-05-06  John Levon  <levon@movementarian.org>
4981
4982         * text2.C: don't cast wrap inset to float
4983
4984 2003-05-05  André Pönitz  <poenitz@gmx.net>
4985
4986         * iterator.C:
4987         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4988
4989         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4990           few naked Paragraph *.
4991
4992 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4993
4994         * bufferparams.C: Output warning if a document with missing
4995         TeX document class is loaded
4996         * exporter.C: Disable TeX exports if the document class is missing
4997         * lyxtextclass.C:
4998         * lyxtextclass.h:
4999         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5000         isTeXClassAvailable()
5001
5002 2003-05-03  John Levon  <levon@movementarian.org>
5003
5004         * BufferView.h:
5005         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5006         explicit cursor show/hide
5007
5008         * BufferView_pimpl.h:
5009         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5010         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5011
5012         * lyxfunc.C: hide cursor before dispatching.
5013
5014         * lyx_cb.C:
5015         * lyxfind.C:
5016         * text.C:
5017         * text3.C: remove explicit cursor hides
5018
5019 2003-05-02  André Pönitz  <poenitz@gmx.net>
5020
5021         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5022
5023         * undo_funcs.C:
5024         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5025           linked lists
5026
5027         * text2.C: tiny whitespace
5028
5029 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * undo_funcs.C: almost only ws changes.
5032
5033         * ParagraphList.C (splice): just return if pl is empty.
5034
5035 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * ParagraphList.C (splice): new function.
5038
5039         * CutAndPaste.C (pasteSelection): use it
5040
5041 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5042
5043         * CutAndPaste.C (pasteSelection): remove the last next and
5044         previous from this file.
5045
5046 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * CutAndPaste.C (pasteSelection): more clean up, user proper
5049         ParagraphList functions for pasteing.
5050
5051         * ParagraphList.C (insert): new function, three arg insert
5052
5053 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * ParagraphList.C (insert): new function, three arg insert
5056
5057         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5058         not on paragraphs.
5059
5060 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5061
5062         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5063
5064 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5067
5068 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5071         (copySelection): clean up a bit.
5072         (pasteSelection): use make_pair
5073
5074         * ParagraphList.C (ParagraphList): implement copy constructor
5075         (operator=): implement, base on copy constructor.
5076         (assign): new func
5077
5078         * paragraph.C (erase): return a bool
5079
5080         * paragraph_pimpl.C (erasePos): remove function, move contents...
5081         (erase): ... here. Return a bool.
5082         (erase): call erase instead of erasePos.
5083
5084 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5085
5086         * ParagraphList.h: define PitPosPair
5087         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5088         ParagraphList, fix a bug on pasting multiple pars
5089         * text2.C: change interface to C&P
5090
5091 2003-04-30  André Pönitz  <poenitz@gmx.net>
5092
5093         * undo_func.C: revert part of yesterday's patch 2
5094
5095 2003-04-30  John Levon  <levon@movementarian.org>
5096
5097         * LColor.C: s/tabular/table/
5098
5099 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text3.C (dispatch): do not convert iterator -> pointer
5102         * undo_funcs.C (setCursorParUndo): ditto
5103         * text_funcs.C (transposeChars): ditto
5104
5105         * text2.C (setLayout): ws changes only
5106
5107         * text.C (breakParagraph): do not convert iterator -> pointer
5108         (insertChar): ditto
5109         (acceptChange): ditto
5110         (rejectChange): ditto
5111         (changeCase): ditto
5112         (Delete): ditto
5113         (backspace): ditto
5114
5115         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5116         pointer
5117
5118 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * text3.C (gotoInset): YABG (yet another bad getChar)
5121
5122 2003-04-29  André Pönitz  <poenitz@gmx.net>
5123
5124         * paragraph.h: make operator= private unimplemented as long as
5125           it is unusable
5126
5127         * ParagraphList.C: whitespace
5128
5129         * paragraph.[Ch]:
5130         * paragraph_pimpl.[Ch]:
5131         * paragraph_funcs.C:
5132         * CutAndPaste.C:
5133         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5134
5135         * text2.C:
5136           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5137
5138 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5139
5140         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5141         * paragraph.[Ch] (erase):
5142         * paragraph_pimpl.[Ch] (erase): change return type and value
5143         * text2.C (cutSelection): some rework
5144
5145 2003-04-28  John Levon  <levon@movementarian.org>
5146
5147         * bufferlist.C: changes for unsaved changes dialog
5148
5149 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * bufferlist.C (newFile): set language (messages_) for new
5152         documents also.
5153
5154         * buffer.C (readFile): ws changes only.
5155
5156 2003-04-28  André Pönitz  <poenitz@gmx.net>
5157
5158         * undo_funcs.C:
5159         * lyxfunc.C:
5160         * buffer.[Ch]:
5161         * BufferView_pimpl.C:
5162         * BufferView.C: getParFromID related ParagraphList::iterator changes
5163
5164 2003-04-28  André Pönitz  <poenitz@gmx.net>
5165
5166         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5167           Changes
5168
5169 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * messages.C: remove one more localedir class variable.
5172
5173 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * messages.C (getLocaleDir): singleton generation function
5176         (Pimpl): use it.
5177         (Messages): add a default constructor.
5178
5179         * main.C (main): do not setup localedir here, do not call
5180         gettext_init.
5181
5182         * gettext.C (_): use it.
5183         (gettext_init): delete funciton
5184
5185 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * gettext.C (getLyXMessages): new singleton generating function.
5188
5189         * buffer.C (updateDocLang): adjust
5190
5191         * Makefile.am (messages.o): add target
5192         (main.o): remove target
5193
5194 2003-04-27  John Levon  <levon@movementarian.org>
5195
5196         * bufferlist.C:
5197         * lyx_cb.C:
5198         * lyxfunc.C:
5199         * lyxvc.C: specify cancel button in Alert::prompt
5200
5201 2003-04-26  John Levon  <levon@movementarian.org>
5202
5203         * text3.C:
5204         * lyxfunc.C:
5205         * lfuns.h:
5206         * LyXAction.C: add LFUN_INSET_SETTINGS
5207
5208         * lyxfunc.C: don't enable tabular-feature when there's
5209         just any locking inset
5210
5211 2003-04-26  John Levon  <levon@movementarian.org>
5212
5213         * bufferlist.C: re-add Cancel to buffer close question
5214
5215         * lyxfunc.C: fix import UI a bit
5216
5217 2003-04-25  John Levon  <levon@movementarian.org>
5218
5219         * gettext.C: remove the broken asserts for now
5220
5221 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * messages.C: make case where setlocale cannot comply work better.
5224
5225         * buffer.C (updateDocLang): new function
5226         (changeLanguage): use it
5227         (readFile): use it
5228
5229         * text2.C (setCounter): use B_ a bit.
5230
5231         * lyxlayout.C (Read): be sure to trim the label strings.
5232
5233         * messages.C (Messages): fix typo in comment
5234
5235         * buffer.C (readFile): set message_ after file is loaded.
5236         (makeDocBookFile): remove double return
5237         (changeLanguage): reset message_ upon language change.
5238         (B_): new func, use this to get translated buffer strings.
5239
5240         * main.C: add myself and Jean Marc as authors.
5241
5242 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * messages.[hC]: pimplify Messages, and three different pimpls to be
5245         used in different circumstances.
5246
5247         * gettext.[Ch]: change for use with new message code.
5248
5249 2003-04-24 André Pönitz <poenitz@gmx.net>
5250
5251         * factory.C: support for eqref
5252
5253 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * messages.[Ch]: add missing char
5256
5257         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5258
5259         * messages.[Ch]: New files
5260
5261 2003-04-18  John Levon  <levon@movementarian.org>
5262
5263         * BufferView.h:
5264         * BufferView.C:
5265         * BufferView_pimpl.C:
5266         * lfuns.h:
5267         * LyXAction.C:
5268         * lyxtext.h:
5269         * text2.C: remove layout-copy/paste (bug 778)
5270
5271 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5274
5275 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5278         if they succeed. Act accordingly.
5279
5280 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text2.C (setCharFont): adjust
5283         (setCounter): adjust
5284         (insertStringAsLines): adjust
5285
5286         * text.C (leftMargin): adjust
5287         (setHeightOfRow): adjust
5288
5289         * rowpainter.C (paintFirst): adjust
5290         (paintLast): adjust
5291
5292         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5293         (outerHook): ditto
5294         (isFirstInSequence): ditto
5295         (getEndLabel): ditto
5296         (outerFont): adjust
5297
5298         * paragraph.C (getParLanguage): comment out some hard stuff.
5299
5300         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5301         (sgmlError): ditto
5302         (simpleDocBookOnePar): ditto
5303         (makeDocBookFile): use ParagraphList::iterator
5304
5305         * CutAndPaste.C (pasteSelection): adjust
5306
5307 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * text2.C (getFont): adjust
5310         (getLayoutFont): adjust
5311         (getLabelFont): adjust
5312
5313         * paragraph_funcs.C (TeXOnePar): adjust
5314
5315         * buffer.C (simpleLinuxDocOnePar): adjust
5316         (simpleDocBookOnePar): adjust
5317
5318         * CutAndPaste.C (pasteSelection): adjust
5319
5320         * BufferView.C (getEncoding): adjust
5321
5322         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5323
5324 2003-04-16  John Levon  <levon@movementarian.org>
5325
5326         * lyxfind.C: use parlist stuff for search/changes
5327
5328 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5331
5332         * text2.C (deleteEmptyParagraphMechanism): adjust
5333
5334         * text2.[Ch] (ownerParagraph): delete func (both of them
5335
5336 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5339
5340 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * ParagraphList.C: prepare for NO_NEXT
5343
5344 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5345
5346         * text2.C (getFont): adjust
5347         (getLayoutFont): adjust
5348         (getLabelFont): adjust
5349
5350         * paragraph.C (getFont): adjust
5351         (getLabelFont): adjust
5352         (getLayoutFont): adjust
5353
5354         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5355
5356 2003-04-15  John Levon  <levon@movementarian.org>
5357
5358         From Angus Leeming
5359
5360         * lyx_main.C: handle Include in .ui files
5361
5362 2003-04-15  John Levon  <levon@movementarian.org>
5363
5364         * MenuBackend.C: make the doc files length shorter
5365
5366         * ToolbarBackend.h:
5367         * ToolbarBackend.C: handle toolbar placement flags,
5368         Minibuffer
5369
5370 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5373         adjust
5374
5375         * paragraph_funcs.C (TeXOnePar): adjust
5376
5377         * paragraph.C (getLabelFont): add outerfont arg, adjust
5378         (getLayoutFont): ditto
5379         (simpleTeXOnePar): adjust
5380
5381         * paragraph_pimpl.C (realizeFont): delete func
5382
5383 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5386         row argument, constify cur argument.
5387
5388 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * text2.C (getFont): adjust
5391         (getLayoutFont): adjust
5392         (getLabelFont): adjust
5393
5394         * paragraph_funcs.C (TeXOnePar): adjust
5395         (outerFont): new func...
5396         (realizeFont): ...moved out from here, changed this to facilitate
5397         transition
5398
5399         * paragraph.C (getFont): take outerfont as arg, adjust
5400         (simpleTeXOnePar): add outerfont arg, adjust
5401
5402         * buffer.C (simpleLinuxDocOnePar): adjust
5403         (simpleDocBookOnePar): adjust
5404
5405         * CutAndPaste.C (pasteSelection): adjust
5406
5407         * BufferView.C (getEncoding): adjust
5408
5409 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * text2.C (setCharFont): adjust
5412         (setCounter): adjust
5413
5414         * text.C (leftMargin): adjust
5415         (setHeightOfRow): adjust
5416
5417         * rowpainter.C (paintFirst): adjust
5418         (paintLast): adjust
5419
5420         * paragraph_pimpl.C (realizeFont): adjust
5421
5422         * paragraph.C (isFirstInSequence): move from here...
5423         * paragraph_funcs.C (isFirstInSequence): ...to here
5424
5425         * paragraph.C (outerHook): move from here...
5426         * paragraph_funcs.C (outerHook): ...to here
5427
5428         * paragraph.C (depthHook): move from here...
5429         * paragraph_funcs.C (depthHook): ...to here
5430
5431         * paragraph.C (getEndLabel): move from here...
5432         * paragraph_funcs.C (getEndLabel): ...to here
5433
5434         * text2.C (realizeFont): move from here...
5435         * paragraph_funcs.C (realizeFont): ...to here
5436
5437 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5440
5441 2003-04-14  Angus Leeming  <leeming@lyx.org>
5442
5443         * LColor.[Ch]: scrap LColor mathcursor.
5444
5445 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * lyxlex.[Ch] (text): delete function
5448         * trans.C (Load): adjust
5449         * paragraph_funcs.C (readParToken): adjust
5450
5451 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5454         vector<char> instead of a char[].
5455
5456         * lyxlex_pimpl.C (getString): adjust
5457         (next): adjust
5458         (lex): use getString
5459         (eatLine): adjust
5460         (nextToken): adjust
5461
5462         * lyxlex.C (text): use pimpl_->getString()
5463         (getBool): ditto
5464         (findToken): ditto
5465
5466 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5469         (makeFontEntriesLayoutSpecific): temp var for par.size()
5470         (setLayout): temp var for ownerParagraphs().end()
5471         (fullRebreak): temp var for rows().end()
5472         (selectionAsString): temp var for boost::next(startpit), realize
5473         that the while really is a regular for loop.
5474         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5475         setCursor in one place.
5476         (setParagraph): temp vr for ownerParagraphs().end()
5477         (updateCounters): make the while loop a for loop
5478         (cutSelection): temp var for ownerParagraphs().end()
5479         (updateInset): make the do {} while() a regular for loop
5480         (getCursorX): use temp vars
5481         (setCurrentFont): use temp vars
5482         (getColumnNearX): use temp vars
5483
5484 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5485
5486         * text.C (transformChar): use temp var for getChar
5487         (computeBidiTables): use temp var for row->par()
5488         (fill): move temp vars for row->par() and pit->layout() earlier in
5489         the function.
5490         (labelFill): use temp var for row->par()
5491         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5492         asc and desc, realize that pit never changes and that firstpit is
5493         just a duplicate and not needed. Exchange rit->par() with pit in a
5494         lot of places.
5495         (breakAgain): use a temp var for boost::next(rit)
5496         (breakAgainOneRow): ditto
5497         (breakParagraph): use a temp var for rows().begin()
5498         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5499         (cursorRightOneWord): use temp var for cursor.par() and
5500         cursor.pos(), remove usage of tmpcursor.
5501         (cursorLeftOneWord): use temp var for cursor.par() and
5502         cursor.pos() only set cur at end of function.
5503
5504 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * text.C, text2.C: exchange all usage of Paragraph::next with
5507         boost::next(ParagraphList::iterator)
5508
5509         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5510
5511         * text2.C (cursorTop): simplify implementation
5512         (cursorBottom): ditto
5513         (setParagraph): use ParagraphList::iterator
5514         (setCurrentFont): adjust
5515         (getColumnNearX): adjust
5516         (cursorRight): adjust
5517         (cursorLeft): remove usage of Paragraph::previous
5518         (cursorUpParagraph): ditto
5519         (deleteEmptyParagraphMechanism): slight cleanup
5520
5521         * text.C (isBoundary): take a Paragraph const & instead of a
5522         pointer as arg.
5523         (addressBreakPoint): ditto
5524         (leftMargin): remove usage of Paragraph::previous.
5525         (setHeightOfRow): ditto
5526         (cursorLeftOneWord): ditto
5527         (selectNextWordToSpellcheck): ditto
5528         (Delete): ditto
5529         (backspace): ditto
5530         (breakParagraph): remove one usage of Paragraph::next
5531         (redoParagraph): ditto
5532         (acceptChange): ditto
5533         (insertChar): adjust
5534         (rowBreakPoint): adjust
5535
5536         * bufferview_funcs.C (toggleAndShow): adjust
5537
5538 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5539
5540         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5541         methods to access it.
5542         * lyxtext.h:
5543         * text.C: Added updateRowPositions to compute all row positions.
5544         Make top_y and getRowNearY() to use the cached y position
5545
5546 2003-04-11  John Levon  <levon@movementarian.org>
5547
5548         * text.C (rowBreakPoint): reintroduce the labelEnd
5549         checks, code copied from the row fill stuff. Deep voodoo.
5550
5551         * text.C (fill): add a comment and debugging for the
5552         next poor soul.
5553
5554 2003-04-11  John Levon  <levon@movementarian.org>
5555
5556         * text.C: make sure fullrow insets get wrapped to the next line,
5557         even when they're in a manual label
5558
5559 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * text2.C (insertParagraph): make it take ParagraphList::iterator
5562         as arg.
5563         (setLayout): make it return ParagraphList::iterator
5564         (redoParagraphs): ditto
5565         (setCounter): ditto
5566         (checkParagraph): ditto
5567
5568         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5569
5570         * text2.C: adjust several funcs.
5571         (realizeFont): take a ParagraphList::iterator as arg.
5572         (getLayoutFont): ditto
5573         (getLabelFont): ditto
5574         (setCharFont): ditto
5575
5576         * text.C: adjust several funcs.
5577
5578 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * text.C (selectNextWordToSpellcheck): don't accidentally
5581         skip insets
5582
5583 2003-04-10  John Levon  <levon@movementarian.org>
5584
5585         * ToolbarBackend.C (getIcon): special handling for
5586         LFUN_MATH_DELIM
5587
5588 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5589
5590         * text2.C (cursorRight): a getChar assert fixed
5591
5592 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * text2.C (getFont): change to take a ParagraphList::iterator
5595         instead of Paragraph*
5596         Adjust several functions.
5597
5598         * text.C (transformChar): change to take a ParagraphList::iterator
5599         instead of Paragraph*
5600         (singleWidth): ditto
5601         Adjust several functions.
5602
5603         * rowpainter.C: adjust several functions
5604         * rowpainter.h:store a ParagraphList::iterator and not a
5605         Paragraph&.
5606
5607
5608 2003-04-09  John Levon  <levon@movementarian.org>
5609
5610         * lyxfunc.C:
5611         * lfuns.h:
5612         * LyXAction.h:
5613         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5614         and the "help" bits as well
5615
5616 2003-04-09  John Levon  <levon@movementarian.org>
5617
5618         * ToolbarBackend.h:
5619         * ToolbarBackend.C: allow multiple toolbars
5620
5621 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * undo_funcs.C (setCursorParUndo): adjust
5624
5625         * text_funcs.C (transposeChars): adjust
5626
5627         * text3.C (gotoNextInset): adjust
5628         (dispatch): adjust
5629
5630         * text2.C (setLayout): adjust
5631         (changeDepth): adjust
5632         (setFont): adjust
5633         (redoParagraphs): adjust
5634         (selectionAsString): adjust
5635         (setParagraph): adjust
5636         (insertInset): adjust
5637         (cutSelection): adjust
5638         (copySelection): adjust
5639         (pasteSelection): adjust
5640         (insertStringAsLines): adjust
5641         (updateInset): adjust
5642         (setCursor): change to take a ParagraphList::iterator parameter
5643         (setCursorIntern): change to take a ParagraphList::iterator parameter
5644         (setCurrentFont): adjust
5645         (cursorLeft): adjust
5646         (cursorRight): adjust
5647         (deleteEmptyParagraphMechanism): adjust
5648
5649         * text.C (breakParagraph): adjust
5650         (insertChar): adjust
5651         (acceptChange): adjust
5652         (rejectChange): adjust
5653         (selectNextWordToSpellcheck): adjust
5654         (changeCase): adjust
5655         (Delete): adjust
5656         (backspace): adjust
5657
5658         * lyxfind.C (SearchForward): adjust
5659         (SearchBackward): adjust
5660         (nextChange): adjust
5661
5662         * lyxcursor.C (par): adjust
5663
5664         * lyxcursor.h: store a ParagraphList::iterator instead of a
5665         Paragraph*
5666
5667         * lyx_cb.C (getPossibleLabel): adjust
5668
5669         * bufferview_funcs.C (toggleAndShow): adjust
5670
5671         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5672         (dispatch): adjust
5673
5674         * BufferView.C (removeAutoInsets): adjust
5675         (lockedInsetStoreUndo): adjust
5676
5677 2003-04-09  John Levon  <levon@movementarian.org>
5678
5679         * ToolbarBackend.C: try icon without argument
5680         if with argument fails
5681
5682 2003-04-08  John Levon  <levon@movementarian.org>
5683
5684         * ToolbarBackend.h:
5685         * ToolbarBackend.C: add getIcon(), handle tooltip,
5686         and change from "Icon" to "Item".
5687
5688 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * BufferView.C (lockInset): another bad getchar crunched
5691
5692 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5693
5694         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5695         again)
5696
5697 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5698
5699         * lyxfind.C (searchForward, searchBackwards): bug 782
5700
5701 2003-04-07  John Levon  <levon@movementarian.org>
5702
5703         * paragraph.C: remove dead comment
5704
5705         * text.C: remove troublesome depth-fiddling code
5706         in leftMargin() and rightMargin() (bug 1017)
5707
5708         * text.C: fix breaking of rows in nested lists
5709         (bug 1004)
5710
5711         * text2.C (updateCounters): fix up depth values
5712         (bug 1013)
5713
5714 2003-04-07  John Levon  <levon@movementarian.org>
5715
5716         * BufferView_pimpl.C: clear message when doc finishes resizing,
5717         and after a mouse event
5718
5719         * lyxfunc.C: clear message after exiting inset
5720
5721 2003-04-07  John Levon  <levon@movementarian.org>
5722
5723         * bufferview_funcs.C: show math status not outside
5724         status in the statusbar
5725
5726 2003-04-07  John Levon  <levon@movementarian.org>
5727
5728         * lyxfunc.C: note status changed after a depth change
5729
5730 2003-04-04  Angus Leeming  <leeming@lyx.org>
5731
5732         * LaTeX.h: move AuxInfo operator==, != out of line.
5733         Remove LaTeX virtual destructor; nothing derives from it.
5734         Move operator()() out of public area and rename it startscript().
5735         Change protected for private.
5736
5737 2003-04-04  Angus Leeming  <leeming@lyx.org>
5738
5739         * lyxfunc.C:
5740         * text2.C: remove unneeded #includes.
5741
5742 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5743
5744         * text2.C (dEPM): fix the heigth of the next row
5745
5746 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * text.C: squashed an invalid getChar requester + some ws changes
5749
5750 2003-04-03  John Levon  <levon@movementarian.org>
5751
5752         * bufferview_funcs.h:
5753         * bufferview_funcs.C:
5754         * lyxfunc.C:
5755         * lyxtext.h:
5756         * text2.C: make getStatus work for the env depth lfuns
5757
5758 2003-04-03  John Levon  <levon@movementarian.org>
5759
5760         * bufferview_funcs.h:
5761         * bufferview_funcs.C:
5762         * lyxfunc.C:
5763         * lyxtext.h:
5764         * text2.C: parlistize decDepth(), by merging it with incDepth()
5765
5766 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * lyxrow.h: store a ParagraphList::iterator instead of a
5769         Paragraph* and adjust other class functions to suit.
5770
5771         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5772         above.
5773
5774 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5775
5776         * text2.C (setCursor): do not anchor to cursor row for the time being
5777
5778 2003-04-02  John Levon  <levon@movementarian.org>
5779
5780         * LyXAction.C:
5781         * lfuns.h:
5782         * lyx_main.C:
5783         * lyxtext.h:
5784         * text.C:
5785         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5786
5787 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * paragraph.h: make ParagraphList and ParagraphList::iterator
5790         friends of Paragraph.
5791
5792         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5793
5794         * ParagraphList.C: Use the private next_ and previous_ from
5795         Paragraph.
5796
5797 2003-04-01  John Levon  <levon@movementarian.org>
5798
5799         * ToolbarBackend.h:
5800         * ToolbarBackend.C:
5801         * Makefile.am: rename, remove defaults gunk
5802
5803         * MenuBackend.h:
5804         * MenuBackend.C: remove defaults gunk
5805
5806         * Languages.h:
5807         * Languages.C: remove defaults gunk
5808
5809         * lyx_main.h:
5810         * lyx_main.C: error out if files couldn't be found.
5811
5812 2003-04-02  John Levon  <levon@movementarian.org>
5813
5814         * text2.C: make incDepth() use parlist
5815
5816 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * undo_funcs.C (firstUndoParagraph): adjust
5819
5820         * text3.C (gotoInset): adjust
5821         (dispatch): adjust, and rewrite loop.
5822
5823         * text2.C (init): adjust, and rewrite loop.
5824         (redoParagraphs): adjust
5825         (updateInset): adjust, and rewrite loop.
5826         (deleteEmptyParagraphMechanism): adjust
5827
5828         * tabular.C (LyXTabular): adjust
5829         (SetMultiColumn): adjust
5830         (TeXRow): adjust
5831
5832         * lyxtext.[Ch] (ownerParagraph): delete function
5833         (ownerParagraphs): new function returns a ParagraphList.
5834
5835         * BufferView.C (removeAutoInsets): adjust
5836         (insertErrors): adjust
5837         (setCursorFromRow): adjust
5838
5839 2003-04-01  Angus Leeming  <leeming@lyx.org>
5840
5841         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5842         in the frontends.
5843
5844 2003-04-02  John Levon  <levon@movementarian.org>
5845
5846         * lyxtext.h:
5847         * text.C:
5848         * Makefile.am:
5849         * text_funcs.h:
5850         * text_funcs.C: make transposeChars a free function
5851
5852         * lyxrow_funcs.C: remove wrong comment
5853
5854 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * lyxtext.h: adjust
5857         * rowpainter.C: adjust
5858         * text.C: adjust
5859         * text2.C: adjust
5860         * text3.C: adjust
5861
5862         * lyxrow_funcs. [Ch]: new files
5863
5864         * lyxrow.[Ch]: remove next and previous pointers
5865         (next,previous): remove accessor functions
5866         (isParEnd): move to lyxrow_funcs
5867         (lastPos): move to lyxrow_funcs
5868         (nextRowIsAllInset): move to lyxrow_funcs
5869         (lastPrintablePos): move to lyxrow_funcs
5870         (numberOfSeparators): move to lyxrow_funcs
5871         (numberOfHfills): move to lyxrow_funcs
5872         (numberOfLabelHfills): move to lyxrow_funcs
5873         (hfillExpansion): move to lyxrow_funcs
5874
5875         * lyxfunc.C: adjust
5876
5877         * bufferview_funcs.C (toggleAndShow): adjust
5878
5879         * RowList.h: Remove class RowList from file leave just a
5880         std::list<Row>.
5881
5882         * RowList.C: delete file
5883
5884         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5885         and lyxrow_funcs.h
5886
5887 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * text3.C (cursorPrevious): adjust
5890         (cursorNext): adjust
5891         (dispatch): adjust
5892
5893         * text2.C (redoHeightOfParagraph): adjust
5894         (redoDrawingOfParagraph): adjust
5895         (setCursor): adjust
5896
5897         * text.C (breakParagraph): adjust
5898         (insertChar): adjust
5899         (backspace): adjust
5900
5901         * rowpainter.C (RowPainter): adjust
5902         (leftMargin): simplify and adjust
5903         (most rowpainter functions): adjust.
5904
5905         * rowpainter.h: store the row as RowList::iterator not as Row*
5906
5907         * lyxcursor.C (row): taka RowList::iterator as arg
5908         (irow): ditto
5909
5910         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5911         of Row*.
5912
5913 2003-04-01  Angus Leeming  <leeming@lyx.org>
5914
5915         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5916         stuff like bool Bool.
5917
5918 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5921         rewrite a loop
5922
5923 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5926         RowList::iterator.
5927
5928         * lyxtext.h (rows): drop one version and leve a const variant that
5929         returns a RowList::iterator.
5930
5931 2003-03-31  Angus Leeming  <leeming@lyx.org>
5932
5933         * text.C (fill): ensure that the signature is the same as that in the
5934         header file.
5935
5936 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * text2.C (redoParagraphs): adjust
5939         (updateCounters): adjust
5940         (checkParagraph): adjust
5941         (getColumnNearX): adjust and reformat a bit.
5942
5943         * text.C (top_y): adjust
5944         (workWidth): adjust
5945         (leftMargin): adjust
5946         (prepareToPrint): adjust
5947         (getRow): adjust
5948         (getRowNearY): adjust
5949
5950         * lyxtext.h: make rowlist_ mutable.
5951
5952         * RowList.h: add const_iterator
5953         * RowList.C: adjust for RowList::const_iterator.
5954
5955         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5956         adjust.
5957
5958 2003-03-31  John Levon  <levon@movementarian.org>
5959
5960         * lyxrc.h:
5961         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5962
5963         * lyx_main.C: set default fonts from using lyx_gui funcs
5964
5965         * exporter.C: pdf_mode moved from lyxrc
5966
5967         * lyx_cb.C:
5968         * lyxfunc.C: changes from above
5969
5970 2003-03-31  John Levon  <levon@movementarian.org>
5971
5972         * lyx_main.C: fix to the last fix
5973
5974 2003-03-31  John Levon  <levon@movementarian.org>
5975
5976         * bufferlist.C: "Load original" -> "Load Original"
5977
5978         * converter.C:
5979         * exporter.C:
5980         * importer.C:
5981         * lyx_main.C:
5982         * format.C: more Alert cleanups
5983
5984 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5985
5986         * text2.C (removeParagraph): make it take a RowList::iterator as
5987         arg, adjust.
5988         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5989         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5990
5991         * text.C (anchor_row): make it take a RowList::iterator as arg,
5992         adjust.
5993         (computeBidiTables): make it take a const reference to Row instead
5994         of Row pointer, adjust.
5995         (leftMargin): make it take a RowList::iterator as arg, adjust.
5996         (rowBreakPoint): adjust
5997         (breakAgainOneRow): make it take a RowList::iterator as arg,
5998         adjust.
5999         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6000
6001         * bufferview_funcs.C (toggleAndShow): adjust
6002
6003 2003-03-30  John Levon  <levon@movementarian.org>
6004
6005         * Makefile.am:
6006         * BoostFormat.h:
6007         * boost-inst.C: moved to support
6008
6009         * several files: changes as a result
6010
6011 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6012
6013         * text2.C (LyXText): adjust.
6014         (init): adjust
6015         (removeRow): make it take a RowList::iterator as arg, adjust.
6016         (fullRebreak): adjust
6017         (deleteEmptyParagraphMechanism): adjust
6018         (clearPaint): adjust
6019         (postPaint): adjust
6020
6021         * text.C (top_y): adjust
6022         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6023         (breakAgain): make it take a RowList::iterator as arg, adjust.
6024         (breakParagraph): adjust
6025         (insertChar): adjust
6026         (backspace): adjust
6027
6028         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6029         need_break_row, and refresh_row.
6030
6031         * text3.C (dispatch): adjust
6032
6033         * text2.C (checkParagraph): adjust
6034         (setCursor): adjust
6035         (setCursorFromCoordinates): adjust
6036
6037         * text.C (top_y): adjust
6038         (workWidth): adjust
6039         (getRow): make it return a RowList::iterator, adjust
6040         (getRowNearY): make it return a RowList::iterator, adjust
6041
6042         * text2.C (init): adjust
6043         (insertRow): remove function
6044         (insertParagraph): adjust
6045         (redoParagraphs): adjust
6046         (fullRebreak): adjust
6047         (updateCounters): adjust
6048
6049         * text.C (top_y): rewrite to use RowList iterators.
6050         (top_y): adjust
6051         (setHeightOfRow): rewrite to sue RowList iterators.
6052         (appendParagraph): adjust
6053         (breakAgain): adjust
6054         (breakAgainOneRow): adjust
6055         (breakParagraph): adjust
6056         (getRow): adjust
6057         (getRowNearY): adjust, and remove commented code.
6058
6059         * lyxtext.h (firstRow): delete function
6060         (lastRow): delete function
6061         (rows): new function (const and non-const versions.)
6062         (insertRow): delete function
6063
6064         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6065
6066 2003-03-29  John Levon  <levon@movementarian.org>
6067
6068         * BufferView_pimpl.C: always update scrollbar top
6069         because pasting text when we're anchored could mean we
6070         miss an update altogether
6071
6072 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * text2.C (init): use rowlist_.end() and not 0.
6075         (insertRow): change to take a RowList::iterator as arg, adjust
6076         for this.
6077         (insertParagraph): change to take a RowList::iterator as arg,
6078         adjust for this.
6079         (redoParagraphs): remove some debug msgs.
6080
6081         * text.C (appendParagraph): change to take a RowList::iterator
6082         arg, adjust for this.
6083         (breakAgain): add an assert
6084         (breakAgainOneRow): ditto
6085
6086 2003-03-29  John Levon  <levon@movementarian.org>
6087
6088         * text2.C: do not clear selection after inc/decDepth
6089         (bug 550)
6090
6091 2003-03-29  John Levon  <levon@movementarian.org>
6092
6093         * BufferView.C:
6094         * buffer.C: fix broken strerrors according to Lars
6095
6096 2003-03-29  John Levon  <levon@movementarian.org>
6097
6098         * converters.C: more Alert cleanups
6099
6100 2003-03-29  John Levon  <levon@movementarian.org>
6101
6102         * bufferview_funcs.C: remove pointless Alert
6103
6104         * buffer.C: fix confusing error message when
6105         a template is chmoded 000
6106
6107 2003-03-29  John Levon  <levon@movementarian.org>
6108
6109         * BufferView.C:
6110         * BufferView.h:
6111         * BufferView_pimpl.C: Alert fixes
6112
6113         * Makefile.am:
6114         * tabular.C:
6115         * tabular-old.C: remove unused table compat reading
6116
6117 2003-03-29  John Levon  <levon@movementarian.org>
6118
6119         * BufferView.C:
6120         * buffer.C:
6121         * lyx_cb.h:
6122         * lyx_cb.C: more Alert cleanups
6123
6124         * lyxfunc.C: don't allow chktex if not latex document
6125
6126 2003-03-29  John Levon  <levon@movementarian.org>
6127
6128         * lyx_cb.C:
6129         * BufferView.C:
6130         * buffer.C: warnings pushed down from support/,
6131         kill err_alert
6132
6133 2003-03-29  John Levon  <levon@movementarian.org>
6134
6135         * lyxfunc.C: safety check for C-r (revert)
6136
6137 2003-03-29  John Levon  <levon@movementarian.org>
6138
6139         * bufferlist.h:
6140         * bufferlist.C: several UI fixes using Alert::prompt.
6141         Fix the pointless looping quit code. Fix stupid revert
6142         behaviour (bug 938)
6143
6144         * lyxvc.h:
6145         * lyxvc.C:
6146         * lyx_cb.C: use Alert::prompt
6147
6148         * lyx_main.C: remove a silly question
6149
6150         * lyxfunc.C: remove a couple of silly questions,
6151         use Alert::prompt
6152
6153 2003-03-28  John Levon  <levon@movementarian.org>
6154
6155         * text2.C: fix bug 974 (End on empty par)
6156
6157 2003-03-28  John Levon  <levon@movementarian.org>
6158
6159         * BufferView_pimpl.C:
6160         * LyXAction.C:
6161         * lfuns.h: remove do-nothing math greek lfuns
6162
6163 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * lyxgluelength.h (isValidGlueLength): add default arg on
6166         parameter 2. Remove default arg from friend in class.
6167
6168         * lyxlength.h (isValidLength): add default arg on parameter 2.
6169         Remove default arg from friend in class.
6170
6171         * text2.C (LyXText): adjust, initialize refresh_row.
6172         (init): adjust
6173         (removeRow): adjust
6174         (insertRow): adjust
6175         (insertParagraph): adjst
6176         (redoParagraphs): adjust
6177         (fullRebreak): adjust
6178         (updateCounters): adjust
6179         (deleteEmptyParagraphMechanism): first attempt at fixing a
6180         crashing bug.
6181
6182         * text.C (top_y): adjust
6183         (setHeightOfRow): adjust
6184         (getRow): adjust
6185         (getRowNearY): adjust
6186
6187         * lyxtext.h: include RowList.h
6188         (~LyXText): not needed anymore, deleted.
6189         (firstRow): modify for RowList
6190         (lastRow): new function
6191         Delete firstrow and lastrow class variables, add a Rowlist
6192         rowlist_ class variable.
6193
6194         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6195         paragraph is empty.
6196
6197         * RowList.C (insert): fix case where it == begin().
6198
6199 2003-03-26  Angus Leeming  <leeming@lyx.org>
6200
6201         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6202         the thesaurus dialog.
6203
6204 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6207
6208         * RowList.[Ch]: new files
6209
6210         * ParagraphList.C (erase): handle the case where it == begin
6211         correctly.
6212
6213 2003-03-25  John Levon  <levon@movementarian.org>
6214
6215         * Makefile.am:
6216         * aspell_local.h:
6217         * aspell.C: add new aspell support
6218
6219         * lyxrc.h:
6220         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6221         have it accessible.
6222
6223 2003-03-25  Angus Leeming  <leeming@lyx.org>
6224
6225         * lfuns.h:
6226         * LyXAction.C (init): new LFUN_INSET_INSERT.
6227
6228         * BufferView_pimpl.C (dispatch): split out part of the
6229         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6230
6231         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6232         LFUN_INSET_APPLY.
6233
6234 2003-03-25  Angus Leeming  <leeming@lyx.org>
6235
6236         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6237
6238 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * text2.C:
6241         * text3.C: remove useless row->height(0)
6242
6243 2003-03-25  John Levon  <levon@movementarian.org>
6244
6245         * lyxtext.h:
6246         * text2.C:
6247         * text3.C: rename the refreshing stuff to better names
6248
6249 2003-03-24  John Levon  <levon@movementarian.org>
6250
6251         * BufferView_pimpl.h:
6252         * BufferView_pimpl.C: update layout choice on a mouse
6253         press/release
6254
6255 2003-03-23  John Levon  <levon@movementarian.org>
6256
6257         * Makefile.am: fix commandtags.h reference
6258
6259 2003-03-22  John Levon  <levon@movementarian.org>
6260
6261         * BufferView_pimpl.C:
6262         * lyxtext.h:
6263         * rowpainter.C:
6264         * rowpainter.h:
6265         * text.C:
6266         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6267
6268 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6269
6270         * lyxtext.h:
6271         * text.C: take the rtl methods out of line
6272
6273 2003-03-21 André Pönitz <poenitz@gmx.net>
6274
6275         * metricsinfo.[Ch]: new files containing structures to be passed around
6276         during the two-phase-drawing...
6277
6278 2003-03-21 André Pönitz <poenitz@gmx.net>
6279
6280         * lyxtextclass.C: read 'environment' tag.
6281
6282 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * text2.C (removeRow): fix bug 964
6285
6286 2003-03-20  John Levon  <levon@movementarian.org>
6287
6288         * rowpainter.C:
6289         * text.C:
6290         * text2.C: paint cleanups. Inset::update() dropped font
6291         parameter
6292
6293 2003-03-19  John Levon  <levon@movementarian.org>
6294
6295         * lyxfunc.C: only fitcursor/markDirty if available()
6296
6297 2003-03-19  John Levon  <levon@movementarian.org>
6298
6299         * commandtags.h: rename to ...
6300
6301         * lfuns.h: ... this, and renumber / cleanup
6302
6303 2003-03-19  John Levon  <levon@movementarian.org>
6304
6305         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6306         fit the cursor after an lfun
6307
6308         * BufferView.h:
6309         * BufferView.C:
6310         * BufferView_pimpl.h:
6311         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6312
6313         * LyXAction.C: layout-character should have ReadOnly
6314
6315         * ParagraphParameters.C:
6316         * buffer.C:
6317         * bufferview_funcs.C:
6318         * lyx_cb.C:
6319         * lyxfind.C:
6320         * lyxtext.h:
6321         * text.C:
6322         * text2.C:
6323         * text3.C:
6324         * undo_funcs.C: changes from above
6325
6326 2003-03-18  John Levon  <levon@movementarian.org>
6327
6328         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6329         remove it from update()
6330
6331         * lyxfunc.C: update layout choice after an lfun
6332
6333         * text3.C: remove extra updateLayoutChoice()s
6334
6335 2003-03-18  John Levon  <levon@movementarian.org>
6336
6337         * text.C: top_y change means full repaint, fix
6338         a drawing bug with cursor movement
6339
6340 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6341
6342         * lyxtext.h:
6343         * text.C:
6344         * text2.C: anchor row on setCursor
6345
6346 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6347
6348         * lyxtext.h: remove almost all mutable keywords
6349         * text.C:
6350         * text2.C:
6351         * text3.C: remove const keywords accordingly
6352
6353 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6356         anon namespace
6357         (TeXEnvironment): ditto
6358         (TeXOnePar): ditto
6359
6360 2003-03-17  John Levon  <levon@movementarian.org>
6361
6362         * text.C (rowBreakPoint): remove attempt to fix displayed
6363         math insets inside a manual label
6364
6365 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * lyxtext.h: remove BufferView* as first arg from almost all class
6368         functions.
6369         * other files: adjust.
6370
6371 2003-03-17  John Levon  <levon@movementarian.org>
6372
6373         * lyxtext.h:
6374         * undo_funcs.C:
6375         * text2.C: more paint cleanups
6376
6377         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6378
6379         * rowpainter.h:
6380         * rowpainter.C: remove "smart" background painting code
6381
6382 2003-03-16  John Levon  <levon@movementarian.org>
6383
6384         * lyxtext.h:
6385         * text.C:
6386         * text2.C:
6387         * text3.C: add helper functions for setting refresh_row/y
6388
6389 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6390
6391         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6392         newline inset which *can* get inserted in the pass_thru layouts.
6393         This is primarily for literate documents.
6394
6395 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6396
6397         * buffer.C: increment LYX_FORMAT to 223
6398
6399 2003-03-14 André Pönitz <poenitz@gmx.net>
6400
6401         * textclass.h: prepare for environment handling, ws changes
6402         * lyxlayout.C: read latexheader and latexfooter tags
6403
6404 2003-03-14  John Levon  <levon@movementarian.org>
6405
6406         * text2.C: rewrite ::status() a bit
6407
6408 2003-03-13  John Levon  <levon@movementarian.org>
6409
6410         * lyxtext.h: add some docs
6411
6412 2003-03-13  John Levon  <levon@movementarian.org>
6413
6414         * lyxtext.h:
6415         * text.C:
6416         * text2.C:
6417         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6418
6419 2003-03-13  John Levon  <levon@movementarian.org>
6420
6421         * text3.C: fix appendix redrawing
6422
6423 2003-03-13  John Levon  <levon@movementarian.org>
6424
6425         * text.C (setHeightOfRow):
6426         * rowpainter.h:
6427         * rowpainter.C: make appendix mark have the text
6428           "Appendix" so the user knows what it is
6429
6430         * LColor.h:
6431         * LColor.C: s/appendixline/appendix/ from above
6432
6433 2003-03-13  John Levon  <levon@movementarian.org>
6434
6435         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6436
6437         * text.C: fix a getChar(pos) bug properly
6438
6439 2003-03-13  Angus Leeming  <leeming@lyx.org>
6440
6441         * commandtags.h:
6442         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6443         Probably only temporary. Let's see how things pan out.
6444
6445         * BufferView.C (unlockInset):
6446         * BufferView_pimpl.C (fitCursor):
6447         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6448
6449         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6450         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6451
6452         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6453         new functions that convert ParagraphParameters to and from a string.
6454
6455         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6456         BufferView::Pimpl's dispatch.
6457         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6458
6459 2003-03-13 André Pönitz <poenitz@gmx.net>
6460
6461         * lyxfunc.C:
6462         * text3.C:
6463         * factory.C: make it aware of InsetEnv
6464
6465 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * text2.C (setCursor): never ask for one past last
6468         (setCursor): add some debugging messages.
6469
6470         * text.C (singleWidth): never ask for one past last
6471         (singleWidth): ditto
6472         (leftMargin): ditto
6473         (rightMargin): ditto
6474         (rowBreakPoint): ditto
6475         (setHeightOfRow): ditto
6476         (prepareToPrint): ditto
6477
6478         * rowpainter.C (paintBackground): never ask for one past last
6479         (paintText): never ask for one past last
6480
6481         * paragraph_pimpl.C (getChar): make the assert stricter, never
6482         allow the one past last pos to be taken
6483
6484         * paragraph.C (getChar): ws changes only
6485
6486         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6487         (numberOfSeparators): ditto
6488         (numberOfHfills): ditto
6489
6490 2003-03-12  John Levon  <levon@movementarian.org>
6491
6492         * author.h:
6493         * author.C:
6494         * bufferparams.h:
6495         * bufferparams.C:
6496         * paragraph_funcs.C: fix per-buffer authorlists
6497
6498 2003-03-12  John Levon  <levon@movementarian.org>
6499
6500         * text.C: fix newline in right address
6501
6502 2003-03-12  Angus Leeming  <leeming@lyx.org>
6503
6504         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6505         duplicate those in LyXFunc::dispatch.
6506
6507         * commandtags.h:
6508         * LyXAction.C:
6509         * ToolbarDefaults.C:
6510         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6511         Add LFUN_FONTFREE_UPDATE.
6512
6513         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6514         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6515
6516         * bufferview_func.[Ch]: several new functions to facilliate
6517         transfer of data to and from the character dialog.
6518
6519 2003-03-12  John Levon  <levon@movementarian.org>
6520
6521         * buffer.C:
6522         * paragraph.h:
6523         * paragraph.C:
6524         * paragraph_funcs.C:
6525         * paragraph_pimpl.C:
6526         * sgml.C:
6527         * tabular.C:
6528         * text.C:
6529         * text3.C: remove META_NEWLINE in favour of an inset
6530
6531         * rowpainter.h:
6532         * rowpainter.C: remove paintNewline (done by inset)
6533
6534 2003-03-12  John Levon  <levon@movementarian.org>
6535
6536         * paragraph_pimpl.C: complain about bad getChar()s
6537         for a while at least
6538
6539 2003-03-12  John Levon  <levon@movementarian.org>
6540
6541         * buffer.h:
6542         * buffer.C: move paragraph read into a separate function,
6543         a little renaming to reflect that.
6544
6545         * bufferparams.h:
6546         * bufferparams.C: remove the author_ids map, not necessary now
6547
6548         * factory.h:
6549         * factory.C: moved Buffer::readInset to here
6550
6551         * paragraph_funcs.h:
6552         * paragraph_funcs.C: readParagraph free function moved from
6553         buffer.C
6554
6555         * tabular.C: name change
6556
6557 2003-03-12  John Levon  <levon@movementarian.org>
6558
6559         * buffer.C:
6560         * ParagraphParameters.C: move par params input to
6561         a read() method
6562
6563         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6564         behave like a normal read from the stream wrt reading
6565         a line vs. a \\token
6566
6567 2003-03-12  John Levon  <levon@movementarian.org>
6568
6569         * paragraph.C:
6570         * ParagraphParameters.h:
6571         * ParagraphParameters.C: move output code to a
6572         ::write() method
6573
6574 2003-03-12  John Levon  <levon@movementarian.org>
6575
6576         * BufferView.C (insertLyXFile):
6577         * buffer.h:
6578         * buffer.C:
6579         * tabular.C: use a parlist iterator for creating the
6580           document.
6581
6582 2003-03-12  John Levon  <levon@movementarian.org>
6583
6584         * buffer.C: make current_change static local not
6585           static file-scope
6586
6587 2003-03-12  John Levon  <levon@movementarian.org>
6588
6589         * buffer.C: fix insertStringAsLines for change tracking
6590
6591 2003-03-12  John Levon  <levon@movementarian.org>
6592
6593         * BufferView.C:
6594         * tabular.C:
6595         * buffer.h:
6596         * buffer.C:
6597         * bufferparams.h:
6598         * bufferparams.C: move author list into params. Rename some
6599           functions. Move the header reading into a separate token
6600           loop. Move the header token reading into BufferParams.
6601
6602 2003-03-12  John Levon  <levon@movementarian.org>
6603
6604         * changes.C: put debug inside lyxerr.debugging() checks
6605
6606 2003-03-11 André Pönitz <poenitz@gmx.net>
6607
6608         * factory.C: make it aware of InsetHFill
6609
6610 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6611
6612         * buffer.C (latexParagraphs): move function from here...
6613         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6614         args.
6615
6616 2003-03-10  Angus Leeming  <leeming@lyx.org>
6617
6618         * LyXAction.C (init): fix bug in poplating array with multiple entries
6619         with the same LFUN (spotted by JMarc).
6620
6621 2003-03-10  John Levon  <levon@movementarian.org>
6622
6623         * text.C:
6624         * text2.C: move getColumnNearX() near its
6625         only call site
6626
6627 2003-03-10  John Levon  <levon@movementarian.org>
6628
6629         * text.C: fix break before a minipage
6630
6631 2003-03-10  John Levon  <levon@movementarian.org>
6632
6633         * text.C: fix the last commit
6634
6635 2003-03-09  John Levon  <levon@movementarian.org>
6636
6637         * lyxtext.h:
6638         * text.C:
6639         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6640         bug 365 (don't break before insets unless needed). Don't
6641         return a value > last under any circumstances.
6642
6643 2003-03-09  Angus Leeming  <leeming@lyx.org>
6644
6645         * BufferView_pimpl.C (trackChanges, dispatch): call
6646         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6647
6648 2003-03-09  Angus Leeming  <leeming@lyx.org>
6649
6650         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6651         than Dialogs::showAboutlyx().
6652
6653 2003-03-09  Angus Leeming  <leeming@lyx.org>
6654
6655         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6656         than Dialogs::showTabularCreate().
6657
6658 2003-03-09  John Levon  <levon@movementarian.org>
6659
6660         * lyxtext.h:
6661         * text.C:
6662         * text2.C: 3rd arg to nextBreakPoint was always the same.
6663           Use references.
6664
6665 2003-03-08  John Levon  <levon@movementarian.org>
6666
6667         * lyxrow.C:
6668         * paragraph.C:
6669         * paragraph.h:
6670         * rowpainter.C:
6671         * text.C:
6672         * text2.C: Remove the "main" bit from the "main body"
6673           notion.
6674
6675 2003-03-08  John Levon  <levon@movementarian.org>
6676
6677         * text.C (leftMargin): The left margin of an empty
6678         manual label paragraph should not include the label width
6679         string length.
6680
6681         * text.C (prepareToPrint): don't attempt to measure hfills
6682         for empty manual label paragraphs - the answer should be 0
6683
6684 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * CutAndPaste.C: remove commented code and reindent.
6687
6688 2003-03-08  John Levon  <levon@movementarian.org>
6689
6690         * lyxfunc.h:
6691         * lyxfunc.C: move reloadBuffer()
6692
6693         * BufferView.h:
6694         * BufferView.C: to here
6695
6696         * lyxvc.C: add comment
6697
6698         * vc-backend.h:
6699         * vc-backend.C: call bv->reload() to avoid
6700           getStatus() check on MENURELOAD
6701
6702 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6703
6704         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6705         to an old format .dep file.
6706
6707 2003-03-07  Angus Leeming  <leeming@lyx.org>
6708
6709         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6710         when the LFUN_MOUSE_RELEASE should have been handled by
6711         inset->localDispatch.
6712
6713 2003-03-07  Angus Leeming  <leeming@lyx.org>
6714
6715         * BufferView_pimpl.C (dispatch):
6716         * LyXAction.C (init):
6717         * ToolbarDefaults.C (init):
6718         * commandtags.h:
6719         * lyxfunc.C (getStatus):
6720         remove LFUN_INSET_GRAPHICS.
6721
6722         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6723
6724 2003-03-07  Angus Leeming  <leeming@lyx.org>
6725
6726         * commandtags.h:
6727         * LyXAction.C (init):
6728         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6729
6730         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6731
6732         * commandtags.h:
6733         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6734
6735         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6736         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6737
6738 2003-03-07  Angus Leeming  <leeming@lyx.org>
6739
6740         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6741         remove "ert".
6742
6743 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * ParagraphList.C (front): new function
6746         (back): implement
6747
6748 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6749
6750         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6751         and top_row_offset_. removed var first_y.
6752         * text.C (top_y):
6753         * text2.C (LyXText, removeRow):
6754         * text3.C:
6755         * BufferView_pimpl.C:
6756         use these methods instead of using first_y
6757
6758 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6759
6760         * text2.C (pasteSelection): adjust for checkPastePossible
6761
6762         * CutAndPaste.C: remove Paragraph * buf and replace with
6763         ParagraphList paragraphs.
6764         (DeleteBuffer): delete
6765         (cutSelection): change the tc type to textclass_type
6766         (copySelection): change the tc type to textclass_type
6767         (copySelection): adjust for ParagraphList
6768         (pasteSelection): change the tc type to textclass_type
6769         (pasteSelection): adjust for Paragraphlist
6770         (nrOfParagraphs): simplify for ParagraphList
6771         (checkPastePossible): simplify for ParagraphList
6772         (checkPastePossible): remove unused arg
6773
6774         * ParagraphList.C (insert): handle the case where there are no
6775         paragraphs yet.
6776
6777         * CutAndPaste.h: make CutAndPaste a namespace.
6778
6779         * text3.C (dispatch): adjust
6780
6781         * text.C (breakParagraph): add a ParagraphList as arg
6782
6783         * paragraph_funcs.C (breakParagraph): change to take a
6784         BufferParams and a ParagraphList as args.
6785         (breakParagraphConservative): ditto
6786         (mergeParagraph): ditto
6787         (TeXDeeper): add a ParagraphList arg
6788         (TeXEnvironment): ditto
6789         (TeXOnePar): ditto
6790
6791         * buffer.C (readLyXformat2): adjust
6792         (insertStringAsLines): adjust
6793         (latexParagraphs): adjust
6794
6795         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6796         (cutSelection): adjust
6797         (pasteSelection): adjust
6798
6799         * BufferView_pimpl.C (insertInset): adjust
6800
6801 2003-03-05  Angus Leeming  <leeming@lyx.org>
6802
6803         * commandtags.h:
6804         * LyXAction.C (init):
6805         * BufferView_pimpl.C (dispatch):
6806         * lyxfunc.C (getStatus):
6807         remove LFUN_CHILD_INSERT.
6808
6809         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6810
6811 2003-03-05  Angus Leeming  <leeming@lyx.org>
6812
6813         * commandtags.h:
6814         * LyXAction.C (init):
6815         * src/factory.C (createInset):
6816         * lyxfunc.C (getStatus):
6817         * text3.C (dispatch):
6818         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6819
6820         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6821
6822 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * ParagraphList.C (insert): handle insert right before end()
6825         (erase): fix cases where it can be first or last paragraph.
6826
6827 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6830         Paragraph::next and Paragraph::previous
6831         (TeXOnePar): ditto
6832
6833         * text.C (breakParagraph): adjust
6834
6835         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6836         BufferParams& as arg.
6837         (breakParagraph): use ParagraphList::insert
6838         (breakParagraphConservative): take a Buffer* instead of a
6839         BufferParams& as arg.
6840         (breakParagraphConservative): use ParagraphList::insert.
6841
6842         * buffer.C (insertStringAsLines): un-const it
6843         (insertStringAsLines): adjust
6844
6845         * ParagraphList.C (insert): new function
6846
6847         * CutAndPaste.C (pasteSelection): adjust
6848
6849         * text.C (backspace): adjust
6850
6851         * tabular.C (SetMultiColumn): adjust
6852
6853         * CutAndPaste.C (cutSelection): adjust
6854         (pasteSelection): adjust
6855
6856         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6857         Buffer const * as arg
6858
6859         * ParagraphList.C (erase): new function
6860         * paragraph_funcs.C (mergeParagraph): use it
6861         (mergeParagraph): make it take a Buffer* instead of a
6862         BufferParams* as arg
6863
6864         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6865         as arg
6866         (breakParagraphConservative): ditto
6867
6868         * paragraph.h: remove the breakParagraph friend
6869
6870         * paragraph.C (eraseIntern): new function
6871         (setChange): new function
6872
6873         * paragraph_funcs.C (mergeParagraph): make it take a
6874         ParagraphList::iterator instead of a Paragraph *, adjust
6875         accordingly.
6876
6877         * paragraph.h: move an #endif so that the change tracking stuff
6878         also works in the NO_NEXT case.
6879
6880 2003-03-04  Angus Leeming  <leeming@lyx.org>
6881
6882         * commandtags.h:
6883         * LyXAction.C: new LFUN_INSET_MODIFY.
6884
6885         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6886         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6887
6888 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * several files: ws changes only
6891
6892         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6893         (TeXEnvironment): ditto
6894         (TeXDeeper): ditto
6895
6896         * buffer.C (makeLaTeXFile): adjust
6897         (latexParagraphs): make it take ParagraphList::iterator as args
6898
6899 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * buffer.C (latexParagraphs): adjust
6902
6903         * paragraph.C (TeXOnePar): move function...
6904         (optArgInset): move function...
6905         (TeXEnvironment): move function...
6906         * paragraph_pimpl.C (TeXDeeper): move function...
6907         * paragraph_funcs.C: ...here
6908
6909         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6910
6911 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * buffer.C (readInset): remove compability code for old Figure and
6914         InsetInfo insets
6915
6916 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * buffer.C: ws changes
6919         (readInset):
6920
6921         * BufferView_pimpl.C: ditto
6922         * author.C: ditto
6923         * buffer.h: ditto
6924         * bufferlist.h: ditto
6925         * changes.h: ditto
6926         * lyxfunc.C: ditto
6927
6928 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6929
6930         * converter.[Ch]: split into itself +
6931         * graph.[Ch]
6932         * format.[Ch]
6933         * Makefile.am: += graph.[Ch] + format.[Ch]
6934         * MenuBackend.C
6935         * buffer.C
6936         * exporter.C
6937         * importer.C
6938         * lyx_main.C
6939         * lyxfunc.C
6940         * lyxrc.C: added #include "format.h"
6941
6942 2003-02-27  Angus Leeming  <leeming@lyx.org>
6943
6944         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6945           a label.
6946
6947         * factory.C (createInset): add "label" to the factory.
6948
6949         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6950           string and do no more.
6951
6952 2003-02-27  Angus Leeming  <leeming@lyx.org>
6953
6954         * commandtags.h:
6955         * LyXAction.C (init):
6956         * factory.C (createInset):
6957         * BufferView_pimpl.C (dispatch):
6958           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6959
6960         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6961
6962         * lyxfunc.C (dispatch):
6963         * text3.C (dispatch): pass name to params2string.
6964
6965 2003-02-26  Angus Leeming  <leeming@lyx.org>
6966
6967         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6968           blocks together.
6969           Rearrange the ~includes. Strip out the unnecessary ones.
6970
6971         * factory.C (createInset): reformat.
6972           create new insets for the various LFUN_XYZ_APPLY lfuns.
6973
6974 2003-02-26  John Levon  <levon@movementarian.org>
6975
6976         * lyxrow.h:
6977         * lyxrow.C: add isParStart,isParEnd helpers
6978
6979         * paragraph.h: make isInserted/DeletedText take refs
6980
6981         * paragraph_funcs.h:
6982         * paragraph_funcs.C: remove #if 0'd code
6983
6984         * lyxtext.h:
6985         * text3.C:
6986         * text2.C:
6987         * text.C: use lyxrow helpers above.
6988           Move draw and paint routines to RowPainter.
6989           Make several methods use refs not pointers.
6990           Make backgroundColor() const.
6991           Add markChangeInDraw(), isInInset().
6992           Merge changeRegionCase into changeCase.
6993           Make workWidth() shouldn't-happen code into an Assert.
6994
6995         * rowpainter.h:
6996         * rowpainter.C: new class for painting a row.
6997
6998         * vspace.h:
6999         * vspace.C: make inPixels take a ref
7000
7001 2003-02-26  Angus Leeming  <leeming@lyx.org>
7002
7003         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7004         LFUN_REF_APPLY.
7005
7006 2003-02-25  John Levon  <levon@movementarian.org>
7007
7008         * ispell.C: give the forked command a more accurate name
7009
7010 2003-02-22  John Levon  <levon@movementarian.org>
7011
7012         * toc.h:
7013         * toc.C: make TocItem store an id not a Paragraph *
7014           (bug #913)
7015
7016 2003-02-21  Angus Leeming  <leeming@lyx.org>
7017
7018         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7019           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7020           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7021           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7022           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7023           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7024
7025         * BufferView_pimpl.C (dispatch):
7026         * LyXAction.C (init):
7027         * factory.C (createInset):
7028         * lyxfunc.C (getStatus, dispatch):
7029         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7030
7031 2003-02-21  Angus Leeming  <leeming@lyx.org>
7032
7033         * BufferView_pimpl.C (MenuInsertLyXFile):
7034         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7035         * lyxfunc.C (menuNew, open, doImport):
7036           no longer pass a LyXView & to fileDlg.
7037
7038 2003-02-21  Angus Leeming  <leeming@lyx.org>
7039
7040         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7041         * LyXAction.C: change, BIBKEY to BIBITEM.
7042         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7043         Change InsetBibKey to InsetBibitem.
7044         Change BIBKEY_CODE to BIBITEM_CODE.
7045         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7046         * factory.C: replace insetbib.h with insetbibitem.h.
7047         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7048         * paragraph.C: replace insetbib.h with insetbibitem.h.
7049         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7050         Change bibkey() to bibitem().
7051         * text.C: remove insetbib.h.
7052         * text2.C: replace insetbib.h with insetbibitem.h.
7053         change bibkey() to bibitem().
7054         * text3.C: remove insetbib.h.
7055         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7056
7057 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7058
7059         * lyxrc.C (output): enclose user email in quotes (in case there are
7060         several words)
7061
7062 2003-02-18  John Levon  <levon@movementarian.org>
7063
7064         * buffer.h: add std::
7065
7066 2003-02-17  John Levon  <levon@movementarian.org>
7067
7068         * SpellBase.h:
7069         * ispell.h:
7070         * ispell.C:
7071         * pspell.h:
7072         * pspell.C: reworking. Especially in ispell, a large
7073           number of clean ups and bug fixes.
7074
7075         * lyxfunc.C: fix revert to behave sensibly
7076
7077 2003-02-17 André Pönitz <poenitz@gmx.net>
7078
7079         * LyXAction.C:
7080         * commandtags.h: new LFUN_INSERT_BIBKEY
7081
7082         * layout.h:
7083         * lyxlayout.C:
7084         * buffer.C:
7085         * factory.C:
7086         * text.C:
7087         * text2.C:
7088         * text3.C:
7089         * paragraph.[Ch]:
7090         * paragraph_func.C: remove special bibkey handling
7091
7092 2003-02-17  John Levon  <levon@movementarian.org>
7093
7094         * text.C (Delete): fix case where delete at the end of
7095           the very first paragraph would not merge the pars
7096
7097 2003-02-17  John Levon  <levon@movementarian.org>
7098
7099         * lyxrow.C: fix lastPrintablePos()
7100
7101 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7102
7103         * bufferparams.C (writeLaTeX): add a std:here
7104
7105         * buffer.C: and remove a using directive there
7106
7107 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7108
7109         * buffer.C (makeLaTeXFile): move the code that generates the
7110           preamble...
7111
7112         * bufferparams.C (writeLaTeX): ... in this new method
7113
7114         * LaTeXFeatures.C (getEncodingSet): make const
7115           (getLanguages): make const
7116
7117         * MenuBackend.C (binding): returns the binding associated to this
7118           action
7119           (add): sets the status of each item by calling getStatus. Adds
7120           some intelligence.
7121           (read): add support for OptSubMenu
7122           (expand): remove extra separator at the end of expanded menu
7123
7124 2003-02-15  John Levon  <levon@movementarian.org>
7125
7126         * BufferView.C:
7127         * BufferView_pimpl.C:
7128         * bufferlist.h:
7129         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7130           inset code that had no actual effect. Remove unneeded status
7131           code.
7132
7133 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7134
7135         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7136           in preamble
7137
7138 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7139
7140         * text.C (drawLengthMarker): also draw an arrow marker for
7141           symbolic lengths (medskip...)
7142
7143 2003-02-14  John Levon  <levon@movementarian.org>
7144
7145         * tabular.h:
7146         * tabular.C: better method names
7147
7148 2003-02-14  John Levon  <levon@movementarian.org>
7149
7150         * BufferView_pimpl.C:
7151         * bufferlist.C:
7152         * buffer.C:
7153         * converter.C:
7154         * lyx_cb.C:
7155         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7156           it's a more accurate name. Remove some pointless uses.
7157
7158 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7159
7160         * text2.C (LyXText): change order of initilizers to shut off
7161           warnings
7162
7163 2003-02-14  John Levon  <levon@movementarian.org>
7164
7165         * buffer.C: use ParIterator for getParFromID()
7166
7167         * paragraph.h:
7168         * paragraph.C:
7169         * paragraph_pimpl.h:
7170         * paragraph_pimpl.C: remove unused getParFromID()
7171
7172 2003-02-14  John Levon  <levon@movementarian.org>
7173
7174         * buffer.C: remove some very old #if 0'd parse code
7175
7176 2003-02-13  John Levon  <levon@movementarian.org>
7177
7178         * text.h:
7179         * text.C:
7180         * text2.C: move hfillExpansion(), numberOfSeparators(),
7181           rowLast(), rowLastPrintable(), numberofHfills(),
7182           numberOfLabelHfills() ...
7183
7184         * lyxrow.h:
7185         * lyxrow.C: ... to member functions here.
7186
7187         * paragraph.h:
7188         * paragraph.C:
7189         * lyxtext.h:
7190         * text.C: remove LyXText::beginningOfMainBody(), and call
7191           p->beginningOfMainBody() directly. Move the check for
7192           LABEL_MANUAL into the latter.
7193
7194         * text.h:
7195         * text.C:
7196         * text2.C:
7197         * vspace.C:
7198         * BufferView.h:
7199         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7200
7201         * text.h:
7202         * text.C:
7203         * text2.C:
7204         * text3.C:
7205         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7206           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7207
7208 2003-02-13  John Levon  <levon@movementarian.org>
7209
7210         * CutAndPaste.C: remove debug
7211
7212 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7213
7214         * paragraph.C (asString): remove two unused variables
7215
7216         * lyxtextclass.C (readTitleType):
7217           (Read):
7218           (LyXTextClass): handle new members titletype_ and titlename_
7219
7220         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7221
7222 2003-02-09  John Levon  <levon@movementarian.org>
7223
7224         * buffer.h:
7225         * buffer.C: replace hand-coded list with a map for the dep clean
7226
7227 2003-02-08  John Levon  <levon@movementarian.org>
7228
7229         * LaTeX.C: consolidate code into showRunMessage() helper
7230
7231 2003-02-08  John Levon  <levon@movementarian.org>
7232
7233         * lyxfind.C:
7234         * lyxtext.h:
7235         * text2.C:
7236         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7237           and pass the size in explicitly
7238
7239         * BufferView_pimpl.h:
7240         * BufferView_pimpl.C:
7241         * BufferView.h:
7242         * BufferView.C: add getCurrentChange()
7243
7244         * BufferView_pimpl.h:
7245         * BufferView_pimpl.C: handle change lfuns
7246
7247         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7248           for changes. Mark pasted paragraphs as new.
7249
7250         * support/lyxtime.h:
7251         * support/lyxtime.C:
7252         * DepTable.C: abstract time_t as lyx::time_type
7253
7254         * LColor.h:
7255         * LColor.C: add colours for new text, deleted text, changebars
7256
7257         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7258           package use "usenames" option.
7259
7260         * commandtags.h:
7261         * lyxfunc.C:
7262         * LyXAction.C: add change lfuns
7263
7264         * Makefile.am:
7265         * author.h:
7266         * author.C: author handling
7267
7268         * buffer.h:
7269         * buffer.C: add a per-buffer author list, with first entry as
7270           current author. Handle new .lyx tokens for change tracking. Output
7271           author list to .lyx file. Output dvipost stuff to .tex preamble.
7272           Bump lyx format to 222.
7273
7274         * bufferlist.h:
7275         * bufferlist.C: add setCurrentAuthor() to reset current author details
7276           in all buffers.
7277
7278         * bufferparams.h:
7279         * bufferparams.C: add param for tracking
7280
7281         * bufferview_funcs.C: output change info in minibuffer
7282
7283         * Makefile.am:
7284         * changes.h:
7285         * changes.C: add change-tracking structure
7286
7287         * debug.h:
7288         * debug.C: add CHANGES debug flag
7289
7290         * lyxfind.h:
7291         * lyxfind.C: add code for finding the next change piece
7292
7293         * lyxrc.h:
7294         * lyxrc.C: add user_name and user_email
7295
7296         * lyxrow.h:
7297         * lyxrow.C: add a metric for the top of the text line
7298
7299         * lyxtext.h:
7300         * text.C: implement accept/rejectChange()
7301
7302         * lyxtext.h:
7303         * text.C: paint changebars. Paint new/deleted text in the chosen
7304         colours. Strike through deleted text.
7305
7306         * paragraph.h:
7307         * paragraph.C:
7308         * paragraph_pimpl.h:
7309         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7310           in the current change to the insert functions. Rework erase to
7311           mark text as deleted, adding an eraseIntern() and a range-based
7312           erase(). Implement per-paragraph change lookup and
7313           accept/reject.
7314
7315         * paragraph_funcs.C: Fixup paste for change tracking.
7316
7317         * tabular.C: mark added row/columns as new.
7318
7319         * text.C: fix rowLast() to never return -1. Don't allow
7320           spellchecking of deleted text. Track transpose changes. Don't
7321           allow paragraph break or merge where appropriate.
7322
7323         * text2.C: leave cursor at end of selection after a cut.
7324
7325 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7326
7327         * text.C (getLengthMarkerHeight):
7328         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7329         visible on screen too.
7330
7331 2003-02-07  John Levon  <levon@movementarian.org>
7332
7333         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7334
7335 2003-02-05  Angus Leeming  <leeming@lyx.org>
7336
7337         * lyxserver.C (read_ready): revert my patch of 11 September last year
7338         as it sends PC cpu through the roof. Presumably this means that
7339         the lyxserver will no longer run on an Alpha...
7340
7341 2003-01-30  Angus Leeming  <leeming@lyx.org>
7342
7343         * factory.C (createInset): create an InsetCommandParam of type "index"
7344         and use it to 'do the right thing'.
7345
7346         * text2.C (getStringToIndex): ensure that cursor position is always
7347         reset to the reset_cursor position.
7348
7349 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7350
7351         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7352         disabled.
7353
7354 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7355
7356         * bufferview.C:
7357         * lyxcb.C:
7358         * lyxfunc.C: Output messages with identical spelling, punctuation,
7359         and spaces
7360
7361 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7362
7363         * MenuBackend.C (expandFormats): List only viewable export formats
7364         in "View" menu
7365
7366         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7367         message
7368
7369         * lyxfunc.C (getStatus): Make sure that formats other than
7370         "fax" can also be disabled
7371
7372 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7373
7374         * text3.C (dispatch): put the lfuns that insert insets in 3
7375         groups, and call doInsertInset with appropriate arguments.
7376         (doInsertInset): new function, that creates an inset and inserts
7377         it according to some boolean parameters.
7378
7379 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * buffer.C (readFile): remember to pass on 'par' when calling
7382         readFile recursively.
7383
7384 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7385
7386         * MenuBackend.C (expandFormats): add "..." to import formats.
7387
7388 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7389
7390         * paragraph.C (asString): Remove XForms RTL hacks.
7391
7392 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7393         * buffer.C: fix typo
7394
7395 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * Makefile.am (LIBS): delete var
7398         (lyx_LDADD): add @LIBS@ here instead.
7399
7400 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7401
7402         * Clarify the meaning of "wheel mouse jump"
7403
7404 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7405
7406         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7407         tabular in a float
7408
7409 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7410
7411         * importer.C (Loaders): do not preallocate 3 elements in the
7412         vector, since one ends up with 6 elements otherwise
7413
7414 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7415
7416         * DepTable.C (write): write the file name as last element of the
7417         .dep file (because it may contain spaces)
7418         (read): read info in the right order
7419
7420 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7421
7422         * paragraph_pimpl.C (simpleTeXBlanks):
7423         (simpleTeXSpecialChars):
7424         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7425
7426         * tabular.C (latex): add some missing case statements. Reindent.
7427
7428         * MenuBackend.C (expandToc): remove unused variable.
7429
7430 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7431
7432         * LColor.C:
7433         * LaTeX.C:
7434         * LyXAction.C:
7435         * MenuBackend.C:
7436         * buffer.C:
7437         * exporter.C:
7438         * lyxfunc.C:
7439         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7440         and the like.
7441
7442 2003-01-05  John Levon  <levon@movementarian.org>
7443
7444         * BufferView.h:
7445         * BufferView.C: add getEncoding()
7446
7447         * kbsequence.h:
7448         * kbsequence.C: do not store last keypress
7449
7450         * lyxfunc.h:
7451         * lyxfunc.C: store last keypress here instead. Pass encoding
7452           to getISOEncoded()
7453
7454 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7455
7456         * lyx_main.C (init): remove annoying error message when following
7457         symbolic links (bug #780)
7458
7459 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7460
7461         * text.C (insertChar):
7462         * lyxrc.C (getDescription): remove extra spaces
7463
7464 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7465
7466         * lyxrc.C (getDescription): remove extra spaces
7467
7468 2002-12-20  John Levon  <levon@movementarian.org>
7469
7470         * text3.C: hack fix for page up/down across tall rows
7471
7472 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7473
7474         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7475         not been invoked
7476
7477 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7478
7479         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7480         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7481         thesaurus is not compiled in
7482
7483 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7484
7485         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7486
7487 2002-12-16  Angus Leeming  <leeming@lyx.org>
7488
7489         * lyxrc.[Ch]:
7490         * lyx_main.C (init): remove override_x_deadkeys stuff.
7491
7492 2002-12-12  John Levon  <levon@movementarian.org>
7493
7494         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7495           insert. Only remove shift modifier under strict
7496           circumstances.
7497
7498 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * MenuBackend.C (expandToc): fix crash.
7501
7502 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * MenuBackend.C (expandToc): gettext on float names.
7505
7506 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7507
7508         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7509         implement bool empty() [bug 490]
7510
7511 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7514
7515 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * several files: ws changes
7518
7519 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7520
7521         * text2.C (setCounter): clean up a bit, use boost.format.
7522         (updateCounters): initialize par upon declaration.
7523
7524         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7525         if the layout exists. We do not just store the layout any more.
7526         (SwitchLayoutsBetweenClasses): use boost.format
7527
7528 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7529
7530         * converter.C (convert): if from and to files are the same, use a
7531         temporary files as intermediary
7532
7533 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7534
7535         * commandtags.h:
7536         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7537
7538 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7539
7540         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7541
7542 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * tabular.C (asciiPrintCell): use string(size, char) instead of
7545         explicit loop.
7546
7547         * sgml.C (openTag): fix order of arguments to string constructor
7548         (closeTag): ditto
7549
7550         * lyxfunc.C (dispatch): use boost.format
7551
7552         * lots of files: change "c" -> 'c'
7553
7554 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7555
7556         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7557
7558 2002-11-25  Angus Leeming  <leeming@lyx.org>
7559
7560         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7561
7562         * lyx_main.C (init): compile fix.
7563
7564 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * lyx_cb.C (start): boost.formatify
7567         do not include <iostream>
7568
7569         * lengthcommon.C: ws only
7570
7571         * boost-inst.C,BoostFormat.h: add more explict instantations
7572
7573 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * lots of files: handle USE_BOOST_FORMAT
7576
7577 2002-11-21  John Levon  <levon@movementarian.org>
7578
7579         * pspell.C: fix compile
7580
7581 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7582
7583         * lyxfunc.C (dispatch): use boost::format
7584         (open): ditto
7585         (doImport): ditto
7586
7587         * lyxfont.C (stateText): use boost::format
7588
7589         * lyx_main.C (LyX): use boost::format
7590         (init): ditto
7591         (queryUserLyXDir): ditto
7592         (readRcFile): ditto
7593         (parse_dbg): ditto
7594         (typedef boost::function): use the recommened syntax.
7595
7596         * importer.C (Import): use boost::format
7597
7598         * debug.C (showLevel): use boost::format
7599
7600         * converter.C (view): use boost::format
7601         (convert): ditto
7602         (move): ditto
7603         (scanLog): ditto
7604
7605         * bufferview_funcs.C (currentState): use boost::format
7606
7607         * bufferlist.C (emergencyWrite): use boost::format
7608
7609         * buffer.C (readLyXformat2): use boost::format
7610         (parseSingleLyXformat2Token): ditto
7611
7612         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7613
7614         * LaTeX.C (run): use boost::format
7615
7616         * Chktex.C (scanLogFile): use boost::format
7617
7618         * BufferView_pimpl.C (savePosition): use boost::format
7619         (restorePosition): ditto
7620         (MenuInsertLyXFile): ditto
7621
7622         * BoostFormat.h: help file for explicit instation.
7623
7624 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * tabular.C (latex): Support for block alignment in fixed width
7627         columns.
7628
7629 2002-11-17  John Levon  <levon@movementarian.org>
7630
7631         * BufferView_pimpl.C:
7632         * lyx_cb.C:
7633         * lyxfunc.C: split filedialog into open/save
7634
7635 2002-11-08  Juergen Vigna  <jug@sad.it>
7636
7637         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7638         by my last patch (hopefully).
7639
7640 2002-11-08  John Levon  <levon@movementarian.org>
7641
7642         * iterators.h:
7643         * iterators.C:
7644         * buffer.h:
7645         * buffer.C:
7646         * paragraph.h:
7647         * paragraph.C:
7648         * toc.h:
7649         * toc.C: ParConstIterator, and use it (from Lars)
7650
7651 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7652
7653         * lyxtextclass.[Ch]: revise and add doxygen comments
7654
7655 2002-11-07  John Levon  <levon@movementarian.org>
7656
7657         * text.C: fix progress value for spellchecker
7658
7659         * toc.C: fix navigate menu for insetwrap inside minipage
7660
7661         * paragraph_funcs.C: added FIXME for suspect code
7662
7663 2002-11-07  John Levon  <levon@movementarian.org>
7664
7665         * BufferView_pimpl.C: fix redrawing of insets
7666           on buffer switch
7667
7668 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7669
7670         * text2.C (updateCounters): fix bug 668
7671
7672 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7673
7674         * text3.C (dispatch): Do not make the buffer dirty when moving the
7675         cursor.
7676
7677 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * vc-backend.C: STRCONV
7680         (scanMaster): ditto
7681
7682         * text2.C (setCounter): STRCONV
7683
7684         * paragraph.C (asString): STRCONV
7685
7686         * lyxlength.C (asString): STRCONV
7687         (asLatexString): ditto
7688
7689         * lyxgluelength.C (asString): STRCONV
7690         (asLatexString): ditto
7691
7692         * lyxfunc.C (dispatch): STRCONV
7693         (open): ditto
7694
7695         * lyxfont.C (stateText): STRCONV
7696
7697         * importer.C (Import): STRCONV
7698
7699         * counters.C (labelItem): STRCONV
7700         (numberLabel): ditto
7701         (numberLabel): remove unused ostringstream o
7702
7703         * chset.C: STRCONV
7704         (loadFile): ditto
7705
7706         * bufferview_funcs.C (currentState): STRCONV
7707
7708         * buffer.C (readFile): STRCONV
7709         (asciiParagraph): ditto
7710         (makeLaTeXFile): ditto
7711
7712         * Spacing.C (writeEnvirBegin): STRCONV
7713
7714         * LaTeXFeatures.C (getLanguages): STRCONV
7715         (getPackages): ditto
7716         (getMacros): ditto
7717         (getBabelOptions): ditto
7718         (getTClassPreamble): ditto
7719         (getLyXSGMLEntities): ditto
7720         (getIncludedFiles): ditto
7721
7722         * LaTeX.C: STRCONV
7723         (run): ditto
7724         (scanAuxFile): ditto
7725         (deplog): ditto
7726
7727         * LString.h: add the STRCONV macros
7728
7729         * BufferView_pimpl.C (savePosition): STRCONV
7730         (restorePosition): ditto
7731         (MenuInsertLyXFile): ditto
7732
7733         * vc-backend.C (scanMaster): change from submatch[...] to
7734         submatch.str(...)
7735
7736         * funcrequest.C: include config.h
7737
7738         * factory.C: include config.h
7739
7740         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7741
7742         * box.C: include config.h
7743
7744         * LaTeX.C (scanAuxFile): change from submatch[...] to
7745         submatch.str(...)
7746         (deplog): ditto
7747
7748 2002-10-25  Angus Leeming  <leeming@lyx.org>
7749
7750         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7751
7752         * ispell.[Ch] (setError): new method.
7753         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7754         Use setError() insetead of goto END.
7755
7756         * lyx_cb.C (AutoSave): move out child process into new class
7757         AutoSaveBuffer.
7758
7759 2002-10-30  John Levon  <levon@movementarian.org>
7760
7761         * text3.C: make start appendix undoable
7762
7763 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7764
7765         * lyxlength.C (inPixels): Fix returned value.
7766
7767         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7768         environment.
7769
7770 2002-10-24  Angus Leeming  <leeming@lyx.org>
7771
7772         * lyxgluelength.h: no need to forward declare BufferParams
7773         or BufferView, so don't.
7774
7775 2002-10-21  John Levon  <levon@movementarian.org>
7776
7777         * BufferView.C: menuUndo ->undo, redo
7778
7779         * BufferView.h: document, remove dead, make some methods private
7780
7781         * paragraph_funcs.h:
7782         * paragraph_funcs.C:
7783         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7784
7785         * buffer.h:
7786         * buffer.C:
7787         * sgml.h:
7788         * sgml.C: move sgml open/close tag into sgml.C
7789
7790         * bufferview_funcs.h: unused prototype
7791
7792         * lyxfunc.h:
7793         * lyxfunc.C: remove unused
7794
7795         * lyxtext.h:
7796         * text.C: remove unused
7797
7798 2002-10-21  John Levon  <levon@movementarian.org>
7799
7800         * BufferView.h:
7801         * BufferView.C:
7802         * BufferView_pimpl.h:
7803         * BufferView_pimpl.C: fix mouse wheel handling based on
7804           patch from Darren Freeman
7805
7806 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7807
7808         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7809
7810 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7811
7812         * lyxlength.C (inPixels): Fix hanfling of negative length.
7813         Fix LyXLength::MU case.
7814
7815 2002-10-16  John Levon  <levon@movementarian.org>
7816
7817         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7818
7819 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7820
7821         * converter.C (view): add support for $$i (file name) and $$p
7822         (file path) for the viewer command. If $$i is not specified, then
7823         it is appended to the command (for compatibility with old syntax)
7824
7825 2002-10-14  Juergen Vigna  <jug@sad.it>
7826
7827         * undo_funcs.C (textHandleUndo): alter the order in which the
7828         new undopar is added to the LyXText, as we have to set first
7829         the right prev/next and then add it as otherwise the rebuild of
7830         LyXText is not correct. Also reset the cursor to the right paragraph,
7831         with this IMO we could remove the hack in "redoParagraphs()".
7832
7833 2002-10-09  Angus Leeming  <leeming@lyx.org>
7834
7835         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7836         to turn off an optimisation if a new inset is to be inserted.
7837
7838 2002-10-11 André Pönitz <poenitz@gmx.net>
7839
7840         * lyxtext.h: make some functions public to allow access
7841         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7842
7843 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7844
7845         * text3.C (dispatch): when changing layout, avoid an infinite loop
7846         [bug #652]
7847
7848 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7849
7850         * lyxrc.C (read): treat a viewer or converter command of "none" as
7851         if it were empty.
7852
7853         * MenuBackend.C (expandFormats): for an update, also allow the
7854         formats that are not viewable
7855
7856         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7857         script if it is newer than the lyxrc.defaults in user directory
7858
7859 2002-10-07 André Pönitz <poenitz@gmx.net>
7860
7861         * text.C: Vitaly Lipatov's small i18n fix
7862
7863 2002-09-25  Angus Leeming  <leeming@lyx.org>
7864
7865         * ispell.h: doxygen fix.
7866
7867 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7868
7869         * buffer.h (readFile): Add a new argument to the method, to allow
7870         reading of old-format templates.
7871
7872 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7873
7874         * toc.C (getTocList): Get TOC from InsetWrap.
7875
7876 2002-09-16  John Levon  <levon@movementarian.org>
7877
7878         * lyxfunc.C: check tabular for cut/copy too
7879
7880 2002-09-12  John Levon  <levon@movementarian.org>
7881
7882         * LyXAction.C: tidy
7883
7884         * factory.h:
7885         * factory.C: add header
7886
7887         * paragraph_funcs.h:
7888         * paragraph_funcs.C: cleanup
7889
7890 2002-09-11  John Levon  <levon@movementarian.org>
7891
7892         * PrinterParams.h: odd/even default to true
7893
7894 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7895
7896         * PrinterParams.h: update printer parameters for new xforms dialog
7897
7898 2002-09-11  Angus Leeming  <leeming@lyx.org>
7899
7900         * lyxserver.C (read_ready): re-write to make it more transparent
7901         and to make it work in coherent fashion under Tru64 Unix.
7902
7903 2002-09-11  André Pönitz <poenitz@gmx.net>
7904
7905         * commandtags.h:
7906         * LyXAction.C:
7907         * text3.C: implement LFUN_WORDSEL
7908
7909 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7910
7911         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7912         make floatlist_ a boost::shared_ptr<FloatList>
7913
7914         * lyxtextclass.C: include FloatList.h
7915         (LyXTextClass): initialize floatlist_
7916         (TextClassTags): add TC_NOFLOAT
7917         (Read): match "nofloat" to TC_NOFLOAT and use it.
7918         (readFloat): modify call to floatlist_
7919         (floats): ditto
7920         (floats): ditto
7921
7922         * FloatList.[Ch] (FloatList): remove commented out float
7923         initialization.
7924         (erase): new function
7925
7926 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7927
7928         * MenuBackend.C (expandToc): fix crash when there is no document
7929         open
7930
7931 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7932
7933         * many files: Add insetwrap.
7934
7935 2002-09-09  John Levon  <levon@movementarian.org>
7936
7937         * text2.C: remove confusing and awkward depth wraparound
7938
7939 2002-09-09  John Levon  <levon@movementarian.org>
7940
7941         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7942
7943         * buffer.h:
7944         * buffer.C: remove getIncludeonlyList()
7945
7946         * paragraph.C:
7947         * lyxfunc.C: remove headers
7948
7949 2002-09-09  Juergen Vigna  <jug@sad.it>
7950
7951         * text.C (getColumnNearX): fix form Michael this is most
7952         probably a cut&paste bug.
7953
7954 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7957
7958         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7959         references, ws changes.
7960
7961         * text2.C (init): update counters after init
7962         (insertParagraph): no need to set counter on idividual paragraphs.
7963         (setCounter): access the counters object in the textclass object
7964         on in the buffer object.
7965         (updateCounters): ditto
7966
7967         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7968         shared_ptr<Counters> to avoid loading counters.h in all
7969         compilation units.
7970         (LyXTextClass): initialize ctrs_
7971         (TextClassTags): add TC_COUNTER, and ...
7972         (Read): use it here.
7973         (CounterTags): new tags
7974         (readCounter): new function
7975         (counters): new funtion
7976         (defaultLayoutName): return a const reference
7977
7978         * counters.C (Counters): remove contructor
7979         (newCounter): remove a couple of unneeded statements.
7980         (newCounter): simplify a bit.
7981         (numberLabel): some small formatting changes.
7982
7983         * buffer.[Ch]: remove all traces of counters, move the Counters
7984         object to the LyXTextClass.
7985
7986 2002-09-06  Alain Castera  <castera@in2p3.fr>
7987
7988         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7989         package to set the horizontal alignment on fixed width columns.
7990
7991         * lyx_sty.C:
7992         * lyx_sty.h: added tabularnewline macro def.
7993
7994         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7995
7996 2002-09-06  John Levon  <levon@movementarian.org>
7997
7998         * LyXAction.C: tooltips for sub/superscript
7999
8000         * MenuBackend.C: a bit more verbose
8001
8002         * lyxfunc.C: tiny clean
8003
8004         * undo_funcs.C: document undo_frozen
8005
8006 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * counters.C (Counters): add missing algorithm counter.
8009
8010         * text2.C (setCounter): lookup the counter with layouts latexname
8011         instead of by section number.
8012         (setCounter): use a hackish way to lookup the correct enum
8013         counter.
8014         a float name->type change
8015         reset enum couners with counter name directly instead of depth value.
8016
8017         * counters.C (Counters): remove the push_backs, change to use the
8018         float type not the float name.
8019         (labelItem): remove unused string, float name->type change
8020
8021         * counters.h: don't include vector, loose the enums and sects vectors
8022
8023 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8024
8025         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8026         (Read): add float->TC_FLOAT to textclassTags
8027         (Read): and handle it in the switch
8028         (readFloat): new function
8029
8030         * FloatList.C (FloatList): comment out the hardcoded float
8031         definitions.
8032
8033         * lyxlayout.h: ws change.
8034
8035 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8036
8037         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8038
8039 2002-09-03  Angus Leeming  <leeming@lyx.org>
8040
8041         * BufferView_pimpl.h: qualified name is not allowed in member
8042         declaration: WorkArea & Pimpl::workarea() const;
8043
8044         * factory.C: added using std::endl directive.
8045
8046         * text3.C: added using std::find and std::vector directives.
8047
8048 2002-08-29  André Pönitz <poenitz@gmx.net>
8049
8050         * lyxtext.h:
8051         * text2.C: remove unused member number_of_rows
8052
8053         * Makefile.am:
8054         * BufferView2.C: remove file, move contents to...
8055         * BufferView.C: ... here
8056
8057         * BufferView_pimpl.C:
8058         * factory.C: move more inset creation to factory
8059
8060         * vspace.C: avoid direct usage of LyXText, ws changes
8061
8062         * BufferView.[Ch]:
8063                 don't provide direct access to WorkArea, use two simple
8064                 acessors haveSelction() and workHeight() instead
8065
8066
8067 2002-08-29  John Levon  <levon@movementarian.org>
8068
8069         * BufferView_pimpl.C (dispatch): do not continue when
8070           no buffer
8071
8072 2002-08-28  André Pönitz <poenitz@gmx.net>
8073
8074         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8075
8076         * BufferView.h:
8077         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8078
8079 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8080
8081         * buffer.C: increment LYX_FORMAT to 221
8082
8083         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8084         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8085
8086         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8087
8088         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8089
8090 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8091
8092         * factory.C (createInset): use LyXTextClass::floats
8093
8094         * MenuBackend.C (expandFloatListInsert):
8095         (expandFloatInsert):
8096         (expandToc):
8097
8098         * text2.C (setCounter):
8099
8100         * LaTeXFeatures.C (useFloat):
8101         (getFloatDefinitions):
8102
8103         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8104
8105         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8106         floatlist_, with accessor floats().
8107
8108         * FloatList.h: remove global FloatList
8109
8110 2002-08-26  André Pönitz <poenitz@gmx.net>
8111
8112         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8113
8114         * BufferView.h:
8115         * BufferView2.C:
8116         * BufferView_pimpl.C:
8117         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8118
8119 2002-08-25  John Levon  <levon@movementarian.org>
8120
8121         * LyXAction.C: fix margin note description
8122
8123 2002-08-24  John Levon  <levon@movementarian.org>
8124
8125         * buffer.C:
8126         * bufferlist.C:
8127         * bufferview_funcs.C:
8128         * lyxfont.C:
8129         * undo_funcs.C: cleanups
8130
8131         * lyxfunc.C: disable CUT/COPY when no selection
8132
8133 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8134
8135         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8136         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8137
8138         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8139         Add backward compatibility to "mono", "gray" and "no".
8140
8141 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8142
8143         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8144         (and file_format >= 200).
8145
8146 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8149
8150 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8151
8152         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8153
8154 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8155
8156         * BufferView_pimpl.C:
8157         * LyXAction.C:
8158         * buffer.C:
8159         * commandtags.h:
8160         * lyxfunc.C:
8161         * paragraph.[Ch]:
8162         * text2.C:
8163         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8164         inset and code to make it  work with the paragraph code. The inset
8165         can be anywhere in the paragraph, but will only do the expected
8166         thing in LaTeX if the layout file contains the parameter line
8167                         OptionalArgs    1
8168         (or more generally, a nonzero value) for that layout.
8169
8170 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * paragraph.h: remove the declaration of undefined counters class
8173         function.
8174
8175 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8176
8177         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8178         Dr. Richard Hawkins.
8179
8180 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8181
8182         * paragraph_funcs.h: remove some unneeded includes
8183
8184         * text.C (backspace): pasteParagraph now in global scipe
8185
8186         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8187         (pasteSelection): ditto
8188
8189         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8190         * paragraph_funcs.C (pasteParagraph): ... here
8191
8192 2002-08-20  André Pönitz <poenitz@gmx.net>
8193
8194         * commandtags.h: new LFUNs for swapping/copying table row/colums
8195
8196         * LyXAction.C:
8197         * lyxfunc.C: support for new lfuns
8198
8199 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * tabular.C:
8202         * buffer.[Ch]: remove NO_COMPABILITY stuff
8203
8204 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * boost.C (throw_exception): new file, with helper function for
8207         boost compiled without exceptions.
8208
8209         * paragraph.h:
8210         * lyxlength.C:
8211         * buffer.C:
8212         * ParameterStruct.h:
8213         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8214
8215         * bufferlist.C (emergencyWriteAll): use boost bind
8216
8217         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8218
8219         * text.C: include paragraph_funcs.h
8220         (breakParagraph): breakParagraph is now in global scope
8221
8222         * paragraph_funcs.[Ch]: new files
8223
8224         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8225         global scope
8226
8227         * buffer.C: include paragraph_funcs.h
8228         (insertStringAsLines): breakParagraph is now in global scope
8229
8230         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8231         paragraph_funcs.C
8232
8233         * CutAndPaste.C: include paragraph_funcs.h
8234         (cutSelection): breakParagraphConservative is now in global scope
8235         (pasteSelection): ditto
8236
8237         * buffer.h: declare oprator== and operator!= for
8238         Buffer::inset_iterator
8239
8240         * bufferlist.C (emergencyWrite): don't use fmt(...)
8241
8242         * text3.C: add using std::endl
8243
8244         * BufferView.C (moveCursorUpdate): remove default arg
8245
8246 2002-08-20  André Pönitz <poenitz@gmx.net>
8247
8248         * buffer.[Ch]: move inline functions to .C
8249
8250         * BufferView2.C:
8251         * BufferView_pimpl.C:
8252         * text.C:
8253         * buffer.[Ch]: use improved inset_iterator
8254
8255         * buffer.C:
8256         * paragraph.[Ch]: write one paragraph at a time
8257
8258 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8259
8260         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8261         style if style is not specified.
8262
8263 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * text2.C (setCounter): when searching for right label for a
8266         caption, make sure to recurse to parent insets (so that a caption
8267         in a minipage in a figure float works) (bug #568)
8268
8269 2002-08-20  André Pönitz <poenitz@gmx.net>
8270
8271         * text3.C: new file for LyXText::dispatch() and helpers
8272
8273         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8274
8275         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8276
8277 2002-08-19  André Pönitz <poenitz@gmx.net>
8278
8279         * lyxtext.h:
8280         * text.C: new LyXText::dispatch()
8281
8282         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8283
8284 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8287
8288         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8289         Hebrew text.
8290
8291 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8292
8293         * Makefile.am: use $(variables) instead of @substitutions@
8294
8295 2002-08-15  André Pönitz <poenitz@gmx.net>
8296
8297         * lyxfunc.C:
8298         * BufferView_pimpl.C: streamlining mathed <-> outer world
8299         interaction
8300
8301         * commandtags.h:
8302         * LyXAction.C: remove unused LFUN_MATH
8303
8304 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8307
8308 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * paragraph.C (Paragraph): reformat a bit
8311         (cutIntoMinibuffer): use builtin InsetList function instad of
8312         doing it manually.
8313         (getInset): ditto
8314
8315         * buffer.C: include boost/bind.hpp, add using std::for_each
8316         (writeFileAscii): use ParagraphList iterators
8317         (validate): use for_each for validate traversal of paragraphs
8318         (getBibkeyList): use ParagraphList iterators
8319         (resizeInsets): use for_each to resizeInsetsLyXText for all
8320         paragraphs.
8321         (getParFromID): use ParagraphList iterators
8322
8323         * BufferView2.C (lockInset): use paragraph list and iterators
8324
8325 2002-08-14  John Levon  <levon@movementarian.org>
8326
8327         * lyxserver.C: remove spurious xforms include
8328
8329 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8332
8333 2002-08-13  André Pönitz <poenitz@gmx.net>
8334
8335         * LyXAction.[Ch]:
8336         * lyxfunc.C: further cleaning
8337
8338 2002-08-13  André Pönitz <poenitz@gmx.net>
8339
8340         * funcrequest.h: new constructor
8341
8342         * funcrequest.C: move stuff here from .h
8343
8344         * Makefile.am:
8345         * BufferView_pimpl.C:
8346         * LyXAction.C:
8347         * toc.C:
8348         * lyxfunc.C: subsequent changes
8349
8350         * lyxfunc.h: new view() member function
8351
8352         * lyxfunc.C: subsequent changes
8353
8354 2002-08-13  Angus Leeming  <leeming@lyx.org>
8355
8356         * BufferView2.C:
8357         * BufferView_pimpl.C:
8358         * buffer.C:
8359         * converter.C:
8360         * importer.C:
8361         * lyxfunc.C:
8362         * lyxvc.C:
8363         * toc.C:
8364         * vc-backend.C:
8365         changes due to the changed LyXView interface that now returns references
8366         to member variables not pointers.
8367
8368 2002-08-13  Angus Leeming  <leeming@lyx.org>
8369
8370         * WordLangTuple (word, lang_code): return references to strings,
8371         not strings.
8372
8373         * BufferView.h:
8374         * SpellBase.h:
8375         * lyxtext.h: forward-declare WordLangTuple.
8376
8377         * BufferView2.C:
8378         * ispell.C:
8379         * pspell.C:
8380         * text.C: #include "WordLangTuple.h".
8381
8382         * lyxtext.h:
8383         * text.C: (selectNextWordToSpellcheck): constify return type.
8384
8385 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8386
8387         * buffer.C:
8388         * buffer.h:
8389         * lyxtext.h:
8390         * paragraph.C:
8391         * paragraph_pimpl.h:
8392         * text.C:
8393         * text2.C:
8394         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8395         suggested by Angus.
8396         Made updateCounter always count from start of buffer, and removed
8397         second argument (par).
8398         Reverted floats number display to '#'. Perhaps I'll try again when the
8399         code base is sanitized a bit.
8400
8401 2002-08-12  Angus Leeming  <leeming@lyx.org>
8402
8403         * buffer.[Ch] (getLabelList): constify.
8404
8405 2002-08-07  André Pönitz <poenitz@gmx.net>
8406
8407         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8408
8409         * funcrequest.h: extension to keep mouse (x,y) position
8410
8411 2002-08-12  Juergen Vigna  <jug@sad.it>
8412
8413         * BufferView2.C (insertErrors): forbid undo when inserting error
8414         insets.
8415
8416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8417
8418 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * ParagraphList.[Ch]: new files
8421
8422         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8423
8424         * BufferView2.C (lockInset): ParagraphList changes
8425         * toc.C: ditto
8426         * text2.C: ditto
8427         * bufferlist.C: ditto
8428         * buffer.h: ditto
8429         * buffer.C: ditto
8430
8431 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8432
8433         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8434         unused class variable counter_,
8435
8436         * paragraph.[Ch] (getFirstCounter): delete unused function
8437
8438         * counters.C: include LAssert.h
8439         (reset): add a new function with no arg, change other version to
8440         not have def. arg and to not allow empty arg.
8441
8442         * text2.C (setCounter): remove empty arg from call to Counters::reset
8443
8444 2002-08-11  John Levon  <levon@movementarian.org>
8445
8446         * Makefile.am: add WordLangTuple.h
8447
8448 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8449
8450         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8451         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8452
8453         * insets/insettext.C: InsetList changes
8454
8455         * graphics/GraphicsSupport.C (operator()): InsetList changes
8456
8457         * toc.C (getTocList): InsetList changes
8458
8459         * paragraph_pimpl.[Ch]: InsetList changes
8460
8461         * paragraph.[Ch]: InsetList changes
8462
8463         * buffer.C (inset_iterator): InsetList changes
8464         (setParagraph): ditto
8465         * buffer.h (inset_iterator): ditto
8466         * iterators.C (operator++): ditto
8467         * iterators.h: ditto
8468
8469         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8470
8471         * InsetList.[Ch]: new files, most InsetList handling moved out of
8472         paragraph.C.
8473
8474         * BufferView2.C (removeAutoInsets): InsetList changes
8475         (lockInset): ditto
8476         (ChangeInsets): ditto
8477
8478 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * paragraph_pimpl.h (empty): new function
8481
8482         * paragraph.[Ch] (empty): new function
8483
8484         * other files: use the new Paragraph::empty function
8485
8486 2002-08-09  John Levon  <levon@movementarian.org>
8487
8488         * lyxtext.h: remove unused refresh_height
8489
8490 2002-08-09  John Levon  <levon@movementarian.org>
8491
8492         * Makefile.am:
8493         * sgml.h:
8494         * sgml.C:
8495         * buffer.C:
8496         * paragraph.h:
8497         * paragraph.C: move sgml char escaping out of paragraph
8498
8499         * paragraph.h:
8500         * paragraph.C: remove id setter
8501
8502         * buffer.C:
8503         * paragraph.C:
8504         * paragraph_pimpl.C: remove dead tex_code_break_column
8505
8506         * bufferview_funcs.C: small cleanup
8507
8508         * lyxfunc.C: remove dead proto
8509
8510         * lyxtext.h: make some stuff private. Remove some dead stuff.
8511
8512         * lyxgluelength.C: make as[LyX]String() readable
8513
8514 2002-08-08  John Levon  <levon@movementarian.org>
8515
8516         * LyXAction.h:
8517         * LyXAction.C:
8518         * MenuBackend.C:
8519         * ToolbarDefaults.C:
8520         * lyxfunc.C:
8521         * lyxrc.C:
8522         * toc.C: lyxaction cleanup
8523
8524 2002-08-08  John Levon  <levon@movementarian.org>
8525
8526         * BufferView2.C: small cleanup
8527
8528         * lyxfind.h:
8529         * lyxfind.C: move unnecessary header into the .C
8530
8531 2002-08-08  John Levon  <levon@movementarian.org>
8532
8533         * funcrequest.h: just tedious nonsense
8534
8535         * lyx_main.h:
8536         * lyx_main.C: cleanups
8537
8538         * buffer.C:
8539         * vspace.C: remove dead header lyx_main.h
8540
8541 2002-08-07  Angus Leeming  <leeming@lyx.org>
8542
8543         * Paragraph.[Ch]:
8544         * paragraph_pimpl.h:
8545         Forward declare class Counters in paragraph.h by moving the ctrs member
8546         variable into Paragraph::Pimpl.
8547         (counters): new method, returning a reference to pimpl_->ctrs.
8548
8549         * text2.C: ensuing changes.
8550
8551 2002-08-07  John Levon  <levon@movementarian.org>
8552
8553         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8554
8555         * BufferView_pimpl.C: announce X selection on double/triple
8556           click
8557
8558         * lyx_main.C: use correct bool in batch dispatch
8559
8560         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8561
8562 2002-08-07  André Pönitz <poenitz@gmx.net>
8563
8564         * funcrequest.h: new class to wrap a kb_action and its argument
8565
8566         * BufferView.[Ch]:
8567         * BufferView_pimpl[Ch]:
8568         * LaTeX.C:
8569         * LyXAction.[Ch]:
8570         * lyxfunc.[Ch]:
8571         * lyxrc.C: subsequent changes
8572
8573
8574 2002-08-07  John Levon  <levon@movementarian.org>
8575
8576         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8577           document options change.
8578
8579 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8580
8581         * counters.[Ch]
8582         * text2.C
8583         * paragraph.[Ch]
8584         * makefile.am: move counters functionality over from
8585         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8586
8587 2002-08-06  John Levon  <levon@movementarian.org>
8588
8589         * WordLangTuple.h: new file for word + language code tuple
8590
8591         * SpellBase.h:
8592         * pspell.h:
8593         * pspell.C:
8594         * ispell.h:
8595         * ispell.C:
8596         * lyxtext.h:
8597         * text.C:
8598         * text2.C:
8599         * BufferView.h:
8600         * BufferView2.C: use WordLangTuple
8601
8602         * layout.h:
8603         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8604
8605 2002-08-06  John Levon  <levon@movementarian.org>
8606
8607         * lyx_main.C: fix cmdline batch handling
8608
8609 2002-08-06  André Pönitz <poenitz@gmx.net>
8610
8611         * lyxrc.C: set default for show_banner to true
8612
8613 2002-08-06  John Levon  <levon@movementarian.org>
8614
8615         * pspell.C: fix a crash, and allow new aspell to work
8616
8617 2002-08-06  John Levon  <levon@movementarian.org>
8618
8619         * lyxfunc.C:
8620         * kbmap.C: small cleanup
8621
8622         * vspace.h:
8623         * vspace.C: add const
8624
8625 2002-08-05  John Levon  <levon@movementarian.org>
8626
8627         * LyXAction.C: back to tabular-insert
8628
8629 2002-08-04  John Levon  <levon@movementarian.org>
8630
8631         * BufferView.h:
8632         * BufferView.C: cosmetic change
8633
8634         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8635
8636         * bufferlist.C:
8637         * buffer.h:
8638         * buffer.C:
8639         * lyxcb.h:
8640         * lyxcb.C:
8641         * lyxserver.C:
8642         * lyxvc.C:
8643         * vc-backend.C:
8644         * BufferView2.C: purge all "Lyx" not "LyX" strings
8645
8646         * lyxcursor.h:
8647         * lyxcursor.C: attempt to add some documentation
8648
8649         * lyxfunc.C:
8650         * commandtags.h:
8651         * LyXAction.C:
8652         * ToolbarDefaults.C:
8653         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8654           merge with LFUN_TABULAR_INSERT
8655
8656         * Makefile.am:
8657         * SpellBase.h:
8658         * ispell.h:
8659         * ispell.C:
8660         * pspell.h:
8661         * pspell.C: split up i/pspell implementations into separate
8662           files, many cleanups
8663
8664         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8665
8666         * text2.C: some cleanup
8667
8668         * lyxfunc.C: don't check for isp_command == "none" any more, it
8669           didn't make any sense
8670
8671 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8672
8673         * counters.[Ch]
8674         * text2.C
8675         * paragraph.[Ch]
8676         * makefile.am: move counters functionality over
8677         from text2.C/paragraph.[Ch] to counters.[Ch], and
8678         make proper C++.
8679 2002-08-02  John Levon  <levon@movementarian.org>
8680
8681         * buffer.C: s/lyxconvert/lyx2lyx/
8682
8683 2002-08-02  Angus Leeming  <leeming@lyx.org>
8684
8685         * lyxlex.C: revert John's change as it breaks reading of the user
8686         preamble.
8687
8688 2002-08-02  Angus Leeming  <leeming@lyx.org>
8689
8690         * importer.C (Import):
8691         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8692         changes due to LyXView::view() now returning a boost::shared_ptr.
8693
8694 2002-08-02  John Levon  <levon@movementarian.org>
8695
8696         * lyxlex.C: small cleanup
8697
8698 2002-08-02  John Levon  <levon@movementarian.org>
8699
8700         * text2.C (status): small cleanup, no logic change
8701
8702 2002-08-01  John Levon  <levon@movementarian.org>
8703
8704         * buffer.h:
8705         * buffer.C (writeFile): don't output alerts, caller
8706           handles this
8707
8708         * bufferlist.C:
8709         * lyx_cb.C: from above
8710
8711         * lyxfunc.C: allow to open non-existent files
8712
8713 2002-07-31  John Levon  <levon@movementarian.org>
8714
8715         * lyxserver.C: don't let incidental errors get
8716           in the way (errno)
8717
8718 2002-07-30  John Levon  <levon@movementarian.org>
8719
8720         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8721
8722 2002-07-30  John Levon  <levon@movementarian.org>
8723
8724         * lyxserver.h:
8725         * lyxserver.C: remove I/O callback too
8726
8727 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8728
8729         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8730         log.
8731
8732 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8733
8734         * many files: strip,frontStrip -> trim,ltrim,rtrim
8735
8736 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * PrinterParams.h: remove extern containsOnly, and include
8739         support/lstrings.h instead.
8740
8741         * LaTeX.C (scanAuxFile): modify because of strip changes
8742         (deplog): ditto
8743         * buffer.C (makeLaTeXFile): ditto
8744         * bufferparams.C (writeFile): ditt
8745         * lyxfont.C (stateText): ditto
8746         * lyxserver.C (read_ready): ditto
8747         * vc-backend.C (scanMaster): ditto
8748
8749         * BufferView_pimpl.h: ws changes
8750
8751         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8752
8753 2002-07-26  André Pönitz <poenitz@gmx.net>
8754
8755         * kb_sequence.C: remove unnedred usings
8756
8757 2002-07-26  Juergen Vigna  <jug@sad.it>
8758
8759         * lyxfind.C (LyXReplace): we have to check better if the returned
8760         text is not of theLockingInset()->getLockingInset().
8761
8762 2002-07-25  Juergen Vigna  <jug@sad.it>
8763
8764         * lyxfind.C (LyXReplace): don't replace if we don't get the
8765         right LyXText.
8766
8767         * undo_funcs.C (createUndo): remove debugging code.
8768
8769 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8770
8771         * buffer.C (parseSingleLyXformat2Token): Use default placement
8772         when reading old floats.
8773
8774         * FloatList.C (FloatList): Change the default placement of figure
8775         and tables to "tbp".
8776
8777 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * MenuBackend.C: using std::max
8780
8781 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8782
8783         * MenuBackend.C (expandToc):
8784         (expandToc2): code moved from xforms menu frontend. It is now
8785         generic and TOCs are transparent to menu frontends.
8786
8787 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8788
8789         * toc.C (getTocList): protect against buf=0
8790
8791         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8792         Menu as first parameter. Now, this calls itself recursively to
8793         expand a whole tree (this will be useful for TOC handling)
8794         (expandFloatInsert): remove 'wide' version of floats
8795
8796         * MenuBackend.h (submenuname): returns the name of the submenu.
8797         (submenu): returns the submenu itself, provided it has been
8798         created by MenuBackend::expand
8799
8800 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8801
8802         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8803         insets which have noFontChange == true. (bug #172)
8804
8805 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8806
8807         * BufferView_pimpl.C: add connection objects and use them...
8808         (Pimpl): here.
8809
8810 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * MenuBackend.C (expandLastfiles):
8813         (expandDocuments):
8814         (expandFormats):
8815         (expandFloatListInsert):
8816         (expandFloatInsert):
8817         (expand): split expand in parts
8818
8819 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * lyx_gui.C: use lyx_gui::exit()
8822
8823 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8824
8825         * LyXAction.C: show the failing pseudo action
8826
8827 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8828
8829         * buffer.C (readFile): Run the lyxconvert script in order to read
8830         old files.
8831
8832 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * LyXAction.C:
8835         * commandtags.h:
8836         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8837
8838 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8839
8840         * LyXAction.C:
8841         * commandtags.h:
8842         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8843
8844 2002-07-22  Herbert Voss  <voss@lyx.org>
8845
8846         * lengthcommon.C:
8847         * lyxlength.[Ch]: add support for the vertical lengths
8848
8849 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8850
8851         * toc.[Ch]: std:: fixes
8852
8853 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8854
8855         * lyxrc.C: do not include lyx_main.h
8856
8857         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8858         for layouts
8859
8860         * lyxrc.C:
8861         * encoding.C:
8862         * bufferlist.C:
8863         * BufferView2.C: include "lyxlex.h"
8864
8865         * tabular.h:
8866         * bufferparams.h: do not #include "lyxlex.h"
8867
8868         * lyxtextclasslist.C (Add): remove method
8869         (classlist): renamed to classlist_
8870
8871         * paragraph_pimpl.C:
8872         * paragraph.C:
8873         * text2.C:
8874         * CutAndPaste.C:
8875         * bufferview_funcs.C:
8876         * bufferlist.C:
8877         * text.C:
8878         * LaTeXFeatures.C:
8879         * buffer.C:
8880         * toc.C (getTocList): use BufferParams::getLyXTextClass
8881
8882         * toc.C (getTocList): use InsetFloat::addToToc
8883
8884         * toc.[Ch]: new files, containing helper functions to handle table
8885         of contents
8886
8887         * lyxfunc.C (dispatch): no need to remove spaces around command
8888         given as a string
8889         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8890         first command of the sequence; it is not very clever, but I do not
8891         have a better idea, actually
8892
8893         * LyXAction.C (LookupFunc): make sure to remove space at the
8894         beginning and end of the command
8895
8896 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * MenuBackend.C (getMenubar): new method: return the menubar of
8899         this menu set
8900         (read): treat differently reading of menu and menubar (in
8901         particular, the menubar has no name now)
8902         (Menu::menubar): remove
8903
8904         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8905         saving is finished
8906
8907 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8910         a bibitem inset in a RTL paragraph.
8911
8912 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * paragraph_pimpl.C: constify
8915
8916         * BufferView_pimpl.C:
8917         * LaTeX.C:
8918         * lyxfunc.C: fix dispatch in a nicer way
8919
8920 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8921
8922         * lyxfunc.C (dispatch):
8923         * BufferView_pimpl.C:
8924         * BufferView_pimpl.h:
8925         * BufferView.C:
8926         * BufferView.h: rename Dispatch() to dispatch()
8927
8928         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8929
8930         * lyxlayout.C (Read): honor DependsOn tag
8931
8932         * lyxlayout.[Ch] (depends_on): new method
8933
8934         * version.C.in: update lyx_docversion
8935
8936         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8937
8938         * paragraph.C (validate): remove from here...
8939         * paragraph_pimpl.C (validate): ... and move here
8940         (isTextAt): make it const
8941
8942         * buffer.C (getLists): ws cleanup
8943
8944 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8945
8946         * language.C (read): Use iso8859-1 encoding in latex_lang
8947         (this prevents LyX from crashing when using iso10646-1 encoding).
8948
8949 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8950
8951         * text2.C (toggleInset): if cursor is inside an inset, close the
8952         inset and leave cursor _after_ it
8953
8954 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * lyxfunc.C: move minibuffer completion handling out of here
8957
8958 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView_pimpl.C:
8961         * LaTeX.C: fix dispatch calls
8962
8963 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8964
8965         * text.C (drawChars): Fix Arabic text rendering.
8966
8967 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * LyXAction.C:
8970         * commandtags.h:
8971         * lyxfunc.C: remove message-push/pop
8972
8973         * lyxserver.C:
8974         * lyxfunc.h:
8975         * lyxfunc.C: rationalise some code by removing verboseDispatch
8976           in favour of a bool argument to dispatch()
8977
8978 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8979
8980         * lyx_main.C (init): make sure to read symlinks as absolute paths
8981
8982 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * lyxfunc.h:
8985         * lyxfunc.C: no need for commandshortcut to be a member
8986
8987 2002-07-15  André Pönitz <poenitz@gmx.net>
8988
8989         * converter.C: add support for $$s (scripts from lib/scripts dir)
8990         * lyx_main.C: white space
8991
8992 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * bufferlist.C:
8995         * lyxrc.h:
8996         * lyxrc.C: remove second exit confirmation
8997
8998 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8999
9000         * BufferView.h:
9001         * BufferView.C:
9002         * BufferView2.C:
9003         * BufferView_pimpl.h:
9004         * BufferView_pimpl.C:
9005         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9006
9007 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * MenuBackend.C (expand): add numeric shortcuts to document menu
9010
9011         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9012
9013 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9014
9015         * lyxfont.C (setLyXFamily):
9016         (setLyXSeries):
9017         (setLyXShape):
9018         (setLyXSize):
9019         (setLyXMisc):
9020         (lyxRead):
9021         * debug.C (value):
9022         * buffer.C (asciiParagraph): use ascii_lowercase
9023
9024 2002-07-15  Mike Fabian  <mfabian@suse.de>
9025
9026         * lyxlex_pimpl.C (search_kw):
9027         * lyxlex.C (getLongString):
9028         * converter.h (operator<):
9029         * converter.C (operator<):
9030         * buffer.C (parseSingleLyXformat2Token):
9031         (asciiParagraph):
9032         * ToolbarDefaults.C (read):
9033         * MenuBackend.C (checkShortcuts):
9034         (read):
9035         * LColor.C (getFromGUIName):
9036         (getFromLyXName): use the compare_ascii_no_case instead of
9037         compare_no_case, because in turkish, 'i' is not the lowercase
9038         version of 'I', and thus turkish locale breaks parsing of tags.
9039
9040 2002-07-16  Angus Leeming  <leeming@lyx.org>
9041
9042         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9043         now takes a Buffer const & argument.
9044
9045 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * BufferView.C (resize): check there's a buffer to resize
9048
9049 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * lyxfunc.C: remove dead code
9052
9053         * lyxserver.h:
9054         * lyxserver.C: use lyx_guii::set_read_callback
9055
9056 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9057
9058         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9059         an inset in a RTL paragraph.
9060
9061 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * lyxfunc.C: repaint after a font size update
9064
9065 2002-07-15  André Pönitz <poenitz@gmx.net>
9066
9067         * lyxlength.C: inBP should be able to return negative values
9068
9069 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * lyxfunc.C: use lyx_gui::update_fonts()
9072
9073 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * lyxfunc.C: use lyx_gui::update_color()
9076
9077 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * bufferlist.C:
9080         * lyxfunc.h:
9081         * lyxfunc.C:
9082         * lyxrc.h:
9083         * lyxrc.C: remove file->new asks for name option, and let
9084           buffer-new take an argument
9085
9086 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * BufferView_pimpl.C: remove unneeded extra repaint()
9089
9090 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * LyXAction.C: allow command-sequence with NoBuffer
9093
9094         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9095
9096 2002-07-10  Angus Leeming  <leeming@lyx.org>
9097
9098         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9099
9100 2002-07-09  Angus Leeming  <leeming@lyx.org>
9101
9102         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9103
9104 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * lengthcommon.h: whitespace
9107
9108         * lyxfunc.C: update scrollbar after goto paragraph
9109
9110         * lyxtext.h: factor out page break drawing, and fix it so
9111           page break/added space paints as selected nicely
9112
9113 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView_pimpl.C: add FIXMEs, clean up a little
9116
9117 2002-07-09  André Pönitz <poenitz@gmx.net>
9118
9119         * lyxfont.[Ch]: support for wasy symbols
9120
9121 2002-07-08  André Pönitz <poenitz@gmx.net>
9122
9123         * BufferView_pimpl.C: apply John's patch for #93.
9124
9125 2002-07-05  Angus Leeming  <leeming@lyx.org>
9126
9127         * BufferView_pimpl.C (buffer): generate previews if desired.
9128
9129         * LColor.h: add "preview" to the color enum.
9130
9131         * LColor.C (LColor): add a corresponding entry to the items array.
9132
9133         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9134         with this buffer.
9135
9136 2002-07-05  Angus Leeming  <leeming@lyx.org>
9137
9138         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9139         The body of the code is now in the method that is passed an ostream &
9140         rather than a file name.
9141         Pass an additional only_preamble parameter, useful for the forthcoming
9142         preview stuff.
9143
9144 2002-07-03  André Pönitz <poenitz@gmx.net>
9145
9146         * lyxfunc.C: simplify getStatus() a bit for math stuff
9147
9148 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9151
9152 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9153
9154         * text.C (changeRegionCase): do not change case of all the
9155         document when region ends at paragraph end (bug #461)
9156
9157 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9158
9159         * paragraph.C (startTeXParParams):
9160         (endTeXParParams): add \protect when necessary
9161
9162 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * BufferView_pimpl.C (workAreaExpose): remove warning
9165
9166 2002-06-27  Angus Leeming  <leeming@lyx.org>
9167
9168         * Makefile.am: add lyxlayout_ptr_fwd.h.
9169
9170 2002-06-26  André Pönitz <poenitz@gmx.net>
9171
9172         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9173
9174 2002-06-25  Angus Leeming  <leeming@lyx.org>
9175
9176         * lyxfunc.C (dispatch): Comment out the call to
9177         grfx::GCache::changeDisplay. The method no longer exists now that the
9178         pixmap generation part of the graphics loader has been moved into
9179         InsetGraphics.
9180
9181 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9182
9183         * text2.C: layout as layout
9184
9185         * text.C: layout as layout
9186
9187         * tabular.C (OldFormatRead): layout as layout
9188
9189         * paragraph_pimpl.C (TeXDeeper): layout as layout
9190         (realizeFont): layout as layout
9191
9192         * paragraph.C (writeFile): layout as layout
9193         (validate): layout as layout
9194         (getFont): layout as layout
9195         (getLabelFont): layout as layout
9196         (getLayoutFont): layout as layout
9197         (breakParagraph): layout as layout
9198         (stripLeadingSpaces): layout as layout
9199         (getEndLabel): layout as layout
9200         (getMaxDepthAfter): layout as layout
9201         (applyLayout): layout as layout
9202         (TeXOnePar): layout as layout
9203         (simpleTeXOnePar): layout as layout
9204         (TeXEnvironment): layout as layout
9205         (layout): layout as layout
9206         (layout): layout as layout
9207
9208         * lyxtextclass.C (compare_name): new functor to work with
9209         shared_ptr, layout as layout
9210         (Read): layout as layout
9211         (hasLayout): layout as layout
9212         (operator): layout as layout
9213         (delete_layout): layout as layout
9214         (defaultLayout): layout as layout
9215
9216         * lyxlayout_ptr_fwd.h: new file
9217
9218         * lyxlayout.C (Read): layout as layout
9219
9220         * lyx_cb.C (MenuInsertLabel): layout as layout
9221
9222         * bufferlist.C (newFile): layout as layout
9223
9224         * buffer.C (readLyXformat2): layout as layout
9225         (parseSingleLyXformat2Token): layout as layout
9226         (insertStringAsLines): layout as layout
9227         (asciiParagraph): layout as layout
9228         (latexParagraphs): layout as layout
9229         (makeLinuxDocFile): layout as layout
9230         (simpleLinuxDocOnePar): layout as layout
9231         (makeDocBookFile): layout as layout
9232         (simpleDocBookOnePar): layout as layout
9233         (getLists): layout as layout
9234
9235         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9236
9237         * CutAndPaste.C (cutSelection): layout as layout
9238         (pasteSelection): layout as layout
9239         (SwitchLayoutsBetweenClasses): layout as layout
9240
9241         * BufferView_pimpl.C (Dispatch): layout as layout
9242         (smartQuote): layout as layout
9243
9244         * BufferView2.C (unlockInset): layout as layout
9245
9246 2002-06-24  André Pönitz <poenitz@gmx.net>
9247
9248         * lyxfunc.C: fix #487
9249
9250 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9251
9252         * lyxrc.h:
9253         * lyxrc.C:
9254         * lyxfunc.C: remove display_shortcuts, show_banner
9255
9256 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * Buffer_pimpl.C: oops, update on resize
9259
9260 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * buffer.C:
9263         * converter.C:
9264         * exporter.C:
9265         * lyxfunc.C:
9266         * BufferView.h:
9267         * BufferView.C: use repaint()
9268
9269         * BufferView_pimpl.h:
9270         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9271           as it's a clearer description. Remove superfluous
9272           redraws.
9273
9274 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * text.C: fix bug 488. Not ideal, but getting
9277           getWord() to work properly for the insets that
9278           matter is more difficult ...
9279
9280 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * BufferView_pimpl.C:
9283         * LyXAction.C:
9284         * commandtags.h:
9285         * lyxfunc.C: remove the six million index lyxfuncs to just
9286           one, and DTRT (bug 458)
9287
9288 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * BufferView.h:
9291         * BufferView.C:
9292         * BufferView_pimpl.h:
9293         * BufferView_pimpl.C: clean up resize() stuff,
9294           and unnecessary updateScreen()s
9295
9296 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * BufferView.h:
9299         * BufferView.C:
9300         * BufferView_pimpl.h:
9301         * BufferView_pimpl.C:
9302         * lyxfind.h:
9303         * lyxfind.C:
9304         * minibuffer.C: remove focus management of workarea,
9305           not needed. Use screen's greyOut()
9306
9307 2002-06-17  Herbert Voss  <voss@lyx.org>
9308
9309         * converter.C: (convert) do not post a message, when converting
9310         fails, let the calling function decide what to do in this case
9311
9312 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * lyxfunc.C: tidy up a little
9315
9316 2002-06-16    <alstrup@diku.dk>
9317
9318         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9319         Got rid of FORMS_H_LOCATION include. Now we are
9320         GUII.
9321
9322 2002-06-15  LyX Development team  <lyx@rilke>
9323
9324         * buffer.[Ch] (sgmlOpenTag):
9325         (sgmlCloseTag): Added support for avoiding pernicious mixed
9326         content. Return number of lines written.
9327
9328         (makeLinuxDocFile):
9329         (makeDocBookFile): Fixed calls to sgml*Tag.
9330         Simple white space clean.
9331
9332         (simpleDocBookOnePar): Simple white space clean.
9333
9334         * tabular.[Ch] (docBook): Renamed to docbook and got another
9335         argument to related with the pernicious mixed content.
9336
9337         (docbookRow): Fixed calls for docbook inset method.
9338
9339 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9340
9341         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9342         so it's X11 independent.
9343
9344         * kb*.[Ch]: ditto.
9345
9346         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9347
9348 2002-06-15  Lyx Development team  <lyx@electronia>
9349
9350         * intl.h: Renamed getTrans to getTransManager.
9351
9352 2002-06-14  Angus Leeming  <leeming@lyx.org>
9353
9354         * Makefile.am: nuke forgotten stl_string_fwd.h.
9355
9356 2002-06-12  Angus Leeming  <leeming@lyx.org>
9357
9358         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9359
9360 2002-06-13  Angus Leeming  <leeming@lyx.org>
9361
9362         * LaTeX.C:
9363         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9364
9365 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9366
9367         * kbmap.C (getiso): add support for cyrillic and greek
9368
9369 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * BufferView.h:
9372         * BufferView.C:
9373         * BufferView_pimpl.h:
9374         * BufferView_pimpl.C: move bogus scrolling logic
9375           to xforms
9376
9377 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * lyxfunc.C:
9380         * BufferView_pimpl.C: view->resize() change
9381
9382 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9383
9384         * BufferView_pimpl.C: topCursorVisible
9385           prototype change
9386
9387 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * Makefile.am:
9390         * lyx_gui.h:
9391         * lyx_gui.C: move to frontends/
9392
9393         * main.C:
9394         * lyx_main.h:
9395         * lyx_main.C: changes from above
9396
9397 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9398
9399         * intl.C:
9400         * intl.h:
9401         * kbmap.C:
9402         * kbsequence.C:
9403         * lyx_cb.C:
9404         * lyx_main.C: minor tidy
9405
9406 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9407
9408         * BufferView_pimpl.h:
9409         * BufferView_pimpl.C:
9410         * BufferView.h:
9411         * BufferView.C: make painter() const,
9412           remove dead code
9413
9414         * BufferView2.C: use screen() accessor
9415
9416         * lyx_main.h:
9417         * lyx_main.C: some minor cleanup
9418
9419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * BufferView_pimpl.h:
9422         * BufferView_pimpl.C: remove enter/leaveView,
9423           use workHeight()
9424
9425 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9426
9427         * BufferView.h:
9428         * BufferView.C:
9429         * BufferView2.C:
9430         * BufferView_pimpl.h:
9431         * BufferView_pimpl.C: only construct screen once,
9432           rename
9433
9434         * lyxrc.C: remove pointless comment
9435
9436 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * BufferView.h:
9439         * BufferView.C: remove active() and belowMouse()
9440
9441         * BufferView_pimpl.h:
9442         * BufferView_pimpl.C: use workarea() not workarea_,
9443           and make it use a scoped_ptr instead
9444
9445 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * lyx_gui.C: add debug message on BadWindow
9448
9449 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * sp_spell.C: fdopen is not part of the C++ standard.
9452
9453         * paragraph.C (InsetIterator): use >= instead of ==
9454
9455 2002-06-07  Angus Leeming  <leeming@lyx.org>
9456
9457         Fixes needed to compile with Compaq cxx 6.5.
9458         * BufferView_pimpl.C:
9459         * DepTable.C:
9460         * buffer.C:
9461         * converter.C:
9462         * encoding.C:
9463         * lyx_gui.C:
9464         * lyx_main.C:
9465         * lyxtextclasslist.C:
9466         * minibuffer.C:
9467         * sp_spell.C:
9468         * tabular_funcs.C:
9469         * vc-backend.C:
9470         all c-library variables have been moved into namespace std. Wrap
9471         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9472
9473         * lyxlength.C:
9474         * tabular-old.C:
9475         * tabular.C:
9476         Add a using std::abs declaration.
9477
9478         * kbmap.h (modifier_pair):
9479         * paragraph.h (InsetTable, InsetList):
9480         * lyxfont.h (FontBits):
9481         type definition made public.
9482
9483         * bufferlist.C (emergencyWriteAll): the compiler complains that
9484         there is more than one possible lyx::class_fun template to choose from.
9485         I re-named the void specialisation as lyx::void_class_fun.
9486
9487         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9488
9489         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9490         the compiler is is unable to find tostr in write_attribute.
9491
9492 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * buffer.C (sgmlError): hide #warning
9495
9496 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * xtl/*: get rid of xtl, which is not in use anyway
9499
9500         * LyXAction.C (init):
9501         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9502         were unimplemented xtl experimentation
9503
9504 2002-06-04  André Pönitz <poenitz@gmx.net>
9505
9506         * lyxfunc.C: disable array operation on simple formulae
9507
9508 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * converter.C: constify a bit
9511
9512 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyx_gui.C: check xforms version correctly
9515
9516 2002-04-30  Herbert Voss  <voss@lyx.org>
9517
9518         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9519         "keep" option
9520
9521 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9524           attempt to register it with a VCS)
9525
9526 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * lyx_main.C (init): honor variables LYX_DIR_13x and
9529         LYX_USERDIR_13x
9530
9531 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * buffer.h:
9534         * buffer.C:
9535         * lyx_main.C: fix a crash on bad command line,
9536           and give a useful exit status on error
9537
9538         * lyxfunc.C (doImport): allow -i lyx to work
9539
9540 2002-03-30  André Pönitz <poenitz@gmx.net>
9541
9542         * lyxfunc.C: mathed font changes
9543
9544 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * LaTeX.C:
9547         * importer.h:
9548         * importer.C:
9549         * lyx_sty.h:
9550         * lyx_sty.C:
9551         * lyxlex.C:
9552         * lyxrow.h:
9553         * lyxtext.h:
9554         * paragraph.h:
9555         * paragraph.C:
9556         * texrow.h:
9557         * texrow.C:
9558         * text.C:
9559         * trans_mgr.h: srcdocs, and some minor cleanups
9560
9561 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9564         call getFont all the time)
9565
9566 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9567
9568         * switch from SigC signals to boost::signals
9569
9570 2002-05-29  André Pönitz <poenitz@gmx.net>
9571
9572         * paragraph_pimpl.C (getChar): don't call size() too often...
9573
9574 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9575
9576         * paragraph_pimpl.C (insertChar): do not try to update tables when
9577         appending (pos == size())
9578
9579         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9580         in order to reduce drastically the number of comparisons needed to
9581         parse a large document
9582
9583 2002-05-29  André Pönitz <poenitz@gmx.net>
9584
9585         * text.C:
9586         * text2.C:
9587         * lyxtextclass.C:
9588         * sp_pspell.h:
9589         * textclasslist.[Ch]:
9590         * sp_ispell.h: whitespace change
9591
9592 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9595         lyxaction directly now.
9596
9597 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * trans.C:
9600         * lyxfont.C:
9601         * lyxvc.C: remove unused headers
9602
9603 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * Makefile.am:
9606         * buffer.h:
9607         * undostack.h:
9608         * undostack.C:
9609         * undo_funcs.h:
9610         * undo_funcs.C: some cleanups. Use shared_ptr
9611           and a template for the undo stacks.
9612
9613 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9614
9615         * BufferView_pimpl.h:
9616         * BufferView_pimpl.C:
9617         * kbmap.h:
9618         * kbmap.C:
9619         * kbsequence.h:
9620         * kbsequence.C:
9621         * lyxfunc.h:
9622         * lyxfunc.C:
9623         * text2.C: use key_state/mouse_state
9624
9625 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9626
9627         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9628         and LSubstring
9629
9630         * chset.C: change include order
9631         (loadFile): use boost regex and get rid of LRegex and LSubstring
9632
9633         * Makefile.am (BOOST_LIBS): new variable
9634         (lyx_LDADD): use it
9635
9636         * LaTeX.C: change include order.
9637         (scanAuxFile): use boost regex and get rid of LRegex and
9638         LSubstring
9639         (deplog): ditto
9640
9641 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * ColorHandler.h:
9644         * ColorHandler.C:
9645         * FontInfo.h:
9646         * FontInfo.C: moved to frontends/xforms/
9647
9648         * FontLoader.h:
9649         * FontLoader.C: moved into frontends for GUIIzation
9650
9651         * Makefile.am:
9652         * lyx_gui.C:
9653         * lyxfont.C:
9654         * lyxfunc.C: changes from above
9655
9656 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * LColor.C: remove spurious X include
9659
9660         * BufferView_pimpl.C:
9661         * Makefile.am:
9662         * font.h:
9663         * font.C:
9664         * text.C:
9665         * text2.C: move font metrics to frontends/
9666
9667 2002-05-24  Juergen Vigna  <jug@sad.it>
9668
9669         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9670         setting the undo_cursor.
9671
9672         * ParagraphParameters.h: include local includes first.
9673
9674 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9675
9676         * BufferView_pimpl.C:
9677         * BufferView_pimpl.h:
9678         * Makefile.am:
9679         * WorkArea.h:
9680         * WorkArea.C:
9681         * screen.C: move WorkArea into frontends/
9682
9683         * lyxscreen.h:
9684         * screen.C:
9685         * text.C:
9686         * BufferView.C:
9687         * BufferView2.C: move LyXScreen into frontends/
9688
9689         * lyxlookup.h:
9690         * lyxlookup.C:
9691         * lyx_gui.C: move lyxlookup into frontends/xforms/
9692
9693 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * BufferView2.C:
9696         * BufferView_pimpl.C:
9697         * FontLoader.C:
9698         * LyXView.h:
9699         * LyXView.C:
9700         * Makefile.am:
9701         * WorkArea.C:
9702         * XFormsView.h:
9703         * XFormsView.C:
9704         * buffer.C:
9705         * bufferlist.C:
9706         * bufferview_funcs.C:
9707         * converter.C:
9708         * importer.C:
9709         * lyx_cb.C:
9710         * lyx_gui.C:
9711         * lyx_main.C:
9712         * lyx_find.C:
9713         * lyxfunc.C:
9714         * lyxvc.C:
9715         * minibuffer.C:
9716         * text.C:
9717         * text2.C:
9718         * trans.C:
9719         * vc-backend.C: move LyX/XFormsView into frontends/
9720
9721 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * Makefile.am:
9724         * PainterBase.C:
9725         * PainterBase.h:
9726         * Painter.C:
9727         * Painter.h:
9728         * WorkArea.C:
9729         * WorkArea.h:
9730         * screen.C:
9731         * tabular.C:
9732         * text.C:
9733         * text2.C: move Painter to frontends/
9734
9735 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * buffer.C: comment out some some code that depend upon lyx_format
9738         < 220
9739
9740         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9741         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9742
9743         * buffer.h (NO_COMPABILITY): turn off compability
9744
9745         * ColorHandler.C: include scoped_array.hpp
9746
9747         * font.C: Use more specific smart_ptr header.
9748         * Painter.C: ditto
9749         * gettext.C: ditto
9750         * ShareContainer.h: ditto
9751         * lyx_main.h: ditto
9752         * kbmap.h: ditto
9753         * FontInfo.h: ditto
9754         * BufferView_pimpl.h: ditto
9755         * ColorHandler.h: ditto
9756
9757         * kbmap.C (defkey): change call to shared_ptr::reset
9758
9759 2002-05-21  Juergen Vigna  <jug@sad.it>
9760
9761         * buffer.C (insertErtContents): fix to insert ert asis if it is
9762         non empty. Skip it completely if it contains only whitespaces.
9763
9764 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * BufferView_pimpl.C:
9767         * BufferView2.C: clear selection on paste (bug 393)
9768
9769 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9770
9771         * DepTable.C: include ctime
9772
9773 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9774
9775         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9776
9777 2002-05-14  Juergen Vigna  <jug@sad.it>
9778
9779         * text.C (breakParagraph): fixed function to honor the keepempty
9780         layout in the right maner and also to permit the right breaking
9781         algorithm on empty or non empyt keepempty paragraphs.
9782
9783         * paragraph.C (breakParagraph): we have to check also if the par
9784         is really empty (!size()) for isempty otherwise we do the wrong
9785         paragraph break.
9786
9787 2002-05-10  Juergen Vigna  <jug@sad.it>
9788
9789         * buffer.[Ch] : The following are only changes to the ert
9790         compatibility read reading old LaTeX layout and font stuff and
9791         convert it to ERTInsets.
9792
9793         * buffer.h: added isErtInset().
9794
9795         * buffer.C (struct ErtComp): add a fromlayout bool to check
9796         if we're inside a LaTeX layout.
9797         (isErtInset): new helper function.
9798         (insertErtContents): look for other ert insets before this one
9799         and insert the contents there, so that we don't have subsequent
9800         ERT insets with nothing between them. This way we create only one
9801         inset with multiple paragraphs. Also check if we don't insert only
9802         spaces ' ' as they are ignored anyway afterwards in the .tex file
9803         so if we have only spaces we will ignore this latex part in the
9804         new file.
9805         (parseSingleLyXformat2Token \\layout): better compatibility when
9806         reading layout-latex stuff.
9807         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9808         language tag.
9809         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9810         stuff after reading the inset only get the information back from
9811         the stack.
9812
9813 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9814
9815         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9816
9817         * LaTeXFeatures.C (getBabelOptions): New method.
9818
9819 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9820
9821         * BufferView_pimpl.C (Dispatch): work around missing argument for
9822         'layout'
9823
9824 2002-05-08  Juergen Vigna  <jug@sad.it>
9825
9826         * text.C (leftMargin): handle paragraph leftindent.
9827
9828         * paragraph.C (writeFile): write the new \\leftindent tag.
9829         (validate): handle leftindent code.
9830         (TeXEnvironment): handle paragraphleftindent code again.
9831
9832         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9833
9834         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9835         for paragrap_extra indent code and new token \\leftindent.
9836         (latexParagraphs): handle the leftindent as environment.
9837
9838         * ParameterStruct.h: added leftindent support.
9839
9840         * ParagraphParameters.C (leftIndent): added support functions for
9841         the paragraph left indent.
9842
9843         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9844         more appropriate.
9845
9846 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9849         inside insetERT.
9850
9851         * text.C (computeBidiTables): No bidi in insetERT.
9852
9853         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9854         in RTL documents.
9855
9856 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9857
9858         * version.C.in: pre 5
9859
9860 2002-05-02  José Matos  <jamatos@fep.up.pt>
9861         * buffer.C (makeDocBookFile): white space changes, add newline to
9862         command styles.
9863         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9864
9865         * tabular.C (docBook): fix typo.
9866
9867 2002-05-03  Juergen Vigna  <jug@sad.it>
9868
9869         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9870         change in LyXText as we can not be sure it was not freed.
9871         (drawOneRow): remove unused code.
9872
9873         * text.C (drawInset): redo the calculation of the need_break_row as
9874         it could have a row which was already freed.
9875         (draw): look at the return value of drawInset and return false if
9876         it also returned false.
9877         (paintRowText): look at the return value of draw and return false if
9878         it also returned false.
9879
9880         * lyxtext.h: added bool return type to drawInset() and draw() so that
9881         if we have a change in the row so that the rowbreak has to be redone
9882         we abort drawing as it will be called again.
9883
9884 2002-05-02  Juergen Vigna  <jug@sad.it>
9885
9886         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9887         a change in the maintext also if we're inside an inset.
9888         (Dispatch): set the cursor again after a break line and after the
9889         screen has been updated as it could be we're in a different row.
9890
9891         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9892         to set the cursor behind the pargraph with > size().
9893         (setCursor): check also for the same paragraph when checking where
9894         to put the cursor if we have a NFR inset.
9895
9896         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9897         parts of layout read further up as it still was in the wrong
9898         position.
9899
9900 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9901
9902         * screen.C (drawFromTo): change sine fullRebreak always return
9903         true.
9904
9905         * buffer.C (parseSingleLyXformat2Token): reindent some
9906
9907         * BufferView_pimpl.C (update): change since fullRebreak always
9908         return true.
9909         (Dispatch): git rid of the last hardcoded "Standard"s.
9910
9911 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * text2.[Ch] (fullRebreak): make it return void now that we always
9914         returned true.
9915
9916 2002-04-30  Juergen Vigna  <jug@sad.it>
9917
9918         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9919         ert compatibility check for "latex" layout.
9920
9921 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9922
9923         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9924         minipages: use col% instead of p%, and also use the current font.
9925         (makeLaTeXFile): Fix use babel condition.
9926         (parseSingleLyXformat2Token): Correct font when reading old floats.
9927
9928 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9929
9930         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9931         inserting list of floats.
9932
9933 2002-04-25  Herbert Voss  <voss@lyx.org>
9934
9935         * MenuBackend.C (expand): don't add the graphics extensions to the
9936         export menu
9937
9938 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9941         non-existing layout, do not complain if it was the default layout
9942         of the original class (bug #342)
9943
9944 2002-04-24  Juergen Vigna  <jug@sad.it>
9945
9946         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9947         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9948
9949 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * buffer.C (getBibkeyList): If using \bibliography, return the
9952         option field with the reference itself. Enables us to provide natbib
9953         support when using \bibliography.
9954
9955 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9956
9957         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9958
9959         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9960         natbib is provided by the LaTeX class.
9961
9962 2002-04-23  Juergen Vigna  <jug@sad.it>
9963
9964         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9965         Wakeup functions.
9966
9967         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9968
9969 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9972
9973         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9974         ensuremath around textordmasculine, textordfeminine and
9975         textdegree.
9976
9977 2002-04-19  Juergen Vigna  <jug@sad.it>
9978
9979         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9980         reinitializing the buffer otherwise row-dimensions may be wrong.
9981         (update): reset also the selection cursors if they do exits otherwise
9982         their x/y positions may be wrong.
9983
9984         * text2.C (cursorDown): don't enter the inset if we came from a row
9985         above and are one row over the inset.
9986
9987         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9988         really leaving an inset.
9989
9990 2002-04-18  Juergen Vigna  <jug@sad.it>
9991
9992         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9993         of the selected paragraph does not have the selected layout also if
9994         the last one had!
9995
9996         * text2.C (setLayout): fixed bug which did not change last selected
9997         paragraph.
9998
9999         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10000         changed the read and substituted \\end_float with \\end_inset!
10001
10002         * BufferView_pimpl.C (cursorPrevious):
10003         (cursorNext): fixed to make it work with rows heigher than the work
10004         area without moving the cursor only the draw of the row.
10005         (workAreaMotionNotify): fix jumping over high rows.
10006
10007 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10010         Ressler.
10011
10012 2002-04-16  Juergen Vigna  <jug@sad.it>
10013
10014         * text2.C (setCursor): set also the irow().
10015         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10016         (cursorUp):
10017         (cursorDown): support for locking an inset if the x_fix value goes
10018         inside it. That way I can transverse insets too with cursor up/down.
10019
10020         * lyxrow.h: added irow helper function same as other (i) functions.
10021
10022         * BufferView_pimpl.C (cursorPrevious):
10023         (cursorNext): fixed for insets!
10024
10025 2002-04-15  Juergen Vigna  <jug@sad.it>
10026
10027         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10028         position otherwise it is wrong in some cases.
10029
10030         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10031         inside the inset before the call.
10032
10033 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10034
10035         * buffer.[Ch] (getBibkeyList): make it const.
10036
10037 2002-04-12  Juergen Vigna  <jug@sad.it>
10038
10039         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10040
10041         * text2.C (getCursorX): new helper function
10042         (setCursor): compute also ix_
10043         (setCursorFromCoordinates): set also ix.
10044
10045         * lyxcursor.h: added ix_ and helper functions.
10046
10047         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10048
10049         * buffer.C (insertStringAsLines): dont break paragraph if the this
10050         paragraph is inside an inset which does not permit it!
10051
10052         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10053         also with no chars on this paragraph.
10054         (paintRowText): only paint stuff if it's inside the workarea!
10055
10056         * paragraph.C (breakParagraph): honor keepempty flag and break the
10057         paragraph always below not above.
10058
10059         * BufferView2.C (unlockInset): update the paragraph layout on inset
10060         unlock as we changed paragraph in such a case.
10061
10062         * lyxfind.C (LyXFind): clear the former selection if not found!
10063
10064         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10065         again called in insertChar().
10066
10067         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10068         an inset which uses the whole row!
10069         (rightMargin): ditto.
10070         (insertChar): force a rebreak if we inserted an inset!
10071
10072 2002-03-28  Herbert Voss  <voss@lyx.org>
10073
10074         * lyxlength.[Ch]: add inBP() to get the right PS-point
10075         units (BigPoint). With inPixels we have rounding errors
10076
10077 2002-04-11  Juergen Vigna  <jug@sad.it>
10078
10079         * text2.C (setCursorFromCoordinates): set iy to the right value.
10080         (setCursor): add check if row->previous exists!
10081
10082         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10083         an old float_type as this was the case in the old code!
10084
10085         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10086
10087         * BufferView2.C (showLockedInsetCursor): use iy
10088         (fitLockedInsetCursor): ditto
10089
10090         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10091         locked insets as there we have the right value now.
10092
10093         * lyxcursor.C: added iy_ variable and iy functions to set to the
10094         baseline of cursor-y of the locked inset.
10095
10096         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10097         (setCursor): fixed for insets which need a full row.
10098
10099         * text.C (rowLastPrintable): don't ignore the last space when before
10100         an inset which needs a full row.
10101         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10102         as last character of a row when before a inset which needs a full row.
10103
10104 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10105
10106         * version.C.in: update date
10107
10108         * text2.C (fullRebreak): try to always return true and see what
10109         happens...
10110
10111 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * MenuBackend.C (expand): use Floating::listName
10114
10115         * FloatList.C (FloatList): add listName argument to the built-in
10116         floats
10117
10118         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10119         text associated with the float.
10120
10121 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10124
10125 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10126
10127         * ShareContainer.h: add a couple of missing typenames.
10128
10129 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10130
10131         * lyxrc.C (getDescription): use _() correctly rather than N_().
10132
10133 2002-03-28  Herbert Voss  <voss@lyx.org>
10134
10135         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10136         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10137
10138 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10141         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10142
10143 2002-03-29  Juergen Vigna  <jug@sad.it>
10144
10145         * lyxfunc.C (dispatch): add a missing fitCursor call.
10146
10147         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10148         it was scrolled by a cursor move, so return the bool status.
10149
10150         * BufferView.C (fitCursor): return the bool flag also to the outside
10151         world as this is needed.
10152
10153         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10154
10155         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10156         call the edit() as it is not needed (and wrong) IMO.
10157         (workAreaButtonPress): set the screen_first variable before evt.
10158         unlock the inset as this may change screen_first and then we have
10159         a wrong y position for the click!
10160
10161 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10162
10163         * MenuBackend.C (expand): another translation that I missed
10164
10165 2002-03-28  Juergen Vigna  <jug@sad.it>
10166
10167         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10168
10169         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10170
10171 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10174
10175         * MenuBackend.C (expand): fix export/view/update when there is no
10176         document open.
10177
10178 2002-03-27  Herbert Voss  <voss@lyx.org>
10179
10180         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10181         and text%
10182
10183 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10184
10185         * bufferview_funcs.C (currentState): only show paragraph number
10186         for is DEVEL_VERSION is set.
10187
10188         * lyxfunc.C (dispatch): put warning in INFO channel
10189
10190         * MenuBackend.C (expand): translate the name of floats
10191
10192         * FloatList.C (FloatList): mark the float names for translation
10193
10194         * converter.C (convert): use LibScriptSearch
10195
10196 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * MenuBackend.C (defaults): fix default menu (we might as well get
10199         rid of it...)
10200
10201 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10202
10203         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10204         directory.
10205
10206 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10207
10208         * lyxvc.C: reorder includes.
10209
10210 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10213           properly
10214
10215 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * CutAndPaste.C: change layouts earlier on paste
10218           to avoid crashing when calling getFont()
10219
10220 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10221
10222         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10223         irritating #error.
10224
10225 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * WorkArea.C: remove 'Pending' debug message.
10228
10229         * most files: ws cleanup
10230
10231         * buffer.[Ch]: ws changes
10232
10233         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10234
10235 2002-03-21  Juergen Vigna  <jug@sad.it>
10236
10237         * tabular.C (SetMultiColumn): collapse also the contents of the
10238         cells and set the last border right. Added a Buffer const * param.
10239
10240 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10243         linking or not.
10244
10245 2002-03-19  Juergen Vigna  <jug@sad.it>
10246
10247         * text2.C (clearSelection): reset also xsel_cache.
10248
10249         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10250         where it needs to be called (John tells us to do so too :)
10251         (selectionLost): reset sel_cache.
10252
10253         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10254
10255 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10256
10257         * text2.C (setCursorIntern): put debuging code in INSETS channel
10258
10259 2002-03-19  André Pönitz <poenitz@gmx.net>
10260
10261         * lyxfunc.C: tiny whitespace change
10262
10263 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10264
10265         * ToolbarDefaults.C (init):
10266         * LyXAction.C (init):
10267         * commandtags.h:
10268         * BufferView_pimpl.C (Dispatch):
10269         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10270
10271 2002-03-19  Allan Rae  <rae@lyx.org>
10272
10273         * exporter.C (Export): removeAutoInsets before doing anything else.
10274         While I've just introduced a dependency on BufferView this really is
10275         the best place to clean the buffer otherwise you need to cleanup in
10276         a dozen places before calling export or cleanup in a dozen functions
10277         that export calls.
10278
10279         * converter.C (runLaTeX):
10280         (scanLog): Better handling of removeAutoInsets and screen updates.
10281
10282         * lyxfunc.C (dispatch): small whitespace changes
10283
10284 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * WorkArea.C (C_WorkAreaEvent): return a value.
10287         (event_cb): return 1 if we handled the event, 0 otherwise.
10288
10289         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10290
10291 2002-03-18  Juergen Vigna  <jug@sad.it>
10292
10293         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10294         (GetAdditionalWidth): ditto.
10295         (RightLine): ditto.
10296         (LeftLine): ditto.
10297
10298         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10299         inset if we're there actually (probably not used right now but this
10300         is the direction to go for unifying code).
10301         (paste): disable code to clear the selection.
10302
10303         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10304         inside an InsetText and move the check further up as it is in the
10305         wrong place.
10306
10307         * text2.C (pasteSelection): set a selection over the pasted text.
10308
10309 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10310
10311         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10312         and libgraphics to build on Cygwin.
10313
10314 2002-03-15  Juergen Vigna  <jug@sad.it>
10315
10316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10317         inserting an Inset into the paragraph. I know this is not the best
10318         fix but we already use current_view in CutAndPaste so we will remove
10319         all of it's using at the same time.
10320
10321         * buffer.C (sgmlError): deactivated function till it is rewritten in
10322         the right mode, now it can create problems.
10323
10324         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10325         before accessing it.
10326
10327 2002-03-14  Juergen Vigna  <jug@sad.it>
10328
10329         * undo_funcs.C (textHandleUndo): do the right thing when updating
10330         the inset after the undo/redo.
10331
10332         * text2.C (setCursor): just some testcode for #44 not ready yet.
10333
10334         * undo_funcs.C (textHandleUndo): set the next() and previous()
10335         pointers of the paragraph to 0 before deleting otherwise we have
10336         problems with the Paragraph::[destructor].
10337
10338         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10339         on a paragraph insertion.
10340
10341 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10342
10343         * buffer.C (asciiParagraph): use += operator for char append to
10344         string.
10345
10346         * paragraph.C (getFontSettings): compare >= not just >
10347         (highestFontInRange): ditto
10348         (setFont): ditto
10349
10350 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10351
10352         * paragraph.C: change several algorithm to be more appripriate for
10353         the problem domain. This is lookip in FontList and in the InsetList.
10354
10355 2002-03-13  André Pönitz <poenitz@gmx.net>
10356
10357         * commandtags.h:
10358         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10359
10360 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * commandtags.h:
10363         * LyXAction.C:
10364         * lyxfunc.C:
10365         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10366
10367 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10368
10369         * Painter.C (display): anon helper function, adjust code for this
10370         change.
10371         (pixmap): remove function.
10372
10373         * Painter.h: remove private display variable.
10374
10375         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10376
10377 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10378
10379         * WorkArea.[Ch]: remove figinset_canvas cruft.
10380
10381 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382
10383         * lyxtextclass.C (operator): add one item cache optimization.
10384
10385         * bufferlist.h: doxy changes
10386
10387         * bufferlist.C: ws changes
10388
10389         * DepTable.[Ch] (ext_exist): place const in the right spot.
10390
10391         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10392         call resizeInsets.
10393         (workAreaExpose): call resizeInsets when the with BufferView changes.
10394         (Dispatch): adjust for protectedBlank removal
10395         (specialChar): call updateInset if the insert went ok.
10396
10397         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10398         specialChar instead.
10399
10400         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10401
10402         * BufferView.h: doxy change
10403
10404         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10405
10406         * lyxtextclass.C (operator[]): remove non-const version
10407         (defaultLayout): remove non-const version
10408
10409 2002-03-12  Juergen Vigna  <jug@sad.it>
10410
10411         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10412         did resize the LyXText too.
10413
10414         * buffer.C (readLyXformat2): set layout information on newly allocated
10415         paragraphs.
10416
10417         * tabular.C (OldFormatRead): set layout information on the paragraph.
10418
10419 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10420
10421         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10422
10423 2002-03-11  Juergen Vigna  <jug@sad.it>
10424
10425         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10426         plainly wrong.
10427         (resizeCurrentBuffer): force also the insets to resize themselfes.
10428         (moveCursorUpdate): fixed up for InsetText.
10429
10430 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10431
10432         * commandtags.h:
10433         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10434         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10435         value of Dialogs::tooltipsEnabled().
10436         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10437
10438 2002-03-08  Juergen Vigna  <jug@sad.it>
10439
10440         * BufferView_pimpl.C (updateInset): update inset inside inset also
10441         if it isn't inside theLockingInset().
10442
10443 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * buffer.C (asciiParagraph): redo some of the word and line length
10446         handling.
10447         (getLists): look for Caption instead of caption.
10448
10449 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10450
10451         * buffer.C (Buffer): initialize niceFile to true
10452         (makeLaTeXFile):
10453         (makeLinuxDocFile):
10454         (makeDocBookFile): make sure niceFile is true on exit
10455
10456 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10459
10460 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10461
10462         * LyXSendto.C: remove.
10463         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10464         * lyx_gui.C: remove now-redundant comment.
10465         * ColorHandler.h: remove forward declaration of class WorkArea.
10466         * lyxfunc.C: remove #include "WorkArea.h".
10467
10468 2002-03-07  Juergen Vigna  <jug@sad.it>
10469
10470         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10471         got moved away with the DEPM and also set the inset_owner always
10472         right which before could have been omitted.
10473
10474 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10477         wanted layout is not found.
10478
10479 2002-03-07  Juergen Vigna  <jug@sad.it>
10480
10481         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10482
10483 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10484
10485         * paragraph.C (breakParagraph): use default layout not layout of
10486         prev paragraph.
10487         (Paragraph): clear ParagraphParameters.
10488
10489 2002-03-06  Juergen Vigna  <jug@sad.it>
10490
10491         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10492         otherwise it would not be a valid lenght. Fixed a special case in
10493         the minipage compatibility read where we end the document with a
10494         minipage.
10495
10496         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10497         was set as it could be 0 for InsetTexts first entry.
10498
10499 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * paragraph.C (writeFile): if layout is empty write out
10502         defaultLayoutName().
10503
10504         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10505         file without named layout we set layout to defaultLayoutName().
10506
10507 2002-03-06  Juergen Vigna  <jug@sad.it>
10508
10509         * CutAndPaste.C (copySelection): set layout for new paragraph.
10510
10511         * text.C (prepareToPrint): leave ERT inset left aligned
10512         (leftMargin): don't indent paragraphs inside ERT insets
10513
10514 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * paragraph.C (breakParagraph): dont call clear do the work manually
10517
10518         * paragraph.[Ch] (clear): remove function
10519
10520 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * paragraph.C (Paragraph): dont call clear, the work has already
10523         been done.
10524
10525         * lyxtextclass.C (operator): assert if n is empty
10526
10527         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10528         work manually instead.
10529
10530 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView_pimpl.C: protect selectionLost against text == 0
10533
10534 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * text.C (breakParagraph): fix a setting layout to '0' problem.
10537
10538 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10539
10540         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10541         final location of file, for the included files, and graphics.
10542
10543 2002-03-05  Juergen Vigna  <jug@sad.it>
10544
10545         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10546
10547 2002-03-04  Juergen Vigna  <jug@sad.it>
10548
10549         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10550
10551         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10552         last column of multicolumn cells.
10553         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10554
10555 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10556
10557         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10558         file if it doesn't go to a temporary file.
10559
10560         * buffer.C (sgmlOpenTag):
10561         (sgmlCloseTag):  remove extra newline insertion.
10562
10563 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10564
10565         * text.C (getRowNearY): comment out debug msg
10566
10567 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * text2.C: first -> first_y
10570
10571         * text.C (getRowNearY): add some attemts at a possible
10572         optimization, not working.
10573
10574         * tabular.[Ch]: add BufferParams to several function so that newly
10575         created paragraph can be initialized to he default layotu for the
10576         buffers textclass.
10577
10578         * tabular-old.C (ReadOld): add buf->params to call of Init
10579
10580         * screen.C: rename text->first to text->first_y
10581
10582         * paragraph.C (breakParagraph): always set layout in the broken
10583         paragraph
10584
10585         * lyxtextclass.C (Read): remove lowercase
10586         (hasLayout): ditto
10587         (operator): ditto
10588         (delete_layout): ditto
10589
10590         * lyxtext.h: rename first -> first_y
10591
10592         * lyxlayout.C (Read): remove lowercase
10593         (name): ditto
10594         (setName): ditto
10595         (obsoleted_by): ditto
10596
10597         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10598
10599         * buffer.C (insertErtContents): add params are to InsetERT
10600         (parseSingleLyXformat2Token): add code to check if a paragraphs
10601         layout really exist.
10602         (parseSingleLyXformat2Token): add params to several inset
10603         constructors
10604         (asciiParagraph): remove lowercase, do the layout comparisons with
10605         no_case
10606
10607         * BufferView_pimpl.C (cursorNext): first -> first_y
10608         (resizeCurrentBuffer): first -> first_y
10609         (updateScrollbar): first -> first_y
10610         (scrollCB): first -> first_y
10611         (workAreaMotionNotify): first -> first_y
10612         (workAreaButtonPress): first -> first_y
10613         (checkInsetHit): first -> first_y
10614         (cursorPrevious): first -> first_y
10615         (cursorNext): first -> first_y
10616         (Dispatch): add buffer_->params to severl inset contructors
10617
10618 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10619
10620         * lyxlayout.C (Read): remove some debug info that I forgot.
10621
10622         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10623         clean up the code slightly.
10624         (makeLinuxDocFile): ditto
10625         (makeDocBookFile): ditto
10626
10627         * text2.C: layout as string
10628
10629         * text.C: layout as string
10630
10631         * paragraph_pimpl.C: layout as string
10632
10633         * paragraph.[Ch]: layout as string
10634
10635         * lyxtextclasslist.[Ch]: layout as string
10636
10637         * lyxtextclass.[Ch]: layout as string
10638
10639         * lyxtext.h: layout as string
10640
10641         * lyxlayout.[Ch]: layout as string
10642
10643         * lyx_cb.C: layout as string
10644
10645         * bufferview_funcs.C: layout as string
10646
10647         * bufferparams.C: layout as string
10648
10649         * buffer.C: layout as string
10650
10651         * LyXView.[Ch]: layout as string
10652
10653         * LaTeXFeatures.[Ch]: layout as string
10654
10655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10656
10657         * BufferView_pimpl.C: change current_layout to string, remove
10658         lyx::layout_type.
10659         (Dispatch):
10660         (smartQuote):
10661         (insertInset):
10662         (workAreaButtonRelease): layout as string
10663
10664         * BufferView2.C (unlockInset): adjust
10665
10666         * vspace.C (asLatexCommand): use an explict temp variable.
10667
10668 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10669
10670         * Makefile.am: use FRONTEND_*
10671
10672 2002-03-01  Juergen Vigna  <jug@sad.it>
10673
10674         * tabular.C (SetWidthOfMulticolCell): changed to something better
10675         I hope but still work in progress.
10676         (recalculateMulticolumnsOfColumn): renamed function from
10677         recalculateMulticolCells as it is more appropriate now.
10678         (SetWidthOfCell): calculate multicols better.
10679
10680 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10683
10684         * lyxfunc.C (processKeySym): print sequence also if it is
10685         `deleted' (complete)
10686
10687         * kbsequence.C (print): print sequence even if it is deleted
10688         (complete would be a better word, actually).
10689
10690         * lyxfunc.C (dispatch): print complete options after a prefix key
10691
10692         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10693
10694 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10695
10696         * text2.C (setCharFont): eliminate setCharFont code duplication.
10697
10698 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10699
10700         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10701         LFUN_TABULAR_FEATURE (bug #177)
10702
10703 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10704
10705         * Makefile.am: remove figure.h
10706
10707 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10708
10709         * Bufferview_pimpl.C:
10710         * CutAndPasteC:
10711         * LaTeX.C:
10712         * LyXSendto.C:
10713         * buffer.C:
10714         * bufferlist.C:
10715         * converter.C:
10716         * language.C:
10717         * lyxfunc.C:
10718         * lyxvc.C:
10719         * paragraph.C:
10720         * text.C:
10721         * text2.C: remove #include "lyx_gui_misc.h".
10722
10723         * LaTeX.C: added #include <cstdio>
10724
10725 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10728         that the paragraph following this one can have.
10729
10730         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10731
10732         * vspace.C (asLatexCommand): fix bogus gcc warning
10733
10734         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10735
10736 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10737
10738         * text2.C (setLayout): get rid of redundant code
10739
10740 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10741
10742         * text2.C (incDepth): make sure depth cannot be increased beyond
10743         reasonable values.
10744
10745 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10748         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10749
10750         * PainterBase.h (image):
10751         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10752         a LyXImage const *.
10753
10754 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * BufferView.C:
10757         * BufferView.h:
10758         * BufferView_pimpl.C:
10759         * BufferView_pimpl.h:
10760         * LaTeXFeatures.C:
10761         * LyXAction.C:
10762         * LyXView.C:
10763         * Makefile.am:
10764         * UpdateList.h:
10765         * UpdateList.C:
10766         * buffer.C:
10767         * figure.h:
10768         * figureForm.C:
10769         * figureForm.h:
10770         * figure_form.C:
10771         * figure_form.h:
10772         * lyx_cb.C:
10773         * lyx_gui.C:
10774         * lyx_gui_misc.C:
10775         * lyxfunc.C:
10776         * sp_base.h:
10777         * sp_ispell.h:
10778         * sp_pspell.h:
10779         * sp_spell.C: remove fig inset, and the crap house of
10780           cards that follows it
10781
10782 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * Makefile.am:
10785         * lyxserver.C:
10786         * os2_defines.h:
10787         * os2_errortable.h:
10788         * nt_defines.h: move .h into support/
10789
10790         * vms_defines.h: remove
10791
10792         * WorkArea.C: add space in debug output
10793
10794         * text2.C:
10795         * paragraph.C:
10796         * buffer.C: add WITH_WARNINGS
10797
10798         * vc-backend.h:
10799         * vc-backend.C:
10800         * bufferlist.C: s/retrive/retrieve/, add docs
10801
10802         * vspace.h:
10803         * vspace.C:
10804         * kbmap.h:
10805         * lyxlength.h:
10806         * lyxgluelength.h:
10807         * length_common.h:
10808         * chset.h:
10809         * chset.C: add docs
10810
10811         * lyxgui.C: add ID to X error handler
10812
10813         * lyxtestclass.c: fix typo
10814
10815 2002-02-26  Juergen Vigna  <jug@sad.it>
10816
10817         * tabular_funcs.C (write_attribute): changed so that some default
10818         attributes are not written at all.
10819         (getTokenValue): set default values before trying to read the
10820         value so we have the return value always set as default if we don't
10821         find the token we search for.
10822
10823         * tabular.C (Write): write bools as bools not as strings!
10824
10825 2002-02-22  Juergen Vigna  <jug@sad.it>
10826
10827         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10828         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10829
10830         * text.C (leftMargin): don't add an indent for paragraphs inside
10831         tabular cells (fix #208).
10832
10833 2002-02-21  José Matos  <jamatos@fep.up.pt>
10834
10835         * tabular.C (docBook): fixed support for long tables.
10836
10837 2002-02-20  Juergen Vigna  <jug@sad.it>
10838
10839         * text2.C (getFont): get the drawing font of the Inset if this
10840         paragraph is inside an inset (only important for InsetERT for now).
10841
10842         * buffer.C (insertErtContents): use new lanugage params in ERT
10843         constructor.
10844
10845         * CutAndPaste.C: commenting out seemingly uneeded code.
10846
10847 2002-02-19  Allan Rae  <rae@lyx.org>
10848
10849         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10850         Iterators might be simple to use but they also get invalidated.
10851         (removeAutoInsets): renamed saved cursor tracking variables and added
10852         some comments to clarify what everything does.
10853
10854 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10855
10856         * Chktex.C:
10857         * LaTeX.C:
10858         * LyXSendto.C:
10859         * converter.C:
10860         * lyx_cb.C:
10861         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10862         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10863
10864         * lyxfunc.C:
10865         * vc-backend.h: remove #include "support/syscall.h"
10866
10867         * LaTeX.C:
10868         * LyXSendto.C:
10869         * converter.C: rearrange #includes in Lars' approved fashion.
10870
10871         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10872         forward declare class Timeout in the header file.
10873
10874         * XFormsView.C: changes due to the above.
10875
10876         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10877         similar to LyXView.
10878
10879         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10880         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10881
10882 2002-02-18  José Matos  <jamatos@fep.up.pt>
10883
10884         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10885         insets contents.
10886
10887 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10888
10889         * a lot of small ws changes
10890         * add a lot of using std::XXX
10891         * use std construcs some places where approp.
10892         * use some exisint stuff from lyxfunctional where approp.
10893         * Make file changes to use partial linking (lets test this now...)
10894
10895 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10896
10897         * Chktex.C:
10898         * buffer.C:
10899         remove #include "support/syscontr.h" as it's redundant. Always has been.
10900
10901         * Chktex.C:
10902         * LaTeX.C:
10903         * LyXSendto.C:
10904         * converter.C:
10905         * lyx_cb.C:
10906         * vc-backend.C:
10907         change Systemcalls::System to Systemcalls::Wait and
10908         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10909         No change of functionality, just reflects the stripped down Systemcalls
10910         class.
10911
10912 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * debug.[Ch]: add a GRAPHICS type to the enum.
10915
10916 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10917
10918         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10919
10920         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10921         there is an inset.
10922
10923 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10926         match the changes below.
10927
10928         * text2.C (toggleInset): if there is not editable inset at cursor
10929         position, try to see if cursor is _inside_ a collapsable inset
10930         and close it.
10931
10932 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10933
10934         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10935         document menu has a nice checkbox
10936
10937 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * lyxlength.C (asLatexString): change PW to output as percent of
10940         \textwidth.
10941
10942         * lengthcommon.C: change '%' to 't%'
10943
10944         * lyxfunc.C (dispatch): a few comments from Martin
10945
10946 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * WorkArea.h:
10949         * WorkArea.C:
10950         * BufferView_pimpl.h:
10951         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10952           the X selection.
10953
10954 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10955
10956         * vspace.C (inPixels): fix compiler warning
10957
10958 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10959
10960         * lyxfunc.C (getStatus): fix status message for disabled commands.
10961
10962 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * BufferView_pimpl.C: fix crash on close buffer
10965         during selection (#227)
10966
10967 2002-01-27  Herbert Voss  <voss@lyx.org>
10968
10969         * buffer.C: link old Figure to new graphic inset
10970
10971 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * FontLoader.C (getFontinfo): Change the latex font names in order
10974         to match the names of type1inst.
10975
10976 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10977
10978         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10979
10980         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10981         (extchanged): ditto
10982         (ext_exist): ditto
10983         (remove_files_with_extension): ditto
10984         (remove_file): ditto
10985         (write): ditto
10986
10987         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10988         document is smaller than the work area height. Do not initialize
10989         static variables to 0.
10990
10991 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10992
10993         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10994
10995         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10996         LFUN_LAYOUT_PARAGRAPHS.
10997
10998         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10999         tabular. It is possible to provide a possible cell, which will
11000         typically be the actcell from the corresponding insettabular
11001
11002         * lyxfunc.C (getStatus): small cleanup; disable
11003         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11004         true
11005
11006 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11009
11010         * paragraph.C (startTeXParParams):
11011         (endTeXParParams): new methods. The LaTeX code to
11012         start/end paragraph formatting
11013         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11014         empty (fixes bug #200)
11015
11016         * vspace.C (inPixels): adapt to the change below
11017         (inPixels): [later] more cleanups (remove unused variables)
11018
11019         * lyxlength.C (inPixels): change to use a width and a height as
11020         parameter.
11021
11022 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11025         Replaced with \paperwidth
11026
11027         * DepTable.C (insert): add std:: qualifier
11028
11029 2002-01-18  Allan Rae  <rae@lyx.org>
11030
11031         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11032         updated also?
11033
11034         * text.C (drawInset): Turned out I didn't know enough about how
11035         rebreaking worked.  This fixes most of the redraw problems.  I see
11036         an occasional cursor trail when a line is broken now and the cursor
11037         placement can seem out by a few pixels also after a rebreak.
11038
11039 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11040
11041         * buffer.C (parseSingleLyXformat2Token): update because minipage
11042         width is now a LyXLength
11043
11044         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11045
11046         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11047         math insets
11048
11049 2002-01-17  Juergen Vigna  <jug@sad.it>
11050
11051         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11052
11053         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11054         is set correctly and the inset is updated correctly.
11055
11056 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11059         the beginning of the loop.
11060
11061 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * lyxrc.C: improve help for use_scalable_fonts
11064
11065 2002-01-17  Allan Rae  <rae@lyx.org>
11066
11067         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11068
11069 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11070
11071         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11072         make sure to set their inset_owner to the right value (bug #171)
11073
11074 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11075
11076         * DepTable.h
11077         * DepTable.C: Implement mtime checking to reduce time spent doing
11078         CRCs.
11079
11080 2002-01-16  Juergen Vigna  <jug@sad.it>
11081
11082         * tabular.C (GetAdditionalHeight): one of error fixed.
11083
11084         * lyxrc.C (output): small fix in writing use_pspell.
11085
11086 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11087
11088         * sp_base.h: #include LString.h
11089
11090 2002-01-16  Allan Rae  <rae@lyx.org>
11091
11092         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11093         Can someone check this please?
11094
11095         * text.C (drawInset): It was possible that p.row would be removed by
11096         breakAgainOneRow upsetting a few other settings.  There may be another
11097         small tweak possible by setting need_break_row = 0 when p.row has been
11098         removed but I don't know enough about the logic here.
11099
11100 2002-01-15  Allan Rae  <rae@lyx.org>
11101
11102         * text.C (insertChar): removed conditional truism.
11103
11104         * BufferView2.C (removeAutoInsets): More tweaks.
11105         cur_par_prev could be a stray pointer.  Check for trailing empty line
11106         in case last line was cur_par and only had an error inset on it.
11107
11108 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11111         absolute
11112
11113         * vc-backend.C (most methods):
11114         * exporter.C (Export):
11115         * converter.C (convert):
11116         (runLaTeX):
11117         * LyXSendto.C (SendtoApplyCB):
11118         * lyxfunc.C (dispatch):
11119         (menuNew):
11120         (open):
11121         (doImport):
11122         * lyx_cb.C (AutoSave):
11123         (InsertAsciiFile):
11124         * BufferView_pimpl.C (MenuInsertLyXFile):
11125         * buffer.C (runChktex): use Buffer::filePath().
11126
11127         * buffer.h: rename filename to filename_; rename filepath to
11128         filepath_ and make it private
11129         (filePath): new method
11130
11131         * buffer.C (writeFile): use fileName()
11132         (getLatexName):
11133
11134         * lyx_main.C (init): fix starting  of LyX when the binary is a
11135         link from so,ewhere else.
11136
11137         * minibuffer.C: include <cctype> for isprint
11138
11139 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11140
11141         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11142         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11143         name clash with InsetCollapsable's width function.
11144
11145 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11146
11147         * lastfiles.C: include <iterator>
11148
11149 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11150
11151         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11152         std::count.
11153
11154         * buffer.C (makeLaTeXFile): ditto.
11155         Also make loop operation more transparent.
11156
11157 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11158
11159         * ToolbarDefaults.C: remove trailing comma closing namespace.
11160
11161         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11162
11163         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11164         as in WorkArea.
11165
11166         * trans.C (Load): comment out unused variable, allowed.
11167
11168 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11169
11170         * minibuffer.[Ch] (append_char): new method to recieve input from the
11171         drop-down completion browser. If a key was pressed, then recieve this
11172         char and append it to the existing string.
11173         (peek_event): modify the positioning data passed to the completion
11174         browser so that it can be placed above the minibuffer rather than below.
11175 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11176
11177         * LyXAction.C (init): alloe error-next for readonly documents.
11178
11179         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11180         count.
11181
11182 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * bufferlist.C (readFile): create the buffer _after_ checking that
11185         the file exists.
11186
11187         * lyxfunc.C (verboseDispatch): fix handling of arguments
11188
11189         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11190
11191         * lyxrc.C: use string::erase() instead of initializing to "".
11192
11193
11194 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * BufferView_pimpl.h:
11197         * BufferView_pimpl.C:
11198         * WorkArea.h:
11199         * WorkArea.C:
11200         * text2.C: tell X when we have made a selection for copying
11201
11202 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11203
11204         * BufferView_pimpl.C (MenuInsertLyXFile):
11205         * lyxfunc.C (menuNew):
11206         (open):
11207         (doImport): add shortcuts to directory buttons
11208
11209         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11210         open a float)
11211
11212         * lyxfunc.C (setStatusMessage):
11213         (getStatusMessage): new methods
11214         (getStatus):use setStatusMessage instead of setErrorMessage
11215         (dispatch): when function is disabled, set error message here
11216         [instead of in getStatus previously]
11217
11218         * BufferView_pimpl.C (workAreaButtonRelease): update
11219         toolbar/menubar here too.
11220
11221 2002-01-13  Allan Rae  <rae@lyx.org>
11222
11223         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11224         Now seems indestructible.  Remaining task is to audit all other
11225         code affected by deleteEmptyParagraphMechanism.  One small quirk
11226         left is that an empty document with an error in the preamble can
11227         be made to report an error but no error box appears.  I don't know
11228         where it goes.
11229         (removeAutoInsets): Improved comments.
11230
11231 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * Thesaurus.h:
11234         * Thesaurus.C: update for Aiksaurus 0.14
11235
11236 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * text2.C (firstParagraph): removed member function, all uses
11239         replaces with ownerParagraph
11240         (redoParagraphs): here
11241         (updateInset): here
11242         (toggleAppendix): here
11243         * BufferView2.C (insertErrors): here
11244         (setCursorFromRow): here
11245
11246 2002-01-13  Allan Rae  <rae@lyx.org>
11247
11248         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11249         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11250         There is still a way to segfault this although you may have to do this
11251         multiple times: Have an InsetERT with an unknown command in it.
11252         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11253         <down-arrow>, <Enter> again, View->DVI, BANG!
11254
11255         * text2.C (setCursor):
11256         (deleteEmptyParagraphMechanism):
11257         * lyxtext.h (setCursor):
11258         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11259         Making use of the return value may help fix other bugs.
11260
11261 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11264
11265         * LyXView.C (updateMenubar): call MenuBar::update here
11266         (updateToolbar): but not here
11267         (showState): do not update toolbar/menubar
11268
11269         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11270         should need to care about that.
11271
11272         * lyxfunc.C (verboseDispatch): simplify a bit
11273         (getStatus): have a version which takes a pseudoaction, and
11274         another which requires a (kb_action,string).
11275
11276         * LyXAction.C (retrieveActionArg): make it work also when action
11277         is not a pseudo-action.
11278         (getActionName): simplify a bit
11279         (helpText):
11280
11281 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * lyxfunc.C (verboseDispatch): new families of methods with
11284         several ways to specify a command and a bool to indicate whether
11285         the command name and shortcut should be displayed in minibuffer
11286         (eventually, we could extend that to a finer bitmask like
11287         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11288         (dispatch): the pristine dispatch command which just, well,
11289         dispatchs! Note it still sets its result to minibuffer; I'm not
11290         sure we want that.
11291
11292         * lyxfunc.h: remove setHintMessage
11293
11294         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11295
11296 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * BufferView_pimpl.C (specialChar): delete new inset if we have
11299         not been able to insert it.
11300
11301         * kbmap.C: revert to using int instead of kb_action, since all we
11302         are dealing with is pseudo-actions.
11303
11304         * LyXAction.C (searchActionArg): change to return int instead of
11305         kb_action, since the result is a pseudoaction.
11306
11307 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * buffer.C (insertErtContents): Fix (partially) the font bug.
11310
11311 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11312
11313         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11314         as the other one is broken on my machine!
11315
11316 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11317
11318         * commandtags.h:
11319         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11320
11321 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11322
11323         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11324         reflect their actual use. Provide compatibility code for older lyxrc
11325         files.
11326
11327         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11328         FL_NORMAL_STYLE.
11329         change names of popup font variables in line with the changes to lyxrc.C
11330
11331 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * buffer.C (asciiParagraph): avoid outputing a word twice after
11334         an inset.
11335
11336         * lyxrc.C (getDescription): document that document_path and
11337         template_path can be empty.
11338
11339 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11340
11341         * LaTeXFeatures.C (getMacros):
11342         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11343
11344         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11345
11346         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11347         getPackages.
11348         (getPackages): rename feature "floats" to "float". Use an array to
11349         iterate over 'simple' features (i.e. just a \usepackage). Add
11350         handling of "amsmath" (renamed from "amsstyle").
11351
11352 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11353
11354         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11355         features list.
11356
11357 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11360         FuncStaus::FuncStatus & FuncStaus::some_method().
11361
11362 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11363
11364         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11365         of the func_satus stuff. Edited and massaged in various ways by
11366         JMarc.
11367
11368         * lyxfunc.C (getStatus): use FuncStatus
11369
11370 2002-01-08  Juergen Vigna  <jug@sad.it>
11371
11372         * text.C (nextBreakPoint): use function Inset::isChar().
11373
11374         * paragraph.C (TeXOnePar): use function
11375         Inset::forceDefaultParagraphs.
11376
11377         * buffer.C (latexParagraphs): use function
11378         Inset::forceDefaultParagraphs.
11379
11380 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11381
11382         * lyx_gui.C (init): set the style of the menu popups to
11383         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11384
11385 2002-01-07  Juergen Vigna  <jug@sad.it>
11386
11387         * text.C (setHeightOfRow): small fix
11388         (prepareToPrint): don't look at alignment if we don't have the place
11389         for doing it.
11390
11391 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11392
11393         * box.C: New file. Move the Box methods and functions out of box.h,
11394         following Lars' suggestion.
11395
11396 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11397
11398         * box.h: #include "support/LOstream.h", needed for inlined function.
11399
11400         * lyxtextclass.C:
11401         * lyxtextclasslist.C: added some using std declarations.
11402
11403 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * box.h: make signed dimensions to allow insets wider than
11406           the screen (bug #162)
11407
11408         * BufferView_pimpl.C: add some insetHit debug
11409
11410 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * vc-backend.C: add FIXME
11413
11414 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * lyxfunc.C (getStatus): enable code for showing math font status
11417         in toolbar/menu.
11418
11419 2002-01-07  Juergen Vigna  <jug@sad.it>
11420
11421         * text.C (nextBreakPoint): removed debug output not needed anymore.
11422
11423 2002-01-06  Juergen Vigna  <jug@sad.it>
11424
11425         * text.C (nextBreakPoint): fixed up this function we had this bug
11426         since ever but now hopefully we break row better.
11427         (insertChar): we have to check if an inset is the next char as it
11428         could now happen that a large inset is causing a break.
11429
11430 2002-01-05  Juergen Vigna  <jug@sad.it>
11431
11432         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11433         if it doesn't like to be drawed.
11434
11435 2002-01-04  Juergen Vigna  <jug@sad.it>
11436
11437         * BufferView2.C (lockInset): forgot to set a cursor.
11438
11439         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11440
11441 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11442
11443         * FormMathsPanel.C:
11444         * FormMathsPanel.h
11445         * MathsSymbols.C:
11446         * form_maths_panel.C:
11447         * form_maths_panel.h:
11448         * form_maths_panel.fd: implemented sub- and super- buttons in math
11449         panel.
11450
11451         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11452         (or ^ space) to be used as in TeX (req'd by André).
11453
11454         * lyxfunc.C: Allow ^ and _ again to be used both as
11455         super/subscript (mathed) and as themselves (in text).
11456
11457 2002-01-03  Allan Rae  <rae@lyx.org>
11458
11459         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11460         "LyX" or the filename of the current buffer if it has one.  This is a
11461         modified form of John Levon's patch.
11462
11463         * XFormsView.C (setWindowTitle): also set icon title.
11464
11465         * LyXView.h (setWindowTitle): signature changed.
11466         * XFormsView.h (setWindowTitle): ditto.
11467
11468 2002-01-02  Juergen Vigna  <jug@sad.it>
11469
11470         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11471
11472 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * screen.C (topCursorVisible): introduce a temp var for
11475         text->cursor.row(), handle the case where this row is null. (kindo
11476         hachish)
11477
11478         * text2.C (setCursor): add a couple of asserts.
11479
11480         * paragraph.h (inset_iterator): add -> operator
11481
11482         * paragraph.[Ch] (autoDeleteInsets): remove member function
11483
11484         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11485         cursor pos correctly and handle inset deletion by itself.
11486         (insertErrors): move iterator declaration out of for expression
11487
11488         * lyxtextclass.C: add <algorithm>
11489
11490         * Makefile.am: added the new files to sources, removed layout.C
11491
11492         * layout.C: removed file
11493
11494         * layout.h: remove LYX_DUMMY_LAYOUT
11495
11496         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11497         layout.
11498
11499         * lyxlayout.[Ch]:
11500         * lyxtextclass.[Ch]:
11501         * lyxtextclasslist.[Ch]: new files
11502
11503         * include order changes to a lot of files, also changes because of
11504         the six new files.
11505
11506 2001-12-27  Juergen Vigna  <jug@sad.it>
11507
11508         * buffer.C (asciiParagraph): more fixes.
11509
11510         * tabular.C (ascii): make ascii export support export of only the
11511         data separated by a column-delimiter.
11512         (ascii): better support for ascii export.
11513
11514         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11515
11516 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11517
11518         * tabular_funcs.C: use a "using std::getline" instead of the
11519         previous fix from Angus (necessary for cxx + lyxstring)
11520
11521 2001-12-24  Juergen Vigna  <jug@sad.it>
11522
11523         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11524
11525         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11526         problems. First check a minipage also if we have some ert-contents
11527         (not only on par->size(), second set the right depth of the paragraph
11528         on the relink to the root-paragraph-list!
11529
11530         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11531         which then did not anymore update the main paragraphs on undo/redo!
11532
11533 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11536         code. Support all font-changing funcs (even those which are not in
11537         menu currently). Support for reporting font settings in
11538         mathed (disabled until Andre provides a function on mathed's side).
11539
11540         * func_status.h (toggle): small helper function to set toggle
11541         state on a flag.
11542
11543 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11544
11545         * tabular_funcs.C: getline -> std::getline
11546
11547 2001-12-21  Juergen Vigna  <jug@sad.it>
11548
11549         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11550         accessed and could be 0 (I couldn't generate this but it seems
11551         Michael could!).
11552
11553 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11556         * tabular_funcs.h: here and include iosfwd
11557
11558 2001-12-20  Juergen Vigna  <jug@sad.it>
11559
11560         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11561         inside inset but undo_par was.
11562
11563 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * Thesaurus.C: always include <config.h> in sources.
11566
11567         * Painter.h:
11568         * lyxlookup.h:
11569         * box.h: do not include <config.h> in header files
11570
11571         * text.C (paintLastRow): remove unused variable
11572
11573         * text.C (transformChar):
11574         (insertChar):
11575         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11576
11577         * Painter.C (text):
11578         * font.C (width): rewrite to use uppercase() instead of
11579         islower/toupper.
11580
11581         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11582
11583 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * lyxfind.C: clean up of find failure position change
11586
11587 2001-12-20  Juergen Vigna  <jug@sad.it>
11588
11589         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11590
11591         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11592         (TeXRow): added to LaTeX a single tabular row.
11593         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11594         (Latex): simplified and finally good LT-h/f support.
11595         (various_functions): just small adaptions for LT-h/f support.
11596
11597         * tabular_funcs.[hC]: added and moved here all not classfunctions
11598         of LyXTabular.
11599
11600 2001-12-19  Juergen Vigna  <jug@sad.it>
11601
11602         * tabular.[Ch]: better support for longtabular options (not finished
11603         yet!)
11604
11605 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * text.C (paintLastRow): use the label font instead of the font of
11608         the last character to compute the size of *_BOX. This makes more
11609         sense and avoids a crash with empty paragraphs.
11610         Use Painter::rectangle to draw EMPTY_BOX.
11611
11612 2001-12-19  Juergen Vigna  <jug@sad.it>
11613
11614         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11615         the paragraphs if the replaced paragraph is not the first one!
11616         Tried to delete not used paragraphs but does not work yet so for
11617         now it's inside #ifdef's and by default off!
11618
11619 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * MenuBackend.C: include "lyx_main.h" instead of declaring
11622         lastfiles (actually was declared as LastFiles* instead of a
11623         scoped_ptr).
11624
11625 2001-12-17  Juergen Vigna  <jug@sad.it>
11626
11627         * tabular.C (AppendColumn): applied John's fix
11628
11629 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * BufferView.h:
11632         * BufferView.C:
11633         * BufferView_pimpl.h:
11634         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11635
11636         * Makefile.am:
11637         * box.h: new start of class for above
11638
11639         * lyxfunc.C: ignore space-only minibuffer dispatches.
11640           Show the command name when it doesn't exist
11641
11642         * minibuffer.C: don't add empty lines to the history
11643
11644         * minibuffer.C: add a space on dropdown completion
11645
11646 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * text.C: fix line above/below drawing in insets
11649
11650 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * lyxlength.C (LyXLength): Initialize private variables.
11653
11654 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11657         when inserting error insets.
11658
11659 2001-12-13  Juergen Vigna  <jug@sad.it>
11660
11661         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11662         actually sometimes the before-paragraph.
11663         (setUndo): don't clear the redostack if we're not actually undoing!
11664
11665 2001-12-06  Juergen Vigna  <jug@sad.it>
11666
11667         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11668         and fixed redoing of main paragraph, so we can use it now ;)
11669
11670         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11671
11672 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11675         Juergen's request
11676
11677 2001-12-13  André Pönitz <poenitz@gmx.net>
11678
11679         * undostack.[Ch]:
11680         * undo_func.C: minor cleanup
11681
11682 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11685         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11686         font in urw-fonts package which is marked as -urw-fontspecific and
11687         does not work (incidentally, changing the encoding in the
11688         fonts.dir of this package to -adobe-fontspecific fixes the
11689         problem).
11690
11691         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11692         is a crash when undoing first paragraph (Juergen, please take a
11693         look). THis does not mean the undo fix is wrong, just that it
11694         uncovers problems.
11695
11696         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11697         the (Paragraph*) version when needed instead of duplicating the
11698         code.
11699
11700         * text.C (workWidth): use Inset::parOwner to find out where the
11701         inset has been inserted. This is a huge performance gain for large
11702         documents with lots of insets. If Inset::parOwner is not set, fall
11703         back on the brute force method
11704
11705         * paragraph_pimpl.C (insertInset):
11706         * paragraph.C (Paragraph):
11707         (cutIntoMinibuffer): set parOwner of insets when
11708         inserting/removing them
11709
11710         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11711
11712 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11713
11714         * commandtags.h:
11715         * LyXAction.C:
11716         * lyx_main.C:
11717         * lyxfunc.C:
11718         * mathed/formulabase.C:
11719         * mathed/math_cursor.[Ch]:
11720         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11721
11722
11723 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * lyxlength.[Ch] (operator!=): new function
11726
11727 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * text.C (workWidth): use Inset::parOwner to find out where the
11730         inset has been inserted. This is a huge performance gain for large
11731         documents with lots of insets. If Inset::parOwner is not set, fall
11732         back on the brute force method
11733
11734         * paragraph_pimpl.C (insertInset):
11735         * paragraph.C (Paragraph):
11736         (cutIntoMinibuffer): set parOwner of insets when
11737         inserting/removing them
11738
11739         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11740
11741 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * tabular-old.C (getTokenValue):
11744         * tabular.C (getTokenValue):
11745         (write_attribute): new versions for LyXLength
11746         (everywhere): adjust the use of widths
11747
11748         * tabular.h: change the type of widths from string to LyXLength
11749
11750 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11751
11752         * paragraph.C: fixed missing line number count when exporting
11753         Environments to LaTeX file
11754
11755         * buffer.C: added informational message for checking line numbers.
11756
11757 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11758
11759         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11760         paragraph, do the 'double space' part, but not the 'empty
11761         paragraph' one.
11762
11763         * text.C (workWidth): small optimization
11764         (getLengthMarkerHeight): use minimal size for negative lengths.
11765
11766 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11767
11768         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11769
11770         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11771
11772 2001-12-11  André Pönitz <poenitz@gmx.net>
11773
11774         * FontLoader.C:
11775         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11776
11777 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * text2.C: keep selection on a setFont()
11780
11781 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * lyx_cb.C: another bv->text misuse, from insert label
11784
11785 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * kbsequence.h:
11788         * kbsequence.C: re-instate nmodifier mask
11789
11790 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * lyx_main.h: make lyxGUI private.
11793
11794 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * lyxfind.C: place the cursor correctly on failed search
11797
11798 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * text.C (getLengthMarkerHeight): for small heights, the arrows
11801         are not always on top/bottom of the text
11802         (drawLengthMarker): smaller arrows; take the left margin in
11803         account; draw also vfills.
11804         (paintFirstRow):
11805         (paintLastRow): remove special code for vfill and standard spaces,
11806         since everything is handled in drawLengthMarker now.
11807
11808 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * buffer.C (insertErtContents): try to handle font and language
11811         interaction a bit better.g
11812
11813         * ColorHandler.C (updateColor): change the hash to cover the whole
11814         LColor enum, ws cleanup
11815         (getGCLinepars): ditto
11816         (getGCLinepars): only lookup in the linecache once.
11817
11818 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11819
11820         * iterators.C (operator++): Make the iterator more robust
11821
11822         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11823         (John's patch)
11824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11825
11826 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * lyxtext.h:
11829         * text.C: better added space drawing
11830
11831 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * LyXView.C:
11834         * BufferView2.C: fix layout combo update on inset unlock
11835
11836 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * Makefile.am: don't compile unused files
11839
11840 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * lyxfunc.C:
11843         * commandtags.h:
11844         * LyXAction.C: remove old LFUN_LAYOUTNO
11845
11846 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * paragraph_pimpl.h:
11849         * paragraph_pimpl.C: isTextAt() doesn't need font param
11850
11851 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * lyxlex.h:
11854         * lyxlex.C: little cleanup
11855
11856 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * BufferView_pimpl.C: fix insertAscii for insets
11859
11860 2001-12-05  Juergen Vigna  <jug@sad.it>
11861
11862         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11863         set the right font on the "multi" paragraph paste!
11864
11865 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * trans_decl.h:
11868         * trans_mgr.[Ch]:
11869         * trans.[Ch]:
11870         * lyxgluelength.C:
11871         * lyxlength.C: remove out-commented code.
11872
11873         * BufferView_pimpl:
11874         * CutAndPaste.C:
11875         * DepTable.C:
11876         * buffer.C:
11877         * chset.C:
11878         * lastfiles.C:
11879         * lyxlex.C:
11880         * lyxlex_pimpl.C:
11881         * lyxserver.C:
11882         * screen.C:
11883         * tabular-old.C:
11884         * tabular.C:
11885         * text.C:
11886         * trans_mgr.C:
11887         * vc-backend.C: change "while(" to "while ("
11888
11889         * lyxlength.[Ch]: add zero function to check if length is zero or
11890         not
11891         * lyxgluelength.C: use it
11892
11893 2001-12-05  Allan Rae  <rae@lyx.org>
11894
11895         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11896         Works for 2.95.3, from what I understand of Garst's reports this should
11897         work for other g++ versions.  We're screwed if the abs(int) definition
11898         changed between bugfix releases of gcc.
11899
11900 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * text.C: fix chapter label offset !
11903
11904 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * lyxtext.h:
11907         * text.C: fix hfill at end of line, clean up
11908
11909 2001-12-04  Juergen Vigna  <jug@sad.it>
11910
11911         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11912         that we force an update of the inset and it's owners if neccessary.
11913
11914 2001-12-03  Juergen Vigna  <jug@sad.it>
11915
11916         * text.C (rowLast): simplified code
11917
11918 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * lyxfunc.C: fix show options on timeout
11921
11922 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * screen.C (topCursorVisible): scroll half a page when the cursor
11925         reached top of bottom of screen
11926
11927 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * minibuffer.C: deactivate on loss of focus
11930
11931 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * vspace.[Ch] (operator!=): add operator.
11934
11935 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * BufferView_pimpl.C: refuse to open an inset when
11938         there's a selection.
11939
11940 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * BufferView_pimpl.C: allow to click on RHS of full row insets
11943
11944 2001-11-30  Juergen Vigna  <jug@sad.it>
11945
11946         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11947         insets for undo reasons.
11948
11949 2001-11-28  André Pönitz <poenitz@gmx.net>
11950
11951         * vspace.[Ch]: cosmetical changes
11952
11953 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * LyXAction.h:
11956         * LyXAction.C:
11957         * lyxfunc.h:
11958         * lyxfunc.C:
11959         * kbmap.h:
11960         * kbmap.C:
11961         * lyxrc.C:
11962         * kbsequence.h:
11963         * kbsequence.C: part re-write of old kb code
11964
11965         * Painter.C:
11966         * WorkArea.C: remove Lgb_bug_find_hack
11967
11968 2001-11-30  José Matos <jamatos@fep.up.pt>
11969
11970         * buffer.C (makeDocBookFile): add a comment to point a hack.
11971         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11972         Fixed a double write of labels.
11973
11974 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11975
11976         * LaTeX.C:
11977         * LaTeX.h Fixed bug in LaTeX class where it would not
11978         re-run latex if no depfiles were changed, but the .dvi was removed.
11979
11980 2001-11-28  André Pönitz <poenitz@gmx.net>
11981
11982         * all the files from the change on 2001/11/26:
11983         use lyx::layout_type instead of LyXTextClass::size_type
11984         use lyx::textclass_type instead of LyXTextClassList::size_type
11985
11986 2001-11-29  Juergen Vigna  <jug@sad.it>
11987
11988         * text.C: added support for paragraph::isFreeSpacing()
11989
11990         * buffer.C: same as above
11991
11992         * paragraph.h: inserted isFreeSpacing() function to enable
11993         FreeSpacing inside InsetERT.
11994
11995         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11996         of the paragraph's in the cut/copy buffer to 0!
11997
11998         * text2.C (removeRow): remove the assert as it can!
11999
12000         * lyxtext.h: added helper function firstRow returning firstrow and
12001         made firstrow private again.
12002
12003         * BufferView2.C (lockInset): don't relock if we're already locked!
12004
12005         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12006         the only paragraph.
12007         (removeRow): added Assert::(firstrow)
12008
12009         * debug.C: forgot to add INSETTEXT here.
12010
12011 2001-11-28  Juergen Vigna  <jug@sad.it>
12012
12013         * sp_spell.C (initialize): changed error text to more general
12014         spellchecker command use (not only ispell!)
12015
12016         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12017
12018         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12019
12020 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * vspace.C: initialise lyxgluelength on failure
12023
12024 2001-11-28  Allan Rae  <rae@lyx.org>
12025
12026         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12027         declaration & definition that looks like a function declaration.
12028
12029 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * BufferView2.C (copy):
12032         (copyEnvironment): do not clear the selection when doing a copy.
12033
12034         * text.C (paintFirstRow): compilation fix
12035
12036 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12037
12038         * tabular.C (Latex): correct line count when writing latex.
12039
12040 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * paragraph_pimpl.h:
12043         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12044           bug a bit
12045
12046 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * text.C:
12049         * LColor.h:
12050         * LColor.C: change vfillline->added_space
12051
12052         * text.C: add markers and text for added space
12053
12054         * vspace.C: fix comment
12055
12056 2001-11-28  André Pönitz <poenitz@gmx.net>
12057
12058         * paragraph.C: whitespace changes
12059         * all the other files from the change on 2001/11/26:
12060         change *::pos_type into lyx::pos_type
12061
12062 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12063
12064         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12065         language of the document when inserting error insets.
12066
12067 2001-11-26  André Pönitz <poenitz@gmx.net>
12068
12069         * BufferView_pimpl.[Ch]:
12070         *       CutAndPaste.C:
12071         * buffer.[Ch]:
12072         * lyxcursor.[Ch]:
12073         * lyxfind.C:
12074         * lyxfunc.C:
12075         * lyxrow.[Ch]:
12076         * paragraph.[Ch]:
12077         * paragraph_pimpl.[Ch]:
12078         * sp_spell.C:
12079         * text.C:
12080         * text2.C: reduce header dependencies, introduce type for positions
12081
12082 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * <various>: change to use Alert.h
12085
12086 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12087
12088         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12089         when encountering an unknown token.
12090         (readLyXformat2): Show an error message if there were unknown tokens.
12091
12092 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * BufferView2.C:
12095         * BufferView_pimpl.C:
12096         * buffer.C:
12097         * paragraph.h:
12098         * text.C:
12099         * text2.C: use par->isInset()
12100
12101 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * paragraph_pimpl.h:
12104         * paragraph_pimpl.C: cleanup
12105
12106 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * text2.C (removeRow):
12109         * text.C (setHeightOfRow): remove useless (and costly) call to
12110         getRow.
12111
12112 2001-11-20  Allan Rae  <rae@lyx.org>
12113
12114         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12115         Now need Inset*::checkInsertChar() to return true for appropriate
12116         cases so that the characters in the minibuffer will actually be
12117         inserted.
12118
12119 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * text.C: change the order of the includes.
12122         (workWidth): initialize it at once.
12123         (workWidth): make maxw unsigned
12124         (setHeightOfRow): remove unused variable (inset)
12125         (selectSelectedWord): remove unused variable (inset)
12126         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12127
12128 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12131         server is not running.
12132         (openConnection):
12133         (closeConnection): add debug info when server is disabled.
12134
12135         * ColorHandler.C (getGCForeground): send debug message to GUI
12136         channel.
12137
12138         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12139
12140         * kbmap.C (bind): modify because return conventions of
12141         kb_sequence::parse have changed.
12142
12143         * kbsequence.C (parse): only ignore spaces and not any stupid
12144         control character. This avoids tests like s[i] <= ' ', which are
12145         guaranteed to fail with 8bit characters and signed chars.
12146         Change return code to string::npos when there have been no error
12147         (0 was a bad idea when error is at first character)
12148
12149 2001-11-14  José Matos  <jamatos@fep.up.pt>
12150
12151         * buffer.h:
12152         * buffer.C (simpleDocBookOnePar): removed unused argument.
12153
12154 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12155
12156         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12157         insets which are part of a word. Paragraph::isLetter takes care of
12158         that now. Use Paragraph::isInset to identify insets.
12159         (selectSelectedWord): do not test for hyphenation break.
12160
12161         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12162         that protected spaces are considered as spaces.
12163
12164         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12165         Inset::isLetter.
12166
12167 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * lyxserver.h:
12170         * lyxserver.C: fix it. and small cleanup.
12171
12172 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * BufferView_pimpl.C: use inline helpers
12175
12176         * LaTeXFeatures.h:
12177         * LaTeXFeatures.C: fix typos
12178
12179         * Spacing.h:
12180         * Spacing.C: move spacing_string into class
12181
12182         * ToolbarDefaults.C: move stuff into namespace anon
12183
12184         * layout.h: update enum
12185
12186         * lyxfunc.C: use better debug
12187
12188         * minibuffer.h: fix typo
12189
12190         * debug.h:
12191         * debug.C:
12192         * WorkArea.C: add and use Debug::WORKAREA
12193
12194         * lyxtext.h:
12195         * text.C:
12196         * text2.C: code re-organisation, inline helpers
12197
12198 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12199
12200         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12201         std::vector.empty().
12202
12203 2001-11-09  Allan Rae  <rae@lyx.org>
12204
12205         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12206         '\n's after tables.  Tabular and ERT inset work now makes this no
12207         longer necessary.
12208
12209 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * minibuffer.h:
12212         * minibuffer.C: fix crash, improve drop-down completion
12213
12214 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * lyxserver.h:
12217         * lyxserver.C: invalidate fd's when doing endPipe()
12218
12219 2001-11-08  José Matos  <jamatos@fep.up.pt>
12220
12221         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12222         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12223
12224         * paragraph.h:
12225         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12226
12227 2001-11-07  José Matos  <jamatos@fep.up.pt>
12228
12229         * buffer.h:
12230         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12231         const qualifier.
12232
12233         * buffer.C (sgmlOpenTag):
12234         * buffer.C (sgmlCloseTag): removed debug info.
12235
12236         * buffer.h (sgmlOpenTag):
12237         * buffer.h (sgmlCloseTag): made public.
12238
12239 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12240
12241         * buffer.C (saveParamsAsDefaults):
12242         * lyx_cb.C (MenuLayoutSave): remove
12243
12244         * LyXAction.C (init):
12245         * commandtags.h:
12246         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12247
12248 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12249
12250         * buffer.C (setPaperStuff): removed from here...
12251
12252         * bufferparams.C (setPaperStuff): ... and moved there.
12253
12254 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12255
12256         * minibuffer.h:
12257         * minibuffer.C:
12258         * XFormsView.C: add support for drop-down completion
12259
12260 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12261
12262         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12263         commands.
12264
12265 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12268         disabled.
12269
12270 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12271
12272         * lyx_main.C: change ref to known bugs
12273
12274 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12275
12276         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12277         to work around older babel problems.
12278
12279 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12280
12281         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12282
12283 2001-10-24  Juergen Vigna  <jug@sad.it>
12284
12285         * tabular-old.C (ReadOld): below variable changes reflected.
12286
12287         * tabular.[Ch]: added ltType struct for longtable header/footer
12288         defines and changed all instances where they are used. Added
12289         future support for double top/bottom rows.
12290
12291 2001-10-24  José Matos  <jamatos@fep.up.pt>
12292
12293         * buffer.h (docbookHandleCaption):
12294         * buffer.C (docbookHandleCaption): removed unused function.
12295         (makeDocBookFile): moved docbook supported version to v4.1.
12296
12297 2001-10-24  José Matos  <jamatos@fep.up.pt>
12298
12299         * tabular.h:
12300         * tabular.C (docbookRow): new function to export docbook code of a row.
12301         (DocBook): now honors the longtable flags.
12302
12303 2001-10-23  José Matos  <jamatos@fep.up.pt>
12304
12305         * LaTeXFeatures.h:
12306         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12307         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12308
12309         * buffer.C (makeLinuxDocFile):
12310         (makeDocBookFile): reworked the preamble, more clean, and with
12311         support for lyx defined entities. Changed the document declaration
12312         to be more XML friendly.
12313
12314         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12315         if we need to output XML that should be done with a filter.
12316
12317 2001-10-22  Juergen Vigna  <jug@sad.it>
12318
12319         * sp_pspell.h (class PSpell): add alive function needed in the
12320         controller to see if the spellchecker could be started.
12321
12322 2001-10-22  Juergen Vigna  <jug@sad.it>
12323
12324         * buffer.C (insertStringAsLines): modify the font for inserting
12325         chars in certain conditions by calling checkInsertChar(font).
12326
12327 2001-10-19  Juergen Vigna  <jug@sad.it>
12328
12329         * text.C (workWidth): use getRow instead of wrong algorithm.
12330         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12331
12332 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12333
12334         * lyxserver.h:
12335         * lyxserver.C:
12336         * lyx_main.h:
12337         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12338
12339 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12340
12341         * text.C (workWidth): do not search for the exact row when
12342         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12343         optimization for big documents.
12344
12345 2001-10-18  Juergen Vigna  <jug@sad.it>
12346
12347         * text.C (workWidth): new function with added Inset * parameter.
12348
12349 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12350
12351         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12352
12353         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12354         change return type of getColumnNearX.
12355
12356
12357         * text.C (changeRegionCase): use uppercase/lowercase instead of
12358         toupper/tolower.
12359         (leftMargin):
12360         (rightMargin): simplify code by factoring out the uses of
12361         textclasslist.
12362         (labelFill):
12363         (numberOfHfills):
12364         (setHeightOfRow):
12365         (appendParagraph): use Paragraph::size_type
12366
12367 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * vspace.C (asLatexString): add a missing break
12370
12371 2001-10-15  Herbert Voss  <voss@perce.de>
12372
12373         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12374
12375 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12378         is not available.
12379
12380 2001-10-10  André Pönitz <poenitz@gmx.net>
12381
12382         * lyxfunc.C: removed greek_kb_flag.
12383
12384 2001-10-10  Herbert Voss  <voss@perce.de>
12385
12386         * lyx_main.C: delete global string help_lyxdir.
12387
12388 2001-10-09  Herbert Voss  <voss@perce.de>
12389
12390         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12391
12392         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12393
12394         * lyx_main.C: added global string help_lyxdir.
12395
12396         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12397
12398 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12399
12400         * lyxrc.C (set_font_norm_type): support iso8859-4
12401
12402 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12403
12404         * LaTeX.C (deplog): add another regex for MikTeX
12405
12406 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12407
12408         * lyxrc.C (set_font_norm_type): support iso8859-3
12409
12410 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12413
12414         * LaTeXFeatures.C: remove special case of french and index
12415
12416         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12417         before \begin{document}). This solves several incompatibilities.
12418
12419 2001-10-03  Garst Reese  <reese@isn.net>
12420
12421         * lyx_cb.C: change CheckTex error msg.
12422
12423 2001-10-03  José Matos  <jamatos@fep.up.pt>
12424
12425         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12426
12427 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * .cvsignore: update
12430
12431         * lyx_main.C (commandLineVersionInfo): use new style version info.
12432
12433         * buffer.C (writeFile):
12434         (makeLaTeXFile):
12435         (makeLinuxDocFile):
12436         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12437
12438         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12439
12440         * version.h: update to use stuff in version.C
12441
12442         * version.C.in: new file. Contains version information determined
12443         at compile time. This is a merging of version.h and
12444         version_info.h.in.
12445
12446 2001-10-03  Juergen Vigna  <jug@sad.it>
12447
12448         * BufferView_pimpl.C (update): don't change "dirty" status in
12449         updateInset call.
12450
12451 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12452
12453         * WorkArea.C (c-tor): re-position version string slightly.
12454
12455 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12458         revert to previous code.
12459
12460         WorkArea.[Ch]: (show, destroySplash): methods removed.
12461
12462         WorkArea.C: rework code so that it's an amalgam of the codes before and
12463         after the splash screen was moved to WorkArea.
12464
12465 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * lyxrc.C (read):
12468         * vspace.C (inPixels):
12469         (lyx_advance):
12470         * kbmap.C (bind):
12471         * buffer.C (insertStringAsLines):
12472         (asciiParagraph): fix types to be large enough
12473
12474         * lyxlex_pimpl.h: change member status from short to int
12475
12476         * layout.h: fix type of endlabeltype
12477
12478         * kbmap.C (bind):
12479         * kbsequence.C (parse): change return type to string::size_type
12480
12481         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12482         variable
12483
12484         * Bullet.C (bulletSize):
12485         (bulletEntry): do not use short ints as parameters
12486
12487         * BufferView2.C (insertLyXFile): change a char to an int.
12488
12489         * WorkArea.C (WorkArea): remove unneeded floats in computation
12490
12491 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12492
12493         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12494
12495         * paragraph.C (asString): Do not ignore newline/hfill chars when
12496         copying to the clipboard.
12497
12498 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12499
12500         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12501         after a multi-line inset.
12502
12503 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12504
12505         * paragraph.C (validate): Set NeedLyXFootnoteCode
12506
12507 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12510         and decrease-error to decrease.
12511
12512 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12515         it more readable (should be equivalent)
12516
12517 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12518
12519         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12520
12521 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12522
12523         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12524         of a cursor (row, etc.) after a character has been deleted
12525         (deleteEmptyParagraphMechanism): call the method above on _all_
12526         cursors held by the LyXText when a double space has been
12527         detected/deleted.
12528
12529 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12532         pixmap.
12533         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12534
12535         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12536         background. Use greyOut() and the new show() methods to toggle between
12537         the foreground and background. Add code to remove the splash after
12538         its initial showing.
12539
12540         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12541         (create_forms): no longer call Dialogs::showSplash.
12542
12543 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * .cvsignore: add version_info.h
12546
12547 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12548
12549         * version_info.h.in: new file
12550
12551         * Makefile.am: add version_info.h.in
12552
12553         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12554         version_info.h instead of VERSION_INFO
12555
12556 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12559         The ERT inset now returns string().
12560
12561 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * lyxtext.h, text.C (selectNextWord): renamed as
12564         selectNextWordToSpellcheck.
12565
12566         * text.C (selectNextWordToSpellcheck): Modified to not select
12567         words inside an ERT inset.
12568
12569 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * lyx_cb.C (MenuLayoutSave): change a bit the question
12572
12573         * sp_base.h: include <sys/types.h>
12574
12575 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12576
12577         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12578
12579 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12580
12581         * several files: fix typos in user-visible strings
12582
12583 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12584
12585         * text2.C (pasteSelection): do not set the selection, since it
12586         will be cleared later. Actually, the intent was to fix the way the
12587         selection was set, but I figured rmoving the code was just as good.
12588
12589 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12590
12591         * FontLoader.C (available): Check if font is available without
12592         loading the font.
12593
12594 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12595
12596         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12597
12598 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * lyxrc.[Ch]: added display_graphics variable and associated code.
12601
12602 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * bufferparams.C (hasClassDefaults): new method. Returns true if
12605         the buffer parameters correspond to known class defaults
12606
12607 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * XFormsView.C (show): set minimum size to the main window.
12610
12611 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * text2.C (copySelection):
12614         (cutSelection):
12615         * lyxfind.C (LyXReplace):
12616         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12617         LyXText::selectionAsString.
12618
12619         * paragraph.C (asString): add "label" argument to the second form
12620
12621         * text2.C (selectionAsString): add "label" argument and pass it to
12622         Paragraph::asString.
12623
12624 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625
12626         * lyx_main.C (commandLineHelp): remove version information
12627
12628 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12629
12630         * lyx_main.C: add -version commandline option
12631
12632 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12633
12634         * paragraph.h: make the optional constructor arg required instead.
12635         some modifications to other files because of this.
12636
12637         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12638
12639         * lyxserver.C (C_LyXComm_callback): make it static
12640
12641         * lyx_main.C (error_handler): make it static
12642
12643         * lyx_gui.C (LyX_XErrHandler): make it static
12644
12645         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12646
12647         * WorkArea.C: make the extern "C" methods static.
12648
12649         * Makefile.am (lyx_LDADD): simplify
12650
12651 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12654         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12655
12656         * LyXAction.C (init):
12657         * lyxfunc.C (dispatch): associated code removal.
12658
12659 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12660
12661         * lyxfont.h (isSymbolFont): shut off warning
12662
12663         * text.C (setHeightOfRow):
12664         (getVisibleRow): fix crash with empty paragraphs which have a
12665         bottom line
12666
12667 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12668
12669         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12670         code.
12671
12672 2001-09-04  José Matos  <jamatos@fep.up.pt>
12673         * buffer.C
12674         * buffer.h
12675         * tabular.C (docbook): rename docBook method to docbook.
12676
12677 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * Makefile.am: add dependencies to main.o.
12680
12681 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12682
12683         * FontLoader.C (available): Return false if !lyxrc.use_gui
12684
12685 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12686
12687         * FontInfo.C (query):
12688         * converter.C (view):
12689         * importer.C (Import):
12690         * exporter.C (Export): Can not -> cannot.
12691
12692 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * BufferView_pimpl.C: allow to create index inset even if
12695           string is empty
12696
12697 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12698
12699         * buffer.C (getLists): replace boost::tie code with an explicit pair
12700         as boost::tie can break some compilers.
12701
12702         * iterators.h: Added a std:: declaration to the return type of
12703         ParIterator::size.
12704
12705 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12708           case.
12709
12710 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12711
12712         * iterators.[Ch]: New files. Provide paragraph iterators.
12713
12714         * buffer.C (changeLanguage): Use paragraph iterators.
12715         (isMultiLingual): ditto
12716
12717         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12718
12719 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12720
12721         * FontLoader.C: Support for cmr font.
12722
12723 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12726         (available): New method.
12727
12728         * FontInfo.C (getFontname): Use scalable fonts even when
12729         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12730         found.
12731
12732 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * converter.C (Formats::view): reverted! Incorrect fix.
12735
12736 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         * converter.C (Formats::view): only output the -paper option
12739         if the dvi viewer is xdvi, thereby fixing bug #233429.
12740
12741 2001-08-23  Herbert Voss  <voss@perce>
12742
12743         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12744
12745 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12746
12747         * Spacing.h (Spacing): Set space to Default on in the default
12748         constructor.
12749
12750 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * vc-backend.h (RCS::versionString): add RCS to version
12753         (CVS::versionString): add CVS to version
12754
12755         * vc-backend.C (scanMaster): do not add CVS to version.
12756         (scanMaster): do not add RCS to version
12757
12758         * lyxvc.C (versionString): new method
12759
12760         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12761
12762 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * Spacing.C (set): initialize fval
12765
12766 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12767
12768         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12769         " or \.
12770
12771 2001-08-16  Juergen Vigna  <jug@sad.it>
12772
12773         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12774
12775 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12776
12777         * BufferView_pimpl.C:
12778         * figureForm.C:
12779         * lyxtext.h:
12780         * text2.C: setParagraph takes linespacing now
12781
12782 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * LyxAction.C: add internal LFUN_CITATION_INSERT
12785
12786         * LyXView.C: actually apply fix
12787
12788         * bufferlist.C: fix open non-existent file
12789
12790         * lyxfind.C: fix indentation
12791
12792         * lyxfunc.C: remove unneeded assert, fix typo
12793
12794 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * MenuBackend.C: use "Floatname List"
12797
12798 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12801         when converting LaTeX layout to insetERT.
12802         Generate a non-collapsed float when reading old float
12803
12804 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12807         ERT insets.
12808
12809 2001-08-13  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (fill): return 0 instead of 20 as this seems to be the more
12812         correct value.
12813
12814 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12815
12816         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12817         lyxrc.font_norm.
12818
12819 2001-08-13  Juergen Vigna  <jug@sad.it>
12820
12821         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12822         casesensitive off.
12823         (SearchBackward): comment out the unlocking of the inset_owner this
12824         should not be needed!
12825
12826 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * Many files: Remove inherit_language, and add latex_language
12829
12830         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12831         collapsible insets.
12832
12833 2001-08-10  Juergen Vigna  <jug@sad.it>
12834
12835         * text.C (prepareToPrint): fixed hfill-width in draw!
12836
12837         * BufferView2.C (selectLastWord): save the selection cursor as this
12838         now is cleared in the function LyXText::clearSelection!
12839
12840 2001-08-08  Juergen Vigna  <jug@sad.it>
12841
12842         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12843         BACKSPACE type functions.
12844
12845         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12846         is only cutted from the document but not put in the cut-buffer, where
12847         still the old stuff should be.
12848
12849         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12850
12851         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12852
12853         * tabular.C (SetWidthOfCell): fixed special case where the width
12854         was not updated!
12855         (LeftLine): handle '|' in align_special.
12856         (RightLine): ditto
12857         (LeftAlreadyDrawed): ditto
12858         (SetWidthOfCell): ditto
12859
12860 2001-08-07  Juergen Vigna  <jug@sad.it>
12861
12862         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12863
12864 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12867         * lyxlex.[hC]: ditto
12868
12869 2001-08-06  Juergen Vigna  <jug@sad.it>
12870
12871         * text.C (getVisibleRow): fix up row clearing a bit.
12872
12873 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * minibuffer.C: make sure the X server sees the changes in the input.
12876
12877 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * paragraph.C (getFont): split into...
12880         (getLabelFont): this
12881         (getLayoutFont): and this
12882         * paragraph_pimpl.C (realizeFont): calling this
12883
12884         * text2.C (getFont): split into...
12885         (getLayoutFont): this
12886         (getLabelFont): and this
12887         (realizeFont): all three calling this
12888
12889         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12890         files where used.
12891
12892 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12895
12896 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12897
12898         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12899         layouts from the Quote inset insertion.
12900
12901 2001-08-03  Juergen Vigna  <jug@sad.it>
12902
12903         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12904
12905         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12906         only if status not is already CHANGED_IN_DRAW (second level).
12907
12908         * text.C (draw): don't set the need_break_row when inside an
12909         InsetText LyXText.
12910
12911 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * buffer.C (parseSingleLyXformat2Token): handle more latex
12914         conversion cases.
12915
12916         * bufferview_funcs.[hC]: change function names to
12917         begin with small char, adjust other files.
12918
12919 2001-08-02  André Pönitz <poenitz@gmx.net>
12920
12921         * lyxfunc.C:
12922         BufferView_pimpl.C: remove broken special code for math-greek
12923
12924 2001-08-02  Juergen Vigna  <jug@sad.it>
12925
12926         * BufferView_pimpl.C (update): redone this function so that we
12927         update the text again if there was a CHANGE_IN_DRAW.
12928
12929         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12930         (drawFromTo): added a new internal bool which is used by draw() and
12931         redraw() function.
12932         (general): some cursor drawing problems fixed.
12933
12934 2001-08-01  Juergen Vigna  <jug@sad.it>
12935
12936         * lyxfind.C (LyXFind): fixed
12937         (SearchForward): ditto
12938         (SearchBackward): ditto
12939
12940         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12941         spurius drawing of the cursor in the main area.
12942
12943         * text2.C (status): small fix which could lead to a segfault!
12944         (clearSelection): remove unneeded BufferView param.
12945
12946 2001-08-01  André Pönitz <poenitz@gmx.net>
12947
12948         * lyxfunc.C: small change due to changed mathed interface
12949
12950 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12953
12954 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * lyxfunc.c: fail gracefully if file doesn't exist
12957
12958         * LyXSendto.C:
12959         * buffer.C:
12960         * lyxfunc.C:
12961         * BufferView_pimpl.C: IsDirWriteable() proto changed
12962
12963         * LyXView.C: fix updateWindowTitle() to store the last title
12964
12965 2001-07-31  Juergen Vigna  <jug@sad.it>
12966
12967         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12968         the font (wrong since using of Paragraph::highestFontInRange).
12969
12970         * paragraph.C (highestFontInRange): added a default_size parameter.
12971
12972         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12973         (setHeightOfRow): reformat
12974
12975 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12976
12977         * converter.[hC] + affected files: move to (inital-char)lowercase
12978         function names.
12979
12980         * ParagraphParameters.C (ParagraphParameters): remove commented code
12981
12982         * PainterBase.[Ch]: remove commented code
12983
12984         * LaTeXFeatures.h: add "bool floats" for float.sty
12985
12986         * LaTeXFeatures.C (LaTeXFeatures): init floats
12987         (require): handle float
12988         (getPackages): do it with floats
12989
12990 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12991
12992         * BufferView_pimpl.C (Dispatch): improve handling of
12993         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12994
12995         * commandtags.h: #include lyxfont.h here temporarily to avoid
12996         keybinding bug.
12997
12998         * bufferlist.h: include LString.h here.
12999
13000 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * text2.C (getStringToIndex): new method.
13003
13004 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13005
13006         * *: Reduced header file dependencies all over.
13007
13008 2001-07-30  Baruch Even  <baruch@lyx.org>
13009
13010         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13011
13012 2001-07-29  Baruch Even  <baruch@lyx.org>
13013
13014         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13015
13016 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * ParameterStruct.h (endif): add a default constructor to make
13019         sure that all variables is initialized.
13020
13021         * ParagraphParameters.C (ParagraphParameters): adjust
13022
13023 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13026         index; also, check that there is something to index, and that it
13027         does not span over several paragraphs.
13028         (doubleClick): use WHOLE_WORD_STRICT for double click.
13029
13030         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13031
13032         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13033         scheme.
13034
13035 2001-07-26  Baruch Even  <baruch@lyx.org>
13036
13037         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13038         an InsetFig figure, backwards compatible reading of old figure code.
13039
13040 2001-07-27  Juergen Vigna  <jug@sad.it>
13041
13042         * text2.C: font.realize function adaption.
13043
13044         * text.C (draw): add a warnings lyxerr text if needed.
13045
13046         * layout.C: font.realize function adaption.
13047
13048         * language.C: add inherit_language and implement it's handlings
13049
13050         * bufferview_funcs.C (StyleReset): remove language parameter from
13051         font creation (should be language_inherit now).
13052
13053         * bufferparams.C (writeFile): handle ignore_language.
13054
13055         * paragraph.C (getFontSettings): the language has to be resolved
13056         otherwise we have problems in LyXFont!
13057
13058         * lyxfont.C (lyxWriteChanges): added document_language parameter
13059         (update): removed unneeded language parameter
13060
13061         * paragraph.C (validate): fixed wrong output of color-package when
13062         using interface colors for certain fonts in certain environments,
13063         which should not seen as that on the final output.
13064
13065 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * BufferView_pimpl.C:
13068         * Thesaurus.h:
13069         * Thesaurus.C:
13070         * Makefile.am:
13071         * commandtags.h:
13072         * LyXAction.C: add thesaurus support
13073
13074         * lyxfind.h:
13075         * lyxfind.C: add "once" parameter, for thesaurus, to not
13076           move to the next match
13077
13078 2001-07-26  Juergen Vigna  <jug@sad.it>
13079
13080         * lyxfont.C (realize): honor ignore_language too!
13081         (resolved): ditto.
13082
13083         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13084
13085         * text.C (draw): one place more for ignore_language to not draw
13086         itself!
13087
13088 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13089
13090         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13091
13092 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13095         the minipage conversion problem.
13096
13097 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13098
13099         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13100         insert an inset.
13101
13102 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * BufferView.h: don't forward declare WorkArea
13105
13106         * BufferView.C: don't include WorkArea.h
13107
13108 2001-07-25  André Pönitz <poenitz@gmx.net>
13109
13110         * commandtags.h:
13111         * LyXAction.C:
13112         * lyxfunc.C:  new LFUN 'math-space'
13113
13114         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13115
13116 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * text2.C (toggleInset): call open/close
13119
13120 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * lyxfunc.C (dispatch): add debug for the disabled case
13123
13124         * font.C (buttonText): make similar to rectText
13125
13126         * buffer.C (readInset): comment out parsing of insetlist and
13127         insttheorem
13128
13129         * PainterBase.C (rectText): small correction
13130
13131         * BufferView_pimpl.C: comment out insettheorem and insetlist
13132         * LyXAction.C: ditto
13133         * commandtags.h: ditto
13134
13135 2001-07-24  Juergen Vigna  <jug@sad.it>
13136
13137         * text.C (draw): honor the ignore_language.
13138
13139         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13140
13141 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13142
13143         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13144         char inset.
13145
13146 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13147
13148         * lyxtext.h: remove unused (and unimplemented) methods
13149
13150 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13151
13152         * text.C (getVisibleRow): honor background color
13153
13154         * PainterBase.h:
13155         * Painter.h: remove default color argument for fillRectangle
13156
13157         * text.C (backgroundColor): new method
13158
13159 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * text.C (getVisibleRow): adjust
13162
13163         * font.[Ch] (rectText): new method, metrics
13164         (buttonText): new method, metrics
13165
13166         * PainterBase.[hC]: make rectText and buttonText always draw and take
13167         fewer paramteres.
13168
13169 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13170
13171         * ToolbarDefaults.C (read):
13172         * MenuBackend.C (read): allow escaping in all strings
13173
13174         * BufferView_pimpl.C (insertAndEditInset): new method.
13175         (Dispatch): use insertAndEditInset whenever appropriate.
13176
13177         * BufferView_pimpl.C (insertNote): removed
13178
13179         * BufferView_pimpl.C (smartQuote): new method, moved from
13180         BufferView; if an insetquote cannot be inserted, insert a '"'
13181         character instead.
13182
13183         * BufferView2.C: remove insertCorrectQuote();
13184
13185         * lyxfunc.C (getStatus): Add support for all remaingin
13186         inset-insert lfuns.
13187
13188         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13189
13190         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13191         command (necessary to pass " as parameter of self-insert.
13192
13193         * text.C (selectWordWhenUnderCursor):
13194         (selectWord): add word_location parameter
13195         (selectWordWhenUnderCursor): same + remove special code for word
13196         boundary.
13197         (selectNextWord): use kind() to guess type of insetspecialchar,
13198         not latex().
13199
13200         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13201         (insertErtContents): create ert insets as collapsed.
13202         (readInset): better compatibility code for Info inset.
13203
13204 2001-07-20  Juergen Vigna  <jug@sad.it>
13205
13206         * lyxfunc.C (dispatch): use always LyXFind now!
13207
13208         * text2.C (init): add a reinit flag so that the LyXText can be
13209         reinited instead of deleted and reallocated (used in InsetText).
13210
13211         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13212
13213         * text.C: ditto
13214
13215         * text2.C: ditto
13216
13217 2001-07-18  Juergen Vigna  <jug@sad.it>
13218
13219         * text.C (selectNextWord): handle insets inside inset by calling
13220         always the bv->text functions so that we can go up the_locking_inset!
13221
13222         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13223         in strange locations when inside an inset!
13224
13225         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13226         handling to include insets.
13227
13228         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13229
13230 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13231
13232         * LyXAction.C (init):
13233         * commandtags.h:
13234         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13235         LIGATURE_BREAK, since the name is so stupid.
13236
13237 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13238
13239         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13240         InsetInfos.
13241
13242         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13243
13244         * sp_form.[Ch]: remove.
13245
13246         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13247
13248         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13249         InsetInfo.
13250
13251         * src/buffer.C (readInset): ditto.
13252
13253 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13254
13255         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13256         menuSeparator(), endOfSentenceDot(), ldots() and
13257         hyphenationPoint(), which are therefore removed.
13258         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13259
13260         * LyXAction.C (init):
13261         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13262
13263         * paragraph.C (getWord): removed.
13264
13265         * BufferView_pimpl.C (Dispatch): use last word or selection for
13266         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13267
13268         * lyx_main.C (queryUserLyXDir): do not ask before creating
13269         user_dir, except if it has been named explicitely.
13270
13271 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13272
13273         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13274         a document of zero size.
13275
13276 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13277
13278         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13279         approriately in the c-tor and in require().
13280         (getPackages): output the appropriate LaTeX for natbib support.
13281
13282         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13283         variables "use_natbib" and "use_numerical_citations" when reading the
13284         LyX file.
13285         (readInset): read the various natbib cite commands.
13286         (validate): white-space change.
13287
13288         * bufferparams.[Ch]: new variables "bool use_natbib" and
13289         "bool use_numerical_citations".
13290         (writeFile): output them in the LyX file.
13291
13292 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13293
13294         * lyxfunc.C (getStatus): add support for all the inset insertion
13295         commands.
13296
13297         * text2.C (insertInset):
13298         * paragraph.C (insetAllowed):
13299         * BufferView_pimpl.C (insertInset): update to take in account the
13300         renaming of insertInsetAllowed
13301
13302         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13303
13304         * text2.C (getInset): new method. returns inset at cursor position.
13305
13306         * BufferView_pimpl.C (Dispatch): changes because of this.
13307
13308         * LyXAction.C (init): rename open-stuff to inset-toggle.
13309
13310         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13311
13312         * text2.C (toggleInset): renamed from openStuff; use
13313         Inset::open().
13314
13315 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13316
13317         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13318
13319         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13320
13321 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13322
13323         * buffer.C (readLyXformat2): Add filename to the error dialog
13324
13325 2001-07-18  Juergen Vigna  <jug@sad.it>
13326
13327         * tabular.C (GetCellNumber): put an assert here instead of the check!
13328
13329 2001-07-17  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (toggleSelection): adapted too.
13332
13333         * text.C (selectNextWord): adapted for use with insets.
13334         (selectSelectedWord): ditto
13335
13336 2001-07-17  Juergen Vigna  <jug@sad.it>
13337
13338         * sp_spell.C (PSpell): fix initialitation order.
13339
13340 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13341
13342         * paragraph.C: spacing
13343
13344 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13345
13346         * sp_spell.C: repair language selection for pspell
13347
13348 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * lyxfunc.h: change more methods to begin with lower char.
13351
13352 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13355         for unknown layouts.
13356
13357 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13358
13359         * buffer.C (readLyXformat2): Generate an error dialog if there are
13360         unknown layouts.
13361
13362 2001-07-16  Juergen Vigna  <jug@sad.it>
13363
13364         * sp_spell.C: always compile ISpell part.
13365
13366         * lyxrc.C: added use_pspell entry and it's handling.
13367
13368 2001-07-13  Juergen Vigna  <jug@sad.it>
13369
13370         * sp_spell.C: removed double includes.
13371
13372 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         Consistent use of Lsstream.h:
13375         * Lsstream.h: added using std::stringstream for consistencies sake.
13376
13377         * buffer.C: removed using std::stringstream
13378
13379         * lyxfont.C (stateText):
13380         * paragraph.C (asString):
13381         * text.C (selectNextWord, selectSelectedWord):
13382         * text2.C (setCounter):
13383         * vspace.C (asString, asLatexString):
13384         std::ostringstream -> ostringstream.
13385
13386 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13387
13388         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13389         * commandtags.h: add LFUN_HELP_ABOUTLYX
13390         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13391
13392 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13393
13394         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13395         cursorToggle()
13396         * lyx_gui_misc.C: remove spellchecker
13397         * lyxfunc.C: showSpellchecker
13398         * sp_base.h: added
13399         * sp_ispell.h: added
13400         * sp_pspell.h: added
13401         * sp_spell.C: added
13402         * sp_form.[Ch]: removed
13403         * spellchecker.[Ch]: removed
13404
13405 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13406
13407         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13408         is set.
13409         (simpleTeXSpecialChars): Simply print the input character without
13410         any special translation if pass_thru is set.
13411
13412         * layout.h: Added bool pass_thru to layout class for being able to
13413         implement pass through of a paragraph for Literate Programming.
13414
13415         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13416         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13417         * layout.C (Read): add "passthru" to list of layout tags and add
13418         code to set the pass_thru boolean when it is read.
13419
13420 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * trans_decl.h: remove allowed from KmodInfo
13423
13424         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13425         remove allowed code
13426         (Load): adjust
13427
13428         * paragraph_pimpl.C (erase): use boost::prior
13429
13430         * Painter.C (text): use data() instead of c_str() when length is
13431         also provided.
13432         * WorkArea.C (putClipboard): ditto
13433         * font.h (width): ditto
13434
13435         * BufferView2.C: use it-> instead of (*it). for iterators
13436         * texrow.C: ditto
13437         * paragraph_pimpl.C: ditto
13438         * paragraph.C: ditto
13439         * minibuffer.C: ditto
13440         * language.C: ditto
13441         * kbmap.C: ditto
13442         * encoding.C: ditto
13443         * counters.C: ditto
13444         * converter.C: ditto
13445         * chset.C: ditto
13446         * Variables.C: ditto
13447         * TextCache.C: ditto
13448         * MenuBackend.C: ditto
13449         * LyXAction.C: ditto
13450         * LColor.C: ditto
13451         * FloatList.C: ditto
13452         * DepTable.C: ditto
13453         * ColorHandler.C (LyXColorHandler): ditto
13454
13455 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13458
13459         * text2.C (openStuff): reintroduce this method (which had been
13460         nuked in NEW_INSETS frenzy).
13461
13462         * lyxfunc.C (Dispatch): when an action has not been handled, use
13463         its name in the error message, not its number.
13464
13465         * paragraph.C (inInset): change method name to begin with lowercase.
13466
13467         * undo_funcs.C:
13468         * text2.C: updates because of this.
13469
13470 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * ToolbarDefaults.C (add): add spaces in error message
13473
13474 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13477         (readLyXformat2): rename return_par to first_par, use lyxlex's
13478         pushToken and remove the manual push handling.
13479         (parseSingleLyXformat2Token): add another ert comp. variable:
13480         in_tabular, rename return_par to first_par. handle newlines better
13481
13482 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13483
13484         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13485
13486 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487
13488         * text2.C (getParFromID): removed
13489
13490         * buffer.C (getParFromID): new method moved form lyxtext.
13491         * BufferView2.C (insertErrors): adjust
13492         (setCursorFromRow): adjust
13493         * BufferView_pimpl.C (restorePosition): adjust
13494         * lyxfunc.C (Dispatch): adjust
13495         * undo_funcs.C (textUndo): adjust
13496         (textRedo): adjust
13497         (textHandleUndo): adjust
13498         (textHandleUndo): adjust
13499
13500 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * buffer.C: up' the LYX_FORMAT
13503
13504         * lyxfont.h: turn NO_LATEX on as default
13505
13506         * buffer.C (insertErtContents): new methods of tex style compability.
13507         (parseSingleLyXformat2Token): use it several places.
13508         * tabular.C (OldFormatRead): and here
13509
13510 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * text2.C: remove some commented code.
13513         reindent file.
13514
13515         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13516         * trans.C: changes because of the above.
13517
13518 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13519
13520         * text2.C (setCounter): Fix counters bug with bibliography layout.
13521
13522 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13525         own member functions
13526         (simpleTeXSpecialChars): ditto
13527
13528 2001-07-06  Juergen Vigna  <jug@sad.it>
13529
13530         * a lot of files: changed the access to LyXText::status and the
13531         call of undo-functions.
13532
13533         * undo.[Ch]: added a inset_id to the undo informations.
13534
13535         * undo_funcs.[Ch]: added and moved here all undo functions.
13536
13537         * lyxtext.h: give the status enum a weight, made status_ a private
13538         variable and made accessor functions for it, removed the whole bunch
13539         of undo-functions as they are now in their own file, make some
13540         functions publically available. Added function ownerParagraph with
13541         int parameter.
13542
13543         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13544         made InInset() a const function, added getParFromID() function.
13545
13546         * buffer.[Ch]: added const version for inset_iterator functions,
13547         added getInsetFromID() function.
13548
13549         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13550         changed undo functions for new version.
13551
13552 2001-07-05  Juergen Vigna  <jug@sad.it>
13553
13554         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13555         unknow mechanism does not call the proper constructor but only this
13556         one also if I request the other!?
13557
13558 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13561
13562         * text2.C (LyXText): use initialization lists.
13563
13564         * lyxtext.h (Selection): initialize set_ and mark_
13565         (init): remove method
13566
13567 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13570
13571 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * screen.[Ch]: change method names to begin with lowercase
13574
13575         * BufferView_pimpl.C (updateScrollbar): simplify further and
13576         hopefully make it a bit faster.
13577
13578 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13581         calling directly xforms functions.
13582
13583         * Painter.C (Painter):
13584         * lyx_cb.C (MenuWrite):
13585         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13586         fl_display.
13587
13588         * lyx_gui.C: remove bogus guiruntime extern declaration.
13589
13590 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13593         in NEW_INSETS
13594         (redoDrawingOfParagraph): ditto
13595         (redoParagraphs): ditto
13596         (cutSelection): don't create a object for CutAndPaste use the
13597         static method directly
13598         (pasteSelection): ditto
13599
13600         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13601         LyXview (+ rename)
13602
13603 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * modifications to some other files because of this.
13606
13607         * Makefile.am (lyx_SOURCES): add XFormsView
13608
13609         * XFormsView.[Ch]: new files
13610
13611         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13612         the main window. Move the gui dependent stuff to XFormsView
13613
13614 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * tabular.C (GetCellInset): update cur_cell also in the row/col
13617         version of this function.
13618
13619         * lyxfunc.C: no need to include figure_form.h here.
13620
13621         * FontLoader.h:
13622         * lyxfunc.h:
13623         * lyxscreen.h:
13624         * text2.C:
13625         * lyxvc.C: no need to include forms.h here.
13626
13627 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13630
13631         * lyxfunc.C (Dispatch):
13632         * Spacing.C (set):
13633         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13634         constructor argument.
13635
13636 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13637
13638         * paragraph.C (Paragraph): dont't clear, and just set layout.
13639         (makeSameLayout): use params's copy contructor.
13640
13641         * ParagraphParameters.[Ch] (makeSame): delete method
13642
13643 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * Variables.[Ch]: fix indentation, rename set to isSet
13646
13647 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * lyxfunc.C (Dispatch): fix typo
13650
13651 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13654         upper_bound.
13655
13656         * bufferlist.C: include assert.h for emergencyWrite().
13657
13658 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13661           give up at last (bug #425202) !
13662
13663 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13664
13665         * lyx_gui_misc.C:
13666         * sp_form.h:
13667         * sp_form.C:
13668         * spellchecker.h:
13669         * spellchecker.C: strip spellchecker options and bring up
13670           preferences tab instead
13671
13672 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13673
13674         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13675         the istringstream constructor
13676
13677 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * paragraph.C (getLayout): fix return value
13680
13681         * paragraph.h: do not declare getLayout as inline.
13682
13683         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13684
13685 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13686
13687         * lyxcursor.h (operator<): new func
13688         (operator>): new func
13689         (operator>=): new func
13690         (operator<=): new func
13691
13692         * text.C (changeCase): use selection.start and selection.end
13693         (changeRegionCase): require from to be <= to. Require par to be a
13694         valid paragraph.
13695
13696         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13697
13698 2001-06-27  Juergen Vigna  <jug@sad.it>
13699
13700         * text.C (cursorLeftOneWord): changed to return the cursor and added
13701         overlay with BufferView * parameter which calls this one.
13702         (getWord): added
13703         (selectWord): use new getWord function.
13704         (changeCase): renamed from changeWordCase as and extended to work
13705         also on selections.
13706
13707         * lyxtext.h: added enum word_location
13708
13709         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13710         changeCase as this operates now also on selections.
13711
13712 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13713
13714         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13715
13716         * many files: send debug output to Debug::INFO instead of
13717         Debug::ANY.
13718
13719         * converter.C (View):
13720         (Convert):
13721         (Move): send debug output to Debug::FILES instead of console.
13722
13723 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13724
13725         * lyxfunc.C (getStatus): use func_status
13726
13727         * func_status.h: new header, describing the results of
13728         LyXFunc::getStatus;
13729
13730         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13731         LFUN_MATH_HALIGN.
13732
13733 2001-06-25  The LyX Project  <jug@sad.it>
13734
13735         * buffer.C (sgmlOpenTag):
13736         (sgmlCloseTag):
13737         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13738
13739 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * text2.C: remove some dead code
13742
13743         * tabular.C (GetCellInset): store the last cell checked (gotten)
13744
13745         * tabular.h: add the helper for the speedup
13746
13747         * lyxtext.h: remove some dead code
13748
13749 2001-06-26  The LyX Project  <Asger>
13750
13751         * paragraph.C: Change export to LaTeX of alignment to
13752         \begin{center} and family for better roundtrip work with reLyX.
13753
13754         * Tune the math drawing a bit.
13755
13756 2001-06-25  The LyX Project  <Asger>
13757
13758         * LColor.C (LColor): New color for math background. New color
13759         for buttons.
13760
13761 2001-06-25  The LyX Project  <jug@sad.it>
13762
13763         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13764
13765         * lyxfunc.C (Open):
13766         * bufferlist.C (newFile): do not restrict to files ending with
13767         .lyx
13768
13769         * BufferView_pimpl.C (MenuInsertLyXFile):
13770
13771 2001-06-24  The LyX Project  <jug@sad.it>
13772
13773         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13774         of compare_no_case
13775
13776 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * lyxtext.h: rename most methods to begin with a small char.
13779         Lots of changes because of this.
13780
13781         * paragraph.C (Paragraph): do not call fitToSize
13782         (erase): call Pimpl::erase
13783         (insertChar): call Pimpl::insertChar
13784         (insertInset): call Pipl::insertInset
13785         (breakParagraph): do not call fitToSize
13786         (breakParagraphConservative): do not call fitToSize
13787         (fitToSize): remove method
13788
13789         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13790
13791 2001-06-24  The LyX Project  <Asger>
13792
13793         * Fix Qt compilation^2
13794
13795 2001-06-24  The LyX Project  <jug@sad.it>
13796
13797         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13798         depthHook(getDepth()-1).
13799
13800         * paragraph.h:
13801         * ParagraphParameters.h:
13802         * ParameterStruct.h: change type of depth to unsigned int ==
13803         depth_type. Many adaptations to other files before of that.
13804
13805 2001-06-24  The LyX Project  <Asger>
13806
13807         * Fix Qt compilation.
13808
13809 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * paragraph.h: renamed several methods to begin with small letter.
13812         several changes to many parts of the code because of this.
13813
13814 2001-06-23  The LyX Project  <jug@sad.it>
13815
13816         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13817         rewritten to discard all double spaces when KeepEmpty is off
13818         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13819         to only handle newlines but not fiddle with spaces and friends.
13820
13821         * lyxfunc.C (MenuNew): when doing 'new from template', use
13822         template_path as default directory
13823
13824 2001-06-23  The LyX Project  <Asger>
13825
13826         * Clean-up of header file includes all over
13827         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13828
13829 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * paragraph.h: renamed from lyxparagraph.h
13832
13833 2001-06-23  Asger  <lyx@violet.home.sad.it>
13834
13835         * Buffer.h: Removed Buffer::resize
13836         * BufferList.h: Removed BufferList::resize
13837         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13838         the document lazily when we change the width, or the font settings.
13839
13840 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13841
13842         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13843
13844 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * buffer.h: remove out of date comment
13847
13848 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13849
13850         * lyxscreen.h:
13851         * screen.C: fix "theoretical" GC leak
13852
13853 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * LaTeX.C (scanAuxFile):
13856         (deplog): remove trailing \r when reading stream (useful under
13857         win32)
13858
13859 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13860
13861         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13862         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13863         and BufferView::theLockingInset(Inset*), so should use them and not
13864         access bv_->text->the_locking_inset directly.
13865
13866         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13867
13868 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * Makefile.am:
13871         * tex-defs.h: remove old unused file
13872
13873 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * BufferView_pimpl.C: fix typo, remove minibuffer message
13876           when buffer has loaded
13877
13878 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * lyxfunc.C (Dispatch): use stringstream
13881         (MenuNew): use stringstream
13882         (Open): use stringstream
13883
13884         * importer.C (Import): use stringstream
13885
13886         * bufferview_funcs.C (CurrentState): use stringstream
13887
13888         * LaTeX.C (run): use stringstream
13889
13890         * BufferView_pimpl.C (savePosition): use stringstream
13891         (restorePosition): use stringstream
13892         (MenuInsertLyXFile): use stringstream
13893
13894 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13895
13896         * BufferView.C:
13897         * Bullet.C:
13898         * ColorHandler.C:
13899         * FontInfo.C:
13900         * FontLoader.C:
13901         * LColor.C:
13902         * LaTeXFeatures.C:
13903         * Painter.C:
13904         * gettext.C:
13905         * lyx_gui_misc.C:
13906         * lyxserver.C:
13907         * vspace.C: removed // -*- C++ -*- as first line.
13908
13909         * lyxfind.h:
13910         * version.h: added // -*- C++ -*- as first line.
13911
13912 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13915
13916         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13917         of string
13918
13919 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13922         of floats.
13923
13924 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * gettext.C: include LString.h even when --disable-nls is on.
13927
13928 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13929
13930         * converter.h (Get): changed argument type from int to
13931         FormatList::size_type to avoid unnecessary conversion.
13932
13933         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13934         before using it.
13935
13936 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13937
13938         * gettext.h: include LString.h even when --disable-nls is on.
13939
13940 2001-06-07  Juergen Vigna  <jug@sad.it>
13941
13942         * text.C (BreakAgain): subst spaces with tabs.
13943
13944         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13945         (resizeInsetsLyXText): set force on resizeLyXText.
13946
13947 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * gettext.h (gettext_init):
13950         (locale_init): use a real definition instead of a macro
13951
13952 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * Bufferview_pimpl.C:
13955         * LColor.h:
13956         * LColor.C: further lcolor tidies
13957
13958 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * BufferView_pimpl.C (updateScrollbar): simplify.
13961
13962         * BufferView2.C: don't include insets/insetinfo.h, change
13963         prototype for insertInset and call the Pimpl version. let
13964         updateInset call Pimpl version.
13965
13966         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13967         gotoInset to BufferView::Pimpl
13968
13969 2001-06-01  Juergen Vigna  <jug@sad.it>
13970
13971         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13972         inside a LockingInset (is the update needed at all?).
13973
13974 2001-05-31  Juergen Vigna  <jug@sad.it>
13975
13976         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13977         here not the old one otherwise how should we compare it afterwards
13978         if it's the same!
13979
13980 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * lyxfont.C:
13983         * tabular.C:
13984         * tabular-old.C:
13985         * FontInfo.C: bring C functions into global namespace when
13986         necessary
13987
13988 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * LString.h: make sure config.h has been loaded before LString.h.
13991
13992         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13993         (one for each char read by EatLine!).
13994
13995         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13996         variables.
13997
13998 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13999
14000         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14001         to the same as the par we break from
14002
14003 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14004
14005         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14006
14007         * MenuBackend.C (expand): also create menu entries for wide
14008         versions of the floats.
14009
14010         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14011
14012         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14013
14014         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14015         frontends/Makefile.am
14016
14017         * text2.C: adjust
14018         * text.C: adjust
14019
14020
14021         * tabular.C (getTokenValue): add std::
14022
14023         * tabular-old.C (getTokenValue): add std::
14024         (getTokenValue): ditto
14025         (getTokenValue): ditto
14026
14027         * screen.C (ToggleSelection): adjust
14028
14029         * lyxtext.h: put selection cursors inside a Selection struct.
14030
14031         * lyxfunc.C (moveCursorUpdate): adjust
14032
14033         * lyxfont.C (latexWriteStartChanges): add std::
14034
14035         * lyxfind.C: adjust
14036
14037         * font.h: delete with(char const *, LyXFont const &)
14038
14039         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14040
14041         * FontInfo.C (getFontname): add std::
14042
14043         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14044         (workAreaButtonPress): adjust
14045         (tripleClick): adjust
14046         (update): adjust
14047         (moveCursorUpdate): adjust
14048         (Dispatch): adjust
14049
14050         * BufferView2.C (gotoInset): adjust
14051
14052 2001-05-30  Juergen Vigna  <jug@sad.it>
14053
14054         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14055         to check pspell I add this as default as I now have new pspell
14056         libraries and they seem to use this.
14057
14058 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * text2.C (CutSelection): make the cursor valid before the call to
14061         ClearSelection.
14062
14063 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14066         relied on 0 terminated strings and other horrors. Bug found due to
14067         the new assert in lyxstring!
14068
14069         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14070         KP_ keys.
14071
14072 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14075         to latinkeys.bind.
14076
14077         * lyxfunc.C (processKeySym): change method of getting to the
14078         self-insert char.
14079
14080         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14081         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14082         * BufferView_pimpl.[Ch]: here as private methods.
14083
14084 2001-05-28  Juergen Vigna  <jug@sad.it>
14085
14086         * text.C (SetHeightOfRow): added the update() call again as it is
14087         needed to initialize inset dimensions!
14088
14089 2001-05-16  Juergen Vigna  <jug@sad.it>
14090
14091         * text2.C (SetCharFont): Add new function with BufferView * and
14092         bool toggleall parameters for setting insets internal fonts.
14093         (SetFont): Freeze the undo as we may change fonts in Insets and
14094         all this change should be inside only one Undo!
14095
14096         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14097         setting font's in insets as for them we have the SetFont function!
14098
14099 2001-05-15  Juergen Vigna  <jug@sad.it>
14100
14101         * text2.C (ClearSelection): to be sure we REALLY don't have any
14102         selection anymore!
14103
14104         * tabular.C (TeXCellPreamble): fixed the left border problem for
14105         multicolumn cells.
14106
14107 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14110         dependancy file
14111
14112 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14115         LFUN_BREAKPARAGRAPH.
14116
14117         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14118         help test to "internal only", similar for LFUN_INSERT_URL
14119
14120         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14121         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14122         auto_region_delete and deadkeys.
14123
14124 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * LColor.h:
14127         * LColor.C: remove some dead entries, tidy a little
14128
14129 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14132         commented code.
14133         (Dispatch): implement LFUN_ESCAPE
14134
14135         * commandtags.h: add LFUN_ESCAPE
14136
14137         * LyXAction.C (init): add entry for LFUN_ESCAPE
14138
14139         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14140         Remove commented code.
14141         (insertNote): moved here
14142         (open_new_inset): moved here
14143
14144         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14145         BufferView_pimpl
14146
14147 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * kbmap.C (findbinding): clean it up and make it work correctly.
14150
14151         * lyx_main.C (init): do not pass argc and argv as parameters
14152
14153 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14154
14155         * buffer.C: fix path for OS/2 & Win32
14156
14157         * lyx_gui.C:
14158         * lyx_main:
14159         * lyx_main.C: Added os:: class.
14160
14161         * os2_defines.h: update
14162
14163 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14166         better by trying again with reduced state.
14167
14168 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * lyxrc.C (read): print error about invalid key sequence only when
14171         debugging (because not all latinX keysyms are known to some X
14172         servers)
14173
14174         * kbsequence.C (getiso): add a few std:: qualifiers
14175         (getiso): comment out extra return statement.
14176
14177 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14180         handling.
14181         (Dispatch): enhance the accent inset a bit. (not perfect)
14182
14183 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14186
14187 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14188
14189         * bufferlist.C (emergencyWrite): fix assert() call
14190
14191 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14192
14193         * text.C (InsertChar): Added trivial patch to only send the "you
14194         can not do multiple spaces this way" message once during a
14195         session.
14196
14197 2001-05-08  Baruch Even  <baruch@lyx.org>
14198
14199         * Makefile.am: Changed order of libraries to get LyX to link properly
14200         with the gnome frontend.
14201
14202 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14203
14204         * LaTeXFeatures.h: add a std:: qualifier
14205
14206 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * paragraph.C (String): use stringstream
14209
14210 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14211
14212         * paragraph.C (writeFile): remove footflag arg
14213
14214         * buffer.C (makeLaTeXFile): use stringstream
14215         (latexParagraphs): remove footnot gurba
14216
14217         * LaTeXFeatures.C (getPackages): use stringstream
14218         (getMacros): likewise
14219         (getTClassPreamble): likewise
14220         (getFloatDefinitions): new method
14221
14222         * paragraph.C (writeFile): reindent
14223         (Erase): reindent
14224
14225         * WorkArea.h: revert the xpos + etc changes.
14226
14227         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14228
14229         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14230
14231         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14232         (pasteSelection): likewise
14233         * text2.C (CreateUndo): likewise
14234
14235 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * minibuffer.C (peek_event): temporarily reduce the functionality
14238         of the minibuffer (to allow args on lfuns)
14239
14240         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14241         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14242
14243         * buffer.C (readInset): add compability reading of old float
14244         lists, add reading of new style float list.
14245         (readInset): avoid reevaluation of inscmd.getCmdName()
14246         (getLists): reindent
14247
14248         * MenuBackend.C (MenuItem): implement parsing of
14249         md_floatlistinsert and md_floatinsert.
14250         (expand::LastFiles): move initalizaton of iterators out of loop,
14251         avoid reevaluation.
14252         (expand::Documents): introduce typdedef vector<string> Strings,
14253         and use it.
14254         (expand::ExportFormats): introduce typedef vector<Format const *>
14255         Formats, and use it.
14256         (expand): implement FloatListInsert and FloatInsert.
14257
14258         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14259         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14260         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14261
14262         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14263         handling.
14264         (Dispatch::LFUN_FLOAT_LIST): implement
14265
14266 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14267
14268         * LaTeX.C (run): Fix problem with --export code.
14269
14270 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * BufferView.[Ch] (workarea): removed.
14273         (getClipboard) new method; wrapper for workarea()->getClipboard()
14274
14275         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14276         bug.
14277
14278         * WorkArea.h (width, height, xpos, ypos): These methods all
14279         returned the dimensions of the work_area sub-area of WorkArea,
14280         resulting in a position error if the WorkArea were resized. Now
14281         return the dimensions of the entire WorkArea.
14282
14283         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14284
14285 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * LaTeX.C (deplog): correct the syntax of regex reg1
14288
14289 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * undo.C: remove !NEW_INSETS cruft
14292
14293 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * text2.C: remove !NEW_INSETS cruft
14296
14297         * text.C: remove !NEW_INSETS cruft
14298
14299         * tabular.C: remove !NEW_INSETS cruft
14300
14301         * spellchecker.C: remove !NEW_INSETS cruft
14302
14303         * lyxtext.h: remove !NEW_INSETS cruft
14304
14305         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14306
14307         * lyxfunc.C: remove !NEW_INSETS cruft
14308
14309         * lyxfind.C: remove !NEW_INSETS cruft
14310
14311         * lyx_cb.C: remove !NEW_INSETS cruft
14312
14313         * figureForm.C: remove  !NEW_INSETS cruft
14314
14315         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14316
14317         * buffer.[Ch]: remove !NEW_INSETS cruft
14318
14319         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14320
14321         * CutAndPaste.C: remove !NEW_INSETS cruft
14322
14323         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14324
14325         * BufferView2.C: remove !NEW_INSETS cruft
14326
14327         * BufferView.h: remove !NEW_INSETS cruft
14328
14329 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * Lsstream.h: include LString.h before the sstream headers to
14332         fix problem with gcc 2.95.3 and lyxstring
14333
14334 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14335
14336         * lyx_main.C: add using directives when needed for C functions
14337         declared in std:: namespace.
14338
14339 2001-04-27  Juergen Vigna  <jug@sad.it>
14340
14341         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14342         (SetHeightOfRow): comment out the update call should not be needed!
14343
14344 2001-04-13  Juergen Vigna  <jug@sad.it>
14345
14346         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14347         (LyXTabular): tried to minimize operator= operations (and realized
14348         hopfully Lars wish).
14349
14350 2001-04-27  Juergen Vigna  <jug@sad.it>
14351
14352         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14353
14354 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14357
14358         * buffer.C (readInset): hack to make listof algorithm work
14359
14360         * BufferView_pimpl.C: hack to make listof algorithm work
14361
14362 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * LyXAction.C: removed all !NEW_INSETS cruft
14365         (init): moved lfun_item in method
14366
14367         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14368
14369 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14370
14371         * BufferView2.C (theLockingInset): white space.
14372
14373 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14374
14375         * minibuffer.C: include <iostream>
14376
14377         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14378
14379         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14380
14381         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14382
14383         * text.[Ch] (TransposeChars): new method
14384
14385 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14386
14387         * call message directly through LyXView instead of through LyXFunc
14388         * BufferView2.C: adjust
14389         * BufferView_pimpl.C: adjust
14390         * FontLoader.C: adjust
14391         * buffer.C: adjust
14392         * bufferview_funcs.C: adjust
14393         * converter.C: adjust
14394         * figureForm.C: adjust
14395         * importer.C: adjust
14396         * lyx_cb.C: adjust
14397         * lyx_gui_misc.C: adjust
14398         * lyxfunc.C: adjust
14399         * lyxvc.C: adjust
14400         * text2.C: adjust
14401         + more files in subdirs
14402
14403         * lyxparagraph.h (size): move up int file
14404         (GetLayout): ditto
14405
14406         * adjust all uses of Assert to lyx::Assert.
14407
14408         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14409         lyxfunctional in namespace lyx
14410         * layout.C (hasLayout): ditto
14411         (GetLayout): ditto
14412         (GetLayout): ditto
14413         (delete_layout): ditto
14414         (NumberOfClass): ditto
14415         * converter.C (GetFormat): ditto
14416         (GetNumber): ditto
14417         (Add): ditto
14418         (Delete): ditto
14419         (SetViewer): ditto
14420         * bufferlist.C (getFileNames): ditto
14421         (emergencyWriteAll): ditto
14422         (exists): ditto
14423         (getBuffer): ditto
14424         * MenuBackend.C (hasSubmenu): ditto
14425         (hasMenu): ditto
14426         (getMenu): ditto
14427         * BufferView_pimpl.C (getInsetByCode): ditto
14428
14429 2001-04-18  Juergen Vigna  <jug@sad.it>
14430
14431         * vspace.C (asLatexString): fixed the 100% problem.
14432
14433 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14434
14435         * lyxfunc.C (Dispatch):
14436         * minibuffer.C:
14437         * minibuffer.h: add a few std:: qualifiers
14438
14439 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * minibuffer.[Ch]: reimplement so that commands is initiated and
14442         run from lyxfunc, simplified som handling, and made the completion
14443         and history code for complete. wip.
14444
14445         * lyxfunc.C (processKeySym): call message
14446         (miniDispatch): new temporary method
14447         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14448         (LFUN_MESSAGE): implement
14449         (LFUN_MESSAGE_PUSH): implement
14450         (LFUN_MESSAGE_POP): implement
14451         (initMiniBuffer): the initial/defualt minibuffer message.
14452
14453         * lyxfont.[Ch]: inline some more getters
14454
14455         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14456
14457         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14458
14459         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14460         (AutoSave): use LFUN_MESSAGE
14461         (Reconfigure): ditto
14462
14463         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14464
14465         * figureForm.C: use LFUN_MESSAGE
14466
14467         * converter.C (runLaTeX): use LFUN_MESSAGE
14468
14469         * bufferview_funcs.C: use LFUN_MESSAGE
14470         (Melt): ditto
14471         (changeDepth): ditto
14472
14473         * bufferparams.h: use boost::
14474
14475         * bufferlist.h: inherit privately from noncopyable
14476
14477         * bufferlist.C (loadLyXFile): remove some commented code.
14478
14479         * buffer.C (runChktex): use LFUN_MESSAGE
14480
14481         * ShareContainer.h: inherit privately from noncopyable
14482
14483         * ParagraphParameters.[hC] (depth): inline it.
14484
14485         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14486         methods.
14487         (message): new method
14488         (messagePush): ditto
14489         (messagePop): ditto
14490         (show): init minibuffer
14491         (showState): direct call
14492
14493         * LaTeX.[Ch]: inherit privately from noncopyable
14494         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14495         instead of WriteStatus.
14496
14497         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14498
14499         * BufferView_pimpl.C (buffer): don't init minibuffer
14500         (workAreaButtonPress): use LFUN_MESSAGE
14501         (workAreaButtonRelease): ditto
14502         (savePosition): ditto
14503         (restorePosition): ditto
14504         (MenuInsertLyXFile): ditto
14505         (workAreaExpose): don't init minibuffer
14506         (update): remove commented code, simplify
14507
14508         * BufferView2.C (openStuff): use LFUN_MESSAGE
14509         (toggleFloat): ditto
14510         (menuUndo): ditto
14511         (menuRedo): ditto
14512         (copyEnvironment): ditto
14513         (pasteEnvironment): ditto
14514         (copy): ditto
14515         (cut): ditto
14516         (paste): ditto
14517         (gotoInset): ditto
14518         (updateInset): remove some commented code
14519
14520         * lastfiles.h: inherit privately from noncopyable
14521         * layout.h: ditto
14522         * lyx_gui.h: ditto
14523         * lyx_main.h: ditto
14524         * lyxlex.h: ditto
14525         * lyxlex_pimpl.h: ditto
14526
14527         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14528         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14529         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14530
14531         * LyXAction.h: inherit privately from noncopyable, add methods
14532         func_begin, func_end, returning iterators to the func map.
14533
14534         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14535         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14536         (func_begin): new method
14537         (func_end): new method
14538
14539         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14540         and not)
14541         (copySelection): ditto
14542         (pasteSelection): ditto
14543
14544         * BufferView.C: whitespace change
14545         * BufferView.h: inherit privately from noncopyable
14546
14547 2001-04-16  Allan Rae  <rae@lyx.org>
14548
14549         * tabular-old.C (l_getline):
14550         * spellchecker.C (sc_check_word):
14551         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14552         an unrecognised preprocessor directive.  So ensure they're wrapped.
14553
14554 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14555
14556         * src/exporter.C (Export): Give an error message when path to file
14557         contains spaces.
14558
14559 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14560
14561         * LaTeX.C (deplog): Always check that foundfile exists.
14562
14563 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14564
14565         * lyx_main.h:
14566         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14567
14568 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * tabular.[Ch] (getLabelList): implement new method
14571
14572         * minibuffer.h: comment ouf setTiimer
14573
14574         * minibuffer.C (ExecutingCB): constify res
14575         (peek_event): constify s
14576         (Set): constify ntext
14577         (Init): constify nicename
14578
14579         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14580
14581         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14582         (savePosition): use two params to Minibuffer::Set
14583         (restorePosition): ditto
14584
14585 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * lyx_main.C: include language.h
14588
14589         * Makefile.am (lyx_main.o): add language.h
14590
14591 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * exporter.C:
14594         * paragraph.C:
14595         * screen.C:
14596         * tabular.C:
14597         * CutAndPaste.C: include gettext.h
14598
14599         * lyxfont.h: remove old hack with ON and OFF.
14600
14601         * lyxparagraph.h:
14602         * lyxfont.h: do not include language.h...
14603
14604         * BufferView2.C:
14605         * LaTeXFeatures.C:
14606         * Painter.C:
14607         * bufferview_funcs.C:
14608         * font.C:
14609         * lyxfont.C:
14610         * text.C:
14611         * text2.C:
14612         * trans_mgr.C:
14613         * paragraph.C: ... but do it here instead
14614
14615 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14616
14617         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14618
14619         * tabular.C: small reformat
14620
14621         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14622         NEW_INSETS version
14623         (GetChar): ditto
14624         (BreakParagraph): ditto
14625         (SetOnlyLayout): ditto
14626         (SetLayout): ditto
14627
14628         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14629         with one arg less.
14630
14631         * lastfiles.C: removed most using decl, add std:: where needed
14632
14633         * buffer.C: ws changes
14634
14635         * MenuBackend.C (class compare_format): put into anon namespace
14636         (expand): constify label, names, action, action2
14637         (expand):
14638
14639         * text.C (SingleWidth): constify font
14640         (IsBoundary): constify rtl2
14641         (GetVisibleRow): constify ww
14642
14643         * LaTeX.C (deplog): constify logfile
14644
14645         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14646         start_x, end_x
14647         (workAreaExpose): constify widthChange, heightChange
14648
14649         * lyxrow.C (par): moved
14650         (height): moved
14651         (next): moved
14652         * lyxrow.h: as inlines here
14653
14654         * lyxfont.h (shape): moved from lyxfont.C
14655         (emph): moved from lyxfont.C
14656
14657         * lyxfont.C (LyXFont): use initialization list for all
14658         constructors
14659         (shape): move to lyxfont.h as inline
14660         (emph): move to lyxfont.h as inline
14661
14662
14663 2001-04-04  Juergen Vigna  <jug@sad.it>
14664
14665         * vspace.C: had to include stdio.h for use of sscanf
14666
14667 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14668
14669         * BufferView.h:
14670         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14671         independent of xforms.
14672
14673 2001-04-02  Juergen Vigna  <jug@sad.it>
14674
14675         * spellchecker.C: fixed namespace placing!
14676
14677 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14678
14679         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14680         the LyXParagraph * is 0.
14681
14682 2001-03-29  Juergen Vigna  <jug@sad.it>
14683
14684         * vspace.C: added support for %, c%, p%, l%.
14685         (stringFromUnit): added helper function.
14686         (asLatexString): changed to give right results for the %-values.
14687
14688         * buffer.C: convert the widthp in a width%.
14689
14690 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14691
14692         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14693         figureForm.[Ch].
14694
14695         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14696         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14697
14698         * lyx_cb.[Ch]: see above.
14699
14700         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14701         form1.[Ch].
14702
14703         * form1.[Ch]:
14704         * lyx.[Ch]: replaced by figure_form.[Ch].
14705
14706         * lyx_gui.C:
14707         * lyx_gui_misc.C:
14708         * lyxfunc.C: changed headers associated with above changes.
14709
14710 2001-03-27  Juergen Vigna  <jug@sad.it>
14711
14712         * BufferView_pimpl.C: set the temporary cursor right!
14713
14714 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14715
14716         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14717
14718 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14719
14720         * LString.h: removed "using std::getline"!
14721
14722         * BufferView_pimpl.C (Dispatch): changes due to changes in
14723         InsetInclude::Params.
14724
14725         * buffer.C (tag_name): removed redundant break statements as they were
14726         producing lots of warnings with my compiler.
14727
14728 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14729
14730         * LString.h: add "using std::getline" when using the real <string>.
14731
14732 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14733
14734         * buffer.C: removed bitset usage.
14735         PAR_TAG moved to an anonymous name space.
14736         (tag_name): new funtion, also in the anonymous namespace.
14737         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14738         (makeDocBookFile): clean code. Completed transition from string arrays
14739         to string vectors.
14740         (SimpleDocBookOnePar): code clean.
14741
14742 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14743
14744         * tabular.C: add some comments.
14745
14746 2001-03-22  Juergen Vigna  <jug@sad.it>
14747
14748         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14749         compatibility read a bit and fixed bug with minipage in different
14750         depth.
14751
14752 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14753
14754         * buffer.C (pop_tag): removed.
14755         (push_tag): removed.
14756         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14757         array replaced with vector. Added support for CDATA sections.
14758         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14759         at any nest level.
14760         (makeDocBookFile): XML conformant declaration of CDATA section,
14761         fixed bug related to <emphasis> in the first paragraph char.
14762         (sgmlOpenTag): exclude empty tags.
14763         (sgmlCloseTag): ditto.
14764
14765         * buffer.h (pop_tag): removed.
14766         (push_tag): removed.
14767
14768 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14769
14770         * language.h (Languages): added size_type and size().
14771
14772 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14773
14774         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14775         response on compability reading of minipages. One probliem is that
14776         the old usage of minipages was «flertydig»
14777
14778         * several files here and in subdirs: don't use static at file
14779         scope use anon namespaces instead.
14780
14781 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14782
14783         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14784         LaTeX output. This is necessary for Literate document
14785         processing.
14786
14787 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14788
14789         * buffer.C: insert hfill when needed.
14790
14791         * tabular.C (l_getline): use string::erase, small whitespace change.
14792
14793         * BufferView_pimpl.C: try the anon namespace.
14794         * WorkArea.C: ditto
14795
14796 2001-03-16  Juergen Vigna  <jug@sad.it>
14797
14798         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14799         otherwise it won't open options-dialogs.
14800
14801         * buffer.C: honor pextraWidth(p) on converting minipages.
14802
14803         * tabular.C (l_getline): changed the functions to strip trailing \r.
14804
14805 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14806
14807         * BufferView_pimpl.C:
14808         * minibuffer..C: added "using SigC::slot" declaration.
14809
14810 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14811
14812         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14813
14814         * text2.C: ditto
14815
14816         * text.C: ditto
14817
14818         * paragraph.C: ditto
14819
14820         * lyxtext.h: NO_PEXTRA
14821
14822         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14823
14824         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14825         * ParameterStruct.h: ditto
14826         * ParagraphParameters.h: ditto
14827         * lyxparagraph.h: ditto
14828
14829 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14830
14831         * buffer.C: add compability for minipage alignment.
14832         (latexParagraphs): remove unwanted pextra check.
14833
14834         * several files: remove CXX_WORKING_NAMESPACES
14835
14836         * buffer.C (pop_tag): tie is in namespace boost
14837
14838         * BufferView.h: noncopyable is in namespace boost
14839         * lyxlex.h: ditto
14840         * lyx_main.h: ditto
14841         * lyx_gui.h: ditto
14842         * layout.h: ditto
14843         * lastfiles.h: ditto
14844         * bufferlist.h: ditto
14845         * ShareContainer.h: ditto
14846         * LyXView.h: ditto
14847         * LyXAction.h: ditto
14848         * LaTeX.h: ditto
14849
14850 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14851
14852         * Merging changes from BRANCH_MVC back into HEAD.
14853
14854         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14855
14856 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * BufferView_pimpl.C: change from intl.C
14859
14860         * combox.h:
14861         * combox.C:
14862         * Makefile.am: move combox.*
14863
14864         * form1.h:
14865         * form1.C:
14866         * lyx_gui.C:
14867         * intl.h:
14868         * intl.C: remove dialog (covered by prefs)
14869
14870 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * lyxfunc.C (Dispatch): removed redundant break statement.
14873
14874 2001-03-14  Juergen Vigna  <jug@sad.it>
14875
14876         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14877
14878 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14879
14880         * buffer.C: add hack to fix compability reading of minipages.
14881
14882 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * buffer.C (getLists): Cleanup.
14885
14886 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * lyxfont.C (update): don't honor toggleall on font size.
14889
14890 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * bmtable.c:
14893         * bmtable.h:
14894         * Makefile.am: moved to frontends/xforms/
14895
14896         * lyx_gui_misc.C:
14897         * lyxfunc.C:
14898         * BufferView_pimpl.C: changes for moved mathpanel
14899
14900 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14901
14902         * gettext.h: fix gettext_init() in --disable-nls
14903
14904 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14907
14908 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * lyx.C:
14911         * lyx.h: strip external form
14912
14913 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14914
14915         * BufferView_pimpl.C: add comment, destroySplash()
14916
14917 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14918
14919         * BufferView_pimpl.C:
14920         * LyXAction.C:
14921         * buffer.C:
14922         * commandtags.h:
14923         * lyxfunc.C: use re-worked insetinclude
14924
14925 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14926
14927         * buffer.C: add using std::stringstream.
14928
14929         * lyx_cb.C: readd using std::ios.
14930
14931         * buffer.C: add using std::map.
14932
14933         * BufferView_pimpl.C: add using std::vector.
14934
14935         * ShareContainer.h: add std:: to swap.
14936
14937         * buffer.h: add some typedefs
14938         * buffer.C (getLists): use them
14939         (getLists): renamed from getTocList.
14940         add a counter for the different float types and use it in the
14941         generated string.
14942         (getLists): use the same counter for the NEW_INSETS and the "non"
14943         NEW_INSETS
14944
14945         * lyx_cb.h: remove unused items, includes, using etc.
14946
14947         * ShareContainer.h: remove some commented code, add more comments
14948         and "documentation".
14949
14950 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14951
14952         * buffer.C (getTocList): make the list also when NEW_INSETS is
14953         defined.
14954
14955         * buffer.h: remove TocType
14956
14957         * buffer.C (getTocList): change to return a map<string,
14958         vector<TocItem> >, implement for dynamic number of list.
14959
14960         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14961         * text2.C (PasteSelection): adjust
14962         * CutAndPaste.C (pasteSelection): adjust
14963
14964         * FloatList.C (FloatList): update from the new_insets branch.
14965         * Floating.[Ch]: ditto
14966         * LaTeXFeatures.C: ditto
14967         * buffer.C: ditto
14968         * lyxlex_pimpl.C: ditto
14969
14970         * paragraph.C (Last): remove when NEW_INSETS is defined.
14971
14972         * other file: changes because of the above.
14973
14974 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14975
14976         * lyxparagraph.h: rename next to next_, previous to previous_,
14977         make them private for NEW_INSETS. Rename Next() to next(),
14978         Previous() to previous().
14979
14980         * other files: changes because of the above.
14981
14982 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * BufferView.h:
14985         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14986         problem.
14987
14988 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * main.C (main): pass lyx_localedir to gettext_init().
14991
14992         * gettext.h: remove locale_init and gettext_init macros
14993
14994         * gettext.C (locale_init): new function
14995         (gettext_init): new function
14996
14997         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14998         setlocale().
14999
15000 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15001
15002         * Moved credits to frontends:
15003         * credits.[Ch]: removed
15004         * credits_form.[Ch]: removed
15005         * lyx_gui_misc.C: remove credits stuff
15006         * Makefile.am:
15007
15008 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15009
15010         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15011
15012         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15013         unneeded destructor.
15014
15015         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15016         a standalone pointer again.
15017
15018         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15019
15020 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * Makefile.am:
15023         * filedlg.h:
15024         * filedlg.C:
15025         * LyXAction.C:
15026         * ToolbarDefaults.C:
15027         * bufferlist.C:
15028         * commandtags.h:
15029         * form1.C:
15030         * form1.h:
15031         * lyx_cb.C:
15032         * lyx_cb.h:
15033         * lyxfunc.h:
15034         * lyxfunc.C:
15035         * BufferView_pimpl.C: use new file dialog in GUII
15036
15037         * lyx_cb.h:
15038         * lyx_cb.C: remove LayoutsCB to Toolbar
15039
15040 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * ShareContainer.h (get): add std:: qualifier
15043
15044 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * ShareContainer.h: define a proper ShareContainer::value_type
15047         type (and use typename to please compaq cxx)
15048
15049 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15050
15051         * lyxparagraph.h: move serveral local vars to
15052         ParameterStruct/ParagraphParameters., use ShareContainer in
15053         FontTable., make vars in FontTable private and add getter and
15054         setter.
15055
15056         * paragraph.C: changes because of the above.
15057
15058         * lyxfont.h: remove copy constructor and copy assignment. (the
15059         default ones is ok), move number inside FontBits. move inlines to
15060         lyxfont.C
15061
15062         * lyxfont.C: add number to initializaton of statics, move several
15063         inlines here. constify several local vars. some whitespace
15064         cleanup. Dont hide outerscope variables.
15065
15066         * Spacing.h: add two new constructors to match the set methods.
15067
15068         * ShareContainer.h: new file, will perhaps be moved to support
15069
15070         * ParameterStruct.h: new file
15071
15072         * ParagraphParameters.h: new file
15073
15074         * ParagraphParameters.C: new file
15075
15076         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15077         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15078
15079         * BufferView_pimpl.C: ParagraphParameter changes.
15080         * buffer.C: Likewise.
15081         * bufferview_funcs.C: Likewise.
15082         * text.C: Likewise.
15083         * text2.C: Likewise.
15084
15085 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15086
15087         * lyxfind.C (LyXReplace): do not redefine default argument in
15088         implementation.
15089         (IsStringInText): ditto
15090         (SearchForward): ditto
15091         (SearchBackward): ditto
15092
15093 2001-03-06  Juergen Vigna  <jug@sad.it>
15094
15095         * lyxfind.C (IsStringInText): put parentes around expressions.
15096
15097 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15098
15099         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15100
15101 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15104
15105         * stl_string_fwd.h: add comment
15106
15107         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15108
15109         * tabular.h:
15110         * tabular.C: remove unused DocBook methods
15111
15112         * intl.C:
15113         * language.C:
15114         * paragraph.C:
15115         * buffer.C:
15116         killed DO_USE_DEFAULT_LANGUAGE
15117
15118 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * lyx_gui.C: do not include language.h.
15121
15122         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15123         arguments in function implementation.
15124
15125 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15126
15127         * BufferView_pimpl.C: add <ctime>
15128
15129 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15130
15131         * BufferView_pimpl.C: add using std::find_if
15132
15133 2001-02-27  José Matos  <jamatos@fep.up.pt>
15134
15135         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15136         by OnlyPath.
15137
15138 2001-02-11  José Matos  <jamatos@fep.up.pt>
15139
15140         * buffer.C (makeDocBookFile): command styles now have a parameter as
15141         "title" by default.
15142
15143 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15144
15145         * layout_forms.[Ch]: removed
15146         * lyx_cb.[Ch]: out character
15147         * lyx_gui.C: out character
15148         * lyx_gui_misc.C: out character
15149         * bufferview_funcs.C: : out character,
15150         added toggleall as parameter in ToggleAndShow
15151
15152 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15153
15154         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15155
15156         * text2.C (SetCurrentFont): Disable number property at boundary.
15157
15158 2001-02-26  Juergen Vigna  <jug@sad.it>
15159
15160         * lyxfunc.C (getStatus): added a string argument override function so
15161         that this is correctly called from LyXFunc::Dispatch if it contains a
15162         do_not_use_argument which is used!
15163         (Dispatch): added check for "custom" export and call appropriate func.
15164
15165 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15166
15167         * lyxrc.C: Add language_command_local, language_use_babel and
15168         language_global_options.
15169
15170         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15171
15172         * buffer.C (makeLaTeXFile): Use language_use_babel and
15173         language_global_options.
15174
15175 2001-02-23  Juergen Vigna  <jug@sad.it>
15176
15177         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15178         which works with LyXText and putted it inside BufferView. Here now we
15179         only call for that part the BufferView::Dispatch() function.
15180
15181         * BufferView.C (Dispatch): added.
15182
15183         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15184         functions which needs to use a LyXText over from LyXFunc.
15185         (MenuInsertLyXFile): added
15186         (getInsetByCode): added
15187         (moveCursorUpdate): added
15188         (static TEXT): added
15189
15190 2001-02-22  Juergen Vigna  <jug@sad.it>
15191
15192         * BufferView_pimpl.C (update): call a status update to see if LyXText
15193         needs it.
15194
15195 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15196
15197         * vc-backend.C (revert): implement for CVS
15198         (getLog): implement for CVS
15199
15200 2001-02-20  Juergen Vigna  <jug@sad.it>
15201
15202         * text2.C (ClearSelection): added BufferView param for inset_owner call
15203
15204         * lyxfunc.C (TEXT): added this function and use it instead of
15205         directly owner->view()-text of getLyXText().
15206
15207 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15208
15209         * src/layout_forms.C: out preamble
15210         * src/layout_forms.h: out preamble
15211         * src/lyx_cb.C: out preamble
15212         * src/lyx_cb.h: out preamble
15213         * src/lyx_gui.C: out preamble
15214         * src/lyx_gui_misc.C: out preamble
15215         * src/lyxfunc.C: connect with guii preamble
15216
15217 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15218
15219         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15220
15221 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15222
15223         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15224         whether to run bibtex.
15225
15226 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15229
15230 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15231
15232         * Makefile.am (lyx_SOURCES): removed bibforms.h
15233
15234         * vspace.h: doxygen
15235
15236         * text.C (GetVisibleRow): make several local vars const
15237
15238         * tabular.C: small cleanup.
15239
15240         * lyxserver.C (callback): use compare instead of strncmp
15241
15242         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15243         inlines to after class or to paragraph.C
15244
15245         * lyxfont.h: remove friend operator!=
15246
15247         * converter.h: move friend bool operator< to non friend and after
15248         class def.
15249
15250         * combox.h: small cleanup
15251
15252         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15253         to inlines after class def.
15254
15255         * buffer.C (pop_tag): use string operations instead of strcmp
15256
15257         * bmtable.c: doxygen, small cleanup
15258
15259         * LaTeX.h: remove friend operator==
15260
15261 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15262
15263         * screen.C:
15264         * lyxrc.[Ch]:
15265         * lyxfunc.C:
15266         * lyxfont.[Ch]:
15267         * lyx_cb.C:
15268         * intl.[Ch]:
15269         * commandtags.h:
15270         * buffer.C:
15271         * WorkArea.[Ch]:
15272         * LyXAction.C:
15273         * BufferView_pimpl.C:
15274         * BufferView.[Ch]: remove cruft
15275
15276 2001-02-14  Juergen Vigna  <jug@sad.it>
15277
15278         * lyxfunc.C: removed #if 0 unused code
15279
15280         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15281
15282         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15283
15284         * text2.C (SetSelection): added a BufferView * parameter
15285
15286 2001-02-13  Juergen Vigna  <jug@sad.it>
15287
15288         * lyxfunc.C (Dispatch): fixed protected blank problem.
15289         * BufferView2.C (protectedBlank): added LyxText * parameter.
15290
15291         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15292         (AppendColumn): same as above for column_info.
15293
15294         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15295         (moveCursorUpdate): use a LyXText param for support of InsetText.
15296
15297         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15298         (tripleClick): ditto
15299
15300         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15301
15302         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15303
15304         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15305
15306         * text2.C (SetSelection): set correct update status if inset_owner
15307         (ToggleFree): ditto
15308
15309 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15310
15311         * tabular.C: remove some commented code.
15312
15313 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15314
15315         * BufferView_pimpl.C: call hideSplash()
15316
15317         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15318
15319         * include_form.h:
15320         * bibforms.h: remove
15321
15322         * lyxfunc.C:
15323         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15324           add LFUN_CHILD_CREATE
15325
15326         * counters.h: fix tiny typo
15327
15328         * lyx_cb.C:
15329         * lyx.h:
15330         * lyx_gui.C:
15331         * lyx.C: move splash to frontends/xforms/
15332
15333         * lyx_gui_misc.C: move Include and Bibform to frontends
15334
15335         * lyxvc.h: clarify comment
15336
15337         * vspace.C: tiny housekeeping
15338
15339 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15340
15341         * text.C (PrepareToPrint): RTL Fix.
15342
15343         * paragraph.C (GetUChar): New method.
15344         (String):  Use GetUChar.
15345
15346         * buffer.C (asciiParagraph): Use GetUChar.
15347
15348 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15349
15350         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15351
15352 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15353
15354         * buffer.h:
15355         * buffer.C: rename to getLogName(), handle
15356           build log / latex log nicely
15357
15358 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * MenuBackend.C:
15361         * MenuBackend.h: remove support for reference menuitem type.
15362
15363 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * BufferView_pimpl.C: housekeeping
15366         * BufferView_pimpl.h:
15367         * LyXView.h:
15368         * Makefile.am:
15369         * Timeout.C:
15370         * Timeout.h:
15371         * minibuffer.h: move Timeout GUI-I
15372
15373 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * lyxrc.C (read): Update converters data-structures.
15376
15377 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15378
15379         * LaTeX.h (operator!=): add operator != for Aux_Info
15380
15381 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15382
15383         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15384
15385         * LaTeXLog.C: deleted, useful code moved to Buffer
15386
15387         * buffer.h:
15388         * buffer.C: new function getLatexLogName()
15389
15390         * lyx_gui_misc.C:
15391         * lyx_gui.C:
15392         * lyxvc.C:
15393         * lyxvc.h:
15394         * lyxfunc.C: use frontends for LaTeX and VC logs
15395
15396 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15397
15398         * LaTeX.h: yet another std:: that Allan forgot.
15399
15400         * Variables.C (set): renamed from isset(), because this clashes
15401         with some HP-UX macros (grr).
15402
15403 2001-02-06  Allan Rae  <rae@lyx.org>
15404
15405         * LaTeX.h: Another bug fix.  Missing std:: this time.
15406
15407 2001-02-04  Allan Rae  <rae@lyx.org>
15408
15409         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15410         floats problem. I've left it commented out because it's not quite
15411         correct.  It should also test that the current object is a table or
15412         figure inset.  But I haven't gotten around to figuring out how to do
15413         that.  I *think* it'll be something like: "table" == inset.type()
15414
15415         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15416         bool.
15417
15418 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15421         all the citation/databases/styles in the auxilary file.
15422         (run): Rerun latex if there was a babel language error.
15423
15424 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15425
15426         * text.C (Backspace): Preserve the font when changing newline char
15427         with a space.
15428         (BreakParagraph): If the cursor is before a space, delete the space.
15429
15430         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15431
15432 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15433
15434         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15435         new argument (code).
15436         (ChangeCitationsIfUnique): New method.
15437
15438         * paragraph.C (GetPositionOfInset): Handle bibkey.
15439
15440 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15441
15442         * BufferView_pimpl.h: change type of Position::par_pos to
15443         LyXParagraph::size_type.
15444
15445 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15446
15447         * BufferView_pimpl.C (savePosition, restorePosition): Write
15448         messages to minibuffer.
15449
15450 2001-01-28  José Matos  <jamatos@fep.up.pt>
15451
15452         * buffer.C (makeDocBookFile): adds support for document language.
15453         A silly restriction on the name of LatexCommand types where removed.
15454         Added support for CDATA sections, allows to chars unescaped, used
15455         among others in code, to avoid escape < and >.
15456
15457 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15458
15459         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15460         saved positions instrad of a stack. Furthermore, a position is
15461         stored using paragraph id/paragraph position.
15462
15463         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15464         Remove LFUN_REF_BACK.
15465
15466 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15467
15468         * converter.C (dvipdfm_options): New method.
15469
15470 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15471
15472         * vspace.C (isValidLength): Fix for empty input string.
15473
15474 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * LyXAction.C (init): change description of LFUN_FIGURE to
15477         "Insert Graphics"
15478
15479 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * LaTeX.C: add using directive
15482
15483 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15484
15485         * MenuBackend.C (expand): Fix the sorting of the formats.
15486
15487 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15488
15489         * lyx_main.C: tiny error message fix
15490
15491 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15492
15493         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15494         calling fl_initialize(). This fixes the problem with ',' as
15495         decimal separator in text files.
15496
15497 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * trans.C (process): Fix the keymap bug.
15500
15501 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15502
15503         * LaTeX.C (scanAuxFiles): New method. Provides support for
15504         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15505         (scanLogFile) Scan for "run BibTeX" messages.
15506
15507         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15508         OT1 font encoding. Also, load the aecompl package if the ae
15509         package is loaded.
15510
15511         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15512
15513 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * texrow.C (increasePos): turn two error messages into debug
15516         messages.
15517
15518 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15519
15520         * LaTeX.C (scanAux): Handle the \@input macro.
15521         (runBibTeX): Use scanAux().
15522
15523         * language.C (latex_options_): New field.
15524
15525         * LaTeXFeatures.C (getMacros): Add language macros.
15526
15527         * buffer.C (makeLaTeXFile): Small fix.
15528
15529 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15532
15533         * text2.C: add a using directive.
15534
15535 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15536
15537         * BufferView2.C:
15538         * lyx_gui_misc.h:
15539         * lyxfr1.C:
15540         * lyxfunc.C: kill LyXBell.
15541
15542 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15543
15544         * text.C (IsBoundary): Remove the error message
15545
15546         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15547
15548         * lyxrc.C (setDefaults): Correct initialization value for
15549         font_norm_type.
15550
15551 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15552
15553         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15554         gotoError().
15555
15556         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15557         and GotoNextNote().
15558
15559         * src/LyXAction.C: Added reference-next.
15560
15561         * text.C (InsertChar): Use contains instead of strchr.
15562
15563         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15564
15565 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15566
15567         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15568         alignment commands (when needed).
15569
15570         * text.C (InsertChar): Add ':' to number separator chars.